djazz.beat_clock
Inputs bangs and outputs a beat number, based on loop, step, start, and end parameters.
Will not output when end beat is reached or after.
OUTLETS
0 int
next beat
1 bang
bang when loop occurs
2 bang
bang when end is reached
MESSAGES
bang
left inlet: bang for next beat
next_beat
right inlet: (+ int) sets the next beat to play when next bang is received
end
right inlet: (+ int) sets the end beat; when reached, no more output will occur
step
right inlet: (+ int) how many beats to advance upon receiving a bang; default is 1