<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>[savepanel] should default to whatever directory the the patch you opened</div><div>is in.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">-Jonathan</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Billy Stiltner <billy.stiltner@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Ivica Ico Bukvic <ico@vt.edu> <br><b><span style="font-weight: bold;">Cc:</span></b> Jonathan Wilkes <jancsika@yahoo.com>; flad chester <flad.chester@gmail.com>; pd-list@iem.at <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, September 30, 2012 10:23 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] Preset system in pd?<br> </font> </div> <br>due to the nature of my polysynth patch I can make [polysynth a] and<br> [polysynth b] and have them both load a seperate preset.<br>I haven't added specifying the preset filename to the creation or to<br>the message structure yet but that is doable, you just have to hit the<br>load preset button. currently things like tuning and lfo filenames are<br>not saved with the preset because with pd vanilla i see no way to<br>browse for a textfile in
say lfo/pulsar/ to get pulsar1.txt and have<br>the openpanel return that path it more than likeley will return<br>/users/home/billy/dev/polysynth/lfo/pulsar/pulsar1.txt and if that<br>value is saved then when Johnathon gets the preset Johnathon's synth<br>doesn't load the pulsar1.txt<br><br><br>On Sun, Sep 30, 2012 at 9:42 PM, Ivica Ico Bukvic <<a ymailto="mailto:ico@vt.edu" href="mailto:ico@vt.edu">ico@vt.edu</a>> wrote:<br>><br>><br>><br>><br>> From: <a ymailto="mailto:pd-list-bounces@iem.at" href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a> [mailto:<a ymailto="mailto:pd-list-bounces@iem.at" href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a>] On Behalf Of<br>> Jonathan Wilkes<br>> Sent: Sunday, September 30, 2012 8:46 PM<br>> To: flad chester; <a ymailto="mailto:pd-list@iem.at" href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>> Subject: Re: [PD] Preset system in
pd?<br>><br>><br>><br>> Pd-l2ork now has [preset_hub]/[preset_node] for which I'm currently writing<br>> help files. But I don't think it lets you interpolate between values.<br>><br>> -Jonathan<br>><br>><br>><br>><br>><br>><br>><br>> To add to this, preset_node and hub are AFAIK the only preset system on pd<br>> that allow for use in conjunction with multiple instances of the same<br>> abstraction (e.g. you want to use two abstractions of same type and have<br>> presets in them that are controlled in the parent patch above them). For an<br>> example, see pd-l2ork K12 module (invoke pd-l2ork with –k12 flag). They also<br>> offer communication between nodes and hub allowing each of the nodes to send<br>> requests to the hub (e.g. any paired node can send a request to the hub to<br>> store and/or recall presets which can lead to some very cool possibilities).<br>> It is in many
ways synonymous to pattrstorage in Max, so its contents are<br>> saved as part of the patch, rather than having to save them in a separate<br>> file. Finally, pairing nodes with a hub is simple and does not require any<br>> $0 workarounds. Simply have a [preset_hub foo], and as soon as you add<br>> [preset_node foo] it will automatically pair with the hub provided hub is<br>> positioned hierarchically higher than the node (e.g. in the same canvas or<br>> any of its parent canvases, it does not have to be before preset_node in the<br>> glist if it is located in the same canvas). Other features include, ability<br>> to compensate for infinite undo/redo (pd-l2ork) feature, cut/paste, to<br>> front/back (pd-l2ork feature), and other actions that tend to alter glist<br>> ordering. As a matter of fact, pd-l2ork always preserves glist structure<br>> wherever possible (including infinite undo/redo actions), and since<br>>
preset_hub saves all presets as part of its creation arguments, undo/redo<br>> also recreate all saved presets. Preset_hub/node also support every data<br>> format except for pointers (for obvious reasons).<br>><br>><br>><br>> That said, Jonathan is right, the preset_hub and node do not interpolate,<br>> but with some [line] love, this can be easily added to the patch with<br>> arguably better granularity control.<br>><br>><br>><br>> Cheers!<br>><br>><br>> _______________________________________________<br>> <a ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management -><br>> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>><br><br><br> </div> </div> </blockquote></div> </div></body></html>