0
0

In my FMOD project, DMP4, I’ve added support for DX8 FX and an Equalizer using the FSOUND_FX api. What I’m having problem with is setting FX with the Equalizer settings togather. Whenever I turn an FX on it disables the Equalizer settings so that the equalizer values go flat, and for some reason I cant re-set the Equalizer. Heres the code I use for the FX Checkboxes:

[code:2dda464k]
On Error Resume Next

Call FSOUND_SetPaused(FSOUND_SYSTEMCHANNEL, True)

If chkEffects(Index).Value = 1 Then
fX(Index) = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, Index)
ElseIf chkEffects(Index).Value = 0 Then
FSOUND_FX_Disable (fX(Index))
End If

Call FSOUND_SetPaused(FSOUND_SYSTEMCHANNEL, False)

On Error GoTo 0
[/code:2dda464k]

I am using FSOUND_SYSTEMCHANNEL because I also have a spectrum analyzer and VU meters. What I was thinking was that I need to initialize the FX along with the EQ beforehand and set the values to normal, if that’s possible, and then use FSOUND_SetParamEQ and FSOUND_FX_Set[whatever].

Thanks.

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.