Euterpea-1.0.0: Library for computer music research and education

Safe HaskellNone

Euterpea.IO.MUI.InstrumentBase

Documentation

data KeyData Source

Constructors

KeyData 

Fields

pressed :: Maybe Bool
 
notation :: Maybe String
 
offset :: Int
 

Instances

Eq KeyData 
Show KeyData 

data KeyState Source

Constructors

KeyState 

Fields

keypad :: Bool
 
mouse :: Bool
 
song :: Bool
 
vel :: Velocity
 

Instances

Eq KeyState 
Show KeyState 

data InstrumentData Source

Constructors

InstrumentData 

Fields

showNotation :: Bool
 
keyPairs :: Maybe [(AbsPitch, Bool)]
 
transpose :: AbsPitch
 
pedal :: Bool
 

Instances

decay :: Time -> Double -> MidiMessage -> Maybe MidiMessageSource

selectInstrument :: Channel -> Int -> UISF EMM EMMSource

songPlayer :: [(String, Music Pitch)] -> UISF () EMMSource

pickSong :: [(String, Music Pitch)] -> UISF () (SEvent Int)Source

pairToMsg :: Channel -> [(AbsPitch, Bool, Velocity)] -> [MidiMessage]Source

detectChannel :: [MidiMessage] -> Maybe ChannelSource