format(tests): Autoformat all tests using the new asmfmt command.

This commit is contained in:
Veikko Sariola
2020-11-10 20:08:13 +02:00
parent 90bb1aa61f
commit 01c39ffc15
88 changed files with 658 additions and 659 deletions

View File

@ -2,32 +2,27 @@
%include "sointu/header.inc"
; warning: crashes ahead. Now that the bpm could be changed and even modulated by other
; signals, there is no easy way to figure out how many ticks your song is. Either
; allocate some extra memory of the output just in case or simulate exactly how many
; samples are outputted. Here the triplets are slightly faster than the original so
; they fit the default MAX_TICKS that is calculated using the simple bpm assumption.
BEGIN_PATTERNS
PATTERN 64, 0, 64, 64, 64, 0, 64, 64, 64, 0, 64, 64, 65, 0, 65, 65
PATTERN 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; 4-rows
PATTERN 78, 0, 54, 0, 78, 0, 54, 0, 78, 0, 54, 0, 78, 0, 54, 0 ; triplets
PATTERN 64,0,64,64,64,0,64,64,64,0,64,64,65,0,65,65
PATTERN 64,0, 0, 0, 0,0, 0, 0, 0,0, 0, 0, 0,0, 0, 0
PATTERN 78,0,54, 0,78,0,54, 0,78,0,54, 0,78,0,54, 0
END_PATTERNS
BEGIN_TRACKS
TRACK VOICES(1),0,0
TRACK VOICES(1),1,2
TRACK VOICES(1),0,0
TRACK VOICES(1),1,2
END_TRACKS
BEGIN_PATCH
BEGIN_INSTRUMENT VOICES(1) ; Instrument0
SU_ENVELOPE MONO,ATTACK(64),DECAY(64),SUSTAIN(0),RELEASE(64),GAIN(128)
SU_ENVELOPE MONO,ATTACK(64),DECAY(64),SUSTAIN(0),RELEASE(64),GAIN(128)
BEGIN_INSTRUMENT VOICES(1)
SU_ENVELOPE MONO,ATTACK(64),DECAY(64),SUSTAIN(0),RELEASE(64),GAIN(128)
SU_ENVELOPE MONO,ATTACK(64),DECAY(64),SUSTAIN(0),RELEASE(64),GAIN(128)
SU_OSCILLATOR MONO,TRANSPOSE(64),DETUNE(32),PHASE(0),COLOR(96),SHAPE(64),GAIN(128),TYPE(TRISAW),LFO(0),UNISON(0)
SU_OSCILLATOR MONO,TRANSPOSE(72),DETUNE(64),PHASE(64),COLOR(64),SHAPE(96),GAIN(128),TYPE(TRISAW),LFO(0),UNISON(0)
SU_MULP STEREO
SU_OUT STEREO,GAIN(128)
SU_MULP STEREO
SU_OUT STEREO,GAIN(128)
END_INSTRUMENT
BEGIN_INSTRUMENT VOICES(1) ; Speed changer
BEGIN_INSTRUMENT VOICES(1)
SU_LOADNOTE MONO
SU_SPEED MONO
END_INSTRUMENT