send list to sxformat


    Apr 30 2012 | 5:02 pm
    hey all
    wondering if there is a way to send a list to sxformat.
    trying to make custom sysex messages and was able to do so using expression ($i1, $i2, etc) but you can only have nine numbers that way. Any way to send the sxformat object a list of numbers and have it format that?
    The ultimate goal is to create a list, format it as sysex, have max record a midi file and then write that file for another program to use.
    thanks!

    • Apr 30 2012 | 6:43 pm
      You don't need sxformat for this. Just prepend 240 and append 247 to your list and sent it to midiout.
    • May 01 2012 | 2:30 pm
      Aha - thanks!
    • May 01 2012 | 2:39 pm
      I tried that - but the seq objects reports "incomplete sysex"
      and when i open the resulting the midi file - there is nothing there.
      I checked and the resulting string does indeed start with 240 and end with 247 - is there anything else i need to do to have seq record this as sysex?
    • May 01 2012 | 4:36 pm
      I think that [seq] can record single numbers only. So you may need to send the sysex list as stream of numbers, for example with [iter].
    • May 01 2012 | 5:17 pm
      Of course - that makes total sense.
      thanks for the help - works perfectly.