0
0

First, I’m sorry about I’m FMOD beginner and my poor english.

I added event group and multi-track event in designer.
And added one sound also one parameter

parameter properties is..
min value : 0.0
max value : 1.0
ruler spacing : 0.1
velocity : 1.0
loop behavior : one shot
seek speed : 0.0

I set sound instance’s Start Position to 0.3.

When I pressed play button it’s work very well (parameter bar move 0.0 to 1.0) in designer tool but not work in code.
It works well in Event player, too.
I just called FMOD::Event::start().
Another event that not using parameter is work well in code.
I think It seems to be not updated parameter value because When I called FMOD::EventParameter::setValue(0.3) so it played well.
Anyone can help me?

  • You must to post comments
0
0

Event parameters are updated inside EventSystem::update, you should be calling that regularly. A common usage is to call it from the main update function once per frame.

  • You must to post comments
0
0

[quote="peter":79zw770c]Event parameters are updated inside EventSystem::update, you should be calling that regularly. A common usage is to call it from the main update function once per frame.[/quote:79zw770c]

I’m already using that EventSystem::update. But it was wrong place :(
Thank you!!

  • You must to post comments
0
0

You’re welcome, I’m glad to hear you got it working.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.