script for intro, verse, bridge, etc - partially working

dimanche 23 août 2015

This script successfully records three loops in (Master) track 1, and finishes back to Loop1 where the plan is to toggle overdub/play.

I was expecting the script (when loopNumber ==3) to populate tracks 2,3,&4 ( with Empty Track Action = Time copy), but nothing happens.
Why doesn't this work?



!name crap1
!autoload
#!focuslock

## adjust double-click time in milliseconds here
!multiclick 350

## adjust long-press time in milliseconds here
!sustain 1000


if track != 1
message not track1
Track 1
end
endif

#1st tap
if mode==reset
record

#2,3,4 taps
else if mode == record
if loopNumber == 3
message 3rd loop
loop1
track2
track3
track4
loop2
track2
track3
track4
track1
muteoff
loop1
else
message elsy
nextLoop
record
endif

#### Recorded master loops 1-3 on track1, Time copied to tracks 2,3,&4, loops 1-3. Now toggle between overdub and play
else if mode == play
overdub

else if mode == overdub
play

endif
end
##

## double click will Multiply
Label click
message clicky
record
end

## long press will Reset
Label sustain
message sustain
Reset
end

#### END crap1



Settings;
Empty Loop Action - Copy Sound
Empty Track Action - Copy Timing
Time Copy Mode - Play
Sound Copy Mode - Play


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor