Noah Walcutt wrote:
This is my first PD project, thanks to Dave Merrill for the starter patch and inspiration.
*If this patch already exists online please refer me to where I can find it.*
- Here is what I'm trying to do:
--Create a patch for Dave Merrill's "DDR-style musical instrument. http://www.instructables.com/id/DDR-style-musical-instrument/" that will play notes from the cmajor scale when certain pads on the assembly are depressed. --Dave has already created a patch that interprets signals from the pad --I am trying to assign these (eight) signals to different oscillators so that when a pad is stepped is on one oscillator plays at a time.
- Here are the issues I'm having:
--all of the oscillators output continuously when I turn the audio on --not all of the inlets in cmajorscale_phasor.pd appear to be working in my subpatch (ie I step on a pad and only 4 of the inlets show they have recieved a float)
- Attached is a patch of what I've come up with so far, as well as
the other patches written by Dave Merrill.
Any help would be most appreciated!
Hi Noah,
just some remarks and ideas: In your patch you had some double [inlet] objects right on top of each other, so you had nearly double the inlets you needed, and only half of those were connected. In general, construct your patches top-to-bottom rather than left-to-right. Place the inlets from left to right, because then you see clearly which inlet gets what input from the parent patch. Have a look at the [line~] objects' help file and also the combination of it with [*~] to make envelopes (see doc/3.audio.examples/A03.line.pd and A04.line2.pd). There is no need to have several [dac~] objects. Best to have only one and use [throw~] [catch~] or [s~] [r~] to send several signals to it. I attached an adapted version of your cmajorscale patch. hope this helps,
Tim
Thanks,
Noah
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas -20 -32 1012 718 12; #X text 39 -64 c 264 d 297 e 330 f 352 g 396 a 440 b 495 c' 528; #X obj 94 -36 inlet; #X msg 48 383 ; pd dsp 1; #X obj 48 306 loadbang; #X text 48 280 turns on audio automatically; #X msg 82 337 ; pd dsp 0; #X obj 94 30 == 1; #X obj 75 153 osc~ 264; #X floatatom 94 -6 5 0 0 0 - - -; #X obj 94 122 line~; #X msg 94 95 1 , 0 300; #X obj 76 187 *~; #X obj 94 70 sel 1; #X obj 44 495 dac~ 1 2; #X obj 75 227 throw~ mixL; #X obj 93 258 throw~ mixR; #X obj 44 437 catch~ mixL; #X obj 96 465 catch~ mixR; #X obj 184 -36 inlet; #X obj 184 30 == 1; #X floatatom 184 -6 5 0 0 0 - - -; #X obj 184 122 line~; #X msg 184 95 1 , 0 300; #X obj 165 187 *~; #X obj 184 70 sel 1; #X obj 164 227 throw~ mixL; #X obj 182 258 throw~ mixR; #X obj 274 -36 inlet; #X obj 274 30 == 1; #X floatatom 274 -6 5 0 0 0 - - -; #X obj 274 122 line~; #X msg 274 95 1 , 0 300; #X obj 256 187 *~; #X obj 274 70 sel 1; #X obj 255 227 throw~ mixL; #X obj 273 258 throw~ mixR; #X obj 364 -36 inlet; #X obj 364 30 == 1; #X floatatom 364 -6 5 0 0 0 - - -; #X obj 364 122 line~; #X msg 364 95 1 , 0 300; #X obj 345 187 *~; #X obj 364 70 sel 1; #X obj 344 227 throw~ mixL; #X obj 362 258 throw~ mixR; #X obj 454 -36 inlet; #X obj 454 30 == 1; #X floatatom 454 -6 5 0 0 0 - - -; #X obj 454 122 line~; #X msg 454 95 1 , 0 300; #X obj 436 187 *~; #X obj 454 70 sel 1; #X obj 435 227 throw~ mixL; #X obj 453 258 throw~ mixR; #X obj 544 -36 inlet; #X obj 544 30 == 1; #X floatatom 544 -6 5 0 0 0 - - -; #X obj 544 122 line~; #X msg 544 95 1 , 0 300; #X obj 525 187 *~; #X obj 544 70 sel 1; #X obj 524 227 throw~ mixL; #X obj 552 258 throw~ mixR; #X obj 634 -36 inlet; #X obj 634 30 == 1; #X floatatom 634 -6 5 0 0 0 - - -; #X obj 634 122 line~; #X msg 634 95 1 , 0 300; #X obj 615 187 *~; #X obj 634 70 sel 1; #X obj 614 227 throw~ mixL; #X obj 642 258 throw~ mixR; #X obj 164 153 osc~ 297; #X obj 255 153 osc~ 330; #X obj 344 153 osc~ 352; #X obj 435 153 osc~ 396; #X obj 524 153 osc~ 440; #X obj 614 153 osc~ 495; #X obj 724 -36 inlet; #X obj 724 30 == 1; #X floatatom 724 -6 5 0 0 0 - - -; #X obj 724 122 line~; #X msg 724 95 1 , 0 300; #X obj 705 187 *~; #X obj 724 70 sel 1; #X obj 704 227 throw~ mixL; #X obj 732 258 throw~ mixR; #X obj 704 153 osc~ 528; #X connect 1 0 8 0; #X connect 3 0 2 0; #X connect 6 0 12 0; #X connect 7 0 11 0; #X connect 8 0 6 0; #X connect 9 0 11 1; #X connect 10 0 9 0; #X connect 11 0 14 0; #X connect 11 0 15 0; #X connect 12 0 10 0; #X connect 16 0 13 0; #X connect 17 0 13 1; #X connect 18 0 20 0; #X connect 19 0 24 0; #X connect 20 0 19 0; #X connect 21 0 23 1; #X connect 22 0 21 0; #X connect 23 0 25 0; #X connect 23 0 26 0; #X connect 24 0 22 0; #X connect 27 0 29 0; #X connect 28 0 33 0; #X connect 29 0 28 0; #X connect 30 0 32 1; #X connect 31 0 30 0; #X connect 32 0 34 0; #X connect 32 0 35 0; #X connect 33 0 31 0; #X connect 36 0 38 0; #X connect 37 0 42 0; #X connect 38 0 37 0; #X connect 39 0 41 1; #X connect 40 0 39 0; #X connect 41 0 43 0; #X connect 41 0 44 0; #X connect 42 0 40 0; #X connect 45 0 47 0; #X connect 46 0 51 0; #X connect 47 0 46 0; #X connect 48 0 50 1; #X connect 49 0 48 0; #X connect 50 0 52 0; #X connect 50 0 53 0; #X connect 51 0 49 0; #X connect 54 0 56 0; #X connect 55 0 60 0; #X connect 56 0 55 0; #X connect 57 0 59 1; #X connect 58 0 57 0; #X connect 59 0 61 0; #X connect 59 0 62 0; #X connect 60 0 58 0; #X connect 63 0 65 0; #X connect 64 0 69 0; #X connect 65 0 64 0; #X connect 66 0 68 1; #X connect 67 0 66 0; #X connect 68 0 70 0; #X connect 68 0 71 0; #X connect 69 0 67 0; #X connect 72 0 23 0; #X connect 73 0 32 0; #X connect 74 0 41 0; #X connect 75 0 50 0; #X connect 76 0 59 0; #X connect 77 0 68 0; #X connect 78 0 80 0; #X connect 79 0 84 0; #X connect 80 0 79 0; #X connect 81 0 83 1; #X connect 82 0 81 0; #X connect 83 0 85 0; #X connect 83 0 86 0; #X connect 84 0 82 0; #X connect 87 0 83 0;