Forums > MaxMSP

Using sfplay~ to play a sequence of sound files

March 12, 2012 | 5:27 pm


I successfully made a time lapse sound recorder that records 1 second of sound every 20 seconds.
The second part of my patch will require playback of the files once recorded.

I’m avoiding loading them into the buffer for efficiency —

The files are named:


How can I achieve this? I’ve been trying to use a (counter) — (sprintf open %s.aif) — (sfplay~)
but no luck!

The files are located in the same folder —

March 12, 2012 | 5:34 pm

this is patch idea

  1. BASICPLAYER.maxpat
March 12, 2012 | 9:30 pm

Are they in your search path? Check the Max window to see if Max isn’t finding them (you’ll see a "can’t find file blahblah.aif" message).

You could also use the full path to the files in your sprintf message.

March 12, 2012 | 11:53 pm


I have a bunch of other stuff going on in the patch @ the post link below, but the core elements of what you want are there too. Maybe you can hack pieces of what I have together into something useable.

The patch is at the top.

Good luck!

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

Forums > MaxMSP