A newer version of Max is available. Click here to access the latest version of the Max documentation

timesignature Reference

timesignature

timesignature

Examples

Inlets

input [bang, list]

A bang will report the current time signature and a list with two elements will set it. The first element sets the beats in each measure and the second sets the time value that corresponds to one beat.

Outlets

numerator [number]

Outputs the time signature numerator (number of beats per measure) when it changes or the inlet receives a bang.

denominator [number]

Outputs the time signature denominator (note value corresponding to one beat) when it changes or the inlet receives a bang.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [bang, list]

A bang will report the current time signature and a list with two elements will set it. The first element sets the beats in each measure and the second sets the time value that corresponds to one beat.

See Also

Name Description
transport Control a clock
beattime~
beatstohz~ convert beat time (quarter notes) to frequency (Hz)
beatstoms~ Convert beat time (quarter notes) to milliseconds.
beatstosamps~ Convert beat time (quarter notes) to samples.
beatstoticks~ Convert beat time (quarter notes) to ticks.
metro metronome
tempo tempo
translate translate
transport transport