Tell [buffer~] where to write files without dialog

Oct 30, 2011 at 2:31pm

Tell [buffer~] where to write files without dialog

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?

#59676
Nov 1, 2011 at 8:09pm

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!

#214780
Nov 1, 2011 at 8:34pm

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.

#214781
Nov 1, 2011 at 8:57pm

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.

#214782

You must be logged in to reply to this topic.