Forums > MaxMSP

Tell [buffer~] where to write files without dialog

October 30, 2011 | 2:31 pm

I’ve done a bit of searching around and haven’t managed to find any confirmed method of doing this. I thought I knew how to do it but I can’t get it to work.

I’m trying to use the ‘write’ message to write audio in a [buffer~] to a specific location, although it always ends up writing to the same location as the patch.

I’ve tried including the entire path like:

write "Macintosh HD/Users/Me/sound.wav"

Doing this still makes the file end up in the patch’s folder! Any ideas?


November 1, 2011 | 8:09 pm

Still no ideas for this? To be more specific:

Say my patch is located in "/users/me/music/thisfolder"

I’m trying to tell [buffer~] to write to "/users/me/music/thisfolder/samples/recording.wav"

"recording.wav" writes to "/thisfolder/" but won’t write to the folder within it!

Still using Max 5 so I’m not reporting a bug or anything, I just can’t work it out!


November 1, 2011 | 8:34 pm

No helpful suggestions, but I take it sfrecord wouldn’t work for that in your patch?

Seems like you should be able to specify a path, but you never know.


November 1, 2011 | 8:57 pm

Thanks Rodrigo, I may be able to incorporate [sfrecord~] if all else fails, I just find it very odd that this the only path I can’t seem to specify.


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