samplerate Reference

Report samplerate when changed.

samplerate

Examples

Inlets

input [bang]

Sending a bang to this inlet will report the current sample rate.

Outlets

samplerate [number]

Outputs the current sample rate of the audio device in use.

Dynamic Attributes

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

input [bang]

Sending a bang to this inlet will report the current sample rate.

See Also

Name Description
currentsampletime Report current time in samples.
samplecount~ report sample count
sampstobeats Convert samples to beat time (quarter notes).
sampstohz Convert samples to frequency (Hz)
sampstoms Convert samples to milliseconds.
sampstoticks Convert samples to ticks.
translate translate
vectorsize report current vectorsize