Skip to content

Commit

Permalink
Update bl.saw~-help.pd
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Feb 14, 2025
1 parent 622bb2a commit 8d0fc96
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 68 deletions.
92 changes: 63 additions & 29 deletions Documentation/Help-files/bl.saw~-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 435 41 560 579 10;
#N canvas 597 45 566 611 10;
#X obj 306 5 cnv 15 250 40 empty empty empty 12 13 0 18 #7c7c7c #e0e4dc 0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 0 0;
Expand All @@ -11,7 +11,7 @@
#X obj 464 27 cnv 10 10 10 empty empty ELSE 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 502 27 cnv 10 10 10 empty empty library 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 203 41 cnv 4 4 4 empty empty oscillator 0 28 2 18 #e0e0e0 #000000 0;
#X obj 3 549 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 3 581 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 229 162 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 3 4 cnv 15 301 42 empty empty bl.saw~ 20 20 2 37 #e0e0e0 #000000 0;
#N canvas 0 22 450 278 (subpatch) 0;
Expand All @@ -20,22 +20,20 @@
#X obj 22 41 cnv 4 4 4 empty empty Bandlimited 0 28 2 18 #e0e0e0 #000000 0;
#X text 44 192 see also:;
#X obj 229 222 else/out~;
#X obj 3 496 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 528 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 44 214 else/saw~;
#X obj 3 291 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 402 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 122 411 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 122 358 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 3 422 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 118 431 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 118 378 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 165 399 float/signal -;
#X obj 118 398 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 270 399 phase offset (modulation input);
#X text 270 379 phase sync (resets internal phase);
#X text 165 379 float/signal -;
#X obj 122 378 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 201 411 signal -;
#X text 270 379 phase offset (modulation input);
#X text 270 359 phase sync (resets internal phase);
#X text 165 359 float/signal -;
#X text 267 411 sawtooth wave signal;
#X text 159 508 1) float;
#X text 218 527 - initial phase offset (default 0);
#X text 159 527 2) float;
#X text 159 540 1) float;
#X text 218 559 - initial phase offset (default 0);
#X text 159 559 2) float;
#X obj 229 187 else/bl.saw~ 400;
#X obj 45 240 else/bl.saw2~;
#N canvas 670 106 449 354 midi 0;
Expand All @@ -49,13 +47,12 @@
#X connect 1 0 0 0;
#X connect 2 0 4 0;
#X connect 4 0 3 0;
#X restore 485 205 pd midi;
#X obj 3 442 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
#X obj 122 300 cnv 17 3 50 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X restore 434 203 pd midi;
#X obj 3 458 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
#X obj 118 300 cnv 17 3 66 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 164 318 midi <float> -;
#X text 257 318 non zero sets to frequency input in MIDI pitch;
#X text 164 302 float/signal - frequency in hz or midi;
#X text 218 508 - frequency in midi pitch or hertz (default 0);
#X text 218 540 - frequency in midi pitch or hertz (default 0);
#N canvas 448 51 707 453 sync 0;
#X obj 72 214 vsl 15 100 -1 1 0 0 empty empty empty 0 -9 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 72 182 else/sig2float~;
Expand Down Expand Up @@ -92,7 +89,7 @@
#X connect 18 0 21 0;
#X connect 19 0 18 0;
#X connect 21 0 3 0;
#X restore 485 228 pd sync;
#X restore 484 203 pd sync;
#N canvas 836 191 377 470 waveform 0;
#X obj 101 79 cnv 15 198 148 empty empty empty 20 12 0 14 #e8ecf4 #404040 0;
#N canvas 0 22 450 278 (subpatch) 0;
Expand All @@ -115,7 +112,6 @@
#X obj 162 377 else/bl.vsaw~;
#X text 51 19 This is the waveform of this oscillator. Not really like this because it is band-limited., f 44;
#X restore 460 182 pd waveform;
#X text 46 88 [bl.saw~] is a sawtooth oscillator like [else/saw~] \, but it is bandlimited. Use [saw~] mostly if you need a perfect sawtooth \, which is usually the case when you want a LFO. The [bl.saw~] version is for proper synthesis as it is anti-aliased. This version also has input for pitch in MIDI and no way to sync at control rate., f 75;
#N canvas 325 174 908 347 phase 0;
#X obj 558 184 else/out~;
#X text 670 131 Phase Modulation:;
Expand All @@ -141,11 +137,49 @@
#X connect 13 0 6 0;
#X connect 14 0 6 1;
#X connect 15 0 0 0;
#X restore 413 251 pd phase modulation;
#X text 164 336 soft <float> -;
#X text 257 336 non zero sets to soft sync mode;
#X text 133 469 -soft: sets to soft sync mode (default hard);
#X restore 412 225 pd phase modulation;
#X text 164 350 soft <float> -;
#X text 257 350 non zero sets to soft sync mode;
#X text 133 501 -soft: sets to soft sync mode (default hard);
#X text 289 161 <-- frequency;
#X text 133 454 -midi: sets frequency input in MIDI pitch (default hertz);
#X connect 11 0 33 0;
#X connect 33 0 16 0;
#X text 133 486 -midi: sets frequency input in MIDI pitch (default hertz);
#X text 46 88 [bl.saw~] is a sawtooth oscillator like [else/saw~] \, but it is bandlimited. Use [saw~] mostly if you need a perfect sawtooth \, which is usually the case when you want a LFO. The [bl.saw~] version is for proper synthesis as it is anti-aliased. This version also has input for pitch in MIDI and no way to sync at control rate. The object has support for multichannel signals., f 75;
#N canvas 683 181 555 483 multichannel 1;
#X obj 236 368 else/out~;
#X floatatom 236 186 5 0 0 0 - - - 12;
#X msg 249 217 400 600;
#X msg 262 247 400 600 700;
#X text 33 14 If the oscillator has a multichannel left input \, it outputs the same number of channels. If the secondary inlets have a signal with a single channel for sync and phase modulation \, the single value is applied to all channels. If a secondary inlet is also a multichhanel signal \, then each channel gets its sync or phase deviation value. Note \, however \, that the number of multichannels in secondary inlets need to match the same number of channels from the left input., f 76;
#X text 195 109 You can initialize the object with multichannel if you give it a list of frequencies with the -mc flag (you can't set phases though). A list input also works if no signal is connected to set it to multichannel with a list of frequency input., f 49;
#X msg 279 290 set 1 555;
#X text 349 283 the set message sets a single frequency channel, f 24;
#X obj 39 354 else/out.mc~;
#X obj 117 244 *~ 0.75;
#X obj 110 179 *~ 2;
#X obj 39 145 else/sigs~ 333 444;
#X obj 110 205 else/impulse~;
#X obj 117 273 else/sine~;
#X obj 39 303 else/saw~;
#X obj 236 337 else/bl.saw~ -mc 440 660;
#X connect 1 0 15 0;
#X connect 2 0 15 0;
#X connect 3 0 15 0;
#X connect 6 0 15 0;
#X connect 9 0 13 0;
#X connect 10 0 12 0;
#X connect 11 0 9 0;
#X connect 11 0 10 0;
#X connect 11 0 14 0;
#X connect 12 0 14 1;
#X connect 13 0 14 2;
#X connect 14 0 8 0;
#X connect 15 0 0 0;
#X restore 436 249 pd multichannel;
#X text 152 302 list/signal(s) - frequency in hz or midi, f 64;
#X text 128 334 set <float \, float> -;
#X text 254 334 <channel \, freq> set a single frequency channel, f 47;
#X text 103 469 -mc <list>: sets multichannel output with a list of frequencies, f 63;
#X text 183 431 signal(s) -;
#X text 267 431 band limited sawtooth wave signal(s);
#X connect 11 0 31 0;
#X connect 31 0 16 0;
50 changes: 26 additions & 24 deletions Documentation/Help-files/delete-help.pd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#N canvas 511 88 564 527 10;
#N canvas 595 128 564 527 10;
#X obj 4 309 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 4 395 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 4 450 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 146 404 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 4 390 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 4 445 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 146 399 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 147 318 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 4 498 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 4 493 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 306 4 cnv 15 250 40 empty empty empty 12 13 0 18 #7c7c7c #e0e4dc 0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 100 100;
Expand All @@ -20,34 +20,36 @@
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 302 42 1 0 0;
#X restore 3 3 graph;
#X msg 183 210 a b c d e;
#X msg 157 188 10 20 30 40;
#X msg 221 206 a b c d e;
#X msg 195 182 10 20 30 40;
#X obj 147 341 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 233 319 - input message;
#X text 193 342 float;
#X text 175 319 anything;
#X msg 250 187 -2;
#X floatatom 250 217 5 0 0 0 - - - 0;
#X text 283 217 i;
#X floatatom 318 216 5 0 0 0 - - - 0;
#X text 351 216 n;
#X msg 282 187 1;
#X obj 147 428 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 183 272 else/display;
#X obj 318 272 else/display;
#X text 170 429 list/bang;
#X text 233 429 - deleted elements or bang when deleting fails;
#X text 200 404 list;
#X text 233 404 - remaining elements from the input message;
#X text 139 477 2) float - number of elements to delete (default 1);
#X text 139 459 1) float - element index to delete from (default 0 \, none);
#X msg 288 183 -2;
#X floatatom 288 213 5 0 0 0 - - - 0;
#X text 321 213 i;
#X floatatom 356 212 5 0 0 0 - - - 0;
#X text 389 212 n;
#X msg 320 183 1;
#X obj 147 423 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 221 268 else/display;
#X obj 356 268 else/display;
#X text 170 424 list/bang;
#X text 233 424 - deleted elements or bang when deleting fails;
#X text 200 399 list;
#X text 233 399 - remaining elements from the input message;
#X text 139 472 2) float - number of elements to delete (default 1);
#X text 139 454 1) float - element index to delete from (default 0 \, none);
#X obj 147 364 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 193 365 float;
#X text 233 342 - element index;
#X text 233 365 - number of elements to delete;
#X obj 183 241 else/delete -2 2, f 23;
#X msg 318 188 1;
#X obj 221 237 else/delete -2 2, f 23;
#X msg 356 184 1;
#X text 37 86 [delete] deletes one or more elements from an input message. The mid inlet or 1st argument sets the element index indexed from 1 (so 0 means no items are deleted) and negative values are wrapped (so -1 is the last element and so on). The rightmost inlet or 2nd argument sets number of elements to delete. Right outlet outputs deleted item(s) and left outlet the remaining elements from the list. Right outlet sends a bang if index and/or n elements are out of range., f 81;
#X text 42 227 see also:;
#X obj 40 254 else/remove;
#X connect 17 0 42 0;
#X connect 18 0 42 0;
#X connect 23 0 24 0;
Expand Down
31 changes: 16 additions & 15 deletions Documentation/Help-files/remove-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,30 @@
#X coords 0 1 100 -1 302 42 1 0 0;
#X restore 3 3 graph;
#X obj 139 318 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X listbox 298 196 8 0 0 0 - - - 0;
#X text 351 197 <--- set new element value, f 13;
#X obj 175 251 else/display;
#X listbox 337 188 8 0 0 0 - - - 0;
#X text 390 189 <--- set new element value, f 13;
#X obj 214 243 else/display;
#X text 170 356 list;
#X obj 175 222 else/remove 4 5, f 21;
#X msg 175 192 1 2 3 4 5 6;
#X msg 298 148 3 4 5;
#X msg 149 168 1 4 5 4 3 4 5 6;
#X msg 309 170 4;
#X msg 267 148 4 5;
#X obj 214 214 else/remove 4 5, f 21;
#X msg 214 184 1 2 3 4 5 6;
#X msg 337 140 3 4 5;
#X msg 188 160 1 4 5 4 3 4 5 6;
#X msg 348 162 4;
#X msg 306 140 4 5;
#X text 157 392 1) list - elements to remove (default none);
#X obj 324 227 bng 18 250 50 0 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000;
#X text 346 227 none;
#X obj 363 219 bng 18 250 50 0 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000;
#X text 385 219 none;
#X text 169 319 list;
#X text 203 319 - elements to remove (bang is an empty list);
#X text 168 297 list;
#X text 203 297 - input list;
#X text 204 356 - list with removed elements;
#X text 28 216 see also;
#X obj 26 245 else/replace;
#X text 29 194 see also;
#X obj 29 244 else/replace;
#X text 78 91 [remove] removes one or more number elements from a list. The right inlet or arguments set the elements to remove., f 58;
#X msg 345 171 symbol x;
#X msg 73 166 list x y z;
#X msg 384 163 symbol x;
#X msg 112 158 list x y z;
#X obj 29 217 else/delete;
#X connect 18 0 22 1;
#X connect 22 0 20 0;
#X connect 23 0 22 0;
Expand Down

0 comments on commit 8d0fc96

Please sign in to comment.