Studienprojekt zum Einsatz von 6DOF Cubes für diverse Anwendungen
Marlon Schumacher
04.11.24 87f84bf7b095f55770310d4f88a365aa16642d47
feat: add initial calibration patch
1 files added
322 ■■■■■ changed files
library/ori-calibrate.maxpat 322 ●●●●● patch | view | raw | blame | history
library/ori-calibrate.maxpat
New file
@@ -0,0 +1,322 @@
{
    "patcher" :     {
        "fileversion" : 1,
        "appversion" :         {
            "major" : 8,
            "minor" : 6,
            "revision" : 5,
            "architecture" : "x64",
            "modernui" : 1
        }
,
        "classnamespace" : "box",
        "rect" : [ 59.0, 119.0, 623.0, 470.0 ],
        "bglocked" : 0,
        "openinpresentation" : 0,
        "default_fontsize" : 12.0,
        "default_fontface" : 0,
        "default_fontname" : "Arial",
        "gridonopen" : 1,
        "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" : "",
        "assistshowspatchername" : 0,
        "boxes" : [             {
                "box" :                 {
                    "id" : "obj-27",
                    "maxclass" : "comment",
                    "numinlets" : 1,
                    "numoutlets" : 0,
                    "patching_rect" : [ 465.0, 274.0, 54.0, 20.0 ],
                    "text" : "calibrate"
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-25",
                    "maxclass" : "button",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 465.0, 296.0, 24.0, 24.0 ]
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-23",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "bang", "" ],
                    "patching_rect" : [ 417.0, 224.0, 29.5, 22.0 ],
                    "text" : "t b l"
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-20",
                    "linecount" : 2,
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 339.0, 350.0, 50.0, 35.0 ],
                    "text" : "6.85 4.7 23."
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-18",
                    "maxclass" : "button",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 417.0, 157.0, 24.0, 24.0 ]
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-16",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 417.0, 194.0, 100.0, 22.0 ],
                    "text" : "loadmess 0. 0. 0."
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-13",
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 99.0, 389.0, 128.0, 22.0 ],
                    "text" : "0.22 0. 0."
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-11",
                    "maxclass" : "newobj",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 208.0, 329.0, 79.0, 22.0 ],
                    "text" : "vexpr $f1-$f2"
                }
            }
,             {
                "box" :                 {
                    "format" : 6,
                    "id" : "obj-10",
                    "maxclass" : "flonum",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 338.0, 44.0, 50.0, 22.0 ]
                }
            }
,             {
                "box" :                 {
                    "format" : 6,
                    "id" : "obj-8",
                    "maxclass" : "flonum",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 273.0, 44.0, 50.0, 22.0 ]
                }
            }
,             {
                "box" :                 {
                    "format" : 6,
                    "id" : "obj-6",
                    "maxclass" : "flonum",
                    "numinlets" : 1,
                    "numoutlets" : 2,
                    "outlettype" : [ "", "bang" ],
                    "parameter_enable" : 0,
                    "patching_rect" : [ 207.0, 44.0, 50.0, 22.0 ]
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-4",
                    "maxclass" : "newobj",
                    "numinlets" : 1,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 310.0, 252.0, 47.0, 22.0 ],
                    "text" : "v offset"
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-3",
                    "linecount" : 2,
                    "maxclass" : "message",
                    "numinlets" : 2,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 323.0, 174.0, 50.0, 35.0 ],
                    "text" : "7.07 4.7 23."
                }
            }
,             {
                "box" :                 {
                    "id" : "obj-1",
                    "maxclass" : "newobj",
                    "numinlets" : 3,
                    "numoutlets" : 1,
                    "outlettype" : [ "" ],
                    "patching_rect" : [ 208.0, 120.0, 149.0, 22.0 ],
                    "text" : "pak f f f"
                }
            }
 ],
        "lines" : [             {
                "patchline" :                 {
                    "destination" : [ "obj-11", 0 ],
                    "order" : 2,
                    "source" : [ "obj-1", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-3", 1 ],
                    "order" : 0,
                    "source" : [ "obj-1", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-4", 0 ],
                    "order" : 1,
                    "source" : [ "obj-1", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 2 ],
                    "source" : [ "obj-10", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-13", 1 ],
                    "source" : [ "obj-11", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-23", 0 ],
                    "source" : [ "obj-16", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-16", 0 ],
                    "source" : [ "obj-18", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-4", 0 ],
                    "source" : [ "obj-23", 1 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-4", 0 ],
                    "source" : [ "obj-23", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-4", 0 ],
                    "source" : [ "obj-25", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-11", 1 ],
                    "order" : 1,
                    "source" : [ "obj-4", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-20", 1 ],
                    "order" : 0,
                    "source" : [ "obj-4", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 0 ],
                    "source" : [ "obj-6", 0 ]
                }
            }
,             {
                "patchline" :                 {
                    "destination" : [ "obj-1", 1 ],
                    "source" : [ "obj-8", 0 ]
                }
            }
 ],
        "dependency_cache" : [  ],
        "autosave" : 0
    }
}