0
0

I created a Multi-track event in FMOD Designer and the fsb file has loaded to an Eventsystem in the code.
What I would like to do is to add a PARAMEQ DSP to this eventsystem which is playing the Multi-track event.

Actully, there is a method in Eventsystem Class called "registerDSP", but it’s a bit complex to customly create a FMOD_DSP_DESCRIPTION object.
Is there any other way to use something like "CreateDSPByType" of System Class to create a specified DSP(like FMOD_DSP_PARAMEQ) for an Eventsystem use?
:) It would better if you can provide a sample code, thanks.

  • You must to post comments
0
0

You can apply DSP effects to Categories using their channel groups in code.

see:
EventCategory::getChannelGroup
System::createDSPByType
ChannelGroup::addDSP

  • You must to post comments
0
0

Thank you for your reply.
According to your solution, I have to use System::createDSPByType of System Class as well.
😮 I am afraid that I can not use EventSystem and System at the same time.
When I create both of them, an error "Cannot have more than one instance of iPhone CoreAudio output" occurs.
And I have tried to release the System object before obtaining a DSP created by System.
But when I added the DSP created by System to the EventSystem channel group, the whole ChannelGroup was mute.
In this case, when I called setMute(false) of the ChannelGroup, "Bad Access" occured.

Is that possible to create a DSP by EventSystem instead of System?

  • You must to post comments
0
0

8) I have solved this problem.
I can get the System pointer from an EventSystem Object by getSystemObject of the EventSystem.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.