Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Local.Instrument.Z1

Contents

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

Show Unit # 

Methods

showsPrec :: Int -> Unit -> ShowS #

show :: Unit -> String #

showList :: [Unit] -> ShowS #

data Bank Source #

Constructors

A 
B 

Instances

Show Bank # 

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