midi-0.2.2.2: Handling of MIDI messages and files

Safe HaskellSafe
LanguageHaskell2010

Sound.MIDI.Message.Channel.Mode

Description

Channel mode messages

Synopsis

Documentation

data T #

Instances

Eq T # 

Methods

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

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

Ord T # 

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 #

Show T # 

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Arbitrary T # 

Methods

arbitrary :: Gen T #

shrink :: T -> [T] #

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

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

fromControllerValue :: (Show a, Integral a) => (a, a) -> (Maybe UserMessage, T) #

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) #