Page tree
Skip to end of metadata
Go to start of metadata

getTimeSignature()

Description

Function to read the time signature from the host software.

Available in: Processor.

Return Values

Returns the numerator and denominator of the time signature. If no time signature information is available, the value -1 is returned for both the numerator and the denominator.

Example

-- print the time signature of the host software
function onInit()
    num, denom = getTimeSignature() 
    print(num.."/"..denom)    
end

See Also: getTempo

1 Comment