Hey List
I've been playing around recently with dynamic object creation for instances of abstractions. Only trouble is if I use an argument as a variable box (eg [$1]) it seems not to initialize the actual system on creating the abstraction. for instance, I might have something like this...
[loadbang]
|
[$1]
|
[mtof]
|
[osc~]
|
[*~ 0.2]
|
[dac~]
but on creating the abstraction with a pd- message no sound will be heard.
Any ideas guys?
Andrew
I don't know why loadbangs don't bang on dynamic creation, but I solve it by having a receive for the bang instead. Create patch -> send bang to it.
On 02/03/2011 11:52 AM, Andrew Faraday wrote:
Hey List
I've been playing around recently with dynamic object creation for instances of abstractions. Only trouble is if I use an argument as a variable box (eg [$1]) it seems not to initialize the actual system on creating the abstraction. for instance, I might have something like this...
[loadbang]
|
[$1]
|
[mtof]
|
[osc~]
|
[*~ 0.2]
|
[dac~]
but on creating the abstraction with a pd- message no sound will be heard.
Any ideas guys?
Andrew
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-03 12:17, ailo wrote:
I don't know why loadbangs don't bang on dynamic creation, but I solve
it has been discussed on this list for several times. please search the archives if you are interested.
it by having a receive for the bang instead. Create patch -> send bang to it.
you could simply send a "loadbang" message to the patch, to automatically re-initialize all the [loadbang]s therein.
[clear, obj 0 0 loadbang, obj 0 30 print, connect 0 0 1 0, loadbang(
fmgar IOhannes
On Thu, 3 Feb 2011, IOhannes m zmoelnig wrote:
On 2011-02-03 12:17, ailo wrote:
I don't know why loadbangs don't bang on dynamic creation, but I solve
it has been discussed on this list for several times. please search the archives if you are interested.
it by having a receive for the bang instead. Create patch -> send bang to it.
you could simply send a "loadbang" message to the patch, to automatically re-initialize all the [loadbang]s therein. [clear, obj 0 0 loadbang, obj 0 30 print, connect 0 0 1 0, loadbang(
and there is also [gf/canvas_loadbang] for when you want to loadbang only the latest objects added to a canvas that has already been loadbanged :
http://gridflow.ca/help/gf/canvas_loadbang-help.html
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC