Okay, I have managed, without knowing or learning anything thing about Lua, at all, to successfully make a functional Floe instrument with my Sample Robot samples this morning. The AI did the entire thing from a blank “new” file in Visual Studio Code.
It was easy, once I understood the game. I asked the AI to make an entire instrument for me after describing the naming conventions that Sample Robot was spitting out (“name of sample - velocity XX - midi note number - keyboard note”). The AI gave me the full floe.lua script which I then tried to load in Floe. Floe came back with an error code in trying to identify certain samples. I fed the error message from Floe back to the AI in VSC and asked for it to redo the entire lua script. That cleared the error. But then another error came up further down the code. No problems. With every successive error Floe came up with, I just fed it right back to the AI and asked for a corrected script for the whole instrument. After several rounds through clearing successive errors, the AI eventually got the script 100% straightened out (without me knowing or doing anything in Lua itself) and ….bing… the instrument is functional and live!!
The only slight challenge with this process (which was really very mechanical, simple and easy) was that I had to re-type the exact text of each error message Floe was giving me into the AI in VSC by hand, because there is no ability to “copy” text from the error message window in Floe. So I think one small suggestion I might make about Floe is that a “copy” button be added to its error message window (when Floe encounters a coding error in the script when trying to load the patch) so that I can just “copy” from Floe’s error message window and paste it into the AI in VSC, so that the AI can sort out what to change in the Lua code it has provided to clear the error.
I have more work to do to get things really dialed in. But the bottom line is that VSC is doing all of the Lua coding. I don’t have to know anything about Lua… at all. The AI, through VSC, is doing all that. I just have to tell the AI where errors start emerging in Floe when I try to run the script, and the AI goes through and corrects the Lua code for me until the instrument comes up working in Floe with no error messages.
So, again, just one small technical suggestion to add a “copy” feature to Floe’s error message notifications, so that I can just copy and paste the error into the AI in VSC, rather than having to retype it in by hand. But I am seeing now, I really don’t need to learn or know anything about Lua, at all. I just have to tell the AI what I want, and what is and is not working, and let the AI figure out what to do/adjust in Lua.