News for hackers. Stuff that matters.

esbudylin

Re:Show HN: Modest – musical harmony library for Lua on Sunday February 02, 2025 @10:55AM (#42909408)
Thanks for sharing Common Music! I haven't heard of it, it seems worth studying.

Speaking of use cases, I started this project with the idea of making a flexible parser for chord symbols. In the process of solving this problem, I wrote some general-purpose utilities, which eventually took form of this library. I'm making it public in the hope that it will be useful to others who use Lua for music and audio programming.

I haven't yet implemented the functions related to scales. I'm still thinking about their relation to chords and how to express it in the library's API.

Re:Show HN: Modest – musical harmony library for Lua on Sunday February 02, 2025 @07:16AM (#42908191)
Thanks for the pointers! I'll try to spread the word there as well.

Show HN: Modest – musical harmony library for Lua

https://github.com/esbudylin/modest

This is a project I've been building in my spare time over the past few months. It's a library that provides methods for working with musical harmony ‒ intervals, notes, chords. For example, it can parse almost any chord symbol (Fmaj7, CminMaj9, etc) and turn it into notes, or it can identify a chord from a given set of notes.I started this project with the idea of using formal grammar to parse...

( Read More... | 7 comments | 21 points | on HN )