Euterpea-1.0.0: Library for computer music research and education

Safe HaskellNone

Euterpea.IO.MUI.Piano

Documentation

toUpper :: Char -> CharSource

isUpper :: Char -> BoolSource

data KeyType Source

Constructors

White1 
White2 
White3 
Black1 

Instances

Eq KeyType 
Show KeyType 

ww :: IntSource

th :: IntSource

tw :: IntSource

bh :: IntSource

bw :: IntSource

wh :: IntSource

insideKey :: KeyType -> (Int, Int) -> ((Int, Int), (Int, Int)) -> BoolSource

drawBox :: (Color a, Color a1) => KeyType -> [(a, a1)] -> ((Int, Int), (Int, Int)) -> GraphicSource

white1 :: (Color a, Color a1) => [(a, a1)] -> ((Int, Int), (Int, Int)) -> GraphicSource

white2 :: (Color a, Color a1) => [(a, a1)] -> ((Int, Int), (Int, Int)) -> GraphicSource

white3 :: (Color a, Color a1) => [(a, a1)] -> ((Int, Int), (Int, Int)) -> GraphicSource

black1 :: (Color a, Color a1) => [(a, a1)] -> ((Int, Int), (Int, Int)) -> GraphicSource

colorKey :: KeyType -> Rect -> GraphicSource

mkKeys :: [(Char, KeyType, AbsPitch)] -> UISF InstrumentData (SEvent [(AbsPitch, Bool, Velocity)])Source

type PianoKeyMap = (String, Pitch)Source