Imported Upstream version 0.5.2

parent fb901979
#N canvas 370 240 625 314 10;
#N canvas 0 31 625 314 10;
#X obj 147 203 ENV;
#X msg 147 163 RAND_MAX;
#X floatatom 226 253 10 0 0;
#X floatatom 226 253 10 0 0 0 - - -;
#X obj 147 277 print;
#X msg 214 164 getenv \$1;
#X symbolatom 215 130 10 0 0;
#X symbolatom 215 130 10 0 0 0 - - -;
#X obj 295 130 symbol;
#X msg 311 105 HOSTNAME;
#X msg 310 80 USERNAME;
#X obj 147 228 route symbol;
#X msg 147 253 \$1;
#X msg 424 110 USERNAME bla;
#X obj 386 168 cxc.prepend setenv;
#X obj 395 202 print pre;
#X msg 425 135 HOSTNAME testi;
#X msg 312 45 RANDOM;
#X text 18 7 get and set environment variables etc ...;
#X msg 244 51 DATE;
#N canvas 299 125 494 344 META 0;
#X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 65 DESCRIPTION get and set environment variables;
#X text 12 85 INLET_0 RAND_MAX getenv;
#X text 12 105 OUTLET_0 float symbol;
#X text 12 45 LICENSE GPL v2;
#X text 12 125 AUTHOR jdl@xdv.org;
#X text 12 15 KEYWORDS control filesystem;
#X restore 575 293 pd META;
#X obj 386 168 cxc_prepend setenv;
#X connect 0 0 9 0;
#X connect 1 0 0 0;
#X connect 4 0 0 0;
......@@ -27,8 +37,5 @@
#X connect 9 0 10 0;
#X connect 9 1 2 0;
#X connect 10 0 3 0;
#X connect 11 0 12 0;
#X connect 12 0 0 0;
#X connect 14 0 12 0;
#X connect 15 0 6 0;
#X connect 17 0 6 0;
#X connect 14 0 6 0;
#X connect 16 0 6 0;
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
......@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
......@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
......@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
......@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
......@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This diff is collapsed.
#N canvas 454 117 570 300 10;
#X obj 132 168 print ascseq;
#N canvas 0 31 409 235 10;
#X obj 131 168 print ascseq;
#X msg 253 112 bang;
#X obj 223 70 random_fl -10000 10000;
#X obj 131 118 ascseq 100;
#X floatatom 268 137 5 0 0;
#X floatatom 268 137 5 0 0 0 - - -;
#X msg 83 34 "abcde 123 dsfjnsdf ewrte 3k4n5 3n hjb5465hj 6";
#N canvas 42 244 494 344 META 0;
#X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 45 DESCRIPTION;
#X text 12 65 INLET_0 anything;
#X text 12 105 OUTLET_0 float;
#X text 12 85 INLET_1 float;
#X text 12 25 LICENSE GPL v2;
#X text 12 5 KEYWORDS control conversion symbol_op;
#X text 12 125 AUTHOR jdl@xdv.org;
#X restore 360 214 pd META;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
......
#N canvas 448 258 407 316 10;
#N canvas 1 2 407 316 10;
#X msg 80 153 bang;
#X floatatom 169 176;
#X floatatom 214 58;
#X floatatom 169 176 0 0 0 0 - - -;
#X floatatom 214 58 0 0 0 0 - - -;
#X obj 151 13 loadbang;
#X obj 157 97 metro 100;
#X msg 157 196 1;
......@@ -10,9 +10,9 @@
#X obj 145 221 ascwave;
#X msg 75 192 fill 1;
#X msg 74 211 fill 0;
#X obj 145 262 ixprint;
#X obj 145 269 ixprint;
#X msg 145 241 \$1;
#N canvas 517 176 588 372 modulate 0;
#N canvas 273 122 588 372 modulate 0;
#X obj 84 200 outlet;
#X obj 84 139 random 80;
#X msg 30 110 bang;
......@@ -36,13 +36,26 @@
#X connect 9 0 4 0;
#X connect 10 0 3 0;
#X restore 169 154 page modulate;
#X floatatom 262 132;
#X floatatom 262 132 0 0 0 0 - - -;
#X obj 262 179 min 127;
#X obj 262 154 max 33;
#X obj 157 77 f;
#X obj 210 78 f;
#X text 200 178 <== here;
#X text 297 131 <== and here;
#N canvas 409 221 494 369 META 0;
#X text 12 185 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 45 DESCRIPTION;
#X text 12 5 KEYWORDS control symbol_op;
#X text 12 85 INLET_1 float;
#X text 12 105 INLET_2 float;
#X text 12 125 INLET_3 float;
#X text 12 65 INLET_0 float bang fill;
#X text 12 145 OUTLET_0 symbol float;
#X text 12 25 LICENSE GPL v2;
#X text 12 165 AUTHOR jdl@xdv.org;
#X restore 356 294 pd META;
#X connect 0 0 8 0;
#X connect 1 0 8 2;
#X connect 2 0 18 0;
......
......@@ -7,6 +7,13 @@
#include <malloc.h>
#endif
/* support older Pd versions without sys_fopen(), sys_fclose(), and, sys_close() */
#if PD_MAJOR_VERSION == 0 && PD_MINOR_VERSION < 44
#define sys_fopen fopen
#define sys_fclose fclose
#define sys_close close
#endif
#ifndef RAND_MAX
#define RAND_MAX 21
#endif
......@@ -49,7 +56,7 @@ static void ascwave_open(t_ascwave *x, t_symbol *filename)
post("ascwave: open");
x->filename = filename;
post("ascwave: filename = %s",x->filename->s_name);
if ((x->x_file = fopen(x->filename->s_name,"w")) < 0)
if ((x->x_file = sys_fopen(x->filename->s_name,"w")) < 0)
{
error("can't create %s",filename->s_name);
return;
......
#N canvas 203 207 404 226 10;
#X floatatom 85 119;
#N canvas 0 31 404 226 10;
#X floatatom 85 119 0 0 0 0 - - -;
#X obj 57 175 print;
#X floatatom 45 120;
#X floatatom 45 120 0 0 0 0 - - -;
#X obj 58 146 bfilt 5;
#X text 43 16 bfilt (at the moment) is: modulo something + select 0;
#X floatatom 167 120;
#X text 43 16 bfilt (at the moment) is: modulo something + select 0
;
#X floatatom 167 120 0 0 0 0 - - -;
#X obj 139 176 print;
#X floatatom 127 121;
#X floatatom 127 121 0 0 0 0 - - -;
#X obj 140 147 bfilt2 5;
#X obj 145 87 metro 100;
#X msg 145 68 1;
#X text 42 29 bfilt2: real bangfilter: bangs on first inlet \, internal counter \, only outputs every arg2th bang ...;
#X text 42 29 bfilt2: real bangfilter: bangs on first inlet \, internal
counter \, only outputs every arg2th bang ...;
#X msg 169 67 0;
#N canvas 176 129 494 344 META 0;
#X text 12 165 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 45 DESCRIPTION bang on first inlet \, internal counter \,
only outputs ever arg2th bang;
#X text 12 5 KEYWORDS control filter bang_op;
#X text 12 85 INLET_0 bang float;
#X text 12 105 INLET_1 float;
#X text 12 25 LICENSE GPL v2;
#X text 12 145 AUTHOR jdl@xdv.org;
#X text 12 125 OUTLET_0 bang;
#X restore 352 205 pd META;
#X connect 0 0 3 1;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
......
#N canvas 203 207 404 226 10;
#X floatatom 85 119;
#N canvas 0 31 404 226 10;
#X floatatom 85 119 0 0 0 0 - - -;
#X obj 57 175 print;
#X floatatom 45 120;
#X floatatom 45 120 0 0 0 0 - - -;
#X obj 58 146 bfilt 5;
#X text 43 16 bfilt (at the moment) is: modulo something + select 0;
#X floatatom 167 120;
#X text 43 16 bfilt (at the moment) is: modulo something + select 0
;
#X floatatom 167 120 0 0 0 0 - - -;
#X obj 139 176 print;
#X floatatom 127 121;
#X floatatom 127 121 0 0 0 0 - - -;
#X obj 140 147 bfilt2 5;
#X obj 145 87 metro 100;
#X msg 145 68 1;
#X text 42 29 bfilt2: real bangfilter: bangs on first inlet \, internal counter \, only outputs every arg2th bang ...;
#X text 42 29 bfilt2: real bangfilter: bangs on first inlet \, internal
counter \, only outputs every arg2th bang ...;
#X msg 169 67 0;
#N canvas 176 129 494 344 META 0;
#X text 12 155 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 45 DESCRIPTION bang on first inlet \, internal counter \,
only outputs ever arg2th bang;
#X text 12 5 KEYWORDS control filter bang_op;
#X text 12 75 INLET_0 bang float;
#X text 12 95 INLET_1 float;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 OUTLET_0 bang;
#X text 12 135 AUTHOR jdl@xdv.org;
#X restore 355 203 pd META;
#X connect 0 0 3 1;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
......
#N canvas 110 368 622 369 10;
#N canvas 0 31 636 364 10;
#X obj 64 102 noise~;
#X obj 463 105 mean~ blir;
#X obj 21 262 table blir;
......@@ -85,6 +85,17 @@
#X obj 460 304 cxstddev blir;
#X obj 342 304 cxavgdev blir;
#X obj 316 251 cxmean blir;
#N canvas 567 269 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 AUTHOR jdl@xdv.org;
#X text 12 5 KEYWORDS control array;
#X text 12 45 DESCRIPTION this is supposed to calculate the signal
mean of an array.;
#X text 12 95 OUTLET_0 float;
#X text 12 75 INLET_0 float set;
#X restore 583 337 pd META;
#X connect 0 0 10 0;
#X connect 1 0 9 0;
#X connect 5 0 4 0;
......
......@@ -3,7 +3,7 @@
#X text 10 10 META this is a prototype of a libdir meta file;
#X text 10 30 NAME cxc;
#X text 10 50 AUTHOR jdl@xdv.org;
#X text 10 70 DESCRIPTION library of randoms, averages, and system tools;
#X text 10 90 LICENSE ;
#X text 10 110 VERSION 0.5.1;
#X text 10 70 DESCRIPTION library of randoms \, averages \, and system tools;
#X text 10 90 LICENSE GPL;
#X text 10 110 VERSION 0.5.2;
#X restore 10 10 pd META;
#N canvas 344 237 450 300 10;
#X obj 192 146 cxc_counter;
#X floatatom 194 192 5 0 0 0 - - -;
#X obj 193 90 metro 500;
#X obj 196 61 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 0 0 1 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#N canvas 0 31 497 450 10;
#X floatatom 33 260 5 0 0 0 - - -;
#X obj 33 37 metro 500;
#X obj 33 12 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#N canvas 144 91 494 389 META 0;
#X text 12 215 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 95 INLET_1 float;
#X text 12 45 DESCRIPTION bang on first inlet \, internal counter \,
only outputs every arg2th bang;
#X text 12 75 INLET_0 bang;
#X text 12 115 INLET_2 float;
#X text 12 135 INLET_3 float;
#X text 12 155 OUTLET_0 float;
#X text 12 175 OUTLET_1 bang;
#X text 12 5 KEYWORDS control filter bang_op storage;
#X text 12 25 LICENSE GPL v2;
#X text 12 195 AUTHOR jdl@xdv.org;
#X restore 444 427 pd META;
#X msg 245 31 fl1 1;
#X msg 245 51 fl1 2;
#X msg 245 71 fl1 3;
#X text 288 31 count up;
#X text 288 51 count down;
#X text 288 71 count up and down;
#X text 30 308 Args:;
#X text 22 324 with no arguments: start at 1 \, count to 10 \, repeat
;
#X text 22 349 with one argument a: start at 1 \, count up to a \,
repeat;
#X text 22 369 with two arguments a \, b: start at a \, count up to
b \, repeat;
#X text 22 389 with three args a \, b \, c: start at a \, count to
b \, in direction c;
#X msg 245 96 fl2 3;
#X text 288 96 set low boundary;
#X text 288 121 set high boundary;
#X msg 245 121 fl3 6;
#X msg 47 106 reset;
#X msg 47 136 clear;
#X floatatom 54 168 5 0 0 0 - - -;
#X text 90 168 direction (1=up \, 2=down \, 3=up & down);
#X floatatom 75 189 5 0 0 0 - - -;
#X text 114 187 low value;
#X floatatom 96 210 5 0 0 0 - - -;
#X text 132 210 high value;
#X text 124 8 For some reason you can also send the following messages
to the leftmost inlet:;
#X text 89 120 not sure how these;
#X text 101 136 differ...;
#X obj 96 260 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 115 259 bang each time the counter reaches high/low limit;
#X obj 33 233 cxc_counter;
#X connect 1 0 32 0;
#X connect 2 0 1 0;
#X connect 19 0 32 0;
#X connect 20 0 32 0;
#X connect 21 0 32 1;
#X connect 23 0 32 2;
#X connect 25 0 32 3;
#X connect 32 0 0 0;
#X connect 32 1 30 0;
#N canvas 322 265 450 300 10;
#N canvas 0 31 450 300 10;
#X obj 186 244 print;
#X msg 200 102 itsch ni san chi;
#X obj 186 187 cxc_prepend /bla;
#X obj 186 210 cxc_prepend send;
#X floatatom 155 79 5 0 0;
#X floatatom 155 79 5 0 0 0 - - -;
#X msg 214 138 qui qua 2 3.4555 "bla ha";
#X text 25 11 prepend arbitrary length lists/anythings with stuff;
#N canvas 397 200 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 45 DESCIPTION prepend arbitrary length lists/anythings with
stuff;
#X text 12 5 KEYWORDS control anything_op;
#X text 12 75 INLET_0 anything set;
#X text 12 95 OUTLET_0 anything;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 AUTHOR jdl@xdv.org;
#X restore 395 277 pd META;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
......
#N canvas 100 100 576 380 10;
#N canvas 0 31 576 417 10;
#X msg 239 145 set x;
#X msg 172 144 set .;
#X obj 25 324 unpack f f f f;
......@@ -27,6 +27,17 @@
#X text 26 5 split or tokenize the incoming string at the specified
delimiter \, digit-only substrings (including the .) are converted
to numbers.;
#N canvas 397 200 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 5 KEYWORDS control list_op symbol_op;
#X text 12 45 DESCIPTION split or tokenize the incoming string at the
specified delimiter;
#X text 12 75 INLET_0 anything;
#X text 12 95 OUTLET_0 list float symbol;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 AUTHOR jdl@xdv.org;
#X restore 516 392 pd META;
#X connect 0 0 14 0;
#X connect 1 0 14 0;
#X connect 2 0 3 0;
......
#N canvas 110 368 622 369 10;
#N canvas 0 31 645 382 10;
#X obj 64 102 noise~;
#X obj 463 105 mean~ blir;
#X obj 21 262 table blir;
......@@ -85,6 +85,17 @@
#X obj 460 304 cxstddev blir;
#X obj 342 304 cxavgdev blir;
#X obj 316 251 cxmean blir;
#N canvas 567 269 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 AUTHOR jdl@xdv.org;
#X text 12 5 KEYWORDS control array;
#X text 12 45 DESCRIPTION this is supposed to calculate the signal
mean of an array.;
#X text 12 95 OUTLET_0 float;
#X text 12 75 INLET_0 float set;
#X restore 583 337 pd META;
#X connect 0 0 10 0;
#X connect 1 0 9 0;
#X connect 5 0 4 0;
......
#N canvas 110 368 622 369 10;
#N canvas 0 31 640 382 10;
#X obj 64 102 noise~;
#X obj 463 105 mean~ blir;
#X obj 21 262 table blir;
......@@ -85,6 +85,17 @@
#X obj 460 304 cxstddev blir;
#X obj 342 304 cxavgdev blir;
#X obj 316 251 cxmean blir;
#N canvas 567 269 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 115 AUTHOR jdl@xdv.org;
#X text 12 5 KEYWORDS control array;
#X text 12 45 DESCRIPTION this is supposed to calculate the signal
mean of an array.;
#X text 12 95 OUTLET_0 float;
#X text 12 75 INLET_0 float set;
#X restore 573 327 pd META;
#X connect 0 0 10 0;
#X connect 1 0 9 0;
#X connect 5 0 4 0;
......
#N canvas 9 51 986 579 10;
#N canvas 0 31 986 618 10;
#X obj 139 177 delta~;
#X obj 80 44 noise~;
#X obj 83 268 print a;
#X obj 143 267 print b;
#X obj 329 312 dac~;
#X obj 226 47 osc~ 400;
#X graph graph1 0 -1 999 1 497 206 697 66;
#N canvas 0 0 450 300 (subpatch) 0;
#X array orig 1000 float 0;
#X pop;
#X graph graph2 0 -1 999 1 431 563 931 203;
#X coords 0 1 999 -1 200 140 1;
#X restore 487 66 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array diff 1000 float 0;
#X pop;
#X coords 0 1 999 -1 500 360 1;
#X restore 421 223 graph;
#X obj 129 390 tabwrite~ diff;
#X msg 220 340 bang;
#X floatatom 225 24 5 0 0;
#X floatatom 225 24 5 0 0 0 - - -;
#X obj 139 468 table test;
#X msg 139 442 resize 2205;
#X obj 242 389 tabwrite~ test;
#X obj 243 415 tabwrite~ orig;
#X obj 403 515 print;
#X msg 350 441 bang;
#X obj 346 530 t b;
#X obj 332 552 spigot;
#X obj 375 528 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
#X obj 363 515 print;
#X msg 320 441 bang;
#X obj 316 530 t b;
#X obj 302 552 spigot;
#X obj 345 528 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
#X obj 320 474 tabread~ test;
#X obj 201 532 phasor~ 10;
#X floatatom 201 510 5 0 0;
#X obj 201 556 *~ 2205;
#X obj 290 474 tabread~ test;
#X obj 171 532 phasor~ 10;
#X floatatom 171 510 5 0 0 0 - - -;
#X obj 171 556 *~ 2205;
#X obj 147 45 phasor~ 1;
#X obj 160 93 nop~;
#X obj 287 224 metro 100;
#X obj 287 198 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
#X floatatom 173 18 5 0 0;
#X floatatom 173 18 5 0 0 0 - - -;
#X obj 109 77 *~ 0.1;
#X floatatom 86 103 5 0 0;
#X floatatom 86 103 5 0 0 0 - - -;
#X text 308 36 if this sample is larger than last \, value is positive
\, else negative ...;
#X text 308 18 delta~: difference between this and last sample;
#N canvas 397 200 494 344 META 0;
#X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 5 KEYWORDS signal;
#X text 12 105 LIBRARY external cxc;
#X text 12 45 DESCRIPTION difference between this and last sample;
#X text 12 65 INLET_0 signal;
#X text 12 85 OUTLET_0 signal;
#X text 12 25 LICENSE GPL v2;
#X text 12 125 AUTHOR jdl@xdv.org;
#X restore 935 557 pd META;
#X connect 0 0 4 1;
#X connect 0 0 8 0;
#X connect 1 0 29 0;
......@@ -46,7 +59,6 @@
#X connect 9 0 13 0;
#X connect 9 0 14 0;
#X connect 10 0 5 0;
#X connect 12 0 11 0;
#X connect 17 0 18 0;
#X connect 19 0 18 1;
#X connect 21 0 23 0;
......
#N canvas 33 162 966 505 10;
#N canvas 0 31 966 505 10;
#X msg 197 150 bang;
#X floatatom 244 150 5 0 0 0 - - -;
#X floatatom 197 218 10 0 0 0 - - -;
......@@ -23,7 +23,6 @@
#X floatatom 289 278 5 0 0 0 - - -;
#X text 193 251 random_icg lowerlimit \, upperlimit;
#X msg 368 288 help;
#X text 253 10 the random number generatorse;
#X obj 539 406 dist_normal;
#X msg 540 356 bang;
#X obj 579 357 metro 100;
......@@ -32,7 +31,7 @@
#X obj 196 309 random_tw 0 1;
#X floatatom 637 334 5 0 0 0 - - -;
#N canvas 0 0 600 400 streamview 0;
#N canvas 0 0 450 300 graph2 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array randstream 100 float 0;
#X coords 0 2 99 -2 200 140 1;
#X restore 92 222 graph;
......@@ -48,7 +47,7 @@
#X connect 5 0 4 0;
#X restore 570 433 pd streamview;
#N canvas 306 24 679 400 distview 0;
#N canvas 0 0 450 300 graph1 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array randview1 100 float 0;
#X coords 0 200 99 0 400 200 1;
#X restore 248 31 graph;
......@@ -148,10 +147,10 @@ argument \, so yu can specify which generator is being used.;
#X text 198 106 they all output floats);
#X text 540 311 also \, there is some burst at the upper and lower
limits;
#N canvas 622 685 592 356 signalversions 1;
#N canvas 198 89 592 356 signalversions 0;
#X obj 68 131 random1~;
#X obj 368 239 tabwrite~ randomix_test;
#N canvas 0 0 450 300 graph1 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array randomix_test 64 float 1;
#A 0 -0.599965 0.178987 -0.501604 -1.10592 0.426163 -0.481499 -0.553236
0.0961931 0.554738 -0.695487 0.541875 -0.415309 -0.419922 -0.871908
......@@ -189,6 +188,18 @@ limits;
#X connect 13 0 7 0;
#X connect 13 1 7 1;
#X restore 98 421 pd signalversions;
#N canvas 739 383 494 344 META 0;
#X text 12 145 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 125 AUTHOR jdl@xdv.org;
#X text 12 105 OUTLET_0 float;
#X text 12 65 INLET_0 bang;
#X text 12 85 INLET_1 float;
#X text 12 5 KEYWORDS control random;
#X text 12 45 DESCRIPTION normal distribution mean;
#X restore 903 467 pd META;
#X text 253 10 the random number generators;
#X connect 0 0 11 0;
#X connect 1 0 11 1;
#X connect 4 0 6 0;
......@@ -203,21 +214,21 @@ limits;
#X connect 14 0 17 1;
#X connect 16 0 17 2;
#X connect 17 0 15 0;
#X connect 18 0 29 0;
#X connect 19 0 29 1;
#X connect 21 0 29 2;
#X connect 23 0 29 0;
#X connect 25 0 31 0;
#X connect 18 0 28 0;
#X connect 19 0 28 1;
#X connect 21 0 28 2;
#X connect 23 0 28 0;
#X connect 24 0 30 0;
#X connect 24 0 31 0;
#X connect 24 0 33 0;
#X connect 25 0 32 0;
#X connect 25 0 34 0;
#X connect 26 0 33 0;
#X connect 27 0 33 0;
#X connect 28 0 27 0;
#X connect 29 0 20 0;
#X connect 30 0 27 1;
#X connect 33 0 25 0;
#X connect 35 0 6 0;
#X connect 35 1 11 0;
#X connect 35 2 12 0;
#X connect 35 3 17 0;
#X connect 35 4 29 0;
#X connect 26 0 32 0;
#X connect 27 0 26 0;
#X connect 28 0 20 0;
#X connect 29 0 26 1;
#X connect 32 0 24 0;
#X connect 34 0 6 0;
#X connect 34 1 11 0;
#X connect 34 2 12 0;
#X connect 34 3 17 0;
#X connect 34 4 28 0;
#N canvas 288 386 450 300 10;
#X obj 158 159 fader;
#X obj 158 204 dac~;
#X floatatom 191 131 5 0 0 0 - - -;
#X obj 196 102 hsl 128 15 0.1 127 1 0 empty empty empty -2 -8 0 10
-262144 -1 -1 0 1;
#X obj 162 74 noise~;
#X text 84 25 control the output volume of two channels;
#N canvas 42 244 494 344 META 0;
#X text 12 25 LICENSE GPL v2;
#X text 12 165 AUTHOR jdl@xdv.org;
#X text 12 105 INLET_0 audio for left channel;
#X text 12 125 INLET_1 audio for right channel;
#X text 12 145 INLET_2 volume level (0-100);
#X text 12 85 OUTLET_1 audio for right channel;
#X text 12 65 OUTLET_0 audio for left channel;
#X text 12 45 DESCRIPTION simple volume control;
#X restore 386 267 pd META;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 2 0 0 2;
#X connect 3 0 2 0;
#X connect 4 0 0 0;
#X connect 4 0 0 1;
#N canvas 264 258 450 300 10;
#X obj 63 245 outlet~;
#X obj 63 76 inlet~;
#X obj 253 39 inlet;
#X obj 63 216 *~;
#X obj 327 22 loadbang;
#X obj 327 44 float \$1;
#X obj 253 85 / 100;
#X obj 143 245 outlet~;
#X obj 143 76 inlet~;
#X obj 143 216 *~;
#X obj 253 132 line~;
#X msg 253 109 \$1 50;
#X obj 253 153 *~;
#X obj 253 173 *~;
#X connect 1 0 3 0;
#X connect 2 0 6 0;
#X connect 3 0 0 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 11 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 10 0 12 0;
#X connect 10 0 12 1;
#X connect 11 0 10 0;
#X connect 12 0 13 0;
#X connect 12 0 13 1;
#X connect 13 0 9 1;
#X connect 13 0 3 1;
#N canvas 0 22 450 300 10;
#N canvas 0 31 450 300 10;
#X obj 138 153 hex2dec;
#X floatatom 137 189 5 0 0 0 - - -;
#X msg 139 105 symbol fff;
#X msg 237 123 123;
#X obj 257 194 print;
#X text 136 51 doesn't seem to work;
#N canvas 397 200 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 55 DESCIPTION hexadecimal to decimal conversion;
#X text 12 75 INLET_0 symbol float;
#X text 12 95 OUTLET_0 float symbol;
#X text 12 5 KEYWORDS control conversion symbol_op needs_work (object