[PD] embedded preferences...
Hans-Christoph Steiner
hans at eds.org
Fri Apr 10 15:59:07 CEST 2009
The settings in patches should override any of these settings, IMHO.
I would like to see more of that kind of stuff. For example, instead
of a single 'audio-dialog' message, it would be very handy to have
individual messages for each configuration item, like "pd sample-rate
48000", "pd use-callbacks 1", "pd verbose 1", etc.
Here's what I know about embedded prefs files:
Pd-extended:
GNU/linux
default.pdsettings - overridden by user prefs
Mac OS X
org.puredata.pd.default.plist - overridden by any other prefs
org.puredata.pd.plist - overrides all other prefs
Windows
(nothing)
Pd-vanilla:
GNU/linux
default.pdsettings - overridden by user prefs
Mac OS X
org.puredata.pd.plist - overridden by user prefs
Windows
(nothing)
Windows should have this too, IMHO, its just a question of how to
implement it. Maybe just a folder in the registry, like /Software/Pd
are the normal prefs and /Software/Pd/default are the default prefs.
For Windows, I think it would be worthwhile having a file that
overrides all other settings so that people can bundle Pd into a
standalone app with its own prefs. Perhaps it could be like path/to/
pd/pdsettings.txt and just be a pdsettings file.
I suppose the same code/idea could be used for GNU/Linux, but I think
it would be cooler to have Pd generate .debs.
.hc
On Apr 9, 2009, at 12:30 PM, Miller Puckette wrote:
> I think this is a good idea, but don't know in detail how to do it.
> Patches should be able to have a say as to what they "prefer" (beyond
> what's available via the declare object) but they can't just smash
> over
> everything - for instance, they might not know what audio device they
> should use.
>
> O've started putting local config files in some of my patches for
> which
> I have versions for 3 different audio setups the patch has to run in -
> I just use loadbang and textfile :)
>
> Miller
> On Thu, Apr 09, 2009 at 12:56:09PM +0200, IOhannes m zmoelnig wrote:
>> hi all.
>>
>> i was wondering what the status of "embedded preferences" (that is:
>> using a local preference file that is attached with a certain
>> Pd-application rather than the global preferences valid for all
>> Pd's on
>> the system) for all platforms and the various tastes of Pd was.
>>
>> i know that you can embed a preference file in an osx-bundle in
>> Pd-extended (at least since 0.40), and iirc this embedding has been
>> accepted into Pd-vanilla as well (since version ?)
>>
>> i seem to remember that a similar mechanism exists on linux.
>>
>> i cannot remember anything about w32 (which might be more
>> complicated,
>> given that with w32 we are using the registry rather than a file that
>> ships with Pd)
>>
>> so my question is:
>> - is embedding preferences supported on all platforms?
>> - is embedding preferences supported on both Pd-vanilla and Pd-
>> extended?
>> - what is the minimum version of Pd i need to acquire the usufruct
>> (with
>> regard to taste)
>>
>>
>> fgamdsr
>> IOhannes
>
>
>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
All mankind is of one author, and is one volume; when one man dies,
one chapter is not torn out of the book, but translated into a better
language; and every chapter must be so translated.... -John Donne
More information about the Pd-list
mailing list