19 Jun '13 - 19:06 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 ... 3 4 [5] 6 7 ... 31
  Reply  |  Print  
Author Topic: BASS_FX 2.4.10.1  (Read 261462 times)
Chris
Posts: 1507


« Reply #80 on: 2 Oct '04 - 21:38 »
Reply with quoteQuote

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
« Last Edit: 2 Oct '04 - 21:38 by Chris » Logged
ken
Posts: 630


« Reply #81 on: 3 Oct '04 - 11:42 »
Reply with quoteQuote

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!

Logged
Chris
Posts: 1507


« Reply #82 on: 3 Oct '04 - 12:27 »
Reply with quoteQuote

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
« Last Edit: 3 Oct '04 - 12:27 by Chris » Logged
ken
Posts: 630


« Reply #83 on: 3 Oct '04 - 13:35 »
Reply with quoteQuote

Thanks, now it works!  Grin
Logged
WingZero
Posts: 166


« Reply #84 on: 4 Oct '04 - 01:45 »
Reply with quoteQuote

  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.
Logged
Chris
Posts: 1507


« Reply #85 on: 4 Oct '04 - 02:23 »
Reply with quoteQuote

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 » Logged
(: JOBnik! :)
Posts: 991


« Reply #86 on: 4 Oct '04 - 14:35 »
Reply with quoteQuote

Hi Grin

I noticed some bugs, and, uh... stuff. If you call BASS_FX_Free twice, using BPM, it crashes.

 Shocked will check it a bit later today Wink

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 Shocked 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 Wink

Also, Feedback is spelled incorrectly.

Ooopss Shocked btw, the IDC_FEEDBACK is spelled correctly and in all other examples Wink

Thank you for info Smiley

Have fun!

Cool JOBnik! Cool
« Last Edit: 4 Oct '04 - 14:49 by (: JOBnik! :) » Logged
(: JOBnik! :)
Posts: 991


« Reply #87 on: 5 Oct '04 - 09:19 »
Reply with quoteQuote

Hi Grin

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 Grin  Roll Eyes

The updated BASS_FX "package" will be online shortly Smiley

Have fun!

Cool JOBnik! Cool
Logged
WingZero
Posts: 166


« Reply #88 on: 5 Oct '04 - 21:54 »
Reply with quoteQuote

After searching for a bug in BPM, I've finally found it to be in Tempo Grin  Roll Eyes

  Strange, it was the BPM example that crashed. Must have been a coincidence.
Logged
(: JOBnik! :)
Posts: 991


« Reply #89 on: 6 Oct '04 - 17:48 »
Reply with quoteQuote

Hi Grin

Strange, it was the BPM example that crashed. Must have been a coincidence.

* There's a Tempo in a BPM example as well Wink

The updated BASS_FX "package" is online Wink

Have fun!

Cool JOBnik! Cool
Logged
RevG
Posts: 453


« Reply #90 on: 6 Oct '04 - 20:15 »
Reply with quoteQuote

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! Smiley

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
Logged
(: JOBnik! :)
Posts: 991


« Reply #91 on: 8 Oct '04 - 02:35 »
Reply with quoteQuote

Hi Grin

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! Smiley

What a relief Wink  Grin

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 Smiley

* Your little Gain issue is fixed as well Wink tell me if its sound ok Smiley

Thanks for your great library!

You're welcome Smiley

Have fun!

Cool JOBnik! Cool
« Last Edit: 8 Oct '04 - 02:40 by (: JOBnik! :) » Logged
fmcoder
Posts: 387


« Reply #92 on: 17 Oct '04 - 20:19 »
Reply with quoteQuote

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.
Logged
(: JOBnik! :)
Posts: 991


« Reply #93 on: 18 Oct '04 - 12:39 »
Reply with quoteQuote

Hi Grin

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 Smiley

Have fun!

Cool JOBnik! Cool
Logged
fmcoder
Posts: 387


« Reply #94 on: 19 Oct '04 - 12:43 »
Reply with quoteQuote

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 » Logged
(: JOBnik! :)
Posts: 991


« Reply #95 on: 19 Oct '04 - 13:50 »
Reply with quoteQuote

Hi Grin

Smiley BASS_FX 2.0 "beta 2" is online Smiley

  • 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 Smiley

Thanks Smiley

Have fun!

Cool JOBnik! Cool
Logged
Irrational86
Posts: 960


« Reply #96 on: 19 Oct '04 - 15:31 »
Reply with quoteQuote

* 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 » Logged
(: JOBnik! :)
Posts: 991


« Reply #97 on: 19 Oct '04 - 17:33 »
Reply with quoteQuote

Hi Grin

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

Have fun!

Cool JOBnik! Cool
Logged
sgdowney
Posts: 30


« Reply #98 on: 19 Oct '04 - 18:30 »
Reply with quoteQuote

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.
Logged
nadia
Posts: 273


« Reply #99 on: 25 Oct '04 - 17:53 »
Reply with quoteQuote

Hi,  Grin

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
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 31
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines