music21
abjad
music21 | abjad | |
---|---|---|
9 | 4 | |
2,014 | 231 | |
1.6% | 1.7% | |
8.5 | 8.0 | |
12 days ago | 19 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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"))))))) ...))
abjad
- LilyPond: Music Notation for Everyone
-
MuseScore 4.1 is now available
And for the intrepid folks who prefer algorithmic or computer-assisted composition, there's Abjad, a Python-based wrapper around LilyPond.
https://abjad.github.io/
-
Are there any good solutions for making a book of songs (with sheet music) in Python?
The abjad library looks really interesting, as it basically gives a Python API for Lilypond. It would help me do all the main features I want. However, from the way it does its Lilypond objects, each song would have to output its own PDF. I don't see how I can use something like PyLaTeX to concatenate all those existing PDFs and make nice hyperlinks and indexes for it all.
-
Automatic code changing in Python with the ast module
This could be done in many other ways. Indeed this is not even the standard way (that would be coding a 2to3 fixer). The practical solution is not general (for instance, it does not support nested classes). Also, it has problems with comments (as we lose them in the AST). But, for the practical purpose (patching abjad) it was good enough (You can see the result here.
What are some alternatives?
midi2tones - Fork of MIDITONES - Convert MIDI files to a simplified time-ordered sequence of note commands
muzic - Muzic: Music Understanding and Generation with Artificial Intelligence
midi_query - Query MIDI datasets for matching key, time signature & chord progression
system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
opensheetmusicdisplay - OpenSheetMusicDisplay renders sheet music in MusicXML format in your web browser based on VexFlow. OSMD is brought to you by PhonicScore.com.
pys60-mcs - Music Composition System for S60 Symbian
Lars-Ulrich-Challenge - Algorithmic and AI MIDI Drums Generator Implementation
keygen - Keygen composes original music in the form of midi files.
bwwtolily - Utility to convert from bww to ly
TheAlgorithms - All Algorithms implemented in Python
obsidian-plugin-abcjs - Plugin which renders music notations from code blocks
UGDownloader - Ultimate Guitar tab downloader