I made a mobile app that produces wav files and text files. Each wav has an associated text file containing its lyrics.
I need to make a simple way for users on any platform to import that data into Ardour. I implemented this for Reaper but there is no way to get the location of the currently running script in Python (actually I did find a terrible hack, but it is too fragile to ship in production). Your Lua API looks pretty big, so I’m hoping there is something that can tell me where the current script file came from, because that’s how I can automatically find the files I need to import.
So far it looks like the current directory is set to the Ardour.exe location. The debug module can’t be imported with require, and there is no arg list to access from inside Ardour Lua. Since require doesn’t exist I can’t import luafilesystem. I don’t know much about Lua, but it looks like I can’t find out where the script is in the filesystem when using Ardour Lua. Is that the case?