0
0

Are there any plans to allow support for enumerating music cues at runtime?

Unless I’ve missed something, it seems that the interactive music system assumes you’ll be including the header file output from FMOD Designer in order to use the music cue #define’s inside it as the parameter for MusicSystem::prepareCue() or MusicSystem::promptCue().

We’d rather not have a dependency on the header files, and for everything else we enumerate the available resources (using the likes of EventGroup::getEventByIndex() etc).

For example, our toolchain lets designers browse event names etc directly within .FDP files, to select sounds for an object etc. This allows us to easily match up resources at runtime (using a CRC of the name) without having to include headers etc.

  • You must to post comments
0
0

Hi,
Yes, we do have plans to support enumerating music cues and parameters. Look for this feature around mid-August if not before.

Regards,
Ben

  • You must to post comments
0
0

[quote="ben":2cn0f3cc]Hi,
Yes, we do have plans to support enumerating music cues and parameters. Look for this feature around mid-August if not before.

Regards,
Ben[/quote:2cn0f3cc]

That’s great news. I’ll keep an eye on the releases then, cheers!

  • You must to post comments
0
0

I was wondering if there was an ETA for this?

I’m looking into the music system again and it would be really useful to be able to enumerate music cues, this fits in better with how we’re using the rest of the FMOD API rather than using an exported .h file.

Also, I’m a little unclear how the system works if you load multiple FEV files each containing music cues. In the exported .h file, the IDs for events etc are on a per-project basis (so you can use EventProject::getEventByProjectID() and so on).

However, I can see nothing at the EventProject level relating to music cues, so I am assuming that those IDs are relevant to the MusicSystem as a whole. But this then implies that I can’t load multiple FEVs containing music cues, if there’s a chance that the enumerated cue IDs overlap or clash in any way.

Is this the case?

  • You must to post comments
0
0

Hi,

Music cue and parameter enumeration was added for the current release (4.19.00). Check out MusicSystem::getCues and MusicSystem::getParameters in the FMOD API documentation.

For the moment only one FEV file containing music data can be loaded at any given time. We hope to address this limitation in the near future.

Is there a specific scenario where you require two music projects to be loaded at once?

raymond.

  • You must to post comments
0
0

Thanks for the quick response.

In that case, sorry for the noise – I am just about to install the latest releases so that is great news. Embarrassingly I think I may have slightly confused myself in that I did install them a couple of days ago, but rapidly rolled back to 4.16.09 in order to check something. So it’s my own fault, really :/ That’ll also teach me to not read the published release notes, I’ll try and keep on top of that in future!

Our audio guys say they can work with a single project for interactive music, so that’s not going to be a problem. I was really just asking for clarification to make sure I wasn’t making any wrong assumptions.

Look forward to checking this out later today, thanks again.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.