mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 13:17:17 +01:00
Second round of Lua script API updates
This commit is contained in:
parent
1abf6a77d6
commit
76c0f42ecb
23 changed files with 76 additions and 112 deletions
|
|
@ -31,10 +31,10 @@ function factory (params)
|
|||
file = io.open ("/tmp/test" ,"a")
|
||||
io.output (file)
|
||||
for region in rl:iter() do
|
||||
io.write (string.format ("Region: '%s' pos-changed: %s, length-changed: %s\n",
|
||||
io.write (string.format ("Region: '%s' length@pos-changed: %s Start-changed: %s\n",
|
||||
region:name (),
|
||||
tostring (pch:containsSamplePos (ARDOUR.Properties.Position)),
|
||||
tostring (pch:containsSamplePos (ARDOUR.Properties.Length))
|
||||
tostring (pch:containsTimeCnt (ARDOUR.Properties.Length)),
|
||||
tostring (pch:containsTimePos (ARDOUR.Properties.Start))
|
||||
))
|
||||
end
|
||||
io.close (file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue