Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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.