send list to sxformat

Apr 30, 2012 at 5:02pm

send list to sxformat

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.


Apr 30, 2012 at 6:43pm

You don’t need sxformat for this. Just prepend 240 and append 247 to your list and sent it to midiout.

May 1, 2012 at 2:30pm

Aha – thanks!

May 1, 2012 at 2:39pm

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 1, 2012 at 4:36pm

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 1, 2012 at 5:17pm

Of course – that makes total sense.

thanks for the help – works perfectly.


You must be logged in to reply to this topic.