Safe Haskell | Safe-Inferred |
---|
Korg Z1 keyboard.
Synopsis
- synth_name :: InstT.SynthName
- load :: Path.AppDir -> IO (Maybe MidiInst.Synth)
- make_db :: Path.AppDir -> IO ()
- synth_controls :: [(Midi.Control, ScoreT.Control)]
- decode_current_program :: B.ByteString -> Either String Sysex.RMap
- decode_program_dump :: B.ByteString -> Either String [Sysex.RMap]
- sysex_manager :: B.ByteString -> Either String [(Patch.Patch, Common.Common ())]
- test_decode :: IO (Either String Sysex.RMap)
- set_bank_pitch_bend :: Bank -> FilePath -> IO ()
- encode_current_program :: Sysex.RMap -> Either String B.ByteString
- encode_program_dump :: Sysex.RMap -> Either String B.ByteString
- data Unit
- data Bank
- encode_bank_dump :: Unit -> Bank -> [Sysex.RMap] -> Either String B.ByteString
- encode_sysex :: Either String B.ByteString -> Either String B.ByteString -> Either String B.ByteString
- rmap_to_patch :: Sysex.RMap -> Either String (Patch.Patch, Common.Common ())
- current_multi_data_dump :: Word8
- multi_data_dump :: Word8
- dekorg :: B.ByteString -> B.ByteString
- enkorg :: B.ByteString -> B.ByteString
- chunks :: Int -> B.ByteString -> [B.ByteString]
- exact_chunks :: Int -> B.ByteString -> [B.ByteString]
- test_multiset :: IO (Either String (Sysex.RMap, B.ByteString))
- test_dump :: IO (Either String [Sysex.RMap])
- test_encode :: IO (Either String B.ByteString)
- test_patch :: IO (Either String Sysex.RMap)
- read_patch :: IO (Either String (Sysex.RMap, B.ByteString))
Documentation
load :: Path.AppDir -> IO (Maybe MidiInst.Synth) Source #
make_db :: Path.AppDir -> IO () Source #
synth_controls :: [(Midi.Control, ScoreT.Control)] Source #
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.
sysex_manager :: B.ByteString -> Either String [(Patch.Patch, Common.Common ())] Source #
test_decode :: IO (Either String Sysex.RMap) Source #
encode sysex
encode_bank_dump :: Unit -> Bank -> [Sysex.RMap] -> Either String B.ByteString Source #
encode_sysex :: Either String B.ByteString -> Either String B.ByteString -> Either String B.ByteString Source #
record
rmap_to_patch :: Sysex.RMap -> Either String (Patch.Patch, Common.Common ()) Source #
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.
enkorg :: B.ByteString -> B.ByteString Source #
chunks :: Int -> B.ByteString -> [B.ByteString] Source #
exact_chunks :: Int -> B.ByteString -> [B.ByteString] Source #
test
test_multiset :: IO (Either String (Sysex.RMap, B.ByteString)) Source #
test_encode :: IO (Either String B.ByteString) Source #
test_patch :: IO (Either String Sysex.RMap) Source #
read_patch :: IO (Either String (Sysex.RMap, B.ByteString)) Source #