Hi everybody My name is Guilherme, and I'm working in a abstraction that selects one given region of array (that it contains) a sample.
With nqpoly4 i'm intented to select sub-regions inside of the previous region, to generate overlapping samples (a granular synthesis :) )
But when i'm create the following object: [nqpoly4 n selection m], (n=number of abstractions; selection is the abstraction; m=delay number, see abstraction) a [loadbang] inside [selection] do not load... :P
thanks
------------selection-test.pd:
#N canvas 0 22 450 300 10; #X msg 64 105 100 5000; #X obj 64 142 nqpoly4 10 selection 2000; #X text 122 103 the aleatory region; #X connect 0 0 1 0;
------------[selection]:
#N canvas 363 93 683 634 10; #X obj 95 15 inlet; #X obj 121 237 random; #X obj 121 264 moses; #X obj 95 96 unpack f f; #X obj 121 288 <; #X obj 121 338 sel 1; #X obj 264 410 float $1; #X obj 263 431 print voice; #X obj 95 562 outlet; #X obj 188 406 pack f f; #X obj 188 431 print range; #X obj 94 467 t b b; #X obj 336 431 print ---------------------------; #X obj 115 536 print finished; #X obj 341 47 inlet; #X obj 187 323 t a b b; #X obj 95 442 delay $3; #X obj 95 130 t b b f f; #X obj 115 506 float $1; #X obj 154 180 /; #X obj 331 187 + 1; #X obj 154 204 *; #X floatatom 198 239 5 0 0 0 - - -; #X obj 298 75 loadbang; #X obj 299 136 $2; #X obj 331 136 $1; #X obj 347 100 print; #X text 383 100 NOT BANG THE [LOADBANG]????????; #X text 215 168 divides in accordance with the number of voices; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 2 1 15 0; #X connect 3 0 17 0; #X connect 3 1 19 0; #X connect 4 0 5 0; #X connect 5 0 17 0; #X connect 6 0 7 0; #X connect 9 0 10 0; #X connect 11 0 8 0; #X connect 11 1 18 0; #X connect 15 0 9 0; #X connect 15 1 6 0; #X connect 15 2 12 0; #X connect 16 0 11 0; #X connect 17 0 16 0; #X connect 17 1 1 0; #X connect 17 2 2 1; #X connect 17 3 4 1; #X connect 18 0 13 0; #X connect 19 0 21 0; #X connect 20 0 21 1; #X connect 21 0 1 1; #X connect 21 0 22 0; #X connect 21 0 9 1; #X connect 23 0 24 0; #X connect 23 0 25 0; #X connect 23 0 26 0; #X connect 24 0 19 1; #X connect 25 0 20 0;
Página pessoal: http://gcravista.googlepages.com/guilhermemartinslunhanii
Hi Guilherme,
There is another object called [initbang] that is designed for just this kind of problem.
Andy
On Sun, 24 May 2009 07:44:16 -0700 Guilherme Lunhani gcravista@gmail.com wrote:
Hi everybody My name is Guilherme, and I'm working in a abstraction that selects one given region of array (that it contains) a sample.
With nqpoly4 i'm intented to select sub-regions inside of the previous region, to generate overlapping samples (a granular synthesis :) )
But when i'm create the following object: [nqpoly4 n selection m], (n=number of abstractions; selection is the abstraction; m=delay number, see abstraction) a [loadbang] inside [selection] do not load... :P
thanks
------------selection-test.pd:
#N canvas 0 22 450 300 10; #X msg 64 105 100 5000; #X obj 64 142 nqpoly4 10 selection 2000; #X text 122 103 the aleatory region; #X connect 0 0 1 0;
------------[selection]:
#N canvas 363 93 683 634 10; #X obj 95 15 inlet; #X obj 121 237 random; #X obj 121 264 moses; #X obj 95 96 unpack f f; #X obj 121 288 <; #X obj 121 338 sel 1; #X obj 264 410 float $1; #X obj 263 431 print voice; #X obj 95 562 outlet; #X obj 188 406 pack f f; #X obj 188 431 print range; #X obj 94 467 t b b; #X obj 336 431 print ---------------------------; #X obj 115 536 print finished; #X obj 341 47 inlet; #X obj 187 323 t a b b; #X obj 95 442 delay $3; #X obj 95 130 t b b f f; #X obj 115 506 float $1; #X obj 154 180 /; #X obj 331 187 + 1; #X obj 154 204 *; #X floatatom 198 239 5 0 0 0 - - -; #X obj 298 75 loadbang; #X obj 299 136 $2; #X obj 331 136 $1; #X obj 347 100 print; #X text 383 100 NOT BANG THE [LOADBANG]????????; #X text 215 168 divides in accordance with the number of voices; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 2 1 15 0; #X connect 3 0 17 0; #X connect 3 1 19 0; #X connect 4 0 5 0; #X connect 5 0 17 0; #X connect 6 0 7 0; #X connect 9 0 10 0; #X connect 11 0 8 0; #X connect 11 1 18 0; #X connect 15 0 9 0; #X connect 15 1 6 0; #X connect 15 2 12 0; #X connect 16 0 11 0; #X connect 17 0 16 0; #X connect 17 1 1 0; #X connect 17 2 2 1; #X connect 17 3 4 1; #X connect 18 0 13 0; #X connect 19 0 21 0; #X connect 20 0 21 1; #X connect 21 0 1 1; #X connect 21 0 22 0; #X connect 21 0 9 1; #X connect 23 0 24 0; #X connect 23 0 25 0; #X connect 23 0 26 0; #X connect 24 0 19 1; #X connect 25 0 20 0;
Página pessoal: http://gcravista.googlepages.com/guilhermemartinslunhanii
Or use [polypoly]:
http://lists.puredata.info/pipermail/pd-list/2006-12/045078.html
Andy Farnell wrote:
Hi Guilherme,
There is another object called [initbang] that is designed for just this kind of problem.
Andy
On Sun, 24 May 2009 07:44:16 -0700 Guilherme Lunhani gcravista@gmail.com wrote:
Hi everybody My name is Guilherme, and I'm working in a abstraction that selects one given region of array (that it contains) a sample.
With nqpoly4 i'm intented to select sub-regions inside of the previous region, to generate overlapping samples (a granular synthesis :) )
But when i'm create the following object: [nqpoly4 n selection m], (n=number of abstractions; selection is the abstraction; m=delay number, see abstraction) a [loadbang] inside [selection] do not load... :P
thanks
------------selection-test.pd:
#N canvas 0 22 450 300 10; #X msg 64 105 100 5000; #X obj 64 142 nqpoly4 10 selection 2000; #X text 122 103 the aleatory region; #X connect 0 0 1 0;
------------[selection]:
#N canvas 363 93 683 634 10; #X obj 95 15 inlet; #X obj 121 237 random; #X obj 121 264 moses; #X obj 95 96 unpack f f; #X obj 121 288 <; #X obj 121 338 sel 1; #X obj 264 410 float $1; #X obj 263 431 print voice; #X obj 95 562 outlet; #X obj 188 406 pack f f; #X obj 188 431 print range; #X obj 94 467 t b b; #X obj 336 431 print ---------------------------; #X obj 115 536 print finished; #X obj 341 47 inlet; #X obj 187 323 t a b b; #X obj 95 442 delay $3; #X obj 95 130 t b b f f; #X obj 115 506 float $1; #X obj 154 180 /; #X obj 331 187 + 1; #X obj 154 204 *; #X floatatom 198 239 5 0 0 0 - - -; #X obj 298 75 loadbang; #X obj 299 136 $2; #X obj 331 136 $1; #X obj 347 100 print; #X text 383 100 NOT BANG THE [LOADBANG]????????; #X text 215 168 divides in accordance with the number of voices; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 2 1 15 0; #X connect 3 0 17 0; #X connect 3 1 19 0; #X connect 4 0 5 0; #X connect 5 0 17 0; #X connect 6 0 7 0; #X connect 9 0 10 0; #X connect 11 0 8 0; #X connect 11 1 18 0; #X connect 15 0 9 0; #X connect 15 1 6 0; #X connect 15 2 12 0; #X connect 16 0 11 0; #X connect 17 0 16 0; #X connect 17 1 1 0; #X connect 17 2 2 1; #X connect 17 3 4 1; #X connect 18 0 13 0; #X connect 19 0 21 0; #X connect 20 0 21 1; #X connect 21 0 1 1; #X connect 21 0 22 0; #X connect 21 0 9 1; #X connect 23 0 24 0; #X connect 23 0 25 0; #X connect 23 0 26 0; #X connect 24 0 19 1; #X connect 25 0 20 0;
Página pessoal: http://gcravista.googlepages.com/guilhermemartinslunhanii
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote:
There is another object called [initbang] that is designed for just this kind of problem.
Not quite: initbang (which is not part of Pd yet) is not designed to replace a loadbang, it is designed to send a bang *before* a loadbang sends a bang. There is a difference. Initbangs can create inlets or outlets, loadbangs can not.
There is no need at all to resort to initbangs for "normal" dynamic patching needs. If a newly created object doesn't loadbang, that's because the creator forgot to send a "loadbang" message to the subpatch receiver. In nqpoly4 that's by design (a broken design IMO)
Frank
Hallo, Guilherme Lunhani hat gesagt: // Guilherme Lunhani wrote:
But when i'm create the following object: [nqpoly4 n selection m], (n=number of abstractions; selection is the abstraction; m=delay number, see abstraction) a [loadbang] inside [selection] do not load... :P
I once added a change to nqpoly4 in the svn repository which automatically loadbangs the created abstractions by sending a "loadbang" message to the subpatch, where they are created. But I was told by Hans-Christoph to remove it again and did so.
Anyway the official solution is to use the right inlet of your abstractions to simulate loadbangs.
Frank
On May 25, 2009, at 2:53 AM, Frank Barknecht wrote:
Hallo, Guilherme Lunhani hat gesagt: // Guilherme Lunhani wrote:
But when i'm create the following object: [nqpoly4 n selection m], (n=number of abstractions; selection is the abstraction; m=delay
number, see abstraction) a [loadbang] inside [selection] do not load... :PI once added a change to nqpoly4 in the svn repository which
automatically loadbangs the created abstractions by sending a "loadbang" message
to the subpatch, where they are created. But I was told by Hans-Christoph
to remove it again and did so.Anyway the official solution is to use the right inlet of your
abstractions to simulate loadbangs.
You should add such an object, just don't break backwards
compatibility of nqpoly4, since many projects rely on it. It could be
called something else, for example.
.hc
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin