Is the only way to have a rest is by using
I am trying to go from a gibber.cc (x.x.)-inspired drum sequence to SCAMP
drum_lengths = seq_to_scamp([1, 0, 1, 0], 2) # this is a drum sequence with the 8th note as the pulse # what it returns is [1, 1] instead of 8th, rest, 8th, rest
The above solution is only okay when the sequence starts with a note and also it makes the music read as more legato than potentially desired.
Is there a way to have a
drum.play_note(pitch, 0, length) and that just mutes it in playback
I know I could make
drum.play_note(pitch, vel, 0.5) wait(0.5) drum.play_note(pitch, vel, 0.5) wait(0.5)
…but I am looking/hoping for more flexibility.