help with brucy bass-fx mod?

BlitzMax Forums/BlitzMax Programming/help with brucy bass-fx mod?

AdamStrange(Posted 2011) [#1]
ok, I've got both the bass and bass-fx mods. I've also added all the fx code to the bass-fx mod. so far so good

I've now got all the examples operational and also been able to add the bass-fx effects to the supplied example and also got the spectrum to operate.

my problem begins with trying to manipulate any fx parameters

e.g.

Local chorusfx:TBassFXChorus = New TBassFXChorus
Local chorusint:Int = BASS_ChannelSetFX(channel.handle, BASS_FX_BFX_CHORUS, 1)

Print "rate="+bmx_bassfxchorus_getrate(chorusfx)

bmx_bassfxchorus_setrate(chorusfx, 100)
Print "new rate="+bmx_bassfxchorus_getrate(chorusfx)
BASS_FXSetParameters(chorusint, chorusfx)



it all works fine, the rate is changed, but doesn't actually do anything to the audio itself?

or (another version)


Local basefx:TBassFX
basefx=channel.SetFX(BASS_FX_BFX_CHORUS, 1)
'here basefx.fxtype = BASS_FX_BFX_CHORUS :)

Print "rate="+bmx_bassfxchorus_getrate(basefx)

bmx_bassfxchorus_setrate(basefx, 0)
Print "new rate="+bmx_bassfxchorus_getrate(basefx)


this will set a new rate but not change to audio either. note you can't use SetParameters with this version

Anyone have any help on manipulating the bass-fx?