Skip to content

Commit

Permalink
Z
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jun 20, 2024
1 parent 58e209e commit f785549
Show file tree
Hide file tree
Showing 4 changed files with 368 additions and 162 deletions.
92 changes: 50 additions & 42 deletions documentation/help_files/xnotein-help.pd
Original file line number Diff line number Diff line change
@@ -1,52 +1,60 @@
#N canvas 443 23 558 596 10;
#X obj 2 338 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 381 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 504 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 81 400 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 81 351 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X msg 153 156 144 \, 68 \, 120;
#X msg 181 180 128 \, 68 \, 88;
#X obj 221 254 tgl 18 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000 0 1;
#X obj 81 426 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 81 450 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 589 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 568 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 158 427 -;
#X text 118 427 float;
#X text 158 452 -;
#X text 118 452 float;
#X text 158 514 -;
#X text 100 514 1) float;
#X text 158 400 -;
#X text 118 400 float;
#X obj 97 166 midiin;
#X text 235 156 Note On (raw MIDI data);
#X text 257 180 Note Off (raw MIDI data);
#X text 279 234 MIDI channel;
#X obj 190 301 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 207 281 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 230 302 Pitch;
#X obj 240 234 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 242 256 Note On (1) / Note Off (0);
#N canvas 443 23 561 673 10;
#X obj 2 418 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 461 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 584 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 96 480 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 96 431 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X msg 177 153 144 \, 68 \, 120;
#X msg 205 177 128 \, 68 \, 88;
#X obj 245 251 tgl 18 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000 0 1;
#X obj 96 506 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 96 530 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 664 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 643 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 173 507 -;
#X text 133 507 float;
#X text 173 532 -;
#X text 133 532 float;
#X text 158 594 -;
#X text 100 594 1) float;
#X text 173 480 -;
#X text 133 480 float;
#X obj 121 163 midiin;
#X text 259 153 Note On (raw MIDI data);
#X text 281 177 Note Off (raw MIDI data);
#X text 303 231 MIDI channel;
#X obj 214 298 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 231 278 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 254 299 Pitch;
#X obj 264 231 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 266 253 Note On (1) / Note Off (0);
#X text 75 90 [xnotein] is more powerful than [notein] as it retrieves (from raw MIDI data streams) not only Note On Velocity but also Note Off (Release) velocity.;
#X text 248 283 Note On/Off Velocity;
#X text 113 353 float;
#X text 158 353 - raw MIDI data stream;
#X text 173 427 velocity of Note On and Note Off Messages, f 60;
#X text 173 452 state: Note On (1) / Note Off (0 - for Note Off messages);
#X obj 153 211 cyclone/xnotein;
#X text 172 514 sets channel number - if no channel is set \, the object has an extra right outlet that outputs the MIDI channel number. The default is no channel set.;
#X obj 81 473 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 158 475 -;
#X text 118 475 float;
#X text 173 475 MIDI channel;
#X text 173 400 MIDI note number (pitch), f 60;
#X text 272 280 Note On/Off Velocity;
#X text 128 433 float;
#X text 173 433 - raw MIDI data stream;
#X text 188 507 velocity of Note On and Note Off Messages, f 57;
#X text 188 532 state: Note On (1) / Note Off (0 - for Note Off messages);
#X obj 177 208 cyclone/xnotein;
#X text 172 594 sets channel number - if no channel is set \, the object has an extra right outlet that outputs the MIDI channel number. The default is no channel set.;
#X obj 96 553 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 173 555 -;
#X text 133 555 float;
#X text 188 555 MIDI channel;
#X text 188 480 MIDI note number (pitch), f 57;
#X obj 3 3 ./header xnotein;
#X text 22 63 Retrieve release velocity messages;
#X text 53 348 see also:;
#X obj 422 378 open-else;
#X text 475 356 click;
#X obj 119 349 notein;
#X msg 422 356 note.in;
#X text 180 353 Plugdata users or those with ELSE can also use [else/note.in] as a much more nicely designed as an alternative, f 38;
#X obj 54 373 cyclone/midiparse;
#X connect 5 0 35 0;
#X connect 6 0 35 0;
#X connect 20 0 35 0;
#X connect 35 0 24 0;
#X connect 35 1 25 0;
#X connect 35 2 7 0;
#X connect 35 3 27 0;
#X connect 48 0 45 0;
64 changes: 36 additions & 28 deletions documentation/help_files/xnoteout-help.pd
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#N canvas 388 81 558 494 10;
#X obj 2 264 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 376 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 422 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 129 385 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 277 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 300 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 324 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 349 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 489 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 468 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#N canvas 505 44 556 591 10;
#X obj 2 354 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 466 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 512 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 129 475 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 367 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 390 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 414 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 129 439 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 579 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 558 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 166 195 cyclone/xnoteout, f 26;
#X text 206 437 -;
#X text 148 437 1) float;
#X text 206 301 -;
#X text 166 301 float;
#X text 206 326 -;
#X text 166 326 float;
#X text 206 277 -;
#X text 166 277 float;
#X text 206 350 -;
#X text 166 350 float;
#X text 166 386 float;
#X text 206 527 -;
#X text 148 527 1) float;
#X text 206 391 -;
#X text 166 391 float;
#X text 206 416 -;
#X text 166 416 float;
#X text 206 367 -;
#X text 166 367 float;
#X text 206 440 -;
#X text 166 440 float;
#X text 166 476 float;
#X obj 166 233 midiout;
#X text 75 90 [xnoteout] is more powerful than [noteout] as it send not only Note On Velocity but also Note Off (Release) velocity.;
#X obj 268 158 tgl 18 0 empty empty empty 0 -6 0 8 #d0d0d0 #404040 #000000 0 1;
Expand All @@ -31,16 +31,24 @@
#X text 312 143 channel;
#X text 199 142 velocity;
#X text 156 142 pitch;
#X text 221 277 MIDI note number (pitch), f 43;
#X text 221 301 velocity of Note On and Note Off Messages, f 43;
#X text 221 326 state: Note On (1) / Note Off, f 43;
#X text 221 350 MIDI channel, f 43;
#X text 206 386 - raw MIDI data stream, f 46;
#X text 220 437 initial MIDI channel, f 44;
#X text 221 367 MIDI note number (pitch), f 43;
#X text 221 391 velocity of Note On and Note Off Messages, f 43;
#X text 221 416 state: Note On (1) / Note Off, f 43;
#X text 221 440 MIDI channel, f 43;
#X text 206 476 - raw MIDI data stream, f 46;
#X text 220 527 initial MIDI channel, f 44;
#X obj 4 4 ./header xnoteout;
#X text 22 63 Send release velocity messages;
#X text 41 279 see also:;
#X obj 426 307 open-else;
#X text 483 285 click;
#X obj 107 280 noteout;
#X obj 41 304 cyclone/midiformat;
#X msg 426 285 note.out;
#X text 173 284 Plugdata users or those with ELSE can also use [else/note.out] as a much more nicely designed as an alternative, f 38;
#X connect 10 0 22 0;
#X connect 24 0 10 2;
#X connect 25 0 10 0;
#X connect 26 0 10 1;
#X connect 27 0 10 3;
#X connect 45 0 41 0;
42 changes: 24 additions & 18 deletions documentation/help_files/zerox~-help.pd
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#N canvas 396 52 561 593 10;
#N canvas 437 35 561 668 10;
#X declare -stdpath ./;
#X obj 5 566 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 5 408 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 463 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 84 419 cnv 17 3 36 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 84 473 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 129 418 signal;
#X text 129 472 signal;
#X obj 84 497 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 129 497 signal;
#X obj 5 636 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 5 478 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 533 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 84 489 cnv 17 3 36 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 84 543 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 129 488 signal;
#X text 129 542 signal;
#X obj 84 567 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 129 567 signal;
#X obj 162 242 cyclone/zerox~;
#X obj 5 529 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X text 118 540 1) float;
#X text 99 439 set <float>;
#X text 183 439 - set impulse value sent to right outlet;
#X obj 5 599 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X text 118 610 1) float;
#X text 99 509 set <float>;
#X text 183 509 - set impulse value sent to right outlet;
#X msg 221 206 set 0.5;
#X msg 217 182 set 1;
#X obj 162 181 osc~ 1;
Expand All @@ -24,10 +24,10 @@
#X text 134 344 0;
#X text 75 88 [zerox~] functions as a zero-crossing detector and/or a zero-crossing counter (for transient detection).;
#X text 76 122 Left outlet outputs a value that corresponds to the number of zero crossings per signal block - so it depends on the block size. Right outlet send an impulse at every zero crossing.;
#X text 183 418 - signal to be analyzed;
#X text 191 539 - float sets impulse value from 0-1 (default 1);
#X text 182 497 - a click (impulse) whenever a zero-crossing is detected;
#X text 182 472 - the number of zero crossings per signal block;
#X text 183 488 - signal to be analyzed;
#X text 191 609 - float sets impulse value from 0-1 (default 1);
#X text 182 567 - a click (impulse) whenever a zero-crossing is detected;
#X text 182 542 - the number of zero crossings per signal block;
#N canvas 654 222 447 359 frequency 0;
#X obj 254 78 loadbang;
#X obj 254 100 samplerate~;
Expand Down Expand Up @@ -70,9 +70,15 @@
#X obj 2 3 ./header zerox~;
#X text 24 59 Detect zero crossings;
#X obj 288 268 declare -stdpath ./;
#X text 45 430 see also:;
#X obj 388 446 open-else;
#X text 454 424 click;
#X msg 388 424 zerocross~;
#X text 115 426 Plugdata users or those with ELSE can also use [else/zerocross~] as an alternative, f 43;
#X connect 9 1 31 0;
#X connect 14 0 9 0;
#X connect 15 0 9 0;
#X connect 16 0 9 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 38 0 36 0;
Loading

0 comments on commit f785549

Please sign in to comment.