noteout

Accelerando

This example demonstrates accelerando by playing 7-note scale (diatonic) over five octaves while increasing the velocity from soft to loud (20 to 125), and also the rate from 2 to 22 notes per second.

Converting notes per second to ms and using the Tempo object

This example shows how to convert a value expressing “notes per second” into "milliseconds per note", which is a more useful value for the metro object.  The right side of the patch shows how to use the tempo object to specify tempo in bpm, and to specify the division of the whole note at which to output numbers indicating which division of the measure it's on.