From 6c4b5dc324df50e444b8fba635185ed48260d854 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 22 Nov 2010 21:42:35 +0000 Subject: added help files to everything svn path=/trunk/externals/many/; revision=14493 --- many-meta.pd | 2 +- voices-template~-help.pd | 16 ++++++++++++++++ voices-template~.pd | 12 ++++++++++++ voices~-help.pd | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 voices-template~-help.pd create mode 100644 voices-template~.pd create mode 100644 voices~-help.pd diff --git a/many-meta.pd b/many-meta.pd index d105723..c41587b 100644 --- a/many-meta.pd +++ b/many-meta.pd @@ -2,6 +2,6 @@ #N canvas 25 49 420 300 META 1; #X text 13 41 NAME many; #X text 10 25 AUTHOR Hans-Christoph Steiner ; -#X text 10 10 VERSION 0.0; +#X text 10 10 VERSION 0.0.20101122; #X text 10 70 LICENSE GPL-3+; #X restore 10 10 pd META; diff --git a/voices-template~-help.pd b/voices-template~-help.pd new file mode 100644 index 0000000..3a28f3d --- /dev/null +++ b/voices-template~-help.pd @@ -0,0 +1,16 @@ +#N canvas 204 154 602 360 10; +#X text 72 274 dsp-out left; +#X text 222 271 dsp-out right; +#X text 35 233 inlet for messages routed to voices; +#X text 80 35 voices-template~ is a basic patch here only to illustrate +what a patch designed for [voices~] looks like. Feel free to use it +as a template for your own patches for [voices~].; +#X obj 110 254 voices-template~ 1 8 four more arguments possible; +#X text 370 234 inlet for messages to all voices; +#X text 368 273 bang when done; +#X text 82 100 Your [voices~] abstraction needs two [inlet]s for input +\, two [outlet~]s for audio \, and a third [outlet] for voice allocation +control. First argument will be the voice index number starting from +0 \, second argument will be the total number of voices. Four more +arguments can be passed as arguments to [voices~] and will be passed +on to the custom abstraction.; diff --git a/voices-template~.pd b/voices-template~.pd new file mode 100644 index 0000000..c4341a6 --- /dev/null +++ b/voices-template~.pd @@ -0,0 +1,12 @@ +#N canvas 244 339 552 361 10; +#X obj 54 11 inlet; +#X obj 54 324 outlet~; +#X obj 228 325 outlet~; +#X obj 365 323 outlet; +#X text 416 322 bang when done; +#X obj 243 9 inlet; +#X text 286 12 messages for all voices; +#X obj 56 113 print voices~_\$1; +#X text 65 57 messages filtered by voice allocation for a single instance +; +#X connect 0 0 7 0; diff --git a/voices~-help.pd b/voices~-help.pd new file mode 100644 index 0000000..b9b131c --- /dev/null +++ b/voices~-help.pd @@ -0,0 +1,33 @@ +#N canvas 281 60 588 471 10; +#X text 100 423 dsp-out left; +#X text 236 420 dsp-out right; +#X text 25 383 inlet for messages routed to instances; +#X obj 219 318 output~; +#X obj 168 249 list prepend; +#X obj 237 228 hradio 15 1 1 5 empty empty empty 0 -8 0 10 -203904 +-1 -1 4; +#X obj 171 203 hsl 128 15 200 500 1 1 empty empty empty -2 -8 0 10 +-261682 -1 -1 6600 0; +#X obj 134 142 loadbang; +#X msg 134 166 0 200 \, 1 300 \, 2 400 \, 3 500 \, 4 100; +#X text 27 71 outlet~0: connected directly to each instance; +#X text 27 91 outlet~1: connected directly to each instance; +#X obj 321 293 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 27 21 inlet0: routed to each instance based on instance number +; +#X text 27 41 inlet1: connected directly to each instance; +#X text 27 111 outlet:; +#X text 321 384 inlet for messages to all instances; +#X obj 168 272 voices~ 5 voices-template~; +#X text 339 292 message overflow (i.e. out of voices); +#X obj 128 404 voices-template~ 1 8 four more arguments possible; +#X text 388 423 bang when done; +#X connect 4 0 16 0; +#X connect 5 0 4 1; +#X connect 6 0 4 0; +#X connect 7 0 8 0; +#X connect 8 0 16 0; +#X connect 16 0 3 0; +#X connect 16 1 3 1; +#X connect 16 2 11 0; -- cgit v1.2.1