Added pattr system for setting and storing descriptor setting presets

This commit is contained in:
2015-08-28 19:20:38 +01:00
parent 2bd4bbb456
commit 707998781b
4 changed files with 551 additions and 379 deletions
+6 -6
View File
@@ -2,7 +2,7 @@
"name" : "SP_FYP",
"version" : 1,
"creationdate" : -771589673,
"modificationdate" : -771348487,
"modificationdate" : -771338109,
"viewrect" : [ 25.0, 70.0, 300.0, 500.0 ],
"autoorganize" : 1,
"hideprojectwindow" : 0,
@@ -20,6 +20,11 @@
"kind" : "patcher",
"local" : 1
}
,
"DescriptorSelectionInterface.maxpat" : {
"kind" : "patcher",
"local" : 1
}
,
"RecursiveFileSearch.maxpat" : {
"kind" : "patcher",
@@ -33,11 +38,6 @@
"kind" : "javascript",
"local" : 1
}
,
"ConcatenateItems.js" : {
"kind" : "javascript",
"local" : 1
}
}
,
+10
View File
@@ -0,0 +1,10 @@
{
"pattrstorage" : {
"name" : "DescriptorInterfacePattr",
"slots" : {
}
}
}
File diff suppressed because it is too large Load Diff
+20 -26
View File
@@ -37,8 +37,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 735.0, 975.0, 50.0, 58.0 ],
"text" : "descriptors sfm 0. 0."
"patching_rect" : [ 735.0, 975.0, 264.0, 58.0 ],
"text" : "descriptors log_brightness 0. 192000. 0.68 lin_brightness 0. 192000. 0.68 sfm 0. 192000. log_skewness 0. 192000. lin_spread 0. 192000. harmonic_ratio 15 inharmonicity 0.68 pitch 0.68"
}
}
@@ -50,7 +50,8 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 766.0, 69.0, 1376.0, 850.0 ]
"patching_rect" : [ 766.0, 69.0, 1376.0, 850.0 ],
"varname" : "DescriptorSelectionInterface"
}
}
@@ -418,20 +419,6 @@
"text" : "print descriptor_value"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-56",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 395.0, 1068.0, 98.0, 18.0 ],
"text" : "descriptors pitch"
}
}
, {
"box" : {
@@ -860,6 +847,15 @@
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-208", 0 ]
}
}
, {
"patchline" : {
@@ -970,15 +966,6 @@
"source" : [ "obj-48", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-56", 0 ]
}
}
, {
"patchline" : {
@@ -1291,6 +1278,13 @@
"type" : "TEXT",
"implicit" : 1
}
, {
"name" : "DescriptorInterfacePattr.json",
"bootpath" : "/Users/sam/Documents/Projects/SP_FYP/data",
"patcherrelativepath" : "../data",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "descriptors~.mxo",
"type" : "iLaX"