Safe Haskell | None |
---|---|
Language | Haskell98 |
- 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
- 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 -> Controller Source #
Fractions
splitFraction :: RealFrac a => a -> (Int, a) Source #
properFraction is useless for negative numbers
Notes
data PitchChannel Source #
data PitchChannelVelocity Source #
class VelocityField x where Source #
getVelocity :: x -> Velocity 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 a Source #
immediateBundle :: [a] -> Bundle m a Source #