RNBO Objects & Operators hztobeats
Open Help

hztobeats

Convert frequency (Hz) to beats.

Description

Use the hztobeats object to convert an incoming number from frequency in hertz (Hz) to beats (quarter notes) using the tempo of the device transport.

Arguments

hz [number]

Optional

The frequency in Hz to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.

Inlets

hz [number]

The frequency in Hz to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.

Outlets

out1 [number]

out1

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

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

hz [number]

The frequency in Hz to be converted to the equivalent time in beats (quarter notes) using the tempo of the device transport.

reset [bang] (default: 0)

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

See Also

Name Description
hztobeats~ Convert frequency (Hz) to beats.
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 report current beattime
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.
sampstobeats Convert samples to beat time (quarter notes).
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.