Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

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 # 
Instance details

Defined in Midi.Mmc

Methods

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

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

Show Mmc # 
Instance details

Defined in Midi.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.