Skip to content
Snippets Groups Projects
Commit bf5e0576 authored by Michael Zbyszyński's avatar Michael Zbyszyński
Browse files

Working granular synth

parent 36f6f895
Branches
No related merge requests found
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 0,
"revision" : 7,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 284.0, 144.0, 726.0, 534.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 2,
"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" : "mzed_default",
"boxes" : [ {
"box" : {
"id" : "obj-2",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 265.0, 231.0, 150.0, 34.0 ],
"text" : "Make a simple granular synth here"
}
}
],
"lines" : [ ],
"dependency_cache" : [ ],
"autosave" : 0,
"editing_bgcolor" : [ 0.886274509803922, 0.996078431372549, 0.850980392156863, 1.0 ]
}
}
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 0,
"revision" : 7,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 1028.0, 140.0, 749.0, 619.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 2,
"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" : "mzed_default",
"boxes" : [ {
"box" : {
"id" : "obj-31",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 608.0, 220.0, 39.0, 22.0 ],
"text" : "atodb"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "FullPacket" ],
"patching_rect" : [ 608.0, 188.0, 75.0, 22.0 ],
"text" : "o.route /gain"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 355.25, 219.0, 212.0, 20.0 ],
"text" : "Parameter 4 mapped to transposition"
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 256.25, 219.0, 97.0, 22.0 ],
"text" : "scale 0. 1. 0 127"
}
}
, {
"box" : {
"id" : "obj-19",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 283.75, 188.0, 212.0, 20.0 ],
"text" : "Parameter 3 mapped to panning"
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "newobj",
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 184.75, 188.0, 97.0, 22.0 ],
"text" : "scale 0. 1. 1 127"
}
}
, {
"box" : {
"id" : "obj-17",
"maxclass" : "newobj",
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 106.75, 160.0, 97.0, 22.0 ],
"text" : "scale 0. 1. 5 500"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "FullPacket" ],
"patching_rect" : [ 32.0, 104.0, 318.0, 22.0 ],
"text" : "o.route /parameter1 /parameter2 /parameter3 /parameter4"
}
}
, {
"box" : {
"id" : "obj-14",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 84.0, 138.0, 212.0, 20.0 ],
"text" : "Parameter 1 mapped to scrub location"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-11",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 32.0, 138.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "FullPacket" ],
"patching_rect" : [ 32.0, 71.0, 81.0, 22.0 ],
"text" : "o.route /synth"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 32.0, 13.0, 155.0, 22.0 ],
"text" : "udpreceive 55667 fulpacket"
}
}
, {
"box" : {
"id" : "obj-2",
"lastchannelcount" : 0,
"maxclass" : "live.gain~",
"numinlets" : 2,
"numoutlets" : 5,
"outlettype" : [ "signal", "signal", "", "float", "list" ],
"parameter_enable" : 1,
"patching_rect" : [ 608.0, 262.0, 48.0, 136.0 ],
"saved_attribute_attributes" : {
"valueof" : {
"parameter_shortname" : "master",
"parameter_type" : 0,
"parameter_unitstyle" : 4,
"parameter_mmin" : -70.0,
"parameter_longname" : "master",
"parameter_mmax" : 6.0
}
}
,
"varname" : "live.gain~"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "ezdac~",
"numinlets" : 2,
"numoutlets" : 0,
"patching_rect" : [ 608.0, 412.0, 45.0, 45.0 ]
}
}
, {
"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" : [ 32.0, 262.0, 570.0, 292.0 ],
"presentation" : 1,
"presentation_rect" : [ 20.0, 103.0, 572.0, 290.0 ],
"varname" : "bpatcher-version",
"viewvisibility" : 1
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-13", 4 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 1 ],
"source" : [ "obj-13", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"source" : [ "obj-16", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-16", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"source" : [ "obj-16", 3 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-16", 4 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 8 ],
"order" : 0,
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 7 ],
"order" : 1,
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 1 ],
"source" : [ "obj-2", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 10 ],
"order" : 0,
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 9 ],
"order" : 1,
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 12 ],
"order" : 0,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 11 ],
"order" : 1,
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-16", 0 ],
"source" : [ "obj-5", 0 ]
}
}
],
"parameters" : {
"obj-2" : [ "master", "master", 0 ],
"parameterbanks" : {
}
}
,
"dependency_cache" : [ {
"name" : "rgrano.maxpat",
"bootpath" : "~/Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "rgrain.maxpat",
"bootpath" : "~/Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "rchoose.maxpat",
"bootpath" : "~/Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 8/Examples/sampling/granular/lib",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "transratio.maxpat",
"bootpath" : "~/Library/Application Support/Cycling '74/Max 8/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
"patcherrelativepath" : "../../../../../Library/Application Support/Cycling '74/Max 8/Examples/max-tricks/notes-and-pitch/pitch-to-freq-ratio",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "o.route.mxo",
"type" : "iLaX"
}
],
"autosave" : 0,
"editing_bgcolor" : [ 0.886274509803922, 0.996078431372549, 0.850980392156863, 1.0 ]
}
}
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment