You're making good point Bill and my instinct are also telling me to stay away from the JS jungle...
Here's my first gut response to the guy on the Qt forum who pointed me the JS route...
"Thanks for your reply. I have spent some time exploring the html/_javascript_ route... but gosh does that langage and it's clever multiple programming paradigms feel annoyingly confusing. I feel totally clueless about building an efficient and elegant software architecture in JS and there are so many people out there publishing tons and tons of very poorly written js code, it feels like a jungle to try and find something inspiring to learn from. I have yet to find inspiring learning sources for JS. I even purchased a few books and read some online o'reilly books... but even in the books, the coding does not feel elegant and efficient at all...
So unless I find some inspiring learning material, I'd much rather stay far away from JS...
Lua is a pleasure to read and write, it's elegant and readable, the only other language that felt as elegant to write was Ruby...
So I'd rather spend my learning time exploring stuff based on C/C++ (or maybe go back to Ruby? or possibly Python?)
Moreover, I'd like to play my game mostly offline... so I can cut off all external stimulation and concentrate on the music..."
And then the guy on the Löve forum offered some js help using p5.js...
I would like the game to be both fun to play and fun to write. I mean I'm interested in this project helping me learn BOTH music and efficient coding... I'm cautious about choosing the easy route : "protoype it in 5 mins using libraries you don't really understand", because that generally results in porrly written code that doesn't scale. I'd rather go slower, build simple things that I fully understand, and create a code base I can build on in time... I have tons of ideas for little games to help me progress in music, I'd like my code to be reusable...
Choosing which langage to use is the first and very important step... and the liveliness existing projects and support of the community is an huge part.
I feel in love with Lua straight away. Coding my first pong using Löve/Lua was such a nice learning experience... I thought "let's code my musical game in Löve/Lua"... but I got stuck soooo fast... needing an external synth, not being sure what route to go... It feels a little scary that there is not a lot of audio development in Lua yet. I don't feel stro,ng enough in my coding skills to "open the way"... I found Peter Billam's page of various audio libraries in Lua and I reached out to him, he has not answered yet.
So I guess my question comes down to: how much interest/support is there in the Lua community to develop audio stuff? You guys sound nice... Are you interested in exploring with me?
Felipe's nibble stuff feels like a good place to start :-)