Tell [buffer~] where to write files without dialog

Medd's icon

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?

Medd's icon

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!

Rodrigo's icon

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.

Medd's icon

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.