SGI Audio Tools: Difference between revisions
→Percussion Sounds
Danielface (talk | contribs) (Typo) |
Danielface (talk | contribs) |
||
Line 220:
==== Percussion Sounds ====
Percussion in MIDI is a bit unique in that [https://en.wikipedia.org/wiki/General_MIDI#Percussion channel 10 is reserved for percussion]
To accommodate this, we create a special <code>instrument</code> for percussive sounds. Each different instrument will have its own <code>sound</code>, <code>envelope</code>, and <code>keymap</code> that only covers its corresponding key.
Line 249:
volume = 127;
pan = 64;
sound = Percussive_Bass_Drum_1Sound;
sound = Percussive_Acoustic_SnareSound;
Line 265 ⟶ 264:
}
The <code>bank</code> would then set <code>percussionDefault</code> to be <code>Percussion_Kit</code>.
==== N64 SDK Example Instrument Bank ====
|