Skip to main content

swing_delay

Function swing_delay 

Source
pub fn swing_delay(pct: f64) -> Option<f64>
Expand description

The delay of the second note of a swung pair, in sixteenths, for a pair percent pct (50 is straight) and a pair of sixteenths.

Returns None where the delay is negative or not finite: for a pair percent below 50, an infinity or NaN.