Forums > MaxMSP

How can I save the current file in Buffer~ to a preset box?


Anonymous
February 13, 2007 | 4:46 pm

Quote: Gary wrote on Tue, 13 February 2007 08:46
—————————————————-
> Is there a simple way one can save the current soundfile in a ~buffer object to be recalled later along with other settings.
—————————————————-

Put your sound files into an ubumenu (you could do that with the dropfile method – my personal fav which is in the help files) and then use pattrstorage and autopattr objects to recall since autopattr supports ubumenu. Pay attention to the pattrmode message which ubumenu takes. Also, there are lots of nice preset object emulators for pattrstorage. The st.tools kit has one and Charles De Tar has a nice jsui one.


February 13, 2007 | 6:37 pm


February 15, 2007 | 9:56 am

Gary wrote:
> Is there a simple way one can save the current soundfile in a ~buffer
> object to be recalled later along with other settings. The preset box
> doesn’t hook upto the ~buffer object so I’ve got a longwinded
> subpatch where the preset box saves a menubar instead. Trouble is
> there are too many flaws to this method. There must be a simple way
> one can save the current soundfile in a ~buffer object.

Don’t know about the ~buffer, but if you load a sample into a buffer~,
you can also assign that path to a pattr, and then prepend open the
outlet of the pattr back to the buffer~. That way you can even store
different contents of buffer~s within the pattrstorage…

The simplest is a message box with the complete path which you bang on
load…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


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