BASS_FX 2.4.12.1

Started by (: JOBnik! :),

Chief Sunset

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

I'm checking it out :)

Meanwhile I'm about to add a new Example to BASS_FX "package" showing how to
make it able to use Sync and BASS_FX's Tempo ;)

Have fun!

8) JOBnik! 8)


Did you already add the example?  ::)

(: JOBnik! :)

Hi ;D

Nope, coz Delphi example isn't ready yet :)

Have fun!

8) JOBnik! 8)

marjolein

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

BASS_FX 2.0 "alpha" is here!

* "alpha" - Because it's just compatible with BASS 2.0!
* The not "alpha" will support:
32-bit floating-point  in all DSPs and multi channel  in some DSPs :)

Have fun!

8) JOBnik! 8)

martin verlaan

Does the functions below work correct in Visual Basic?

 BASS_FX_BPM_Frequency2BPM
 BASS_FX_BPM_2Frequency

Because each time when I call them, I get -1 (=error) as value  ??? :'(

Also I'm looking for some documentation (helpfile) of BASS_FX. Is this available somewhere?

Greetings,

Martin

(: JOBnik! :)

#44
Hi ;D

QuoteDoes the functions below work correct in Visual Basic?

 BASS_FX_BPM_Frequency2BPM
 BASS_FX_BPM_2Frequency

Because each time when I call them, I get -1 (=error) as value  ??? :'(

* Yep, these functions are working perfectly with all the APIs, please post some code of yours to check where the error could come from :)

* Please check the error code that returned by BASS_FX_ErrorGetCode for more info about the error. (i.e. write this function right after BASS_FX_BPM_Frequency2BPM or any other function that return an error value)

QuoteAlso I'm looking for some documentation (helpfile) of BASS_FX. Is this available somewhere?

* In all APIs header file [BASS_FX.H/PAS/BAS] there's an explanations about all the parameters and functions that in BASS_FX :)

* There's currently no any .CHM or .PDF documentation.

Have fun!

8) JOBnik! 8)

Martin

Thanks a lot for your reply Jobnik. I will check the errorcode to find out what's going wrong.

In the meantime a have one more question, if you don't mind  :-[

I have a problem and I tried to find the solution on this great messageboard, but I can't exactly find it.

I'm witing a Visual Basic program that can mix 2 mp3s together at the same bpm.
Everything works fine, except the most important thing.

Example:

Song 1 is playing
Song 2 must start playing at 0'30"234 (because the first beat start here) as soon the position of song 1 is 4'35"010

Sometimes this work perfect and sometimes it don't:
Song 2 starts up with a little delay or it starts at the wrong time-position. I tried to do this with a timer and also with this:

Call BASS_ChannelSetSync(BASS_FX_TempoGetResampledHandle(chan), BASS_SYNC_POS Or BASS_SYNC_MIXTIME, BASS_ChannelSeconds2Bytes(chan, Time2Sec(Break(nr))), AddressOf SYNCPROC, Player)

But it just don't work everytime. What I am I doing wrong? Is there a way to solve this?

Here is how I created the streams:

chan = BASS_StreamCreateFile(BASSFALSE, Filename1, 0, 0, BASS_MP3_SETPOS Or BASS_STREAM_DECODE)

chan1 = BASS_StreamCreateFile(BASSFALSE, Filename2, 0, 0, BASS_MP3_SETPOS Or BASS_STREAM_DECODE)

I also tried to solve this problem with a function that synchronizes the songs by changing the position of song 2. I call the BASS_ChannelSetPosition to do this, but again, sometimes it works and sometimes there's a delay :-(((( It drives me crazy!! I just want to mix 2 songs at a customized time. It most be possible, isn't it??

PLEASE HELP!!!

Thanks in advance!  ;D


Martin

(: JOBnik! :)

Hi ;D

The problem is, that you can't use SYNC with Tempo. I've already made an example that shows how to use SYNC with Tempo, but didn't yet include it with BASS_FX "package" :)

* I'll send you a VB example today a bit later :)

Have fun!

8) JOBnik! 8)

Chris

Hi
A (Pos) Syncs (BASS_SYNC_POS, BASS_SYNC_END) its better to use the orginal Decoded_Stream
 (Attribute)Syncs (Vol,Freq,vol,pan) will working with BASS_FX_TempoGetResampledHandle fine
Greets Chris

martin

Hi Chris and Jobnik!

You guys brought me to the solution. I'm so happy now  ;D ;D ;D

I deleted BASS_STREAM_DECODE from BASS_StreamCreateFile
and I deleted BASS_FX_TempoGetResampledHandle from BASS_ChannelSetSync.
It seems it works perfect now!

I also opened another stream with the stream_decode-flag to calculate the bpm.
Everything works fine now...thank you so much both of you.

Martin

(: JOBnik! :)

#50
Hi ;D

I'm about to release a new BASS_FX 2.0 "beta 1" in a few days ;)

* What's new?
  • Some DSP effects updated with 32-bit floating-point support.
  • BPM updated with 32-bit.
  • Added: "Sync & Tempo" example.
  • Win98/98SE using without "msvcp60.dll"
Have fun!

8) JOBnik! 8)

nadia

Hi JOBnik  ;D,

are you aware of the fact that the actual implementation of BASS_FX is not compatible with the current version of the "loadnget" sample included with the bass package?
It seems that bass_fx requires to load explicitly the filename BASS.DLL, while the loadnget sample creates a different temporary filename. This will cause bass_fx not to find the bass dll and will not load.  ???
Do you have a solution?  ;)

Bye

Nadia  8) ;D 8)



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

I'm about to release a new BASS_FX 2.0 "beta 1" in a few days ;)

* What's new?
  • Some DSP effects updated with 32-bit floating-point support.
  • BPM updated with 32-bit.
  • Added: "Sync & Tempo" example.
  • Win98/98SE using without "msvcp60.dll"
Have fun!

8) JOBnik! 8)

(: JOBnik! :)

Hi ;D

Quote from: nadiaare you aware of the fact that the actual implementation of BASS_FX is not compatible with the current version of the "loadnget" sample included with the bass package?
It seems that bass_fx requires to load explicitly the filename BASS.DLL, while the loadnget sample creates a different temporary filename. This will cause bass_fx not to find the bass dll and will not load.  ???
Do you have a solution?  ;)

Did you check the - multi_fx - example in BASS_FX "package"? :)

Have fun!

8) JOBnik! 8)

nadia

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

Did you check the - multi_fx - example in BASS_FX "package"? :)

Have fun!

8) JOBnik! 8)

Hi and thanks,  ;D

now, 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?

Regards  ;D ;D ;D

Nadia

(: JOBnik! :)

#54
Hi ;D

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

Please READ - BASS_FX.TXT - for more information on which effects has been updated with 32-bit floating-point support!

Thanks :)

Have fun!

8) JOBnik! 8)

Chris

BASS_FX 2.0 "Beta1
Good Working !!! (will working here Fine)
Are there future Plans to include Floating Point to Tempo ???
as I see has  the orginal Soundtouch Library in version 1.2.0: Support for 32bit floating point .....
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: ChrisGood Working !!! (will working here Fine)
Are there future Plans to include Floating Point to Tempo ???
as I see has  the orginal Soundtouch Library in version 1.2.0: Support for 32bit floating point .....

Thanks :)

Yep "beta 2" will include Tempo & Reverse 32-bit support :)
The latest version of SoundTouch is 1.2.1 ;)

Have fun!

8) JOBnik! 8)

craig100

#57
Hi Jobnik,

Im using Bass_fx 2.0 beta 1 with Win98SE and ive noticed that the equaliser uses
around 80% of the cpu (a P-200 MMX), i used to use bass_fx 1.2 and that only used 50% (for a 10 band EQ).

The high CPU problem doesnt seem to occur on Windows 2000, in fact i get a drop in CPU use compared with older versions.

Maybe it has something to do with WDM drivers? (just a guess, my soundcard has vxd drivers for Win98)

edit: I tried it under windows 2000 and it uses only 50%

antonio meza

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

BASS_FX 2.0 "alpha" is here!

* "alpha" - Because it's just compatible with BASS 2.0!
* The not "alpha" will support:
32-bit floating-point  in all DSPs and multi channel  in some DSPs :)

*** There's now "beta 1" released [07/09/2004] :)

Have fun!

8) JOBnik! 8)
::) ::)

(: JOBnik! :)

Hi ;D

Quote from: craig100Im using Bass_fx 2.0 beta 1 with Win98SE and ive noticed that the equaliser uses
around 80% of the cpu (a P-200 MMX), i used to use bass_fx 1.2 and that only used 50% (for a 10 band EQ).

The high CPU problem doesnt seem to occur on Windows 2000, in fact i get a drop in CPU use compared with older versions.

Maybe it has something to do with WDM drivers? (just a guess, my soundcard has vxd drivers for Win98)

edit: I tried it under windows 2000 and it uses only 50%

The new version is uses 32-bit floating-point as default in updated effects, if you're using 16-bit, then it will convert the buffer samples from 32-bit to 16-bit and that's what will cause this more CPU usage and floating-point is actually uses more CPU :)

Quote from: antonio meza::) ::)

? :)

Have fun!

8) JOBnik! 8)