BASS_FX 2.4.12.1

Started by (: JOBnik! :),

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!


Chris

#80
Hi

var
  Chan : DWORD;

 Chan := BASS_StreamCreateFile(FALSE,PChar(Edit1.text),0,0,BASS_STREAM_DECODE);
 if Chan = 0 then exit;
 If (BASS_FX_TempoCreate(chan, BASS_SPEAKER_FRONT) <> 0) Then begin  
.....................
....................
Greets Chris

ken

Well I can't get it working... This is ghow I did it:


BASS_Init(1, 44100, BASS_DEVICE_SPEAKERS, Me.hWnd, 0)


chan = BASS_StreamCreateFile(BASSFALSE, FileName, 0, 0, BASS_STREAM_DECODE)

chanFX = BASS_FX_TempoCreate(chan, BASS_SPEAKER_REAR)

BASS_StreamPlay(chanFX, 0, 0)




...Help, please!


Chris

#82
Hi
var
  Chan : DWORD;

Chan := BASS_StreamCreateFile(FALSE,PChar(Edit1.text),0,0,BASS_STREAM_DECODE);
if Chan = 0 then exit;
If (BASS_FX_TempoCreate(chan, BASS_SPEAKER_FRONT) <> 0) Then
Bass_StreamPlay (BASS_FX_TempoGetResampledHandle(chan),0, 0);
Greets Chris

ken


WingZero

  I noticed some bugs, and, uh... stuff. If you call BASS_FX_Free twice, using BPM, it crashes.  Both effects in the DSP example sound crackly (and what's that floatable variable for?) Also, Feedback is spelled incorrectly. Sometimes the examples are messed up. I don't know what it is, but randomly after opening 2 or 3 files, the sound just goes away. It works again after re-opening the example.

Chris

#85
Which soundcard ,OS and so on ??
Bass_FX is here  Part from my Radio/DJ application
here Playing 8 hours NOnStop without any Error....!!
Greets chris

(: JOBnik! :)

#86
Hi ;D

Quote from: WingZeroI noticed some bugs, and, uh... stuff. If you call BASS_FX_Free twice, using BPM, it crashes.

 :o will check it a bit later today ;)

Quote from: WingZeroBoth effects in the DSP example sound crackly (and what's that floatable variable for?)
...
Sometimes the examples are messed up. I don't know what it is, but randomly after opening 2 or 3 files, the sound just goes away. It works again after re-opening the example.

Sounds fine on 3 systems that I've checked and 3 Windows versions.

floatable Ooopsss :o that I've forgot to write as a flags in BASS_StreamCreateFile(..) function to show that 32-bit floating-point is supported with these effects ;)

Quote from: WingZeroAlso, Feedback is spelled incorrectly.

Ooopss :o btw, the IDC_FEEDBACK is spelled correctly and in all other examples ;)

Thank you for info :)

Have fun!

8) JOBnik! 8)

(: JOBnik! :)

Hi ;D

Quote from: WingZeroI noticed some bugs, and, uh... stuff. If you call BASS_FX_Free twice, using BPM, it crashes.

After searching for a bug in BPM, I've finally found it to be in Tempo ;D  ::)

The updated BASS_FX "package" will be online shortly :)

Have fun!

8) JOBnik! 8)

WingZero

Quote from: (: JOBnik! :)After searching for a bug in BPM, I've finally found it to be in Tempo ;D  ::)

  Strange, it was the BPM example that crashed. Must have been a coincidence.

(: JOBnik! :)

Hi ;D

Quote from: WingZeroStrange, it was the BPM example that crashed. Must have been a coincidence.

* There's a Tempo in a BPM example as well ;)

The updated BASS_FX "package" is online ;)

Have fun!

8) JOBnik! 8)

RevG

Hey Jobnik,

You don't have to worry about sending me the old build anymore because I fixed my problem. Apparently it was some directx lib that I had in my project settings that was linked twice that was making everything mess up, very weird but I fixed it! :)

Did you include the fix to the dynamic amplification? where you don't let the gain go below 0.01?

Cause I tried your new bassfx library, and it doesn't appear to be fixed unless I did something wrong :p I did use Ian's code for the time being and I just put a peice of code at the top of the function that made it work just like shown below and that fixed it. Is that what you did too? I could use Ian's code, but I like using your library makes everything so much more clean! Thanks for your great library!


if(amp->gain < 0.01)
   amp->gain = 0.01;

...


Thanks,
Greg

(: JOBnik! :)

#91
Hi ;D

Quote from: RevGYou don't have to worry about sending me the old build anymore because I fixed my problem. Apparently it was some directx lib that I had in my project settings that was linked twice that was making everything mess up, very weird but I fixed it! :)

What a relief ;)  ;D

Quote from: RevGDid you include the fix to the dynamic amplification? where you don't let the gain go below 0.01?

* BASS_FX is updated now.
* The DynamicAMP is updated with 32-bit and there're some parameters that changed their max/min values and names as well.
* Check the BASS_FX.H/PAS/BAS and BASS_FX.TXT for more info :)

* Your little Gain issue is fixed as well ;) tell me if its sound ok :)

Quote from: RevGThanks for your great library!

You're welcome :)

Have fun!

8) JOBnik! 8)

fmcoder

I downloaded latest (beta1) version of bass_fx and often get "memory could not be "read"" or "memory cannot be "written"" messages in module ntdll.dll and program crashes.

It hadn't happen in older (alpha) version of bass_fx.

I use fx: dynamp, tempo, pitch, samplerate, bpm, flanger 2, echo 2. I dont use 32 bit.

(: JOBnik! :)

Hi ;D

Quote from: coderI downloaded latest (beta1) version of bass_fx and often get "memory could not be "read"" or "memory cannot be "written"" messages in module ntdll.dll and program crashes.

Is there any Dr. Watson debug file for more info?

Thank you :)

Have fun!

8) JOBnik! 8)

fmcoder

#94
No. But now I found that some parameters of FX are out of range... Maybe it's the source of error?

(: JOBnik! :)

Hi ;D

:) BASS_FX 2.0 "beta 2" is online :)

  • Reverse Updated with 32-bit.
  • Auto Wah Updated with 32-bit.
  • DynamicAMP another parameters changes.
  • Latest bug fixes written as this version.
* Please Read - BASS_FX.TXT - and - BASS_FX.H/PAS/BAS - for info about new ranges and types of DynamicAMP effect :)

Thanks :)

Have fun!

8) JOBnik! 8)

Irrational86

#96
Quote from: (: JOBnik! :)* Please Read - BASS_FX.TXT - and - BASS_FX.H/PAS/BAS - for info about new ranges and types of DynamicAMP effect :)
If BASS_FX is given an out-of-range value, will it crash? Or does it have checks for these things along the way?

(: JOBnik! :)

Hi ;D

Quote from: XMinioNXIf BASS_FX is given an out-of-range value, will it crash? Or does it have checks for these things along the way?

BASS_FX is not checking for range of values, if it's out of range it may crash, especially if the range is less than 0 in some effects (some functions do have range check).

* Do you, BASS_FX users, think it's necessary to inlcude the range check in all functions? :)

Have fun!

8) JOBnik! 8)

sgdowney

One of the good things about including range checks is that it may save you some time trying to hunt down mystery bugs in bass_fx that really aren't in bass_fx.

nadia

Hi,  ;D

looking inside the provided samples I see some function that uses the handle returned by the BASS_StreamCreateFile and some other function that uses the
BASS_FX_TempoGetResampledHandle function: which is the theory to apply in order to understand which handle must be used?

Thanks in advance

Nadia