Version

menu_open
AKRESULT __cdecl AK::SoundEngine::PostMIDIOnEvent ( AkUniqueID  in_eventID,
AkGameObjectID  in_gameObjectID,
AkMIDIPost in_pPosts,
AkUInt16  in_uNumPosts  
)

Executes a number of MIDI events on all nodes that are referenced in the specified event in an action of type play. Each MIDI event will be posted in AkMIDIPost::uOffset samples from the start of the current frame. The duration of a sample can be determined from the sound engine's audio settings, via a call to AK::SoundEngine::GetAudioSettings.

See also:
Parameters:
in_eventID  Unique ID of the event
in_gameObjectID  Associated game object ID
in_pPosts  MIDI events to post
in_uNumPosts  Number of MIDI events to post

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise