Math conversions

Math conversions functions. More...

function beat2ms (beat)
 convert a given beat duration in milliseconds according to the current tempo. More...
 
function ms2beat (ms)
 convert a given milliseconds duration in beats according to the current tempo.
 
function ms2samples (milli)
 convert a given milliseconds duration in samples according to the current sampling rate.
 
function samples2ms (samples)
 convert a given samples duration in milliseconds according to the current sampling rate.
 

Detailed Description

Math conversions functions.

Function Documentation

function beat2ms ( beat  )

convert a given beat duration in milliseconds according to the current tempo.

Parameters
beat
Examples:
monoBassLine.lua.