0
0

Hey guys,

i want to create an equalizer for my VB6-App

I want to create some DSP-Effects with

result = FMOD_System_CreateDSPByType(System, FMOD_DSP_TYPE_PARAMEQ, dspparameq_A)

On other DSP-Stuff it works fine, one thing i don’t get is how to change the values…

Public Enum FMOD_DSP_PARAMEQ
FMOD_DSP_PARAMEQ_CENTER ‘ Frequency center. 20.0 to 22000.0. Default = 8000.0. ‘
FMOD_DSP_PARAMEQ_BANDWIDTH ‘ Octave range around the center frequency to filter. 0.2 to 5.0. Default = 1.0. ‘
FMOD_DSP_PARAMEQ_GAIN ‘ Frequency Gain. 0.05 to 3.0. Default = 1.0. ‘
End Enum

I think i have to set them before i call the function (first one).

Please help,
Thx in Advance, alekto

  • You must to post comments
0
0

BAM hit me… 😉

if someone other needs it :roll:

result = FMOD_System_CreateDSPByType(System, FMOD_DSP_TYPE_PARAMEQ, dspparameq_A)

    result = FMOD_DSP_SetParameter(dspparameq_A, FMOD_DSP_PARAMEQ_GAIN, 0.05)

Other settings:
>> FMOD_DSP_PARAMEQ_CENTER ‘ Frequency center. 20.0 to 22000.0. Default = 8000.0. ‘
>> FMOD_DSP_PARAMEQ_BANDWIDTH ‘ Octave range around the center frequency to filter. 0.2 to 5.0. Default = 1.0. ‘
>> FMOD_DSP_PARAMEQ_GAIN ‘ Frequency Gain. 0.05 to 3.0. Default = 1.0. ‘

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.