MusicXML is a digital sheet music exchange and distribution format. It is an example of a symbolic music format that represents musical features like pitches and rhythms, as opposed to audio music formats that represent sound. The format focuses on representing common Western music notation from the 17th century on, and is supported by over 160 music applications.
Questions tagged [musicxml]
59 questions
0
votes
0 answers
How to add "swing" style to the music21 output for MuseScore
I'm writing jazz pieces using music21, and then exporting them to MuseScore with stream.show(). Before playing the song, I use the Text palette in MuseScore to add "Swing" over the first note, and then the playback has a swing feel to it. I was…

TheKid
- 57
- 3
0
votes
1 answer
How do I encoding musescore in Music21?
from music21 import *
us = environment.UserSettings()
us["musicxmlPath"] = r"C:/Program Files/MuseScore 3/bin/MuseScore3.exe"
us["musescoreDirectPNGPath"] = r"C:/Program Files/MuseScore 3/bin/MuseScore3.exe"
.
.
.
xml_file_name =…

angryduck
- 21
- 5
0
votes
1 answer
How to add multiple lines of code to multiple xml files using a Windows-based solution
I have hundreds of .xml files in a single directory, and I want to automatically add the same three lines of code to every file.
In each file, after the first instance of this line:
I want to add these lines:
…
0
votes
1 answer
How to add sustain to the whole song in MusicXML?
If we have a midi file, and we get the .musicxml file by some method, such as by using MuseScore. How do we make the whole song as if we pressed on the sustain pedal (of a piano)? Can we do it globally or must that be add it for each of the note?

Stefanie Gauss
- 425
- 3
- 9
0
votes
1 answer
Regex code not collecting multiple lines of matching pattern
I'm new to using regex and I was hoping that someone could help me with this.
I have this regex code which is supposed to identify tab groups in a tablature file. It works on regex testing websites such as regexr.com, regextester.com, and…

Kjthegreat
- 5
- 2
0
votes
0 answers
music21 show('midi') plays just one score-part
I am using music21 to parse and play musicxml files on Windows 10 Jupyter Notebook.
When I do:
sa = converter.parse('d:/musicxml_folder/BeetAnGeSample.xml')
sa.show('midi')
the midi player opens and the output is a midi file that has sound of just…

Ege
- 138
- 1
- 14
0
votes
2 answers
Xamarin iOS MusicXML files are greyed out in UIDocumentPickerViewController
I have a Xamarin iOS project written C#.
I have implemented a UIDocumentPickerViewController with which can import external Files into my app. PDFs and XMLs work like a charm on iOS 11 with the following code:
// Allow the Document picker to select…

es1
- 1,231
- 3
- 14
- 27
0
votes
0 answers
How to draw music score by musicxml in iOS?
Now I'm using musicxml, how do I use it on iOS to plot the score? Not immediately musicxml.

duiyueliu
- 51
- 4
0
votes
1 answer
Golang Decode MusicXML
I am writing a program that can read in a complete MusicXML file, edit it, and write a new file out. I am using xml.Decode to read the data into a struct for the MusicXML file, but when I run it nothing seems to happen. I tried printing the Decode…

Shawn Rupp
- 11
0
votes
0 answers
Using abcwebmin.js - piano keys should move according to the notes in music xml
I am using http://wim.vree.org/js/abcweb-min.js and referring to http://wim.vree.org/js/abcweb.html?pre_drum.
I also created a piano referring to codepen. I now need the piano keys to move according to the music notes. I have used a piano xml file…

Hayz
- 53
- 12
0
votes
1 answer
Musixml parsing exception when trying to parse with JFugue, how to fix this?
I'm having a error when trying to parse musicxml files, tried with both JFugue 4.0.3 and 5.0.5.
Invocation (JFugue 4.0.3):
MusicStringRenderer renderer = new MusicStringRenderer();
MusicXmlParser parser = new MusicXmlParser(); …

JohnFi
- 11
- 2
0
votes
1 answer
musicxmlparser error unreported exception
I am doing my project about software score reader, in this part I want to convert musicxmlparser to staccato/midi but before that I code some
public static void main(String[] args) throws InvalidMidiDataException, IOException {
…
0
votes
1 answer
MusicXML-File: WebPermission demand failed for redirect URI
I have a MusicXML-File, beginning with
The file was generated with museScore and seems…

user3859518
- 1
- 2
-2
votes
2 answers
How can I play MusicXML file on Android?
Are there any existing tools or libraries for this? I am currently trying to develop an application that can take an image of a sheet music and make it to a musicxml format and play the corresponding audio. And I am stuck on how to exactly play an…

Bryanation
- 11
- 1