Author Topic: BASS_FX 2.4.12.1  (Read 839556 times)

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #100 on: 26 Oct '04 - 01:52 »
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?

* 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)
« Last Edit: 26 Oct '04 - 01:58 by (: JOBnik! :) »

nadia

  • Posts: 332
Problem with bpm sample of Beta2
« Reply #101 on: 8 Nov '04 - 14:08 »
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! :)

  • Posts: 1080
Re:Problem with bpm sample of Beta2
« Reply #102 on: 9 Nov '04 - 15:14 »
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

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

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.  ???

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)
« Last Edit: 9 Nov '04 - 15:24 by (: JOBnik! :) »

nadia

  • Posts: 332
Re:Problem with bpm sample of Beta2
« Reply #103 on: 9 Nov '04 - 16:00 »
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

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

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.  ???

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

  • Posts: 1080
Re:Problem with bpm sample of Beta2
« Reply #104 on: 9 Nov '04 - 17:30 »
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...  :)

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

Have fun!

8) JOBnik! 8)

nadia

  • Posts: 332
Re:Problem with bpm sample of Beta2
« Reply #105 on: 9 Nov '04 - 18:07 »
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...  :)

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

  • Posts: 1080
Re:Problem with bpm sample of Beta2
« Reply #106 on: 10 Nov '04 - 10:22 »
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...  :)

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

  • Posts: 2217
Re:BASS_FX 2.0 "beta 2"
« Reply #107 on: 10 Nov '04 - 12:47 »
@ 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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #108 on: 10 Nov '04 - 13:06 »
Hi ;D

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

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

  • Posts: 1080
Re:Problem with bpm sample of Beta2
« Reply #109 on: 12 Nov '04 - 22:53 »
Hi ;D

Also 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...

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

It is FiXed now :)

Please redownload the updated file :)

Thank you! :)

Have fun!

8) JOBnik! 8)

nadia

  • Posts: 332
Re:BASS_FX 2.0 "beta 2"
« Reply #110 on: 26 Nov '04 - 10:59 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #111 on: 28 Nov '04 - 21:39 »
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

  • Posts: 496
Re:BASS_FX 2.0 "beta 2"
« Reply #112 on: 6 Dec '04 - 23:09 »
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
« Last Edit: 6 Dec '04 - 23:11 by MB_SOFT »

nadia

  • Posts: 332
Re:BASS_FX 2.0 "beta 2"
« Reply #113 on: 10 Dec '04 - 15:04 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #114 on: 11 Dec '04 - 22:20 »
Hi ;D

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

  • Posts: 1080
BASS_FX 2.1 (next week!)
« Reply #115 on: 15 Dec '04 - 14:15 »
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)
« Last Edit: 20 Dec '04 - 14:16 by (: JOBnik! :) »

MB_SOFT

  • Posts: 496
Re:BASS_FX 2.0 "beta 2"
« Reply #116 on: 15 Dec '04 - 14:19 »
Thank you JobNick! This a good news!

doopydoop

  • Guest
Re:BASS_FX 2.0 "beta 2"
« Reply #117 on: 15 Dec '04 - 15:53 »
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! :)

  • Posts: 1080
Re:BASS_FX 2.0 "beta 2"
« Reply #118 on: 15 Dec '04 - 16:05 »
Hi ;D

Thank you JobNick! This a good news!

You're welcome :)

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.

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

Have fun!

8) JOBnik! 8)

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.1
« Reply #119 on: 27 Dec '04 - 02:33 »
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)
« Last Edit: 27 Dec '04 - 11:04 by (: JOBnik! :) »

Chris

  • Posts: 2217
Re:BASS_FX 2.1
« Reply #120 on: 27 Dec '04 - 05:29 »
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
« Last Edit: 27 Dec '04 - 05:29 by Chris »

(: JOBnik! :)

  • Posts: 1080
Re:BASS_FX 2.1
« Reply #121 on: 27 Dec '04 - 17:03 »
Hi ;D

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

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...)

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

  • Posts: 496
Re:BASS_FX 2.1
« Reply #122 on: 27 Dec '04 - 17:13 »
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

  • Posts: 2217
Re:BASS_FX 2.1
« Reply #123 on: 27 Dec '04 - 17:37 »

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

  • Posts: 960
Re: BASS_FX 2.1
« Reply #124 on: 31 Dec '04 - 05:26 »
JOBNik, you might want to update your signature...it isn't looking well