diff --git a/l2ork_addons/K12/arduino_analog_in-help.pd b/l2ork_addons/K12/arduino_analog_in-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/arduino_analog_in.pd b/l2ork_addons/K12/arduino_analog_in.pd old mode 100644 new mode 100755 index d548bc09f183041c29dca02a52a89484d4a6d1fd..23a5fcd29133969c90288d1ee59eba37f4d2653a --- a/l2ork_addons/K12/arduino_analog_in.pd +++ b/l2ork_addons/K12/arduino_analog_in.pd @@ -1,6 +1,6 @@ -#N canvas 202 16 496 407 10; +#N canvas 162 14 496 407 10; #X obj 110 64 outlet; -#X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_analog_in_off.png +#X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_analog_in.png 1; #X obj 228 -60 loadbang; #X obj 58 -60 inlet; @@ -56,11 +56,11 @@ #X connect 13 0 2 0; #X restore 277 104 pd pin_parser; #X obj 110 41 route -1; -#X obj 77 258 send, f 25; +#X obj 77 298 send, f 25; #X obj 340 -15 loadbang; #X msg 340 7 symbol ---; #X text 209 45 INPUT; -#X msg 77 228 pinMode \$1 analog; +#X msg 77 255 pinMode \$1 analog; #X msg 228 -37 open @pd_extra/K12/objects/arduino_analog_in_off.png ; #X connect 2 0 21 0; diff --git a/l2ork_addons/K12/arduino_analog_out-help.pd b/l2ork_addons/K12/arduino_analog_out-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/arduino_analog_out.pd b/l2ork_addons/K12/arduino_analog_out.pd old mode 100644 new mode 100755 index a4227054629c960cbc3caed451681f7255234728..ba6f6133308513773d0219f975186afec651c709 --- a/l2ork_addons/K12/arduino_analog_out.pd +++ b/l2ork_addons/K12/arduino_analog_out.pd @@ -1,5 +1,5 @@ -#N canvas 575 42 500 407 10; -#X obj 58 308 outlet; +#N canvas 297 149 500 423 10; +#X obj 58 328 outlet; #X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_analog_out_off.png 1; #X obj 228 -60 loadbang; @@ -61,7 +61,7 @@ #X connect 17 0 3 0; #X connect 18 0 3 0; #X restore 284 160 pd pin_parser; -#X msg 267 237 pinMode \$1 pwm; +#X msg 267 257 pinMode \$1 pwm; #X obj 284 182 t f f; #X msg 58 244 pwm \$2 \$1; #X obj 58 221 pack 0 0; @@ -72,20 +72,23 @@ #X text 200 71 servo:; #X text 196 42 PWM OUTPUT; #X obj 280 13 preset_node k12; -#X obj 266 214 gate 2 1; -#X msg 311 258 pinMode \$1 servo; +#X obj 266 234 gate 2 1; +#X msg 311 278 pinMode \$1 servo; #X obj 239 130 t f f; #X obj 239 108 + 1; #X msg 228 -37 open @pd_extra/K12/objects/arduino_analog_out_off.png ; +#X obj 58 84 split 0 1; +#X obj 109 110 > 1; +#X obj 311 208 pipe 1000; #X connect 2 0 20 0; -#X connect 3 0 10 0; +#X connect 3 0 21 0; #X connect 4 0 11 0; #X connect 6 0 8 0; #X connect 6 1 1 0; #X connect 7 0 0 0; #X connect 8 0 10 1; -#X connect 8 1 16 1; +#X connect 8 1 23 0; #X connect 9 0 0 0; #X connect 10 0 9 0; #X connect 11 0 6 1; @@ -98,4 +101,8 @@ #X connect 18 1 16 0; #X connect 19 0 18 0; #X connect 20 0 1 0; +#X connect 21 0 10 0; +#X connect 21 1 22 0; +#X connect 22 0 10 0; +#X connect 23 0 16 1; #X coords 0 -1 1 1 89 89 2 183 13; diff --git a/l2ork_addons/K12/arduino_connect-help.pd b/l2ork_addons/K12/arduino_connect-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/arduino_connect.pd b/l2ork_addons/K12/arduino_connect.pd old mode 100644 new mode 100755 index 7ee61039eedce9b279393f6f2bccbfb7a643f64b..42886287d3f5b0ded8ce2fdb55522909dcff0eaf --- a/l2ork_addons/K12/arduino_connect.pd +++ b/l2ork_addons/K12/arduino_connect.pd @@ -1,4 +1,4 @@ -#N canvas 343 87 655 420 10; +#N canvas 283 27 688 500 10; #N canvas 340 108 527 287 buffer 0; #X obj 89 37 inlet; #X obj 74 124 f; @@ -48,74 +48,86 @@ #X connect 19 0 13 0; #X connect 20 0 13 0; #X connect 21 0 13 0; -#X restore 300 308 pd buffer, f 23; -#X msg 242 175 close \, info; -#X obj 435 246 route open; -#X obj 336 367 outlet; -#X text 51 335 message structure:; -#X text 51 347 digital = d <channel> <val>; -#X text 51 358 analog = a <channel> <val>; +#X restore 300 388 pd buffer, f 23; +#X msg 242 260 close \, info; +#X obj 435 326 route open; +#X obj 336 447 outlet; +#X text 51 415 message structure:; +#X text 51 427 digital = d <channel> <val>; +#X text 51 438 analog = a <channel> <val>; #X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_off.png 1; #X obj 298 59 loadbang; #X obj 332 37 select 0 1; #X obj 332 15 change; -#X obj 514 102 loadbang; -#X obj 514 124 metro 1000; -#X msg 325 175 info; -#X obj 514 285 f \$0; -#X msg 514 308 arduino \$1; -#X text 500 338 used to inform its membersof the instance they arelinked +#X obj 514 182 loadbang; +#X obj 514 204 metro 1000; +#X msg 325 260 info; +#X obj 514 365 f \$0; +#X msg 514 388 arduino \$1; +#X text 500 418 used to inform its membersof the instance they arelinked with; #X obj 285 -15 preset_node k12; -#X obj 140 150 f; -#X msg 140 175 open \$1 \, info; -#X obj 207 308 list prepend d; -#X obj 242 246 route digital analog; -#X obj 237 119 t f b; -#X obj 369 175 r arduino-\$0; +#X msg 140 260 open \$1 \, info; +#X obj 207 388 list prepend d; +#X obj 242 326 route digital analog; +#X obj 369 260 r arduino-\$0; #X text 195 51 Device:; #X obj 237 53 nbx 2 14 -1 7 0 1 empty empty empty 0 -8 0 10 -262144 -1 -1 -1 256 3; -#X obj 300 276 route 0 1 2 3 4 5, f 21; -#X text 450 175 receive from downstream objects; -#X obj 99 175 inlet; +#X obj 300 356 route 0 1 2 3 4 5, f 21; +#X text 450 260 receive from downstream objects; +#X obj 99 260 inlet; #X msg 355 59 open @pd_extra/K12/objects/arduino_on.png; #X msg 332 80 open @pd_extra/K12/objects/arduino_off.png; -#X obj 242 214 arduino/arduino -1; +#X obj 242 294 arduino/arduino -1; +#X obj 179 130 gate 2 1, f 11; +#X obj 179 108 + 1; +#X obj 242 201 change -2; +#X obj 242 222 t f b; +#X obj 179 151 t f b f; +#X msg 218 172 set \$1; #X connect 0 0 3 0; -#X connect 1 0 31 0; +#X connect 1 0 29 0; #X connect 2 0 0 6; #X connect 2 0 10 0; -#X connect 8 0 30 0; -#X connect 9 0 30 0; -#X connect 9 1 29 0; +#X connect 2 0 31 0; +#X connect 8 0 28 0; +#X connect 9 0 28 0; +#X connect 9 1 27 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 12 0 13 0; #X connect 12 0 14 0; -#X connect 13 0 31 0; +#X connect 13 0 29 0; #X connect 14 0 15 0; #X connect 15 0 3 0; -#X connect 17 0 25 0; -#X connect 18 0 19 0; -#X connect 19 0 21 0; -#X connect 19 0 31 0; -#X connect 20 0 3 0; -#X connect 21 0 20 0; -#X connect 21 1 26 0; -#X connect 22 0 18 0; -#X connect 22 1 1 0; -#X connect 23 0 31 0; -#X connect 25 0 22 0; -#X connect 26 0 0 0; -#X connect 26 1 0 1; -#X connect 26 2 0 2; -#X connect 26 3 0 3; -#X connect 26 4 0 4; -#X connect 26 5 0 5; -#X connect 28 0 31 0; -#X connect 29 0 7 0; -#X connect 30 0 7 0; -#X connect 31 0 21 0; -#X connect 31 1 2 0; +#X connect 17 0 23 0; +#X connect 18 0 20 0; +#X connect 18 0 29 0; +#X connect 19 0 3 0; +#X connect 20 0 19 0; +#X connect 20 1 24 0; +#X connect 21 0 29 0; +#X connect 23 0 30 1; +#X connect 24 0 0 0; +#X connect 24 1 0 1; +#X connect 24 2 0 2; +#X connect 24 3 0 3; +#X connect 24 4 0 4; +#X connect 24 5 0 5; +#X connect 26 0 29 0; +#X connect 27 0 7 0; +#X connect 28 0 7 0; +#X connect 29 0 20 0; +#X connect 29 1 2 0; +#X connect 30 0 34 0; +#X connect 30 1 32 0; +#X connect 31 0 30 0; +#X connect 32 0 33 0; +#X connect 33 0 18 0; +#X connect 33 1 1 0; +#X connect 34 0 18 0; +#X connect 34 1 1 0; +#X connect 34 2 35 0; +#X connect 35 0 32 0; #X coords 0 -1 1 1 89 89 2 183 13; diff --git a/l2ork_addons/K12/arduino_digital_in-help.pd b/l2ork_addons/K12/arduino_digital_in-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/arduino_digital_in.pd b/l2ork_addons/K12/arduino_digital_in.pd old mode 100644 new mode 100755 index af5216c7f9cbc51526bdbd67a89039110d16e167..b5340127ff1032951aa390ad9593ca90b42c63d5 --- a/l2ork_addons/K12/arduino_digital_in.pd +++ b/l2ork_addons/K12/arduino_digital_in.pd @@ -1,4 +1,4 @@ -#N canvas 295 154 503 355 10; +#N canvas 275 134 503 389 10; #X obj 110 64 outlet; #X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_digital_in_off.png 1; @@ -29,12 +29,12 @@ #X connect 6 0 2 0; #X restore 277 104 pd pin_parser; #X obj 110 41 route -1; -#X obj 77 258 send, f 25; +#X obj 77 288 send, f 25; #X text 211 45 INPUT; #X text 206 61 pin:; #X obj 230 64 nbx 3 14 -1 13 0 1 empty empty empty 0 -8 0 10 -262144 -1 -1 -1 256 3; -#X msg 77 228 pinMode \$1 input; +#X msg 77 248 pinMode \$1 input; #X obj 110 8 route d; #X msg 228 -37 open @pd_extra/K12/objects/arduino_digital_in_off.png ; diff --git a/l2ork_addons/K12/arduino_digital_out-help.pd b/l2ork_addons/K12/arduino_digital_out-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/arduino_digital_out.pd b/l2ork_addons/K12/arduino_digital_out.pd old mode 100644 new mode 100755 index c308b64111171c28d17e23e0e5d907dae5e12c02..ff0fd84929ddd355b2a4afbaa7d442b15da5c640 --- a/l2ork_addons/K12/arduino_digital_out.pd +++ b/l2ork_addons/K12/arduino_digital_out.pd @@ -1,4 +1,4 @@ -#N canvas 306 142 503 325 10; +#N canvas 256 92 512 323 10; #X obj 58 237 outlet; #X obj 228 45 ggee/image @pd_extra/K12/objects/arduino_digital_out_off.png 1; @@ -24,7 +24,7 @@ #X restore 277 104 pd pin_parser; #X obj 277 126 t f f; #X obj 58 162 pack 0 0; -#X msg 304 150 pinMode \$1 output; +#X msg 304 172 pinMode \$1 output; #X msg 58 185 digital \$2 \$1; #X text 208 45 OUTPUT; #X text 206 61 pin:; @@ -32,16 +32,25 @@ -1 -1 -1 256 3; #X msg 228 -37 open @pd_extra/K12/objects/arduino_digital_out_off.png ; +#X obj 58 37 split 0 1; +#X obj 109 63 > 1; +#X obj 58 12 int; +#X obj 304 149 pipe 1000; #X connect 2 0 13 0; -#X connect 3 0 7 0; +#X connect 3 0 16 0; #X connect 4 0 12 0; #X connect 5 0 6 0; #X connect 5 1 1 0; #X connect 6 0 7 1; -#X connect 6 1 8 0; +#X connect 6 1 17 0; #X connect 7 0 9 0; #X connect 8 0 0 0; #X connect 9 0 0 0; #X connect 12 0 5 0; #X connect 13 0 1 0; +#X connect 14 0 7 0; +#X connect 14 1 15 0; +#X connect 15 0 7 0; +#X connect 16 0 14 0; +#X connect 17 0 8 0; #X coords 0 -1 1 1 89 89 2 183 13; diff --git a/l2ork_addons/K12/demos/demo_sequencer_complex.pd b/l2ork_addons/K12/demos/demo_sequencer_complex.pd index 774aabbe09ef64707be0aac33bed08dbfda03905..3dd8d30c9699f6f6478a3618684956840c6da916 100755 --- a/l2ork_addons/K12/demos/demo_sequencer_complex.pd +++ b/l2ork_addons/K12/demos/demo_sequencer_complex.pd @@ -1,4 +1,4 @@ -#N canvas 48 24 1108 671 10; +#N canvas 48 24 1108 668 10; #X obj -30 -30 preset_hub k12 1 %hidden% %node% 2 1 3 %preset% 0 1 %preset% 1 1 %preset% 2 1 %preset% 3 1 %node% 2 1 11 %preset% 0 30 %preset% 1 30 %preset% 2 30 %preset% 3 30 %node% 2 2 8 %node% 2 3 7 @@ -102,8 +102,8 @@ 8 %preset% 0 442.26 %preset% 1 442.26 %preset% 2 442.26 %preset% 3 442.26 %node% 2 36 16 %preset% 0 653.425 %preset% 1 653.425 %preset% 2 653.425 %preset% 3 653.425 %node% 2 40 10 %node% 2 38 4 %preset% -0 46 %node% 2 41 4 %preset% 0 46 %node% 2 37 5 %preset% 0 53.02 %preset% -1 65.02 %preset% 2 51.02 %preset% 3 67.02 %node% 2 38 7 %preset% 0 +0 46 %node% 2 41 4 %preset% 0 46 %node% 2 37 5 %preset% 0 63.02 %preset% +1 67.02 %preset% 2 53.02 %preset% 3 48.02 %node% 2 38 7 %preset% 0 12.04 %preset% 1 12.04 %preset% 2 12.04 %preset% 3 12.04 %node% 2 44 4 %preset% 0 58.04 %node% 2 42 10 %preset% 0 0 %preset% 1 0 %preset% 2 0 %preset% 3 0 %node% 2 43 14 %preset% 0 68.4419 %preset% 1 68.4419 @@ -119,10 +119,10 @@ 2 56.8182 %preset% 3 56.8182 %node% 2 54 16 %preset% 0 5 %preset% 1 5 %preset% 2 5 %preset% 3 5 %node% 2 56 7 %preset% 0 0.5 %preset% 1 0.5 %preset% 2 0.5 %preset% 3 0.5 %node% 2 58 7 %preset% 0 0 %preset% -1 0 %preset% 2 1 %preset% 3 1 %node% 2 59 10 %preset% 0 4375 %preset% -1 2656.25 %preset% 2 4218.75 %preset% 3 781.25 %node% 2 61 7 %preset% +1 0 %preset% 2 1 %preset% 3 1 %node% 2 59 10 %preset% 0 2734.38 %preset% +1 781.25 %preset% 2 4375 %preset% 3 1718.75 %node% 2 61 7 %preset% 0 0 %preset% 1 1 %preset% 2 1 %preset% 3 1 %node% 2 62 5 %preset% 0 -36 %preset% 1 36 %preset% 2 36 %preset% 3 24 %node% 2 63 15 %preset% +36 %preset% 1 36 %preset% 2 46 %preset% 3 36 %node% 2 63 15 %preset% 0 290 %preset% 1 290 %preset% 2 290 %preset% 3 290 %node% 2 63 16 %preset% 0 56.8182 %preset% 1 56.8182 %preset% 2 56.8182 %preset% 3 56.8182 %node% 2 69 2 %node% 2 69 14 %node% 2 64 3 %preset% 0 1 %preset% 1 @@ -136,15 +136,15 @@ 2 456.164 %preset% 3 456.164 %node% 2 69 7 %preset% 0 0.01 %preset% 1 0.01 %preset% 2 0.01 %preset% 3 0.01 %node% 2 71 7 %preset% 0 -0.02 %preset% 1 -0.02 %preset% 2 -0.02 %preset% 3 -0.02 %node% 2 73 5 %preset% -0 36.01 %preset% 1 36.01 %preset% 2 36.01 %preset% 3 24.01 %node% 2 -74 5 %preset% 0 35.98 %preset% 1 35.98 %preset% 2 35.98 %preset% 3 -23.98 %node% 2 76 7 %preset% 0 0.2 %preset% 1 0.2 %preset% 2 0.2 %preset% +0 36.01 %preset% 1 36.01 %preset% 2 46.01 %preset% 3 36.01 %node% 2 +74 5 %preset% 0 35.98 %preset% 1 35.98 %preset% 2 45.98 %preset% 3 +35.98 %node% 2 76 7 %preset% 0 0.2 %preset% 1 0.2 %preset% 2 0.2 %preset% 3 0.2 %node% 2 77 7 %preset% 0 0 %preset% 1 0 %preset% 2 0 %preset% 3 0 %node% 2 79 7 %preset% 0 -12 %preset% 1 -12 %preset% 2 -12 %preset% -3 -12 %node% 2 81 4 %preset% 0 24 %preset% 1 24 %preset% 2 24 %preset% -3 12 %node% 2 83 7 %preset% 0 10 %preset% 1 10 %preset% 2 10 %preset% -3 10 %node% 2 87 5 %preset% 0 46.07 %preset% 1 58.07 %preset% 2 44.07 -%preset% 3 60.07 %node% 2 93 3 %preset% 0 1 %preset% 1 1 %preset% 2 +3 -12 %node% 2 81 4 %preset% 0 24 %preset% 1 24 %preset% 2 34 %preset% +3 24 %node% 2 83 7 %preset% 0 10 %preset% 1 10 %preset% 2 10 %preset% +3 10 %node% 2 87 5 %preset% 0 56.07 %preset% 1 60.07 %preset% 2 46.07 +%preset% 3 41.07 %node% 2 93 3 %preset% 0 1 %preset% 1 1 %preset% 2 1 %preset% 3 1 %node% 2 93 19 %preset% 0 64 %preset% 1 64 %preset% 2 64 %preset% 3 64 %node% 2 94 7 %preset% 0 128 %preset% 1 128 %preset% 2 128 %preset% 3 128 %node% 2 92 3 %preset% 0 1 %preset% 1 1 %preset% @@ -156,7 +156,19 @@ 1 480 %preset% 0 480 %node% 2 6 4 %preset% 3 1 %preset% 2 1 %preset% 1 1 %preset% 0 1 %node% 2 9 0 %preset% 3 480 %preset% 2 480 %preset% 1 480 %preset% 0 480 %node% 2 9 4 %preset% 3 1 %preset% 2 1 %preset% -1 1 %preset% 0 1; +1 1 %preset% 0 1 %node% 2 12 30 %preset% 0 1 %preset% 1 1 %preset% +2 1 %preset% 3 1 %node% 2 14 30 %preset% 0 1 %preset% 1 1 %preset% +2 1 %preset% 3 1 %node% 2 16 30 %preset% 0 1 %preset% 1 1 %preset% +2 1 %preset% 3 1 %node% 2 36 7 %preset% 0 141.644 %preset% 1 141.644 +%preset% 2 141.644 %preset% 3 141.644 %node% 2 36 15 %preset% 0 493.151 +%preset% 1 493.151 %preset% 2 493.151 %preset% 3 493.151 %node% 2 44 +7 %preset% 0 141.644 %preset% 1 141.644 %preset% 2 141.644 %preset% +3 141.644 %node% 2 44 15 %preset% 0 493.151 %preset% 1 493.151 %preset% +2 493.151 %preset% 3 493.151 %node% 2 64 30 %preset% 0 1 %preset% 1 +1 %preset% 2 1 %preset% 3 1 %node% 2 68 7 %preset% 0 141.644 %preset% +1 141.644 %preset% 2 141.644 %preset% 3 141.644 %node% 2 68 15 %preset% +0 493.151 %preset% 1 493.151 %preset% 2 493.151 %preset% 3 493.151 +; #X obj 29 169 K12/logic_metronome 0; #X obj 29 32 K12/preset 0; #X obj 709 32 K12/math_number 0; diff --git a/l2ork_addons/K12/doc/GM_instrument_list.html b/l2ork_addons/K12/doc/GM_instrument_list.html index bd44f04c7f0e47f4209038504a59c0def54435f6..4422d59f7fecebfdb0cfb1c7195f739c444f874c 100644 --- a/l2ork_addons/K12/doc/GM_instrument_list.html +++ b/l2ork_addons/K12/doc/GM_instrument_list.html @@ -1,225 +1,225 @@ -<html> -<head> -<title>MIDI GM Preset Chart</title> -<div itemprop="articleBody"> -<h1>General MIDI preset chart</h1> -<p>Here is a complete list of the 128 instruments and sounds defined by the General MIDI standard.</p> -<table class="table table-striped" width="100%"> -<tbody> -<tr> -<td> -<table border="0"> -<tbody> -<tr> -<td>PIANO</td> -</tr> -<tr> -<td>01 - Acoustic Grand<br />02 - Bright Acoustic<br />03 - Electric Grand<br />04 - Honky-Tonk<br />05 - Electric Piano 1<br />06 - Electric Piano 2<br />07 - Harpsichord<br />08 - Clavinet</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>CHROM. PERCUS.</td> -</tr> -<tr> -<td>09 - Celesta<br />10 - Glockenspiel<br />11 - Music Box<br />12 - Vibraphone<br />13 - Marimba<br />14 - Xylophone<br />15 - Tubular Bells<br />16 - Dulcimer</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>ORGAN</td> -</tr> -<tr> -<td>17 - Drawbar Organ<br />18 - Percussive Organ<br />19 - Rock Organ<br />20 - Church Organ<br />21 - Reed Organ<br />22 - Accoridan<br />23 - Harmonica<br />24 - Tango Accordian</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>GUITAR</td> -</tr> -<tr> -<td>25 - Nylon String Guitar<br />26 - Steel String Guitar<br />27 - Electric Jazz Guitar<br />28 - Electric Clean Guitar<br />29 - Electric Muted Guitar<br />30 - Overdriven Guitar<br />31 - Distortion Guitar<br />32 - Guitar Harmonics</td> -</tr> -</tbody> -</table> -</td> -</tr> -<tr> -<td colspan="4"> </td> -</tr> -<tr> -<td> -<table border="0"> -<tbody> -<tr> -<td>BASS</td> -</tr> -<tr> -<td>33 - Acoustic Bass<br />34 - Electric Bass(finger)<br />35 - Electric Bass(pick)<br />36 - Fretless Bass<br />37 - Slap Bass 1<br />38 - Slap Bass 2<br />39 - Synth Bass 1<br />40 - Synth Bass 2</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>SOLO STRINGS</td> -</tr> -<tr> -<td>41 - Violin<br />42 - Viola<br />43 - Cello<br />44 - Contrabass<br />45 - Tremolo Strings<br />46 - Pizzicato Strings<br />47 - Orchestral Strings<br />48 - Timpani</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>ENSEMBLE</td> -</tr> -<tr> -<td>49 - String Ensemble 1<br />50 - String Ensemble 2<br />51 - SynthStrings 1<br />52 - SynthStrings 2<br />53 - Choir Aahs<br />54 - Voice Oohs<br />55 - Synth Voice<br />56 - Orchestra Hit</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>BRASS</td> -</tr> -<tr> -<td>57 - Trumpet<br />58 - Trombone<br />59 - Tuba<br />60 - Muted Trumpet<br />61 - French Horn<br />62 - Brass Section<br />63 - SynthBrass 1<br />64 - SynthBrass 2</td> -</tr> -</tbody> -</table> -</td> -</tr> -<tr> -<td colspan="4"> </td> -</tr> -<tr> -<td> -<table border="0"> -<tbody> -<tr> -<td>REED</td> -</tr> -<tr> -<td>65 - Soprano Sax<br />66 - Alto Sax<br />67 - Tenor Sax<br />68 - Baritone Sax<br />69 - Oboe<br />70 - English Horn<br />71 - Bassoon<br />72 - Clarinet</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>PIPE</td> -</tr> -<tr> -<td>73 - Piccolo<br />74 - Flute<br />75 - Recorder<br />76 - Pan Flute<br />77 - Blown Bottle<br />78 - Skakuhachi<br />79 - Whistle<br />80 - Ocarina</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>SYNTH LEAD</td> -</tr> -<tr> -<td>81 - Square Wave<br />82 - Saw Wave<br />83 - Syn. Calliope<br />84 - Chiffer Lead<br />85 - Charang<br />86 - Solo Vox<br />87 - 5th Saw Wave<br />88 - Bass& Lead</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>SYNTH PAD</td> -</tr> -<tr> -<td>89 - Fantasia<br />90 - Warm Pad<br />91 - Polysynth<br />92 - Space Voice<br />93 - Bowed Glass<br />94 - Metal Pad<br />95 - Halo Pad<br />96 - Sweep Pad</td> -</tr> -</tbody> -</table> -</td> -</tr> -<tr> -<td colspan="4"> </td> -</tr> -<tr> -<td> -<table border="0"> -<tbody> -<tr> -<td>SYNTH EFFECTS</td> -</tr> -<tr> -<td>97 - Ice Rain<br />98 - Soundtrack<br />99 - Crystal<br />100 - Atmosphere<br />101 - Brightness<br />102 - Goblin<br />103 - Echo Drops<br />104 - Star Theme</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>ETHNIC</td> -</tr> -<tr> -<td>105 - Sitar<br />106 - Banjo<br />107 - Shamisen<br />108 - Koto<br />109 - Kalimba<br />110 - Bagpipe<br />111 - Fiddle<br />112 - Shanai</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>PERCUSSIVE</td> -</tr> -<tr> -<td>113 - Tinkle Bell<br />114 - Agogo<br />115 - Steel Drums<br />116 - Woodblock<br />117 - Taiko Drum<br />118 - Melodic Tom<br />119 - Synth Drum<br />120 - Reverse Cymbal</td> -</tr> -</tbody> -</table> -</td> -<td> -<table border="0"> -<tbody> -<tr> -<td>SOUND EFFECTS</td> -</tr> -<tr> -<td>121 - Guitar Fret Noise<br />122 - Breath Noise<br />123 - Seashore<br />124 - Bird Tweet<br />125 - Telephone Ring<br />126 - Helicopter<br />127 - Applause<br />128 - Gunshot</td> -</tr> -</tbody> -</table> -</td> -</tr> -</tbody> -</table> </div> -</div> -</div> -</div> -</div> -</body> +<html> +<head> +<title>MIDI GM Preset Chart</title> +<div itemprop="articleBody"> +<h1>General MIDI preset chart</h1> +<p>Here is a complete list of the 128 instruments and sounds defined by the General MIDI standard.</p> +<table class="table table-striped" width="100%"> +<tbody> +<tr> +<td> +<table border="0"> +<tbody> +<tr> +<td>PIANO</td> +</tr> +<tr> +<td>01 - Acoustic Grand<br />02 - Bright Acoustic<br />03 - Electric Grand<br />04 - Honky-Tonk<br />05 - Electric Piano 1<br />06 - Electric Piano 2<br />07 - Harpsichord<br />08 - Clavinet</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>CHROM. PERCUS.</td> +</tr> +<tr> +<td>09 - Celesta<br />10 - Glockenspiel<br />11 - Music Box<br />12 - Vibraphone<br />13 - Marimba<br />14 - Xylophone<br />15 - Tubular Bells<br />16 - Dulcimer</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>ORGAN</td> +</tr> +<tr> +<td>17 - Drawbar Organ<br />18 - Percussive Organ<br />19 - Rock Organ<br />20 - Church Organ<br />21 - Reed Organ<br />22 - Accoridan<br />23 - Harmonica<br />24 - Tango Accordian</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>GUITAR</td> +</tr> +<tr> +<td>25 - Nylon String Guitar<br />26 - Steel String Guitar<br />27 - Electric Jazz Guitar<br />28 - Electric Clean Guitar<br />29 - Electric Muted Guitar<br />30 - Overdriven Guitar<br />31 - Distortion Guitar<br />32 - Guitar Harmonics</td> +</tr> +</tbody> +</table> +</td> +</tr> +<tr> +<td colspan="4"> </td> +</tr> +<tr> +<td> +<table border="0"> +<tbody> +<tr> +<td>BASS</td> +</tr> +<tr> +<td>33 - Acoustic Bass<br />34 - Electric Bass(finger)<br />35 - Electric Bass(pick)<br />36 - Fretless Bass<br />37 - Slap Bass 1<br />38 - Slap Bass 2<br />39 - Synth Bass 1<br />40 - Synth Bass 2</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>SOLO STRINGS</td> +</tr> +<tr> +<td>41 - Violin<br />42 - Viola<br />43 - Cello<br />44 - Contrabass<br />45 - Tremolo Strings<br />46 - Pizzicato Strings<br />47 - Orchestral Strings<br />48 - Timpani</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>ENSEMBLE</td> +</tr> +<tr> +<td>49 - String Ensemble 1<br />50 - String Ensemble 2<br />51 - SynthStrings 1<br />52 - SynthStrings 2<br />53 - Choir Aahs<br />54 - Voice Oohs<br />55 - Synth Voice<br />56 - Orchestra Hit</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>BRASS</td> +</tr> +<tr> +<td>57 - Trumpet<br />58 - Trombone<br />59 - Tuba<br />60 - Muted Trumpet<br />61 - French Horn<br />62 - Brass Section<br />63 - SynthBrass 1<br />64 - SynthBrass 2</td> +</tr> +</tbody> +</table> +</td> +</tr> +<tr> +<td colspan="4"> </td> +</tr> +<tr> +<td> +<table border="0"> +<tbody> +<tr> +<td>REED</td> +</tr> +<tr> +<td>65 - Soprano Sax<br />66 - Alto Sax<br />67 - Tenor Sax<br />68 - Baritone Sax<br />69 - Oboe<br />70 - English Horn<br />71 - Bassoon<br />72 - Clarinet</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>PIPE</td> +</tr> +<tr> +<td>73 - Piccolo<br />74 - Flute<br />75 - Recorder<br />76 - Pan Flute<br />77 - Blown Bottle<br />78 - Skakuhachi<br />79 - Whistle<br />80 - Ocarina</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>SYNTH LEAD</td> +</tr> +<tr> +<td>81 - Square Wave<br />82 - Saw Wave<br />83 - Syn. Calliope<br />84 - Chiffer Lead<br />85 - Charang<br />86 - Solo Vox<br />87 - 5th Saw Wave<br />88 - Bass& Lead</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>SYNTH PAD</td> +</tr> +<tr> +<td>89 - Fantasia<br />90 - Warm Pad<br />91 - Polysynth<br />92 - Space Voice<br />93 - Bowed Glass<br />94 - Metal Pad<br />95 - Halo Pad<br />96 - Sweep Pad</td> +</tr> +</tbody> +</table> +</td> +</tr> +<tr> +<td colspan="4"> </td> +</tr> +<tr> +<td> +<table border="0"> +<tbody> +<tr> +<td>SYNTH EFFECTS</td> +</tr> +<tr> +<td>97 - Ice Rain<br />98 - Soundtrack<br />99 - Crystal<br />100 - Atmosphere<br />101 - Brightness<br />102 - Goblin<br />103 - Echo Drops<br />104 - Star Theme</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>ETHNIC</td> +</tr> +<tr> +<td>105 - Sitar<br />106 - Banjo<br />107 - Shamisen<br />108 - Koto<br />109 - Kalimba<br />110 - Bagpipe<br />111 - Fiddle<br />112 - Shanai</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>PERCUSSIVE</td> +</tr> +<tr> +<td>113 - Tinkle Bell<br />114 - Agogo<br />115 - Steel Drums<br />116 - Woodblock<br />117 - Taiko Drum<br />118 - Melodic Tom<br />119 - Synth Drum<br />120 - Reverse Cymbal</td> +</tr> +</tbody> +</table> +</td> +<td> +<table border="0"> +<tbody> +<tr> +<td>SOUND EFFECTS</td> +</tr> +<tr> +<td>121 - Guitar Fret Noise<br />122 - Breath Noise<br />123 - Seashore<br />124 - Bird Tweet<br />125 - Telephone Ring<br />126 - Helicopter<br />127 - Applause<br />128 - Gunshot</td> +</tr> +</tbody> +</table> +</td> +</tr> +</tbody> +</table> </div> +</div> +</div> +</div> +</div> +</body> </html> \ No newline at end of file diff --git a/l2ork_addons/K12/fx_filter-help.pd b/l2ork_addons/K12/fx_filter-help.pd index b49c39913c36fd85b8cc5d9c638355f016a065aa..c8144b665bfac8cc55a49443c46a0f57d29bf28e 100755 --- a/l2ork_addons/K12/fx_filter-help.pd +++ b/l2ork_addons/K12/fx_filter-help.pd @@ -1,35 +1,37 @@ -#N canvas 375 35 509 496 10; +#N canvas 318 89 509 484 10; #X obj 233 -22 preset_hub k12 %hidden% %node% 2 4 14 %node% 2 4 28 -%node% 2 11 10; -#X obj 11 358 cnv 1 479 99 empty empty empty 20 12 0 14 -228856 -66577 +%node% 2 7 10 %node% 2 7 15 %node% 2 8 7 %node% 2 11 7 %node% 2 10 +8 %node% 2 11 7; +#X obj 9 148 cnv 15 483 148 empty empty empty 20 12 0 14 -228856 -66577 0; #X obj 0 -2 cnv 3 501 3 empty empty empty 5 14 0 20 -260097 -191407 0; #X obj 0 -30 cnv 15 501 28 empty empty FX/Filter 5 14 0 20 -139274 -262144 0; -#X obj 16 480 K12/output; -#X obj 16 135 K12/wii_speed; -#N canvas 469 325 392 172 META 0; -#X text 7 7 DESCRIPTION This makes the sound more muffled when the -slider is all the way to the left or unchanged when the slider is all -the way to the right; -#X text 7 120 OUTLET_0 Connect this to a sound object or sound output +#X obj 14 320 K12/output; +#N canvas 236 204 395 407 META 0; +#X text 7 118 OUTLET_0 Connect this to a sound object or sound output ; -#X text 8 55 INLET_0 Connect a sound input here (like an instrument +#X text 7 44 INLET_0 Connect a sound input here (like an instrument or sound generator); -#X text 8 86 INLET_1 Connect a data control object here (like wii speed -\, arduino analog or digital input channels); -#X restore 447 553 pd META; -#X text 121 364 The filter is used to change the sound of the instrument -by changing the highest frequency heard. This has a sort of "muffling" -effect on the sound. To use the frequency change \, either move the -line on the slider yourself \, or you can control the frequency response -by inputing a a value between -1 and 1 on the right side input.; +#X text 7 7 DESCRIPTION This makes the sound more muffled or brighter +depending on which filter you select; +#X text 7 81 INLET_1 Connect a data control object here to control +the filter frequency (values -1 to 1 \, default 0); +#X restore 449 422 pd META; #X obj 471 1 ggee/image @pd_extra/K12/icons/l2ork.png 0; -#X obj 16 24 K12/wii_connect; -#X obj 16 248 K12/instr_sustained2; -#X obj 16 363 K12/fx_filter; -#X connect 5 0 10 0; -#X connect 9 0 5 0; -#X connect 10 0 11 0; -#X connect 11 0 4 0; +#X obj 14 153 K12/fx_filter; +#X obj 119 65 K12/math_number; +#X text 119 154 The filter is used to change the sound of the instrument +by filtering (subtracting or amplifying) certain portion of the sound. +You can use the bottom four boxes to specify one of the possible filters: +lowpass that muffles the sound \, highpass that removes low frequencies +\, bandpass that makes the sound appear as if it is coming from a phone +\, and notch \, that amplifies a narrow range of pitches. To adjust +the frequency change \, either move the line on the slider yourself +\, or you can control the frequency response by inputing a value between +-1 and 1 into the right inlet; +#X obj 14 36 K12/signal_noise; +#X connect 7 0 4 0; +#X connect 8 0 7 1; +#X connect 10 0 7 0; diff --git a/l2ork_addons/K12/fx_filter.pd b/l2ork_addons/K12/fx_filter.pd index f5fead52936f30a7767ee719c4e671777a153424..05784237aebe6cb27ed0426320cb5c48d22cba5c 100755 --- a/l2ork_addons/K12/fx_filter.pd +++ b/l2ork_addons/K12/fx_filter.pd @@ -1,22 +1,89 @@ -#N canvas 12 191 338 371 10; -#X obj 256 163 inlet~; -#X obj 323 208 outlet~; -#X obj 281 186 svf~; +#N canvas 47 181 470 426 10; +#X obj 255 163 inlet~; +#X obj 229 270 outlet~; +#X obj 280 186 svf~; #X obj 301 -129 inlet; #X obj 301 -86 * 10000; #X msg 301 118 \$1 100; #X obj 338 36 ggee/image @pd_extra/K12/objects/fx_filter.png 1; #X obj 338 -54 loadbang; -#X obj 301 41 hsl 68 14 50 10000 0 0 \$0-s-filt0 \$0-r-filt0 empty +#X obj 301 31 hsl 68 14 50 10000 0 0 \$0-s-filt0 \$0-r-filt0 empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 301 141 line~ 0; #X obj 391 4 preset_node k12; #X obj 301 -108 abs; #X msg 338 -33 open @pd_extra/K12/objects/fx_filter.png; -#X text 300 52 low; -#X text 348 52 high; +#X text 300 42 low; +#X text 348 42 high; +#X obj 491 4 preset_node k12; +#X obj 313 73 cnv 13 14 13 empty \$0-compare notch 10 7 0 10 -262144 +-1 0; +#X obj 504 192 tosymbol; +#X obj 504 267 s \$0-compare; +#X obj 229 223 + 1; +#N canvas 433 184 360 298 select_output 0; +#X obj 25 29 inlet; +#X obj 81 29 inlet~; +#X obj 96 100 == 1; +#X msg 96 123 \$1 10; +#X obj 96 146 line~; +#X obj 81 170 *~; +#X obj 178 250 outlet~; +#X obj 140 29 inlet~; +#X msg 155 123 \$1 10; +#X obj 155 146 line~; +#X obj 140 170 *~; +#X obj 155 100 == 2; +#X obj 200 29 inlet~; +#X msg 215 123 \$1 10; +#X obj 215 146 line~; +#X obj 200 170 *~; +#X obj 259 29 inlet~; +#X msg 274 123 \$1 10; +#X obj 274 146 line~; +#X obj 259 170 *~; +#X obj 215 100 == 3; +#X obj 274 100 == 4; #X connect 0 0 2 0; -#X connect 2 3 1 0; +#X connect 0 0 21 0; +#X connect 0 0 20 0; +#X connect 0 0 11 0; +#X connect 1 0 5 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 5 1; +#X connect 5 0 6 0; +#X connect 7 0 10 0; +#X connect 8 0 9 0; +#X connect 9 0 10 1; +#X connect 10 0 6 0; +#X connect 11 0 8 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 1; +#X connect 15 0 6 0; +#X connect 16 0 19 0; +#X connect 17 0 18 0; +#X connect 18 0 19 1; +#X connect 19 0 6 0; +#X connect 20 0 13 0; +#X connect 21 0 17 0; +#X restore 229 246 pd select_output; +#X msg 504 244 label \$1 \, label_pos \$2 7; +#X msg 616 125 notch 10; +#X obj 504 218 pack s 0, f 10; +#X obj 504 168 unpack s 0; +#X msg 544 125 bandpass 0; +#X msg 472 125 highpass 0; +#X msg 404 125 lowpass 3; +#X obj 474 88 select 0 1 2 3; +#X obj 307 59 hradio 15 1 1 4 empty empty empty 0 -8 0 10 -262144 -1 +-1 3; +#X connect 0 0 2 0; +#X connect 2 0 20 1; +#X connect 2 1 20 2; +#X connect 2 2 20 3; +#X connect 2 3 20 4; #X connect 3 0 11 0; #X connect 4 0 8 0; #X connect 5 0 9 0; @@ -27,4 +94,22 @@ #X connect 9 0 2 1; #X connect 10 0 8 0; #X connect 11 0 4 0; +#X connect 15 0 29 0; +#X connect 17 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 1 0; +#X connect 21 0 18 0; +#X connect 22 0 24 0; +#X connect 23 0 21 0; +#X connect 24 0 17 0; +#X connect 24 1 23 1; +#X connect 25 0 24 0; +#X connect 26 0 24 0; +#X connect 27 0 24 0; +#X connect 28 0 27 0; +#X connect 28 1 26 0; +#X connect 28 2 25 0; +#X connect 28 3 22 0; +#X connect 29 0 19 0; +#X connect 29 0 28 0; #X coords 0 -1 1 1 89 89 2 293 4; diff --git a/l2ork_addons/K12/fx_phaser-help.pd b/l2ork_addons/K12/fx_phaser-help.pd new file mode 100644 index 0000000000000000000000000000000000000000..13476b3b6cc2bee8a1a10b76273c68ebdd1c6bbe --- /dev/null +++ b/l2ork_addons/K12/fx_phaser-help.pd @@ -0,0 +1,47 @@ +#N canvas 335 43 509 619 10; +#X obj 261 73 cnv 15 231 103 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 233 -22 preset_hub k12 %hidden% %node% 2 5 14 %preset% 0 100 +%preset% 1 100 %preset% 2 100 %node% 2 5 28 %preset% 0 0 %preset% 1 +0 %preset% 2 0 %node% 2 11 10 %node% 2 9 5 %preset% 0 0 %preset% 1 +7 %node% 2 9 7 %preset% 0 1 %preset% 1 1 %preset% 2 1 %node% 2 10 7 +%preset% 0 60 %preset% 1 60 %preset% 2 60 %node% 2 11 7 %preset% 1 +10 %preset% 0 0 %preset% 2 63 %node% 2 12 8 %node% 2 13 5 %preset% +0 0 %preset% 1 10 %preset% 2 63 %node% 2 13 15 %preset% 0 0 %preset% +1 83.5069 %preset% 2 127 %node% 2 13 14; +#X obj 11 318 cnv 15 481 108 empty empty empty 20 12 0 14 -228856 -66577 +0; +#X obj 0 -2 cnv 3 501 3 empty empty empty 5 14 0 20 -260097 -191407 +0; +#X obj 0 -30 cnv 15 501 28 empty empty FX/Phaser 5 14 0 20 -139274 +-262144 0; +#X obj 19 470 K12/output; +#N canvas 415 278 392 172 META 0; +#X text 7 120 OUTLET_0 Connect this to a sound object or sound output +; +#X text 8 44 INLET_0 Connect a sound input here (like an instrument +or sound generator); +#X text 7 7 DESCRIPTION This applies flange-like (wah-wah) effect to +the incoming sound; +#X text 8 82 INLET_1 Connect a control object to adjust the frequency +(0 to 127 \, default 0); +#X restore 447 556 pd META; +#X obj 471 1 ggee/image @pd_extra/K12/icons/l2ork.png 0; +#X obj 19 208 K12/instr_sustained2; +#X obj 19 115 K12/math_number; +#X obj 117 115 K12/math_number; +#X obj 173 237 K12/math_number; +#X obj 396 79 K12/preset; +#X obj 19 327 K12/fx_phaser; +#X text 267 99 Use preset 0 to play original sound \, then recall presets +1 and 2 to hear processed sound., f 20; +#X text 121 324 Phaser is used to create a flange-like (wah-wah) sound +that sound. Use left inlet to connect sound you wish to process. Use +the right inlet to change the frequency (range 0 to 127 \, default +0). Each whole number corresponds to a 1/10 of Hz. Connect the outgoing +sound to output or other effects.; +#X connect 8 0 13 0; +#X connect 9 0 8 0; +#X connect 10 0 8 1; +#X connect 11 0 13 1; +#X connect 13 0 5 0; diff --git a/l2ork_addons/K12/fx_phaser.pd b/l2ork_addons/K12/fx_phaser.pd new file mode 100644 index 0000000000000000000000000000000000000000..3e217a6915393288aed691a7c1afa251426fa7f4 --- /dev/null +++ b/l2ork_addons/K12/fx_phaser.pd @@ -0,0 +1,36 @@ +#N canvas 304 119 406 376 10; +#X obj 210 161 inlet~; +#X obj 210 207 outlet~; +#X obj 298 -114 inlet; +#X obj 338 36 ggee/image @pd_extra/K12/objects/fx_phaser.png 1; +#X obj 331 -56 loadbang; +#X obj 391 4 preset_node k12; +#X obj 210 184 rj/e_phaser; +#X msg 273 135 freq \$1; +#X msg 329 135 depth \$1; +#X obj 298 34 hsl 74 14 0 127 0 1 \$0-s-null \$0-r-null empty -2 -8 +0 10 -262144 -1 -1 500 0; +#X obj 298 61 hsl 74 14 0 127 0 1 \$0-s-null \$0-r-null empty -2 -8 +0 10 -262144 -1 -1 4000 1; +#X text 297 45 low; +#X text 350 45 high; +#X text 345 72 depth; +#X obj 391 34 preset_node k12; +#X text 297 17 freq; +#X obj 329 111 / 100; +#X obj 273 111 / 10; +#X msg 331 -33 open @pd_extra/K12/objects/fx_phaser.png; +#X connect 0 0 6 0; +#X connect 2 0 9 0; +#X connect 4 0 18 0; +#X connect 5 0 9 0; +#X connect 6 0 1 0; +#X connect 7 0 6 1; +#X connect 8 0 6 1; +#X connect 9 0 17 0; +#X connect 10 0 16 0; +#X connect 14 0 10 0; +#X connect 16 0 8 0; +#X connect 17 0 7 0; +#X connect 18 0 3 0; +#X coords 0 -1 1 1 89 89 2 293 4; diff --git a/l2ork_addons/K12/fx_pitchshift-help.pd b/l2ork_addons/K12/fx_pitchshift-help.pd new file mode 100644 index 0000000000000000000000000000000000000000..9b8753b3cf3726617f4aaeac950853ec29f9cc69 --- /dev/null +++ b/l2ork_addons/K12/fx_pitchshift-help.pd @@ -0,0 +1,51 @@ +#N canvas 298 49 509 619 10; +#X obj 261 73 cnv 15 231 103 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 233 -22 preset_hub k12 %hidden% %node% 2 5 14 %preset% 0 100 +%preset% 1 100 %node% 2 5 28 %preset% 0 0 %preset% 1 0 %node% 2 11 +10 %node% 2 8 5 %preset% 0 0 %preset% 1 -12 %node% 2 9 7 %preset% 0 +60 %preset% 1 60 %node% 2 10 7 %preset% 0 1 %preset% 1 1 %node% 2 12 +7 %preset% 1 -12 %preset% 0 0 %node% 2 13 8 %node% 2 15 8 %preset% +0 100 %preset% 1 100 %node% 2 15 9 %preset% 0 0 %preset% 1 0 %node% +3 15 17 14 %preset% 0 /home/ico/K12/voice2.wav %preset% 1 /home/ico/K12/voice2.wav +; +#X obj 11 318 cnv 15 483 133 empty empty empty 20 12 0 14 -228856 -66577 +0; +#X obj 0 -2 cnv 3 501 3 empty empty empty 5 14 0 20 -260097 -191407 +0; +#X obj 0 -30 cnv 15 501 28 empty empty FX/Pitchshift 5 14 0 20 -139274 +-262144 0; +#X obj 19 470 K12/output; +#N canvas 425 288 392 172 META 0; +#X text 7 120 OUTLET_0 Connect this to a sound object or sound output +; +#X text 8 55 INLET_0 Connect a sound input here (like an instrument +or sound generator); +#X text 7 7 DESCRIPTION This changes the pitch of the incoming sound +by a desired number of semitones; +#X text 8 86 INLET_1 Connect a control object here to adjust the amount +of detune (-127 to 127 \, default 0); +#X restore 447 556 pd META; +#X obj 471 1 ggee/image @pd_extra/K12/icons/l2ork.png 0; +#X obj 19 325 K12/fx_pitchshift; +#X obj 19 115 K12/math_number; +#X obj 137 115 K12/math_number; +#X text 121 324 Pitchshift is used to transpose \, or change the pitch +of the incoming sound in real-time. This process is also known as detune. +Use left inlet to connect sound you wish to detune. Use the right inlet +to change the pitch (range -127 to 127 \, default 0). Each whole number +corresponds to a half-step (e.g. C to C#). You can also use decimal +numbers for pitches in between half-steps (e.g. 0.5 will detune by +a 1/4 of a step). Connect the outgoing sound to output or other effects. +; +#X obj 173 237 K12/math_number; +#X obj 396 79 K12/preset; +#X text 268 111 Use preset 0 to play original sound \, then recall +preset 1 to hear detuned sound., f 20; +#X obj 19 207 @pd_extra/K12/signal_player 0; +#X connect 8 0 5 0; +#X connect 9 0 15 0; +#X connect 10 0 15 1; +#X connect 12 0 8 1; +#X connect 15 0 8 0; +#X connect 15 1 10 0; diff --git a/l2ork_addons/K12/fx_pitchshift.pd b/l2ork_addons/K12/fx_pitchshift.pd new file mode 100644 index 0000000000000000000000000000000000000000..fd15bb3de08a7b8ef734942914c28312de6e8edd --- /dev/null +++ b/l2ork_addons/K12/fx_pitchshift.pd @@ -0,0 +1,23 @@ +#N canvas 304 119 406 320 10; +#X obj 210 111 inlet~; +#X obj 210 157 outlet~; +#X obj 296 -118 inlet; +#X obj 338 36 ggee/image @pd_extra/K12/objects/fx_pitchshift.png 1 +; +#X obj 331 -56 loadbang; +#X obj 391 4 preset_node k12; +#X obj 297 40 nbx 5 19 -127 127 0 1 \$0-s-null \$0-r-null empty 0 -8 +0 16 -262144 -1 -1 0 256 1; +#X text 321 57 pitch; +#X obj 210 134 rj/e_pitchshift; +#X msg 297 111 pitch \$1; +#X msg 331 -33 open @pd_extra/K12/objects/fx_pitchshift.png; +#X connect 0 0 8 0; +#X connect 2 0 6 0; +#X connect 4 0 10 0; +#X connect 5 0 6 0; +#X connect 6 0 9 0; +#X connect 8 0 1 0; +#X connect 9 0 8 1; +#X connect 10 0 3 0; +#X coords 0 -1 1 1 89 89 2 293 4; diff --git a/l2ork_addons/K12/icons-large/arduino_analog.png b/l2ork_addons/K12/icons-large/arduino_analog.png new file mode 100755 index 0000000000000000000000000000000000000000..048d8b36e2dbdba51b6d6626111af66e38512a09 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_analog_in.png b/l2ork_addons/K12/icons-large/arduino_analog_in.png new file mode 100644 index 0000000000000000000000000000000000000000..0879e191a5267633ebed5640f9b2c95a7ec442c1 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog_in.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_analog_in_off.png b/l2ork_addons/K12/icons-large/arduino_analog_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..6cba42391278d07b9f0ea537dbbcac980b216c2a Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog_in_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_analog_off.png b/l2ork_addons/K12/icons-large/arduino_analog_off.png new file mode 100755 index 0000000000000000000000000000000000000000..89f2168e7b4757585862a388dcd40610730d0ce8 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_analog_out.png b/l2ork_addons/K12/icons-large/arduino_analog_out.png new file mode 100644 index 0000000000000000000000000000000000000000..8b83da606933d828ed59fa203ea7654a24e08b17 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog_out.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_analog_out_off.png b/l2ork_addons/K12/icons-large/arduino_analog_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..46de7ad1e62a7941b4dc76e1495a5401adb9e616 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_analog_out_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital.png b/l2ork_addons/K12/icons-large/arduino_digital.png new file mode 100755 index 0000000000000000000000000000000000000000..4f0c433cea2bd8287e5e222e0a72845f3a1c2964 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital_in.png b/l2ork_addons/K12/icons-large/arduino_digital_in.png new file mode 100644 index 0000000000000000000000000000000000000000..b9feb6dc4e8fb9ac3c152de29d820e23e6fad83c Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital_in.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital_in_off.png b/l2ork_addons/K12/icons-large/arduino_digital_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..45d8006d3d93fd06d39d3ae11f3fe41a6873c649 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital_in_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital_off.png b/l2ork_addons/K12/icons-large/arduino_digital_off.png new file mode 100755 index 0000000000000000000000000000000000000000..c4e5801159f88f707d61fda8435e39284a36f6ef Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital_out.png b/l2ork_addons/K12/icons-large/arduino_digital_out.png new file mode 100644 index 0000000000000000000000000000000000000000..f0ee1faf78535e65bdf37ab40862bc05cf8d4e05 Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital_out.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_digital_out_off.png b/l2ork_addons/K12/icons-large/arduino_digital_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..555fd6706eccefafeff86f5fb7a84c143759a98d Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_digital_out_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_off.png b/l2ork_addons/K12/icons-large/arduino_off.png new file mode 100755 index 0000000000000000000000000000000000000000..4e7f0add1c50cd9ae534afb450cf65258199512a Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_off.png differ diff --git a/l2ork_addons/K12/icons-large/arduino_on.png b/l2ork_addons/K12/icons-large/arduino_on.png new file mode 100755 index 0000000000000000000000000000000000000000..91e2d2e9692783a8f3e8ad290aafac1eb937632f Binary files /dev/null and b/l2ork_addons/K12/icons-large/arduino_on.png differ diff --git a/l2ork_addons/K12/icons-large/fx_phaser.png b/l2ork_addons/K12/icons-large/fx_phaser.png new file mode 100644 index 0000000000000000000000000000000000000000..d1d401f4eb7df98dc676b3077146d86fde4d310a Binary files /dev/null and b/l2ork_addons/K12/icons-large/fx_phaser.png differ diff --git a/l2ork_addons/K12/icons-large/fx_pitchshift.png b/l2ork_addons/K12/icons-large/fx_pitchshift.png new file mode 100644 index 0000000000000000000000000000000000000000..ba66b3020a561951260604b25ad8ec011fa35ac2 Binary files /dev/null and b/l2ork_addons/K12/icons-large/fx_pitchshift.png differ diff --git a/l2ork_addons/K12/icons-large/icon_template.xcf b/l2ork_addons/K12/icons-large/icon_template.xcf index 01843a8224adb013fc931e6f46359f5c9513280b..623b564cf7d4132cb854fe372818fcdeaec5a075 100755 Binary files a/l2ork_addons/K12/icons-large/icon_template.xcf and b/l2ork_addons/K12/icons-large/icon_template.xcf differ diff --git a/l2ork_addons/K12/icons-large/instr_sustained1.xcf b/l2ork_addons/K12/icons-large/instr_sustained1.xcf new file mode 100644 index 0000000000000000000000000000000000000000..abd56e23bad2c5bcef45ac8707426ab09f272b08 Binary files /dev/null and b/l2ork_addons/K12/icons-large/instr_sustained1.xcf differ diff --git a/l2ork_addons/K12/icons-large/instr_sustained2.xcf b/l2ork_addons/K12/icons-large/instr_sustained2.xcf new file mode 100644 index 0000000000000000000000000000000000000000..8a5e6a14caa9466d4ba91dccb04632df4a4403cc Binary files /dev/null and b/l2ork_addons/K12/icons-large/instr_sustained2.xcf differ diff --git a/l2ork_addons/K12/icons-large/logic_hit.png b/l2ork_addons/K12/icons-large/logic_hit.png new file mode 100755 index 0000000000000000000000000000000000000000..26968c8959e3b8b860d36f6e716686ac49301a94 Binary files /dev/null and b/l2ork_addons/K12/icons-large/logic_hit.png differ diff --git a/l2ork_addons/K12/icons-large/midi_control.png b/l2ork_addons/K12/icons-large/midi_control.png new file mode 100755 index 0000000000000000000000000000000000000000..66fc7bcb5d47814d9fe58d3407dac31013d890ac Binary files /dev/null and b/l2ork_addons/K12/icons-large/midi_control.png differ diff --git a/l2ork_addons/K12/icons-large/midi_instrument.png b/l2ork_addons/K12/icons-large/midi_instrument.png new file mode 100755 index 0000000000000000000000000000000000000000..8236b8265dee028e2d16f60fed721f5ef90b6ee8 Binary files /dev/null and b/l2ork_addons/K12/icons-large/midi_instrument.png differ diff --git a/l2ork_addons/K12/icons-large/midi_note.png b/l2ork_addons/K12/icons-large/midi_note.png new file mode 100755 index 0000000000000000000000000000000000000000..5421a6757918b5afbf45139d868ea3eaebd40b85 Binary files /dev/null and b/l2ork_addons/K12/icons-large/midi_note.png differ diff --git a/l2ork_addons/K12/icons-large/midi_synth.png b/l2ork_addons/K12/icons-large/midi_synth.png new file mode 100755 index 0000000000000000000000000000000000000000..0889d4c7416667a7939d75fb4fd6460b6b6f3018 Binary files /dev/null and b/l2ork_addons/K12/icons-large/midi_synth.png differ diff --git a/l2ork_addons/K12/icons-large/sarcduino_analog_off.png b/l2ork_addons/K12/icons-large/sarcduino_analog_off.png new file mode 100755 index 0000000000000000000000000000000000000000..89f2168e7b4757585862a388dcd40610730d0ce8 Binary files /dev/null and b/l2ork_addons/K12/icons-large/sarcduino_analog_off.png differ diff --git a/l2ork_addons/K12/icons-large/sarcduino_digital_off.png b/l2ork_addons/K12/icons-large/sarcduino_digital_off.png new file mode 100755 index 0000000000000000000000000000000000000000..c4e5801159f88f707d61fda8435e39284a36f6ef Binary files /dev/null and b/l2ork_addons/K12/icons-large/sarcduino_digital_off.png differ diff --git a/l2ork_addons/K12/icons/arduino_analog.png b/l2ork_addons/K12/icons/arduino_analog.png new file mode 100755 index 0000000000000000000000000000000000000000..ebd51ee16fa1879f778ee913e66cb19f989153c9 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_analog.png differ diff --git a/l2ork_addons/K12/icons/arduino_analog_in.png b/l2ork_addons/K12/icons/arduino_analog_in.png new file mode 100644 index 0000000000000000000000000000000000000000..11e80f09320b18ff870151d9c757e918fc30c024 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_analog_in.png differ diff --git a/l2ork_addons/K12/icons/arduino_analog_in_off.png b/l2ork_addons/K12/icons/arduino_analog_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..529919af10aa3d59d288271caca383777cdcea76 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_analog_in_off.png differ diff --git a/l2ork_addons/K12/icons/arduino_analog_out.png b/l2ork_addons/K12/icons/arduino_analog_out.png new file mode 100644 index 0000000000000000000000000000000000000000..bc057d1d963deb06eedd472ca83d1de17f827f16 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_analog_out.png differ diff --git a/l2ork_addons/K12/icons/arduino_analog_out_off.png b/l2ork_addons/K12/icons/arduino_analog_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..8513ec17ec472f8d44543f9898212e78dfcd718b Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_analog_out_off.png differ diff --git a/l2ork_addons/K12/icons/arduino_digital.png b/l2ork_addons/K12/icons/arduino_digital.png new file mode 100755 index 0000000000000000000000000000000000000000..e3ef187324f01df1f9849939e3fab2ceffafb609 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_digital.png differ diff --git a/l2ork_addons/K12/icons/arduino_digital_in.png b/l2ork_addons/K12/icons/arduino_digital_in.png new file mode 100644 index 0000000000000000000000000000000000000000..7ec85e9ef3527d53aca6132eebf2c52db31e9e28 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_digital_in.png differ diff --git a/l2ork_addons/K12/icons/arduino_digital_in_off.png b/l2ork_addons/K12/icons/arduino_digital_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..4d2adf56ffab1201e1dfcc3463a5c5029b30ad1a Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_digital_in_off.png differ diff --git a/l2ork_addons/K12/icons/arduino_digital_out.png b/l2ork_addons/K12/icons/arduino_digital_out.png new file mode 100644 index 0000000000000000000000000000000000000000..8465cce6a45af8634831f42307a37b08f67471aa Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_digital_out.png differ diff --git a/l2ork_addons/K12/icons/arduino_digital_out_off.png b/l2ork_addons/K12/icons/arduino_digital_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..d4447fd0e032afd1e485eada284257643ab6e1c9 Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_digital_out_off.png differ diff --git a/l2ork_addons/K12/icons/arduino_on.png b/l2ork_addons/K12/icons/arduino_on.png new file mode 100755 index 0000000000000000000000000000000000000000..4bacf63e35c3168aff7632d6436a8efb6d6800fa Binary files /dev/null and b/l2ork_addons/K12/icons/arduino_on.png differ diff --git a/l2ork_addons/K12/icons/control.png b/l2ork_addons/K12/icons/control.png new file mode 100755 index 0000000000000000000000000000000000000000..177db4d044ef408bc45d615823ebb4d5247aa988 Binary files /dev/null and b/l2ork_addons/K12/icons/control.png differ diff --git a/l2ork_addons/K12/icons/control_on.png b/l2ork_addons/K12/icons/control_on.png new file mode 100755 index 0000000000000000000000000000000000000000..ebccf9bb71e4593f75ddc0096f174832cd1c5118 Binary files /dev/null and b/l2ork_addons/K12/icons/control_on.png differ diff --git a/l2ork_addons/K12/icons/fx_phaser.png b/l2ork_addons/K12/icons/fx_phaser.png new file mode 100644 index 0000000000000000000000000000000000000000..abec7316f1ecb60ba64ca700b76057809923991b Binary files /dev/null and b/l2ork_addons/K12/icons/fx_phaser.png differ diff --git a/l2ork_addons/K12/icons/fx_pitchshift.png b/l2ork_addons/K12/icons/fx_pitchshift.png new file mode 100644 index 0000000000000000000000000000000000000000..1cdecabfcbef3e36c4284634e31c4f242d235839 Binary files /dev/null and b/l2ork_addons/K12/icons/fx_pitchshift.png differ diff --git a/l2ork_addons/K12/icons/logic_hit.png b/l2ork_addons/K12/icons/logic_hit.png new file mode 100755 index 0000000000000000000000000000000000000000..244c9e99050d1f266e49e4df1a2683ed1eefeb55 Binary files /dev/null and b/l2ork_addons/K12/icons/logic_hit.png differ diff --git a/l2ork_addons/K12/icons/midi_control.png b/l2ork_addons/K12/icons/midi_control.png new file mode 100755 index 0000000000000000000000000000000000000000..c9f4290fd009c5e452675a058da925910ef7c154 Binary files /dev/null and b/l2ork_addons/K12/icons/midi_control.png differ diff --git a/l2ork_addons/K12/icons/midi_instrument.png b/l2ork_addons/K12/icons/midi_instrument.png new file mode 100755 index 0000000000000000000000000000000000000000..3e1b8efa13bc61bd7eb1ff64ebb4ac2b2bfa1f1d Binary files /dev/null and b/l2ork_addons/K12/icons/midi_instrument.png differ diff --git a/l2ork_addons/K12/icons/midi_note.png b/l2ork_addons/K12/icons/midi_note.png new file mode 100755 index 0000000000000000000000000000000000000000..14efebf67177f5d4bf73ec02e3320a8ac1194804 Binary files /dev/null and b/l2ork_addons/K12/icons/midi_note.png differ diff --git a/l2ork_addons/K12/icons/midi_synth.png b/l2ork_addons/K12/icons/midi_synth.png new file mode 100755 index 0000000000000000000000000000000000000000..a800894661268e3e5e7c28429a8ea32fa6be27d9 Binary files /dev/null and b/l2ork_addons/K12/icons/midi_synth.png differ diff --git a/l2ork_addons/K12/images/arduino_uno.png b/l2ork_addons/K12/images/arduino_uno.png new file mode 100755 index 0000000000000000000000000000000000000000..ea2d157cf1ee959e518efaa55db4abb8e582b5a6 Binary files /dev/null and b/l2ork_addons/K12/images/arduino_uno.png differ diff --git a/l2ork_addons/K12/instr_sustained1.pd b/l2ork_addons/K12/instr_sustained1.pd index 885404db3a21f43ab22615c8d9047b99b58f2b0d..40f92708529b41706404ee4ff7bc8e5f4a98864c 100755 --- a/l2ork_addons/K12/instr_sustained1.pd +++ b/l2ork_addons/K12/instr_sustained1.pd @@ -1,21 +1,25 @@ -#N canvas 739 169 438 262 10; +#N canvas 710 159 457 281 10; #X obj 285 42 ggee/image @pd_extra/K12/objects/instr_sustained1.png 1; -#X obj 147 131 outlet~; -#X obj 146 -77 noise~; -#X obj 147 57 svf~ 500 0.95; -#X obj 199 -107 inlet; -#X obj 199 -82 * 0.5; -#X obj 147 32 *~ 0.1; -#X obj 147 -5 *~; -#X obj 199 -34 line~; +#X obj 137 131 outlet~; +#X obj 136 -97 noise~; +#X obj 137 97 svf~ 500 0.95; +#X obj 209 -127 inlet; +#X obj 209 -102 * 0.5; +#X obj 137 72 *~ 0.1; +#X obj 137 42 *~; +#X obj 209 -54 line~; #X obj 251 49 cnv 15 51 21 empty empty Air 20 12 1 20 -262144 -66577 0; -#X obj 250 -107 inlet; -#X obj 285 -70 loadbang; -#X msg 285 -49 open @pd_extra/K12/objects/instr_sustained1.png; -#X obj 250 -85 mtof; -#X msg 199 -58 \$1 25; +#X obj 260 -127 inlet; +#X obj 294 -56 loadbang; +#X msg 294 -33 open @pd_extra/K12/objects/instr_sustained1.png; +#X obj 260 -55 mtof; +#X msg 209 -78 \$1 25; +#X obj 152 -54 loadbang; +#X msg 152 -32 0; +#X obj 299 -127 loadbang; +#X msg 299 -105 60; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 5 0; @@ -27,4 +31,8 @@ #X connect 11 0 12 0; #X connect 13 0 3 1; #X connect 14 0 8 0; +#X connect 15 0 16 0; +#X connect 16 0 7 1; +#X connect 17 0 18 0; +#X connect 18 0 13 0; #X coords 0 -1 1 1 89 89 2 240 10; diff --git a/l2ork_addons/K12/instr_sustained2.pd b/l2ork_addons/K12/instr_sustained2.pd index dea99897da9789f3ba50928ec375e85d964889ef..f5b637c62db81dadead92caa398f1b5c6c919b1c 100755 --- a/l2ork_addons/K12/instr_sustained2.pd +++ b/l2ork_addons/K12/instr_sustained2.pd @@ -1,22 +1,22 @@ -#N canvas 96 269 582 315 10; +#N canvas 86 259 582 335 10; #X obj 206 -3 inlet; -#X obj 110 119 *~; -#X obj 47 95 phasor~ 300; -#X obj 124 96 phasor~ 301; -#X obj 109 276 outlet~; -#X obj 110 145 svf~ 400; -#X obj 110 251 *~; -#X obj 109 173 *~; -#X obj 141 173 rand~; -#X obj 109 222 *~; -#X obj 261 128 osc~ 300; -#X obj 19 170 noise~; -#X obj 19 195 svf~ 300 0.8; -#X obj 19 219 *~ 0.1; -#X obj 139 203 loadbang; -#X msg 139 225 0; -#X obj 206 234 line~; -#X obj 139 73 + 1; +#X obj 109 146 *~; +#X obj 46 122 phasor~ 300; +#X obj 124 122 phasor~ 301; +#X obj 109 306 outlet~; +#X obj 109 172 svf~ 400; +#X obj 110 281 *~; +#X obj 109 203 *~; +#X obj 138 203 rand~; +#X obj 109 252 *~; +#X obj 261 158 osc~ 300; +#X obj 19 200 noise~; +#X obj 19 225 svf~ 300 0.8; +#X obj 19 249 *~ 0.1; +#X obj 139 233 loadbang; +#X msg 139 255 0; +#X obj 206 264 line~; +#X obj 124 100 + 1; #X obj 443 89 ggee/image @pd_extra/K12/objects/instr_sustained2.png 1; #X obj 400 93 cnv 15 65 23 empty empty Brass 16 12 1 20 -262144 -66577 @@ -24,8 +24,10 @@ #X obj 261 -4 inlet; #X obj 300 -4 loadbang; #X msg 300 17 open @pd_extra/K12/objects/instr_sustained2.png; -#X obj 261 17 mtof; -#X msg 206 211 \$1 25; +#X obj 261 57 mtof; +#X msg 206 241 \$1 25; +#X obj 142 -3 loadbang; +#X msg 142 19 60; #X connect 0 0 24 0; #X connect 1 0 5 0; #X connect 2 0 1 0; @@ -50,4 +52,6 @@ #X connect 23 0 12 1; #X connect 23 0 10 0; #X connect 24 0 16 0; +#X connect 25 0 26 0; +#X connect 26 0 23 0; #X coords 0 -1 1 1 89 89 2 398 57; diff --git a/l2ork_addons/K12/logic_hit-help.pd b/l2ork_addons/K12/logic_hit-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/logic_hit.pd b/l2ork_addons/K12/logic_hit.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/midi_control-help.pd b/l2ork_addons/K12/midi_control-help.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/midi_control.pd b/l2ork_addons/K12/midi_control.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/midi_instrument-help.pd b/l2ork_addons/K12/midi_instrument-help.pd old mode 100644 new mode 100755 index 048776a6aa73443205c166902d2fec76926d0c5d..7f86af7c87243dc2593d7670eaab6b51a7a0e552 --- a/l2ork_addons/K12/midi_instrument-help.pd +++ b/l2ork_addons/K12/midi_instrument-help.pd @@ -33,7 +33,7 @@ command on a specified channel; #X obj 230 34 K12/midi_note; #X obj 595 140 K12/midi_instrument; #X obj 595 57 K12/math_number; -#X text 452 -131 Recall leftmost preset㨠start the example. Then +#X text 452 -131 Recall leftmost presetto start the example. Then \, try the second., f 23; #X obj 230 -161 K12/math_number; #X obj 336 -161 K12/math_number; diff --git a/l2ork_addons/K12/midi_instrument.pd b/l2ork_addons/K12/midi_instrument.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/midi_note-help.pd b/l2ork_addons/K12/midi_note-help.pd old mode 100644 new mode 100755 index 0d94ffa624b6e5ba0060aa94aa9f2ab0786b9e62..b50cce5701f547da65b7f6899f309540b662cba2 --- a/l2ork_addons/K12/midi_note-help.pd +++ b/l2ork_addons/K12/midi_note-help.pd @@ -1,26 +1,22 @@ -#N canvas 96 21 502 652 10; -#X obj 224 -61 cnv 15 469 101 empty empty empty 20 12 0 14 -233017 +#N canvas 47 14 502 652 10; +#X obj 425 -238 preset_hub k12 1 %hidden% %node% 2 2 14 %preset% 0 +100 %preset% 1 100 %preset% 2 100 %preset% 3 100 %node% 2 2 28 %preset% +0 1 %preset% 1 1 %preset% 2 1 %preset% 3 1 %node% 2 8 8 %node% 2 9 +8 %node% 2 10 4 %preset% 0 1 %preset% 1 1 %preset% 2 1 %preset% 3 1 +%node% 2 10 5 %preset% 0 250 %preset% 1 2000 %preset% 2 0 %preset% +3 0 %node% 2 11 7 %preset% 0 127 %preset% 1 80 %preset% 2 127 %preset% +3 0 %node% 2 12 7 %preset% 0 60 %preset% 1 67 %preset% 2 40 %preset% +3 40; +#X obj 224 -61 cnv 15 469 268 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 470 -236 preset_hub k12 %hidden% %node% 2 13 8 %preset% 0 440 -%preset% 1 440 %preset% 2 440 %preset% 3 440 %node% 2 2 14 %preset% -0 100 %preset% 1 100 %preset% 2 72.093 %preset% 3 72.093 %node% 2 7 -5 %preset% 0 10 %preset% 1 20 %preset% 2 30 %preset% 3 40 %node% 2 -7 7 %preset% 0 60 %preset% 1 67 %preset% 2 30 %preset% 3 40 %node% -2 2 28 %preset% 0 1 %preset% 1 1 %node% 2 8 8 %node% 2 9 8 %node% 2 -10 4 %preset% 0 1 %preset% 1 1 %node% 2 10 5 %preset% 0 250 %preset% -1 2000 %node% 2 11 6 %preset% 0 1 %preset% 1 1 %node% 2 14 6 %preset% -0 1 %node% 2 14 5 %preset% 0 1 %node% 2 13 7 %preset% 0 127 %preset% -1 80 %node% 2 12 7 %node% 2 17 7 %node% 2 15 7 %preset% 0 60 %preset% -1 67 %node% 2 14 7 %preset% 0 127 %preset% 1 80 %node% 2 15 7 %preset% -0 60 %preset% 1 67; -#X obj 231 433 K12/output; -#N canvas 540 290 379 204 META 0; +#X obj 231 353 K12/output; +#N canvas 520 270 379 204 META 0; #X text 7 5 DESCRIPTION MIDI note works exclusively with the MIDI synth object and sends note on and off messages; #X text 7 53 INLET_0 Enter pitch (0-127); -#X text 7 79 INLET_0 Enter loudness (0-127 \, default 127); #X text 7 110 OUTLET_0 Connect to MIDI synth to create a note; -#X restore 649 507 pd META; +#X text 7 79 INLET_1 Enter loudness (0-127 \, default 127); +#X restore 655 429 pd META; #X obj 209 -215 cnv 3 501 3 empty empty empty 5 14 0 20 -260097 -191407 0; #X obj 209 -243 cnv 15 501 28 empty empty MIDI/Note 5 14 0 20 -139274 @@ -29,23 +25,28 @@ object and sends note on and off messages; #X obj 445 -183 cnv 15 253 102 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 602 -177 K12/preset; -#X obj 230 275 K12/midi_synth; +#X obj 230 225 K12/midi_synth; #X obj 230 -56 K12/midi_note; -#X obj 258 154 K12/midi_instrument; -#X obj 258 71 K12/math_number; -#X text 453 -130 Recall 0th preset㨠start the example \, then try -preset 1, f 23; #X obj 336 -158 K12/math_number; #X obj 230 -158 K12/math_number; #X text 327 -53 MIDI note issues notes to the soundfont player (MIDI synth). You can specify pitch (left inlet \, 0-127) \, loudness (right inlet \, 0-127 \, by default set to 127) \, and inside the object you can specify duration of each note in milliseconds (default 250ms or -1/4 of a second)., f 59; +1/4 of a second).SPECIAL CASE: if you set the duration to 0 \, notes +with loudness greater than 0 will play forever until the note object +receives the same pitch with the loudness of 0.In order for loudness +to affect the next note (since it by itself does not trigger a note +but rather defines how loud the next note will be) \, it needs to be +sent before the pitch. Otherwise loudness will trail one note behind. +Because presets do not guarantee the order by which the data is sent +to various objects \, and as such should be used strictly for general +setup. You can control the order by using objects that a readily available +in the default (non-K12) mode., f 59; +#X text 453 -157 Recall 0th presetto start the example \, then try +preset 1 Use presets 2 and for the SPECIAL CASE example., f 23; #X connect 9 0 2 0; #X connect 9 1 2 0; #X connect 10 0 9 0; -#X connect 11 0 9 0; -#X connect 12 0 11 0; -#X connect 14 0 10 1; -#X connect 15 0 10 0; +#X connect 11 0 10 1; +#X connect 12 0 10 0; diff --git a/l2ork_addons/K12/midi_note.pd b/l2ork_addons/K12/midi_note.pd old mode 100644 new mode 100755 index 64a49f69776853bf6f0698af19b13af6bf82852b..01b1e4313352f0b8acb768a02a29f7dc5deeb887 --- a/l2ork_addons/K12/midi_note.pd +++ b/l2ork_addons/K12/midi_note.pd @@ -1,4 +1,4 @@ -#N canvas 424 56 444 353 10; +#N canvas 414 46 444 410 10; #X obj 375 103 ggee/image @pd_extra/K12/objects/midi_note.png 1; #X obj 368 6 loadbang; #X obj 387 98 nbx 2 14 1 16 0 1 empty empty empty -7 -8 0 10 -262144 @@ -7,34 +7,41 @@ #X obj 426 71 preset_node k12; #X obj 427 97 preset_node k12; #X text 340 97 Channel:; -#X obj 347 129 nbx 5 14 1 1e+37 0 1 empty empty empty -4 -8 0 10 -262144 +#X obj 347 129 nbx 5 14 0 1e+37 0 1 empty empty empty -4 -8 0 10 -262144 -1 -1 250 256 1; #X msg 368 28 open @pd_extra/K12/objects/midi_note.png; #X text 347 112 Duration:; -#X obj 198 313 outlet; +#X obj 198 383 outlet; #X obj 198 202 t l l, f 18; #X msg 198 181 \$2 \$1; -#X obj 303 274 list append 0; -#X obj 198 160 pack f f f; +#X obj 303 340 list append 0; #X obj 285 70 inlet; -#X obj 303 223 pipe f f 250; -#X obj 303 248 pack 0 0; +#X obj 303 292 pipe f f 250; +#X obj 303 316 pack 0 0, f 12; #X obj 198 223 list append 127; +#X obj 198 160 pack f f; +#X obj 303 268 gate 1 1; +#X obj 372 200 t f f; +#X obj 399 223 > 0; #X connect 1 0 8 0; -#X connect 2 0 14 1; -#X connect 3 0 14 0; +#X connect 2 0 18 1; +#X connect 3 0 18 0; #X connect 4 0 2 0; #X connect 5 0 7 0; -#X connect 7 0 16 2; +#X connect 7 0 20 0; #X connect 8 0 0 0; -#X connect 11 0 18 0; -#X connect 11 1 16 0; +#X connect 11 0 17 0; +#X connect 11 1 19 1; #X connect 12 0 11 0; #X connect 13 0 10 0; -#X connect 14 0 12 0; -#X connect 15 0 18 1; -#X connect 16 0 17 0; -#X connect 16 1 17 1; -#X connect 17 0 13 0; -#X connect 18 0 10 0; +#X connect 14 0 17 1; +#X connect 15 0 16 0; +#X connect 15 1 16 1; +#X connect 16 0 13 0; +#X connect 17 0 10 0; +#X connect 18 0 12 0; +#X connect 19 0 15 0; +#X connect 20 0 15 2; +#X connect 20 1 21 0; +#X connect 21 0 19 0; #X coords 0 -1 1 1 89 89 2 330 71; diff --git a/l2ork_addons/K12/midi_synth-help.pd b/l2ork_addons/K12/midi_synth-help.pd old mode 100644 new mode 100755 index 6ee14f72bf8623047ba964be250fe31f49436064..a9d9ab2f5ffb997dcc3e837fdda87b3ea7a654ba --- a/l2ork_addons/K12/midi_synth-help.pd +++ b/l2ork_addons/K12/midi_synth-help.pd @@ -38,7 +38,7 @@ can mix it with the left if you are not interested in panning the sound) #X obj 230 -56 K12/midi_note; #X obj 342 27 K12/midi_instrument; #X obj 342 -56 K12/math_number; -#X text 453 -130 Recall 0th preset㨠start the example \, then try +#X text 453 -130 Recall 0th presetto start the example \, then try preset 1, f 23; #X obj 336 -158 K12/math_number; #X obj 454 -56 K12/math_number; @@ -50,9 +50,9 @@ exclusively from MIDI note (note on/off information) \, MIDI instrument (change instrument) \, and MIDI control (change instrument properties) objects. It outputs left (left outlet) and right (right outlet) audio channels \, thus allowing for sounds to be panned to different speakers -\, or (as is the case in this demo) mixed to the same speaker.You +\, or (as is the case in this demo) mixed to the same speaker.You can also open other custom sf2 soundfonts by clicking no the "open" -button. Such custom choices can be saved using the preset object.For +button. Such custom choices can be saved using the preset object.For a complete list of General MIDI sounds see:; #X obj 328 372 pddplink doc/GM_instrument_list.html; #X connect 9 0 2 0; diff --git a/l2ork_addons/K12/midi_synth.pd b/l2ork_addons/K12/midi_synth.pd old mode 100644 new mode 100755 diff --git a/l2ork_addons/K12/objects/arduino_analog.png b/l2ork_addons/K12/objects/arduino_analog.png new file mode 100755 index 0000000000000000000000000000000000000000..bbc7b94ac08be30f0ef763cd93eb9d6a5901ba1a Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog.png differ diff --git a/l2ork_addons/K12/objects/arduino_analog_in.png b/l2ork_addons/K12/objects/arduino_analog_in.png new file mode 100644 index 0000000000000000000000000000000000000000..66ef1a18002cdefeb48dd65925259133391351ab Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog_in.png differ diff --git a/l2ork_addons/K12/objects/arduino_analog_in_off.png b/l2ork_addons/K12/objects/arduino_analog_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..d1284d7650b42e9d550b017ab133c80b5b44a843 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog_in_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_analog_off.png b/l2ork_addons/K12/objects/arduino_analog_off.png new file mode 100755 index 0000000000000000000000000000000000000000..9b7e9700635fba59d0634cc5434119edf84b2f22 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_analog_out.png b/l2ork_addons/K12/objects/arduino_analog_out.png new file mode 100644 index 0000000000000000000000000000000000000000..bab09a83432e41793317bd6de8ec6643bae10b06 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog_out.png differ diff --git a/l2ork_addons/K12/objects/arduino_analog_out_off.png b/l2ork_addons/K12/objects/arduino_analog_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..87d270a6ef735ccd3e1ce314dcd6cc49cdb87bd5 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_analog_out_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital.png b/l2ork_addons/K12/objects/arduino_digital.png new file mode 100755 index 0000000000000000000000000000000000000000..eab2c453eae9df0434fbbdd9cf5afbedcefd6d71 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital_in.png b/l2ork_addons/K12/objects/arduino_digital_in.png new file mode 100644 index 0000000000000000000000000000000000000000..134ab1a115cb07441083180fbc1a409bf54ca95e Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital_in.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital_in_off.png b/l2ork_addons/K12/objects/arduino_digital_in_off.png new file mode 100644 index 0000000000000000000000000000000000000000..7bc1963b97ffedf82db9470bdd1a7972e49482c7 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital_in_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital_off.png b/l2ork_addons/K12/objects/arduino_digital_off.png new file mode 100755 index 0000000000000000000000000000000000000000..54964497ddce355701eddadd90e1840685de8b67 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital_out.png b/l2ork_addons/K12/objects/arduino_digital_out.png new file mode 100644 index 0000000000000000000000000000000000000000..36b3fc2c58340b87e44ccfc3752d65faaf70d574 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital_out.png differ diff --git a/l2ork_addons/K12/objects/arduino_digital_out_off.png b/l2ork_addons/K12/objects/arduino_digital_out_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3135b535bb3f557d46bb3b6919b9f26bed00e4ba Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_digital_out_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_off.png b/l2ork_addons/K12/objects/arduino_off.png new file mode 100755 index 0000000000000000000000000000000000000000..e76def2175ee67bfdacd99cc911c96d514ccb653 Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_off.png differ diff --git a/l2ork_addons/K12/objects/arduino_on.png b/l2ork_addons/K12/objects/arduino_on.png new file mode 100755 index 0000000000000000000000000000000000000000..4d5d323f6834f8a3066b3570f69b8b0930f6fbfa Binary files /dev/null and b/l2ork_addons/K12/objects/arduino_on.png differ diff --git a/l2ork_addons/K12/objects/fx_phaser.png b/l2ork_addons/K12/objects/fx_phaser.png new file mode 100644 index 0000000000000000000000000000000000000000..8cd2198addfa101471e8ca041859275aa21ee490 Binary files /dev/null and b/l2ork_addons/K12/objects/fx_phaser.png differ diff --git a/l2ork_addons/K12/objects/fx_pitchshift.png b/l2ork_addons/K12/objects/fx_pitchshift.png new file mode 100644 index 0000000000000000000000000000000000000000..6c43162856712f7d9dd1bf3eefe2d84dad527117 Binary files /dev/null and b/l2ork_addons/K12/objects/fx_pitchshift.png differ diff --git a/l2ork_addons/K12/objects/lgoic_hit2.png b/l2ork_addons/K12/objects/lgoic_hit2.png new file mode 100755 index 0000000000000000000000000000000000000000..03468f70d60eeaf9ba097902ba22387a329551c3 Binary files /dev/null and b/l2ork_addons/K12/objects/lgoic_hit2.png differ diff --git a/l2ork_addons/K12/objects/logic_hit1.png b/l2ork_addons/K12/objects/logic_hit1.png new file mode 100755 index 0000000000000000000000000000000000000000..e5cc1dc67648ab0908928d300278329357aa55bb Binary files /dev/null and b/l2ork_addons/K12/objects/logic_hit1.png differ diff --git a/l2ork_addons/K12/objects/logic_hit3.png b/l2ork_addons/K12/objects/logic_hit3.png new file mode 100755 index 0000000000000000000000000000000000000000..11d28b43877582e1d84b452b3f813fe7008f69cc Binary files /dev/null and b/l2ork_addons/K12/objects/logic_hit3.png differ diff --git a/l2ork_addons/K12/objects/logic_hit4.png b/l2ork_addons/K12/objects/logic_hit4.png new file mode 100755 index 0000000000000000000000000000000000000000..d3acee70c6d6cb1a49266764b63e0f740068ffff Binary files /dev/null and b/l2ork_addons/K12/objects/logic_hit4.png differ diff --git a/l2ork_addons/K12/objects/logic_hit5.png b/l2ork_addons/K12/objects/logic_hit5.png new file mode 100755 index 0000000000000000000000000000000000000000..7e9a687b4ba619f256bde2e26b7c409065ce09dd Binary files /dev/null and b/l2ork_addons/K12/objects/logic_hit5.png differ diff --git a/l2ork_addons/K12/objects/logic_hit6.png b/l2ork_addons/K12/objects/logic_hit6.png new file mode 100755 index 0000000000000000000000000000000000000000..c5cc3347a1dddbfcd703ca4b06e7aef06e720275 Binary files /dev/null and b/l2ork_addons/K12/objects/logic_hit6.png differ diff --git a/l2ork_addons/K12/objects/midi_control.png b/l2ork_addons/K12/objects/midi_control.png new file mode 100755 index 0000000000000000000000000000000000000000..f245c3a587d438e09f97af5d91bb1c783ec0dae7 Binary files /dev/null and b/l2ork_addons/K12/objects/midi_control.png differ diff --git a/l2ork_addons/K12/objects/midi_instrument.png b/l2ork_addons/K12/objects/midi_instrument.png new file mode 100755 index 0000000000000000000000000000000000000000..b1f2bd6b5882bd51951d7ad87f113f36172e13de Binary files /dev/null and b/l2ork_addons/K12/objects/midi_instrument.png differ diff --git a/l2ork_addons/K12/objects/midi_note.png b/l2ork_addons/K12/objects/midi_note.png new file mode 100755 index 0000000000000000000000000000000000000000..69213c0a6290fb886ad9fae1d496d123265865b4 Binary files /dev/null and b/l2ork_addons/K12/objects/midi_note.png differ diff --git a/l2ork_addons/K12/objects/midi_synth.png b/l2ork_addons/K12/objects/midi_synth.png new file mode 100755 index 0000000000000000000000000000000000000000..cec59b38b57654a79d0ec60d642f95726da98929 Binary files /dev/null and b/l2ork_addons/K12/objects/midi_synth.png differ diff --git a/l2ork_addons/K12/objects/object_template.xcf b/l2ork_addons/K12/objects/object_template.xcf index e2fad30be003c461589c88ea453df1d309b48dd1..395ab3d309d95ac0df52ee9c2ad33bfcff1bd5f1 100755 Binary files a/l2ork_addons/K12/objects/object_template.xcf and b/l2ork_addons/K12/objects/object_template.xcf differ diff --git a/l2ork_addons/K12/preset-help.pd b/l2ork_addons/K12/preset-help.pd index 28f9c4a100aa05c246cf9f521f4c50e6a3054481..fd69dbc90c752998a46784625b64a77408c2627b 100755 --- a/l2ork_addons/K12/preset-help.pd +++ b/l2ork_addons/K12/preset-help.pd @@ -35,7 +35,7 @@ have different numbers in this Math Number object. Click on recall in the Preset object and notice that the number changes. Then \, change the number in the number box and click on one of the store boxes. When you click on the recall box for that store \, you will see that it -recalls the number you set.IMPORTANT! When recalling presets \, values +recalls the number you set.IMPORTANT! When recalling presets \, values will be distributed to objects in the order they were created. This could mean that the pitch (for instance) will reach a MIDI instrument before loudness and as such \, the loudness change will only affect diff --git a/l2ork_addons/K12/sarcduino_connect.pd b/l2ork_addons/K12/sarcduino_connect.pd old mode 100644 new mode 100755