SGI Audio Tools: Difference between revisions
Fix instrument formatting
Danielface (talk | contribs) m (wording tweak) |
Danielface (talk | contribs) (Fix instrument formatting) |
||
Line 167:
An example <code>instrument</code> might look like:
instrument AnExampleInstrument
{
Line 173 ⟶ 174:
sound = AnExampleSound;
}
Note how <code>sound</code> property matches the name of an existing sound above.
An <code>instrument</code> can specify multiple <code>sound</code>. For example, <code>GenMidiBank.inst</code> in the N64 SDK uses four sounds for a MIDI Cello:
instrument Cello
{
volume = 127;
pan = 64;
vibratoType = 128; /* 128, 129, 130, 131 */
vibratoRate = 222; /* 0 to 255 */
vibratoDepth = 6; /* 0 to 255 */
vibratoDelay = 1; /* 1 to 255 */
sound = Cello00;
sound = Cello01;
|