SGI Audio Tools: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Danielface (talk | contribs) (Typo) |
Danielface (talk | contribs) |
||
Line 220: | Line 220: | ||
==== Percussion Sounds ==== |
==== 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] |
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. |
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: | Line 249: | ||
volume = 127; |
volume = 127; |
||
pan = 64; |
pan = 64; |
||
sound = Percussive_Bass_Drum_1Sound; |
sound = Percussive_Bass_Drum_1Sound; |
||
sound = Percussive_Acoustic_SnareSound; |
sound = Percussive_Acoustic_SnareSound; |
||
Line 265: | Line 264: | ||
} |
} |
||
The <code>bank</code> would then set <code>percussionDefault</code> to be <code>Percussion_Kit</code>. |
The <code>bank</code> would then set <code>percussionDefault</code> to be <code>Percussion_Kit</code>. |
||
==== N64 SDK Example Instrument Bank ==== |
==== N64 SDK Example Instrument Bank ==== |