mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Update Luabindings for new TempoMap API
This commit is contained in:
parent
509efdb290
commit
a857a0af4d
3 changed files with 8 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ function factory () return function ()
|
|||
-- get grid -- currently only available in debug-builds
|
||||
-- Temporal.superclock_ticks_per_second = 282240000
|
||||
tm = Temporal.TempoMap.read ()
|
||||
local grid = tm:get_grid (Temporal.TempoMapPoints(), 0, Temporal.superclock_ticks_per_second (), 0, 1)
|
||||
local grid = tm:grid (Temporal.TempoMapPoints(), 0, Temporal.superclock_ticks_per_second (), 0, 1)
|
||||
for t in grid[1]:iter () do
|
||||
-- each t is-a TempoMapPoint
|
||||
local metric = t:to_tempometric ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue