Add octave scripts for examples into track list.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / examples / oscio.maxpat
1 {
2 "patcher" : {
3 "fileversion" : 1,
4 "rect" : [ 25.0, 96.0, 288.0, 210.0 ],
5 "bglocked" : 0,
6 "defrect" : [ 25.0, 96.0, 288.0, 210.0 ],
7 "openrect" : [ 85.0, 44.0, 286.0, 210.0 ],
8 "openinpresentation" : 1,
9 "default_fontsize" : 12.0,
10 "default_fontface" : 0,
11 "default_fontname" : "Arial",
12 "gridonopen" : 0,
13 "gridsize" : [ 15.0, 15.0 ],
14 "gridsnaponopen" : 0,
15 "toolbarvisible" : 1,
16 "boxanimatetime" : 200,
17 "imprint" : 0,
18 "enablehscroll" : 1,
19 "enablevscroll" : 1,
20 "devicewidth" : 0.0,
21 "boxes" : [ {
22 "box" : {
23 "maxclass" : "comment",
24 "text" : "Print",
25 "patching_rect" : [ 14.0, 79.0, 150.0, 20.0 ],
26 "numoutlets" : 0,
27 "presentation" : 1,
28 "id" : "obj-16",
29 "fontname" : "Arial",
30 "fontsize" : 12.0,
31 "presentation_rect" : [ 19.0, 80.0, 39.0, 20.0 ],
32 "numinlets" : 1
33 }
34
35 }
36 , {
37 "box" : {
38 "maxclass" : "gswitch2",
39 "patching_rect" : [ 165.0, 92.0, 39.0, 32.0 ],
40 "numoutlets" : 2,
41 "id" : "obj-15",
42 "outlettype" : [ "", "" ],
43 "numinlets" : 2
44 }
45
46 }
47 , {
48 "box" : {
49 "maxclass" : "toggle",
50 "patching_rect" : [ 165.0, 64.0, 20.0, 20.0 ],
51 "numoutlets" : 1,
52 "presentation" : 1,
53 "id" : "obj-11",
54 "outlettype" : [ "int" ],
55 "presentation_rect" : [ 27.0, 104.0, 20.0, 20.0 ],
56 "numinlets" : 1
57 }
58
59 }
60 , {
61 "box" : {
62 "maxclass" : "comment",
63 "text" : "Send signal messages to any running faust program. \nDisplays the output in Max window.",
64 "linecount" : 4,
65 "presentation_linecount" : 4,
66 "patching_rect" : [ 392.0, 361.0, 153.0, 62.0 ],
67 "numoutlets" : 0,
68 "presentation" : 1,
69 "id" : "obj-10",
70 "fontname" : "Arial",
71 "fontsize" : 12.0,
72 "presentation_rect" : [ 120.0, 89.0, 159.0, 62.0 ],
73 "numinlets" : 1
74 }
75
76 }
77 , {
78 "box" : {
79 "maxclass" : "comment",
80 "text" : "ms",
81 "patching_rect" : [ 121.0, 173.0, 150.0, 20.0 ],
82 "numoutlets" : 0,
83 "presentation" : 1,
84 "id" : "obj-7",
85 "fontname" : "Arial",
86 "fontsize" : 12.0,
87 "presentation_rect" : [ 118.0, 173.0, 26.0, 20.0 ],
88 "numinlets" : 1
89 }
90
91 }
92 , {
93 "box" : {
94 "maxclass" : "comment",
95 "text" : "Speed",
96 "patching_rect" : [ 399.0, 302.0, 150.0, 20.0 ],
97 "numoutlets" : 0,
98 "presentation" : 1,
99 "id" : "obj-6",
100 "fontname" : "Arial",
101 "fontsize" : 12.0,
102 "presentation_rect" : [ 69.0, 3.0, 54.0, 20.0 ],
103 "numinlets" : 1
104 }
105
106 }
107 , {
108 "box" : {
109 "maxclass" : "comment",
110 "text" : "ON/OFF",
111 "patching_rect" : [ 396.0, 276.0, 150.0, 20.0 ],
112 "numoutlets" : 0,
113 "presentation" : 1,
114 "id" : "obj-4",
115 "fontname" : "Arial",
116 "fontsize" : 12.0,
117 "presentation_rect" : [ 10.0, 4.0, 54.0, 20.0 ],
118 "numinlets" : 1
119 }
120
121 }
122 , {
123 "box" : {
124 "maxclass" : "comment",
125 "text" : "100",
126 "patching_rect" : [ 316.0, 9.0, 52.0, 20.0 ],
127 "numoutlets" : 0,
128 "presentation" : 1,
129 "id" : "obj-36",
130 "fontname" : "Arial",
131 "fontsize" : 12.0,
132 "presentation_rect" : [ 223.0, 37.0, 34.0, 20.0 ],
133 "numinlets" : 1
134 }
135
136 }
137 , {
138 "box" : {
139 "maxclass" : "comment",
140 "text" : "50",
141 "patching_rect" : [ 276.0, 9.0, 35.0, 20.0 ],
142 "numoutlets" : 0,
143 "presentation" : 1,
144 "id" : "obj-35",
145 "fontname" : "Arial",
146 "fontsize" : 12.0,
147 "presentation_rect" : [ 187.0, 37.0, 28.0, 20.0 ],
148 "numinlets" : 1
149 }
150
151 }
152 , {
153 "box" : {
154 "maxclass" : "comment",
155 "text" : "10",
156 "patching_rect" : [ 226.0, 9.0, 39.0, 20.0 ],
157 "numoutlets" : 0,
158 "presentation" : 1,
159 "id" : "obj-33",
160 "fontname" : "Arial",
161 "fontsize" : 12.0,
162 "presentation_rect" : [ 151.0, 37.0, 28.0, 20.0 ],
163 "numinlets" : 1
164 }
165
166 }
167 , {
168 "box" : {
169 "maxclass" : "comment",
170 "text" : "1",
171 "patching_rect" : [ 165.0, 9.0, 43.0, 20.0 ],
172 "numoutlets" : 0,
173 "presentation" : 1,
174 "id" : "obj-20",
175 "fontname" : "Arial",
176 "fontsize" : 12.0,
177 "presentation_rect" : [ 124.0, 37.0, 28.0, 20.0 ],
178 "numinlets" : 1
179 }
180
181 }
182 , {
183 "box" : {
184 "maxclass" : "comment",
185 "text" : "Steps",
186 "patching_rect" : [ 411.0, 6.0, 150.0, 20.0 ],
187 "numoutlets" : 0,
188 "presentation" : 1,
189 "id" : "obj-13",
190 "fontname" : "Arial",
191 "fontsize" : 12.0,
192 "presentation_rect" : [ 162.0, 11.0, 48.0, 20.0 ],
193 "numinlets" : 1
194 }
195
196 }
197 , {
198 "box" : {
199 "maxclass" : "button",
200 "patching_rect" : [ 555.0, 42.0, 20.0, 20.0 ],
201 "numoutlets" : 1,
202 "presentation" : 1,
203 "id" : "obj-24",
204 "outlettype" : [ "bang" ],
205 "presentation_rect" : [ 228.0, 56.0, 20.0, 20.0 ],
206 "numinlets" : 1
207 }
208
209 }
210 , {
211 "box" : {
212 "maxclass" : "newobj",
213 "text" : "uzi 100",
214 "patching_rect" : [ 555.0, 81.0, 48.0, 20.0 ],
215 "numoutlets" : 3,
216 "id" : "obj-25",
217 "fontname" : "Arial",
218 "outlettype" : [ "bang", "bang", "int" ],
219 "fontsize" : 11.595187,
220 "numinlets" : 2
221 }
222
223 }
224 , {
225 "box" : {
226 "maxclass" : "button",
227 "patching_rect" : [ 411.0, 42.0, 20.0, 20.0 ],
228 "numoutlets" : 1,
229 "presentation" : 1,
230 "id" : "obj-57",
231 "outlettype" : [ "bang" ],
232 "presentation_rect" : [ 124.0, 56.0, 20.0, 20.0 ],
233 "numinlets" : 1
234 }
235
236 }
237 , {
238 "box" : {
239 "maxclass" : "message",
240 "text" : "/* 1.",
241 "patching_rect" : [ 411.0, 147.0, 32.5, 18.0 ],
242 "numoutlets" : 1,
243 "id" : "obj-56",
244 "fontname" : "Arial",
245 "outlettype" : [ "" ],
246 "fontsize" : 12.0,
247 "numinlets" : 2
248 }
249
250 }
251 , {
252 "box" : {
253 "maxclass" : "newobj",
254 "text" : "* 1.",
255 "patching_rect" : [ 123.0, 172.0, 32.5, 20.0 ],
256 "numoutlets" : 1,
257 "id" : "obj-53",
258 "fontname" : "Arial",
259 "outlettype" : [ "float" ],
260 "fontsize" : 12.0,
261 "numinlets" : 2
262 }
263
264 }
265 , {
266 "box" : {
267 "maxclass" : "slider",
268 "patching_rect" : [ 125.0, 15.0, 20.0, 140.0 ],
269 "numoutlets" : 1,
270 "presentation" : 1,
271 "id" : "obj-52",
272 "floatoutput" : 1,
273 "outlettype" : [ "" ],
274 "size" : 9.0,
275 "presentation_rect" : [ 77.0, 23.0, 20.0, 140.0 ],
276 "numinlets" : 1,
277 "min" : 1.0
278 }
279
280 }
281 , {
282 "box" : {
283 "maxclass" : "number",
284 "patching_rect" : [ 124.0, 210.0, 50.0, 20.0 ],
285 "numoutlets" : 2,
286 "presentation" : 1,
287 "id" : "obj-50",
288 "fontname" : "Arial",
289 "outlettype" : [ "int", "bang" ],
290 "fontsize" : 12.0,
291 "presentation_rect" : [ 64.0, 173.0, 50.0, 20.0 ],
292 "numinlets" : 1
293 }
294
295 }
296 , {
297 "box" : {
298 "maxclass" : "button",
299 "patching_rect" : [ 497.0, 42.0, 20.0, 20.0 ],
300 "numoutlets" : 1,
301 "presentation" : 1,
302 "id" : "obj-26",
303 "outlettype" : [ "bang" ],
304 "presentation_rect" : [ 188.0, 56.0, 20.0, 20.0 ],
305 "numinlets" : 1
306 }
307
308 }
309 , {
310 "box" : {
311 "maxclass" : "newobj",
312 "text" : "uzi 50",
313 "patching_rect" : [ 497.0, 81.0, 46.0, 20.0 ],
314 "numoutlets" : 3,
315 "id" : "obj-29",
316 "fontname" : "Arial",
317 "outlettype" : [ "bang", "bang", "int" ],
318 "fontsize" : 11.595187,
319 "numinlets" : 2
320 }
321
322 }
323 , {
324 "box" : {
325 "maxclass" : "newobj",
326 "text" : "s _faust",
327 "patching_rect" : [ 411.0, 187.0, 51.0, 20.0 ],
328 "numoutlets" : 0,
329 "id" : "obj-23",
330 "fontname" : "Arial",
331 "fontsize" : 11.595187,
332 "numinlets" : 1
333 }
334
335 }
336 , {
337 "box" : {
338 "maxclass" : "button",
339 "patching_rect" : [ 445.0, 42.0, 20.0, 20.0 ],
340 "numoutlets" : 1,
341 "presentation" : 1,
342 "id" : "obj-19",
343 "outlettype" : [ "bang" ],
344 "presentation_rect" : [ 151.0, 56.0, 20.0, 20.0 ],
345 "numinlets" : 1
346 }
347
348 }
349 , {
350 "box" : {
351 "maxclass" : "newobj",
352 "text" : "uzi 10",
353 "patching_rect" : [ 445.0, 81.0, 46.0, 20.0 ],
354 "numoutlets" : 3,
355 "id" : "obj-8",
356 "fontname" : "Arial",
357 "outlettype" : [ "bang", "bang", "int" ],
358 "fontsize" : 11.595187,
359 "numinlets" : 2
360 }
361
362 }
363 , {
364 "box" : {
365 "maxclass" : "newobj",
366 "text" : "print FAUST",
367 "patching_rect" : [ 185.0, 138.0, 74.0, 20.0 ],
368 "numoutlets" : 0,
369 "id" : "obj-1",
370 "fontname" : "Arial",
371 "fontsize" : 11.595187,
372 "numinlets" : 1
373 }
374
375 }
376 , {
377 "box" : {
378 "maxclass" : "newobj",
379 "text" : "s _faust",
380 "patching_rect" : [ 32.0, 204.0, 53.0, 20.0 ],
381 "numoutlets" : 0,
382 "id" : "obj-12",
383 "fontname" : "Arial",
384 "fontsize" : 12.0,
385 "numinlets" : 1
386 }
387
388 }
389 , {
390 "box" : {
391 "maxclass" : "message",
392 "text" : "/* 0.1",
393 "patching_rect" : [ 32.0, 163.0, 39.0, 18.0 ],
394 "numoutlets" : 1,
395 "id" : "obj-5",
396 "fontname" : "Arial",
397 "outlettype" : [ "" ],
398 "fontsize" : 12.0,
399 "numinlets" : 2
400 }
401
402 }
403 , {
404 "box" : {
405 "maxclass" : "newobj",
406 "text" : "metro 10",
407 "patching_rect" : [ 32.0, 127.0, 58.0, 20.0 ],
408 "numoutlets" : 1,
409 "id" : "obj-3",
410 "fontname" : "Arial",
411 "outlettype" : [ "bang" ],
412 "fontsize" : 12.0,
413 "numinlets" : 2
414 }
415
416 }
417 , {
418 "box" : {
419 "maxclass" : "toggle",
420 "patching_rect" : [ 32.0, 90.0, 20.0, 20.0 ],
421 "numoutlets" : 1,
422 "presentation" : 1,
423 "id" : "obj-2",
424 "outlettype" : [ "int" ],
425 "presentation_rect" : [ 25.0, 25.0, 20.0, 20.0 ],
426 "numinlets" : 1
427 }
428
429 }
430 , {
431 "box" : {
432 "maxclass" : "message",
433 "text" : "host 194.5.49.255",
434 "patching_rect" : [ 33.0, 311.0, 107.0, 18.0 ],
435 "numoutlets" : 1,
436 "id" : "obj-18",
437 "fontname" : "Arial",
438 "outlettype" : [ "" ],
439 "fontsize" : 12.0,
440 "numinlets" : 2
441 }
442
443 }
444 , {
445 "box" : {
446 "maxclass" : "message",
447 "text" : "host 127.0.0.1",
448 "patching_rect" : [ 54.0, 334.0, 87.0, 18.0 ],
449 "numoutlets" : 1,
450 "id" : "obj-17",
451 "fontname" : "Arial",
452 "outlettype" : [ "" ],
453 "fontsize" : 12.0,
454 "numinlets" : 2
455 }
456
457 }
458 , {
459 "box" : {
460 "maxclass" : "comment",
461 "text" : "OSC communication",
462 "patching_rect" : [ 32.0, 268.0, 189.0, 23.0 ],
463 "numoutlets" : 0,
464 "id" : "obj-9",
465 "fontname" : "Arial",
466 "fontface" : 1,
467 "fontsize" : 14.0,
468 "numinlets" : 1
469 }
470
471 }
472 , {
473 "box" : {
474 "maxclass" : "newobj",
475 "text" : "print Error",
476 "patching_rect" : [ 239.0, 376.0, 64.0, 20.0 ],
477 "numoutlets" : 0,
478 "id" : "obj-14",
479 "fontname" : "Arial",
480 "fontsize" : 12.0,
481 "numinlets" : 1
482 }
483
484 }
485 , {
486 "box" : {
487 "maxclass" : "newobj",
488 "text" : "udpreceive 5512",
489 "patching_rect" : [ 239.0, 348.0, 99.0, 20.0 ],
490 "numoutlets" : 1,
491 "id" : "obj-28",
492 "fontname" : "Arial",
493 "outlettype" : [ "" ],
494 "fontsize" : 12.0,
495 "numinlets" : 1
496 }
497
498 }
499 , {
500 "box" : {
501 "maxclass" : "newobj",
502 "text" : "udpreceive 5511",
503 "patching_rect" : [ 186.0, 59.0, 98.0, 20.0 ],
504 "numoutlets" : 1,
505 "id" : "obj-34",
506 "fontname" : "Arial",
507 "outlettype" : [ "" ],
508 "fontsize" : 12.0,
509 "numinlets" : 1
510 }
511
512 }
513 , {
514 "box" : {
515 "maxclass" : "newobj",
516 "text" : "r _faust",
517 "patching_rect" : [ 161.0, 310.0, 51.0, 20.0 ],
518 "numoutlets" : 1,
519 "id" : "obj-37",
520 "fontname" : "Arial",
521 "outlettype" : [ "" ],
522 "fontsize" : 12.0,
523 "numinlets" : 0
524 }
525
526 }
527 , {
528 "box" : {
529 "maxclass" : "newobj",
530 "text" : "udpsend 127.0.0.1 5510",
531 "patching_rect" : [ 91.0, 376.0, 136.0, 20.0 ],
532 "numoutlets" : 0,
533 "id" : "obj-38",
534 "fontname" : "Arial",
535 "fontsize" : 11.595187,
536 "numinlets" : 1
537 }
538
539 }
540 , {
541 "box" : {
542 "maxclass" : "panel",
543 "patching_rect" : [ 17.0, 258.0, 334.0, 155.0 ],
544 "numoutlets" : 0,
545 "id" : "obj-47",
546 "bgcolor" : [ 0.878431, 0.94902, 0.839216, 1.0 ],
547 "numinlets" : 1
548 }
549
550 }
551 ],
552 "lines" : [ {
553 "patchline" : {
554 "source" : [ "obj-15", 1 ],
555 "destination" : [ "obj-1", 0 ],
556 "hidden" : 0,
557 "midpoints" : [ ]
558 }
559
560 }
561 , {
562 "patchline" : {
563 "source" : [ "obj-34", 0 ],
564 "destination" : [ "obj-15", 1 ],
565 "hidden" : 0,
566 "midpoints" : [ ]
567 }
568
569 }
570 , {
571 "patchline" : {
572 "source" : [ "obj-11", 0 ],
573 "destination" : [ "obj-15", 0 ],
574 "hidden" : 0,
575 "midpoints" : [ ]
576 }
577
578 }
579 , {
580 "patchline" : {
581 "source" : [ "obj-17", 0 ],
582 "destination" : [ "obj-38", 0 ],
583 "hidden" : 0,
584 "midpoints" : [ 63.5, 365.5, 100.5, 365.5 ]
585 }
586
587 }
588 , {
589 "patchline" : {
590 "source" : [ "obj-18", 0 ],
591 "destination" : [ "obj-38", 0 ],
592 "hidden" : 0,
593 "midpoints" : [ 42.5, 360.0, 100.5, 360.0 ]
594 }
595
596 }
597 , {
598 "patchline" : {
599 "source" : [ "obj-19", 0 ],
600 "destination" : [ "obj-8", 0 ],
601 "hidden" : 0,
602 "midpoints" : [ ]
603 }
604
605 }
606 , {
607 "patchline" : {
608 "source" : [ "obj-2", 0 ],
609 "destination" : [ "obj-3", 0 ],
610 "hidden" : 0,
611 "midpoints" : [ ]
612 }
613
614 }
615 , {
616 "patchline" : {
617 "source" : [ "obj-24", 0 ],
618 "destination" : [ "obj-25", 0 ],
619 "hidden" : 0,
620 "midpoints" : [ ]
621 }
622
623 }
624 , {
625 "patchline" : {
626 "source" : [ "obj-25", 2 ],
627 "destination" : [ "obj-56", 0 ],
628 "hidden" : 0,
629 "midpoints" : [ ]
630 }
631
632 }
633 , {
634 "patchline" : {
635 "source" : [ "obj-26", 0 ],
636 "destination" : [ "obj-29", 0 ],
637 "hidden" : 0,
638 "midpoints" : [ ]
639 }
640
641 }
642 , {
643 "patchline" : {
644 "source" : [ "obj-28", 0 ],
645 "destination" : [ "obj-14", 0 ],
646 "hidden" : 0,
647 "midpoints" : [ ]
648 }
649
650 }
651 , {
652 "patchline" : {
653 "source" : [ "obj-29", 2 ],
654 "destination" : [ "obj-56", 0 ],
655 "hidden" : 0,
656 "midpoints" : [ ]
657 }
658
659 }
660 , {
661 "patchline" : {
662 "source" : [ "obj-3", 0 ],
663 "destination" : [ "obj-5", 0 ],
664 "hidden" : 0,
665 "midpoints" : [ ]
666 }
667
668 }
669 , {
670 "patchline" : {
671 "source" : [ "obj-37", 0 ],
672 "destination" : [ "obj-38", 0 ],
673 "hidden" : 0,
674 "midpoints" : [ 170.5, 359.0, 100.5, 359.0 ]
675 }
676
677 }
678 , {
679 "patchline" : {
680 "source" : [ "obj-5", 0 ],
681 "destination" : [ "obj-12", 0 ],
682 "hidden" : 0,
683 "midpoints" : [ ]
684 }
685
686 }
687 , {
688 "patchline" : {
689 "source" : [ "obj-50", 0 ],
690 "destination" : [ "obj-3", 1 ],
691 "hidden" : 0,
692 "midpoints" : [ 133.5, 239.0, 107.0, 239.0, 107.0, 117.0, 80.5, 117.0 ]
693 }
694
695 }
696 , {
697 "patchline" : {
698 "source" : [ "obj-52", 0 ],
699 "destination" : [ "obj-53", 1 ],
700 "hidden" : 0,
701 "midpoints" : [ ]
702 }
703
704 }
705 , {
706 "patchline" : {
707 "source" : [ "obj-52", 0 ],
708 "destination" : [ "obj-53", 0 ],
709 "hidden" : 0,
710 "midpoints" : [ ]
711 }
712
713 }
714 , {
715 "patchline" : {
716 "source" : [ "obj-53", 0 ],
717 "destination" : [ "obj-50", 0 ],
718 "hidden" : 0,
719 "midpoints" : [ ]
720 }
721
722 }
723 , {
724 "patchline" : {
725 "source" : [ "obj-56", 0 ],
726 "destination" : [ "obj-23", 0 ],
727 "hidden" : 0,
728 "midpoints" : [ ]
729 }
730
731 }
732 , {
733 "patchline" : {
734 "source" : [ "obj-57", 0 ],
735 "destination" : [ "obj-56", 0 ],
736 "hidden" : 0,
737 "midpoints" : [ ]
738 }
739
740 }
741 , {
742 "patchline" : {
743 "source" : [ "obj-8", 2 ],
744 "destination" : [ "obj-56", 0 ],
745 "hidden" : 0,
746 "midpoints" : [ ]
747 }
748
749 }
750 ]
751 }
752
753 }