SGI Audio Tools: Difference between revisions

(Songbank example formatting)
 
(One intermediate revision by the same user not shown)
Line 108:
* <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>sound</code> section(s), indicating a sampled sound andas 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
* 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 ====
Line 289:
[[File:Ic error.png|frameless|The instrument compiler showing an error.|alt=|600x600px]]
 
Even though the output looks garbled, try not to be discouraged! The final linebit of output will show the line number of the error. The first place to look is often the associated line.
 
[[File:Screen Shot 2020-10-06 at 10.05.28 PM.png|frameless|An Instrument Bank file with a missing semicolon on line 28/29.|alt=|500x500px]]
 
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. 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 ===
84

edits