ZL QUEUE question


    Jul 01 2013 | 10:17 am
    Please look at attached code.
    I want the zl queue to print "240 62 16 0 32 0 0 61 0 247" instead of:
    "240"
    "62"
    "16"
    "0"
    "32"
    "0"
    "0"
    "61"
    "0"
    "247"
    How would i accomplish that?
    if i hook up a print object underneath the append object it prints fine, but when i print from the zl queue it breaks down in separate values (this is sysex, so if it's not a proper string it won't work)

    • Jul 01 2013 | 10:45 am
      you want [zl reg], I think?
    • Jul 01 2013 | 10:54 am
      erm, i have hundreds of these strings that need to be sent out over udp with a time interval of 5ms each.
      so i hooked up a [metro 5] to a button and let that button trigger the ZL QUEUE every 5ms
      my problem now lies in that the messages don't come out in the same format as they're going in..
    • Jul 01 2013 | 12:49 pm
      try a [tosymbol] before entering the zl queue
      This is an odd behaviour maybe, one could expect [zl queue] to output entire lists, but it only outputs symbols. Since a list is composed of several symbols, you'll have to turn your list into a symbol.
    • Jul 01 2013 | 12:51 pm
      thanks!
    • Jul 01 2013 | 1:03 pm
      glad to help :)
    • Jul 01 2013 | 2:04 pm
      I think I'm correct in saying that [tosymbol] is not a good choice for this task if you're generating a new message (and thus a new symbol) every 5 ms. A couple objects you might find useful for your task are [sxformat] and [thresh].
    • Jul 01 2013 | 3:34 pm
      i don't really know how sysex works, so this seems better