SGI Audio Tools: Difference between revisions

(Typo)
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], and that each note maps to a specific instrument. "Middle C" has a note number of 60 which is always a high bongo sound on the percussion channel.
 
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 ====
84

edits