music21 Questions

2

I've been trying to load a MusicXML file, edit it (removing several parts), and create a PDF sheet document + midi/mp3, all of this using Python. I've first looked at music21, that would load my M...
Truitt asked 5/4, 2014 at 16:29

3

I get an error when running: from music21 import * n1 = note.Note('C4', quarterLength=1) n2 = note.Note('A4', quarterLength=1) s = stream.Stream() s.append(n1) s.append(n2) s.show('lily.svg') Tr...
Iredale asked 16/9, 2014 at 23:7

1

I'm trying to implement a code that reads MIDI file and writes it back. I have the following code to parse the duration,pitch,and position. import music21 from music21 import * piece=converter.pa...
Benthamism asked 3/1, 2017 at 20:49

2

I've been trying to use the Python module Music21 to try and get the key from a set of chords, but no matter what I put in it always seems to return c minor. Any ideas what I'm doing wrong? I've t...
Librium asked 23/11, 2019 at 17:47

5

Solved

I am experimenting with the music21 library, in preparation for a Machine Learning project that involves genre classification and categorization. I and following some tutorials available here. I am...
Ravishment asked 12/1, 2014 at 6:29

3

Solved

Is there a way to specify optional dependencies for a Python package that should be installed by default from pip but for which an install should not be considered a failure if they cannot be insta...
Collection asked 19/11, 2018 at 13:53

3

Solved

How do I save audio output in Python using the music21 module? I have read the entire [user's guide](http://music21.readthedocs.org/en/latest/usersGuide/index.html] of said module, but I couldn't f...
Yurev asked 20/12, 2015 at 14:49

1

Solved

Im trying to get all notes with their durations(measures). from music21 import * allBach = corpus.search('bach') x = allBach[0] p = x.parse() partStream = p.parts.stream() for n in p.pitches: ...

1

Solved

I want to add music package to anaconda interpreter. I'm using ubuntu 14.04 64bit. I downloaded music21-1.9.3.tar.gz from anaconda cloud. I unpacked it to anaconda3/pkgs ext installer.py music21 ...
Karaganda asked 22/3, 2016 at 20:52

2

Solved

How can I produce real-time audio output from music made with Music21. Failing that, how can i produce ANY audio output from music made with Music21 via open-source software? Thanks for the help.
Drought asked 11/6, 2012 at 15:48
1

© 2022 - 2024 — McMap. All rights reserved.