Forums > MaxMSP

recording a file

March 12, 2010 | 2:50 pm

Hi all,

i’d like to record a wav file in a precise directory, different from where the patch is, but i can’t see any way to do that with the (open file.wav) message on a [sfrecord~]. did anybody have the same problem? thanks!


March 12, 2010 | 4:57 pm

Did you try something like open /mypath/mydirectory/myfile.wave?


March 12, 2010 | 10:46 pm

the subpatch in [sprintf] help file may be useful, it deals with patcher and file paths. also [absolutepath], [dropfile], etc…

I believe you can always send the complete path to objects like sfrecord~ (be sure it’s a single symbol, use "symout" with your sprintf, or spaces in the path will mess it up). If you don’t specify the full path, I think it goes to the most recent folder in which you’ve saved something using that object (? during that session ?) or failing that, to the Max 5 app folder. What it doesn’t seem to do consistently is save in the same folder as the patch, unless you specify that.


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