Safe Haskell | Safe-Inferred |
---|
Cmds to interpret hardware controllers. This basically means magic MIDI msgs from a keyboard or something which is intended to do something other than play a note.
Synopsis
- data TransportConfig = TransportConfig {}
- type MatchMidi = Midi.Message -> Bool
- note_on :: Midi.Key -> MatchMidi
- transport :: TransportConfig -> Msg.Msg -> Cmd.CmdT IO Cmd.Status
Documentation
data TransportConfig Source #
Buttons you might find on the transport section of a controller keyboard. Since everyone's setup is different, this is expected to be configured in Local.Config.
type MatchMidi = Midi.Message -> Bool Source #
transport :: TransportConfig -> Msg.Msg -> Cmd.CmdT IO Cmd.Status Source #