Skip to content

Instantly share code, notes, and snippets.

@micromeeeter
Last active September 9, 2017 03:24
Show Gist options
  • Save micromeeeter/ad49911a50374560630016787448758b to your computer and use it in GitHub Desktop.
Save micromeeeter/ad49911a50374560630016787448758b to your computer and use it in GitHub Desktop.
transboundary :: sound
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 7,
"minor" : 0,
"revision" : 0,
"architecture" : "x64",
"modernui" : 1
}
,
"rect" : [ 44.0, 79.0, 1014.0, 932.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"id" : "obj-38",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 417.0, 17.5, 211.0, 33.0 ],
"style" : "",
"text" : "transboundary(2017)\nShin Hanagata, Momoha Matsuhashi"
}
}
, {
"box" : {
"id" : "obj-37",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 527.0, 486.0, 150.0, 20.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-8",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 625.5, 1.5, 150.0, 72.0 ],
"style" : "",
"text" : "openbciから送られてくるbandpowerデータのうち、indexが1のものだけ抽出し、発生する音を変化させるパッチ。\b"
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 507.0, 466.0, 150.0, 20.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-84",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 7,
"outlettype" : [ "", "", "", "", "", "", "" ],
"patching_rect" : [ 18.5, 715.5, 82.0, 22.0 ],
"style" : "",
"text" : "unjoin 6"
}
}
, {
"box" : {
"id" : "obj-74",
"linecount" : 7,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 546.0, 760.0, 52.0, 102.0 ],
"style" : "",
"text" : "3.331437 8.043627 7.632977 18.9 8.60239"
}
}
, {
"box" : {
"id" : "obj-72",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 589.5, 715.5, 47.0, 22.0 ],
"style" : "",
"text" : "pv ppp"
}
}
, {
"box" : {
"id" : "obj-71",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 559.0, 715.5, 24.0, 22.0 ],
"style" : "",
"text" : "t b"
}
}
, {
"box" : {
"id" : "obj-70",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 505.0, 760.0, 34.0, 22.0 ],
"style" : "",
"text" : "gate"
}
}
, {
"box" : {
"id" : "obj-61",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 505.0, 688.0, 35.0, 22.0 ],
"style" : "",
"text" : "== 1"
}
}
, {
"box" : {
"id" : "obj-58",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 677.0, 683.0, 47.0, 22.0 ],
"style" : "",
"text" : "pv ppp"
}
}
, {
"box" : {
"id" : "obj-57",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 181.0, 655.0, 24.0, 24.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-55",
"linecount" : 10,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 733.0, 683.0, 50.0, 143.0 ],
"style" : "",
"text" : "0.000077 0.000102 0.000128 0.000435 0.000666"
}
}
, {
"box" : {
"id" : "obj-53",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 505.0, 655.0, 57.0, 22.0 ],
"style" : "",
"text" : "zl.slice 1"
}
}
, {
"box" : {
"id" : "obj-36",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 281.5, 760.0, 113.0, 22.0 ],
"style" : "",
"text" : "zmap 0. 12. 55. 90."
}
}
, {
"box" : {
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 5,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 159.5, 760.0, 113.0, 22.0 ],
"style" : "",
"text" : "zmap 0. 12. 55. 90."
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-23",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 352.0, 837.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-24",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 329.0, 837.0, 22.0, 20.0 ],
"style" : "",
"text" : "γ"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-16",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 273.0, 837.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 250.0, 837.0, 22.0, 20.0 ],
"style" : "",
"text" : "β"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-66",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 195.0, 838.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-64",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 116.0, 838.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-62",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 39.5, 838.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-46",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 18.5, 675.0, 86.0, 22.0 ],
"style" : "",
"text" : "route /openbci"
}
}
, {
"box" : {
"id" : "obj-41",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 172.0, 838.0, 22.0, 20.0 ],
"style" : "",
"text" : "\bα"
}
}
, {
"box" : {
"id" : "obj-34",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 94.0, 838.0, 23.0, 20.0 ],
"style" : "",
"text" : "θ"
}
}
, {
"box" : {
"id" : "obj-14",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 18.5, 838.0, 23.0, 20.0 ],
"style" : "",
"text" : "δ"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 18.5, 645.0, 99.0, 22.0 ],
"style" : "",
"text" : "udpreceive 7400"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-1",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 623.0, 282.0, 66.0, 24.0 ],
"style" : "",
"text" : "size 1000"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-31",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 606.0, 514.5, 252.0, 84.0 ],
"style" : "",
"text" : "You can use this pattrstorage system to store useful settings, (independent of the sample), or just put the \"rgrano.maxpat\" in your patch to have the pattr parameters automatically available. ",
"textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-30",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 623.0, 220.0, 227.0, 53.0 ],
"style" : "",
"text" : "To play a single grain, turn grains OFF, and send a bang into the left inlet (useful for rhythmic playback).",
"textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-28",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 623.0, 163.0, 227.0, 53.0 ],
"style" : "",
"text" : "For linear playback, turn grains ON, set the speed, and click the \"play\" button.",
"textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-27",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 623.0, 136.0, 227.0, 22.0 ],
"style" : "",
"text" : "For normal operation, turn grains ON.",
"textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 2,
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-26",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 606.0, 408.0, 265.0, 57.0 ],
"style" : "",
"text" : "The rgrano abstraction takes one argument, the name of the sound file."
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 2,
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-82",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 13.0, 129.0, 99.0, 41.0 ],
"style" : "",
"text" : "Turn grains on."
}
}
, {
"box" : {
"bubble" : 1,
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-25",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 169.0, 494.0, 94.0, 26.0 ],
"style" : "",
"text" : "Start Audio"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-21",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 13.0, 67.5, 862.0, 38.0 ],
"style" : "",
"text" : "Granular synthesis is a form of sampling in which the sample is played often but with very short durations (ca. 100ms). This provides one way of doing time stretching and transposition without pitch change. It's also useful for exploring a sound's tonal content without its rhythmic structure.",
"textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
}
}
, {
"box" : {
"border" : 0,
"filename" : "helpdetails.js",
"id" : "obj-5",
"ignoreclick" : 1,
"jsarguments" : [ "granularized" ],
"maxclass" : "jsui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 13.0, 1.5, 404.0, 65.0 ]
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-29",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 623.0, 311.0, 47.0, 24.0 ],
"style" : "",
"text" : "set $1"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-33",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 635.0, 334.0, 35.0, 24.0 ],
"style" : "",
"text" : "IO"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-32",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 603.0, 334.0, 20.0, 20.0 ],
"style" : ""
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 623.0, 366.0, 56.0, 24.0 ],
"style" : "",
"text" : "record~"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 14,
"numoutlets" : 12,
"outlettype" : [ "signal", "signal", "int", "", "", "", "", "", "", "", "", "" ],
"patching_rect" : [ 641.0, 463.0, 195.0, 24.0 ],
"style" : "",
"text" : "rgrano.maxpat drumLoop.aif",
"varname" : "regular-version"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 12.0,
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 316.0, 611.0, 200.0, 23.0 ],
"saved_object_attributes" : {
"client_rect" : [ 1002, 449, 1440, 771 ],
"parameter_enable" : 0,
"storage_rect" : [ 562, 72, 1020, 441 ]
}
,
"style" : "",
"text" : "pattrstorage Untitled @savemode 0",
"varname" : "Untitled"
}
}
, {
"box" : {
"bgmode" : 1,
"border" : 1,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"id" : "obj-19",
"lockeddragscroll" : 0,
"maxclass" : "bpatcher",
"name" : "pattr-helper.maxpat",
"numinlets" : 1,
"numoutlets" : 1,
"offset" : [ -4.0, -6.0 ],
"outlettype" : [ "" ],
"patching_rect" : [ 316.0, 509.0, 278.0, 90.0 ],
"presentation" : 1,
"presentation_rect" : [ 175.0, 390.0, 311.0, 131.0 ],
"varname" : "pattr-helper",
"viewvisibility" : 1
}
}
, {
"box" : {
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"htricolor" : [ 0.87, 0.82, 0.24, 1.0 ],
"id" : "obj-6",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 151.0, 143.5, 39.0, 24.0 ],
"style" : "",
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"tricolor" : [ 0.75, 0.75, 0.75, 1.0 ],
"triscale" : 0.9
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-10",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 228.0, 112.5, 22.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-11",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 7,
"minor" : 0,
"revision" : 0,
"architecture" : "x64",
"modernui" : 1
}
,
"rect" : [ 571.0, 512.0, 352.0, 278.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 10.0,
"default_fontface" : 0,
"default_fontname" : "Lato",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"fontname" : "Lato",
"fontsize" : 11.595187,
"id" : "obj-13",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 61.0, 97.0, 80.0, 33.0 ],
"style" : "",
"text" : "modwheel scrubs"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 11.595187,
"id" : "obj-12",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 242.0, 97.0, 80.0, 33.0 ],
"style" : "",
"text" : "pitch controls transposition"
}
}
, {
"box" : {
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"patching_rect" : [ 257.0, 131.0, 50.0, 17.0 ],
"style" : "",
"text" : "notein"
}
}
, {
"box" : {
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"patching_rect" : [ 257.0, 156.0, 50.0, 17.0 ],
"style" : "",
"text" : "stripnote"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 39.0, 189.0, 50.0, 17.0 ],
"style" : "",
"text" : "gate"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 37.0, 53.0, 15.0, 15.0 ],
"style" : ""
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 217.0, 182.0, 50.0, 17.0 ],
"style" : "",
"text" : "gate"
}
}
, {
"box" : {
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 79.0, 163.0, 50.0, 17.0 ],
"style" : "",
"text" : "/ 127."
}
}
, {
"box" : {
"color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
"fontname" : "Lato",
"fontsize" : 9.160198,
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "int" ],
"patching_rect" : [ 79.0, 142.0, 50.0, 17.0 ],
"style" : "",
"text" : "ctlin 1"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-9",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 39.0, 220.0, 15.0, 15.0 ],
"style" : ""
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-10",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 217.0, 220.0, 15.0, 15.0 ],
"style" : ""
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-11",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 37.0, 28.0, 15.0, 15.0 ],
"style" : ""
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-2", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 46.0, 84.0, 226.5, 84.0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-10", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-8", 0 ]
}
}
],
"styles" : [ {
"name" : "AudioStatus_Menu",
"default" : {
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.294118, 0.313726, 0.337255, 1 ],
"color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ],
"color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0
}
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 228.0, 138.5, 56.0, 24.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"fontname" : "Lato",
"fontsize" : 10.0,
"globalpatchername" : "",
"style" : "",
"tags" : ""
}
,
"style" : "",
"text" : "p midi?"
}
}
, {
"box" : {
"bgmode" : 1,
"border" : 1,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"id" : "obj-12",
"lockeddragscroll" : 1,
"maxclass" : "bpatcher",
"name" : "IO.maxpat",
"numinlets" : 2,
"numoutlets" : 2,
"offset" : [ -109.0, -3.0 ],
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 18.5, 480.5, 149.0, 159.0 ],
"presentation" : 1,
"presentation_rect" : [ 5.0, 386.0, 155.0, 146.0 ],
"viewvisibility" : 1
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-17",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 251.0, 116.5, 78.0, 22.0 ],
"style" : "",
"text" : "midi enable"
}
}
, {
"box" : {
"fontname" : "Lato",
"fontsize" : 13.0,
"hidden" : 1,
"id" : "obj-18",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 151.0, 105.5, 63.0, 38.0 ],
"style" : "",
"text" : "number of voices"
}
}
, {
"box" : {
"args" : [ "anton.aif" ],
"bgmode" : 1,
"border" : 1,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"hint" : "Copy this bpatcher into your patch for instant granularity.",
"id" : "obj-13",
"lockeddragscroll" : 1,
"maxclass" : "bpatcher",
"name" : "rgrano.maxpat",
"numinlets" : 14,
"numoutlets" : 12,
"offset" : [ -309.0, -180.0 ],
"outlettype" : [ "signal", "signal", "int", "", "", "", "", "", "", "", "", "" ],
"patching_rect" : [ 13.0, 173.0, 570.0, 292.0 ],
"presentation" : 1,
"presentation_rect" : [ 5.0, 88.0, 572.0, 290.0 ],
"varname" : "bpatcher-version",
"viewvisibility" : 1
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"fontsize" : 13.0,
"hint" : "",
"id" : "obj-77",
"ignoreclick" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 116.0, 131.0, 20.0, 20.0 ],
"rounded" : 60.0,
"style" : "",
"text" : "2",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"fontsize" : 13.0,
"hint" : "",
"id" : "obj-93",
"ignoreclick" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 264.0, 496.5, 20.0, 20.0 ],
"rounded" : 60.0,
"style" : "",
"text" : "1",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-13", 13 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 12 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-11", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 11 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-11", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 4 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 1 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 72.590909, 471.0, 158.0, 471.0 ],
"source" : [ "obj-13", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-13", 11 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 12 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-46", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-32", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-16", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-36", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-53", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-46", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-57", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-46", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-55", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-53", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-58", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-53", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-61", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-53", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 1 ],
"disabled" : 0,
"hidden" : 1,
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-70", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-61", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-71", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-61", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 11 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-66", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-74", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-70", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-84", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-70", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-72", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-71", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-70", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-72", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-84", 3 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-36", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-84", 4 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-62", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-84", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-64", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-84", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-66", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-84", 2 ]
}
}
],
"dependency_cache" : [ {
"name" : "rgrano.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "rgrain.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "rchoose.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "transratio.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "IO.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/utilities/input_output IO/lib",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/utilities/input_output IO/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "pattr-helper.maxpat",
"bootpath" : "/Users/Shared/Max 7/Examples/utilities",
"patcherrelativepath" : "../../../../../../../Shared/Max 7/Examples/utilities",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "helpdetails.js",
"bootpath" : "/Applications/Max.app/Contents/Resources/C74/help/resources",
"patcherrelativepath" : "../../../../../../../../Applications/Max.app/Contents/Resources/C74/help/resources",
"type" : "TEXT",
"implicit" : 1
}
],
"embedsnapshot" : 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment