tempo_sync
control.tempo_sync
send out a tempo-synced time value
Parameters
ID | Range | Default | Description |
Tempo | 0.00 - 18.00 | 0.00 | an integer from 0 to 18 that is using the default HISE tempo indexes |
Multiplier | 1.00 - 16.00 | 1.00 | multiplies the tempo index and allows odd tempo rates like 3/16 |
Enabled | 0.00 - 1.00 | 0.00 | switches between tempo synced time and unsynced time |
UnsyncedTime | 0.00 - 1000.00 | 200.00 | if tempo syncing is disabled, this can be used to determine the unsynched time |
A lot of time based effects need to be synched to an external clock and this is where this node comes in handy. A new value is send out:
- whenever the tempo changes (and the sync is enabled)
- whenever one of the parameters that will change the synched time changes
The value that is send out is calculated as milliseconds, but if you need it in another domain (eg. Hz), you might want to use the converter
with the Ms2Freq
converter.