sorry if im doubleposting but i got an email by pd-list@iem.at telling me that it is now possible for me to write to the list; so if it didnt work now it works
hi everyone, i'm new to this list and pure data itself so please allow me to ask some kinda n00by question.
i want to build a computerkeyboard setup in which i can press many keys at once to play chords and stuff and until now i found no solution to this.
as i want those notes to stop in the moment of the keyup event i made a fix around which sadly stops all notes at the moment i release any key.
could anyone post me something or names of objects i should look at for the moment => thanks
here s my crappy code:
#N canvas 0 0 1087 712 12; #X obj 38 625 osc~ 440; #X obj 38 600 r notes; #X obj 37 654 dac~; #X obj 383 3 key; #X obj 1 2 keyname; #X floatatom 383 26 5 0 0 0 - - -; #X symbolatom 52 24 10 0 0 0 - - -; #X obj 3 89 select 48; #X obj 79 89 select 49; #X obj 155 89 select 50; #X obj 231 89 select 51; #X obj 307 89 select 52; #X obj 383 89 select 53; #X obj 459 89 select 54; #X obj 611 89 select 56; #X obj 687 89 select 57; #X obj 535 89 select 55; #X obj 3 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 687 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 611 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 535 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 459 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 383 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 307 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 231 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 155 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 79 112 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 79 131 s "1"; #X obj 3 131 s "0"; #X obj 155 130 s "2"; #X obj 231 131 s "3"; #X obj 307 130 s "4"; #X obj 383 130 s "5"; #X obj 459 131 s "6"; #X obj 535 130 s "7"; #X obj 611 130 s "8"; #X obj 687 131 s "9"; #X obj 3 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 3 168 select 97; #X obj 79 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 79 168 select 115; #X obj 163 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 163 168 select 100; #X obj 247 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 247 168 select 102; #X obj 331 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 331 168 select 103; #X obj 415 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 415 168 select 104; #X obj 499 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 499 168 select 106; #X obj 583 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 583 168 select 107; #X obj 667 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 667 168 select 108; #X obj 751 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 751 168 select 246; #X obj 835 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 835 168 select 228; #X obj 919 168 select 35; #X msg 3 209 262; #X msg 79 208 277; #X msg 163 208 294; #X msg 247 208 311; #X msg 331 209 330; #X msg 415 208 349; #X msg 499 208 370; #X msg 583 208 392; #X msg 667 208 415; #X msg 751 208 440; #X msg 835 208 466; #X msg 919 209 494; #X obj 919 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 440 326 keyup; #X obj 4 408 select 97; #X obj 80 408 select 115; #X obj 164 408 select 100; #X obj 248 408 select 102; #X obj 332 408 select 103; #X obj 416 408 select 104; #X obj 500 408 select 106; #X obj 584 408 select 107; #X obj 668 408 select 108; #X obj 752 408 select 246; #X obj 836 408 select 228; #X obj 920 408 select 35; #X obj 463 484 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 463 501 0; #X obj 463 525 s notes; #X obj 432 287 s notes; #X floatatom 3 33 5 0 0 0 - - -; #X connect 0 0 2 0; #X connect 0 0 2 1; #X connect 1 0 0 0; #X connect 3 0 5 0; #X connect 4 0 90 0; #X connect 4 1 6 0; #X connect 5 0 7 0; #X connect 5 0 8 0; #X connect 5 0 11 0; #X connect 5 0 12 0; #X connect 5 0 9 0; #X connect 5 0 10 0; #X connect 5 0 13 0; #X connect 5 0 15 0; #X connect 5 0 14 0; #X connect 5 0 16 0; #X connect 5 0 38 0; #X connect 5 0 40 0; #X connect 5 0 42 0; #X connect 5 0 44 0; #X connect 5 0 46 0; #X connect 5 0 48 0; #X connect 5 0 50 0; #X connect 5 0 52 0; #X connect 5 0 54 0; #X connect 5 0 56 0; #X connect 5 0 58 0; #X connect 5 0 59 0; #X connect 7 0 17 0; #X connect 8 0 26 0; #X connect 9 0 25 0; #X connect 10 0 24 0; #X connect 11 0 23 0; #X connect 12 0 22 0; #X connect 13 0 21 0; #X connect 14 0 19 0; #X connect 15 0 18 0; #X connect 16 0 20 0; #X connect 17 0 28 0; #X connect 18 0 36 0; #X connect 19 0 35 0; #X connect 20 0 34 0; #X connect 21 0 33 0; #X connect 22 0 32 0; #X connect 23 0 31 0; #X connect 24 0 30 0; #X connect 25 0 29 0; #X connect 26 0 27 0; #X connect 37 0 60 0; #X connect 38 0 37 0; #X connect 39 0 61 0; #X connect 40 0 39 0; #X connect 41 0 62 0; #X connect 42 0 41 0; #X connect 43 0 63 0; #X connect 44 0 43 0; #X connect 45 0 64 0; #X connect 46 0 45 0; #X connect 47 0 65 0; #X connect 48 0 47 0; #X connect 49 0 66 0; #X connect 50 0 49 0; #X connect 51 0 67 0; #X connect 52 0 51 0; #X connect 53 0 68 0; #X connect 54 0 53 0; #X connect 55 0 69 0; #X connect 56 0 55 0; #X connect 57 0 70 0; #X connect 58 0 57 0; #X connect 59 0 72 0; #X connect 60 0 89 0; #X connect 61 0 89 0; #X connect 62 0 89 0; #X connect 63 0 89 0; #X connect 64 0 89 0; #X connect 65 0 89 0; #X connect 66 0 89 0; #X connect 67 0 89 0; #X connect 68 0 89 0; #X connect 69 0 89 0; #X connect 70 0 89 0; #X connect 71 0 89 0; #X connect 72 0 71 0; #X connect 73 0 74 0; #X connect 73 0 75 0; #X connect 73 0 76 0; #X connect 73 0 77 0; #X connect 73 0 78 0; #X connect 73 0 79 0; #X connect 73 0 80 0; #X connect 73 0 81 0; #X connect 73 0 82 0; #X connect 73 0 83 0; #X connect 73 0 84 0; #X connect 73 0 85 0; #X connect 74 0 86 0; #X connect 75 0 86 0; #X connect 76 0 86 0; #X connect 77 0 86 0; #X connect 78 0 86 0; #X connect 79 0 86 0; #X connect 80 0 86 0; #X connect 81 0 86 0; #X connect 82 0 86 0; #X connect 83 0 86 0; #X connect 84 0 86 0; #X connect 85 0 86 0; #X connect 86 0 87 0;
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer