Mellow is a programming language that can be used to create music on the fly!
Used ChatGPT for debugging, getting ideas on how to implement stuff
Mellow is a programming language that can be used to create music on the fly!
Used ChatGPT for debugging, getting ideas on how to implement stuff
I managed to implement actual sounds! Though, a lot of the logic was directed by ChatGPT cuz I couldn’t figure out what to do lol.
Anyways, the program can now play sounds, from the file that you give it!
Live reloading is also implemented, though it’s crashing and also a little buggy because of how text editors work.
I implemented a very small “toy” parser for now for testing purposes. It works, so that’s enough, lol.
Here is an example of a test track written in a .me (Mellow) file.
Each line plays the notes that it mentions in the duration that it mentions, forever!
Log in to leave a comment
This is the first devlog on this project!
In the past hour, I basically set up the entire structure of the project, implemented ASTs, a parser (that doesn’t do anything rn), a runtime and a scheduler!
This project is a little different from actual programming languages because it requires an actual loop, running constantly and looking for updates on the code file, while also playing music after parsing the file!
So far, I’ve managed to get a structure working to create loops that execute after a set duration. I’m soon going to implement actually playing the sounds.
I haven’t yet made a GitHub repo for this either.
I do wonder… How am I supposed to devlog music?
Ciao!
Log in to leave a comment