Harmony is a DSL for music. It's written in Kotlin and supports JVM and JS compilation targets. Harmony is licensed under the LGPL, so use it in your proprietary project and acknowledge us! Also feel free to fork or contribute.
Here's an example of what the Harmony library is capable of (you'll need a modern browser here):