Jul 10, 2007 at 7:19pm
Hi, this I assume is really simple, but is driving my poor inexperienced max brain out!
All i want to do is playback with play~ at random parts of the loaded sound without changing the pitch. Its simply done with sfplay~ but i want the real time flexibility of play~ as ill be recording live chunks into the buffer~.
The problem is the comma in the list for the line~ object to playback the play~ sound.
Any help would be greatly appreciated, I hate asking when I think I should already know how.
Jul 10, 2007 at 8:19pm
You dont need the comma because you can make a list consisting of the start point and a 0. to tell line to go to that point immediately (in 0 milliseconds). Here is an example:
#P user ezdac~ 104 652 148 685 0;
Jul 10, 2007 at 8:41pm
ahhhh! thanks so much. that was really irritating me. I’m still really struggling with lots of message based stuff, maybe there’s more message based tutorials i missed somewhere?
Jul 11, 2007 at 10:39am
it seems you may have found an answer, but for future reference commas in messages must be preceded by a backslash.
for more info on punctuation in max check the max46topics.pdf (p.116).
Jul 11, 2007 at 5:06pm
thanks justin, time for a long recap I feel!
Jul 11, 2007 at 6:08pm
this is false. When putting a comma into an object such as expr, you need to put a backslash.
Commas are used all the time in messages. In a message, a comma denotes a separate event. No backslash needed.
In the above problem using line, the comma was not the real problem with getting the concept to work. The messages being sent to line~ in the original patch worked, they just weren’t doing what Seruka wanted.
Check the max topic on punctuation, its near the end of the pdf
Also, here is an example:
#P window setfont “Sans Serif” 9.;
Jul 12, 2007 at 8:00am
Robbie Lockwood schrieb:
As had been pointed out already the comma isn’t your problem.
There are three objects for the same purpose: to play back a buffer~’s
Jul 12, 2007 at 8:31am
consider also that with play~ you are forced to use small buffers by
There are a bunch of hi-res objects which resolve this issue.
All the best
2007/7/12, Stefan Tiedje
You must be logged in to reply to this topic.