Skip to content

Commit

Permalink
Update phaseshift~-help.pd
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Nov 19, 2023
1 parent afd7828 commit abc667a
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions documentation/help_files/phaseshift~-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
#X text 216 480 - sets Q;
#X text 170 437 clear;
#X text 216 561 - sets Q (default ?);
#X obj 59 266 +~;
#X obj 59 194 noise~;
#X obj 132 188 hsl 128 15 100 2000 1 0 empty \$0-Freq_set empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 227 210 hsl 128 15 0.1 5 1 0 empty \$0-Q_set empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 39 266 +~;
#X obj 39 194 noise~;
#X obj 112 188 hsl 128 15 100 2000 1 0 empty \$0-Freq_set empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 207 210 hsl 128 15 0.1 5 1 0 empty \$0-Q_set empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#N canvas 614 353 726 323 phase_response 0;
#X obj 101 101 cnv 15 298 98 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#N canvas 0 22 450 278 (subpatch) 0;
Expand Down Expand Up @@ -244,44 +244,44 @@
#X connect 8 2 5 0;
#X connect 10 0 7 0;
#X coords 0 -1 1 1 300 100 2 100 100;
#X restore 191 279 pd phase_response;
#X text 497 273 180ª;
#X text 498 370 -180ª;
#X text 497 323 0ª/360ª;
#X restore 201 279 pd phase_response;
#X text 507 273 180ª;
#X text 508 370 -180ª;
#X text 507 323 0ª/360ª;
#X text 216 418 - signal whose phase will be shifted;
#X text 216 437 - clears filter's memory;
#X text 161 187 frequency;
#X text 283 210 Q;
#X text 321 383 500;
#X text 251 383 100;
#X text 189 383 0;
#X text 382 383 2k;
#X text 472 383 22k;
#X text 175 294 p;
#X text 175 307 h;
#X text 175 320 a;
#X text 175 333 s;
#X text 175 344 e;
#X text 141 187 frequency;
#X text 263 210 Q;
#X text 331 383 500;
#X text 261 383 100;
#X text 199 383 0;
#X text 392 383 2k;
#X text 482 383 22k;
#X text 185 294 p;
#X text 185 307 h;
#X text 185 320 a;
#X text 185 333 s;
#X text 185 344 e;
#X text 216 457 - sets filter's frequency point to be shifted to 180º;
#X text 216 512 - the phase shifted signal;
#X text 83 143 In this example \, we add the phase shifted signal to the original \, which cancels frequencies by phase opposition., f 65;
#X text 83 82 [phaseshift~] is a 2nd allpass filter \, which keeps the gain and only alters the phase from 0 (at 0 hz) to 360º (at the Nyquist frequency). The frequency at which it shifts to 180º is specified as the filter's frequency and the steepness of the curve is determined by the Q parameter (see graph below)., f 65;
#X text 44 142 In this example \, we add the phase shifted signal to the original \, which cancels frequencies by phase opposition., f 79;
#X text 151 545 1) float;
#X obj 224 233 nbx 4 14 -1e+37 1e+37 0 0 \$0-Q empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 129 212 nbx 4 14 -1e+37 1e+37 0 0 \$0-Freq empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 74 235 cyclone/phaseshift~;
#X text 91 382 frequency (hz):;
#X obj 204 233 nbx 4 14 -1e+37 1e+37 0 0 \$0-Q empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 109 212 nbx 4 14 -1e+37 1e+37 0 0 \$0-Freq empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 54 235 cyclone/phaseshift~;
#X text 101 382 frequency (hz):;
#X text 216 543 - sets filter's frequency (default 1);
#X obj 59 304 output~;
#X text 383 254 phase response:;
#X obj 39 304 output~;
#X text 401 257 phase response:;
#X obj 3 3 ./header phaseshift~;
#X text 22 61 2nd order Allpass filter;
#X obj 416 203 declare -stdpath ./;
#X connect 16 0 48 0;
#X text 22 60 2nd order Allpass filter;
#X obj 416 211 declare -stdpath ./;
#X text 44 82 [phaseshift~] is a 2nd allpass filter \, which keeps the gain and only alters the phase from 0 (at 0 hz) to 360º (at the Nyquist frequency). The frequency at which it shifts to 180º is specified as the filter's frequency (minimum 1o hz) and the steepness of the curve is determined by the Q parameter - see graph below., f 79;
#X connect 16 0 47 0;
#X connect 17 0 16 0;
#X connect 17 0 45 0;
#X connect 18 0 44 0;
#X connect 19 0 43 0;
#X connect 43 0 45 2;
#X connect 44 0 45 1;
#X connect 45 0 16 1;
#X connect 17 0 44 0;
#X connect 18 0 43 0;
#X connect 19 0 42 0;
#X connect 42 0 44 2;
#X connect 43 0 44 1;
#X connect 44 0 16 1;

0 comments on commit abc667a

Please sign in to comment.