Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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 # 
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 # 
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