# BOOMBOX-1: the factory patterns by style: SEQ held, SELECT picks one, the key of an empty pattern takes it
wait 3000
expect style 0
# not over a beat
press SEQ
wait 60
turn SELECT 3 20
wait 60
expect style 3
shot sim_95_style.png
key w0 down
wait 100
key w0 up
wait 100
expect pattern 1
expect unsaved 7
# asked again too late: still not
wait 4500
key w0 down
wait 100
key w0 up
wait 100
expect patevents.1 >90
expect own 0
# into pattern 4: its notes, that pattern; the tempo and the kit stay
key w3 down
wait 100
key w3 up
wait 100
expect pattern 4
expect patevents.4 39
expect bpm 140
expect own 140
expect machine 90
expect bpmheard 140
expect kit 3
expect bars 2
expect swing 50
release SEQ
wait 100
expect mode 0
expect style 0
shot sim_96_style_loaded.png
# the tempo knob is the tempo's again
turn SELECT 1 20
wait 60
expect bpm 141
expect own 141
expect machine 90
# while it plays, into another, with the tempo and the kit
tap PLAY
wait 1000
press SEQ
wait 60
turn SELECT 1 20
wait 30
expect styleall 1
turn PRESET -1 20
wait 60
expect styleall 0
shot sim_97_style_all.png
key w4 down
wait 100
key w4 up
wait 200
release SEQ
wait 100
expect kit 3
expect bpm 141
expect patevents.5 >30
expect next 5
wait 6000
expect pattern 5
expect bpm 88
expect bpmheard 88
expect playing 1
tap PLAY
wait 1500
# kept
tap SAVE
wait 3000
expect dirty 0
power
wait 3000
expect patevents.4 39
expect patevents.5 >30
# each pattern its tempo, also after the power-off; the first one the machine's
expect pattern 5
expect bpm 88
press SEQ
wait 40
key w3 down
wait 60
key w3 up
wait 60
expect bpm 141
expect bpmheard 141
key w0 down
wait 60
key w0 up
release SEQ
wait 60
expect bpm 90
expect own 0
expect bpmheard 90
# the tempo of a pattern without its own is the machine's
turn SELECT 2 20
wait 60
expect machine 92
expect bpmheard 92
# SHIFT + SELECT: its own, and not
press GLO
wait 40
turn SELECT 1 20
wait 60
expect own 92
release GLO
wait 40
turn SELECT 8 20
wait 60
expect own 100
expect machine 92
expect bpmheard 100
press GLO
wait 40
turn SELECT -1 20
wait 60
release GLO
expect own 0
expect bpm 92
expect bpmheard 92
# BOOM BAP: heard
press SEQ
wait 60
turn SELECT 1 20
wait 30
key w5 down
wait 100
key w5 up
wait 200
release SEQ
wait 100
expect pattern 6
expect bpm 88
expect kit 0
peakreset
wav style_1.wav
tap PLAY
wait 11809
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# LO-FI: heard
press SEQ
wait 60
turn SELECT 2 20
wait 30
key w6 down
wait 100
key w6 up
wait 200
release SEQ
wait 100
expect pattern 7
expect bpm 74
expect kit 1
peakreset
wav style_2.wav
tap PLAY
wait 26845
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# TRAP: heard
press SEQ
wait 60
turn SELECT 3 20
wait 30
key w7 down
wait 100
key w7 up
wait 200
release SEQ
wait 100
expect pattern 8
expect bpm 140
expect kit 3
peakreset
wav style_3.wav
tap PLAY
wait 7757
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# DRILL: heard
press SEQ
wait 60
turn SELECT 4 20
wait 30
key w8 down
wait 100
key w8 up
wait 200
release SEQ
wait 100
expect pattern 9
expect bpm 142
expect kit 3
peakreset
wav style_4.wav
tap PLAY
wait 14421
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# G-FUNK: heard
press SEQ
wait 60
turn SELECT 5 20
wait 30
key w9 down
wait 100
key w9 up
wait 200
release SEQ
wait 100
expect pattern 10
expect bpm 96
expect kit 2
peakreset
wav style_5.wav
tap PLAY
wait 10900
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# NEO-SOUL: heard
press SEQ
wait 60
turn SELECT 6 20
wait 30
key w10 down
wait 100
key w10 up
wait 200
release SEQ
wait 100
expect pattern 11
expect bpm 84
expect kit 0
peakreset
wav style_6.wav
tap PLAY
wait 23757
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# PHONK: heard
press SEQ
wait 60
turn SELECT 7 20
wait 30
key w11 down
wait 100
key w11 up
wait 200
release SEQ
wait 100
expect pattern 12
expect bpm 130
expect kit 2
peakreset
wav style_7.wav
tap PLAY
wait 8284
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# JERSEY: heard
press SEQ
wait 60
turn SELECT 8 20
wait 30
key w12 down
wait 100
key w12 up
wait 200
release SEQ
wait 100
expect pattern 13
expect bpm 135
expect kit 2
peakreset
wav style_8.wav
tap PLAY
wait 8011
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# JAZZ RAP: heard
press SEQ
wait 60
turn SELECT 9 20
wait 30
key w5 down
wait 100
key w5 up
wait 100
key w5 down
wait 100
key w5 up
wait 250
release SEQ
wait 100
expect pattern 6
expect bpm 92
expect kit 0
peakreset
wav style_9.wav
tap PLAY
wait 21769
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# HARDCORE: heard
press SEQ
wait 60
turn SELECT 10 20
wait 30
key w6 down
wait 100
key w6 up
wait 100
key w6 down
wait 100
key w6 up
wait 250
release SEQ
wait 100
expect pattern 7
expect bpm 94
expect kit 0
peakreset
wav style_10.wav
tap PLAY
wait 11112
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# OLDSKOOL: heard
press SEQ
wait 60
turn SELECT 11 20
wait 30
key w7 down
wait 100
key w7 up
wait 100
key w7 down
wait 100
key w7 up
wait 250
release SEQ
wait 100
expect pattern 8
expect bpm 108
expect kit 2
peakreset
wav style_11.wav
tap PLAY
wait 9788
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# CRUNK: heard
press SEQ
wait 60
turn SELECT 12 20
wait 30
key w8 down
wait 100
key w8 up
wait 100
key w8 down
wait 100
key w8 up
wait 250
release SEQ
wait 100
expect pattern 9
expect bpm 76
expect kit 2
peakreset
wav style_12.wav
tap PLAY
wait 13531
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# MEMPHIS: heard
press SEQ
wait 60
turn SELECT 13 20
wait 30
key w9 down
wait 100
key w9 up
wait 100
key w9 down
wait 100
key w9 up
wait 250
release SEQ
wait 100
expect pattern 10
expect bpm 136
expect kit 2
peakreset
wav style_13.wav
tap PLAY
wait 7958
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# CLOUD: heard
press SEQ
wait 60
turn SELECT 14 20
wait 30
key w10 down
wait 100
key w10 up
wait 100
key w10 down
wait 100
key w10 up
wait 250
release SEQ
wait 100
expect pattern 11
expect bpm 140
expect kit 3
peakreset
wav style_14.wav
tap PLAY
wait 14614
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# BOUNCE: heard
press SEQ
wait 60
turn SELECT 15 20
wait 30
key w11 down
wait 100
key w11 up
wait 100
key w11 down
wait 100
key w11 up
wait 250
release SEQ
wait 100
expect pattern 12
expect bpm 98
expect kit 2
peakreset
wav style_15.wav
tap PLAY
wait 10695
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# GRIME: heard
press SEQ
wait 60
turn SELECT 16 20
wait 30
key w12 down
wait 100
key w12 up
wait 100
key w12 down
wait 100
key w12 up
wait 250
release SEQ
wait 100
expect pattern 13
expect bpm 140
expect kit 3
peakreset
wav style_16.wav
tap PLAY
wait 7757
expect playing 1
expect peak_db_min -24
wavstop
tap PLAY
wait 1500
# an undo does not bring the empty pattern back over it, and the copy still works
press SEQ
wait 60
press GLO
wait 40
key w13 down
wait 100
key w13 up
wait 100
release GLO
release SEQ
wait 100
expect patevents.14 >30
# the wrong way round: nothing under the first, nothing over the last
press SEQ
wait 60
turn SELECT -3 20
wait 30
expect style 0
turn SELECT 24 20
wait 30
expect style 16
release SEQ
wait 60
expect limgain >45
# a full pattern: twice, and the style takes its place; UNDO brings the beat back
press SEQ
wait 60
key w2 down
wait 60
key w2 up
wait 60
expect pattern 3
expect events >50
turn SELECT 3 20
wait 60
key w2 down
wait 100
key w2 up
wait 100
expect own 0
key w2 down
wait 100
key w2 up
wait 200
release SEQ
wait 60
expect own 140
expect patevents.3 39
expect bpmheard 140
press GLO
wait 40
key w7 down
wait 60
key w7 up
wait 60
release GLO
expect own 0
expect patevents.3 >50
expect bpmheard 92
# while it plays
tap PLAY
wait 3000
press SEQ
wait 60
turn SELECT 1 20
wait 40
key w2 down
wait 100
key w2 up
wait 100
key w2 down
wait 100
key w2 up
wait 300
release SEQ
wait 60
expect patevents.3 40
expect bpmheard 88
expect playing 1
tap PLAY
wait 1500
# SHIFT + 15: the track; twice: the pattern; UNDO
tap FX
wait 60
press GLO
wait 40
key w14 down
wait 60
key w14 up
wait 100
expect patevents.3 >5
key w14 down
wait 60
key w14 up
wait 100
expect patevents.3 0
expect own 0
key w7 down
wait 60
key w7 up
wait 100
expect patevents.3 40
release GLO
wait 60
expect own 88
# a copy over a beat: twice too
press SEQ
wait 60
press GLO
wait 40
key w3 down
wait 100
key w3 up
wait 100
expect patevents.4 39
key w3 down
wait 100
key w3 up
wait 200
release GLO
release SEQ
wait 60
expect patevents.4 40
