diff options
| author | JimB16 <f1@jimb.de> | 2015-10-13 22:46:02 +0200 |
|---|---|---|
| committer | JimB16 <f1@jimb.de> | 2015-10-13 22:46:02 +0200 |
| commit | faa833b4697ae3286d3e2d40670e937a4fe6c58c (patch) | |
| tree | 5baa21ed7e7e4b662a95e6bfb1d397e7e2043721 | |
| parent | c802340f4c4fe419436a793892db4d61d695886b (diff) | |
Updated Sound Engine Commands (markdown)
| -rw-r--r-- | Sound-Engine-Commands.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Sound-Engine-Commands.md b/Sound-Engine-Commands.md index b62610d..31ecd82 100644 --- a/Sound-Engine-Commands.md +++ b/Sound-Engine-Commands.md @@ -8,6 +8,21 @@ It should also be a place to suggest some good names for the commands (which sta Sets the octave for the folloing notes +# $d8: notetype byte (byte) +\1: Note length +\2: Initial Volume of envelope (0-0Fh) (0=No Sound) +\3: Envelope Direction (0=Decrease, 1=Increase) +\4: Number of envelope sweep (n: 0-7) (If zero, stop envelope operation.) +* usage: + * notetype $c, $a, $0, $7 + * following notes have length $c and start with volume=$a and slowly fade out + * notetype $7, $2, $1, $4 + * following notes have length $7 and start with volume=$2 and get louder a bit faster than in the previous example + * notetype $a + * following notes have length $a (channel 4 has no volume envelope setting) + +Sets the note length and (if we're not in channel 4) the volume envelope setting (see the command 'volenvelope') for the following notes. + # $da: tempo word \1: number (0 - (2^16-1)) * usage: |
