View Single Post
Old 03-11-2019, 12:39 PM   #5
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
1. To ignore a region, something like
if string.match( region_name, "@") then goto skip end -- skip region marked @ ignore
any region with @ character is ignored

Quote:
2. start is also measure 1 if Project start measure is -1 , not -1.1.00
there is not way to know measure offset from API afaik

Quote:
3. 4 measures per line
done

Quote:
4. only have chord name at start of region C . . . and dot for each beat (edit point)
to add new chord and split region C . G . (chord change to G on beat 3 will split the region,
removing chord will glue region) or 1 C . . . 2 . . . . 3 G . . . 4 . . . . (measure 1 C chord for 2 measures then chord change to G on measure 3 for 2 measures (bars))
That was slightly complex (see Data_AddChord() function), but seems working now.

Quote:
5. chord editor color same as region color
done

I also moved script to 'Regions' folder.
mpl is offline   Reply With Quote