Finished basic analysis/resynthesis patch/scripts.
This commit is contained in:
+393
-1352
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1 +1 @@
|
||||
/Users/sam/AudioDatabases/Piano/Piano.ff.B5.aiff 2 44100 33808.504
|
||||
/Users/sam/AudioDatabases/Viola/mono/Viola.arco.ff.sulA.E6.stereo.mono.aif 1 44100 2950.250
|
||||
+90
-28
@@ -2,32 +2,80 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 6,
|
||||
"minor" : 1,
|
||||
"revision" : 10,
|
||||
"architecture" : "x86"
|
||||
"major" : 7,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x86",
|
||||
"modernui" : 1
|
||||
}
|
||||
,
|
||||
"rect" : [ 540.0, 175.0, 640.0, 480.0 ],
|
||||
"rect" : [ 871.0, 372.0, 743.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 0,
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 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,
|
||||
"imprint" : 0,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-5",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 36.0, 44.0, 51.0, 33.0 ],
|
||||
"presentation_rect" : [ 36.75, 51.5, 0.0, 0.0 ],
|
||||
"style" : "",
|
||||
"text" : "Grain size"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-4",
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 114.75, 50.5, 51.0, 20.0 ],
|
||||
"style" : "",
|
||||
"text" : "Overlap"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-2",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 174.75, 44.0, 88.5, 33.0 ],
|
||||
"style" : "",
|
||||
"text" : "sample length (ms)"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
@@ -36,13 +84,15 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 343.0, 326.0, 106.0, 20.0 ],
|
||||
"patching_rect" : [ 342.0, 365.0, 106.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "if $i1 > -1 then $i1"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontface" : 0,
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-8",
|
||||
@@ -50,8 +100,9 @@
|
||||
"numinlets" : 3,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 50.0, 100.0, 104.5, 20.0 ],
|
||||
"text" : "pak f i f"
|
||||
"patching_rect" : [ 49.0, 139.0, 176.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "pak i i f"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -64,13 +115,15 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 3,
|
||||
"outlettype" : [ "", "", "" ],
|
||||
"patching_rect" : [ 50.0, 129.0, 59.0, 20.0 ],
|
||||
"patching_rect" : [ 49.0, 168.0, 312.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "depack 3"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontface" : 0,
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-81",
|
||||
@@ -78,7 +131,8 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 2,
|
||||
"outlettype" : [ "int", "int" ],
|
||||
"patching_rect" : [ 50.0, 179.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 49.0, 218.0, 29.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "t i i"
|
||||
}
|
||||
|
||||
@@ -92,7 +146,8 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 2,
|
||||
"outlettype" : [ "int", "int" ],
|
||||
"patching_rect" : [ 194.0, 179.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 195.5, 218.0, 32.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "t i i"
|
||||
}
|
||||
|
||||
@@ -106,7 +161,8 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "float" ],
|
||||
"patching_rect" : [ 50.0, 288.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 49.0, 327.0, 32.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "/ 0."
|
||||
}
|
||||
|
||||
@@ -120,7 +176,8 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "float" ],
|
||||
"patching_rect" : [ 343.0, 260.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 342.0, 299.0, 32.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "* 0."
|
||||
}
|
||||
|
||||
@@ -134,7 +191,8 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "int" ],
|
||||
"patching_rect" : [ 343.0, 288.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 342.0, 327.0, 32.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "i"
|
||||
}
|
||||
|
||||
@@ -148,7 +206,8 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "float" ],
|
||||
"patching_rect" : [ 343.0, 227.0, 32.5, 20.0 ],
|
||||
"patching_rect" : [ 342.0, 266.0, 32.5, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "/ 0."
|
||||
}
|
||||
|
||||
@@ -161,7 +220,8 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "int" ],
|
||||
"patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ]
|
||||
"patching_rect" : [ 49.0, 79.0, 25.0, 25.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
}
|
||||
@@ -173,7 +233,8 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "int" ],
|
||||
"patching_rect" : [ 92.0, 40.0, 25.0, 25.0 ]
|
||||
"patching_rect" : [ 127.75, 79.0, 25.0, 25.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
}
|
||||
@@ -184,8 +245,9 @@
|
||||
"maxclass" : "inlet",
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "float" ],
|
||||
"patching_rect" : [ 135.0, 40.0, 25.0, 25.0 ]
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 206.5, 79.0, 25.0, 25.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
}
|
||||
@@ -197,7 +259,8 @@
|
||||
"maxclass" : "outlet",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 50.0, 368.0, 25.0, 25.0 ]
|
||||
"patching_rect" : [ 49.0, 407.0, 25.0, 25.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
}
|
||||
@@ -208,7 +271,8 @@
|
||||
"maxclass" : "outlet",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 343.0, 368.0, 25.0, 25.0 ]
|
||||
"patching_rect" : [ 342.0, 407.0, 25.0, 25.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
}
|
||||
@@ -272,7 +336,6 @@
|
||||
"destination" : [ "obj-58", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"midpoints" : [ 99.5, 156.0, 352.5, 156.0 ],
|
||||
"source" : [ "obj-7", 2 ]
|
||||
}
|
||||
|
||||
@@ -282,7 +345,6 @@
|
||||
"destination" : [ "obj-76", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"midpoints" : [ 79.5, 168.5, 203.5, 168.5 ],
|
||||
"source" : [ "obj-7", 1 ]
|
||||
}
|
||||
|
||||
@@ -310,7 +372,7 @@
|
||||
"destination" : [ "obj-69", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"midpoints" : [ 217.0, 252.0, 366.0, 252.0 ],
|
||||
"midpoints" : [ 218.5, 291.0, 365.0, 291.0 ],
|
||||
"source" : [ "obj-76", 1 ]
|
||||
}
|
||||
|
||||
@@ -338,7 +400,7 @@
|
||||
"destination" : [ "obj-58", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"midpoints" : [ 73.0, 214.0, 366.0, 214.0 ],
|
||||
"midpoints" : [ 69.0, 255.0, 365.0, 255.0 ],
|
||||
"source" : [ "obj-81", 1 ]
|
||||
}
|
||||
|
||||
|
||||
+68
-19
@@ -9,7 +9,7 @@
|
||||
"modernui" : 1
|
||||
}
|
||||
,
|
||||
"rect" : [ 34.0, 79.0, 1852.0, 902.0 ],
|
||||
"rect" : [ 34.0, 79.0, 1355.0, 902.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
@@ -37,6 +37,31 @@
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-169",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 328.0, 2463.0, 419.25, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "/Users/sam/Documents/Projects/SP_FYP_MAX7/code/run_python.sh 2>&1"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-154",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 294.0, 2527.0, 85.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "print shnished"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-92",
|
||||
"maxclass" : "message",
|
||||
@@ -372,7 +397,7 @@
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 238.25, 2512.0, 85.0, 22.0 ],
|
||||
"patching_rect" : [ 156.25, 2527.0, 85.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "print UNIXOut"
|
||||
}
|
||||
@@ -560,7 +585,7 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 2,
|
||||
"outlettype" : [ "", "bang" ],
|
||||
"patching_rect" : [ 238.25, 2440.0, 35.0, 22.0 ],
|
||||
"patching_rect" : [ 238.25, 2463.0, 35.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "shell"
|
||||
}
|
||||
@@ -1090,6 +1115,7 @@
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontface" : 0,
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-112",
|
||||
@@ -1150,6 +1176,7 @@
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontface" : 0,
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-105",
|
||||
@@ -1172,9 +1199,9 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 751.445129, 25.400927, 229.0, 22.0 ],
|
||||
"patching_rect" : [ 751.445129, 25.400927, 265.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "OSX:/Users/sam/AudioDatabases/Piano/"
|
||||
"text" : "OSX:/Users/sam/AudioDatabases/Piano_mono/"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1372,13 +1399,14 @@
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-53",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 612.445129, 1872.400879, 192.0, 22.0 ],
|
||||
"patching_rect" : [ 612.445129, 1872.400879, 192.0, 35.0 ],
|
||||
"style" : "",
|
||||
"text" : "names sfm noise_ratio confidence"
|
||||
"text" : "names energy confidence pitch rms"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1598,7 +1626,7 @@
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-129",
|
||||
"maxclass" : "number",
|
||||
"maximum" : 1352,
|
||||
"maximum" : 308,
|
||||
"minimum" : 0,
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 2,
|
||||
@@ -1691,15 +1719,17 @@
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-70",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1704.945068, 544.40094, 161.0, 22.0 ],
|
||||
"patching_rect" : [ 1704.945068, 544.40094, 161.0, 35.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 270.25, 202.0, 161.0, 22.0 ],
|
||||
"presentation_linecount" : 2,
|
||||
"presentation_rect" : [ 270.25, 202.0, 161.0, 35.0 ],
|
||||
"style" : "",
|
||||
"text" : "Piano.ff.B5.aiff"
|
||||
"text" : "Viola.arco.ff.sulA.F5.stereo.mono.aif"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1759,7 +1789,7 @@
|
||||
"numoutlets" : 2,
|
||||
"outlettype" : [ "", "bang" ],
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 1190.945068, 745.40094, 50.0, 22.0 ],
|
||||
"patching_rect" : [ 1190.945068, 745.40094, 68.0, 22.0 ],
|
||||
"style" : ""
|
||||
}
|
||||
|
||||
@@ -1985,7 +2015,7 @@
|
||||
"outlettype" : [ "", "", "", "" ],
|
||||
"patching_rect" : [ 277.445099, 82.400925, 113.0, 22.0 ],
|
||||
"restore" : {
|
||||
"GrainSize" : [ 100.0 ],
|
||||
"GrainSize" : [ 30.0 ],
|
||||
"Overlap" : [ 4 ],
|
||||
"SampleIndex" : [ 38 ]
|
||||
}
|
||||
@@ -2176,13 +2206,14 @@
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-15",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 2544.445068, 1278.400879, 151.0, 22.0 ],
|
||||
"patching_rect" : [ 2544.445068, 1278.400879, 151.0, 35.0 ],
|
||||
"style" : "",
|
||||
"text" : "sfm noise_ratio confidence"
|
||||
"text" : "energy confidence pitch rms"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2197,7 +2228,7 @@
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1885.445068, 1140.400879, 1085.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "descriptors sfm 0. 192000. noise_ratio 15 confidence 0.68"
|
||||
"text" : "descriptors energy 0. 192000. 1 confidence 0.68 pitch 0.68 rms 1"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2284,7 +2315,7 @@
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 270.25, 114.0, 161.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "Piano.pp.Gb7.aiff"
|
||||
"text" : "Piano.pp.Gb7.mono.aiff"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2676,9 +2707,9 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 751.445129, 51.400925, 224.0, 22.0 ],
|
||||
"patching_rect" : [ 751.445129, 51.400925, 258.0, 22.0 ],
|
||||
"style" : "",
|
||||
"text" : "OSX:/Users/sam/AudioDatabases/Viola/"
|
||||
"text" : "OSX:/Users/sam/AudioDatabases/Viola/mono/"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -3516,6 +3547,15 @@
|
||||
"source" : [ "obj-181", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-169", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-183", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@@ -3778,6 +3818,15 @@
|
||||
"source" : [ "obj-33", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-154", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-35", 1 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
|
||||
Reference in New Issue
Block a user