Safe Haskell | Safe-Inferred |
---|
Documentation
note :: Channel -> (Velocity, Pitch, Bool) -> eventSource
Warning: This constructs a note events as is,
that is, a NoteOff p 64
is encoded as such
and will not be converted to NoteOn p 0
.
If you want such a conversion, you may use noteImplicitOff
.
program :: Channel -> Program -> eventSource
anyController :: Channel -> (Controller, Int) -> eventSource
pitchBend :: Channel -> Int -> eventSource
channelPressure :: Channel -> Int -> eventSource
liftChannel :: (a -> Body) -> Channel -> a -> TSource
noteExplicitOff :: C event => Channel -> (Velocity, Pitch, Bool) -> eventSource
Like note
, but converts NoteOn p 0
to NoteOff p 64
.
See explicitNoteOff
.
noteImplicitOff :: C event => Channel -> (Velocity, Pitch, Bool) -> eventSource
Like note
, but converts NoteOff p 64
to NoteOn p 0
.
See implicitNoteOff
.