Page 1 of 1
stopping a sequencer from outputting notes
Posted: 24 Mar 2014 02:13
by electrofux
Is there a way to stop a slaved StepNote Sequencer to output notes without having to Stop the Master or untriggering all notes? Something like "disable sequencer output".
I have tried to set it to a different unused clock or target on the fly but that results in hanging notes. I don't seem to find any access to the output
Re: stopping a sequencer from outputting notes
Posted: 24 Mar 2014 07:07
by Softcore
a. By using a switch object, the "old" x expression and the new "step" exrpession you could use a "on midi clock" script
if (Switch.x) noteout(target, note, velocity, channel);
pros: you now have "switchable" output
cons: you STILL have to deal with note offs, and therefore hung notes.
b. Use a switch to store current "x" of the objec then set it all to zero. Then wehen re-enabling it, just recall the x.
c. What you did, but also apply a "panic" function built-in...a for i loop to send ALL notes off for example.
off the top of my head
Re: stopping a sequencer from outputting notes
Posted: 24 Mar 2014 07:11
by Softcore
AAAAAND I missed the most reliable one....
in the velocity value of the StepNote object put something like:
Switch.x?1:0
(read in the manual for the a?b:c "if then else" syntax and always keep in mind that Switch.x==1 is equal to Switch.x and Switch.x==0 is equal to !Switch.x)
Re: stopping a sequencer from outputting notes
Posted: 24 Mar 2014 17:14
by electrofux
Thx, the velocity version works best.