Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Operating rate definitions and utilities.
Documentation
Enumeration of operating rates of unit generators.
Standard abbreviations of Rate values. ir = initialisation, kr = control, ar = audio, dr = demand. dr sorts to the right of the fixed clock rates.
Data.List.sort [dr,ar,kr,ir] == [ir,kr,ar,dr]
Standard abbreviations of Rate values. ir = initialisation, kr = control, ar = audio, dr = demand. dr sorts to the right of the fixed clock rates.
Data.List.sort [dr,ar,kr,ir] == [ir,kr,ar,dr]
Standard abbreviations of Rate values. ir = initialisation, kr = control, ar = audio, dr = demand. dr sorts to the right of the fixed clock rates.
Data.List.sort [dr,ar,kr,ir] == [ir,kr,ar,dr]
Standard abbreviations of Rate values. ir = initialisation, kr = control, ar = audio, dr = demand. dr sorts to the right of the fixed clock rates.
Data.List.sort [dr,ar,kr,ir] == [ir,kr,ar,dr]
rateAbbrev :: Rate -> String Source #
Standard SuperCollider rate abbreviations.
map rateAbbrev [minBound .. maxBound] == ["ir","kr","ar","dr"]
rateName :: Rate -> String Source #
Standard SuperCollider rate abbreviations.
map rateName [minBound .. maxBound] == ["scalar","control","audio","demand"]
rate_parse :: String -> Maybe Rate Source #
Case insensitive parser for rate.
Data.Maybe.mapMaybe rate_parse (words "ar kR IR Dr") == [AudioRate,ControlRate,InitialisationRate,DemandRate]