I do not intend to complain about the great possibilities Ardour offers! But getting started with Lua scripting is kinda strange IMHO… Maybe this thread can help other beginners too…
The https://manual.ardour.org/lua-scripting/class_reference/ is of course a great overview, but raises a lot of questions because the functions are not explained (or do I miss something?). Many things sound self-explanatory, but for many things I have no clue what they do…
So I think I wanna start easy, using Lua in a “macro”-fashion, kinda GUI-oriented, saving me a few clicks for repeated tasks… Therefore the list I found at http://mixbus.harrisonconsoles.com/forum/thread-4332.html seems very handy… But again, many functions have to be guessed…
Could you please help me with:
- How do I get and set the position of the playhead to a certain position/sample?
- What does the “alternate” mean in stuff like “Common/alternate-add-location-from-playhead”?
- What is “Editor/edit-to-playhead”?
- What is the edit-cursor, like in “Editor/edit-cursor-to-next-region-end”?
Thanks a lot for your kind support!