Patch works in 6 but not in 5 - any ideas?

    MaxMSP

    Lance Ford Jones
    Nov 19 2011 | 3:02 am
    A day or so ago in thread
    https://cycling74.com/forums/random-playback-from-buffer
    Charles Mathews posted this patch
    Max Patcher
    In Max, select New From Clipboard.
    Show Text
    It works perfectly for me in 6 but won't work in 5. Same results on different machines. Same audio file. Same coll data. The play~ help file works so it isn't the DSP status.
    I wanted to share this with my students but we are running 5 in class and it won't work for them either.
    I can't see it. Any thoughts would be appreciated.

    • Chris Muir's icon
      Chris Muir
      Nov 19 2011 | 6:13 am
      Max Patcher
      In Max, select New From Clipboard.
      The "start" stuff is new in 6, I think. This works in 5:
      Share
    • Emmanuel Jourdan's icon
      Emmanuel Jourdan's icon
      Emmanuel Jourdan
      Nov 19 2011 | 10:08 am
      Chris is correct, the start message of play~ object has been introduced in Max 6.
    • Lance Ford Jones's icon
      Lance Ford Jones's icon
      Lance Ford Jones
      Nov 19 2011 | 4:48 pm
      Thank you! That makes sense.
      I posted an observation a few days ago in
      that when you "Copy Compressed" in Max 6 the start and end lines still say "Max 5" and when you post this in the forum the marker still says "Pasted Max 5 Patch".
      If this could be corrected in a future update it would help a lot.
      Thanks again.
    • Lance Ford Jones's icon
      Lance Ford Jones's icon
      Lance Ford Jones
      Nov 19 2011 | 8:28 pm
      Two things:
      1) Why didn't I get a message in the max window that play~ didn't understand the "start" message?
      2) On further testing I had problems with the playback on the max 5 version posted above.
      Max Patcher
      In Max, select New From Clipboard.
      Here is a max 5 compatible patch that more closely emulates the original max 6 patch.
      Thanks again for your help.
    • Chris Muir's icon
      Chris Muir's icon
      Chris Muir
      Nov 19 2011 | 10:41 pm
      I don't know why play~ didn't complain. I agree that it probably should have.
      I guess I'm not surprised that there were problems with the patch I posted. I threw it together very quickly. Sorry.