RNBO Objects & Operators samplerate~
Open Help

samplerate~

Report current sample rate.

Description

Output the current sample rate of the audio device in use as a signal.

Outlets

out1 [signal]

The current sample rate of the audio device in use, as a signal.

Dynamic Attributes

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

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

See Also

Name Description
currentsampletime Report current time in samples.
samplecount~ report sample count
samplerate Report samplerate when changed.
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