midi-0.1.3.1: Handling of MIDI messages and filesSource codeContentsIndex
Sound.MIDI.Message.Channel.Mode
Description
Channel mode messages
Synopsis
data T
= AllSoundOff
| ResetAllControllers
| LocalControl Bool
| AllNotesOff
| OmniMode Bool
| MonoMode Int
| PolyMode
get :: C parser => Int -> Fallible parser T
put :: C writer => T -> writer ()
fromControllerValue :: Integral a => (a, a) -> (Maybe UserMessage, T)
toControllerValue :: Integral a => T -> (a, a)
Documentation
data T Source
Constructors
AllSoundOff
ResetAllControllers
LocalControl Bool
AllNotesOff
OmniMode Bool
MonoMode Int
PolyMode
show/hide Instances
get :: C parser => Int -> Fallible parser TSource
put :: C writer => T -> writer ()Source
fromControllerValue :: Integral a => (a, a) -> (Maybe UserMessage, T)Source
This function is also used in alsa-midi, we could give it the result type Parser.PossiblyIncomplete T otherwise.
toControllerValue :: Integral a => T -> (a, a)Source
Produced by Haddock version 2.6.0