builder.maxpat (16686B)
1 { 2 "patcher" : { 3 "fileversion" : 1, 4 "appversion" : { 5 "major" : 8, 6 "minor" : 1, 7 "revision" : 10, 8 "architecture" : "x64", 9 "modernui" : 1 10 } 11 , 12 "classnamespace" : "box", 13 "rect" : [ 709.0, 486.0, 848.0, 419.0 ], 14 "bglocked" : 0, 15 "openinpresentation" : 0, 16 "default_fontsize" : 12.0, 17 "default_fontface" : 0, 18 "default_fontname" : "Arial", 19 "gridonopen" : 1, 20 "gridsize" : [ 15.0, 15.0 ], 21 "gridsnaponopen" : 1, 22 "objectsnaponopen" : 1, 23 "statusbarvisible" : 2, 24 "toolbarvisible" : 1, 25 "lefttoolbarpinned" : 0, 26 "toptoolbarpinned" : 0, 27 "righttoolbarpinned" : 0, 28 "bottomtoolbarpinned" : 0, 29 "toolbars_unpinned_last_save" : 0, 30 "tallnewobj" : 0, 31 "boxanimatetime" : 200, 32 "enablehscroll" : 1, 33 "enablevscroll" : 1, 34 "devicewidth" : 0.0, 35 "description" : "", 36 "digest" : "", 37 "tags" : "", 38 "style" : "", 39 "subpatcher_template" : "", 40 "assistshowspatchername" : 0, 41 "boxes" : [ { 42 "box" : { 43 "id" : "obj-14", 44 "maxclass" : "message", 45 "numinlets" : 2, 46 "numoutlets" : 1, 47 "outlettype" : [ "" ], 48 "patching_rect" : [ 249.0, 62.0, 63.0, 22.0 ], 49 "text" : "script stop" 50 } 51 52 } 53 , { 54 "box" : { 55 "id" : "obj-15", 56 "maxclass" : "message", 57 "numinlets" : 2, 58 "numoutlets" : 1, 59 "outlettype" : [ "" ], 60 "patching_rect" : [ 299.0, 102.0, 101.0, 22.0 ], 61 "text" : "create myModule" 62 } 63 64 } 65 , { 66 "box" : { 67 "id" : "obj-9", 68 "maxclass" : "message", 69 "numinlets" : 2, 70 "numoutlets" : 1, 71 "outlettype" : [ "" ], 72 "patching_rect" : [ 249.0, 38.0, 64.0, 22.0 ], 73 "text" : "script start" 74 } 75 76 } 77 , { 78 "box" : { 79 "bgmode" : 0, 80 "border" : 0, 81 "clickthrough" : 0, 82 "enablehscroll" : 0, 83 "enablevscroll" : 0, 84 "id" : "obj-3", 85 "lockeddragscroll" : 0, 86 "maxclass" : "bpatcher", 87 "name" : "n4m.monitor.maxpat", 88 "numinlets" : 1, 89 "numoutlets" : 1, 90 "offset" : [ 0.0, 0.0 ], 91 "outlettype" : [ "bang" ], 92 "patching_rect" : [ 420.0, 166.5, 400.0, 220.0 ], 93 "viewvisibility" : 1 94 } 95 96 } 97 , { 98 "box" : { 99 "id" : "obj-2", 100 "maxclass" : "newobj", 101 "numinlets" : 1, 102 "numoutlets" : 2, 103 "outlettype" : [ "", "" ], 104 "patching_rect" : [ 249.0, 135.0, 190.0, 22.0 ], 105 "saved_object_attributes" : { 106 "autostart" : 1, 107 "defer" : 0, 108 "node_bin_path" : "", 109 "npm_bin_path" : "", 110 "watch" : 0 111 } 112 , 113 "text" : "node.script builder.js @autostart 1" 114 } 115 116 } 117 , { 118 "box" : { 119 "bubble" : 1, 120 "id" : "obj-10", 121 "maxclass" : "comment", 122 "numinlets" : 1, 123 "numoutlets" : 0, 124 "patching_rect" : [ 148.0, 315.0, 139.0, 24.0 ], 125 "text" : "Build gen code here" 126 } 127 128 } 129 , { 130 "box" : { 131 "id" : "obj-8", 132 "maxclass" : "newobj", 133 "numinlets" : 1, 134 "numoutlets" : 1, 135 "outlettype" : [ "" ], 136 "patching_rect" : [ 59.5, 137.0, 72.0, 22.0 ], 137 "text" : "prepend set" 138 } 139 140 } 141 , { 142 "box" : { 143 "id" : "obj-6", 144 "maxclass" : "newobj", 145 "numinlets" : 1, 146 "numoutlets" : 1, 147 "outlettype" : [ "" ], 148 "patching_rect" : [ 59.5, 106.0, 119.0, 22.0 ], 149 "text" : "loadmess myModule" 150 } 151 152 } 153 , { 154 "box" : { 155 "id" : "obj-5", 156 "maxclass" : "message", 157 "numinlets" : 2, 158 "numoutlets" : 1, 159 "outlettype" : [ "" ], 160 "patching_rect" : [ 135.5, 265.5, 68.0, 22.0 ], 161 "text" : "exportcode" 162 } 163 164 } 165 , { 166 "box" : { 167 "id" : "obj-27", 168 "maxclass" : "newobj", 169 "numinlets" : 1, 170 "numoutlets" : 1, 171 "outlettype" : [ "" ], 172 "patcher" : { 173 "fileversion" : 1, 174 "appversion" : { 175 "major" : 8, 176 "minor" : 1, 177 "revision" : 10, 178 "architecture" : "x64", 179 "modernui" : 1 180 } 181 , 182 "classnamespace" : "box", 183 "rect" : [ 1079.0, 348.0, 302.0, 412.0 ], 184 "bglocked" : 0, 185 "openinpresentation" : 0, 186 "default_fontsize" : 12.0, 187 "default_fontface" : 0, 188 "default_fontname" : "Arial", 189 "gridonopen" : 1, 190 "gridsize" : [ 15.0, 15.0 ], 191 "gridsnaponopen" : 1, 192 "objectsnaponopen" : 1, 193 "statusbarvisible" : 2, 194 "toolbarvisible" : 1, 195 "lefttoolbarpinned" : 0, 196 "toptoolbarpinned" : 0, 197 "righttoolbarpinned" : 0, 198 "bottomtoolbarpinned" : 0, 199 "toolbars_unpinned_last_save" : 0, 200 "tallnewobj" : 0, 201 "boxanimatetime" : 200, 202 "enablehscroll" : 1, 203 "enablevscroll" : 1, 204 "devicewidth" : 0.0, 205 "description" : "", 206 "digest" : "", 207 "tags" : "", 208 "style" : "", 209 "subpatcher_template" : "", 210 "assistshowspatchername" : 0, 211 "boxes" : [ { 212 "box" : { 213 "id" : "obj-2", 214 "maxclass" : "newobj", 215 "numinlets" : 1, 216 "numoutlets" : 1, 217 "outlettype" : [ "bang" ], 218 "patching_rect" : [ 112.0, 92.0, 22.0, 22.0 ], 219 "text" : "t b" 220 } 221 222 } 223 , { 224 "box" : { 225 "id" : "obj-3", 226 "maxclass" : "message", 227 "numinlets" : 2, 228 "numoutlets" : 1, 229 "outlettype" : [ "" ], 230 "patching_rect" : [ 112.0, 123.0, 32.0, 22.0 ], 231 "text" : "path" 232 } 233 234 } 235 , { 236 "box" : { 237 "id" : "obj-8", 238 "maxclass" : "newobj", 239 "numinlets" : 1, 240 "numoutlets" : 2, 241 "outlettype" : [ "", "" ], 242 "patching_rect" : [ 112.0, 152.0, 67.0, 22.0 ], 243 "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], 244 "text" : "thispatcher" 245 } 246 247 } 248 , { 249 "box" : { 250 "id" : "obj-22", 251 "maxclass" : "newobj", 252 "numinlets" : 1, 253 "numoutlets" : 1, 254 "outlettype" : [ "" ], 255 "patching_rect" : [ 72.0, 296.0, 119.0, 22.0 ], 256 "text" : "prepend exportfolder" 257 } 258 259 } 260 , { 261 "box" : { 262 "id" : "obj-21", 263 "maxclass" : "newobj", 264 "numinlets" : 1, 265 "numoutlets" : 1, 266 "outlettype" : [ "" ], 267 "patching_rect" : [ 26.0, 263.0, 119.0, 22.0 ], 268 "text" : "prepend exportname" 269 } 270 271 } 272 , { 273 "box" : { 274 "id" : "obj-19", 275 "maxclass" : "newobj", 276 "numinlets" : 1, 277 "numoutlets" : 1, 278 "outlettype" : [ "" ], 279 "patching_rect" : [ 26.0, 156.0, 57.0, 22.0 ], 280 "text" : "tosymbol" 281 } 282 283 } 284 , { 285 "box" : { 286 "id" : "obj-18", 287 "maxclass" : "newobj", 288 "numinlets" : 2, 289 "numoutlets" : 2, 290 "outlettype" : [ "", "" ], 291 "patching_rect" : [ 26.0, 125.0, 59.0, 22.0 ], 292 "text" : "route text" 293 } 294 295 } 296 , { 297 "box" : { 298 "id" : "obj-15", 299 "maxclass" : "message", 300 "numinlets" : 2, 301 "numoutlets" : 1, 302 "outlettype" : [ "" ], 303 "patching_rect" : [ 160.0, 189.0, 49.0, 22.0 ], 304 "text" : "path $1" 305 } 306 307 } 308 , { 309 "box" : { 310 "id" : "obj-13", 311 "maxclass" : "message", 312 "numinlets" : 2, 313 "numoutlets" : 1, 314 "outlettype" : [ "" ], 315 "patching_rect" : [ 26.0, 189.0, 55.0, 22.0 ], 316 "text" : "name $1" 317 } 318 319 } 320 , { 321 "box" : { 322 "id" : "obj-11", 323 "maxclass" : "newobj", 324 "numinlets" : 1, 325 "numoutlets" : 2, 326 "outlettype" : [ "", "" ], 327 "patching_rect" : [ 26.0, 229.0, 93.0, 22.0 ], 328 "saved_object_attributes" : { 329 "filename" : "path-helper.js", 330 "parameter_enable" : 0 331 } 332 , 333 "text" : "js path-helper.js" 334 } 335 336 } 337 , { 338 "box" : { 339 "comment" : "name", 340 "id" : "obj-25", 341 "index" : 1, 342 "maxclass" : "inlet", 343 "numinlets" : 0, 344 "numoutlets" : 1, 345 "outlettype" : [ "" ], 346 "patching_rect" : [ 26.0, 29.0, 30.0, 30.0 ] 347 } 348 349 } 350 , { 351 "box" : { 352 "comment" : "", 353 "id" : "obj-26", 354 "index" : 1, 355 "maxclass" : "outlet", 356 "numinlets" : 1, 357 "numoutlets" : 0, 358 "patching_rect" : [ 26.0, 355.0, 30.0, 30.0 ] 359 } 360 361 } 362 ], 363 "lines" : [ { 364 "patchline" : { 365 "destination" : [ "obj-21", 0 ], 366 "source" : [ "obj-11", 0 ] 367 } 368 369 } 370 , { 371 "patchline" : { 372 "destination" : [ "obj-11", 0 ], 373 "source" : [ "obj-13", 0 ] 374 } 375 376 } 377 , { 378 "patchline" : { 379 "destination" : [ "obj-11", 0 ], 380 "source" : [ "obj-15", 0 ] 381 } 382 383 } 384 , { 385 "patchline" : { 386 "destination" : [ "obj-19", 0 ], 387 "source" : [ "obj-18", 0 ] 388 } 389 390 } 391 , { 392 "patchline" : { 393 "destination" : [ "obj-13", 0 ], 394 "source" : [ "obj-19", 0 ] 395 } 396 397 } 398 , { 399 "patchline" : { 400 "destination" : [ "obj-3", 0 ], 401 "source" : [ "obj-2", 0 ] 402 } 403 404 } 405 , { 406 "patchline" : { 407 "destination" : [ "obj-26", 0 ], 408 "source" : [ "obj-21", 0 ] 409 } 410 411 } 412 , { 413 "patchline" : { 414 "destination" : [ "obj-26", 0 ], 415 "source" : [ "obj-22", 0 ] 416 } 417 418 } 419 , { 420 "patchline" : { 421 "destination" : [ "obj-18", 0 ], 422 "order" : 1, 423 "source" : [ "obj-25", 0 ] 424 } 425 426 } 427 , { 428 "patchline" : { 429 "destination" : [ "obj-2", 0 ], 430 "order" : 0, 431 "source" : [ "obj-25", 0 ] 432 } 433 434 } 435 , { 436 "patchline" : { 437 "destination" : [ "obj-8", 0 ], 438 "source" : [ "obj-3", 0 ] 439 } 440 441 } 442 , { 443 "patchline" : { 444 "destination" : [ "obj-15", 0 ], 445 "source" : [ "obj-8", 1 ] 446 } 447 448 } 449 ] 450 } 451 , 452 "patching_rect" : [ 59.5, 223.0, 79.0, 22.0 ], 453 "saved_object_attributes" : { 454 "description" : "", 455 "digest" : "", 456 "globalpatchername" : "", 457 "tags" : "" 458 } 459 , 460 "text" : "p export-help" 461 } 462 463 } 464 , { 465 "box" : { 466 "id" : "obj-24", 467 "maxclass" : "comment", 468 "numinlets" : 1, 469 "numoutlets" : 0, 470 "patching_rect" : [ 156.5, 192.5, 39.0, 20.0 ], 471 "text" : "name" 472 } 473 474 } 475 , { 476 "box" : { 477 "id" : "obj-17", 478 "keymode" : 1, 479 "lines" : 1, 480 "maxclass" : "textedit", 481 "numinlets" : 1, 482 "numoutlets" : 4, 483 "outlettype" : [ "", "int", "", "" ], 484 "parameter_enable" : 0, 485 "patching_rect" : [ 59.5, 192.5, 92.0, 22.0 ], 486 "text" : "myModule", 487 "wordwrap" : 0 488 } 489 490 } 491 , { 492 "box" : { 493 "id" : "obj-7", 494 "maxclass" : "message", 495 "numinlets" : 2, 496 "numoutlets" : 1, 497 "outlettype" : [ "" ], 498 "patching_rect" : [ 92.5, 265.5, 35.0, 22.0 ], 499 "text" : "open" 500 } 501 502 } 503 , { 504 "box" : { 505 "id" : "obj-1", 506 "maxclass" : "newobj", 507 "numinlets" : 2, 508 "numoutlets" : 2, 509 "outlettype" : [ "signal", "signal" ], 510 "patcher" : { 511 "fileversion" : 1, 512 "appversion" : { 513 "major" : 8, 514 "minor" : 1, 515 "revision" : 10, 516 "architecture" : "x64", 517 "modernui" : 1 518 } 519 , 520 "classnamespace" : "dsp.gen", 521 "rect" : [ 279.0, 334.0, 600.0, 450.0 ], 522 "bglocked" : 0, 523 "openinpresentation" : 0, 524 "default_fontsize" : 12.0, 525 "default_fontface" : 0, 526 "default_fontname" : "Arial", 527 "gridonopen" : 1, 528 "gridsize" : [ 15.0, 15.0 ], 529 "gridsnaponopen" : 1, 530 "objectsnaponopen" : 1, 531 "statusbarvisible" : 2, 532 "toolbarvisible" : 1, 533 "lefttoolbarpinned" : 0, 534 "toptoolbarpinned" : 0, 535 "righttoolbarpinned" : 0, 536 "bottomtoolbarpinned" : 0, 537 "toolbars_unpinned_last_save" : 0, 538 "tallnewobj" : 0, 539 "boxanimatetime" : 200, 540 "enablehscroll" : 1, 541 "enablevscroll" : 1, 542 "devicewidth" : 0.0, 543 "description" : "", 544 "digest" : "", 545 "tags" : "", 546 "style" : "", 547 "subpatcher_template" : "", 548 "assistshowspatchername" : 0, 549 "boxes" : [ { 550 "box" : { 551 "id" : "obj-5", 552 "maxclass" : "newobj", 553 "numinlets" : 1, 554 "numoutlets" : 0, 555 "patching_rect" : [ 301.5, 405.0, 35.0, 22.0 ], 556 "text" : "out 2" 557 } 558 559 } 560 , { 561 "box" : { 562 "id" : "obj-1", 563 "maxclass" : "newobj", 564 "numinlets" : 0, 565 "numoutlets" : 1, 566 "outlettype" : [ "" ], 567 "patching_rect" : [ 50.0, 14.0, 28.0, 22.0 ], 568 "text" : "in 1" 569 } 570 571 } 572 , { 573 "box" : { 574 "id" : "obj-2", 575 "maxclass" : "newobj", 576 "numinlets" : 0, 577 "numoutlets" : 1, 578 "outlettype" : [ "" ], 579 "patching_rect" : [ 305.0, 14.0, 28.0, 22.0 ], 580 "text" : "in 2" 581 } 582 583 } 584 , { 585 "box" : { 586 "id" : "obj-3", 587 "maxclass" : "newobj", 588 "numinlets" : 2, 589 "numoutlets" : 1, 590 "outlettype" : [ "" ], 591 "patching_rect" : [ 176.0, 149.0, 29.5, 22.0 ], 592 "text" : "+" 593 } 594 595 } 596 , { 597 "box" : { 598 "id" : "obj-4", 599 "maxclass" : "newobj", 600 "numinlets" : 1, 601 "numoutlets" : 0, 602 "patching_rect" : [ 56.0, 405.0, 35.0, 22.0 ], 603 "text" : "out 1" 604 } 605 606 } 607 ], 608 "lines" : [ { 609 "patchline" : { 610 "destination" : [ "obj-3", 0 ], 611 "source" : [ "obj-1", 0 ] 612 } 613 614 } 615 , { 616 "patchline" : { 617 "destination" : [ "obj-3", 1 ], 618 "source" : [ "obj-2", 0 ] 619 } 620 621 } 622 , { 623 "patchline" : { 624 "destination" : [ "obj-4", 0 ], 625 "order" : 1, 626 "source" : [ "obj-3", 0 ] 627 } 628 629 } 630 , { 631 "patchline" : { 632 "destination" : [ "obj-5", 0 ], 633 "order" : 0, 634 "source" : [ "obj-3", 0 ] 635 } 636 637 } 638 ] 639 } 640 , 641 "patching_rect" : [ 59.5, 315.0, 79.0, 22.0 ], 642 "saved_object_attributes" : { 643 "exportfolder" : "C:/Users/Isabel Kaspriskie/dev/vcv/gen-rack/gen/exports/", 644 "exportname" : "test" 645 } 646 , 647 "text" : "gen~" 648 } 649 650 } 651 ], 652 "lines" : [ { 653 "patchline" : { 654 "destination" : [ "obj-2", 0 ], 655 "source" : [ "obj-14", 0 ] 656 } 657 658 } 659 , { 660 "patchline" : { 661 "destination" : [ "obj-2", 0 ], 662 "source" : [ "obj-15", 0 ] 663 } 664 665 } 666 , { 667 "patchline" : { 668 "destination" : [ "obj-27", 0 ], 669 "source" : [ "obj-17", 0 ] 670 } 671 672 } 673 , { 674 "patchline" : { 675 "destination" : [ "obj-3", 0 ], 676 "source" : [ "obj-2", 1 ] 677 } 678 679 } 680 , { 681 "patchline" : { 682 "destination" : [ "obj-1", 0 ], 683 "source" : [ "obj-27", 0 ] 684 } 685 686 } 687 , { 688 "patchline" : { 689 "destination" : [ "obj-1", 0 ], 690 "source" : [ "obj-5", 0 ] 691 } 692 693 } 694 , { 695 "patchline" : { 696 "destination" : [ "obj-8", 0 ], 697 "source" : [ "obj-6", 0 ] 698 } 699 700 } 701 , { 702 "patchline" : { 703 "destination" : [ "obj-1", 0 ], 704 "source" : [ "obj-7", 0 ] 705 } 706 707 } 708 , { 709 "patchline" : { 710 "destination" : [ "obj-17", 0 ], 711 "source" : [ "obj-8", 0 ] 712 } 713 714 } 715 , { 716 "patchline" : { 717 "destination" : [ "obj-2", 0 ], 718 "source" : [ "obj-9", 0 ] 719 } 720 721 } 722 ], 723 "dependency_cache" : [ { 724 "name" : "path-helper.js", 725 "bootpath" : "~/dev/vcv/gen-rack/gen/projects/template", 726 "patcherrelativepath" : ".", 727 "type" : "TEXT", 728 "implicit" : 1 729 } 730 , { 731 "name" : "builder.js", 732 "bootpath" : "~/dev/vcv/gen-rack/gen/projects/template", 733 "patcherrelativepath" : ".", 734 "type" : "TEXT", 735 "implicit" : 1 736 } 737 , { 738 "name" : "n4m.monitor.maxpat", 739 "bootpath" : "C74:/packages/Node For Max/patchers/debug-monitor", 740 "type" : "JSON", 741 "implicit" : 1 742 } 743 , { 744 "name" : "resize_n4m_monitor_patcher.js", 745 "bootpath" : "C74:/packages/Node For Max/patchers/debug-monitor", 746 "type" : "TEXT", 747 "implicit" : 1 748 } 749 , { 750 "name" : "fit_jweb_to_bounds.js", 751 "bootpath" : "C74:/packages/Node For Max/patchers/debug-monitor", 752 "type" : "TEXT", 753 "implicit" : 1 754 } 755 ], 756 "autosave" : 0 757 } 758 759 }