Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: text-anchor , Previous: system-version , Home: Overview

Clamps Dictionary

T

tempo->svg-timescale

Function

(tempo->svg-timescale arg1 &optional arg2)

Convert tempo setting into the duration of one 16th note (in seconds) for svg playback in the clamps Gui.

Arguments

arg1 Number denoting either a rhythm value (1/4 for a quarter note), or a bpm value if arg2 isn't supplied.
arg2 Number denoting the beats per minute (bpm).

Examples

(tempo->svg-timescale 1/4 60) -> 1/4

(tempo->svg-timescale 1/2 60) -> 1/8

(tempo->svg-timescale 60) -> 1/4

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate