diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-12-21 20:17:59 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-12-21 20:17:59 +0000 |
commit | 93dfb384e03eb43c66d7515c81d35a6a6a522b13 (patch) | |
tree | 8cb8252fd822da9cacd66ea3e7f80c9a5762532b | |
parent | 714158e4ea483197241c06e9c1cb6626c22259b8 (diff) |
create basic [fader] abstraction used in some help files
svn path=/trunk/externals/cxc/; revision=16726
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | fader-help.pd | 24 | ||||
-rw-r--r-- | fader.pd | 30 |
3 files changed, 55 insertions, 1 deletions
@@ -13,7 +13,7 @@ SOURCES_linux = proc.c # list all pd objects (i.e. myobject.pd) files here, and their helpfiles will # be included automatically -PDOBJECTS = +PDOBJECTS = fader # example patches and related files, in the 'examples' subfolder EXAMPLES = diff --git a/fader-help.pd b/fader-help.pd new file mode 100644 index 0000000..2957b2e --- /dev/null +++ b/fader-help.pd @@ -0,0 +1,24 @@ +#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; diff --git a/fader.pd b/fader.pd new file mode 100644 index 0000000..745d7de --- /dev/null +++ b/fader.pd @@ -0,0 +1,30 @@ +#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; |