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
stopping a sequencer from outputting notes
-
- Regular
- Posts: 294
- Joined: 24 Jan 2012 18:22
Re: stopping a sequencer from outputting notes
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
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
Last edited by Softcore on 24 Mar 2014 07:13, edited 1 time in total.
Re: stopping a sequencer from outputting notes
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)
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)
-
- Regular
- Posts: 294
- Joined: 24 Jan 2012 18:22
Re: stopping a sequencer from outputting notes
Thx, the velocity version works best.