If Speedtoggle is On, then Off (or something like that)

mardi 19 juillet 2016

So the following script works very well:

!name Tap
!sustain 1000
!multiclick 200


if mode == reset
Record
end

else if mode == record
Overdub
end

else if mode == overdub
Play
end

else if mode == play
Overdub
end

else if mode == mute
Play
endif

Label sustain
if sustainCount == 1
Reset
endif

Label click
if clickCount == 1
Mute
endif

But I'm trying modify it so that if Speedtoggle is on when in Record mode, that when pressing the footswitch and turning over into Overdub mode, it also shuts Speedtoggle off.

I tried this (please feel free to laugh!):


!name Tap2 Test
!sustain 1000
!multiclick 200


if mode == reset
Record
end

else if mode == record
Overdub

if function == speedtoggle
Speedtoggle

end

else if mode == overdub
Play
end

else if mode == play
Overdub
end

else if mode == mute
Play
endif

Label sustain
if sustainCount == 1
Reset
endif

Label click
if clickCount == 1
Mute
endif

But that didn't work. I'm trying various other things to no avail. Any help is very appreciated.


If Speedtoggle is On, then Off (or something like that)

0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor