< Back to IRCAM Forum

Mubu.hhmm error

I just started using Mubu with Max, I’m trying to use hhmm to detect patterns from acceleration sensors in real time, but, as i’m trying to train with a first record, i get the following error :

“Cannot connect to track pos_x of mubu container record”

I have a container named record, with a pos_x track, so i don’t understand what i’m doing wrong…
Thanks !

Hello,

Can you post a patch please ?
It will be easier to figure out what’s going wrong.

Joseph

I’m new to max, so it may look a little messy… But here’s what i made. I don’t have the right sensors yet, so i’m working with a simple potentiometer.

{  
	"boxes" : [ 		{  
			"box" : 			{  
				"maxclass" : "newobj",  
				"text" : "mubu record",  
				"outlettype" : [ "" ],  
				"id" : "obj-21",  
				"patching_rect" : [ 381.0, 492.0, 78.0, 22.0 ],  
				"numinlets" : 1,  
				"numoutlets" : 1,  
				"style" : "",  
				"saved_object_attributes" : 				{  
					"embed" : 0,  
					"externalfiles" : 1  
				}  
		}  

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “alignviewbounds”,
“outlettype” : [ “” ],
“id” : “obj-20”,
“patching_rect” : [ 33.0, 371.0, 100.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “126”,
“outlettype” : [ “” ],
“id” : “obj-87”,
“patching_rect” : [ 667.0, 186.0, 31.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “-”,
“outlettype” : [ “int” ],
“id” : “obj-83”,
“patching_rect” : [ 727.0, 226.0, 29.5, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “view 1 fgcolor red, view 2 fgcolor blue”,
“outlettype” : [ “” ],
“id” : “obj-73”,
“patching_rect” : [ 1524.0, 127.0, 211.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “mubu.hhmm record pos_x @varianceoffset 1 0.5”,
“outlettype” : [ “”, “”, “”, “”, “” ],
“id” : “obj-70”,
“patching_rect” : [ 863.75, 37.0, 270.0, 22.0 ],
“numinlets” : 1,
“numoutlets” : 5,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “write model.json”,
“outlettype” : [ “” ],
“id” : “obj-68”,
“patching_rect” : [ 910.25, 9.0, 97.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “imubu”,
“rangeruler_grid” : 0,
“split_color” : [ 1.0, 0.0, 0.0, 1.0 ],
“outlettype” : [ “” ],
“tabs_visible” : 1,
“useplaceholders” : 1,
“bufferchooser_fgcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“cursor_color” : [ 1.0, 0.0, 0.0, 1.0 ],
“cursor_visible” : 1,
“domainruler_position” : 0,
“domainscrollbar_size” : 10,
“id” : “obj-23”,
“outputkeys” : 0,
“rangeruler_size” : 35,
“split_size” : 2,
“toolbar_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“windresize” : 0,
“alignviewbounds” : 0,
“patching_rect” : [ 945.0, 72.0, 548.5, 313.0 ],
“bufferchooser_position” : 1,
“cursor_followmouse” : 0,
“domain_bounds” : [ 0.0, 70.0 ],
“domainruler_size” : 15,
“domainscrollbar_visible” : 1,
“name” : “record”,
“outputmouse” : 0,
“rangeruler_visible” : 0,
“split_visible” : 1,
“toolbar_position” : 1,
“layout” : 0,
“autobounds” : 0,
“bufferchooser_shape” : “buttons”,
“cursor_position” : -1.0,
“domainruler_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“domainruler_unit” : 0,
“externalfiles” : 0,
“orientation” : 0,
“outputselection” : 0,
“region_bounds” : [ 0.0, 0.0 ],
“numinlets” : 1,
“tabs_position” : 0,
“toolbar_size” : 30,
“autoupdate” : 120.0,
“bufferchooser_size” : 15,
“cursor_shape” : “bar”,
“domainruler_fgcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“domainruler_visible” : 0,
“opacity” : 0.0,
“outputvalues” : 0,
“region_color” : [ 0.8, 0.7, 0.7, 1.0 ],
“numoutlets” : 1,
“embed” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“tabs_size” : 20,
“toolbar_visible” : 1,
“bufferchooser_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bufferchooser_visible” : 1,
“cursor_size” : 3,
“domainruler_grid” : 0,
“domainscrollbar_color” : [ 1.0, 1.0, 1.0, 1.0 ],
“opacityprogressive” : 0
}

	}  

, {
“box” : {
“maxclass” : “multislider”,
“outlettype” : [ “”, “” ],
“contdata” : 1,
“id” : “obj-40”,
“setminmax” : [ 0.0, 126.0 ],
“patching_rect” : [ 1352.75, 481.0, 122.0, 70.0 ],
“size” : 4,
“parameter_enable” : 0,
“candicane2” : [ 0.828788, 0.139708, 0.147518, 1.0 ],
“setstyle” : 1,
“numinlets” : 1,
“candicane3” : [ 0.13376, 0.761021, 0.602263, 1.0 ],
“numoutlets” : 2,
“style” : “chiba”,
“candycane” : 3
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “train”,
“outlettype” : [ “” ],
“fontname” : “Arial”,
“id” : “obj-49”,
“patching_rect” : [ 863.5, 9.0, 32.5, 21.0 ],
“fontsize” : 11.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 1,
“bgcolor” : [ 0.13376, 0.761021, 0.602263, 1.0 ],
“bgcolor2” : [ 0.13376, 0.761021, 0.602263, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 0.13376, 0.761021, 0.602263, 1.0 ],
“bgfillcolor_color2” : [ 0.13376, 0.761021, 0.602263, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.0
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “bufferindex $1”,
“outlettype” : [ “” ],
“fontname” : “Arial”,
“id” : “obj-50”,
“patching_rect” : [ 1520.0, 12.0, 80.0, 21.0 ],
“fontsize” : 11.0,
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “deferlow”,
“outlettype” : [ “” ],
“fontname” : “Arial”,
“id” : “obj-52”,
“patching_rect” : [ 1520.0, 71.5, 52.0, 21.0 ],
“fontsize” : 11.0,
“numinlets” : 1,
“hidden” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “numbuffers 3”,
“outlettype” : [ “” ],
“fontname” : “Arial”,
“id” : “obj-53”,
“patching_rect” : [ 1520.0, 97.5, 76.0, 21.0 ],
“fontsize” : 11.0,
“numinlets” : 2,
“hidden” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“outlettype” : [ “bang” ],
“fontname” : “Arial”,
“id” : “obj-54”,
“patching_rect” : [ 1520.0, 41.5, 56.0, 21.0 ],
“fontsize” : 11.0,
“numinlets” : 1,
“hidden” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “pack 0 0”,
“outlettype” : [ “” ],
“id” : “obj-10”,
“patching_rect” : [ 621.0, 253.0, 56.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “view 2 shape $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-5”,
“patching_rect” : [ 273.0, 66.0, 93.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“outlettype” : [ “bang” ],
“id” : “obj-2”,
“patching_rect” : [ 292.666656, 4.0, 60.0, 22.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “track y_pos append $1 $2”,
“outlettype” : [ “” ],
“id” : “obj-109”,
“patching_rect” : [ 554.666748, 290.0, 149.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “addtrack 1024 @name y_pos @timetagged yes @matrixcolnames cue @info gui markers”,
“outlettype” : [ “” ],
“id” : “obj-107”,
“patching_rect” : [ 189.0, 406.0, 487.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “layout juxtaposed”,
“outlettype” : [ “” ],
“id” : “obj-106”,
“patching_rect” : [ 175.0, 243.0, 104.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “alignviewbounds 1”,
“outlettype” : [ “” ],
“id” : “obj-90”,
“patching_rect” : [ 33.0, 511.0, 109.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “umenu”,
“outlettype” : [ “int”, “”, “” ],
“id” : “obj-82”,
“patching_rect” : [ 165.0, 33.0, 89.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“items” : [ “bpf”, “,”, “lines”, “,”, “peaks”, “,”, “steps”, “,”, “envelope”, “,”, “envelopebpf” ],
“numoutlets” : 3,
“style” : “”,
“allowdrag” : 0
}

	}  

, {
“box” : {
“maxclass” : “umenu”,
“outlettype” : [ “int”, “”, “” ],
“labelclick” : 1,
“id” : “obj-78”,
“patching_rect” : [ 17.0, 230.0, 96.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“items” : [ “milliseconds”, “,”, “seconds”, “,”, “minutes”, “,”, “none” ],
“numoutlets” : 3,
“style” : “”,
“allowdrag” : 0
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “domainruler unit $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-79”,
“patching_rect” : [ 17.0, 253.0, 110.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“fontname” : “Verdana”,
“maximum” : 200,
“minimum” : 10,
“id” : “obj-81”,
“htricolor” : [ 0.87, 0.82, 0.24, 1.0 ],
“patching_rect” : [ 18.0, 177.0, 35.0, 21.0 ],
“parameter_enable” : 0,
“triscale” : 0.9,
“fontsize” : 10.0,
“numinlets” : 1,
“tricolor” : [ 0.75, 0.75, 0.75, 1.0 ],
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “domainruler size $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-17”,
“patching_rect” : [ 18.0, 199.0, 110.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “toggle”,
“outlettype” : [ “int” ],
“id” : “obj-25”,
“patching_rect” : [ 18.0, 121.0, 23.0, 23.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “domainruler grid $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-26”,
“patching_rect” : [ 18.0, 148.0, 110.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “umenu”,
“outlettype” : [ “int”, “”, “” ],
“labelclick” : 1,
“id” : “obj-28”,
“patching_rect” : [ 16.0, 66.0, 75.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“items” : [ “top”, “,”, “bottom” ],
“numoutlets” : 3,
“style” : “”,
“allowdrag” : 0
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “domainruler position $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-29”,
“patching_rect” : [ 16.0, 89.0, 130.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “toggle”,
“outlettype” : [ “int” ],
“id” : “obj-31”,
“patching_rect” : [ 15.0, 9.0, 21.0, 21.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “domainruler visible $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-32”,
“patching_rect” : [ 15.0, 33.0, 122.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 0.784314, 0.447059, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 0.784314, 0.447059, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “view 1 shape $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-80”,
“patching_rect” : [ 165.0, 66.0, 93.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “rangeruler visible $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-8”,
“patching_rect” : [ 165.0, 127.0, 114.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “toggle”,
“outlettype” : [ “int” ],
“id” : “obj-7”,
“patching_rect” : [ 165.0, 153.0, 21.0, 21.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “rangeruler grid $1”,
“outlettype” : [ “” ],
“fontname” : “Verdana”,
“id” : “obj-77”,
“patching_rect” : [ 165.0, 177.0, 103.0, 21.0 ],
“fontsize” : 10.0,
“numinlets” : 2,
“textcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“numoutlets” : 1,
“style” : “”,
“gradient” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_type” : “gradient”,
“bgfillcolor_color1” : [ 1.0, 1.0, 1.0, 1.0 ],
“bgfillcolor_color2” : [ 0.685, 0.685, 0.685, 1.0 ],
“bgfillcolor_color” : [ 0.290196, 0.309804, 0.301961, 1.0 ],
“bgfillcolor_angle” : 270.0,
“bgfillcolor_proportion” : 0.39,
“bgfillcolor_autogradient” : 0.79
}

	}  

, {
“box” : {
“maxclass” : “toggle”,
“outlettype” : [ “int” ],
“id” : “obj-4”,
“patching_rect” : [ 165.0, 103.0, 21.0, 21.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “read recorded_data.txt”,
“outlettype” : [ “” ],
“id” : “obj-76”,
“patching_rect” : [ 28.666748, 402.0, 131.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “write recorded_data.txt”,
“outlettype” : [ “” ],
“id” : “obj-74”,
“patching_rect” : [ 27.666748, 430.0, 133.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “printall”,
“outlettype” : [ “” ],
“id” : “obj-72”,
“patching_rect” : [ 27.666748, 456.0, 46.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “reset”,
“outlettype” : [ “” ],
“id” : “obj-69”,
“patching_rect” : [ 414.0, 60.0, 37.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“id” : “obj-67”,
“patching_rect” : [ 464.666748, 127.0, 50.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“id” : “obj-65”,
“patching_rect” : [ 686.666748, 45.0, 50.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “slider”,
“outlettype” : [ “” ],
“id” : “obj-63”,
“patching_rect” : [ 651.0, 9.0, 20.0, 140.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “js count.js”,
“outlettype” : [ “”, “” ],
“id” : “obj-62”,
“patching_rect” : [ 464.666748, 82.0, 64.0, 22.0 ],
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”,
“saved_object_attributes” : {
“filename” : “count.js”,
“parameter_enable” : 0
}

		}  

	}  

, {
“box” : {
“maxclass” : “toggle”,
“outlettype” : [ “int” ],
“id” : “obj-12”,
“patching_rect” : [ 464.666748, 9.0, 24.0, 24.0 ],
“presentation” : 1,
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”,
“presentation_rect” : [ 41.000015, 160.333344, 24.0, 24.0 ]
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 100”,
“outlettype” : [ “bang” ],
“id” : “obj-55”,
“patching_rect” : [ 464.666748, 45.0, 65.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“id” : “obj-9”,
“patching_rect” : [ 686.666748, 9.0, 50.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“id” : “obj-57”,
“patching_rect” : [ 695.666748, 116.0, 50.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “number”,
“outlettype” : [ “”, “bang” ],
“id” : “obj-61”,
“patching_rect” : [ 695.666748, 145.0, 50.0, 22.0 ],
“parameter_enable” : 0,
“numinlets” : 1,
“numoutlets” : 2,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “notein”,
“outlettype” : [ “int”, “int”, “int” ],
“id” : “obj-6”,
“patching_rect” : [ 695.666748, 82.0, 66.0, 22.0 ],
“numinlets” : 1,
“numoutlets” : 3,
“style” : “newobjBlue-1”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “clear”,
“outlettype” : [ “” ],
“id” : “obj-16”,
“patching_rect” : [ 924.0, 395.0, 37.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “newobj”,
“text” : “pack 0 0”,
“outlettype” : [ “” ],
“id” : “obj-14”,
“patching_rect” : [ 464.666748, 159.0, 56.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “track x_pos append $1 $2”,
“outlettype” : [ “” ],
“id” : “obj-13”,
“patching_rect” : [ 464.666748, 192.0, 149.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “message”,
“text” : “addtrack 1024 @name x_pos @timetagged yes @matrixcolnames cue @info gui markers”,
“outlettype” : [ “” ],
“id” : “obj-11”,
“patching_rect” : [ 433.0, 371.0, 487.0, 22.0 ],
“numinlets” : 2,
“numoutlets” : 1,
“style” : “”
}

	}  

, {
“box” : {
“maxclass” : “imubu”,
“rangeruler_grid” : 1,
“split_color” : [ 1.0, 0.0, 0.0, 1.0 ],
“outlettype” : [ “” ],
“tabs_visible” : 1,
“useplaceholders” : 1,
“bufferchooser_fgcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“cursor_color” : [ 1.0, 0.0, 0.0, 1.0 ],
“cursor_visible” : 1,
“domainruler_position” : 0,
“domainscrollbar_size” : 10,
“id” : “obj-1”,
“outputkeys” : 0,
“rangeruler_size” : 35,
“split_size” : 2,
“toolbar_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“windresize” : 0,
“alignviewbounds” : 1,
“patching_rect” : [ 2.166748, 541.0, 1074.0, 311.0 ],
“bufferchooser_position” : 1,
“cursor_followmouse” : 0,
“domain_bounds” : [ 0.0, 70.0 ],
“domainruler_size” : 15,
“domainscrollbar_visible” : 1,
“name” : “record”,
“outputmouse” : 0,
“rangeruler_visible” : 1,
“split_visible” : 1,
“toolbar_position” : 1,
“layout” : 1,
“autobounds” : 0,
“bufferchooser_shape” : “buttons”,
“cursor_position” : -1.0,
“domainruler_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“domainruler_unit” : 0,
“externalfiles” : 1,
“orientation” : 0,
“outputselection” : 0,
“region_bounds” : [ 0.0, 0.0 ],
“numinlets” : 1,
“tabs_position” : 0,
“toolbar_size” : 30,
“autoupdate” : 120.0,
“bufferchooser_size” : 15,
“cursor_shape” : “bar”,
“domainruler_fgcolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“domainruler_visible” : 1,
“opacity” : 0.0,
“outputvalues” : 0,
“region_color” : [ 0.8, 0.7, 0.7, 1.0 ],
“numoutlets” : 1,
“embed” : 0,
“bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“tabs_size” : 20,
“toolbar_visible” : 1,
“bufferchooser_bgcolor” : [ 1.0, 1.0, 1.0, 1.0 ],
“bufferchooser_visible” : 0,
“cursor_size” : 3,
“domainruler_grid” : 1,
“domainscrollbar_color” : [ 1.0, 1.0, 1.0, 1.0 ],
“opacityprogressive” : 0
}

	}  

, {
“box” : {
“maxclass” : “attrui”,
“outlettype” : [ “” ],
“id” : “obj-64”,
“patching_rect” : [ 1352.75, 451.0, 150.0, 22.0 ],
“attr” : “setminmax”,
“numinlets” : 1,
“numoutlets” : 1,
“style” : “”
}

	}  

],
“lines” : [ {
“patchline” : {
“source” : [ “obj-13”, 0 ],
“destination” : [ “obj-21”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-16”, 0 ],
“destination” : [ “obj-21”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-109”, 0 ],
“destination” : [ “obj-21”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-11”, 0 ],
“destination” : [ “obj-21”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-107”, 0 ],
“destination” : [ “obj-21”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-5”, 0 ],
“destination” : [ “obj-23”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-80”, 0 ],
“destination” : [ “obj-23”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-20”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-90”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-9”, 0 ],
“destination” : [ “obj-63”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-87”, 0 ],
“destination” : [ “obj-83”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-83”, 0 ],
“destination” : [ “obj-10”, 1 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-82”, 1 ],
“destination” : [ “obj-80”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-82”, 1 ],
“destination” : [ “obj-5”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-81”, 0 ],
“destination” : [ “obj-17”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-80”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-8”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-79”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-78”, 1 ],
“destination” : [ “obj-79”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-77”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-76”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-74”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-73”, 0 ],
“destination” : [ “obj-23”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-72”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-7”, 0 ],
“destination” : [ “obj-77”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-69”, 0 ],
“destination” : [ “obj-62”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-68”, 0 ],
“destination” : [ “obj-70”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-67”, 0 ],
“destination” : [ “obj-14”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-67”, 0 ],
“destination” : [ “obj-10”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-65”, 0 ],
“destination” : [ “obj-14”, 1 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-64”, 0 ],
“destination” : [ “obj-40”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-63”, 0 ],
“destination” : [ “obj-83”, 1 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-63”, 0 ],
“destination” : [ “obj-65”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-63”, 0 ],
“destination” : [ “obj-40”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 0 ],
“destination” : [ “obj-67”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 1 ],
“destination” : [ “obj-16”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 0 ],
“destination” : [ “obj-12”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 1 ],
“destination” : [ “obj-11”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 1 ],
“destination” : [ “obj-107”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-62”, 1 ],
“destination” : [ “obj-106”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-6”, 0 ],
“destination” : [ “obj-9”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-6”, 2 ],
“destination” : [ “obj-61”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-6”, 1 ],
“destination” : [ “obj-57”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-55”, 0 ],
“destination” : [ “obj-87”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-55”, 0 ],
“destination” : [ “obj-80”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-55”, 0 ],
“destination” : [ “obj-62”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-55”, 0 ],
“destination” : [ “obj-5”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-54”, 0 ],
“destination” : [ “obj-73”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-54”, 0 ],
“destination” : [ “obj-52”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-53”, 0 ],
“destination” : [ “obj-23”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-52”, 0 ],
“destination” : [ “obj-53”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-50”, 0 ],
“destination” : [ “obj-23”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-5”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-49”, 0 ],
“destination” : [ “obj-70”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-4”, 0 ],
“destination” : [ “obj-8”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-32”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-31”, 0 ],
“destination” : [ “obj-32”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-29”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-28”, 1 ],
“destination” : [ “obj-29”, 0 ],
“hidden” : 1,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-26”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-25”, 0 ],
“destination” : [ “obj-26”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-2”, 0 ],
“destination” : [ “obj-69”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-2”, 0 ],
“destination” : [ “obj-106”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-17”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-14”, 0 ],
“destination” : [ “obj-13”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-12”, 0 ],
“destination” : [ “obj-55”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-106”, 0 ],
“destination” : [ “obj-1”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

, {
“patchline” : {
“source” : [ “obj-10”, 0 ],
“destination” : [ “obj-109”, 0 ],
“hidden” : 0,
“disabled” : 0
}

	}  

],
“appversion” : {
“major” : 7,
“minor” : 2,
“revision” : 1,
“architecture” : “x86”,
“modernui” : 1
}
,
“styles” : [ {
“name” : “newobjBlue-1”,
“default” : {
“accentcolor” : [ 0.317647, 0.654902, 0.976471, 1.0 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
, {
“name” : “newobjBlueNew”,
“default” : {
“accentcolor” : [ 0.317647, 0.654902, 0.976471, 1.0 ]
}
,
“parentstyle” : “newobjBlue”,
“multi” : 0
}
, {
“name” : “newobjCyan-1”,
“default” : {
“accentcolor” : [ 0.029546, 0.773327, 0.821113, 1.0 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
, {
“name” : “newobjGreen-1”,
“default” : {
“accentcolor” : [ 0.0, 0.533333, 0.168627, 1.0 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
, {
“name” : “newobjYellow-1”,
“default” : {
“accentcolor” : [ 0.82517, 0.78181, 0.059545, 1.0 ],
“fontsize” : [ 12.059008 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
, {
“name” : “numberGold-1”,
“default” : {
“accentcolor” : [ 0.764706, 0.592157, 0.101961, 1.0 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
, {
“name” : “sliderGold-1”,
“default” : {
“accentcolor” : [ 0.764706, 0.592157, 0.101961, 1.0 ],
“color” : [ 0.907107, 0.934609, 0.842715, 1.0 ]
}
,
“parentstyle” : “”,
“multi” : 0
}
]
}

Hi,

I think your problem is that you have a typo in the trackname (pos_x instead of x_pos in mubu.hhmm).
However, I would personnally use a mubu.record object with “@predef yes” attribute instead of creating a track and recording into it the way you do.
This would reduce the number of objects in your patch and make it cleaner.
Check mubu.xmm examples, they are quite clear.

Happy patching,
Joseph