BASS_FX 2.4.12.1

Started by (: JOBnik! :),

Chris

#120
Hi
After the First Tests i must say
The New Tempo Sound is fantastic !!!!!!!!!!!!!!!
No more BassDrum Cuts with active TimeStretching !!!!!!!!!!!!
Great and fantastic Job !!!!!!!!!!!!!
Greets Chris.....
One Question are there future Plans to add a Compressor to the Bass_FX.dll ???
(The Known Problem  with Bass_Sample_Float will the Compressor FX not working...)
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: ChrisAfter the First Tests i must say
The New Tempo Sound is fantastic !!!!!!!!!!!!!!!
No more BassDrum Cuts with active TimeStretching !!!!!!!!!!!!
Great and fantastic Job !!!!!!!!!!!!!

Thanks :) mucho greetings must go to Ian for all the wonderful and great help :)

Quote from: ChrisOne Question are there future Plans to add a Compressor to the Bass_FX.dll ???
(The Known Problem  with Bass_Sample_Float will the Compressor FX not working...)

Yep, I've almost added it  ;D, but then removed (didn't have time to test it)  ::)
I'll add a simple compressor and will send it to you to test it, ok? :)

* There're about 5 more DSP effects waiting in line to be added  ;D

Have fun!

8) JOBnik! 8)

MB_SOFT

Quote from: (: JOBnik! :)I'll add a simple compressor and will send it to you to test it, ok? :)
Hi JOBnik!,
could you please also send the compressor test to me once ready?
I have the same problem described by Chris, so i'm just waiting a compressor in bass_fx to switch my buffer to float (currently still using 16 bit buffer)

I made some tests with bass_fx 2.1 and all is ok at the moment.

Thanks for your fantastic work  :)

Chris

Quote from: (: JOBnik! :)Yep, I've almost added it  ;D, but then removed (didn't have time to test it)  ::)
I'll add a simple compressor and will send it to you to test it, ok? :)

* There're about 5 more DSP effects waiting in line to be added  ;D


Bohhhhhhhh  Fantastic !!!!!!!!!!!!!  THanks.....

Irrational86

JOBNik, you might want to update your signature...it isn't looking well

Arnold

Hi JOBnik,

the current 2.1 release of bass_fx works fine, but why did`t you implement the user param to the bpm callbacks?
And a second little question: could you build the dll with fileversion info, e.g. 2.1.0.x?

greets and "Happy New Year!"
Arnold

Chris

Hi
@JOBnik...
Did you forget to send the Compressor Example ??
@ cst-tech@foni.net please
And the Idea from Arnold about the fileversion would be nice..
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: XMinioNXJOBNik, you might want to update your signature...it isn't looking well

Yep ;D updated ;)

Quote from: Arnoldbut why did`t you implement the user param to the bpm callbacks?

Because didn't need it :) if you really want it, then could be added :)

Quote from: ArnoldAnd a second little question: could you build the dll with fileversion info, e.g. 2.1.0.x?

Will be added with a 1st update :)

Quote from: ChrisDid you forget to send the Compressor Example ??
@ cst-tech@foni.net please

Nope ;) didn't have time to update yet ;)

Have fun!

8) JOBnik! 8)

Arnold

Hi JOBnik,

QuoteQuote from: Arnold on 31 Dec '04 - 11:35
but why did`t you implement the user param to the bpm callbacks?

Because didn't need it  if you really want it, then could be added

it would be very nice if you can do so. :) I need the ability to update a class field from within the callback.

You are doing a great job, thank`s for your work.

Greets Arnold

ken

Hi JOBnik!

After a few hours recoding I got Temo and reverse working with your new dll. Tempo sounds great!

Just a few features that I miss:

1. Detect sound key of the song, like #F.
2. Get position of each "beat", so I can marke my waveform with line of the beats in the song.
3. Detect if a song ends "F" or "C" (F= fade end, C=cold end)

Also looking forward to the compressor.

Thanks again for a great DLL !!



Chris

@ JOBnik
little Questions about the Flags...in Tempo
i must setting the Flags....Speaker,BASS_MP3_SETPOS and floatable....

which Flags are Setting in Bass_StreamCreateFile  (The Decoded Handle)
and which Flags are Setting in the BASS_FX_TempoCreate ....
Greets Chris

(: JOBnik! :)

Hi ;D

Sorry for delay with update, I'm having some health problems...

Quote from: Chrislittle Questions about the Flags...in Tempo
i must setting the Flags....Speaker,BASS_MP3_SETPOS and floatable....

which Flags are Setting in Bass_StreamCreateFile  (The Decoded Handle)
and which Flags are Setting in the BASS_FX_TempoCreate ....

Set BASS_MP3_SETPOS and floatable to BASS_StreamCreateFile
Set BASS_SPEAKER_xxx to BASS_FX_TempoCreate

* More info and flags see in BASS_FX.C/PAS/BAS API headers ;)

Have fun!

8) JOBnik! 8)

Chris

#132
Error in Bass_FX
I have dedected an Error (Orginal PrjBPM Sample) that I can`t so right solve...
Starting PrjBPM
Loading Song
Bumm Crash;

Starting again PrjBPM
Loading the same Song......NOW IT WORK !!!!

Here you can download the Song with the Error will appear
http://playcenterpro.ath.cx/bass_samples/Error_song.mp3
(Bass self will play the Song without any Error)




Here the Error Log

date/time         : 2005-01-19 15:09
computer name     : PC-DEVELOPMENT
user name         : development
operating system  : Windows XP Service Pack 1 build 2600
system language   : German
system up time    : 18 minutes 25 seconds
program up time   : 4 seconds
processor         : AMD Athlon(tm) XP 2000+
physical memory   : 263/511 MB (free/total)
free disk space   : (D:) 19,47 GB
display mode      : 1600x1200, 32 bit
process id        : $7a8
executable        : prjBPM.exe
exec. date/time   : 2005-01-19 14:36
version           : 1.0
madExcept version : 2.7e
exception class   : EInvalidOp
exception message : Ungültige Gleitkommaoperation. (invalide Floating Point Operation)

main thread ($808):
77c1b269 +019 MSVCRT.DLL                     _ftol
0049cb97 +1bb prjBPM.exe bpm        233  +36 TfrmBPM.btnOpenClick
00470e4e +086 prjBPM.exe Controls  4621   +9 TControl.Click
004638c7 +02f prjBPM.exe StdCtrls  3347   +3 TButton.Click
00463a2e +01e prjBPM.exe StdCtrls  3399   +1 TButton.CNCommand
00470c23 +1df prjBPM.exe Controls  4561  +53 TControl.WndProc
004746ee +18e prjBPM.exe Controls  6242  +33 TWinControl.WndProc
00463812 +086 prjBPM.exe StdCtrls  3327  +13 TButtonControl.WndProc
0047092e +036 prjBPM.exe Controls  4468   +5 TControl.Perform
004748b0 +03c prjBPM.exe Controls  6288   +6 DoControlMsg
0047508d +015 prjBPM.exe Controls  6474   +1 TWinControl.WMCommand
00490b24 +040 prjBPM.exe Forms     4035   +3 TCustomForm.WMCommand
00470c23 +1df prjBPM.exe Controls  4561  +53 TControl.WndProc
004746ee +18e prjBPM.exe Controls  6242  +33 TWinControl.WndProc
0048e3fc +478 prjBPM.exe Forms     3044 +103 TCustomForm.WndProc
004742c0 +034 prjBPM.exe Controls  6139   +3 TWinControl.MainWndProc
004518c0 +014 prjBPM.exe Classes  10565   +8 StdWndProc
77d1a3de +044 user32.dll                     SendMessageW
77d1adcf +016 user32.dll                     CallWindowProcA
00474834 +13c prjBPM.exe Controls  6269  +23 TWinControl.DefaultHandler
00471375 +015 prjBPM.exe Controls  4752   +1 TControl.WMLButtonUp
00470c23 +1df prjBPM.exe Controls  4561  +53 TControl.WndProc
004746ee +18e prjBPM.exe Controls  6242  +33 TWinControl.WndProc
00463812 +086 prjBPM.exe StdCtrls  3327  +13 TButtonControl.WndProc
004742c0 +034 prjBPM.exe Controls  6139   +3 TWinControl.MainWndProc
004518c0 +014 prjBPM.exe Classes  10565   +8 StdWndProc
77d1910b +006 user32.dll                     DispatchMessageA
00495cb8 +0ac prjBPM.exe Forms     6696  +13 TApplication.ProcessMessage
00495ce3 +00f prjBPM.exe Forms     6715   +1 TApplication.HandleMessage
00495f7e +0a6 prjBPM.exe Forms     6799  +16 TApplication.Run
0049d73b +03b prjBPM.exe prjBPM      15   +3 prjBPM

thread $8e0: <priority:15>
7ffe0304 +04 ???
77f4c522 +0a ntdll.dll     NtWaitForMultipleObjects
77e55f05 +89 kernel32.dll  WaitForMultipleObjectsEx
77e55fd0 +12 kernel32.dll  WaitForMultipleObjects

thread $934: <priority:15>
7ffe0304 +04 ???
77f4c522 +0a ntdll.dll     NtWaitForMultipleObjects
77e55f05 +89 kernel32.dll  WaitForMultipleObjectsEx
77e55fd0 +12 kernel32.dll  WaitForMultipleObjects

thread $950: <priority:15>
7ffe0304 +04 ???
77f4c522 +0a ntdll.dll     NtWaitForMultipleObjects
77e55f05 +89 kernel32.dll  WaitForMultipleObjectsEx
77e55fd0 +12 kernel32.dll  WaitForMultipleObjects

thread $954: <priority:15>
7ffe0304 +04 ???
77f4c532 +0a ntdll.dll              NtWaitForSingleObject
77e5a57a +85 kernel32.dll           WaitForSingleObjectEx
77e5ab6f +0a kernel32.dll           WaitForSingleObject
77c07fb5 +9d MSVCRT.DLL             _endthreadex
0042d253 +27 prjBPM.exe   madExcept ThreadExceptFrame
>> created by main thread ($808) at:
77c0804d +60 MSVCRT.DLL             _beginthreadex

thread $958: <priority:2>
7ffe0304 +04 ???
77f4c532 +0a ntdll.dll              NtWaitForSingleObject
77e5a57a +85 kernel32.dll           WaitForSingleObjectEx
77c07fb5 +9d MSVCRT.DLL             _endthreadex
0042d253 +27 prjBPM.exe   madExcept ThreadExceptFrame
>> created by main thread ($808) at:
77c0804d +60 MSVCRT.DLL             _beginthreadex

thread $984:
7ffe0304 +4 ???
77f4b7f2 +a ntdll.dll  NtDelayExecution

thread $724:
7ffe0304 +4 ???
77f4c022 +a ntdll.dll  NtRemoveIoCompletion

thread $99c:
7ffe0304 +4 ???
77f4c022 +a ntdll.dll  NtRemoveIoCompletion

thread $9a4:
7ffe0304 +4 ???
77f4c022 +a ntdll.dll  NtRemoveIoCompletion

modules:
00400000 prjBPM.exe   0.9.2.800       D:\Programme\Borland\Delphi6\Projects\Dyn_Test
00930000 bass.dll     2.1.0.2         D:\Programme\Borland\Delphi6\Projects\Dyn_Test
00d60000 ctagent.dll  1.0.0.5         D:\WINDOWS\System32
00da0000 iTchHk.dll   1.0.0.0         D:\Programme\Logitech\iTouch
01440000 LgMsgHk.dll  1.1.0.0         D:\Programme\Gemeinsame Dateien\Logitech\Scrolling
01460000 SSSensor.dll 5.5.0.5         D:\WINDOWS\System32
01560000 CAPTLIB.DLL  5.0.0.78        D:\Programme\Babylon
07260000 WMASF.DLL    9.0.0.2980      D:\WINDOWS\System32
08530000 WMVCore.DLL  9.0.0.2980      D:\WINDOWS\System32
10000000 bass_fx.dll                  D:\Programme\Borland\Delphi6\Projects\BPM_Test
4f510000 SHELL32.dll  6.0.2800.1580   D:\WINDOWS\system32
51080000 DSOUND.dll   5.3.1.904       D:\WINDOWS\System32
5b0f0000 UxTheme.dll  6.0.2800.1106   D:\WINDOWS\System32
5ce60000 shmedia.dll  6.0.2800.1157   D:\WINDOWS\System32
5ef80000 KsUser.dll   5.3.0.900       D:\WINDOWS\System32
71500000 browseui.dll 6.0.2800.1584   D:\WINDOWS\System32
71700000 shdocvw.dll  6.0.2800.1606   D:\WINDOWS\System32
71a00000 WS2HELP.dll  5.1.2600.0      D:\WINDOWS\System32
71a10000 WS2_32.dll   5.1.2600.1240   D:\WINDOWS\System32
71a30000 wsock32.dll  5.1.2600.0      D:\WINDOWS\System32
71ba0000 NETAPI32.dll 5.1.2600.1562   D:\WINDOWS\System32
72c80000 msacm32.drv  5.1.2600.0      D:\WINDOWS\System32
72c90000 wdmaud.drv   5.1.2600.0      D:\WINDOWS\System32
73ac0000 AVIFIL32.dll 5.1.2600.1106   D:\WINDOWS\System32
73b40000 MSVFW32.dll  5.1.2600.1106   D:\WINDOWS\System32
746a0000 MSCTF.dll    5.1.2600.1106   D:\WINDOWS\System32
746f0000 mlang.dll    6.0.2800.1155   D:\WINDOWS\System32
75a10000 USERENV.dll  5.1.2600.1106   D:\WINDOWS\system32
75ee0000 appHelp.dll  5.1.2600.1106   D:\WINDOWS\system32
76350000 comdlg32.dll 6.0.2800.1106   D:\WINDOWS\system32
765a0000 CSCDLL.dll   5.1.2600.1599   D:\WINDOWS\System32
765c0000 cscui.dll    5.1.2600.1106   D:\WINDOWS\System32
76620000 SETUPAPI.dll 5.1.2600.1106   D:\WINDOWS\System32
76940000 ntshrui.dll  5.1.2600.1106   D:\WINDOWS\System32
76ad0000 ATL.DLL      3.0.9435.0      D:\WINDOWS\System32
76af0000 WINMM.dll    5.1.2600.1106   D:\WINDOWS\System32
76f50000 Secur32.dll  5.1.2600.1106   D:\WINDOWS\System32
77010000 COMRes.dll   2001.12.4414.42 D:\WINDOWS\System32
770f0000 oleaut32.dll 3.50.5016.0     D:\WINDOWS\system32
772a0000 SHLWAPI.dll  6.0.2800.1584   D:\WINDOWS\system32
77310000 comctl32.dll 5.82.2800.1106  D:\WINDOWS\system32
77ba0000 midimap.dll  5.1.2600.0      D:\WINDOWS\System32
77bb0000 MSACM32.dll  5.1.2600.0      D:\WINDOWS\System32
77bd0000 version.dll  5.1.2600.0      D:\WINDOWS\system32
77be0000 MSVCRT.DLL   7.0.2600.1106   D:\WINDOWS\system32
77d10000 user32.dll   5.1.2600.1617   D:\WINDOWS\system32
77da0000 ADVAPI32.dll 5.1.2600.1106   D:\WINDOWS\system32
77e40000 kernel32.dll 5.1.2600.1560   D:\WINDOWS\system32
77f40000 ntdll.dll    5.1.2600.1221   D:\WINDOWS\System32
78000000 RPCRT4.dll   5.1.2600.1361   D:\WINDOWS\system32
78090000 comctl32.dll 6.0.2800.1579   D:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1579_x-ww_7bbf8d08
7a170000 CLBCATQ.DLL  2001.12.4414.53 D:\WINDOWS\System32
7ccc0000 OLE32.DLL    5.1.2600.1362   D:\WINDOWS\system32
7f000000 GDI32.dll    5.1.2600.1561   D:\WINDOWS\system32

disassembling:
77c1b250 public _ftol:                    ; function entry point
77c1b250   push    ebp
77c1b251   mov     ebp, esp
77c1b253   add     esp, -$c
77c1b256   wait
77c1b257   fnstcw  word ptr [ebp-2]
77c1b25a   wait
77c1b25b   mov     ax, [ebp-2]
77c1b25f   or      ah, $c
77c1b262   mov     [ebp-4], ax
77c1b266   fldcw   word ptr [ebp-4]
77c1b269 > fistp   qword ptr [ebp-$c]
77c1b26c   fldcw   word ptr [ebp-2]
77c1b26f   mov     eax, [ebp-$c]
77c1b272   mov     edx, [ebp-8]
77c1b275   leave
77c1b276   ret

Greets Chris
                           

Chris

After Update to Bass Version 2.1.0.3
it will work without any Errors
Greets Chris

(: JOBnik! :)

Hi ;D

Chris & MB_SOFT please check your e-mails, I've sent you DSP Compressor to test :)

Have fun!

8) JOBnik! 8)

MB_SOFT

Quote from: (: JOBnik! :)Hi ;D

Chris & MB_SOFT please check your e-mails, I've sent you DSP Compressor to test :)

Have fun!

8) JOBnik! 8)

Thank you..i'm going to test it......

Chris

#136
Hi
so after a 4 hour Test The New Effekt is very stable and will work under 16 Bit and 32 Bit Channels fine...
But
I have try to play a little bit with the Parameters and can`t dedected any Changes about the Sound;
(The Limiting is a little bit to soft)
procedure Form1.StartCompressor;
Bass_FX_DSP_SET(Channel,BASS_FX_DSPFX_COMPRESSOR,Sound_config.CompressorPrio.Position);
   BASS_FX_DSP_GetParameters(Channel,BASS_FX_DSPFX_COMPRESSOR,@CompressorParam[1]);
   CompressorParam[1].fAttacktime := 10.0;
   CompressorParam[1].fReleasetime:= 200.0;
   CompressorParam[1].fThreshold  := 0.8;
   BASS_FX_DSP_SetParameters(Channel,BASS_FX_DSPFX_COMPRESSOR,@CompressorParam[1]);
end;

procedure ChangeCompressorParam(Sender : TObject);
begin
     BASS_FX_DSP_GetParameters(Channel,BASS_FX_DSPFX_COMPRESSOR,@CompressorParam[1]);
     CompressorParam[1].fAttacktime := Trackbar1.Position / 10;
     CompressorParam[1].fReleasetime:= Trackbar2.Position / 10;
     CompressorParam[1].fThreshold  := Trackbar3.Position / 1000;
     BASS_FX_DSP_SetParameters(Channel,BASS_FX_DSPFX_COMPRESSOR,@CompressorParam[1]);
end;
Maybe (if possible) possible Parameters for a litte bit more hard Limiting then the Effekt is a perfekt alternative
to the FX Effekt Compressor
But by the way you have done a great Job
Greets Chris

(: JOBnik! :)

Hi ;D

Oops...  ::) I've sent you another update to test :)

Thank you :)

Have fun!

8) JOBnik! 8)

Chris

Hi
Yup Parameter will now work fine.....
Only one Problem  if I`m changing the Paramter the Sound will scraper
(I`m using a BASS_CONFIG_BUFFER of 500)
(Testing with 16 AND 32 Bit Channels
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: ChrisOnly one Problem  if I`m changing the Paramter the Sound will scraper

Another update is in your mail box ;)

Thank you :)

Have fun!

8) JOBnik! 8)