Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Midi.Mmc

Description

MMC is a MIDI standard for synchronizing with recording devices and DAWs and whatever else chooses to support it. Ultimately MMC is just a bunch of specially formatted SystemExclusive msgs.

Synopsis

Documentation

data Mmc Source #

There are more, but I only support the ones I use.

Instances

Eq Mmc # 

Methods

(==) :: Mmc -> Mmc -> Bool #

(/=) :: Mmc -> Mmc -> Bool #

Show Mmc # 

Methods

showsPrec :: Int -> Mmc -> ShowS #

show :: Mmc -> String #

showList :: [Mmc] -> ShowS #

type DeviceId = Word8 Source #

This is just an arbitrary number that evidentally selects which device should pay attention to the msg. 0x7f sometimes means all devices.

encode :: DeviceId -> Mmc -> Midi.Message Source #

Encode an Mmc msg into a SystemExclusive.