hi list
thanks IOhannes, [list]s are pretty neat. now im trying to "repack" 82 bytes and send them to elka. but i need the sum of 74 values, so i can modulo the second last checksum byte. is there an object which can calculate the sum of 74 values (number boxes)? or is there a another way to do it? thanks in advance best regs ~/j
Date: Mon, 10 Dec 2012 21:47:59 +0100 From: IOhannes m zm?lnig zmoelnig@iem.at Subject: Re: [PD] linux, elka ek22, sysexin dump "unpacking" (82 bytes) To: pd-list@iem.at Message-ID: 50C64A7F.9040601@iem.at Content-Type: text/plain; charset=ISO-8859-15; format=flowed
On 12/10/2012 18:53, jamal crawford wrote:
hi list.
im working on editor for Elka ek/em 22 analogue synth. when i request a parameter dump i get 82 bytes from sysexin. i can see the dump by [print] monitor, but I have no idea how to "unpack" these 82 bytes. when trigger banging the dump i only get 8 bangs, so i cant put a counter on it. is there anyone who has an idea how to unpack this dump.
check the [list] family of objects for re-grouping of your data.
fgmasdr IOhannes
On 12/11/2012 18:57, jamal crawford wrote:
hi list
thanks IOhannes, [list]s are pretty neat. now im trying to "repack" 82 bytes and send them to elka. but i need the sum of 74 values, so i can modulo the second last checksum byte. is there an object which can calculate the sum of 74 values (number boxes)? or is there a another way to do it?
use [list] objects to serialize your list (the help-patch comes with a serializer), feed that to an accumulator ([+] with some feedback) et voila.
fgmard IOhannes