Safe Haskell | Safe-Inferred |
---|
- splitCommandList :: [Word8] -> [(Word8, [Word8])]
- getCommand :: C parser => Word8 -> Fragile parser Command
- getCommands :: C parser => Partial parser [Command]
- data Command
- = Stop
- | Play
- | DeferredPlay
- | FastForward
- | Rewind
- | RecordStrobe
- | RecordExit
- | RecordPause
- | Pause
- | Eject
- | Chase
- | CommandErrorReset
- | Reset
- | Wait
- | Resume
- runParser :: Partial (T ByteList) a -> ByteList -> (PossiblyIncomplete a, [UserMessage])
Documentation
splitCommandList :: [Word8] -> [(Word8, [Word8])]Source
getCommand :: C parser => Word8 -> Fragile parser CommandSource
getCommands :: C parser => Partial parser [Command]Source
Read MIDI machine control commands until an F7 marker for SysEx end.
runParser :: Partial (T ByteList) a -> ByteList -> (PossiblyIncomplete a, [UserMessage])Source