midi-0.2.2.2: Handling of MIDI messages and files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.MIDI.Message.Channel.Mode

Description

Channel mode messages

Synopsis

Documentation

data T Source #

Instances

Instances details
Arbitrary T Source # 
Instance details

Defined in Sound.MIDI.Message.Channel.Mode

Methods

arbitrary :: Gen T #

shrink :: T -> [T] #

Show T Source # 
Instance details

Defined in Sound.MIDI.Message.Channel.Mode

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Eq T Source # 
Instance details

Defined in Sound.MIDI.Message.Channel.Mode

Methods

(==) :: T -> T -> Bool #

(/=) :: T -> T -> Bool #

Ord T Source # 
Instance details

Defined in Sound.MIDI.Message.Channel.Mode

Methods

compare :: T -> T -> Ordering #

(<) :: T -> T -> Bool #

(<=) :: T -> T -> Bool #

(>) :: T -> T -> Bool #

(>=) :: T -> T -> Bool #

max :: T -> T -> T #

min :: T -> T -> T #

get :: C parser => Int -> Fragile parser T Source #

put :: C writer => T -> writer Source #

fromControllerValue :: (Show a, 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 #