Hi,
For what is worth, I've released the source of a generative piece made some months ago.
It needs ZynAddSubFx (http://zynaddsubfx.sourceforge.net/) for the actual output sound. If you're on linux you can use jack to route the midi messages from pd to zyn. Just use a big buffer size for jackd to alleviate the cpu load.
http://www.cesaremarilungo.com/music/zen_mind.php
Temporary licence: just be kind.
www.cesaremarilungo.com
Greetings...
I'm building a series of abstractions which each employ internal data
structures. In order to be able to create an arbitrary number of
instances, I've been using $0 in all of my structure names, etc.
However, when I traverse a subpatch, I end up needing to use a message
such as the following:
[traverse pd-$0-somedata(
And of course, $0 does not resolve properly in the middle of this message. Is there a workaround for this with canonical objects?
Thanks, Julian Peterson
Hi Julian,
Julian Peterson a écrit :
[traverse pd-$0-somedata(
And of course, $0 does not resolve properly in the middle of this message. Is there a workaround for this with canonical objects?
A way to do that is to bang this sequence:
[f $0] | [makefilename pd-%d-somedata] | [traverse $1(
Hope that helps,
Nicolas Montgermont - PhD Student Laboratoire d'Acoustique Musicale 11 rue de Lourmel 75015 Paris - France Tel. (+33) 01 53 95 43 31 Fax. (+33) 01 45 77 16 59 www : http://www.lam.jussieu.fr/src/Membres/Montgermont
oops, i think i meant:
[bang( | [f $0] | [makefilename pd-%d-somedata] | [traverse $1(
;)
Hallo, Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:
A way to do that is to bang this sequence:
[f $0] | [makefilename pd-%d-somedata] | [traverse $1(
Btw: In the next version of Pd (current MAIN in CVS) it seems, that you will be able to use $-variables *inside* of a symbol, if that symbol starts with a $-variable. This won't help with $0 in messages, as there still is no $0 in messages, but you could get rid of the makefilename then and use:
[f $0]
|
[list prepend pd]
|
[traverse $1-$2-subpatch(
In this case, this is more complicated than makefilename, but for other uses it can be quite handy.
But be warned: Because current MAIN has a nasty bug with $-variables in subpatch names one should avoid this version in production mode currently. [pd $0-name] will be saved as [pd 0-name] at the moment.
Frank Barknecht _ ______footils.org_ __goto10.org__
are you guys sure ??
i thought it was something more like
[bang( | [f $0] | [makefilename pd-%d-somedata] | [traverse $1(
./d5
Actually, I find
[bang( | [f $0] | [makefilename pd-%d-somedata] | [traverse $1(
works for me. Just my 2 cents worth.
On 6/29/06, day 5 day5ive@gmail.com wrote:
are you guys sure ??
i thought it was something more like
[bang( | [f $0] | [makefilename pd-%d-somedata] | [traverse $1(
./d5
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, day 5 hat gesagt: // day 5 wrote:
are you guys sure ??
i thought it was something more like
If you refer to my mail: I am talking about the next version of Pd, where "multiple dollar-sign expansion" seems to have been included.
Frank Barknecht _ ______footils.org_ __goto10.org__
Frank Barknecht wrote:
[f $0] |
[list prepend pd] | [traverse $1-$2-subpatch(
i know you love [list], but you could also do this with messages
[bang( | [f $0] | [list pd $1( | [traverse $1-$2-subpatch(
or using [list] reducing the amount of objects involved by 1:
[bang( | [list prepend pd $0] | [traverse $1-$2-subpatch(
but you still have to wait for pd-0.40
mfg.asdr- IOhannes