From 2fb31021be98bf2dbbc75dd10dbd2b24fdedfaa5 Mon Sep 17 00:00:00 2001 From: porres Date: Fri, 20 Oct 2023 22:29:27 -0300 Subject: [PATCH] reorg --- cyclone_objects/abstractions/setdsp~.pd | 76 ----------------------- documentation/extra_files/CHANGELOG.txt | 2 +- documentation/extra_files/dsponoff~.pd | 50 +++++++++++++++ documentation/extra_files/header.pd | 13 ++++ documentation/extra_files/setdsp~-help.pd | 42 ------------- documentation/help_files/header.pd | 14 ----- 6 files changed, 64 insertions(+), 133 deletions(-) delete mode 100644 cyclone_objects/abstractions/setdsp~.pd create mode 100644 documentation/extra_files/dsponoff~.pd create mode 100644 documentation/extra_files/header.pd delete mode 100644 documentation/extra_files/setdsp~-help.pd delete mode 100644 documentation/help_files/header.pd diff --git a/cyclone_objects/abstractions/setdsp~.pd b/cyclone_objects/abstractions/setdsp~.pd deleted file mode 100644 index 1f4ab855..00000000 --- a/cyclone_objects/abstractions/setdsp~.pd +++ /dev/null @@ -1,76 +0,0 @@ -#N canvas 688 129 354 334 10; -#X declare -path else; -#X obj 51 101 tgl 42 0 \$0-tgl-s \$0-tgl-r empty 1 8 1 9 #4a4f51 #cde5c3 #fcfcfc 0 1; -#N canvas 121 446 450 300 (subpatch) 0; -#X obj 101 101 cnv 25 40 25 empty \$0-cnv DSP 3 13 0 20 #4a4f51 #cde5c3 0; -#X coords 0 -1 1 1 42 27 1 100 100; -#X restore 51 144 pd; -#X obj 51 40 inlet; -#X text 122 128 Part of ELSE \; https://github.com/porres/pd-else; -#X text 124 109 Alexandre Torres Porres (2017); -#X obj 44 276 outlet; -#X obj 51 102 cnv 1 6 1 empty empty empty 20 12 0 14 #000000 #404040 0; -#X obj 51 169 cnv 1 6 1 empty empty empty 20 12 0 14 #000000 #404040 0; -#X obj 44 203 r \$0-tgl-s; -#N canvas 248 225 538 450 guts 1; -#X obj 210 372 outlet; -#X obj 210 177 != 0; -#X obj 210 147 route float; -#X msg 325 199 0; -#X msg 295 200 1; -#N canvas 313 129 304 335 set_color 0; -#X obj 47 30 inlet; -#X obj 76 176 s \$0-cnv; -#X obj 47 83 select 0 1; -#X obj 46 291 s \$0-tgl-r; -#X obj 70 57 r \$0-tgl-s; -#X msg 46 211 color #DCDCDC #7C7C7C 0; -#X msg 76 114 color #4A4F51 0 #CDE5C3; -#X obj 145 172 s \$0-tgl-r; -#X msg 97 139 color #4A4F51 #CDE5C3 0; -#X obj 88 262 s \$0-cnv; -#X msg 87 238 color #DCDCDC 0 #7C7C7C; -#X connect 0 0 2 0; -#X connect 2 0 5 0; -#X connect 2 1 6 0; -#X connect 4 0 2 0; -#X connect 5 0 3 0; -#X connect 5 0 10 0; -#X connect 6 0 1 0; -#X connect 6 0 8 0; -#X connect 8 0 7 0; -#X connect 10 0 9 0; -#X restore 306 260 pd set_color; -#X obj 295 309 s \$0-tgl-r; -#X msg 295 285 set \$1; -#X obj 91 39 inlet; -#X obj 91 169 != 0; -#X obj 91 143 route float bang; -#X obj 295 233 change -1; -#X obj 210 120 else/args; -#X obj 210 90 else/lb; -#X obj 325 161 r pd-dsp-stopped; -#X obj 324 133 r pd-dsp-started; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 11 0; -#X connect 4 0 11 0; -#X connect 7 0 6 0; -#X connect 8 0 10 0; -#X connect 9 0 0 0; -#X connect 10 0 9 0; -#X connect 10 1 0 0; -#X connect 11 0 5 0; -#X connect 11 0 7 0; -#X connect 12 0 2 0; -#X connect 13 0 12 0; -#X connect 14 0 3 0; -#X connect 15 0 4 0; -#X restore 51 67 pd guts; -#X msg 59 230 \; pd dsp \$1; -#X obj 153 76 declare -path else; -#X connect 2 0 9 0; -#X connect 8 0 5 0; -#X connect 8 0 10 0; -#X connect 9 0 0 0; -#X coords 0 -1 1 1 44 72 2 50 100; diff --git a/documentation/extra_files/CHANGELOG.txt b/documentation/extra_files/CHANGELOG.txt index a370a7b3..d80414cc 100644 --- a/documentation/extra_files/CHANGELOG.txt +++ b/documentation/extra_files/CHANGELOG.txt @@ -16,7 +16,7 @@ cyclone 0.8-0 (needs at least Pd Vanilla 0.54-0): - [number~]: made it deprecated and removed from the other help files -- Revised the help files also to include the [output~] abstraction available in Pd Vanilla 0.54-0, which can take a mono input and send it to a stereo output (solely for this reason, it's best you have Pd Vanilla 0.54-0 installed for this release). +- Revised the help files also to include the [output~] abstraction available in Pd Vanilla 0.54-0, which can take a mono input and send it to a stereo output (solely for this reason, it's best you have Pd Vanilla 0.54-0 installed for this release). For this reason the [out~] abstraction from ELSE is not being borrowed anymore. - made [minimum~] and [maximum~] deprecated, as they're basically the same as Vanilla's [min~] and [max~], with the advantage that vanilla's [min~]/[max~] can take multichannel signals as of Pd 0.54-0. diff --git a/documentation/extra_files/dsponoff~.pd b/documentation/extra_files/dsponoff~.pd new file mode 100644 index 00000000..6f41133c --- /dev/null +++ b/documentation/extra_files/dsponoff~.pd @@ -0,0 +1,50 @@ +#N canvas 459 163 489 353 10; +#X obj 51 101 tgl 42 0 \$0-tgl-s \$0-tgl-r empty 1 8 1 9 #4a4f51 #cde5c3 #fcfcfc 0 1; +#N canvas 121 446 450 300 (subpatch) 0; +#X obj 101 101 cnv 25 40 25 empty \$0-cnv DSP 3 13 0 20 #4a4f51 #cde5c3 0; +#X coords 0 -1 1 1 42 27 1 100 100; +#X restore 51 144 pd; +#X obj 51 102 cnv 1 6 1 empty empty empty 20 12 0 14 #000000 #404040 0; +#X obj 51 169 cnv 1 6 1 empty empty empty 20 12 0 14 #000000 #404040 0; +#X obj 44 203 r \$0-tgl-s; +#X msg 44 235 \; pd dsp \$1; +#X msg 221 172 0; +#X msg 191 173 1; +#N canvas 313 129 304 335 set_color 0; +#X obj 47 30 inlet; +#X obj 76 176 s \$0-cnv; +#X obj 47 83 select 0 1; +#X obj 46 291 s \$0-tgl-r; +#X obj 70 57 r \$0-tgl-s; +#X msg 46 211 color #DCDCDC #7C7C7C 0; +#X msg 76 114 color #4A4F51 0 #CDE5C3; +#X obj 145 172 s \$0-tgl-r; +#X msg 97 139 color #4A4F51 #CDE5C3 0; +#X obj 88 262 s \$0-cnv; +#X msg 87 238 color #DCDCDC 0 #7C7C7C; +#X connect 0 0 2 0; +#X connect 2 0 5 0; +#X connect 2 1 6 0; +#X connect 4 0 2 0; +#X connect 5 0 3 0; +#X connect 5 0 10 0; +#X connect 6 0 1 0; +#X connect 6 0 8 0; +#X connect 8 0 7 0; +#X connect 10 0 9 0; +#X restore 202 233 pd set_color; +#X obj 191 282 s \$0-tgl-r; +#X msg 191 258 set \$1; +#X obj 191 206 change -1; +#X obj 221 134 r pd-dsp-stopped; +#X obj 220 106 r pd-dsp-started; +#X text 150 54 A helper abstraction to set DSP on and off \, based on ELSE's [setdsp~] object., f 43; +#X connect 4 0 5 0; +#X connect 6 0 11 0; +#X connect 7 0 11 0; +#X connect 10 0 9 0; +#X connect 11 0 8 0; +#X connect 11 0 10 0; +#X connect 12 0 6 0; +#X connect 13 0 7 0; +#X coords 0 -1 1 1 44 72 2 50 100; diff --git a/documentation/extra_files/header.pd b/documentation/extra_files/header.pd new file mode 100644 index 00000000..f6413b2d --- /dev/null +++ b/documentation/extra_files/header.pd @@ -0,0 +1,13 @@ +#N canvas 489 48 637 303 10; +#X obj 1 1 cnv 15 545 42 empty \$0-header empty 12 17 0 33 #e0e0e0 #000000 0; +#X obj 296 1 cnv 15 250 42 empty empty Cyclone 70 13 0 18 #7c7c7c #e0e4dc 0; +#X obj 309 33 cnv 5 5 5 empty empty Objects\ cloned\ from\ MAX/MSP 10 0 0 13 #7c7c7c #e0e4dc 0; +#X msg 340 186 label \$1; +#X obj 340 162 symbol \$1; +#X obj 340 134 loadbang; +#X obj 340 207 s \$0-header; +#X text 196 160 This is a helper abstraction for the heder in the docs., f 20; +#X connect 3 0 6 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X coords 0 -1 1 1 547 44 2 0 0; diff --git a/documentation/extra_files/setdsp~-help.pd b/documentation/extra_files/setdsp~-help.pd deleted file mode 100644 index 795fba1c..00000000 --- a/documentation/extra_files/setdsp~-help.pd +++ /dev/null @@ -1,42 +0,0 @@ -#N canvas 577 66 560 490 10; -#X obj 3 335 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0; -#X obj 3 367 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0; -#X obj 3 396 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0; -#X obj 3 462 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; -#X restore 305 3 pd; -#X obj 345 11 cnv 10 10 10 empty empty ELSE 0 15 2 30 #7c7c7c #e0e4dc 0; -#X obj 458 11 cnv 10 10 10 empty empty EL 0 6 2 13 #7c7c7c #e0e4dc 0; -#X obj 478 11 cnv 10 10 10 empty empty Locus 0 6 2 13 #7c7c7c #e0e4dc 0; -#X obj 515 11 cnv 10 10 10 empty empty Solus' 0 6 2 13 #7c7c7c #e0e4dc 0; -#X obj 464 26 cnv 10 10 10 empty empty ELSE 0 6 2 13 #7c7c7c #e0e4dc 0; -#X obj 502 26 cnv 10 10 10 empty empty library 0 6 2 13 #7c7c7c #e0e4dc 0; -#X obj 3 3 cnv 15 301 42 empty empty setdsp~ 20 20 2 37 #e0e0e0 #000000 0; -#N canvas 0 22 450 278 (subpatch) 0; -#X coords 0 1 100 -1 302 42 1 0 0; -#X restore 2 3 graph; -#X obj 105 375 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0; -#X obj 106 344 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0; -#X obj 171 309 print set_dsp; -#X text 102 408 1) float -; -#X text 57 139 By default \, the [setdsp~] object will check the current DSP state and load accordingly (on or off). But you can give it an argument to set it on/off., f 74; -#X text 142 345 float - sets dsp status: non-0 turns it on and 0 turns it off, f 63; -#X text 142 376 float - dsp status: 1 (for on) or 0 (for off); -#X text 171 408 a non-0 value forces the status to be on \, while a 0 value forces it to be off. If no argument is given \, the default behaviour is to check the current DSP state and load the GUI interface accordingly (on or off), f 61; -#X obj 171 179 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256; -#X obj 275 227 cnv 15 235 65 empty empty empty 20 12 0 14 #f4a4a8 #404040 0; -#X obj 171 199 cyclone/setdsp~; -#X obj 171 282 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256; -#X text 57 88 [setdsp~] is a convenient abstraction to display and set Pd's audio engine (aka 'DSP') state. You can just click on it to change it to On/Off via its toggle interface. This object is commonly found in the documentation of the Cyclone library audio objects \, at the top right corner., f 74; -#X text 279 231 Though used and provided in cyclone's documentation \, [setdsp~] is an "extra" from another library (ELSE) and NOT a max/msp clone or part of cyclone!!!, f 37; -#X obj 139 177 bng 16 250 50 0 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000; -#X text 32 177 change status -->; -#X text 201 177 <-- set the state via a float message; -#X text 89 215 click ----> to change the status, f 11; -#X text 25 56 Extra: DSP On/Off interface; -#X connect 22 0 24 0; -#X connect 24 0 25 0; -#X connect 25 0 16 0; -#X connect 28 0 24 0; diff --git a/documentation/help_files/header.pd b/documentation/help_files/header.pd deleted file mode 100644 index 25d9eddb..00000000 --- a/documentation/help_files/header.pd +++ /dev/null @@ -1,14 +0,0 @@ -#N canvas 489 48 725 465 10; -#X obj 1 1 cnv 15 545 42 empty \$0-header atan~ 12 17 0 33 #e0e0e0 #000000 0; -#X obj 296 1 cnv 15 250 42 empty empty Cyclone 70 13 0 18 #7c7c7c #e0e4dc 0; -#X obj 309 33 cnv 5 5 5 empty empty Objects\ cloned\ from\ MAX/MSP 10 0 0 13 #7c7c7c #e0e4dc 0; -#X msg 217 229 label \$1; -#X obj 215 187 symbol \$1; -#X obj 214 159 loadbang; -#X obj 217 250 s \$0-header; -#X obj 187 158 bng 16 250 50 0 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000; -#X connect 3 0 6 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 7 0 4 0; -#X coords 0 -1 1 1 547 44 2 0 0;