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

User.Elaforge.Instrument.Z1

Description

Korg Z1 keyboard.

Synopsis

Documentation

decode sysex

decode_program_dump :: B.ByteString -> Either String [Sysex.RMap] Source #

Decode a dump for a program at a certain memory location. This also parses bank dumps, which are just encoded as a bunch of dumps at consecutive memory locations.

encode sysex

data Unit Source #

Constructors

Program 
Bank 
All 

Instances

Instances details
Show Unit Source # 
Instance details

Defined in User.Elaforge.Instrument.Z1

Methods

showsPrec :: Int -> Unit -> ShowS #

show :: Unit -> String #

showList :: [Unit] -> ShowS #

data Bank Source #

Constructors

A 
B 

Instances

Instances details
Show Bank Source # 
Instance details

Defined in User.Elaforge.Instrument.Z1

Methods

showsPrec :: Int -> Bank -> ShowS #

show :: Bank -> String #

showList :: [Bank] -> ShowS #

record

dekorg :: B.ByteString -> B.ByteString Source #

Z1 sysexes use a scheme where the eighth bits are packed into a single byte preceeding its 7 7bit bytes.

test