hello everybody!
i got problem with making some abstraction
i want to my abstraction remember my preset for each abstraction i created when i save and close the patch
maybe use $0 will be the solution but i can't find it
i want my preset are save in the parent patch, so i can recall it separatly
anyone has a solution?
thanks for help me
bye.
-
Making an abstraction
-
[loadbang]
|
[0.521 8 4.320(
|
[unpack 0 0 0]
| | |
here here hereDual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
-
When you start using abstractions it gets slightly more complicated...well, there are more options
Arif's solution there is useful for initializing state when the abstraction is created. This could be furthered by using more messages with values, then using [sel 0 1 2 etc] to fire the preset message:
[hradio]
|
[sel 0 1 2 ]
| | |
[0.521 8 4.320( [0.521 8 4.320( [0.521 8 4.320(
| / /
[unpack f f f ]
| | |
etc
sorry for the shite diagram. This could give you 3 'factory' presets built in to the absBut you want the presets saved globally. For this you can use SSSAD in pd-ext - pretty straightforward and versatile. Or you can create your own system by giving the sends and receives unique names based on the creation argument you give when you create the abstraction.
To get some ideas i take a butches at Obi's Waveshape synth (more for the preset writing/recall) mechanism http://obiwannabe.co.uk/html/music/6SS/six-simple-synthesisers.html
boonier
-
Actually, I think you want to use the sssad version from the svn repository rather than the one bundled with pd-extended: http://lists.puredata.info/pipermail/pd-list/2008-12/066703.html.
Saving presets for a single abstraction in your patch, rather than all sssad-enabled abstractions at once, takes a little work, but it can be done (http://lists.puredata.info/pipermail/pd-list/2008-12/066692.html).
JN