Clock Decode
Breaks a structured Clock signal into its selected-source tempo, play state, position, meter, reset, and availability facts. Each output comes only from the connected Clock signal; an absent or incomplete input produces zeros with Available low.
Inputs
Clock
Structured Clock signal to decode.
| ID | clock |
|---|---|
| Signal | clock · control rate |
| Coercion | Implicit |
Outputs
BPM
Effective selected-source tempo in beats per minute.
| ID | bpm |
|---|---|
| Signal | control · control rate |
| Unit | bpm |
| Coercion | Implicit |
Playing
Selected transport play state, independent of the authored Run input.
| ID | isPlaying |
|---|---|
| Signal | gate · event rate |
| Coercion | Implicit |
Bar Position
Origin-absolute PPQ position of the current bar start; combine with Beat Position when an absolute position is required.
| ID | barPosition |
|---|---|
| Signal | control · control rate |
| Unit | beats |
| Coercion | Implicit |
Beat Position
Bar-relative PPQ offset within the current bar, preserving sample-level motion at long-running positions.
| ID | beatPosition |
|---|---|
| Signal | control · control rate |
| Unit | beats |
| Coercion | Implicit |
Time Signature
Current musical meter as a typed composite signal: numerator on channel 0 and denominator on channel 1.
| ID | timeSignature |
|---|---|
| Signal | timeSignature · control rate |
| Coercion | Forbidden |
Reset
One-sample pulse when the effective clock explicitly resets or discontinuously re-anchors.
| ID | reset |
|---|---|
| Signal | trigger · event rate |
| Coercion | Implicit |
Available
High while the effective selected source supplies usable timing context.
| ID | available |
|---|---|
| Signal | gate · event rate |
| Coercion | Implicit |
Details
| Canonical ID | clock.decode |
|---|---|
| Category | sequencing |
| Runtime Surface | audio |
| Runtime Targets | audio-worklet |
| JUCE Early Access | Supported |
| Early Access Note | Native-supported in the plugin for the current catalog/runtime support contract. |