hsc3-0.21: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Ugen.Constant

Description

Constant

Synopsis

Documentation

data Constant Source #

Constants. Constants may have brackets. This allows for buffer allocation and deallocation to be associated with a buffer identifier.

>>> Constant 3 emptyBrackets == Constant 3 emptyBrackets
True
>>> Constant 3 emptyBrackets > Constant 1 emptyBrackets
True

fractionPart :: Double -> Double Source #

Get fractional part of a double.

constantIsInteger :: Constant -> Bool Source #

Is integer?

>>> constantIsInteger (Constant 1 emptyBrackets)
True