diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-10-09 10:19:04 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2002-10-09 10:19:04 +0000 |
commit | d2eec74a4d8c21aad495ba61539486b24d7ab8dc (patch) | |
tree | 8340a62efe3eb1d42dc40265723c2704d3bd6452 /examples/swap~.pd |
moved from zexy/zexy to zexysvn2git-root
svn path=/trunk/externals/zexy/; revision=169
Diffstat (limited to 'examples/swap~.pd')
-rw-r--r-- | examples/swap~.pd | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/swap~.pd b/examples/swap~.pd new file mode 100644 index 0000000..599811e --- /dev/null +++ b/examples/swap~.pd @@ -0,0 +1,39 @@ +#N canvas 0 -1 718 576 10;
+#X obj 97 321 swap~;
+#X text 138 102 this object first converts the signal to 16bit \, then swaps upper and lower byte.;
+#X msg 120 233 0;
+#X msg 120 209 1;
+#X msg 119 258 bang;
+#X obj 33 288 osc~ 440;
+#X floatatom 33 264;
+#X msg 119 283 help;
+#X obj 81 401 *~;
+#X obj 43 352 dbtorms;
+#X floatatom 43 328;
+#X msg 445 28 \; pd dsp 1;
+#X obj 81 376 sig~ 0.2;
+#X msg 520 28 \; pd dsp 0;
+#X graph graph5 0 -1 100 1 298 494 698 194;
+#X array scope 100 float;
+#X pop;
+#X obj 176 426 tabwrite~ scope;
+#X msg 176 401 bang;
+#X text 159 258 toggle;
+#X text 152 208 on;
+#X text 154 232 off;
+#X obj 87 27 swap~;
+#X text 149 25 byte-swap a 16bit signal;
+#X obj 81 425 dac~ 1;
+#X connect 0 0 8 1;
+#X connect 0 0 15 0;
+#X connect 2 0 0 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X connect 5 0 0 0;
+#X connect 6 0 5 0;
+#X connect 7 0 0 0;
+#X connect 8 0 22 0;
+#X connect 9 0 12 0;
+#X connect 10 0 9 0;
+#X connect 12 0 8 0;
+#X connect 16 0 15 0;
|