<commit_before>#N canvas 188 125 440 435 10;
#X text 20 12 mapper;
#X text 22 27 A pd wrapper for libmapper/Digital Orchestra Tools;
#X text 20 353 For more information visit;
#X text 21 368 www.idmil.org/software/libmapper;
#X obj 30 79 r mapper;
#N canvas 419 849 450 300 adding_signals 0;
#X text 19 15 Input and ouput signals can be added to the device by
sending the message "add input" or "add output" along with a signal
name and data type. Signal metadata is specified using tagged arguments
\; only the type tag is required but any others can be added. If min
and max tags are supplied the system will be able to automatically
use linear scaling when creating mapping connections.;
#X msg 29 131 add input /gain @type f @units normalized @min 0 @max
1;
#X msg 51 161 add input /rate @type f @units Hz @min 0 @max 100;
#X msg 80 192 add output /pressure @type f;
#X obj 29 236 s mapper;
#X msg 119 219 remove output /pressure;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 5 0 4 0;
#X restore 30 240 pd adding_signals;
#N canvas 93 171 451 421 learn_mode 0;
#X obj 111 28 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 111 62 metro 250;
#X obj 25 103 random 100;
#X obj 111 103 random 100;
#X obj 197 103 random 100;
#X obj 25 133 prepend /out1;
#X obj 111 133 prepend /out2;
#X obj 197 133 prepend /out3;
#X obj 25 235 mapper;
#X obj 58 294 route numOutputs;
#X floatatom 58 323 5 0 0 0 - - -;
#X msg 181 170 learn 1;
#X msg 181 195 learn 0;
#X text 135 28 1) start sending some signals;
#X text 235 168 2) turn on learn mode;
#X text 101 321 3) watch the number of reported signals;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X connect 3 0 6 0;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 8 0;
#X connect 8 1 9 0;
#X connect 9 0 10 0;
#X connect 11 0 8 0;
#X connect 12 0 8 0;
#X restore 140 240 pd learn_mode;
#N canvas 571 453 760 406 simple_example 0;
#X obj 82 28 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 3000 1;
#X obj 82 169 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 3000 1;
#X obj 79 53 prepend /out1;
#X obj 334 158 buddy;
#X obj 334 275 oscmulticast @group 172.16.17.32 @port 7570;
#X obj 334 201 pack symbol symbol;
#X obj 439 175 tosymbol;
#X text 332 316 The administrative traffic for the mapping network
uses multicast UDP.;
#X text -24 239 Sends the /link and /connect messages which create
a mapping connection between the two instances of the mapper object
;
#X text 111 227 ---------------------------------->;
#X obj 79 142 route /in1;
#X obj 334 96 route name;
#X obj 361 133 route name;
#N canvas 0 22 450 300 add_signal 0;
#X obj 70 60 loadbang;
#X obj 70 113 outlet;
#X msg 70 87 add output /out1 @type f @length 1 @min 0 @max 127;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore -12 53 pd add_signal;
#N canvas 0 22 450 300 add_signal 0;
#X obj 70 60 loadbang;
#X obj 70 113 outlet;
#X msg 70 87 add input /in1 @type f @length 1 @min 0 @max 127;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore -12 90 pd add_signal;
#X obj 79 79 mapper;
#X obj 79 116 mapper;
#X msg 334 228 /link \$1 \$2 \, /connect \$1/out1 \$2/in1 @mode expression
@expression y=127-x;
#X obj 587 274 print to_admin;
#X connect 0 0 2 0;
#X connect 2 0 15 0;
#X connect 3 0 5 0;
#X connect 3 1 6 0;
#X connect 5 0 17 0;
#X connect 6 0 5 1;
#X connect 10 0 1 0;
#X connect 11 0 3 0;
#X connect 12 0 3 1;
#X connect 13 0 15 0;
#X connect 14 0 16 0;
#X connect 15 1 11 0;
#X connect 16 0 10 0;
#X connect 16 1 12 0;
#X connect 17 0 4 0;
#X connect 17 0 18 0;
#X restore 226 240 pd simple_example;<commit_msg>Remove dependency on custom oscmulticast object in Pd help patch.<commit_after>#N canvas 191 212 440 435 10;
#X text 20 12 mapper;
#X text 22 27 A pd wrapper for libmapper/Digital Orchestra Tools;
#X text 20 353 For more information visit;
#X text 21 368 www.idmil.org/software/libmapper;
#X obj 30 79 r mapper;
#N canvas 422 693 450 300 adding_signals 0;
#X text 19 15 Input and ouput signals can be added to the device by
sending the message "add input" or "add output" along with a signal
name and data type. Signal metadata is specified using tagged arguments
\; only the type tag is required but any others can be added. If min
and max tags are supplied the system will be able to automatically
use linear scaling when creating mapping connections.;
#X msg 29 131 add input /gain @type f @units normalized @min 0 @max
1;
#X msg 51 161 add input /rate @type f @units Hz @min 0 @max 100;
#X msg 80 192 add output /pressure @type f;
#X obj 29 236 s mapper;
#X msg 119 219 remove output /pressure;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 5 0 4 0;
#X restore 30 240 pd adding_signals;
#N canvas 96 258 451 421 learn_mode 0;
#X obj 111 28 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 111 62 metro 250;
#X obj 25 103 random 100;
#X obj 111 103 random 100;
#X obj 197 103 random 100;
#X obj 25 133 prepend /out1;
#X obj 111 133 prepend /out2;
#X obj 197 133 prepend /out3;
#X obj 25 235 mapper;
#X obj 58 294 route numOutputs;
#X floatatom 58 323 5 0 0 0 - - -;
#X msg 181 170 learn 1;
#X msg 181 195 learn 0;
#X text 135 28 1) start sending some signals;
#X text 235 168 2) turn on learn mode;
#X text 101 321 3) watch the number of reported signals;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X connect 3 0 6 0;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 8 0;
#X connect 8 1 9 0;
#X connect 9 0 10 0;
#X connect 11 0 8 0;
#X connect 12 0 8 0;
#X restore 140 240 pd learn_mode;
#N canvas 575 569 760 406 simple_example 0;
#X obj 82 28 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 5800 1;
#X obj 82 169 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 79 53 prepend /out1;
#X obj 334 158 buddy;
#X obj 334 201 pack symbol symbol;
#X obj 439 175 tosymbol;
#X text 332 316 The administrative traffic for the mapping network
uses multicast UDP.;
#X text -85 206 Sends the /link and /connect messages which create
a mapping connection between the two instances of the mapper object
;
#X text 79 233 ---------------------------------->;
#X obj 79 142 route /in1;
#X obj 334 96 route name;
#X obj 361 133 route name;
#N canvas 1 54 450 300 add_signal 0;
#X obj 70 60 loadbang;
#X obj 70 113 outlet;
#X msg 70 87 add output /out1 @type f @length 1 @min 0 @max 127;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore -24 54 pd add_signal;
#N canvas 0 22 450 300 add_signal 0;
#X obj 70 60 loadbang;
#X obj 70 113 outlet;
#X msg 70 87 add input /in1 @type f @length 1 @min 0 @max 127;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore -26 89 pd add_signal;
#X obj 79 79 mapper;
#X obj 79 116 mapper;
#X obj 587 274 print to_admin;
#X obj 334 275 sendOSC;
#X msg 86 304 connect 172.16.17.32 7570;
#X obj 86 280 loadbang;
#X msg 334 228 send /link \$1 \$2 \, send /connect \$1/out1 \$2/in1
@mode expression @expression y=127-x;
#X connect 0 0 2 0;
#X connect 2 0 14 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 4 0 20 0;
#X connect 5 0 4 1;
#X connect 9 0 1 0;
#X connect 10 0 3 0;
#X connect 11 0 3 1;
#X connect 12 0 14 0;
#X connect 13 0 15 0;
#X connect 14 1 10 0;
#X connect 15 0 9 0;
#X connect 15 1 11 0;
#X connect 18 0 17 0;
#X connect 19 0 18 0;
#X connect 20 0 16 0;
#X connect 20 0 17 0;
#X restore 226 240 pd simple_example;
{'fraction_non_alphanumeric': 0.08779642952304823, 'fraction_numerical': 0.18078870237143618, 'mean_word_length': 3.1134246575342464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3045722', 'n_tokens_mistral': 3928, 'n_tokens_neox': 2622, 'n_words': 1632}