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