Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
BIN  libPDxyPadWii/data/amen_brother.wav
View
Binary file not shown
BIN  libPDxyPadWii/data/amen_brother2.wav
View
Binary file not shown
172 libPDxyPadWii/data/sawdrone5.pd
View
@@ -4,7 +4,7 @@
#X obj -1 64 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256;
#X obj -3 232 *~ 0.5;
-#X obj -3 328 dac~;
+#X obj -2 350 dac~;
#X obj -3 298 +~;
#X obj 35 297 +~;
#X obj -4 -8 declare -path rj;
@@ -84,7 +84,7 @@ dry 0 \, delay 500;
#X connect 30 0 4 0;
#X connect 31 0 26 2;
#X restore -2 209 pd delay;
-#X obj 43 232 line;
+#X obj 77 228 line;
#X obj -1 39 r freq;
#X obj 61 39 r note;
#X obj 61 61 mtof;
@@ -99,60 +99,49 @@ dry 0 \, delay 500;
#X obj 143 235 line;
#X msg 142 213 \$1 1000;
#X obj 57 265 rev3~ 100 92 3000 40;
-#X obj 345 102 metro 500;
-#X obj 305 102 timer;
-#X obj 305 134 s timeSymbol;
+#X obj 336 58 metro 500;
+#X obj 296 58 timer;
+#X obj 296 90 s timeSymbol;
#X obj 250 172 r delay;
-#X msg 146 127 0.5 80;
#N canvas 0 22 450 300 (subpatch) 0;
-#X array array1 308112 float 2;
-#X coords 0 1 308112 -1 200 140 1;
+#X array array1 307484 float 2;
+#X coords 0 1 307484 -1 200 140 1;
#X restore 47 354 graph;
-#X obj 285 221 soundfiler;
-#X msg 315 195 read ../doc/sound/vocal.aiff array2;
+#X obj 315 198 soundfiler;
#X msg 315 172 read -resize amen_brother.wav array1;
-#X obj 596 424 print~;
-#X msg 596 389 bang;
-#X obj 354 382 loop~;
-#X floatatom 408 321 0 0 0 0 - - -;
-#X obj 525 424 print~;
-#X msg 525 389 bang;
-#X obj 358 449 *~;
+#X floatatom 335 231 0 0 0 0 - - -;
#X obj 358 541 hip~ 5;
-#X obj 404 453 samphold~;
-#X floatatom 438 345 0 0 0 0 - - -;
-#X obj 438 368 *~ 1000;
-#X msg 379 253 set 0.5;
-#X text 437 238 left signal input is transposition (1 is normal \,
-2 is up an octave \, etc);
-#X text 458 270 set phase (0 to 1);
-#X text 446 295 reset phase to 0;
#X text 446 320 right signal input is window size in samples;
-#X text 476 344 here's how to handle onsets;
#X obj 358 518 *~;
-#X floatatom 509 474 0 0 0 0 - - -;
-#X obj 509 543 line~;
-#X obj 509 497 dbtorms;
-#X obj 509 520 pack 0 50;
-#X text 543 473 output level 0-100;
-#X text 529 368 print outputs;
+#X obj 445 442 line~;
+#X obj 445 396 dbtorms;
+#X obj 445 419 pack 0 50;
#X obj 358 495 tabread4~ array1;
#X obj 537 31 r trigger;
-#X msg 344 302 bang;
#X msg 561 173 100;
-#X obj 295 320 1;
-#X obj 286 256 t b b f;
-#X msg 428 89 read -resize /Users/evan/Documents/Processing2/CreativeCode/libPDxyPadWii/data/amen_brother.wav
-array1;
-#X obj 355 14 loadbang;
-#X obj 441 33 t b;
-#X obj 289 432 *~;
-#X obj 287 397 saw~;
-#X obj 226 320 / 1;
-#X obj 216 261 t b f;
-#X obj 259 369 print;
-#X obj 207 291 44100;
-#X msg 264 286 0.2;
+#X obj 261 26 loadbang;
+#X obj 261 57 t b;
+#X obj 313 458 *~;
+#X obj 280 291 / 1;
+#X obj 282 232 t b f;
+#X obj 281 263 44100;
+#X floatatom 445 373 0 0 0 0 - - -;
+#X text 479 372 output level 0-100;
+#X obj 280 371 +~ 1;
+#X obj 347 426 snapshot~;
+#X obj 353 464 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
+-262144 -1 -1 0.772276 256;
+#X obj 280 341 phasor~;
+#X obj 336 260 - 2;
+#X obj 280 396 *~ 0.5;
+#X obj 280 316 * 2;
+#X obj 498 345 r beatlevel;
+#X obj 559 238 - 100;
+#X obj 612 237 100;
+#X obj 574 123 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X msg 146 127 0.5 80;
+#X obj 0 150 *~ 0.3;
#X connect 0 0 10 0;
#X connect 0 0 8 0;
#X connect 0 0 9 0;
@@ -162,18 +151,18 @@ array1;
#X connect 1 0 26 1;
#X connect 3 0 2 0;
#X connect 4 0 2 1;
-#X connect 7 0 23 0;
-#X connect 8 0 23 0;
+#X connect 7 0 64 0;
+#X connect 8 0 64 0;
#X connect 9 0 7 0;
#X connect 10 0 11 0;
-#X connect 11 0 23 0;
+#X connect 11 0 64 0;
#X connect 12 0 1 0;
#X connect 13 0 1 1;
#X connect 14 0 0 0;
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X connect 17 0 19 0;
-#X connect 18 0 31 0;
+#X connect 18 0 63 0;
#X connect 19 0 13 0;
#X connect 20 0 23 1;
#X connect 21 0 23 1;
@@ -184,50 +173,43 @@ array1;
#X connect 26 0 3 1;
#X connect 26 1 4 1;
#X connect 27 0 28 1;
+#X connect 27 0 53 0;
#X connect 28 0 29 0;
#X connect 30 0 12 1;
-#X connect 31 0 13 0;
-#X connect 33 0 65 0;
-#X connect 34 0 33 0;
-#X connect 35 0 33 0;
-#X connect 37 0 36 0;
-#X connect 38 0 40 0;
-#X connect 38 0 42 0;
-#X connect 38 0 44 1;
-#X connect 38 1 36 0;
-#X connect 38 1 42 1;
-#X connect 39 0 38 1;
-#X connect 39 0 69 1;
-#X connect 41 0 40 0;
-#X connect 43 0 12 0;
-#X connect 43 0 26 0;
-#X connect 45 0 46 0;
-#X connect 46 0 44 0;
-#X connect 47 0 38 0;
-#X connect 53 0 43 0;
-#X connect 54 0 56 0;
-#X connect 55 0 53 1;
-#X connect 56 0 57 0;
-#X connect 57 0 55 0;
-#X connect 60 0 53 0;
-#X connect 62 0 38 0;
-#X connect 63 0 54 0;
-#X connect 64 0 38 0;
-#X connect 64 0 70 0;
-#X connect 65 0 75 0;
-#X connect 65 1 38 0;
-#X connect 65 2 39 0;
-#X connect 66 0 33 0;
-#X connect 67 0 68 0;
-#X connect 68 0 27 0;
-#X connect 68 0 28 0;
-#X connect 68 0 63 0;
-#X connect 68 0 35 0;
-#X connect 69 0 60 0;
-#X connect 70 0 69 0;
-#X connect 71 0 70 0;
-#X connect 71 0 73 0;
-#X connect 72 0 74 0;
-#X connect 72 1 71 1;
-#X connect 74 0 71 0;
-#X connect 75 0 70 0;
+#X connect 32 0 48 0;
+#X connect 32 0 34 0;
+#X connect 33 0 32 0;
+#X connect 34 0 56 0;
+#X connect 35 0 12 0;
+#X connect 35 0 26 0;
+#X connect 35 0 23 0;
+#X connect 37 0 35 0;
+#X connect 38 0 37 1;
+#X connect 39 0 40 0;
+#X connect 40 0 38 0;
+#X connect 41 0 37 0;
+#X connect 42 0 43 0;
+#X connect 43 0 60 0;
+#X connect 44 0 45 0;
+#X connect 45 0 28 0;
+#X connect 45 0 33 0;
+#X connect 46 0 41 0;
+#X connect 47 0 58 0;
+#X connect 48 0 49 0;
+#X connect 48 1 47 1;
+#X connect 49 0 47 0;
+#X connect 50 0 39 0;
+#X connect 52 0 57 0;
+#X connect 53 0 54 0;
+#X connect 55 0 52 0;
+#X connect 56 0 46 1;
+#X connect 57 0 46 0;
+#X connect 57 0 53 0;
+#X connect 58 0 55 0;
+#X connect 59 0 39 0;
+#X connect 60 0 61 0;
+#X connect 60 0 50 0;
+#X connect 61 0 60 1;
+#X connect 62 0 43 0;
+#X connect 63 0 13 0;
+#X connect 64 0 23 0;
16 libPDxyPadWii/libPDxyPadWii.pde
View
@@ -1,5 +1,19 @@
import com.noisepages.nettoyeur.processing.*;
+/*
+ * Using libpd and a Wii nunchuck connected via an Arduino to make a nice breakbeat synth thing
+ *
+ * by Evan Raskob, copyright 2012
+ * computational Designer in Residence at Ravensbourne http://rave.ac.uk
+ * libPDxyPadWii by Evan Raskob is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
+ * http://creativecommons.org/licenses/by-sa/3.0/
+ * (other included code has differing licenses)
+ * Based on a work from the libPd library for Processing: https://github.com/libpd/puredatap5
+ *
+ */
+
+
+
PureDataP5Jack pd;
boolean freqy = true;
boolean rez = false;
@@ -13,6 +27,8 @@ void setup() {
pd.openPatch(dataFile("sawdrone5.pd"));
//pd.subscribe("timeSymbol");
pd.start();
+
+ // if you don't use the wii nunchuck and arduino, comment this next line out:
setupWiiChuck();
}

No commit comments for this range

Something went wrong with that request. Please try again.