Quote:
Originally Posted by Yanick
v6.05+dev0314 - March 14 2020
+ ReaScript: add take marker support
|
Quoting here as it seems more fitting than in the 'general take marker discussion thread' imo:
Quote:
Originally Posted by Edgemeal
Has anyone been able to add a take marker via Lua?
If I add a take marker using action I can then read and change the text and even set the color, but can't seem to just add a marker.
API doc's say,
D_TAKE_MARKER_SRC_TIME:n : double * : position in take source time of take marker number n (1-based).
if n is not provided, this will add a take marker
But nothing gets added.
|
Same here.
Get/set take marker name works fine (didn't test color), but add/move take marker doesn't.
To my understanding this should add a take marker at item beginning (if no source offset) but nothing seems to happen?
Code:
item = reaper.GetMediaItem(0, 0)
take = reaper.GetMediaItemTake(item, 0)
_ok = reaper.SetMediaItemTakeInfo_Value(take,"D_TAKE_MARKER_SRC_TIME:",0)
reaper.UpdateArrange()
(Also tried with +dev0316, same for me.)