Bass23

Blitz3D Forums/Blitz3D Userlibs/Bass23

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Update for dx8 commands. Now full supported.
=========================================================================
If successful, TRUE (1) is returned, else FALSE (0) is returned :

- BASS_FXSetChorus%(HFX,fWetDryMix#,fDepth#,fFeedback#,fFrequency#,lWaveform%,fDelay#,lPhase%)
- BASS_FXSetCompressor%(HFX,fGain#,fAttack#,fRelease#,fThreshold#,fRatio#,fPredelay#)
- BASS_FXSetDistortion%(HFX,fGain#,fEdge#,fPostEQCenterFrequency#,fPostEQBandwidth#,fPreLowpassCutoff#)
- BASS_FXSetEcho%(HFX,fWetDryMix#,fFeedback#,fLeftDelay#,fRightDelay#,lPanDelay%)
- BASS_FXSetFlanger%(HFX,fWetDryMix#,fDepth#,fFeedback#,fFrequency#,lWaveform%,fDelay#,lPhase%)
- BASS_FXSetGargle%(HFX,dwRateHz%,dwWaveShape%)
- BASS_FXSetParamEQ(HFX,fCenter#,fBandwidth#,fGain#)
- BASS_FXSetReverb%(HFX,fInGain#,fReverbMix#,fReverbTime#,fHighFreqRTRatio#)
- BASS_FXSetI3DL2Reverb%(HFX,lRoom%,lRoomHF%,flRoomRolloffFactor#,flDecayTime#,flDecayHFRatio#, lReflections%,flReflectionsDelay#,lReverb%,flReverbDelay#, flDiffusion#,flDensity#,flHFReference#)

The follow returns a float with the asked value :

- Bass_FXGetValue#(HFX,effect%,number%)
exemple: If you have an echo effect like - BASS_FXSetEcho(myecho,50,0,50,30,BASS_FALSE)
Use : Bass_FXGetValue(myecho,BASS_ECHO,3) to get the value of the left Delay, so 3 for the 3te effect value.
Bass_FXGetValue(myChorus,BASS_CHORUS,4) returns the frequency of the effect myChorus.

effect flags are the same as for BASS_ChannelSetFX
===========================================================================