BASS_FX 2.4.12.1

Started by (: JOBnik! :),

(: JOBnik! :)

#100
Hi ;D

Quote from: nadialooking 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?

* There're two handles in Tempo & Reverse. The 1st handle is a decoding channel that a user creates with:
chan = BASS_StreamCreateFile(...,BASS_STREAM_DECODE);

This handle is uses to:
1. Change/get a stream position
2. Apply a sync callback
3. Get some original stream info.
4. ...

* Decoding handle is uses to create a Custom Stream (what you hear):
resampledhandle = BASS_StreamCreate(chan,...,(STREAMPROC*)&sp,...);

This one is created and returned by BASS_FX_TempoCreate(...);
And to help and not "use" 2 handles in an application I've created a function that actually returns the resampled handle by a given decoded handle with BASS_FX_TempoGetResampledHandle(chan);

This handle is uses to:
1. Play the decoded and resampled/reversed stream.
2. Apply Volume, DSP...
3. Get data with BASS_ChannelGetData(..) for visuals...
4. ...

Hope it helps  ::)

Have fun!

8) JOBnik! 8)

nadia

Hi,  ;D

I've created a project in VC++ 6 in order to step into the code of the BPM sample: it compiles flawlessy but when run, it gives the following error:
"The application failed to initialize properly (0xc0000005). Click on OK to terminate the application".  :o

If instead of using the BASS.lib static library coming with version 2.0.0.23 I use the BASS.lib static library coming with version 2.0.0.21, the problem doesn't happen.  ???

Any idea?  :)

Regards

Nadia


(: JOBnik! :)

#102
Hi ;D

Quote from: nadiaI've created a project in VC++ 6 in order to step into the code of the BPM sample: it compiles flawlessy but when run, it gives the following error:
"The application failed to initialize properly (0xc0000005). Click on OK to terminate the application".  :o

That should be fixed now ;)
Please redownload BASS_FX "package" with updated BASS_FX.DLL and BASS_FX.LIB :)
Btw,  the file size is got by 512 bytes smaller  ::)

Quote from: nadiaIf instead of using the BASS.lib static library coming with version 2.0.0.23 I use the BASS.lib static library coming with version 2.0.0.21, the problem doesn't happen.  ???

It is nothing to do with BASS.LIB, because BASS_FX is not linked with it :)
Even if you'll look into the date of the BASS.LIB you'll see that it's the same date as it was when BASS version 2.0.0.0 was released :)

Thank you :)

Have fun!

8) JOBnik! 8)

nadia

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

Quote from: nadiaI've created a project in VC++ 6 in order to step into the code of the BPM sample: it compiles flawlessy but when run, it gives the following error:
"The application failed to initialize properly (0xc0000005). Click on OK to terminate the application".  :o

That should be fixed now ;)
Please redownload BASS_FX "package" with updated BASS_FX.DLL and BASS_FX.LIB :)
Btw,  the file size is got by 512 bytes smaller  ::)

Quote from: nadiaIf instead of using the BASS.lib static library coming with version 2.0.0.23 I use the BASS.lib static library coming with version 2.0.0.21, the problem doesn't happen.  ???

It is nothing to do with BASS.LIB, because BASS_FX is not linked with it :)
Even if you'll look into the date of the BASS.LIB you'll see that it's the same date as it was when BASS version 2.0.0.0 was released :)

Thank you :)

Have fun!

8) JOBnik! 8)

Hi,  ;D

Unfortunately the problem is still there.
I was wrong in my previous message.: the application runs correctly if I replace the bass_fx.lib of beta2 with bass_fx.lib of alpha version. The bass.lib file is not influent.
This is not a problem for me since what I needed was to be able to step into the code... and now I am...  :)

Regards  :)

Nadia


(: JOBnik! :)

Hi ;D

Quote from: nadiaUnfortunately the problem is still there.
I was wrong in my previous message.: the application runs correctly if I replace the bass_fx.lib of beta2 with bass_fx.lib of alpha version. The bass.lib file is not influent.
This is not a problem for me since what I needed was to be able to step into the code... and now I am...  :)

Did you rebuild your project? :)
Try to make a new one :)

Have fun!

8) JOBnik! 8)

nadia

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

Quote from: nadiaUnfortunately the problem is still there.
I was wrong in my previous message.: the application runs correctly if I replace the bass_fx.lib of beta2 with bass_fx.lib of alpha version. The bass.lib file is not influent.
This is not a problem for me since what I needed was to be able to step into the code... and now I am...  :)

Did you rebuild your project? :)
Try to make a new one :)

Have fun!

8) JOBnik! 8)

Yes, I pruned the directory containing previous beta2, unzipped the new download and rebuilt the project from scratch (Win32 application with empty project).
I can see that bass_fx.lib date is November 9 2004

Regards  :)

Nadia


(: JOBnik! :)

Hi ;D

Quote from: nadiaUnfortunately the problem is still there.
I was wrong in my previous message.: the application runs correctly if I replace the bass_fx.lib of beta2 with bass_fx.lib of alpha version. The bass.lib file is not influent.
This is not a problem for me since what I needed was to be able to step into the code... and now I am...  :)

Weird... :)
When you've wrote that you've got that error, I rechecked it with a new project and I'm as well got this error, but then with some changes in BASS_FX I've rebuilded the project and it compiled well. Yesterday I've made more than 10 new projects and never got this error.

Please send your project to me to check it :)

Have fun!

8) JOBnik! 8)

Chris

@ JOBnik
I have notice that your are using 2 Channels in the Sync Example
One for Decoding (Tempo) and one for Sync
Why ??
Sync will working fine on a decoding Channel
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: ChrisI have notice that your are using 2 Channels in the Sync Example
One for Decoding (Tempo) and one for Sync
Why ??
Sync will working fine on a decoding Channel

Because it will trigger before :)
Next version of BASS_FX will be 2.1 with full 32-bit support and will be updated with BASS add-on APIs, so then it will have full support for Sync and the example will be removed :)
And there're some more DSP effects added ;)

Have fun!

8) JOBnik! 8)

(: JOBnik! :)

Hi ;D

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.

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

RevG that's the same error... and...

Quote from: nadiaI've created a project in VC++ 6 in order to step into the code of the BPM sample: it compiles flawlessy but when run, it gives the following error: "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application".  :o

It is FiXed now :)

Please redownload the updated file :)

Thank you! :)

Have fun!

8) JOBnik! 8)

nadia

Hi,  ;D

during a fade-in/fade-out phase I have noticed that sometime, calling the BASS_FX_BPM_DecodeGet function below, I hear a very strange sound (less than 1 second long), similar to a "twirl" (as you would obtain playing the sound 10 times its original speed). :o

Note that the BPM calculation below is made inside a separate thread (obviously it will happen also from inside the same thread of the playing sound).
If I comment out the BASS_FX_BPM_DecodeGetfunction call, the problem never happens.


HSTREAM   hBpmStream = BASS_StreamCreateFile (FALSE, strFilePath,                  0, 0, BASS_STREAM_DECODE);
if (hBpmStream == NULL)
    return;

float fOrgBPM = BASS_FX_BPM_DecodeGet (hBpmStream, 0, 30,
         0, BASS_FX_BPM_BKGRND|BASS_FX_BPM_MULT2,            (BPMPROCESSPROC*) GetBPM_Progress);


Do you have an idea of what could be causing the problem?

Regards

Nadia


(: JOBnik! :)

Hi ;D

BASS_FX 2.0 "beta 2" is updated to BASS 2.1 ;)

* BASS_FX 2.1 will be shortly released :)

Nadia, please send me your example code again to check it :)

Have fun!

8) JOBnik! 8)

MB_SOFT

#112
Hi JObNick,
i have problems to email you (rejected messages).

I sent you a wma file that play totally silently using BASS_FX_DSPAMP and you reply me that it plays fine to you.

I now remarked the problem occurs only when using 16 bits buffer (not happen with 32 bits buffer). So, please, try again to play it with 16 bits buffer and you'll see the problem.

I cannot switch to use 32 bit buffers, cause i'm also using the Directx compressor that do not work with 32 bit dsp (although is stated to work with it, it don't compress anything, just the gain changes are audible).

So, i hope you can fix it for the next release.

Thanks
Maurizio

nadia

Hi,  ;D

I'm quite attracted by the Dynamic Amplification DSP inside BASS_FX: the only problem is that I don't have enough background to understand exactly how the various parameters match: is there a place or document on the Internet where I can find the theory that is under this DSP?

Regards  ;D

Noadia

(: JOBnik! :)

Hi ;D

Quote from: nadiais there a place or document on the Internet where I can find the theory that is under this DSP?

Yep... Ian ;D

Have fun!

8) JOBnik! 8)

(: JOBnik! :)

#115
Hi ;D

On next week I'll release BASS_FX 2.1, it's not finished yet, but have a lot of changes:
  • Updated to BASS 2.1 add-on APIs
  • A lot of functions/error codes removed and combined with BASS functions/error codes.
  • 2 more DSP effects added (more will come later)
  • Tempo 16/32-bit support
  • Sync support :)
  • Set/Get position support.
  • and more...
Have fun!

8) JOBnik! 8)

MB_SOFT

Thank you JobNick! This a good news!

doopydoop

Jobnik,

I know you have mentioned before that bass_fx uses the soundtouch library.

Just to let you know, it has been updated, and fixes some rounding problems in the timestretch algo , making it more accurate.

cheers

scall

(: JOBnik! :)

Hi ;D

Quote from: MB_SOFTThank you JobNick! This a good news!

You're welcome :)

Quote from: doopydoopI know you have mentioned before that bass_fx uses the soundtouch library.

Just to let you know, it has been updated, and fixes some rounding problems in the timestretch algo , making it more accurate.

Yep, the latest version is 1.3 and BASS_FX is updated to that :)

Have fun!

8) JOBnik! 8)

(: JOBnik! :)

#119
Hi ;D

:) BASS_FX 2.1 is online :)

* Download BASS 2.1.0.2 or greater to use with new BASS_FX :)

Have fun!

8) JOBnik! 8)

Chris

#120
Hi
After the First Tests i must say
The New Tempo Sound is fantastic !!!!!!!!!!!!!!!
No more BassDrum Cuts with active TimeStretching !!!!!!!!!!!!
Great and fantastic Job !!!!!!!!!!!!!
Greets Chris.....
One Question are there future Plans to add a Compressor to the Bass_FX.dll ???
(The Known Problem  with Bass_Sample_Float will the Compressor FX not working...)
Greets Chris

(: JOBnik! :)

Hi ;D

Quote from: ChrisAfter the First Tests i must say
The New Tempo Sound is fantastic !!!!!!!!!!!!!!!
No more BassDrum Cuts with active TimeStretching !!!!!!!!!!!!
Great and fantastic Job !!!!!!!!!!!!!

Thanks :) mucho greetings must go to Ian for all the wonderful and great help :)

Quote from: ChrisOne Question are there future Plans to add a Compressor to the Bass_FX.dll ???
(The Known Problem  with Bass_Sample_Float will the Compressor FX not working...)

Yep, I've almost added it  ;D, but then removed (didn't have time to test it)  ::)
I'll add a simple compressor and will send it to you to test it, ok? :)

* There're about 5 more DSP effects waiting in line to be added  ;D

Have fun!

8) JOBnik! 8)

MB_SOFT

Quote from: (: JOBnik! :)I'll add a simple compressor and will send it to you to test it, ok? :)
Hi JOBnik!,
could you please also send the compressor test to me once ready?
I have the same problem described by Chris, so i'm just waiting a compressor in bass_fx to switch my buffer to float (currently still using 16 bit buffer)

I made some tests with bass_fx 2.1 and all is ok at the moment.

Thanks for your fantastic work  :)


Chris

Quote from: (: JOBnik! :)Yep, I've almost added it  ;D, but then removed (didn't have time to test it)  ::)
I'll add a simple compressor and will send it to you to test it, ok? :)

* There're about 5 more DSP effects waiting in line to be added  ;D


Bohhhhhhhh  Fantastic !!!!!!!!!!!!!  THanks.....

Irrational86

JOBNik, you might want to update your signature...it isn't looking well