版本
MIDI music provides an example of how a hybrid approach can be taken to build music. This example mixes and matches pre-rendered music and MIDI Sequences, the MIDI Sequences target sampled instruments and a soft synthesizer.
The music has been composed with a fictional puzzle game in mind comprised of five musical states:
"Neutral", "Rising" and "Falling" are the main themes that follows the player's progression during a puzzle.
"Victory" is only heard after "Rising" when the player successfully complete the puzzle.
"Defeat" is only heard after "Falling" when the player failed the puzzle.
This graph shows the game states and gives an overview of the music structure and transitions between states.
You can listen to the various states by using the Soundcaster session "MIDI". Start by playing the "Start_MIDI_Music" Event in the Soundcaster session, and then trigger the other Events in this session to change from state to state.
The MIDI music uses pre-rendered music and MIDI tracks targeting sampled instruments and a soft synthesizer. Taking "Neutral Loop" music segment as an example, you'll see the following:
Track 1 "Audio Mix - No MIDI" uses a pre-rendered audio files.
Tracks 2 to 6 are using MIDI files that each target a different sampled instrument located in the Actor-Mixer Hierarchy.
Track 7 "Synth" is also using a MIDI file, but targets a Sound that uses the Wwise Synth One source synthesizer instead of sampled sounds.
Take a look at the Wwise Help for more details on how to create sampled instruments and MIDI tracks in Wwise.