Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

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

Instances details
Show Mmc Source # 
Instance details

Defined in Midi.Mmc

Methods

showsPrec :: Int -> Mmc -> ShowS #

show :: Mmc -> String #

showList :: [Mmc] -> ShowS #

Eq Mmc Source # 
Instance details

Defined in Midi.Mmc

Methods

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

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

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.