reactive-balsa-0.1.1: Programmatically edit MIDI events via ALSA and reactive-banana
class C set whereSource
reset :: State set [NoteBoundary]Source
size :: set -> IntSource
toList :: set -> [((Pitch, Channel), Velocity)]Source
index :: Int -> set -> Maybe ((Pitch, Channel), Velocity)Source
change :: NoteBoundary -> State set [NoteBoundary]Source
A key is hold until n times further keys are pressed.
The n-th pressed key replaces the current one.
All pressed keys are latched until a key is pressed after a pause
(i.e. all keys released).
For aborting the pattern you have to send
a AllNotesOff or AllSoundOff message.
newtype Pressed Source
pressed :: PressedSource
pressedAcc :: T Pressed (Map (Pitch, Channel) Velocity)Source
newtype Latch Source
latch :: LatchSource
latchAcc :: T Latch (Map (Pitch, Channel) Velocity)Source
latchChange :: NoteBoundary -> State Latch (Maybe NoteBoundary)Source
data GroupLatch Source
groupLatch :: GroupLatchSource
groupLatchPressed :: T GroupLatch (Set (Pitch, Channel))Source
groupLatchPlayed :: T GroupLatch (Map (Pitch, Channel) Velocity)Source
data SerialLatch Source
serialLatch :: Int -> SerialLatchSource
serialLatchCursor :: T SerialLatch IntSource
serialLatchPlayed :: T SerialLatch (Map Int ((Pitch, Channel), Velocity))Source
releasePlayedKeys :: State (Map (Pitch, Channel) Velocity) [NoteBoundary]Source
releaseKey :: (Pitch, Channel) -> Velocity -> NoteBoundarySource
Produced by Haddock version 2.12.0