Safe Haskell | None |
---|
- channel :: Int -> Channel
- pitch :: Int -> Pitch
- velocity :: Int -> Velocity
- controller :: Int -> Controller
- program :: Int -> Program
- normalVelocity :: Velocity
- splitFraction :: RealFrac a => a -> (Int, a)
- fraction :: RealFrac a => a -> a
- data PitchChannel = PitchChannel Pitch Channel
- data PitchChannelVelocity = PitchChannelVelocity PitchChannel Velocity
- class VelocityField x where
- getVelocity :: x -> Velocity
- data Future m a = Future {
- futureTime :: T m Relative Ticks
- futureData :: a
- type Bundle m a = [Future m a]
- singletonBundle :: a -> Bundle m a
- immediateBundle :: [a] -> Bundle m a
- now :: a -> Future m a
- mergeStable :: C time => T time body -> T time body -> T time body
- mergeEither :: C time => T time a -> T time b -> T time (Either a b)
Constructors
controller :: Int -> ControllerSource
Fractions
splitFraction :: RealFrac a => a -> (Int, a)Source
properFraction is useless for negative numbers
Notes
data PitchChannel Source
time stamped objects
The times are relative to the start time of the bundle and do not need to be ordered.
Future | |
|
singletonBundle :: a -> Bundle m aSource
immediateBundle :: [a] -> Bundle m aSource