[PD] nqpoly4 with selector abstraction

Andy Farnell padawan12 at obiwannabe.co.uk
Sun May 24 17:44:49 CEST 2009



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 at 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
> 


-- 
Use the source




More information about the Pd-list mailing list