Getting MIDI out of Jitter


    Mar 19 2013 | 1:27 am
    Hey All, I’m having a little trouble getting MIDI out of the Mendelbrot gen/jitter example. I got this far and I’m not sure what I need to link to the jit.split I’ve also tried to link to a jit.submatrix and then to the jit.split but that didn’t work either. i’m sure its something obvious but I’m fairly new to max and very new to Jitter so any help would be appreciated. Thanks!
    { "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 1, "revision" : 0, "architecture" : "x86" } , "rect" : [ 456.0, 85.0, 555.0, 342.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-19", "maxclass" : "newobj", "numinlets" : 7, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 14.0, 315.0, 100.0, 20.0 ], "text" : "midiformat" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 71.0, 283.0, 43.0, 20.0 ], "text" : "jit.spill" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 3.0, 283.0, 43.0, 20.0 ], "text" : "jit.spill" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "jit_matrix", "jit_matrix", "" ], "patching_rect" : [ 38.0, 225.0, 46.0, 20.0 ], "text" : "jit.split" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 218.0, 315.0, 75.0, 20.0 ], "text" : "jit.submatrix" }
    } , { "box" : { "attr" : "radius", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-15", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 329.0, 195.0, 150.0, 20.0 ], "text_width" : 60.0 }
    } , { "box" : { "id" : "obj-14", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 26.0, 57.0, 20.0, 20.0 ] }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 1, "revision" : 0, "architecture" : "x86" } , "rect" : [ 774.0, 219.0, 842.0, 744.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "code" : "color(samp) {rntz = samp.xy;rntdist = samp.w;rntco = samp.z*10 + 1 - log2(0.5*log2(dot(z, z)));rntco = sqrt(co/256);rntco2 = dist*35;rntfac = clamp(1/pow(co2, 0.6), 0, 1);rntres = fac*vec(rntt0.5 + 0.5*cos(twopi+co+0.3), rntt0.5 + 0.5*cos(twopi+co+0.4), rntt0.5 + 0.5*cos(twopi+co+0.2)rnt);rntreturn res;rn}rnrnrnout1 = color(in1);", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "maxclass" : "codebox", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 217.0, 56.0, 580.0, 491.0 ] }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ], "text" : "in 1" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 217.0, 564.0, 37.0, 20.0 ], "text" : "out 1" }
    } ], "lines" : [ { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] }
    } ] } , "patching_rect" : [ 218.0, 249.0, 51.0, 20.0 ], "text" : "jit.gl.pix" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "patching_rect" : [ 233.0, 195.0, 57.0, 20.0 ], "text" : "jit.gl.slab" }
    } , { "box" : { "id" : "obj-12", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 218.0, 56.0, 20.0, 20.0 ] }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 218.0, 283.0, 203.0, 20.0 ], "text" : "jit.gl.videoplane @transform_reset 2" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 163.0, 161.0, 40.0, 20.0 ], "text" : "zl reg" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 1, "revision" : 0, "architecture" : "x86" } , "rect" : [ 495.0, 299.0, 600.0, 450.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 294.0, 48.0, 20.0 ], "text" : "- 0.5 0." }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 381.0, 109.0, 20.0 ], "text" : "concat 0 0 100000" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 231.0, 35.0, 20.0 ], "text" : "* 1.3" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 149.0, 44.0, 20.0 ], "text" : "snorm" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ], "text" : "out 1" }
    } ], "lines" : [ { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] }
    } ] } , "patching_rect" : [ 218.0, 101.0, 223.0, 20.0 ], "text" : "jit.gl.pix @dim 1024 1024 @type float32" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 1, "revision" : 0, "architecture" : "x86" } , "rect" : [ 411.0, 483.0, 651.0, 741.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 543.0, 14.0, 30.0, 20.0 ], "text" : "in 2" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ], "text" : "in 1" }
    } , { "box" : { "code" : "cmul(a, b) {rntreturn vec(rntta.x*b.x - a.y*b.y,rntta.x*b.y + a.y*b.xrnt);rn}rnrnParam radius(1.335);rnc = nearest(in2, norm).xy;rnprev = nearest(in1, norm);rnz = prev.xy;rnznext = cmul(z, z) + c;rnif(dot(znext, znext) < 100) {rntdist = min(prev.w, abs(length(znext)-radius));rntout = concat(znext, prev.z+0.1, dist);rn}rnelse {rntout = concat(z, prev.z, prev.w);rn}", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "codebox", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 48.0, 512.0, 471.0 ] }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 50.0, 560.0, 37.0, 20.0 ], "text" : "out 1" }
    } ], "lines" : [ { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-3", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] }
    } ] } , "patching_rect" : [ 218.0, 161.0, 223.0, 20.0 ], "text" : "jit.gl.pix @dim 1024 1024 @type float32" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 51.0, 172.0, 63.0, 20.0 ], "text" : "jit.window" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 51.0, 116.0, 70.0, 20.0 ], "text" : "jit.gl.render" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "erase" ], "patching_rect" : [ 51.0, 86.0, 57.0, 20.0 ], "text" : "t b erase" }
    } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 51.0, 56.0, 65.0, 20.0 ], "text" : "qmetro 33" }
    } , { "box" : { "id" : "obj-2", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 51.0, 30.0, 20.0, 20.0 ] }
    } ], "lines" : [ { "patchline" : { "destination" : [ "obj-9", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-16", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-14", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-15", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-18", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 1 ] }
    } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-17", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-19", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-18", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 1 ] }
    } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-7", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] }
    } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] }
    } ], "dependency_cache" : [ ] }
    }