BASS_FX 2.4.12.1

Started by (: JOBnik! :),

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