sampstobeats~
Convert samples to beat time (quarter notes).
Description
Use the sampstobeats~ object to convert an incoming number or signal from samples to beats (quarter notes) using the sample rate of the audio device.
Arguments
samples [auto]
The value in samples to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.
Inlets
samples [auto]
The value in samples to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.
Outlets
out1 [signal]
out1Dynamic 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.
samples [auto]
The value in samples to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.
See Also
| Name | Description |
|---|---|
| sampstobeats | Convert samples to beat time (quarter notes). |
| 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. |
| beattime~ | |
| hztobeats~ | Convert frequency (Hz) to beats. |
| hztoms~ | Convert frequency (Hz) to ms. |
| hztosamps~ | Convert frequency (Hz) to samples. |
| hztoticks~ | Convert frequency (Hz) to ticks. |
| mstobeats~ | Convert ms to beats. |
| mstohz~ | Convert ms to frequency (Hz). |
| mstosamps~ | convert milliseconds to samples |
| mstoticks~ | Convert ms to ticks. |
| sampstohz~ | Convert samples to frequency (Hz) |
| sampstoms~ | Convert samples to milliseconds. |
| sampstoticks~ | Convert samples to ticks. |
| tickstobeats~ | Convert ticks to beat time (quarter notes). |
| tickstohz~ | Convert ticks to frequency (Hz). |
| tickstoms~ | Convert ticks to milliseconds. |
| tickstosamps~ | Convert ticks to samples. |