stopping a sequencer from outputting notes

Discuss problems and solutions.
Post Reply
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

stopping a sequencer from outputting notes

Post 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
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: stopping a sequencer from outputting notes

Post 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
Last edited by Softcore on 24 Mar 2014 07:13, edited 1 time in total.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: stopping a sequencer from outputting notes

Post 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)
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

Re: stopping a sequencer from outputting notes

Post by electrofux »

Thx, the velocity version works best.
Post Reply