[PD] composing a melody using arrays

Pall Thayer palli at pallit.lhi.is
Tue Nov 16 09:53:03 CET 2004


a 16 step sequencer based on an array:

#N canvas 89 0 386 154 10;
#N canvas 0 0 450 300 graph1 0;
#X array myNotes 16 float 1;
#A 0 23 70 42 56 77 103 104 82 82 46 118 105 72 73 74 75;
#X coords 0 128 15 0 100 50 1;
#X restore 262 -39 graph;
#X msg 132 14 \; myNotes 0 23 70 42 56 77 103 104 82 82 46 118 105
72 73 74 75;
#X obj 15 36 tabread myNotes;
#X obj 15 14 f;
#X obj 46 14 mod 16;
#X obj 98 14 + 1;
#X obj 15 -10 metro 400;
#X floatatom 15 70 5 0 0 0 - - -;
#X obj 15 -31 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X connect 2 0 7 0;
#X connect 3 0 5 0;
#X connect 3 0 2 0;
#X connect 4 0 3 1;
#X connect 5 0 4 0;
#X connect 6 0 3 0;
#X connect 8 0 6 0;


Pall

margit blauhut wrote:
> hi
> i'm a complete newby to pd. i want to compose a well known melody like 
> example "maintheme of the movie hannibal 3". i know i have to store the 
> single tones in an array. does anyone have a pd patch showing how to do 
> that (and can send me this patch to orenishii at gmx.at). (i know the help 
> files and other stuff like the introduction by miller pucket, but the only 
> explame how to create an array with a single tone) thx
> 

-- 
_______________________________
Pall Thayer
artist/teacher
http://www.this.is/pallit
http://pallit.lhi.is/panse
_______________________________




More information about the Pd-list mailing list