operation-theatre/patchers/gencompressor-example.maxpat
2025-10-06 15:16:55 +02:00

924 lines
20 KiB
Plaintext

{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 9,
"minor" : 0,
"revision" : 7,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 34.0, 87.0, 1562.0, 874.0 ],
"gridsize" : [ 15.0, 15.0 ],
"boxes" : [ {
"box" : {
"basictuning" : 440,
"channelcount" : 6,
"clipheight" : 42.0,
"data" : {
"clips" : [ {
"absolutepath" : "Macintosh HD:/Users/evelinevervliet/Downloads/163390__blouhond__crowd-talking-during-interval-surround-version.wav",
"filename" : "163390__blouhond__crowd-talking-during-interval-surround-version.wav",
"filekind" : "audiofile",
"id" : "u663008893",
"loop" : 0,
"content_state" : {
}
}
]
}
,
"followglobaltempo" : 0,
"formantcorrection" : 0,
"id" : "obj-49",
"maxclass" : "mc.playlist~",
"mode" : "basic",
"numinlets" : 1,
"numoutlets" : 4,
"originallength" : [ 0.0, "ticks" ],
"originaltempo" : 120.0,
"outlettype" : [ "multichannelsignal", "signal", "", "dictionary" ],
"parameter_enable" : 0,
"patching_rect" : [ 1084.0, 142.0, 459.0, 42.0 ],
"pitchcorrection" : 0,
"quality" : "basic",
"saved_attribute_attributes" : {
"candicane2" : {
"expression" : ""
}
,
"candicane3" : {
"expression" : ""
}
,
"candicane4" : {
"expression" : ""
}
,
"candicane5" : {
"expression" : ""
}
,
"candicane6" : {
"expression" : ""
}
,
"candicane7" : {
"expression" : ""
}
,
"candicane8" : {
"expression" : ""
}
}
,
"timestretch" : [ 0 ]
}
}
, {
"box" : {
"attr" : "volume",
"attr_display" : 1,
"hint" : "Sets the global volume",
"id" : "obj-2",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 243.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "sustain",
"attr_display" : 1,
"hint" : "Sets the release time (or amount of \"spongy\" sound)",
"id" : "obj-3",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 219.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "attack",
"attr_display" : 1,
"hint" : "Sets the attack time (or amount of \"picky\" sound)",
"id" : "obj-4",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 195.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "comp",
"attr_display" : 1,
"hint" : "Sets the amount of compression applied to the input signal",
"id" : "obj-24",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 171.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "softclip",
"attr_display" : 1,
"displaymode" : 8,
"hint" : "Enables/disables soft clipping (slight saturation)",
"id" : "obj-25",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 267.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "lookahead",
"attr_display" : 1,
"hint" : "Sets the amount of time that the input signal will be delayed",
"id" : "obj-26",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 937.0, 142.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"id" : "obj-27",
"maxclass" : "mc.ezdac~",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 1084.0, 608.0, 45.0, 45.0 ]
}
}
, {
"box" : {
"channels" : 6,
"id" : "obj-28",
"lastchannelcount" : 6,
"maxclass" : "mc.live.gain~",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "multichannelsignal", "", "float", "list" ],
"parameter_enable" : 1,
"patching_rect" : [ 1084.0, 420.0, 82.0, 101.0 ],
"saved_attribute_attributes" : {
"valueof" : {
"parameter_longname" : "mc.live.gain~[1]",
"parameter_mmax" : 6.0,
"parameter_mmin" : -70.0,
"parameter_modmode" : 3,
"parameter_shortname" : "mc.live.gain~",
"parameter_type" : 0,
"parameter_unitstyle" : 4
}
}
,
"varname" : "mc.live.gain~[1]"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "multichannelsignal" ],
"patching_rect" : [ 1084.0, 353.0, 204.0, 22.0 ],
"text" : "mcs.gen~ gencompressor-6-channel"
}
}
, {
"box" : {
"attr" : "volume",
"attr_display" : 1,
"hint" : "Sets the global volume",
"id" : "obj-17",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 243.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "sustain",
"attr_display" : 1,
"hint" : "Sets the release time (or amount of \"spongy\" sound)",
"id" : "obj-18",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 219.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "attack",
"attr_display" : 1,
"hint" : "Sets the attack time (or amount of \"picky\" sound)",
"id" : "obj-19",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 195.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "comp",
"attr_display" : 1,
"hint" : "Sets the amount of compression applied to the input signal",
"id" : "obj-20",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 171.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "softclip",
"attr_display" : 1,
"displaymode" : 8,
"hint" : "Enables/disables soft clipping (slight saturation)",
"id" : "obj-22",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 267.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "lookahead",
"attr_display" : 1,
"hint" : "Sets the amount of time that the input signal will be delayed",
"id" : "obj-23",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 486.0, 147.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"id" : "obj-15",
"maxclass" : "mc.ezdac~",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 633.0, 608.0, 45.0, 45.0 ]
}
}
, {
"box" : {
"id" : "obj-12",
"lastchannelcount" : 2,
"maxclass" : "mc.live.gain~",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "multichannelsignal", "", "float", "list" ],
"parameter_enable" : 1,
"patching_rect" : [ 633.0, 421.0, 47.0, 100.0 ],
"saved_attribute_attributes" : {
"valueof" : {
"parameter_longname" : "mc.live.gain~",
"parameter_mmax" : 6.0,
"parameter_mmin" : -70.0,
"parameter_modmode" : 3,
"parameter_shortname" : "mc.live.gain~",
"parameter_type" : 0,
"parameter_unitstyle" : 4
}
}
,
"varname" : "mc.live.gain~"
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "multichannelsignal" ],
"patching_rect" : [ 633.0, 353.0, 147.0, 22.0 ],
"text" : "mcs.gen~ gencompressor"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "multichannelsignal" ],
"patching_rect" : [ 633.0, 209.0, 72.0, 22.0 ],
"text" : "mc.pack~ 2"
}
}
, {
"box" : {
"bgmode" : 0,
"border" : 0,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"hint" : "",
"id" : "obj-7",
"lockeddragscroll" : 0,
"lockedsize" : 0,
"maxclass" : "bpatcher",
"name" : "Rnbo-Input~.maxpat",
"numinlets" : 1,
"numoutlets" : 5,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "signal", "signal", "signal", "", "dictionary" ],
"patching_rect" : [ 633.0, 41.0, 230.0, 123.0 ],
"varname" : "Input[1]",
"viewvisibility" : 1
}
}
, {
"box" : {
"clip_size" : 1,
"fontname" : "Lato",
"fontsize" : 10.0,
"id" : "obj-41",
"lastchannelcount" : 0,
"maxclass" : "live.gain~",
"numinlets" : 2,
"numoutlets" : 5,
"outlettype" : [ "signal", "signal", "", "float", "list" ],
"parameter_enable" : 1,
"patching_rect" : [ 202.0, 421.0, 54.0, 100.0 ],
"saved_attribute_attributes" : {
"valueof" : {
"parameter_initial" : [ -6 ],
"parameter_initial_enable" : 1,
"parameter_invisible" : 2,
"parameter_longname" : "Gain",
"parameter_mmax" : 6.0,
"parameter_mmin" : -70.0,
"parameter_modmode" : 0,
"parameter_shortname" : "Gain",
"parameter_type" : 0,
"parameter_unitstyle" : 4
}
}
,
"varname" : "live.gain~"
}
}
, {
"box" : {
"id" : "obj-6",
"local" : 1,
"maxclass" : "ezdac~",
"numinlets" : 2,
"numoutlets" : 0,
"patching_rect" : [ 202.0, 608.0, 45.0, 45.0 ]
}
}
, {
"box" : {
"bgmode" : 0,
"border" : 0,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"hint" : "",
"id" : "obj-5",
"lockeddragscroll" : 0,
"lockedsize" : 0,
"maxclass" : "bpatcher",
"name" : "Rnbo-Input~.maxpat",
"numinlets" : 1,
"numoutlets" : 5,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "signal", "signal", "signal", "", "dictionary" ],
"patching_rect" : [ 202.0, 41.0, 230.0, 123.0 ],
"varname" : "Input",
"viewvisibility" : 1
}
}
, {
"box" : {
"attr" : "volume",
"attr_display" : 1,
"hint" : "Sets the global volume",
"id" : "obj-21",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 243.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "sustain",
"attr_display" : 1,
"hint" : "Sets the release time (or amount of \"spongy\" sound)",
"id" : "obj-14",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 219.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "attack",
"attr_display" : 1,
"hint" : "Sets the attack time (or amount of \"picky\" sound)",
"id" : "obj-11",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 195.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "comp",
"attr_display" : 1,
"hint" : "Sets the amount of compression applied to the input signal",
"id" : "obj-16",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 171.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "softclip",
"attr_display" : 1,
"displaymode" : 8,
"hint" : "Enables/disables soft clipping (slight saturation)",
"id" : "obj-13",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 267.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"attr" : "lookahead",
"attr_display" : 1,
"hint" : "Sets the amount of time that the input signal will be delayed",
"id" : "obj-38",
"lock" : 1,
"maxclass" : "attrui",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 52.0, 147.0, 110.0, 22.0 ],
"text_width" : 64.0
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "signal", "signal" ],
"patching_rect" : [ 202.0, 353.0, 122.0, 22.0 ],
"text" : "gen~ gencompressor"
}
}
, {
"box" : {
"background" : 1,
"fontface" : 0,
"fontsize" : 10.0,
"id" : "obj-10",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 236.0, 533.0, 19.0, 18.0 ],
"text" : "R",
"textjustification" : 1
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-41", 1 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-41", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-26", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-38", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 1 ],
"source" : [ "obj-41", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-41", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-49", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 1 ],
"source" : [ "obj-5", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 1 ],
"source" : [ "obj-7", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"source" : [ "obj-9", 0 ]
}
}
],
"parameters" : {
"obj-12" : [ "mc.live.gain~", "mc.live.gain~", 0 ],
"obj-28" : [ "mc.live.gain~[1]", "mc.live.gain~", 0 ],
"obj-41" : [ "Gain", "Gain", 0 ],
"obj-5::obj-12" : [ "Browse", "Browse", 0 ],
"obj-5::obj-2" : [ "Input", "Input", 0 ],
"obj-5::obj-41" : [ "InputGain", "Input", 0 ],
"obj-7::obj-12" : [ "Browse[1]", "Browse", 0 ],
"obj-7::obj-2" : [ "Input[1]", "Input", 0 ],
"obj-7::obj-41" : [ "InputGain[1]", "Input", 0 ],
"parameterbanks" : {
"0" : {
"index" : 0,
"name" : "",
"parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
}
}
,
"parameter_overrides" : {
"obj-7::obj-41" : {
"parameter_longname" : "InputGain[1]"
}
}
,
"inherited_shortname" : 1
}
,
"dependency_cache" : [ {
"name" : "163390__blouhond__crowd-talking-during-interval-surround-version.wav",
"bootpath" : "~/Downloads",
"patcherrelativepath" : "../../../../../Downloads",
"type" : "WAVE",
"implicit" : 1
}
, {
"name" : "AiryRhodes.wav",
"bootpath" : "~/Documents/Max 9/Packages/RNBO Guitar Pedals/media",
"patcherrelativepath" : "../../../Packages/RNBO Guitar Pedals/media",
"type" : "WAVE",
"implicit" : 1
}
, {
"name" : "HeavensBells.wav",
"bootpath" : "~/Documents/Max 9/Packages/RNBO Guitar Pedals/media",
"patcherrelativepath" : "../../../Packages/RNBO Guitar Pedals/media",
"type" : "WAVE",
"implicit" : 1
}
, {
"name" : "Rnbo-Input~.maxpat",
"bootpath" : "~/Documents/Max 9/Packages/RNBO Guitar Pedals/patchers",
"patcherrelativepath" : "../../../Packages/RNBO Guitar Pedals/patchers",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "gencompressor-6-channel.gendsp",
"bootpath" : "~/Documents/Max 8/Library/operation-theatre/patchers",
"patcherrelativepath" : ".",
"type" : "gDSP",
"implicit" : 1
}
, {
"name" : "gencompressor.gendsp",
"bootpath" : "~/Documents/Max 8/Library/operation-theatre/patchers",
"patcherrelativepath" : ".",
"type" : "gDSP",
"implicit" : 1
}
],
"autosave" : 0,
"oscreceiveudpport" : 0
}
}