BASS_FX 2.4.12.1

Started by (: JOBnik! :),

Ian @ un4seen

Quote from: nadianow, going through the code of the multi_fx sample, I understand the reason of the problem: bass_fx.dll needs to have the same prefix of bass.dll name in order to work, so if the BASS.DLL is created using the name ba1234.dll the BASS_FX.DLL file will have to be created using the temp name ba1234_fx.dll in order to work as expected. Was there a particular reason to adopt this approach?

It needed some naming convention to know what BASS.DLL it should use, and simply removing the "_fx" suffix ("cd"/"wma" for BASSCD/WMA) was as good as any. But this was before BASS had multiple device support - there shouldn't be any need for multiple DLL instances now :)

(: JOBnik! :)

Hi ;D

Please download the latest BASS_FX as it was updated today with a fixed bug of "Echo" & "Reverb" effects. The effects would cause a mute in a sound and even some noise clicks.

Thanks :)

Have fun!

8) JOBnik! 8)

ken

How do I get playing position when reverse playback?

Set a new pos with "BASS_FX_ReverseSetPosition" works but get the now playing pos with "BASS_StreamGetFilePosition" only works on "normal" playback.

 ???

Chris

Hi
try Bass_ChannelGetPosition
Greets Chris

ken

that works, but...

update of position is way to slow, even if I have a timer polling the value every 10ms I only get a update every 2:nd second.

 :'(

(: JOBnik! :)

Hi ;D

Quote from: kenupdate of position is way to slow, even if I have a timer polling the value every 10ms I only get a update every 2:nd second.

Change the dec_block to use 1 second :)

Have fun!

8) JOBnik! 8)

ken

Quote from: (: JOBnik! :)Change the dec_block to use 1 second :)


Thanks, I set it to 0.1 and that works fine.   :)

RevG

I found a little problem with the BASS_FX_DSPFX_DAMP Dynamic Amplification. When playing some songs usually ones that have 20+ seconds of silence or low amplitude end up not being heard at all when using the BASS_FX_DSPFX_DAMP. It will play, but there will be no audio because I think the dynamic amplification is making it so low that it can't be heard. One song that it happens to me for every time is "Matthew Good Band - Man of Action" from the "Audio of Being" CD. I would post a link to the mp3 here, but I am not sure the legalities of doing that.

Thanks,
Greg

Irrational86

#68
Yup, I remember this happening when I implemented the Dynamic Amplification code that Ian provided into my App...

To JOBnik, to fix this problem, do not let the Amplification variable be zero, make it lowest to 0.01, if floating-point, or ~10 if 16 bit, etc...0.01 nor 10 would be heard at all...

RevG

Also jobnik, when I try to use the new bass_fx.dll (23,040 bytes) with my project I get the following message before the application even has a chance to load: (this doesn't happen using the previous dll (23,552 bytes). If I use the previous dll (23,552 bytes) everything still works fine.

I am using BASS.dll version 2.0.0.23 and Microsoft visual c++ 6.0, windows XP Home SP1, AMD 64 athlon 3200+

---------------------------
.exe - Application Error
---------------------------
The application failed to initialize properly (0xc0000005). Click on OK to terminate the application.
---------------------------
OK  
---------------------------

If you could help me out with this that would be great!
Thanks,
Greg

(: JOBnik! :)

Hi ;D

Quote from: XMinioNXTo JOBnik, to fix this problem, do not let the Amplification variable be zero, make it lowest to 0.01, if floating-point, or ~10 if 16 bit, etc...0.01 nor 10 would be heard at all...

Thanks! Will be, shortly, fixed :)

Quote from: RevGAlso jobnik, when I try to use the new bass_fx.dll (23,040 bytes) with my project I get the following message before the application even has a chance to load: (this doesn't happen using the previous dll (23,552 bytes). If I use the previous dll (23,552 bytes) everything still works fine.

I am using BASS.dll version 2.0.0.23 and Microsoft visual c++ 6.0, windows XP Home SP1, AMD 64 athlon 3200+

---------------------------
.exe - Application Error
---------------------------
The application failed to initialize properly (0xc0000005). Click on OK to terminate the application.

Does this also happens with the precompiled samples?
Could you send me the Dr. Watson debug info?

Thank you :)

Have fun!

8) JOBnik! 8)

RevG

#71
QuoteDoes this also happens with the precompiled samples?
Could you send me the Dr. Watson debug info?

No, it only happens with my one project I am using. Your precompiled examples work fine and if I compile them they work fine. For some reason it is just my project that causes it to crash, however the previous dll doesn't break so I am not sure what changed.

I unfortunately cannot get a Dr. watson debug information because it only gives me the classic red error box. Normally Dr Watson steps in, but with this error it doesn't even call dr watson for some reason.. not sure why. I didn't know that there were errors that dr watson couldn't intercept, but it looks like this is one of them, because all my other errors are picked up by dr watson.

It seems to be specific to my project so I will keep taking out lines of code until I find out why it is crashing :p

Thanks,
Greg

Irrational86

Quote from: RevGI unfortunately cannot get a Dr. watson debug information because it only gives me the classic red error box. Normally Dr Watson steps in, but with this error it doesn't even call dr watson for some reason.. not sure why. I didn't know that there were errors that dr watson couldn't intercept, but it looks like this is one of them, because all my other errors are picked up by dr watson.
This is because you are running your app inside the IDE, run it as a standalone EXE and Dr. Watson might step in...

RevG

QuoteThis is because you are running your app inside the IDE, run it as a standalone EXE and Dr. Watson might step in...

I ran it outside the debugger and dr watson still didn't step in. Very strange. Like I said in my previous post, it does step in for any other errors in my application. Maybe it's not stepping in because the error is happening when trying to load bass_fx.dll and not in the actual exectable I am executing...

Cheers,
Greg

(: JOBnik! :)

Hi ;D

Quote from: RevGMaybe it's not stepping in because the error is happening when trying to load bass_fx.dll and not in the actual exectable I am executing...

Did you also include the BASS_FX.H and then recompiled/rebuilded your application? Or just replaced the BASS_FX.DLL? :)

Have fun!

8) JOBnik! 8)

ken

#75
New feature request.

Like BPM detection, can U build in detection for type of ening of audio file (fade or cold end) and detection of musical key (#F and so)

Position of beats wold also be cool to have (so I can on my waveform have lines showing the beats)

Thanks for a great DLL.

 

RevG

QuoteDid you also include the BASS_FX.H and then recompiled/rebuilded your application? Or just replaced the BASS_FX.DLL?

Yes, I made sure that I deleted the old .lib, .dll, and .h files and I actually added the new .lib right into my project as well as the new bass_fx.h file to ensure that it was using the newest stuff. Then I did a clean and rebuild of my entire project, but it just gives me that error.

It must be having a problem with something else that is in my project. Because I have video mixing in my project as well as a bunch of libraries I am using for visual effects (skinning using png files etc..) so there are so many includes and libraries being used and over 58,000 lines of code. It's a huge project. It's just something that changed between the last dll and the latest dll that made this happen because the previous version works fine.

Would it be too much trouble for me to ask you to give me a build of the old bass_fx dll that includes the latest fix to the dynamic amplification once it is done? because that will be the only reason that I need to update the bass_fx.dll because everything else works fine for my purposes.

Thanks,
Greg

ken

Hi!

Can I use "BASS_DEVICE_SPEAKERS" and FX at the some time ?

I try to create a FX stream in "BASS_DEVICE_SPEAKERS" mode, but do't get it working. I like to run separate audio files on my 5.1 card and add FX (BASS_FX_TempoSet). "BASS_DEVICE_SPEAKERS" on different outputs works fine without FX.

Thanks!

/K

(: JOBnik! :)

Hi ;D

Quote from: kenNew feature request.

Like BPM detection, can U build in detection for type of ening of audio file (fade or cold end) and detection of musical key (#F and so)

Position of beats wold also be cool to have (so I can on my waveform have lines showing the beats)

* I've included it into my TODO list and will be looked again after converting all functions to 32-bit ;)

Quote from: kenThanks for a great DLL.

You're welcome :)

Quote from: RevGIt's just something that changed between the last dll and the latest dll that made this happen because the previous version works fine.

Nothing has changed in loading a .DLL :)
The only changes that I've done are the 32-bit conversions to some functions :)

Quote from: RevGWould it be too much trouble for me to ask you to give me a build of the old bass_fx dll that includes the latest fix to the dynamic amplification once it is done? because that will be the only reason that I need to update the bass_fx.dll because everything else works fine for my purposes.

No problem ;)

Quote from: kenCan I use "BASS_DEVICE_SPEAKERS" and FX at the some time ?

I try to create a FX stream in "BASS_DEVICE_SPEAKERS" mode, but do't get it working. I like to run separate audio files on my 5.1 card and add FX (BASS_FX_TempoSet). "BASS_DEVICE_SPEAKERS" on different outputs works fine without FX.

Have you tried to apply the BASS_SPEAKER_xxx to BASS_FX_TempoCreate(DWORD chan, DWORD flags)? :)

Have fun!

8) JOBnik! 8)

ken

Quote from: JOBnik!;Have you tried to apply the BASS_SPEAKER_xxx to BASS_FX_TempoCreate(DWORD chan, DWORD flags)? :)

Oh yes, but no success. A lite code example would be nice. Thanks!