Skip to content

Commit

Permalink
Update pattr utilities to cooperate with 264.midi-presets
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Sep 21, 2015
1 parent 6e12f33 commit 86a6ef9
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 49 deletions.
32 changes: 16 additions & 16 deletions patchers/264.pattr-control.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"architecture" : "x86"
}
,
"rect" : [ 290.0, 178.0, 731.0, 294.0 ],
"rect" : [ 337.0, 111.0, 750.0, 294.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
Expand Down Expand Up @@ -82,7 +82,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 180.0, 32.5, 20.0 ],
"patching_rect" : [ 270.0, 180.0, 32.5, 20.0 ],
"text" : "gate"
}

Expand Down Expand Up @@ -116,7 +116,7 @@
}
, {
"box" : {
"comment" : "",
"comment" : "Store preset (bang)",
"id" : "obj-12",
"maxclass" : "inlet",
"numinlets" : 0,
Expand Down Expand Up @@ -151,7 +151,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 388.5, 90.0, 34.0, 20.0 ],
"patching_rect" : [ 388.5, 90.0, 166.5, 20.0 ],
"text" : "t b b"
}

Expand All @@ -166,8 +166,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 298.5, 60.0, 77.0, 20.0 ],
"text" : "r save_bang"
"patching_rect" : [ 283.5, 60.0, 91.0, 20.0 ],
"text" : "r #2-save-bang"
}

}
Expand Down Expand Up @@ -209,7 +209,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 298.5, 150.0, 24.0, 20.0 ],
"patching_rect" : [ 283.5, 150.0, 24.0, 20.0 ],
"text" : "t b"
}

Expand All @@ -235,8 +235,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 420.0, 60.0, 123.0, 20.0 ],
"text" : "r preset_store_action"
"patching_rect" : [ 420.0, 60.0, 135.0, 20.0 ],
"text" : "r #2-preset-store-action"
}

}
Expand Down Expand Up @@ -265,8 +265,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 583.75, 60.0, 132.0, 20.0 ],
"text" : "r preset_store_number"
"patching_rect" : [ 583.75, 60.0, 144.0, 20.0 ],
"text" : "r #2-preset-store-number"
}

}
Expand All @@ -280,8 +280,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 28.5, 60.0, 134.0, 20.0 ],
"text" : "r preset_recall_number"
"patching_rect" : [ 28.5, 60.0, 146.0, 20.0 ],
"text" : "r #2-preset-recall-number"
}

}
Expand All @@ -295,7 +295,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 150.0, 210.0, 154.0, 20.0 ],
"patching_rect" : [ 150.0, 210.0, 149.0, 20.0 ],
"text" : "264.pattr-read-write #1 #2"
}

Expand Down Expand Up @@ -339,7 +339,7 @@
"destination" : [ "obj-18", 0 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 24.5, 51.5, 294.5, 51.5 ],
"midpoints" : [ 24.5, 51.5, 279.5, 51.5 ],
"source" : [ "obj-11", 0 ]
}

Expand Down Expand Up @@ -503,7 +503,7 @@
],
"dependency_cache" : [ {
"name" : "264.pattr-read-write.maxpat",
"bootpath" : "/Users/chris/Documents/Max/Packages/264-tools/patchers",
"bootpath" : "/Users/chris/Documents/Max/Packages/264 Tools/patchers",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
Expand Down
67 changes: 34 additions & 33 deletions patchers/264.pattr-read-write.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"architecture" : "x86"
}
,
"rect" : [ 365.0, 470.0, 724.0, 239.0 ],
"rect" : [ 201.0, 181.0, 724.0, 239.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
Expand Down Expand Up @@ -386,8 +386,8 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 75.0, 80.0, 20.0 ],
"text" : "v patch_path"
"patching_rect" : [ 15.0, 75.0, 94.0, 20.0 ],
"text" : "v patchPath264"
}

}
Expand All @@ -401,8 +401,8 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 405.0, 75.0, 80.0, 20.0 ],
"text" : "v patch_path"
"patching_rect" : [ 405.0, 75.0, 94.0, 20.0 ],
"text" : "v patchPath264"
}

}
Expand All @@ -416,8 +416,8 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 210.0, 75.0, 80.0, 20.0 ],
"text" : "v patch_path"
"patching_rect" : [ 210.0, 75.0, 94.0, 20.0 ],
"text" : "v patchPath264"
}

}
Expand All @@ -442,8 +442,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 405.0, 15.0, 123.0, 20.0 ],
"text" : "r save_backup_bang"
"patching_rect" : [ 405.0, 15.0, 134.0, 20.0 ],
"text" : "r #2-save-backup-bang"
}

}
Expand All @@ -469,10 +469,10 @@
"id" : "obj-11",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 15.0, 45.0, 24.0, 20.0 ],
"text" : "t b"
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 15.0, 45.0, 124.0, 20.0 ],
"text" : "b"
}

}
Expand All @@ -486,8 +486,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 45.0, 15.0, 76.0, 20.0 ],
"text" : "r read_bang"
"patching_rect" : [ 45.0, 15.0, 90.0, 20.0 ],
"text" : "r #2-read-bang"
}

}
Expand Down Expand Up @@ -515,7 +515,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 165.0, 75.0, 35.0, 18.0 ],
"patching_rect" : [ 120.0, 75.0, 35.0, 18.0 ],
"text" : "#1"
}

Expand All @@ -531,7 +531,7 @@
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 105.0, 169.0, 20.0 ],
"text" : "sprintf %sprojectfiles:%s.json"
"text" : "sprintf %sprojectfiles/%s.json"
}

}
Expand All @@ -557,10 +557,10 @@
"id" : "obj-19",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 210.0, 45.0, 24.0, 20.0 ],
"text" : "t b"
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 210.0, 45.0, 124.0, 20.0 ],
"text" : "b"
}

}
Expand Down Expand Up @@ -588,7 +588,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 360.0, 75.0, 35.0, 18.0 ],
"patching_rect" : [ 315.0, 75.0, 35.0, 18.0 ],
"text" : "#1"
}

Expand All @@ -604,7 +604,7 @@
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 210.0, 105.0, 169.0, 20.0 ],
"text" : "sprintf %sprojectfiles:%s.json"
"text" : "sprintf %sprojectfiles/%s.json"
}

}
Expand All @@ -630,10 +630,10 @@
"id" : "obj-27",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 405.0, 45.0, 24.0, 20.0 ],
"text" : "t b"
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "bang" ],
"patching_rect" : [ 405.0, 45.0, 259.0, 20.0 ],
"text" : "b 3"
}

}
Expand Down Expand Up @@ -677,7 +677,7 @@
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 405.0, 105.0, 259.0, 20.0 ],
"text" : "sprintf %sprojectfiles:backups:%s_%s.json"
"text" : "sprintf %sprojectfiles/backups/%s_%s.json"
}

}
Expand Down Expand Up @@ -714,7 +714,7 @@
"destination" : [ "obj-14", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-11", 0 ]
"source" : [ "obj-11", 1 ]
}

}
Expand Down Expand Up @@ -777,7 +777,7 @@
"destination" : [ "obj-22", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-19", 0 ]
"source" : [ "obj-19", 1 ]
}

}
Expand Down Expand Up @@ -840,7 +840,7 @@
"destination" : [ "obj-30", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-27", 0 ]
"source" : [ "obj-27", 1 ]
}

}
Expand All @@ -849,7 +849,7 @@
"destination" : [ "obj-33", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-27", 0 ]
"source" : [ "obj-27", 2 ]
}

}
Expand Down Expand Up @@ -934,7 +934,8 @@
}

}
]
],
"dependency_cache" : [ ]
}

}

0 comments on commit 86a6ef9

Please sign in to comment.