SGI Audio Tools: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Songbank example formatting)
Line 108: Line 108:
* <code>envelope</code> section(s), indicating an [https://en.wikipedia.org/wiki/Envelope_(music) ADSR]
* <code>envelope</code> section(s), indicating an [https://en.wikipedia.org/wiki/Envelope_(music) ADSR]
* <code>keymap</code> section(s), indicating the range of "piano keys" a sound occupies, as well as other data
* <code>keymap</code> section(s), indicating the range of "piano keys" a sound occupies, as well as other data
* <code>sound</code> section(s), indicating a sampled sound and the <code>envelope</code> and <code>keymap</code> it uses
* <code>sound</code> section(s), indicating a sampled sound as well as the <code>envelope</code> and <code>keymap</code> it uses
* <code>instrument</code> section(s), indicating a "MIDI instrument" with a volume, pan, and various <code>sound</code>s
* <code>instrument</code> section(s), indicating a "MIDI instrument" with a volume, pan, and various <code>sound</code>s
* A single <code>bank</code> section, indicating the sample rate, and which <code>instrument</code>s correspond to which MIDI instrument numbers in your sequences
* A single <code>bank</code> section, indicating the sample rate, and which <code>instrument</code>s correspond to which MIDI instrument numbers in your sequences. This will include a specialized instrument for the drumset channel.


==== envelope ====
==== envelope ====
Line 294: Line 294:


In this case, the example error message was caused by a missing semicolon on line 28/29.
In this case, the example error message was caused by a missing semicolon on line 28/29.

Much like the C-family of programming languages, semicolons indicate the start/end of statements, so if you're missing one the instrument compiler might associate two lines as a whole. Be sure to check the lines above and below if you're not initially sure where the error might be.


=== Finishing up ===
=== Finishing up ===