0
0

Hi, we’ve implemented FMOD into our project and we use the EventSystem
to trigger sounds with Events. Recently we started experimenting
with the Music System too. I found the class in the documentation and also some initialization code on this forums which helped me to start, but I have
some questions:

  1. Are there any documentation somewhere that gives examples on how to use the Music Event system that I might have overlooked?

  2. As we’re using C# and XNA game studio, the code to get a cue is now in our project:

ERRCHECK(musicSystem.prepareCue((uint)id, ref prompt));

I don’t get where this id Number for a cue is decided, we have 2 Cues in our Music Event system, triggering two songs at the moment, and apparently id = 9 and id= 10 gets me both of these cues.
Is there a way to get cues by name instead?
And what is 9 and 10 referring to in this context?

Thank you for reading, and hopefully Helping
// Tobias 😀

  • You must to post comments
0
0

Some additional documentation on the Wiki: http://52.88.2.202/wiki/index.php5?tit … signer_Tab)

  • You must to post comments
0
0

I also have this question.

I can’t find anything which says where to get the id from!?!?

Any answers?

  • You must to post comments
0
0

The cue IDs are avaliable in the programmer report and header file generated by FMOD Designer.

You can get cues by name using MusicSystem::getCues to get a FMOD_MUSIC_ITERATOR. That iterator contains the CUE_ID.

-Pete

  • You must to post comments
0
0

Aha!

Thank you so much!

  • You must to post comments
0
0

You’re welcome. :)

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.