Skip to content

Parsing Korg KARMA Sys-Ex #547

Answered by dnaldoog
thethirdapple asked this question in Q&A
Discussion options

You must be logged in to vote

Here is what I think is probably correct parsing of the data. It is adapted from my M3R panel — so some small details may be incorrect.

parse Korg Karma sysex_1_0.zip

The data sysexString is the string above in your post.

parseKorgData = function(--[[ CtrlrComponent --]] comp --[[ MouseEvent --]], event)
    local offset = 6 -- ignore KORG Header
    local nameSize = 16

    local m = MemoryBlock()
    m:loadFromHexString(sysexString)
    console(string.format("Initial Dump Size=%d bytes", m:getSize()))
    local numberofpatchesindump = m:getSize() -- this will be something different (like 128 etc)

    local sizeOfLoop = m:getSize() - 1 - 4 - 7 --[[ always getSize()-1,-4 extra nul bytes,…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@thethirdapple
Comment options

@dnaldoog
Comment options

@thethirdapple
Comment options

@dnaldoog
Comment options

@thethirdapple
Comment options

Answer selected by thethirdapple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants