Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to send MIDI notes to Wwise through Unity code?

+2 votes
Hey all!

In a game I'm working on, event triggers are supposed to make a MIDI note play (e.g. on enemy death it sends, say, a C#4 message to Wwise, which would receive the message and play the corresponding sound).  I understand that I use the key range filter to define which sound will play when the note message is received, but I'm confused regarding how to send the MIDI message to Wwise from code (csharp) in the first place.

Any help is appreciated.  Thanks!
asked Apr 4, 2015 in General Discussion by Thomas K. (120 points)

1 Answer

0 votes
Unfortunately, this is not currently possible. However, it is planned for later in 2015. Stay tuned!
answered Apr 9, 2015 by Benoit S. (Audiokinetic) (15,960 points)
Is this now possible with version 2016.1.1 ? I asked a question that should be processed soon regarding this. I see that there is the possibility to make AkMIDIPost instances that can be sent to Wwise with AkSoundEngine.PostMIDIOnEvent. Is this possible with C# code in Unity? The byNote and byVelocity values aren't recognized by the namespace...
Hi, I'd also like to know if this is now possible. Im trying with the code from however I cant see  AkMidiPost.NoteOnOff

Please could somebody let me know if you could give me an example C sharp code for how to send a midi note from Unity to Wwise.

Ps Loving Wwise so far - really powerful !
How about in 2016.2.2.6022.430?