Midi Question about play midi with tracks

When play MIDI file is play with a channel or channels according to MIDI’s sound track?
Maybe I should split up the sound track and use the createSound method one by one。
:joy:

Hi Wagner,

A MIDI file will only use one sound channel, regardless how many tracks/channels the MIDI file has internally. You are able to see and manipulate the MIDI channels through the low level API:

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_Sound_GetMusicChannelVolume.html#/

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_Sound_GetMusicNumChannels.html#/

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_Sound_GetMusicSpeed.html#/

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_Sound_SetMusicChannelVolume.html#/

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_Sound_SetMusicSpeed.html#/

Thanks,
Richard

1 Like