3 ["type"] = "EditorAction",
\r
4 name = "Create Drum Tracks",
\r
6 description = [[Creates 8 new tracks with representative names and colors.]]
\r
20 color = 0xff8800ff --orange
\r
23 function factory (params)
\r
28 Session:new_audio_track(1,2,RouteGroup,1,names[i],i,ARDOUR.TrackMode.Normal)
\r
30 track = Session:route_by_name(names[i])
\r
31 if (not track:isnil()) then
\r
32 trkinfo = track:presentation_info_ptr ()
\r
33 trkinfo:set_color (color)
\r