ampf   mmmmmeta      ptchïv  {"patcher":{"fileversion":1,"appversion":{"major":8,"minor":3,"revision":3,"architecture":"x64","modernui":1},"classnamespace":"box","rect":[178,109,1222,746],"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":{"id":"obj-37","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[148,275,30,20],"text":"+ 1"}},{"box":{"border":5,"evaluatehref":1,"fontface":0,"fontname":"Ableton Sans Medium","fontsize":11,"id":"obj-23","linkbold":1,"linkcolor":[0.333333333333333,0.870588235294118,0.964705882352941,1],"maxclass":"markup","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[735,588,265,25],"saved_attribute_attributes":{"linkcolor":{"expression":"themecolor.live_value_arc"},"textcolor":{"expression":"themecolor.live_control_fg"}},"text":"<link href=\"; max launchbrowser https://docs.cycling74.com/max8/refpages/live.observer#Persistence\">Click here</link> to read more about persistent mapping."}},{"box":{"bubble":1,"bubbleusescolors":1,"fontsize":11,"id":"obj-32","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[672,534,375,50],"suppressinlet":1,"text":"In the Inspector for [live.object] and [live.observer] you will find an attribute called \"Use Persistent Mapping\". In this lesson, we don't want to store any ids in the Live set, so this attribute is always set to off.","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-18","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[724,44,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[1]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"1/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[3]"}},{"box":{"bubble":1,"bubblepoint":0,"bubbleside":0,"bubbletextmargin":4,"fontsize":11,"id":"obj-20","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[508,6,228,50],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Make sure this is the only device launching clips. Disable all devices except this one.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"border":5,"evaluatehref":1,"fontface":0,"fontname":"Ableton Sans Medium","fontsize":11,"id":"obj-36","linkbold":1,"linkcolor":[0.333333333333333,0.870588235294118,0.964705882352941,1],"maxclass":"markup","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[963,262,205,25],"saved_attribute_attributes":{"linkcolor":{"expression":"themecolor.live_value_arc"},"textcolor":{"expression":"themecolor.live_control_fg"}},"text":"<link href=\"; max launchbrowser https://docs.cycling74.com/max8/vignettes/live_object_model\">Click here</link> to open the LOM overview"}},{"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-38","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[937,281,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[7]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"3/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[6]"}},{"box":{"bubble":1,"bubbletextmargin":4,"fontsize":11,"id":"obj-34","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[628,245,323,48],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"In the LOM overview, find the index numbers that are sent out when no clip is playing (search for \"playing_slot_index\"). Add these as arguments to [sel] to filter them out.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"id":"obj-13","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["bang",""],"patching_rect":[578,259,30,20],"text":"sel"}},{"box":{"id":"obj-49","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[457,579,111,20],"text":"\"Clip 2\""}},{"box":{"bubble":1,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-44","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[321,281,224,65],"suppressinlet":1,"text":"[deferlow] stalls events for a very short time before passing them on. This gives the API time to get ready for new requests.","textjustification":0}},{"box":{"bubble":1,"bubbleside":3,"bubbleusescolors":1,"fontsize":11,"id":"obj-43","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[286,618,282,50],"suppressinlet":1,"text":"[fromsymbol] converts the symbol that we get from the API, a name with spaces, to a list of separate entries. This removes the quotes in the process.","textjustification":0}},{"box":{"id":"obj-39","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[578,633,66,20],"text":"fromsymbol"}},{"box":{"id":"obj-35","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[578,663,65,20],"text":"prepend set"}},{"box":{"bgcolor":[0.717647058823529,0.717647058823529,0.717647058823529,1],"border":1,"bordercolor":[0.266666666666667,0.266666666666667,0.266666666666667,1],"fontname":"Ableton Sans Medium","id":"obj-33","ignoreclick":1,"maxclass":"textedit","numinlets":1,"numoutlets":4,"outlettype":["","int","",""],"parameter_enable":0,"patching_rect":[578,693,97,15],"rounded":0,"saved_attribute_attributes":{"bgcolor":{"expression":"themecolor.live_control_bg"},"bordercolor":{"expression":"themecolor.live_contrast_frame"},"textcolor":{"expression":"themecolor.live_control_fg_off"}},"text":"Clip 2","textcolor":[0,0,0,1]}},{"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-31","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[309,235,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[6]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"6/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[5]"}},{"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-30","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[892,46,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":"5/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[4]"}},{"box":{"bubble":1,"bubbleside":3,"bubbletextmargin":4,"fontsize":11,"id":"obj-25","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[321,212,221,35],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Insert a [deferlow] after [live.observer]. Notice that the errors are gone. ","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"bubble":1,"bubbleside":3,"bubbletextmargin":4,"fontsize":11,"id":"obj-16","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[904,10,213,48],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Open the Max Console (Cmd/Ctrl+M) and notice the errors appearing every time a different clip starts playing.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"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-6","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[863,388,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[3]","parameter_mmax":1,"parameter_shortname":"live.text","parameter_type":2}},"text":"4/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[1]"}},{"box":{"bubble":1,"bubblepoint":0,"bubbleside":2,"bubbletextmargin":4,"fontsize":11,"id":"obj-8","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[641,351,234,63],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"Get the index of the playing clip slot from the right-most outlet of [sel] and use it to get the name of the playing clip with the patch below.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"id":"obj-29","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[578,431,255,20],"text":"path this_device canonical_parent clip_slots $1 clip"}},{"box":{"id":"obj-26","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","",""],"patching_rect":[578,459,49,20],"text":"live.path"}},{"box":{"id":"obj-19","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["",""],"patching_rect":[578,579,62,20],"text":"route name"}},{"box":{"id":"obj-15","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[578,549,57,20],"saved_object_attributes":{"_persistence":0},"text":"live.object"}},{"box":{"id":"obj-14","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[578,519,52,20],"text":"get name"}},{"box":{"id":"obj-10","maxclass":"newobj","numinlets":1,"numoutlets":2,"outlettype":["bang",""],"patching_rect":[578,489,57,20],"text":"t b l"}},{"box":{"id":"obj-152","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["bang","int","int"],"patching_rect":[578,104,77,20],"text":"live.thisdevice"}},{"box":{"id":"obj-153","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[578,133,172,20],"text":"path this_device canonical_parent"}},{"box":{"id":"obj-154","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","",""],"patching_rect":[578,163,49,20],"text":"live.path"}},{"box":{"id":"obj-48","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["",""],"patching_rect":[578,193,70,20],"saved_object_attributes":{"_persistence":0},"text":"live.observer"}},{"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-9","ignoreclick":1,"maxclass":"live.text","mode":0,"numinlets":1,"numoutlets":2,"outlettype":["",""],"parameter_enable":1,"parameter_mappable":0,"patching_rect":[978.5,215,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":"2/6","textcolor":[1,0.694117647058824,0,1],"textoffcolor":[1,0.694117647058824,0,1],"varname":"live.text[2]"}},{"box":{"bubble":1,"bubbletextmargin":4,"fontsize":11,"id":"obj-28","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[744.5,179,246,48],"saved_attribute_attributes":{"textcolor":{"expression":"themecolor.live_meter_bg"}},"suppressinlet":1,"text":"We want to show the name of the currently playing clip. Set the [live.observer] to listen to our track's \"playing_slot_index\" property.","textcolor":[0.098039215686275,0.098039215686275,0.098039215686275,1],"textjustification":0}},{"box":{"bubble":1,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-45","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[826,69,368,65],"suppressinlet":1,"text":"The errors say \"Setting the Id cannot be triggered by notifications. You will need to defer your response.\" [live.observer] gives us notifications from the Live API. We can't use those events directly with the API again. ","textjustification":0}},{"box":{"id":"obj-40","maxclass":"newobj","numinlets":3,"numoutlets":1,"outlettype":[""],"patching_rect":[277,48,51,20],"text":"pak 0 0 0"}},{"box":{"id":"obj-22","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":[""],"patching_rect":[277,76,155,20],"text":"translate bars.beats.units ticks"}},{"box":{"id":"obj-5","maxclass":"newobj","numinlets":1,"numoutlets":2,"outlettype":["bang",""],"patching_rect":[108,479,58,20],"text":"t b l"}},{"box":{"id":"obj-4","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","int","int"],"patching_rect":[108,388,44,20],"text":"change"}},{"box":{"id":"obj-27","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[277,105,169,20],"text":"quantize $1 ticks, interval $1 ticks"}},{"box":{"id":"obj-21","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["bang"],"patching_rect":[108,170,36,20],"text":"metro"}},{"box":{"id":"obj-12","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[108,419,255,20],"text":"path this_device canonical_parent clip_slots $1 clip"}},{"box":{"id":"obj-7","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","",""],"patching_rect":[108,449,49,20],"text":"live.path"}},{"box":{"id":"obj-3","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[108,304,59,20],"text":"random 10"}},{"box":{"color":[1,0.694117647058824,0,1],"id":"obj-24","maxclass":"newobj","numinlets":0,"numoutlets":1,"outlettype":["int"],"patcher":{"fileversion":1,"appversion":{"major":8,"minor":3,"revision":3,"architecture":"x64","modernui":1},"classnamespace":"box","rect":[34,87,393,491],"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,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-5","linecount":2,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[33,391,47,52],"suppressinlet":1,"text":"Live is playing","textjustification":1}},{"box":{"bubble":1,"bubbleside":0,"bubbleusescolors":1,"fontsize":11,"id":"obj-25","linecount":3,"maxclass":"live.comment","numinlets":0,"numoutlets":0,"patching_rect":[157,230,196,65],"suppressinlet":1,"text":"An alternative to setting the property of a [live.observer] with a message is to include it as an argument.","textjustification":0}},{"box":{"id":"obj-11","maxclass":"newobj","numinlets":1,"numoutlets":2,"outlettype":["bang","int"],"patching_rect":[59,251,30,22],"text":"t b i"}},{"box":{"id":"obj-9","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":["int"],"patching_rect":[41,320,48,22],"text":"&&"}},{"box":{"id":"obj-1","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[191,104,95,22],"text":"path this_device"}},{"box":{"id":"obj-2","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","",""],"patching_rect":[191,143,53,22],"text":"live.path"}},{"box":{"id":"obj-3","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["",""],"patching_rect":[191,182,127,22],"saved_object_attributes":{"_persistence":0},"text":"live.observer is_active"}},{"box":{"id":"obj-4","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[41,104,76,22],"text":"path live_set"}},{"box":{"id":"obj-6","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["","",""],"patching_rect":[41,143,53,22],"text":"live.path"}},{"box":{"id":"obj-7","maxclass":"newobj","numinlets":2,"numoutlets":2,"outlettype":["",""],"patching_rect":[41,182,133,22],"saved_object_attributes":{"_persistence":0},"text":"live.observer is_playing"}},{"box":{"id":"obj-74","maxclass":"newobj","numinlets":1,"numoutlets":3,"outlettype":["bang","int","int"],"patching_rect":[41,35,83,22],"text":"live.thisdevice"}},{"box":{"comment":"(bool) Live is playing","id":"obj-10","index":1,"maxclass":"outlet","numinlets":1,"numoutlets":0,"patching_rect":[41,359,30,30]}}],"lines":[{"patchline":{"destination":["obj-2",0],"source":["obj-1",0]}},{"patchline":{"destination":["obj-9",1],"source":["obj-11",1]}},{"patchline":{"destination":["obj-9",0],"source":["obj-11",0]}},{"patchline":{"destination":["obj-3",0],"source":["obj-2",0]}},{"patchline":{"destination":["obj-11",0],"source":["obj-3",0]}},{"patchline":{"destination":["obj-6",0],"source":["obj-4",0]}},{"patchline":{"destination":["obj-7",0],"source":["obj-6",0]}},{"patchline":{"destination":["obj-9",0],"source":["obj-7",0]}},{"patchline":{"destination":["obj-1",0],"order":0,"source":["obj-74",0]}},{"patchline":{"destination":["obj-4",0],"order":1,"source":["obj-74",0]}},{"patchline":{"destination":["obj-10",0],"source":["obj-9",0]}}],"saved_attribute_attributes":{"default_plcolor":{"expression":""}}},"patching_rect":[108,22,142,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 ObserveActiveAndPlaying"}},{"box":{"activebgoncolor":[0.101960784313725,0.901960784313726,0.537254901960784,1],"id":"obj-50","ignoreclick":1,"maxclass":"live.button","numinlets":1,"numoutlets":1,"outlettype":[""],"parameter_enable":1,"patching_rect":[109,280,15,15],"presentation":1,"presentation_rect":[150,12,11,11],"saved_attribute_attributes":{"activebgoncolor":{"expression":"themecolor.live_macro_assignment"},"valueof":{"parameter_enum":["off","on"],"parameter_invisible":2,"parameter_longname":"live.button","parameter_mmax":1,"parameter_shortname":"live.button","parameter_type":2}},"varname":"live.button"}},{"box":{"id":"obj-47","maxclass":"live.comment","numinlets":1,"numoutlets":0,"patching_rect":[326,22,86,18],"presentation":1,"presentation_linecount":2,"presentation_rect":[72,10,43,29],"text":"Rate (beats)","textjustification":1}},{"box":{"annotation":"Sets the interval for triggering a random clip within the Random Range. ","annotation_name":"Random Rate","fontname":"Ableton Sans Medium Regular","id":"obj-135","maxclass":"live.menu","numinlets":1,"numoutlets":3,"outlettype":["","","float"],"parameter_enable":1,"patching_rect":[280,22,44,15],"presentation":1,"presentation_rect":[117,10,30,15],"saved_attribute_attributes":{"valueof":{"parameter_annotation_name":"Random Rate","parameter_enum":["1","2","3","4","6","8","16","32","64"],"parameter_info":"Sets the interval for triggering a random clip within the Random Range. ","parameter_initial":[5],"parameter_initial_enable":1,"parameter_longname":"Random Rate","parameter_mmax":8,"parameter_order":11,"parameter_shortname":"Random Rate","parameter_type":2}},"varname":"Random Rate"}},{"box":{"activedialcolor":[1,0.694117647058824,0,1],"annotation":"Using Progress as the starting point, Random Range determines the range of clips that can be randomly triggered.\n","annotation_name":"Random Range","id":"obj-11","maxclass":"live.dial","numinlets":1,"numoutlets":2,"outlettype":["","float"],"parameter_enable":1,"patching_rect":[148,217,40,48],"presentation":1,"presentation_rect":[20,10,40,48],"saved_attribute_attributes":{"activedialcolor":{"expression":"themecolor.live_display_handle_one"},"valueof":{"parameter_annotation_name":"Random Range","parameter_info":"Using Progress as the starting point, Random Range determines the range of clips that can be randomly triggered.\n","parameter_initial":[0],"parameter_longname":"Range","parameter_mmax":10,"parameter_shortname":"Range","parameter_type":0,"parameter_unitstyle":0}},"varname":"Random Range"}},{"box":{"id":"obj-17","maxclass":"toggle","numinlets":1,"numoutlets":1,"outlettype":["int"],"parameter_enable":0,"patching_rect":[108,58,20,20]}},{"box":{"id":"obj-81","maxclass":"message","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[108,509,44,20],"text":"call fire"}},{"box":{"id":"obj-78","maxclass":"newobj","numinlets":2,"numoutlets":1,"outlettype":[""],"patching_rect":[108,539,57,20],"saved_object_attributes":{"_persistence":0},"text":"live.object"}},{"box":{"id":"obj-2","maxclass":"newobj","numinlets":1,"numoutlets":0,"patching_rect":[108,649,47,20],"text":"midiout"}},{"box":{"id":"obj-1","maxclass":"newobj","numinlets":1,"numoutlets":1,"outlettype":["int"],"patching_rect":[108,618,40,20],"text":"midiin"}}],"lines":[{"patchline":{"destination":["obj-2",0],"source":["obj-1",0]}},{"patchline":{"destination":["obj-14",0],"source":["obj-10",0]}},{"patchline":{"destination":["obj-15",1],"source":["obj-10",1]}},{"patchline":{"destination":["obj-37",0],"source":["obj-11",0]}},{"patchline":{"destination":["obj-7",0],"source":["obj-12",0]}},{"patchline":{"destination":["obj-40",1],"source":["obj-135",1]}},{"patchline":{"destination":["obj-15",0],"source":["obj-14",0]}},{"patchline":{"destination":["obj-19",0],"source":["obj-15",0]}},{"patchline":{"destination":["obj-153",0],"source":["obj-152",0]}},{"patchline":{"destination":["obj-154",0],"source":["obj-153",0]}},{"patchline":{"destination":["obj-48",0],"source":["obj-154",0]}},{"patchline":{"destination":["obj-21",0],"source":["obj-17",0]}},{"patchline":{"destination":["obj-39",0],"order":0,"source":["obj-19",0]}},{"patchline":{"destination":["obj-49",1],"order":1,"source":["obj-19",0]}},{"patchline":{"destination":["obj-50",0],"source":["obj-21",0]}},{"patchline":{"destination":["obj-27",0],"source":["obj-22",0]}},{"patchline":{"destination":["obj-17",0],"source":["obj-24",0]}},{"patchline":{"destination":["obj-10",0],"source":["obj-26",0]}},{"patchline":{"destination":["obj-21",0],"source":["obj-27",0]}},{"patchline":{"destination":["obj-26",0],"source":["obj-29",0]}},{"patchline":{"destination":["obj-4",0],"source":["obj-3",0]}},{"patchline":{"destination":["obj-33",0],"source":["obj-35",0]}},{"patchline":{"destination":["obj-3",1],"source":["obj-37",0]}},{"patchline":{"destination":["obj-35",0],"source":["obj-39",0]}},{"patchline":{"destination":["obj-12",0],"source":["obj-4",0]}},{"patchline":{"destination":["obj-22",0],"source":["obj-40",0]}},{"patchline":{"destination":["obj-13",0],"source":["obj-48",0]}},{"patchline":{"destination":["obj-78",1],"source":["obj-5",1]}},{"patchline":{"destination":["obj-81",0],"source":["obj-5",0]}},{"patchline":{"destination":["obj-3",0],"source":["obj-50",0]}},{"patchline":{"destination":["obj-5",0],"source":["obj-7",0]}},{"patchline":{"destination":["obj-78",0],"source":["obj-81",0]}}],"parameters":{"obj-11":["Range","Range",0],"obj-135":["Random Rate","Random Rate",11],"obj-18":["live.text[1]","live.text",0],"obj-30":["live.text[5]","live.text",0],"obj-31":["live.text[6]","live.text",0],"obj-38":["live.text[7]","live.text",0],"obj-50":["live.button","live.button",0],"obj-6":["live.text[3]","live.text",0],"obj-9":["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":""}}}}