["type"] = "session",
name = "Stop at Marker",
license = "MIT",
- author = "Robin Gareus",
- email = "robin@gareus.org",
- site = "http://gareus.org",
+ author = "Ardour Lua Task Force",
description = [[An example session script which stops the transport on every location marker when rolling forward.]]
}
return
end
- local pos = Session:transport_frame () -- current playhead position
+ local pos = Session:transport_sample () -- current playhead position
local loc = Session:locations () -- all marker locations
-- find first marker after the current playhead position, ignore loop + punch ranges