Author Topic: BASS_FX 2.4.12.1  (Read 839417 times)

ken

  • Posts: 752
Re:BASS_FX 2.0 "beta 1"
« Reply #75 on: 1 Oct '04 - 13:38 »
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.

 
« Last Edit: 1 Oct '04 - 13:39 by ken »

RevG

  • Posts: 458
Re:BASS_FX 2.0 "beta 1"
« Reply #76 on: 1 Oct '04 - 16:20 »
Quote
Did 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

  • Posts: 752
BASS_DEVICE_SPEAKERS + FX ?
« Reply #77 on: 1 Oct '04 - 19:19 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #78 on: 2 Oct '04 - 17:41 »
Hi ;D

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)

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

Thanks for a great DLL.

You're welcome :)

It'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 :)

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.

No problem ;)

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.

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

Have fun!

8) JOBnik! 8)

ken

  • Posts: 752
Re:BASS_FX 2.0 "beta 1"
« Reply #79 on: 2 Oct '04 - 21:16 »

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

  • Posts: 2216
Re:BASS_FX 2.0 "beta 1"
« Reply #80 on: 2 Oct '04 - 21:38 »
Hi

Code: [Select]
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
« Last Edit: 2 Oct '04 - 21:38 by Chris »

ken

  • Posts: 752
Re:BASS_FX 2.0 "beta 1"
« Reply #81 on: 3 Oct '04 - 11:42 »
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

  • Posts: 2216
Re:BASS_FX 2.0 "beta 1"
« Reply #82 on: 3 Oct '04 - 12:27 »
Hi
Code: [Select]
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
« Last Edit: 3 Oct '04 - 12:27 by Chris »

ken

  • Posts: 752
Re:BASS_FX 2.0 "beta 1"
« Reply #83 on: 3 Oct '04 - 13:35 »
Thanks, now it works!  ;D

WingZero

  • Posts: 167
Re:BASS_FX 2.0 "beta 1"
« Reply #84 on: 4 Oct '04 - 01:45 »
  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

  • Posts: 2216
Re:BASS_FX 2.0 "beta 1"
« Reply #85 on: 4 Oct '04 - 02:23 »
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
« Last Edit: 4 Oct '04 - 02:25 by Chris »

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #86 on: 4 Oct '04 - 14:35 »
Hi ;D

I 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 ;)

Both 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 ;)

Also, 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)
« Last Edit: 4 Oct '04 - 14:49 by (: JOBnik! :) »

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #87 on: 5 Oct '04 - 09:19 »
Hi ;D

I 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

  • Posts: 167
Re:BASS_FX 2.0 "beta 1"
« Reply #88 on: 5 Oct '04 - 21:54 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #89 on: 6 Oct '04 - 17:48 »
Hi ;D

Strange, 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

  • Posts: 458
Re:BASS_FX 2.0 "beta 1"
« Reply #90 on: 6 Oct '04 - 20:15 »
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!


Code: [Select]
if(amp->gain < 0.01)
   amp->gain = 0.01;

...


Thanks,
Greg

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #91 on: 8 Oct '04 - 02:35 »
Hi ;D

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! :)

What a relief ;)  ;D

Did 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 :)

Thanks for your great library!

You're welcome :)

Have fun!

8) JOBnik! 8)
« Last Edit: 8 Oct '04 - 02:40 by (: JOBnik! :) »

fmcoder

  • Posts: 485
Re:BASS_FX 2.0 "beta 1"
« Reply #92 on: 17 Oct '04 - 20:19 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 1"
« Reply #93 on: 18 Oct '04 - 12:39 »
Hi ;D

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.

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

Thank you :)

Have fun!

8) JOBnik! 8)

fmcoder

  • Posts: 485
Re:BASS_FX 2.0 "beta 1"
« Reply #94 on: 19 Oct '04 - 12:43 »
No. But now I found that some parameters of FX are out of range... Maybe it's the source of error?
« Last Edit: 19 Oct '04 - 12:45 by coder »

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #95 on: 19 Oct '04 - 13:50 »
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

  • Posts: 960
Re:BASS_FX 2.0 "beta 2"
« Reply #96 on: 19 Oct '04 - 15:31 »
* 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?
« Last Edit: 19 Oct '04 - 15:31 by XMinioNX »

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #97 on: 19 Oct '04 - 17:33 »
Hi ;D

If 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

  • Posts: 30
Re:BASS_FX 2.0 "beta 2"
« Reply #98 on: 19 Oct '04 - 18:30 »
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

  • Posts: 332
Re:BASS_FX 2.0 "beta 2"
« Reply #99 on: 25 Oct '04 - 17:53 »
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