melrose
melrose | pattern-composer-library | |
---|---|---|
3 | 1 | |
179 | 0 | |
- | - | |
6.8 | 5.8 | |
10 days ago | 3 months ago | |
Go | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
melrose
-
Show HN: Code music in Python that generates MIDI
Interesting approach. There has been much activity in recent years in live coding with a lot of interesting solutions.
> most music coding software out there is more focused on experimentation rather than conventional songwriting
Did you have a look at e.g. https://github.com/alda-lang/alda or https://abcnotation.com/? Or e.g. https://github.com/emicklei/melrose is a similar approach as yours. There is also an algorithcmic composition language called SAL which is used in Common Music (https://commonmusic.sourceforge.net/) and Niquist (https://sourceforge.net/projects/nyquist/).
-
melrose VS midica - a user suggested alternative
2 projects | 12 Aug 2023
-
Alda – Text-Based Programming Language for Music Composition
I love these text-based languages for music composition. Its something that is approaching a gap in music composition in real-life vs via computer. In real-life you can tell your bandmates to "just play a I V IV in C" and they get it. But we are still not quite at a place where we can tell a computer that exact phrase and get something useful. I love how close these text-based languages are getting though!
I've actually made my own musical language too - called miti [1], which is just one of many others including textbeat [2], foxdot [3], sonic-pi [4], chuck [5], and melrose [6]. Each has their own goals and capabilities.
- [1] https://github.com/schollz/miti
- [2] https://github.com/flipcoder/textbeat
- [3] https://foxdot.org/
- [4] https://sonic-pi.net/
- [5] https://chuck.cs.princeton.edu/
- [6] https://github.com/emicklei/melrose
pattern-composer-library
-
Show HN: Code music in Python that generates MIDI
Write musical patterns in Python that respond to a given song structure and run a simulation that generates a multitrack MIDI file.
I built this because I think applying code to music making is a powerful tool, but I find that most music coding software out there is more focused on experimentation rather than conventional songwriting. This is an attempt at creating something that can reference typical constructs from songwriting, such as the underlying chord progression and timeline of a song.
I also have a github repo that is a thin wrapper around the api that runs the simulation, for anyone interested in coding locally: https://github.com/vegardkd/pattern-composer-library
The website is as bare-bones as possible, designed specifically for showcasing the program. There are also some bugs and inconsistencies in the code being run, but I'm publishing it to see how people react.
I'm trying to a find a way that this might appeal to music producers with no coding background by making the syntax as easy to digest as possible.
I would greatly appreciate feedback.
What are some alternatives?
textbeat - 🎹 plaintext music sequencer and midi shell, with vim playback and the powers of music theory 🥁
awesome-livecoding - All things livecoding
chords2midi - Create MIDI files from numerical chord progressions!
alda - A music programming language for musicians. :notes:
Sonic Pi - Code. Music. Live.
Orca - Esoteric Programming Language
midica - A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
miti - miti is a musical instrument textual interface. Basically, its MIDI, but with human-readable text. :musical_note:
extempore - A cyber-physical programming environment
Pigiron - Pigiron is a MIDI routing utility with an extensive OSC interface.
homebrew-lilypond - Install LilyPond from homebrew/core instead of this tap: https://formulae.brew.sh/formula/lilypond
ecnotes-go - Multi-platform gui app to store and manage encrypted notes. It can be used to store sensitive information such as passwords and crypto keys