Forums > MaxMSP

storage of recorded files

March 31, 2008 | 2:15 pm

hello!

I just wanted to ask whether there is a way to store recorded sounds in my patch. The idea is that I am recording 40 seconds of voice and then that is played back. It would be cool if I could store all these different sessions that I am having. In brief, I am recording into a buffer and using a groove object for the playback. Is there a specific option within these objects where I can save the file that is played back?

Many Thanks,
Maria


March 31, 2008 | 3:16 pm

You can send the [write] message to your [buffer~].
Look at the help of [buffer~].

It reminds me a problem I can’t get rid of.
Is there a way to write a file from a buffer and specify the location within the [write] message.
I mean, I’d like to save a lot of files automatically and be able to specify the location of all the files just one time and not open the save as window everytime.

Something like [write "C:Program FilesCycling '74PatchsSoundLab" file01.aif]



jln
March 31, 2008 | 3:34 pm


March 31, 2008 | 3:49 pm

On 31 mars 08, at 17:16, Bertrand Fraysse wrote:

> Is there a way to write a file from a buffer and specify the
> location within the [write] message.
> I mean, I’d like to save a lot of files automatically and be able to
> specify the location of all the files just one time and not open the
> save as window everytime.
>
> Something like [write "C:Program FilesCycling '74PatchsSoundLab"
> file01.aif]

This is possible almost like this. Check the help files to see what
the syntax for absolute pathes looks like. Check for instance
[absolutepatch], or [conformpath], etc. Or read the "Files" chapter in
Max46Topics.pdf (page 81 is really interesting!)

For your project, you may have to concatenate a folder path with a
filename, [sprintf symout %s%s] is a good way to do this. Beware
spaces in pathes and names, you may have to also check [tosymbol].

p

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max



FP
March 31, 2008 | 4:09 pm

you can have a look at this patch: fp.record
http://www.pan-etc.net/nav/dev/dev-patch.htm

elt@altern.org
http://pan-etc.net

>


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