generating dynamic line~ messages (comma death)

    Apr 27 2006 | 6:01 pm
    Hi there,
    just wondering, i'm doing some on-the-fly glitchy buffer stuff, and i'm currently playing a section of buffer with play~ thru line~, but currently line~ is only getting a message like [0, 0 1600] from a message box. I have struggled for an hour now with sprintf, append set and prepends and such to try and get that dreaded comma in so that line will work, but max either errors out or treats it as a new command (as thats what a comma is to max)
    is there any way i can 'force' a comma in this string thru use of character codes or does anyone know a way around this?
    if anyone could maybe describe how to link two number boxes to get an output message of , i would really appreciate it.
    thanks in advance. :) n00dle
    ----------------------------------- edit: i am an idiot who needs to learn how to use line~ properly. :D

    • Apr 27 2006 | 6:12 pm
    • Apr 27 2006 | 6:57 pm
      thanks, though i realised that i didnt need to 'add' a comma in, i should have been using the functionality of a comma anyhow.
      since line~ accepts the command , i was trying to replicate that line.
      It was as easy as just making three number boxes joined to [$1, $2 $3] --> [print] to see the desired result.
      thanks though :)
    • Apr 27 2006 | 9:21 pm
      Instead of a comma, just use a 0. So "0 0 1600 1600" will jump immediately to 0 (go to 0 over 0 ms) and then go to 1600 over 1600 ms. It will work even more accurately than doing it with the comma, as it is not chunked into two events.
      Comma is nice, but it's not your friend for these sorts of things.
      Peter McCulloch