Forums > MaxMSP

sfplay~ and truncated playback of overwritten sound files

May 12, 2011 | 2:37 pm

In a patch that uses [sfrecord~] to overwrite discarded soundfiles under a common name, [sfplay~] will only playback subsequent files up to the duration of the first soundfile recorded under that name.

The file is recorded properly. Quicktime will play it back in full. So will Max using [sfplay~] if you close the file and reopen it.

Is there a way to "initialize" an [sfplay~] that is comparable to closing the Max patch and reopening it?


May 13, 2011 | 7:57 am

Did you try to send the fclose message to sfplay~ before reopening?

p


May 13, 2011 | 2:31 pm

That’s it. Thanks. I knew there *must* be a straightforward and simple solution. I was looking for something like "close" or "initialize" etc. Needed that ‘f’ in front. !$#@%&$#@ syntax!

Thanks!


Viewing 3 posts - 1 through 3 (of 3 total)