0
0

Hi,
i have the following source code. i want to make an EQ. but i get some errors while my programm is running and i press the button:
[code:3o1v2kea]
FMOD_System_AddDSP(FMODSystem, FXHeq32);
FMOD_DSP_SetParameter(FXHeq32, FMOD_DSP_PARAMEQ_CENTER, 32);
FMOD_DSP_SetParameter(FXHeq32, FMOD_DSP_PARAMEQ_BANDWIDTH, 1.0);
FMOD_DSP_SetParameter(FXHeq32, FMOD_DSP_PARAMEQ_GAIN, (12-ScrollBar1->Position)/10);

    FMOD_System_AddDSP(FMODSystem, FXHeq64);
    FMOD_DSP_SetParameter(FXHeq64, FMOD_DSP_PARAMEQ_CENTER, 64);
    FMOD_DSP_SetParameter(FXHeq64, FMOD_DSP_PARAMEQ_BANDWIDTH, 1.0);
    FMOD_DSP_SetParameter(FXHeq64, FMOD_DSP_PARAMEQ_GAIN, (12-ScrollBar2->Position)/10);

[/code:3o1v2kea]

The error i get is address 1001FB63 in modul ‘fmodex.dll’. reading from address 0000010C.
In source code the debugger gets the error in the 2nd line

I hope someone can help me. an sorry for my english, i know it is not the best.

Thank you
nico_basche

  • You must to post comments
0
0

[quote="brett":11bye7t8]What is the value of ScrollBar1->Position?[/quote:11bye7t8]
its 0 to 3 as a float.

  • You must to post comments
0
0

Hi,
is it possible that i can not add two DSP_PARAMEQ Effects?

Or have someone a working EQ example for me? I only want to see it to corect my mistake(s) in my source.

Thank you
nico_basche

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.