music21
music21 is a Toolkit for Computational Musicology (by cuthbertLab)
midi_query
Query MIDI datasets for matching key, time signature & chord progression (by shiehn)
music21 | midi_query | |
---|---|---|
9 | 1 | |
2,005 | 5 | |
1.6% | - | |
8.5 | 10.0 | |
9 days ago | over 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU Affero General Public License v3.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
music21
Posts with mentions or reviews of music21.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-23.
- LilyPond: Music Notation for Everyone
-
A smart way to translate guitar chords into piano sheet music with Python
I chose Python as a programming language here because, as you could probably guess, there are myriads of libraries in Python for working with music. I found mingus to be the simplest for working with guitar chords and music21 for generating the piano score. It might be possible though to do everything with music21 only, because it's extremely powerful, but I found mixing the two libraries to be easier than implementing the functionality I needed from mingus with music21.
-
Looking for help to create a program
If you are interested in doing anything with Python, be sure to check out Music21, which has a lot of cool features — including doing twelve-tone matrix stuff like this — built-in.
-
Transposition Midi
http://web.mit.edu/music21/ Music21 documentation.
-
[D] Is MusicGPT a viable possibility?
It's definitely a viable possiblity, and there's quite a few companeis already doing it. If you want to explore doing it yourself, I'd check out https://web.mit.edu/music21/ and build some basic models using LSTM etc. to have some fun using open source MIDI data sets like https://magenta.tensorflow.org/datasets/maestro .
-
Ask HN: Is there a OS tool which queries MIDI datasets by chord progression/key?
A little manual, but music21[0] can do the analysis!
[0]: http://web.mit.edu/music21/
-
Is there a music term that indicates a thing that could be either a note or an rest?
There's no universally accepted term for the latter concept that I know of. For example, the music21 music processing library calls the general class that includes notes, chords and rests Music21Objects, and you'd think they'd call them something better if they could.
-
Any ideas for AI that could compose sheet music for a kokle ensemble?
This Python toolkit has support for analyzing folk tunes. https://web.mit.edu/music21/
-
compilation failures
(define-public music21 (package ... (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) ;; See: https://github.com/cuthbertLab/music21/issues/1164 (invoke "python" "-m" "music21.stream.tests"))))))) ...))
midi_query
Posts with mentions or reviews of midi_query.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-26.
-
Ask HN: Is there a OS tool which queries MIDI datasets by chord progression/key?
Just to follow up: I started building a python CLI tool. I'm only 2 days in but the 'happy path' is working: https://github.com/shiehn/midi_query
What are some alternatives?
When comparing music21 and midi_query you can also consider the following projects:
midi2tones - Fork of MIDITONES - Convert MIDI files to a simplified time-ordered sequence of note commands
opensheetmusicdisplay - OpenSheetMusicDisplay renders sheet music in MusicXML format in your web browser based on VexFlow. OSMD is brought to you by PhonicScore.com.
nnls-chroma - A Vamp plugin library for harmony and chord extraction.