quick sfplay~ question
Apr 6, 2007 at 6:47pm
quick sfplay~ question
I’ve got a (hopefully) quick question about sfplay~
When an open file message is sent to an sfplay~ is there a quantifiable delay before playback of the file can occur?
The MSP reference manual says the following: “When a file is opened, its beginning is read into memory, and until another file is opened, you can play the file from the beginning by sending sfplay~ the message 1″
I am guessing that this means it will be ok, but – forgive me – I’m not entirely familiar with buffers and memory and so on, and I want to avoid constructing the patch badly.
Any answers gratefully received!
Apr 6, 2007 at 8:17pm
The delay for sfplay~ may depend on the computer, but in my experience it is negligible. If you need the file to play 1 msec after loading, that may not happen — but under 1 sec even for slower computers is likely. The best way is to just try it out!
Apr 7, 2007 at 8:54am
On 6 Apr 2007, at 21:18, Zachary Seldess wrote:
> The delay for sfplay~ may depend on the computer, but in my
It may be negligible, but it is also unreliable. My take on this is
If you know in advance the files you want to play, consider
nick rothwell — composition, systems, performance — http://
Apr 7, 2007 at 9:45am
On 06-avr.-07, at 20:47, sam wrote:
> When an open file message is sent to an sfplay~ is there a
If you want to make sure the file is opened when you want to play it,
For instance, when you open your patch, open your soundfile, send
Check the help files and documentation if your need more details.
Apr 7, 2007 at 1:48pm
Thanks for the advice people – much appreciated.
I am unable to use preload, as the files I need to play are created by max using sfrecord~ while the program is in operation.
One more thing, if you don’t mind:
Apr 7, 2007 at 2:34pm
Apr 7, 2007 at 3:03pm
Apr 7, 2007 at 4:59pm
On 7 Apr 2007, at 14:48, sam wrote:
> I am unable to use preload, as the files I need to play are created
Fair enough. (But if you’re leaving some time between “open” and “1″,
Apr 7, 2007 at 7:15pm
Quote: nick rothwell / cassiel wrote on Sat, 07 April 2007 13:59
yes, I’ve figured that out now! Cheers for the advice all; this side of my patch is now sorted.
You must be logged in to reply to this topic.