Skip to content

Commit

Permalink
Patchs: add pure-data plot patchs
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Dec 9, 2024
1 parent 8d3fb0f commit e923290
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 32 deletions.
1 change: 1 addition & 0 deletions BinaryData/Patchs/partiels-plot-matrix-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#X text 165 10 - plots the matrix data received from the Partiels application, f 62;
#X text 13 42 The [partiels-plot-matrix] abstraction stores and plots the OSC data received from a matrix track of the Partiels application into an array. Array size and value scales are automatically updated according to track zooms in the Partiels application. To run this patch \, you should open the Partiels document Voice.ptldoc and enable the OSC., f 96;
#X msg 239 230 send john;
#X obj 87 602 partiels-plot-point;
#X connect 0 0 12 0;
#X connect 1 0 0 0;
#X connect 2 0 12 0;
Expand Down
13 changes: 5 additions & 8 deletions BinaryData/Patchs/partiels-plot-point-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 305 248 722 633 12;
#N canvas 726 168 722 633 12;
#X obj 55 157 oscparse;
#X obj 55 132 netreceive -u -b 9001;
#X msg 239 173 id 9c0e3843c2ba4b4eb0e3c3812215b024;
Expand All @@ -10,16 +10,13 @@
#X text 62 184 Receive the OSC data as a list, f 17;
#X obj 12 10 partiels-plot-point;
#X text 155 10 - plots the point data received from the Partiels application, f 62;
#X obj 54 344 hsl 612 193 0 22050 0 0 empty \$0-frequency empty -2 -10 0 12 #fcfcfc #000000 #000000 0 1;
#X obj 54 344 hsl 612 193 0 2188.51 0 0 empty \$0-frequency empty -2 -10 0 12 #fcfcfc #000000 #000000 0 1;
#X obj 55 282 partiels-plot-point e0996805fc874a6d98e36e7cfa86ac1c \$0-frequency, f 32;
#X text 303 291 1st argument: The id of the track to follow 2nd argument: The symbol of the slider, f 44;
#X text 13 42 The [partiels-plot-point] abstraction stores and plots the OSC data received from a point track of the Partiels application with a slider. Value scales are automatically updated according to track zooms in the Partiels application. To run this patch \, you should open the Partiels document Voice.ptldoc and enable the OSC., f 96;
#X msg 536 219 score \$1;
#X obj 536 194 nbx 5 17 0 1 0 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000 0 256;
#X msg 239 230 send john;
#X text 13 42 The [partiels-plot-point] abstraction stores and plots the OSC data received from a point track of the Partiels application with a slider. Value scale and thresholds are automatically updated according to track zooms and properties in the Partiels application. To run this patch \, you should open the Partiels document Voice.ptldoc and enable the OSC., f 96;
#X obj 87 602 partiels-plot-matrix;
#X connect 0 0 12 0;
#X connect 1 0 0 0;
#X connect 2 0 12 0;
#X connect 15 0 12 0;
#X connect 16 0 15 0;
#X connect 17 0 12 0;
#X connect 14 0 12 0;
95 changes: 71 additions & 24 deletions BinaryData/Patchs/partiels-plot-point.pd
Original file line number Diff line number Diff line change
@@ -1,31 +1,78 @@
#N canvas 311 337 454 443 12;
#N canvas 1045 222 492 464 12;
#X obj 64 37 inlet;
#X obj 64 113 route \$1, f 16;
#X obj 131 167 list split 5;
#X obj 201 167 list split 5;
#X obj 172 90 symbol;
#X obj 171 325 s, f 6;
#X obj 210 273 loadbang;
#X obj 210 297 symbol \$2;
#X obj 171 195 unpack f f;
#X obj 171 239 spigot, f 10;
#X obj 238 218 > -1e+21;
#X obj 64 61 route list id send score, f 47;
#X obj 64 137 route zoom;
#X msg 64 231 range \$3 \$4;
#X connect 0 0 10 0;
#X connect 1 0 11 0;
#X connect 2 1 7 0;
#X obj 241 325 s, f 6;
#X obj 280 273 loadbang;
#X obj 280 297 symbol \$2;
#X obj 241 242 spigot, f 10;
#X msg 134 231 range \$3 \$4;
#X obj 64 61 route list id send, f 46;
#X obj 241 195 list split 1, f 19;
#N canvas 690 390 592 434 iter 0;
#X obj 9 121 until;
#X obj 9 264 list store, f 16;
#X obj 9 146 f, f 7;
#X obj 67 147 + 1;
#X msg 55 121 0, f 2;
#X msg 9 197 get \$1 1;
#X obj 9 20 inlet;
#X obj 9 388 outlet;
#X obj 9 44 t b l, f 16;
#X obj 9 88 t b b, f 7;
#X obj 156 16 inlet;
#X obj 9 221 t a a, f 22;
#X obj 160 261 list store, f 16;
#X obj 160 285 route -;
#X msg 160 309 -1e+21;
#X obj 9 318 >;
#X obj 41 342 sel 0;
#X obj 160 333 f;
#X obj 156 40 t b a, f 16;
#X connect 0 0 2 0;
#X connect 1 0 15 0;
#X connect 1 1 0 1;
#X connect 2 0 3 0;
#X connect 2 0 5 0;
#X connect 3 0 2 1;
#X connect 4 0 2 1;
#X connect 5 0 11 0;
#X connect 6 0 8 0;
#X connect 8 0 9 0;
#X connect 8 1 1 1;
#X connect 9 0 0 0;
#X connect 9 1 4 0;
#X connect 9 1 14 0;
#X connect 10 0 18 0;
#X connect 11 0 1 0;
#X connect 11 1 12 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 13 1 17 0;
#X connect 14 0 17 0;
#X connect 15 0 16 0;
#X connect 15 0 7 0;
#X connect 16 0 0 1;
#X connect 17 0 15 1;
#X connect 18 0 9 0;
#X connect 18 1 12 1;
#X restore 307 220 pd iter;
#X obj 64 137 route thresholds zoom;
#X connect 0 0 9 0;
#X connect 1 0 12 0;
#X connect 2 1 10 0;
#X connect 3 0 1 1;
#X connect 5 0 6 0;
#X connect 6 0 4 1;
#X connect 7 0 8 0;
#X connect 7 1 9 0;
#X connect 7 0 4 0;
#X connect 8 0 4 0;
#X connect 9 0 8 1;
#X connect 10 0 1 0;
#X connect 10 1 3 0;
#X connect 10 2 6 1;
#X connect 10 3 9 1;
#X connect 11 0 12 0;
#X connect 11 1 2 0;
#X connect 12 0 4 0;
#X connect 9 0 1 0;
#X connect 9 1 3 0;
#X connect 9 2 6 1;
#X connect 10 0 7 0;
#X connect 10 1 11 0;
#X connect 11 0 7 1;
#X connect 12 0 11 1;
#X connect 12 1 8 0;
#X connect 12 2 2 0;

0 comments on commit e923290

Please sign in to comment.