music21
notation
music21 | notation | |
---|---|---|
9 | 1 | |
2,014 | 0 | |
1.6% | - | |
8.5 | 5.2 | |
12 days ago | 5 months ago | |
Python | C++ | |
GNU General Public License v3.0 or later | 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.
music21
- 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"))))))) ...))
notation
-
LilyPond: Music Notation for Everyone
There are numerous symbols to represent pitch on a staff, numerous other symbols that can be attached to the pitch symbols that represent changes in duration, dynamics, various techniques and more. These symbols can be stacked above and below the pitch symbols, to the sides of the symbols and more. There are other symbols that can span multiple pitch symbols, groups of symbols and more. There are more symbols that control the tempo of the playback of the score, the number of times sections of the score should be repeated and other symbols that will move the current playback location of the score to some other place. The placement of all of these symbols have "rules" but these rules are really suggestions and composers will always want to adjust and bend these rules. If a system implements strict rules, that system will come under criticism as being inflexible. There seems to always an exception to every rule of music notation.
I have been working on music notation software for almost forty years and have seen programmers come and go with their attempts to "solve" the problem of music notation. It is a very difficult problem. Once upon a time SCORE [1] was considered the best of the best on music engraving software. I worked with Leland Smith to update the program to more platforms. Sadly, the SCORE source code is not available and the rights of the source code are unclear after Leland's passing. Many music publishing companies continued to maintain systems using SCORE for quite a while.
The notation engine of my iOS music notation program Komp [2] is available here: https://github.com/SemitoneGene/notation. This code is most certainly not the best or most complete, but it is easy to read and comprehend if you want to see the complexity involved. MuseScore has also been mentioned in other posts.
If I were to do a commercial engraving of a music score, I would use Dorico. It is being developed by who I would consider the most insightful and understanding group of developers who have a real desire to make the best music engraving program.
LilyPond produces very good output but offers its own series of challenges to use. MuseScore is a nice program, but it has a long way to go to meet the demands of the high professional composition and engraving market.
[1] https://en.wikipedia.org/wiki/SCORE_(software)
What are some alternatives?
midi2tones - Fork of MIDITONES - Convert MIDI files to a simplified time-ordered sequence of note commands
midi_query - Query MIDI datasets for matching key, time signature & chord progression
opensheetmusicdisplay - OpenSheetMusicDisplay renders sheet music in MusicXML format in your web browser based on VexFlow. OSMD is brought to you by PhonicScore.com.