Skip to content

Commit

Permalink
Updates the input amp recording trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
HongshuoFan committed Sep 4, 2023
1 parent 9cc34a0 commit e4a3b35
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 33 deletions.
2 changes: 1 addition & 1 deletion source/PRiSM_GR.maxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name" : "PRiSM_GR",
"version" : 1,
"creationdate" : 3767087226,
"modificationdate" : 3769770045,
"modificationdate" : 3776680077,
"viewrect" : [ 54.0, 140.0, 415.0, 841.0 ],
"autoorganize" : 0,
"hideprojectwindow" : 0,
Expand Down
21 changes: 11 additions & 10 deletions source/patchers/MGR_Main.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 2719.0, 148.0, 877.0, 304.0 ],
"rect" : [ 3014.0, 246.0, 877.0, 304.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
Expand Down Expand Up @@ -79,7 +79,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 323.0, 507.0, 508.0, 312.0 ],
"rect" : [ 2958.0, 585.0, 508.0, 312.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
Expand Down Expand Up @@ -107,6 +107,7 @@
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"visible" : 1,
"boxes" : [ {
"box" : {
"fontname" : "Verdana",
Expand Down Expand Up @@ -157,10 +158,10 @@
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 37.0, 79.0, 301.0, 27.0 ],
"patching_rect" : [ 37.0, 79.0, 327.0, 27.0 ],
"presentation" : 1,
"presentation_rect" : [ 9.5, 9.0, 383.0, 27.0 ],
"text" : "PRiSM Music Gesture Recognition"
"text" : "PRiSM Music Gesture Recognition 0.25"
}

}
Expand Down Expand Up @@ -1203,7 +1204,7 @@
"fontname" : "Arial",
"fontsize" : 13.0,
"id" : "obj-35",
"items" : [ "AU DLS Synth 1", ",", "from Max 1", ",", "from Max 2" ],
"items" : [ "AU DLS Synth 1", ",", "from Max 1", ",", "from Max 2", ",", "UltraLite-mk4 MIDI Out" ],
"labelclick" : 1,
"maxclass" : "umenu",
"numinlets" : 1,
Expand Down Expand Up @@ -4255,7 +4256,7 @@
"fontsize" : 14.0,
"hint" : "",
"id" : "obj-80",
"items" : [ "Off", ",", 1, "Output 1", ",", 2, " - " ],
"items" : [ "Off", ",", 1, "Output 1", ",", 2, "Output 2" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
Expand Down Expand Up @@ -4373,7 +4374,7 @@
"fontsize" : 14.0,
"hint" : "",
"id" : "obj-69",
"items" : [ "Off", ",", 1, "Output 1", ",", 2, " - " ],
"items" : [ "Off", ",", 1, "Output 1", ",", 2, "Output 2" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
Expand Down Expand Up @@ -4964,7 +4965,7 @@
"fontsize" : 14.0,
"hint" : "",
"id" : "obj-3",
"items" : [ "None", ",", "DELL P2415Q", ",", "MacBook Pro Speakers", ",", "Hongshuo’s AirPods Pro", ",", "ZoomAudioDevice" ],
"items" : [ "None", ",", "DELL P2415Q", ",", "MacBook Pro Speakers", ",", "UltraLite-mk4", ",", "ZoomAudioDevice" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
Expand Down Expand Up @@ -5004,7 +5005,7 @@
"fontsize" : 14.0,
"hint" : "",
"id" : "obj-12",
"items" : [ "None", ",", "FhsIMax Microphone", ",", "MacBook Pro Microphone", ",", "Hongshuo’s AirPods Pro", ",", "ZoomAudioDevice" ],
"items" : [ "None", ",", "FhsIMax Microphone", ",", "MacBook Pro Microphone", ",", "UltraLite-mk4", ",", "ZoomAudioDevice" ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
Expand Down Expand Up @@ -5254,7 +5255,7 @@
"fontsize" : 14.0,
"hint" : "",
"id" : "obj-41",
"items" : 24000,
"items" : [ 44100, ",", 48000, ",", 88200, ",", 96000 ],
"maxclass" : "umenu",
"numinlets" : 1,
"numoutlets" : 3,
Expand Down
68 changes: 46 additions & 22 deletions source/patchers/bp_Recorder.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"automationon" : "Stop",
"fontsize" : 10.0,
"id" : "obj-43",
"ignoreclick" : 1,
"maxclass" : "live.text",
"numinlets" : 1,
"numoutlets" : 2,
Expand Down Expand Up @@ -83,7 +84,7 @@
"box" : {
"comment" : "FolderPath",
"id" : "obj-42",
"index" : 4,
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
Expand Down Expand Up @@ -309,7 +310,7 @@
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"outlettype" : [ "" ],
"patching_rect" : [ 208.0, 40.0, 30.0, 30.0 ]
}

Expand Down Expand Up @@ -453,7 +454,7 @@
"box" : {
"comment" : "FolderPath",
"id" : "obj-7",
"index" : 3,
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
Expand Down Expand Up @@ -520,6 +521,7 @@
"activebgoncolor" : [ 0.399982452392578, 1.0, 0.800006747245789, 1.0 ],
"fontsize" : 14.0,
"id" : "obj-2",
"ignoreclick" : 1,
"maxclass" : "live.text",
"mode" : 0,
"numinlets" : 1,
Expand Down Expand Up @@ -558,7 +560,7 @@
"box" : {
"comment" : "",
"id" : "obj-5",
"index" : 1,
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
Expand Down Expand Up @@ -620,6 +622,7 @@
"activebgcolor" : [ 0.501960784313725, 1.0, 0.031372549019608, 0.7 ],
"fontsize" : 14.0,
"id" : "obj-27",
"ignoreclick" : 1,
"maxclass" : "live.text",
"mode" : 0,
"numinlets" : 1,
Expand Down Expand Up @@ -671,6 +674,7 @@
"automationon" : "Stop",
"fontsize" : 14.0,
"id" : "obj-17",
"ignoreclick" : 1,
"maxclass" : "live.text",
"numinlets" : 1,
"numoutlets" : 2,
Expand Down Expand Up @@ -771,7 +775,7 @@
, {
"box" : {
"allowdrag" : 0,
"buffername" : "1274_gBuffer",
"buffername" : "1411_gBuffer",
"id" : "obj-9",
"ignoreclick" : 1,
"maxclass" : "waveform~",
Expand Down Expand Up @@ -803,7 +807,7 @@
"box" : {
"comment" : "FolderPath",
"id" : "obj-4",
"index" : 2,
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
Expand All @@ -817,11 +821,11 @@
"box" : {
"comment" : "AudioInput",
"id" : "obj-3",
"index" : 1,
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"outlettype" : [ "" ],
"patching_rect" : [ 290.0, 0.0, 30.0, 30.0 ],
"tricolor" : [ 0.986251831054688, 0.007236152887344, 0.027423052117229, 1.0 ]
}
Expand Down Expand Up @@ -946,7 +950,7 @@
, {
"patchline" : {
"destination" : [ "obj-43", 0 ],
"midpoints" : [ 188.5, 299.75, 40.5, 299.75 ],
"midpoints" : [ 188.5, 295.75, 40.5, 295.75 ],
"order" : 3,
"source" : [ "obj-20", 0 ]
}
Expand All @@ -964,7 +968,7 @@
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"midpoints" : [ 275.5, 300.5, 397.0, 300.5, 397.0, 226.0, 518.5, 226.0 ],
"midpoints" : [ 275.5, 298.5, 397.0, 298.5, 397.0, 226.0, 518.5, 226.0 ],
"order" : 0,
"source" : [ "obj-22", 0 ]
}
Expand All @@ -982,7 +986,7 @@
, {
"patchline" : {
"destination" : [ "obj-43", 0 ],
"midpoints" : [ 275.5, 298.75, 40.5, 298.75 ],
"midpoints" : [ 275.5, 320.75, 40.5, 320.75 ],
"order" : 3,
"source" : [ "obj-22", 0 ]
}
Expand All @@ -992,16 +996,6 @@
"patchline" : {
"destination" : [ "obj-17", 0 ],
"midpoints" : [ 226.5, 558.0, 172.5, 558.0, 172.5, 317.0, 188.5, 317.0 ],
"order" : 0,
"source" : [ "obj-24", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-43", 0 ],
"midpoints" : [ 226.5, 544.0, 133.5, 544.0, 133.5, 485.0, 40.5, 485.0 ],
"order" : 1,
"source" : [ "obj-24", 0 ]
}

Expand Down Expand Up @@ -1144,7 +1138,37 @@
}

}
]
],
"parameters" : {
"obj-17" : [ "live.text[2]", "live.text", 0 ],
"obj-2" : [ "live.text[10]", "live.text[1]", 0 ],
"obj-27" : [ "live.text[1]", "live.text[1]", 0 ],
"obj-43" : [ "live.text[13]", "live.text", 0 ],
"parameterbanks" : {
"0" : {
"index" : 0,
"name" : "",
"parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
}

}
,
"inherited_shortname" : 1
}
,
"dependency_cache" : [ {
"name" : "fluid.ampgate~.mxo",
"type" : "iLaX"
}
, {
"name" : "p_recorder.maxpat",
"bootpath" : "~/Desktop/Development/MusicGestureRecognition/PRiSM_GR/patchers",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
],
"autosave" : 0
}

}

0 comments on commit e4a3b35

Please sign in to comment.