From 30379c981d3c2dce5589c1ed2694b966487e3477 Mon Sep 17 00:00:00 2001 From: vsariola Date: Tue, 5 Jan 2021 15:50:27 +0200 Subject: [PATCH] feat: remove hold from song assume songs code it as 1 always; implementations are free to change this during compilation, but this should be a compile time flag / optimization; not a concern of song. --- bridge/bridge_test.go | 2 +- cmd/sointu-compile/main.go | 7 ------ compiler/compiler.go | 6 ++++-- compiler/encoded_song_test.go | 3 --- sointu.go | 31 ++------------------------- templates/amd64-386/player.asm | 6 +++--- templates/wasm/player.wat | 8 +++---- tests/test_add.yml | 1 - tests/test_add_stereo.yml | 1 - tests/test_addp.yml | 1 - tests/test_addp_stereo.yml | 1 - tests/test_aux.yml | 1 - tests/test_aux_stereo.yml | 1 - tests/test_chords.yml | 1 - tests/test_clip.yml | 1 - tests/test_clip_stereo.yml | 1 - tests/test_compressor.yml | 1 - tests/test_compressor_stereo.yml | 1 - tests/test_crush.yml | 1 - tests/test_crush_stereo.yml | 1 - tests/test_delay.yml | 1 - tests/test_delay_dampmod.yml | 1 - tests/test_delay_drymod.yml | 1 - tests/test_delay_feedbackmod.yml | 1 - tests/test_delay_flanger.yml | 1 - tests/test_delay_notetracking.yml | 1 - tests/test_delay_pregainmod.yml | 1 - tests/test_delay_reverb.yml | 1 - tests/test_delay_stereo.yml | 1 - tests/test_distort.yml | 1 - tests/test_distort_mod.yml | 1 - tests/test_distort_stereo.yml | 1 - tests/test_envelope.yml | 1 - tests/test_envelope_16bit.yml | 1 - tests/test_envelope_mod.yml | 1 - tests/test_envelope_stereo.yml | 1 - tests/test_filter_band.yml | 1 - tests/test_filter_freqmod.yml | 1 - tests/test_filter_high.yml | 1 - tests/test_filter_low.yml | 1 - tests/test_filter_peak.yml | 1 - tests/test_filter_resmod.yml | 1 - tests/test_filter_stereo.yml | 1 - tests/test_gain.yml | 1 - tests/test_gain_stereo.yml | 1 - tests/test_hold.yml | 1 - tests/test_hold_mod.yml | 1 - tests/test_hold_stereo.yml | 1 - tests/test_in.yml | 1 - tests/test_in_stereo.yml | 1 - tests/test_invgain.yml | 1 - tests/test_invgain_stereo.yml | 1 - tests/test_loadnote.yml | 1 - tests/test_loadnote_stereo.yml | 1 - tests/test_loadval.yml | 1 - tests/test_loadval_stereo.yml | 1 - tests/test_mul.yml | 1 - tests/test_mul_stereo.yml | 1 - tests/test_mulp.yml | 1 - tests/test_mulp_stereo.yml | 1 - tests/test_multiple_instruments.yml | 1 - tests/test_noise.yml | 1 - tests/test_noise_stereo.yml | 1 - tests/test_oscillat_colormod.yml | 1 - tests/test_oscillat_detunemod.yml | 1 - tests/test_oscillat_gainmod.yml | 1 - tests/test_oscillat_gate.yml | 1 - tests/test_oscillat_lfo.yml | 1 - tests/test_oscillat_phasemod.yml | 1 - tests/test_oscillat_pulse.yml | 1 - tests/test_oscillat_sample.yml | 1 - tests/test_oscillat_sample_stereo.yml | 1 - tests/test_oscillat_shapemod.yml | 1 - tests/test_oscillat_sine.yml | 1 - tests/test_oscillat_stereo.yml | 1 - tests/test_oscillat_transposemod.yml | 1 - tests/test_oscillat_trisaw.yml | 1 - tests/test_oscillat_unison.yml | 1 - tests/test_oscillat_unison_stereo.yml | 1 - tests/test_outaux.yml | 1 - tests/test_outaux_stereo.yml | 1 - tests/test_panning.yml | 1 - tests/test_panning_stereo.yml | 1 - tests/test_polyphony.yml | 1 - tests/test_pop.yml | 1 - tests/test_pop_stereo.yml | 1 - tests/test_push.yml | 1 - tests/test_push_stereo.yml | 1 - tests/test_receive.yml | 1 - tests/test_receive_stereo.yml | 1 - tests/test_send.yml | 1 - tests/test_send_global.yml | 1 - tests/test_send_stereo.yml | 1 - tests/test_speed.yml | 1 - tests/test_xch.yml | 1 - tests/test_xch_stereo.yml | 1 - 96 files changed, 14 insertions(+), 138 deletions(-) diff --git a/bridge/bridge_test.go b/bridge/bridge_test.go index 23a03df..f37fd3c 100644 --- a/bridge/bridge_test.go +++ b/bridge/bridge_test.go @@ -40,7 +40,7 @@ func TestOscillatSine(t *testing.T) { sointu.Unit{Type: "out", Parameters: map[string]int{"stereo": 1, "gain": 128}}, }}}} tracks := []sointu.Track{{NumVoices: 1, Sequence: []byte{0}, Patterns: [][]byte{{64, 0, 68, 0, 32, 0, 0, 0, 75, 0, 78, 0, 0, 0, 0, 0}}}} - song := sointu.Song{BPM: 100, Tracks: tracks, Patch: patch, Output16Bit: false, Hold: 1} + song := sointu.Song{BPM: 100, Tracks: tracks, Patch: patch, Output16Bit: false} synth, err := bridge.Synth(patch) if err != nil { t.Fatalf("Compiling patch failed: %v", err) diff --git a/cmd/sointu-compile/main.go b/cmd/sointu-compile/main.go index 42cca8b..46ca806 100644 --- a/cmd/sointu-compile/main.go +++ b/cmd/sointu-compile/main.go @@ -39,7 +39,6 @@ func main() { tmplDir := flag.String("t", "", "When compiling, use the templates in this directory instead of the standard templates.") directory := flag.String("o", "", "Directory where to output all files. The directory and its parents are created if needed. By default, everything is placed in the same directory where the original song file is.") extensionsOut := flag.String("e", "", "Output only the compiled files with these comma separated extensions. For example: h,asm") - hold := flag.Int("hold", -1, "New value to be used as the hold value. -1 = do not change.") targetArch := flag.String("arch", runtime.GOARCH, "Target architecture. Defaults to OS architecture. Possible values: 386, amd64") targetOs := flag.String("os", runtime.GOOS, "Target OS. Defaults to current OS. Possible values: windows, darwin, linux. Anything else is assumed linuxy.") flag.Usage = printUsage @@ -108,12 +107,6 @@ func main() { return fmt.Errorf("song could not be unmarshaled as a .json (%v) or .yml (%v)", errJSON, errYaml) } } - if *hold > -1 { - err = song.UpdateHold(byte(*hold)) - if err != nil { - return fmt.Errorf("error updating the hold value of the song: %v", err) - } - } var compiledPlayer map[string]string if compile { var err error diff --git a/compiler/compiler.go b/compiler/compiler.go index b9863af..094c6f7 100644 --- a/compiler/compiler.go +++ b/compiler/compiler.go @@ -104,7 +104,8 @@ func (com *Compiler) Song(song *sointu.Song) (map[string]string, error) { SongMacros *EncodedPatch EncodedSong *EncodedSong - }{compilerMacros, featureSetMacros, x86Macros, songMacros, encodedPatch, encodedSong} + Hold int + }{compilerMacros, featureSetMacros, x86Macros, songMacros, encodedPatch, encodedSong, 1} populatedTemplate, extension, err = com.compile(templateName, &data) } else if com.Arch == "wasm" { wasmMacros := *NewWasmMacros() @@ -115,7 +116,8 @@ func (com *Compiler) Song(song *sointu.Song) (map[string]string, error) { SongMacros *EncodedPatch EncodedSong *EncodedSong - }{compilerMacros, featureSetMacros, wasmMacros, songMacros, encodedPatch, encodedSong} + Hold int + }{compilerMacros, featureSetMacros, wasmMacros, songMacros, encodedPatch, encodedSong, 1} populatedTemplate, extension, err = com.compile(templateName, &data) } if err != nil { diff --git a/compiler/encoded_song_test.go b/compiler/encoded_song_test.go index 1a8ff53..c6c10f8 100644 --- a/compiler/encoded_song_test.go +++ b/compiler/encoded_song_test.go @@ -10,7 +10,6 @@ import ( func TestPatternReusing(t *testing.T) { song := sointu.Song{ - Hold: 1, Tracks: []sointu.Track{{ Patterns: [][]byte{{64, 1, 1, 1, 0, 0, 0, 0}, {72, 0, 0, 0, 0, 0, 0, 0}}, Sequence: []byte{0, 1}, @@ -34,7 +33,6 @@ func TestPatternReusing(t *testing.T) { func TestUnnecessaryHolds(t *testing.T) { song := sointu.Song{ - Hold: 1, Tracks: []sointu.Track{{ Patterns: [][]byte{{64, 1, 1, 1, 0, 1, 0, 0}, {72, 0, 1, 0, 1, 0, 0, 0}}, Sequence: []byte{0, 1}, @@ -58,7 +56,6 @@ func TestUnnecessaryHolds(t *testing.T) { func TestDontCares(t *testing.T) { song := sointu.Song{ - Hold: 1, Tracks: []sointu.Track{{ Patterns: [][]byte{{64, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0}}, Sequence: []byte{0, 1}, diff --git a/sointu.go b/sointu.go index 7635100..53ecf2c 100644 --- a/sointu.go +++ b/sointu.go @@ -214,7 +214,6 @@ var UnitTypes = map[string]([]UnitParameter){ type Song struct { BPM int Output16Bit bool - Hold byte Tracks []Track Patch Patch } @@ -299,11 +298,11 @@ func Play(synth Synth, song Song) ([]float32, error) { for t := range song.Tracks { patternIndex := song.Tracks[t].Sequence[pattern] note := song.Tracks[t].Patterns[patternIndex][patternRow] - if note > 0 && note <= song.Hold { // anything but hold causes an action. + if note > 0 && note <= 1 { // anything but hold causes an action. continue } synth.Release(curVoices[t]) - if note > song.Hold { + if note > 1 { curVoices[t]++ first := song.FirstTrackVoice(t) if curVoices[t] >= first+song.Tracks[t].NumVoices { @@ -324,29 +323,3 @@ func Play(synth Synth, song Song) ([]float32, error) { } return buffer, nil } - -func (s *Song) UpdateHold(newHold byte) error { - if newHold == 0 { - return errors.New("hold value cannot be 0, 0 is reserved for release") - } - for _, track := range s.Tracks { - for _, pat := range track.Patterns { - for _, v := range pat { - if v > s.Hold && v <= newHold { - return errors.New("song uses note values greater or equal to the new hold value") - } - } - } - } - for _, track := range s.Tracks { - for _, pat := range track.Patterns { - for i, v := range pat { - if v > 0 && v <= s.Hold { - pat[i] = newHold - } - } - } - } - s.Hold = newHold - return nil -} diff --git a/templates/amd64-386/player.asm b/templates/amd64-386/player.asm index 497cc31..66fefd6 100644 --- a/templates/amd64-386/player.asm +++ b/templates/amd64-386/player.asm @@ -112,7 +112,7 @@ su_calculate_voices_loop: ; do { inc ecx ; ecx++ // ecx=the first voice of next track jc su_calculate_voices_loop ; } while bit ecx-1 of bitmask is on push {{.CX}} ; Stack: next_instr ptrnrow - cmp al, {{.Song.Hold}} ; anything but hold causes action + cmp al, {{.Hold}} ; anything but hold causes action je short su_update_voices_nexttrack mov cl, byte [{{.BP}}] mov edi, ecx @@ -120,7 +120,7 @@ su_calculate_voices_loop: ; do { shl edi, 12 ; each unit = 64 bytes and there are 1<= num_voices) @@ -160,7 +160,7 @@ su_update_voices_trackloop: imul eax, {{.EncodedSong.PatternLength}} ; multiply by rows per pattern, eax = offset to current pattern data {{- .Prepare "su_patterns" .AX | indent 8}} movzx eax, byte [{{.Use "su_patterns" .AX}} + {{.DX}}] ; ecx = note - cmp al, {{.Song.Hold}} ; anything but hold causes action + cmp al, {{.Hold}} ; anything but hold causes action je short su_update_voices_nexttrack inc dword [{{.DI}}+su_voice.release] ; set the voice currently active to release; notice that it could increment any number of times jb su_update_voices_nexttrack ; if cl < HLD (no new note triggered) goto nexttrack diff --git a/templates/wasm/player.wat b/templates/wasm/player.wat index beec1d8..4f69059 100644 --- a/templates/wasm/player.wat +++ b/templates/wasm/player.wat @@ -216,7 +216,7 @@ (i32.add (global.get $row)) (i32.load8_u offset={{index .Labels "su_patterns"}}) (local.tee $note) - (if (i32.ne (i32.const {{.Song.Hold}}))(then + (if (i32.ne (i32.const {{.Hold}}))(then (i32.store offset=4164 (i32.mul (i32.add @@ -227,7 +227,7 @@ ) (i32.const 1) ) ;; release the note - (if (i32.gt_u (local.get $note) (i32.const {{.Song.Hold}}))(then + (if (i32.gt_u (local.get $note) (i32.const {{.Hold}}))(then (local.set $di (i32.add (i32.mul (i32.add @@ -263,9 +263,9 @@ (i32.add (global.get $row)) (i32.load8_u offset={{index .Labels "su_patterns"}}) (local.tee $note) - (if (i32.ne (i32.const {{.Song.Hold}}))(then + (if (i32.ne (i32.const {{.Hold}}))(then (i32.store offset=4 (local.get $di) (i32.const 1)) ;; release the note - (if (i32.gt_u (local.get $note) (i32.const {{.Song.Hold}}))(then + (if (i32.gt_u (local.get $note) (i32.const {{.Hold}}))(then (memory.fill (local.get $di) (i32.const 0) (i32.const 4096)) (i32.store (local.get $di) (local.get $note)) )) diff --git a/tests/test_add.yml b/tests/test_add.yml index 610457e..c84280b 100644 --- a/tests/test_add.yml +++ b/tests/test_add.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_add_stereo.yml b/tests/test_add_stereo.yml index 3f37cf8..f14aa22 100644 --- a/tests/test_add_stereo.yml +++ b/tests/test_add_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_addp.yml b/tests/test_addp.yml index 2a453b3..9835cd7 100644 --- a/tests/test_addp.yml +++ b/tests/test_addp.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_addp_stereo.yml b/tests/test_addp_stereo.yml index 5181900..6bcb20b 100644 --- a/tests/test_addp_stereo.yml +++ b/tests/test_addp_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_aux.yml b/tests/test_aux.yml index 1971ba8..6729659 100644 --- a/tests/test_aux.yml +++ b/tests/test_aux.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_aux_stereo.yml b/tests/test_aux_stereo.yml index 715ddf8..8deaba2 100644 --- a/tests/test_aux_stereo.yml +++ b/tests/test_aux_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_chords.yml b/tests/test_chords.yml index a4fc879..4b652ed 100644 --- a/tests/test_chords.yml +++ b/tests/test_chords.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_clip.yml b/tests/test_clip.yml index 84067b8..fb112e6 100644 --- a/tests/test_clip.yml +++ b/tests/test_clip.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_clip_stereo.yml b/tests/test_clip_stereo.yml index 5bbd7c0..20c63ac 100644 --- a/tests/test_clip_stereo.yml +++ b/tests/test_clip_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_compressor.yml b/tests/test_compressor.yml index f9da9e4..3147c1e 100644 --- a/tests/test_compressor.yml +++ b/tests/test_compressor.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_compressor_stereo.yml b/tests/test_compressor_stereo.yml index 041b496..6810f9e 100644 --- a/tests/test_compressor_stereo.yml +++ b/tests/test_compressor_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_crush.yml b/tests/test_crush.yml index 026a21e..be84df4 100644 --- a/tests/test_crush.yml +++ b/tests/test_crush.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_crush_stereo.yml b/tests/test_crush_stereo.yml index d7fe54f..06d6bad 100644 --- a/tests/test_crush_stereo.yml +++ b/tests/test_crush_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay.yml b/tests/test_delay.yml index e1d65cc..dfefffc 100644 --- a/tests/test_delay.yml +++ b/tests/test_delay.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_dampmod.yml b/tests/test_delay_dampmod.yml index 1c818b2..4ac66ea 100644 --- a/tests/test_delay_dampmod.yml +++ b/tests/test_delay_dampmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_drymod.yml b/tests/test_delay_drymod.yml index dcbd258..5298f41 100644 --- a/tests/test_delay_drymod.yml +++ b/tests/test_delay_drymod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_feedbackmod.yml b/tests/test_delay_feedbackmod.yml index 23c31fa..41db5c8 100644 --- a/tests/test_delay_feedbackmod.yml +++ b/tests/test_delay_feedbackmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_flanger.yml b/tests/test_delay_flanger.yml index f92589f..e80f389 100644 --- a/tests/test_delay_flanger.yml +++ b/tests/test_delay_flanger.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_notetracking.yml b/tests/test_delay_notetracking.yml index d403af9..b4e5cae 100644 --- a/tests/test_delay_notetracking.yml +++ b/tests/test_delay_notetracking.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_pregainmod.yml b/tests/test_delay_pregainmod.yml index 9318e20..265b172 100644 --- a/tests/test_delay_pregainmod.yml +++ b/tests/test_delay_pregainmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_reverb.yml b/tests/test_delay_reverb.yml index a7bcfb0..50d20d3 100644 --- a/tests/test_delay_reverb.yml +++ b/tests/test_delay_reverb.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_delay_stereo.yml b/tests/test_delay_stereo.yml index 9089941..d2fab1a 100644 --- a/tests/test_delay_stereo.yml +++ b/tests/test_delay_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_distort.yml b/tests/test_distort.yml index 1b35c97..a88da36 100644 --- a/tests/test_distort.yml +++ b/tests/test_distort.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_distort_mod.yml b/tests/test_distort_mod.yml index 5c4fd1d..6ce8fc6 100644 --- a/tests/test_distort_mod.yml +++ b/tests/test_distort_mod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_distort_stereo.yml b/tests/test_distort_stereo.yml index b2edf30..4f45ae6 100644 --- a/tests/test_distort_stereo.yml +++ b/tests/test_distort_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_envelope.yml b/tests/test_envelope.yml index 983d1fe..ffba934 100644 --- a/tests/test_envelope.yml +++ b/tests/test_envelope.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_envelope_16bit.yml b/tests/test_envelope_16bit.yml index 5c347e7..b91a43a 100644 --- a/tests/test_envelope_16bit.yml +++ b/tests/test_envelope_16bit.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: true -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_envelope_mod.yml b/tests/test_envelope_mod.yml index 6bbc218..cdc5add 100644 --- a/tests/test_envelope_mod.yml +++ b/tests/test_envelope_mod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_envelope_stereo.yml b/tests/test_envelope_stereo.yml index 27707bc..bf4a166 100644 --- a/tests/test_envelope_stereo.yml +++ b/tests/test_envelope_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_band.yml b/tests/test_filter_band.yml index 125daee..7a1fe8d 100644 --- a/tests/test_filter_band.yml +++ b/tests/test_filter_band.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_freqmod.yml b/tests/test_filter_freqmod.yml index ce5172b..1922c5a 100644 --- a/tests/test_filter_freqmod.yml +++ b/tests/test_filter_freqmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_high.yml b/tests/test_filter_high.yml index a3b78bb..21094bd 100644 --- a/tests/test_filter_high.yml +++ b/tests/test_filter_high.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_low.yml b/tests/test_filter_low.yml index 2b689ea..d9ca3bb 100644 --- a/tests/test_filter_low.yml +++ b/tests/test_filter_low.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_peak.yml b/tests/test_filter_peak.yml index f5ec231..d2be441 100644 --- a/tests/test_filter_peak.yml +++ b/tests/test_filter_peak.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_resmod.yml b/tests/test_filter_resmod.yml index e490d7e..d094266 100644 --- a/tests/test_filter_resmod.yml +++ b/tests/test_filter_resmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_filter_stereo.yml b/tests/test_filter_stereo.yml index bd84b99..d6f3994 100644 --- a/tests/test_filter_stereo.yml +++ b/tests/test_filter_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_gain.yml b/tests/test_gain.yml index 73a15d7..b8e90d3 100644 --- a/tests/test_gain.yml +++ b/tests/test_gain.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_gain_stereo.yml b/tests/test_gain_stereo.yml index 0ea9395..edde8df 100644 --- a/tests/test_gain_stereo.yml +++ b/tests/test_gain_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_hold.yml b/tests/test_hold.yml index c8f9728..96053c4 100644 --- a/tests/test_hold.yml +++ b/tests/test_hold.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_hold_mod.yml b/tests/test_hold_mod.yml index 19a5224..db17751 100644 --- a/tests/test_hold_mod.yml +++ b/tests/test_hold_mod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_hold_stereo.yml b/tests/test_hold_stereo.yml index 1c40687..b5b8c1d 100644 --- a/tests/test_hold_stereo.yml +++ b/tests/test_hold_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_in.yml b/tests/test_in.yml index 96ad383..532b2ff 100644 --- a/tests/test_in.yml +++ b/tests/test_in.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_in_stereo.yml b/tests/test_in_stereo.yml index 5949aa5..6c1e551 100644 --- a/tests/test_in_stereo.yml +++ b/tests/test_in_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_invgain.yml b/tests/test_invgain.yml index 7dd3fb3..72a0a78 100644 --- a/tests/test_invgain.yml +++ b/tests/test_invgain.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_invgain_stereo.yml b/tests/test_invgain_stereo.yml index c4f85b7..b94ae67 100644 --- a/tests/test_invgain_stereo.yml +++ b/tests/test_invgain_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_loadnote.yml b/tests/test_loadnote.yml index 6a6f33c..ebd634c 100644 --- a/tests/test_loadnote.yml +++ b/tests/test_loadnote.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_loadnote_stereo.yml b/tests/test_loadnote_stereo.yml index aa99a57..32c250c 100644 --- a/tests/test_loadnote_stereo.yml +++ b/tests/test_loadnote_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_loadval.yml b/tests/test_loadval.yml index 4a25066..75cfa36 100644 --- a/tests/test_loadval.yml +++ b/tests/test_loadval.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_loadval_stereo.yml b/tests/test_loadval_stereo.yml index b27af99..d98fd8f 100644 --- a/tests/test_loadval_stereo.yml +++ b/tests/test_loadval_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_mul.yml b/tests/test_mul.yml index f6ac2b8..2b44054 100644 --- a/tests/test_mul.yml +++ b/tests/test_mul.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_mul_stereo.yml b/tests/test_mul_stereo.yml index bcba10d..ec851e7 100644 --- a/tests/test_mul_stereo.yml +++ b/tests/test_mul_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_mulp.yml b/tests/test_mulp.yml index da2a0bc..031c973 100644 --- a/tests/test_mulp.yml +++ b/tests/test_mulp.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_mulp_stereo.yml b/tests/test_mulp_stereo.yml index 97ef6df..541a690 100644 --- a/tests/test_mulp_stereo.yml +++ b/tests/test_mulp_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_multiple_instruments.yml b/tests/test_multiple_instruments.yml index ed74f44..b2acaf3 100644 --- a/tests/test_multiple_instruments.yml +++ b/tests/test_multiple_instruments.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_noise.yml b/tests/test_noise.yml index b1df7d6..3f036e9 100644 --- a/tests/test_noise.yml +++ b/tests/test_noise.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_noise_stereo.yml b/tests/test_noise_stereo.yml index 37ff145..72e39e6 100644 --- a/tests/test_noise_stereo.yml +++ b/tests/test_noise_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_colormod.yml b/tests/test_oscillat_colormod.yml index dc7ce67..bcc0e76 100644 --- a/tests/test_oscillat_colormod.yml +++ b/tests/test_oscillat_colormod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_detunemod.yml b/tests/test_oscillat_detunemod.yml index 768e6dd..6dae6c7 100644 --- a/tests/test_oscillat_detunemod.yml +++ b/tests/test_oscillat_detunemod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_gainmod.yml b/tests/test_oscillat_gainmod.yml index c9501ee..95cb30a 100644 --- a/tests/test_oscillat_gainmod.yml +++ b/tests/test_oscillat_gainmod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_gate.yml b/tests/test_oscillat_gate.yml index e71d79d..24e644d 100644 --- a/tests/test_oscillat_gate.yml +++ b/tests/test_oscillat_gate.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_lfo.yml b/tests/test_oscillat_lfo.yml index 1b70a55..a62aadc 100644 --- a/tests/test_oscillat_lfo.yml +++ b/tests/test_oscillat_lfo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_phasemod.yml b/tests/test_oscillat_phasemod.yml index 562db18..fecadec 100644 --- a/tests/test_oscillat_phasemod.yml +++ b/tests/test_oscillat_phasemod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_pulse.yml b/tests/test_oscillat_pulse.yml index 048b553..9362385 100644 --- a/tests/test_oscillat_pulse.yml +++ b/tests/test_oscillat_pulse.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_sample.yml b/tests/test_oscillat_sample.yml index c104d7f..e883650 100644 --- a/tests/test_oscillat_sample.yml +++ b/tests/test_oscillat_sample.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [1, 0, 2, 0, 3, 0, 4, 0] diff --git a/tests/test_oscillat_sample_stereo.yml b/tests/test_oscillat_sample_stereo.yml index 9e02270..df71f0d 100644 --- a/tests/test_oscillat_sample_stereo.yml +++ b/tests/test_oscillat_sample_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [1, 0, 2, 0, 3, 0, 4, 0] diff --git a/tests/test_oscillat_shapemod.yml b/tests/test_oscillat_shapemod.yml index 6c2cff3..f6e420a 100644 --- a/tests/test_oscillat_shapemod.yml +++ b/tests/test_oscillat_shapemod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_sine.yml b/tests/test_oscillat_sine.yml index 372fb71..97b0466 100644 --- a/tests/test_oscillat_sine.yml +++ b/tests/test_oscillat_sine.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_stereo.yml b/tests/test_oscillat_stereo.yml index 8a47bf1..55d60e0 100644 --- a/tests/test_oscillat_stereo.yml +++ b/tests/test_oscillat_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_transposemod.yml b/tests/test_oscillat_transposemod.yml index e0fb7da..9ac55ac 100644 --- a/tests/test_oscillat_transposemod.yml +++ b/tests/test_oscillat_transposemod.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_trisaw.yml b/tests/test_oscillat_trisaw.yml index b5b085c..48e46d3 100644 --- a/tests/test_oscillat_trisaw.yml +++ b/tests/test_oscillat_trisaw.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_unison.yml b/tests/test_oscillat_unison.yml index 73a0e45..191ee09 100644 --- a/tests/test_oscillat_unison.yml +++ b/tests/test_oscillat_unison.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_oscillat_unison_stereo.yml b/tests/test_oscillat_unison_stereo.yml index 06ed049..00c6571 100644 --- a/tests/test_oscillat_unison_stereo.yml +++ b/tests/test_oscillat_unison_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_outaux.yml b/tests/test_outaux.yml index 1be6577..ae8a116 100644 --- a/tests/test_outaux.yml +++ b/tests/test_outaux.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_outaux_stereo.yml b/tests/test_outaux_stereo.yml index b1ae615..b12fbd5 100644 --- a/tests/test_outaux_stereo.yml +++ b/tests/test_outaux_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_panning.yml b/tests/test_panning.yml index b798704..d118e06 100644 --- a/tests/test_panning.yml +++ b/tests/test_panning.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_panning_stereo.yml b/tests/test_panning_stereo.yml index d127fe8..7abb598 100644 --- a/tests/test_panning_stereo.yml +++ b/tests/test_panning_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_polyphony.yml b/tests/test_polyphony.yml index 6f44e6a..5b7df7e 100644 --- a/tests/test_polyphony.yml +++ b/tests/test_polyphony.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 2 sequence: [0] diff --git a/tests/test_pop.yml b/tests/test_pop.yml index a1555be..a9cd3de 100644 --- a/tests/test_pop.yml +++ b/tests/test_pop.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_pop_stereo.yml b/tests/test_pop_stereo.yml index 11dece1..b3a490c 100644 --- a/tests/test_pop_stereo.yml +++ b/tests/test_pop_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_push.yml b/tests/test_push.yml index eca0390..a52d6ef 100644 --- a/tests/test_push.yml +++ b/tests/test_push.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_push_stereo.yml b/tests/test_push_stereo.yml index 94c941d..ad729a7 100644 --- a/tests/test_push_stereo.yml +++ b/tests/test_push_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_receive.yml b/tests/test_receive.yml index 88aa1c1..6ddb9b2 100644 --- a/tests/test_receive.yml +++ b/tests/test_receive.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_receive_stereo.yml b/tests/test_receive_stereo.yml index 62a5085..5c22d55 100644 --- a/tests/test_receive_stereo.yml +++ b/tests/test_receive_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_send.yml b/tests/test_send.yml index 32cd4f3..21f93d3 100644 --- a/tests/test_send.yml +++ b/tests/test_send.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_send_global.yml b/tests/test_send_global.yml index edbdf7d..bf129b7 100644 --- a/tests/test_send_global.yml +++ b/tests/test_send_global.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_send_stereo.yml b/tests/test_send_stereo.yml index 77940e3..ed3bd7d 100644 --- a/tests/test_send_stereo.yml +++ b/tests/test_send_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_speed.yml b/tests/test_speed.yml index 1f6495f..8c03a4e 100644 --- a/tests/test_speed.yml +++ b/tests/test_speed.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0, 0] diff --git a/tests/test_xch.yml b/tests/test_xch.yml index 31254a0..1c30828 100644 --- a/tests/test_xch.yml +++ b/tests/test_xch.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0] diff --git a/tests/test_xch_stereo.yml b/tests/test_xch_stereo.yml index 8658ace..637cd36 100644 --- a/tests/test_xch_stereo.yml +++ b/tests/test_xch_stereo.yml @@ -1,6 +1,5 @@ bpm: 100 output16bit: false -hold: 1 tracks: - numvoices: 1 sequence: [0]