ampf   mmmmmeta      ptch¡C  {"patcher":{"fileversion":1,"appversion":{"major":8,"minor":3,"revision":3,"architecture":"x64","modernui":1},"classnamespace":"box","rect":[245,215,897,412],"openrect":[0,0,0,169],"bglocked":0,"openinpresentation":1,"default_fontsize":10,"default_fontface":0,"default_fontname":"Arial Bold","gridonopen":1,"gridsize":[8,8],"gridsnaponopen":1,"objectsnaponopen":1,"statusbarvisible":2,"toolbarvisible":1,"lefttoolbarpinned":0,"toptoolbarpinned":0,"righttoolbarpinned":0,"bottomtoolbarpinned":0,"toolbars_unpinned_last_save":0,"tallnewobj":0,"boxanimatetime":500,"enablehscroll":1,"enablevscroll":1,"devicewidth":0,"description":"","digest":"","tags":"","style":"","subpatcher_template":"","assistshowspatchername":0,"boxes":[{"box":{"activebgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activebgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activetextcolor":[1,0.694117647058824,0,1],"activetextoncolor":[1,0.694117647058824,0,1],"bgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bordercolor":[0,0,0,1],"fontsize":10,"id":"obj-11","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[268,216,24,24],"saved_attribute_attributes":{"activebgcolor":{"expression":"themecolor.live_lcd_bg"},"activebgoncolor":{"expression":"themecolor.live_lcd_bg"},"activetextcolor":{"expression":"themecolor.live_lcd_control_fg"},"activetextoncolor":{"expression":"themecolor.live_lcd_control_fg"},"bgcolor":{"expression":"themecolor.live_lcd_bg"},"bgoncolor":{"expression":"themecolor.live_lcd_bg"},"bordercolor":{"expression":"themecolor.live_control_text_selection"},"textcolor":{"expression":"themecolor.live_lcd_control_fg"},"textoffcolor":{"expression":"themecolor.live_lcd_control_fg"},"valueof":{"parameter_enum":["val1","val2"],"parameter_invisible":2,"parameter_longname":"live.text[4]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"2/3","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[1]"}},{"box":{"bubble":1,"bubbleside":3,"bubbletextmargin":4,"fontface":1,"fontsize":11,"id":"obj-6","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[90,180,204,48],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Open this patch to see how we can make sure that every note off is sent out with the offset of its note on.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"color":[1,0.694117647058824,0,1],"id":"obj-14","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":[""],"patcher":{"fileversion":1,"appversion":{"major":8,"minor":3,"revision":3,"architecture":"x64","modernui":1},"classnamespace":"box","rect":[221,113,912,718],"bglocked":0,"openinpresentation":0,"default_fontsize":12,"default_fontface":0,"default_fontname":"Arial","gridonopen":1,"gridsize":[15,15],"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,"description":"","digest":"","tags":"","style":"","subpatcher_template":"","assistshowspatchername":0,"boxes":[{"box":{"bubble":1,"bubbleusescolors":1,"fontsize":11,"id":"obj-19","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[304,462,215,37],"suppressinlet":1,"text":"Lock the patch or hold Cmd/Ctrl and double-click [coll] to see its contents.","textjustification":0}},{"box":{"bubble":1,"bubbleside":2,"bubbleusescolors":1,"fontsize":11,"id":"obj-15","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[570,22,42,39],"suppressinlet":1,"text":"Offset","textjustification":1}},{"box":{"bubble":1,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-10","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[586,640,42,39],"suppressinlet":1,"text":"Notes","textjustification":1}},{"box":{"bubble":1,"bubbleside":2,"bubbleusescolors":1,"fontsize":11,"id":"obj-11","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[484,22,40,39],"suppressinlet":1,"text":"Notes","textjustification":1}},{"box":{"bubble":1,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-5","linecount":5,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[25,521,180,92],"suppressinlet":1,"text":"One of the following is correct:\nA) pitch offset, output pitch\nB) original pitch, pitch with offset\nC) pitch, velocity\nD) velocity, pitch with offset","textjustification":0}},{"box":{"activebgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activebgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activetextcolor":[1,0.694117647058824,0,1],"activetextoncolor":[1,0.694117647058824,0,1],"bgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bordercolor":[0,0,0,1],"fontsize":10,"id":"obj-1","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[13,492,24,24],"saved_attribute_attributes":{"activebgcolor":{"expression":"themecolor.live_lcd_bg"},"activebgoncolor":{"expression":"themecolor.live_lcd_bg"},"activetextcolor":{"expression":"themecolor.live_lcd_control_fg"},"activetextoncolor":{"expression":"themecolor.live_lcd_control_fg"},"bgcolor":{"expression":"themecolor.live_lcd_bg"},"bgoncolor":{"expression":"themecolor.live_lcd_bg"},"bordercolor":{"expression":"themecolor.live_control_text_selection"},"textcolor":{"expression":"themecolor.live_lcd_control_fg"},"textoffcolor":{"expression":"themecolor.live_lcd_control_fg"},"valueof":{"parameter_enum":["val1","val2"],"parameter_invisible":2,"parameter_longname":"live.text[5]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"3/3","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[5]"}},{"box":{"bubble":1,"bubbleside":3,"bubbletextmargin":4,"fontface":1,"fontsize":11,"id":"obj-41","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[25,456,189,48],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"By tracing what happens in this patch, find out what the numbers mean that are stored in this [coll].","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"bubble":1,"bubbleusescolors":1,"fontsize":11,"id":"obj-18","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[655,356,195,37],"suppressinlet":1,"text":"Pack offset pitch with velocity, send out note on with offset pitch.","textjustification":0}},{"box":{"bubble":1,"bubbleusescolors":1,"fontsize":11,"id":"obj-17","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[599,294,146,24],"suppressinlet":1,"text":"Add offset to note pitch.","textjustification":0}},{"box":{"bubble":1,"bubbleusescolors":1,"fontsize":11,"id":"obj-16","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[304,530,209,24],"suppressinlet":1,"text":"Send out offset pitch with velocity 0.","textjustification":0}},{"box":{"bubble":1,"bubblepoint":0.1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"id":"obj-13","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[378,270,104,24],"suppressinlet":1,"text":"Note on pitches","textjustification":0}},{"box":{"bubble":1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"hidden":1,"id":"obj-9","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[30,154,199,37],"suppressinlet":1,"text":"For velocity 0 (note off) send pitch to left outlet, otherwise to right.","textjustification":0}},{"box":{"bubble":1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"id":"obj-6","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[309,110,169,24],"suppressinlet":1,"text":"Separate pitch from velocity.","textjustification":0}},{"box":{"bubble":1,"bubblepoint":0.1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"id":"obj-4","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[125,263,110,24],"suppressinlet":1,"text":"Note off pitches","textjustification":0}},{"box":{"bubble":1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"id":"obj-2","maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[48,399,187,24],"suppressinlet":1,"text":"Retrieve offset pitch for original.","textjustification":0}},{"box":{"id":"obj-39","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[489,363,54,22],"text":"pack 0 0"}},{"box":{"id":"obj-38","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[592,363,54,22],"text":"pack 0 0"}},{"box":{"id":"obj-35","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[524,294,71,22],"text":"+"}},{"box":{"id":"obj-29","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[237,530,59,22],"text":"append 0"}},{"box":{"id":"obj-26","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[237,200,30,22],"text":"+ 1"}},{"box":{"id":"obj-24","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[237,161,30,22],"text":"> 0"}},{"box":{"id":"obj-23","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["",""],"patching_rect":[237,239,271,22],"text":"gate 2 1"}},{"box":{"id":"obj-14","maxclass":"newobj","numinlets":1,"numoutlets":2,"outlettype":["int","int"],"patching_rect":[489,110,157,22],"text":"unpack 0 0"}},{"box":{"id":"obj-3","maxclass":"newobj","numinlets":1,"numoutlets":4,"outlettype":["","","",""],"patching_rect":[237,469,51,22],"saved_object_attributes":{"embed":0,"precision":6},"text":"coll"}},{"box":{"comment":"(int, int) note pitch, velocity","id":"obj-7","index":1,"maxclass":"inlet","numinlets":0,"numoutlets":1,"outlettype":[""],"patching_rect":[489,63,30,30]}},{"box":{"comment":"(int, semitones) offset","id":"obj-8","index":2,"maxclass":"inlet","numinlets":0,"numoutlets":1,"outlettype":["int"],"patching_rect":[576,63,30,30]}},{"box":{"comment":"(int, int) note pitch, velocity","id":"obj-12","index":1,"maxclass":"outlet","numinlets":1,"numoutlets":0,"patching_rect":[592,608,30,30]}}],"lines":[{"patchline":{"destination":["obj-23",1],"source":["obj-14",0]}},{"patchline":{"destination":["obj-24",0],"order":1,"source":["obj-14",1]}},{"patchline":{"destination":["obj-38",1],"order":0,"source":["obj-14",1]}},{"patchline":{"destination":["obj-3",0],"source":["obj-23",0]}},{"patchline":{"destination":["obj-35",0],"order":0,"source":["obj-23",1]}},{"patchline":{"destination":["obj-39",0],"order":1,"source":["obj-23",1]}},{"patchline":{"destination":["obj-26",0],"source":["obj-24",0]}},{"patchline":{"destination":["obj-23",0],"source":["obj-26",0]}},{"patchline":{"destination":["obj-12",0],"source":["obj-29",0]}},{"patchline":{"destination":["obj-29",0],"source":["obj-3",0]}},{"patchline":{"destination":["obj-38",0],"order":0,"source":["obj-35",0]}},{"patchline":{"destination":["obj-39",1],"order":1,"source":["obj-35",0]}},{"patchline":{"destination":["obj-12",0],"source":["obj-38",0]}},{"patchline":{"destination":["obj-3",0],"source":["obj-39",0]}},{"patchline":{"destination":["obj-14",0],"source":["obj-7",0]}},{"patchline":{"destination":["obj-35",1],"source":["obj-8",0]}}],"saved_attribute_attributes":{"default_plcolor":{"expression":""}}},"patching_rect":[303,194,87,20],"saved_attribute_attributes":{"default_plcolor":{"expression":""}},"saved_object_attributes":{"description":"","digest":"","editing_bgcolor":[0.56078431372549,0.56078431372549,0.56078431372549,1],"globalpatchername":"","locked_bgcolor":[0.56078431372549,0.56078431372549,0.56078431372549,1],"tags":""},"text":"p AddSemitones"}},{"box":{"activebgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activebgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"activetextcolor":[1,0.694117647058824,0,1],"activetextoncolor":[1,0.694117647058824,0,1],"bgcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bgoncolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"bordercolor":[0,0,0,1],"fontsize":10,"id":"obj-42","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[854,72,24,24],"saved_attribute_attributes":{"activebgcolor":{"expression":"themecolor.live_lcd_bg"},"activebgoncolor":{"expression":"themecolor.live_lcd_bg"},"activetextcolor":{"expression":"themecolor.live_lcd_control_fg"},"activetextoncolor":{"expression":"themecolor.live_lcd_control_fg"},"bgcolor":{"expression":"themecolor.live_lcd_bg"},"bgoncolor":{"expression":"themecolor.live_lcd_bg"},"bordercolor":{"expression":"themecolor.live_control_text_selection"},"textcolor":{"expression":"themecolor.live_lcd_control_fg"},"textoffcolor":{"expression":"themecolor.live_lcd_control_fg"},"valueof":{"parameter_enum":["val1","val2"],"parameter_invisible":2,"parameter_longname":"live.text[2]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"1/3","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[5]"}},{"box":{"bubble":1,"bubbleside":0,"bubbletextmargin":4,"fontface":1,"fontsize":11,"id":"obj-41","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[598,21,268,63],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Now that we know that our fix doesn't work when playing multiple notes simultaneously, we'll need a different fix. Test that this device works as expected.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"id":"obj-24","maxclass":"comment","numinlets":1,"numoutlets":0,"patching_rect":[0,391,156,18],"presentation":1,"presentation_rect":[0,391,156,18]}},{"box":{"id":"obj-9","maxclass":"newobj","numinlets":7,"numoutlets":2,"outlettype":["int",""],"patching_rect":[438,281,96,20],"text":"midiformat"}},{"box":{"id":"obj-5","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[371,95,30,20],"text":"* 12"}},{"box":{"id":"obj-4","maxclass":"live.dial","numinlets":1,"numoutlets":2,"outlettype":["","float"],"parameter_enable":1,"patching_rect":[371,26,36,54],"presentation":1,"presentation_rect":[64,53,36,54],"saved_attribute_attributes":{"valueof":{"parameter_longname":"Octave","parameter_mmax":4,"parameter_mmin":-4,"parameter_shortname":"Octave","parameter_type":1,"parameter_unitstyle":0}},"triangle":1,"varname":"live.dial"}},{"box":{"id":"obj-3","maxclass":"newobj","numinlets":1,"numoutlets":8,"outlettype":["","","","int","int","","int",""],"patching_rect":[437,94,110,20],"text":"midiparse"}},{"box":{"id":"obj-2","maxclass":"newobj","numinlets":1,"numoutlets":0,"patching_rect":[438,317,47,20],"text":"midiout"}},{"box":{"id":"obj-1","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":["int"],"patching_rect":[437,60,40,20],"text":"midiin"}}],"lines":[{"patchline":{"destination":["obj-3",0],"source":["obj-1",0]}},{"patchline":{"destination":["obj-9",0],"source":["obj-14",0]}},{"patchline":{"destination":["obj-14",0],"source":["obj-3",0]}},{"patchline":{"destination":["obj-9",6],"source":["obj-3",6]}},{"patchline":{"destination":["obj-9",5],"source":["obj-3",5]}},{"patchline":{"destination":["obj-9",4],"source":["obj-3",4]}},{"patchline":{"destination":["obj-9",3],"source":["obj-3",3]}},{"patchline":{"destination":["obj-9",2],"source":["obj-3",2]}},{"patchline":{"destination":["obj-9",1],"source":["obj-3",1]}},{"patchline":{"destination":["obj-5",0],"source":["obj-4",0]}},{"patchline":{"destination":["obj-14",1],"source":["obj-5",0]}},{"patchline":{"destination":["obj-2",0],"source":["obj-9",0]}}],"parameters":{"obj-11":["live.text[4]","live.text",0],"obj-14::obj-1":["live.text[5]","live.text",0],"obj-4":["Octave","Octave",0],"obj-42":["live.text[2]","live.text",0],"parameterbanks":{"0":{"index":0,"name":"","parameters":["-","-","-","-","-","-","-","-"]}},"inherited_shortname":1},"dependency_cache":[],"latency":0,"is_mpe":0,"minimum_live_version":"","minimum_max_version":"","platform_compatibility":0,"project":{"version":1,"creationdate":3590052786,"modificationdate":3590052786,"viewrect":[0,0,300,500],"autoorganize":0,"hideprojectwindow":1,"showdependencies":1,"autolocalize":0,"contents":{"patchers":{}},"layout":{},"searchpath":{},"detailsvisible":0,"amxdtype":1835887981,"readonly":0,"devpathtype":0,"devpath":".","sortmode":0,"viewmode":0},"autosave":0,"saved_attribute_attributes":{"default_plcolor":{"expression":""}}}}