Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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.