Questions tagged [musicxml]

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.

59 questions
12
votes
2 answers

Output JSoup without added spaces and line breaks around the elements

I am parsing and outputting an xml file using JSoup (and modifying the elements in between of course). The output file has some extra spaces and line breaks. I was wondering if I can print this in the original format. Original:
dorien
  • 5,265
  • 10
  • 57
  • 116
10
votes
1 answer

Creating musicXML browser in IOS using LibMusicXML

LibMusicXML: does anyone have any examples of using this library in an IOS project? Would like to use it to view music scores in musicXML format. Advice on adding a C++ library and how to display musicXML using this library in IOS would be…
Magnus
  • 425
  • 1
  • 5
  • 13
8
votes
3 answers

How do I differentiate types of XML files before deserializing?

I am loading MusicXML-files into my program. The problem: There are two “dialects”, timewise and partwise, which have different root-nodes (and a different structure):
Jannik Arndt
  • 447
  • 5
  • 13
8
votes
2 answers

Extracting information from Musicxml

I am new to programming and Python, but a lot of my current research concerns extracting data from musicxml files. I have a piece of music and want to extract the number of accidentals that occur in a piece that do not form part of the key…
user2025161
  • 103
  • 1
  • 5
7
votes
0 answers

Export LilyPond file to MusicXML then importing that into MuseScore

I am trying to use MuseScore 3 as some sort of editor for small music snippets e.g. nursery rhymes opened from MusicXML files. However my attempts to use the Frescobaldi Python library python-ly seem to lead to some very weird import errors on the…
TPPZ
  • 4,447
  • 10
  • 61
  • 106
7
votes
3 answers

I want to draw the sheet music using MusicXml in android app

I tried various ways to do this. Using proxymusic-2.0.jar Library => Marshalling and unmarshalling done between Java object and Xml file, but I didn't find a way to draw it unmarshalled from Xml file on Android app(Activity, View, etc.) Using…
kywpcm
  • 79
  • 1
  • 4
6
votes
3 answers

C# to MusicXML?

Anyone know of any libraries that can be used to write MusicXML data from C#? Similar to this: http://proxymusic.kenai.com/ (although this one is for java). I would try to not write it manually, but if worse comes to worst, I will have no choice but…
user488792
  • 1,943
  • 7
  • 31
  • 38
6
votes
5 answers

Display of music21, musicXML PNG objects using iPython Notebook/Enthought Canopy

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 using MuseScore as my MusicXML program, and I am…
Luis Miguel
  • 5,057
  • 8
  • 42
  • 75
6
votes
3 answers

MusicXML Division and Duration

I have an MXL file from some test suite in which the first measure says Division is 8 (i.e. 8 units per quarter note). Measure 4 is in 3/4 time and has the following rest: 24
Pez
  • 172
  • 2
  • 15
5
votes
1 answer

Iterating over all notes in Music21

I am trying to get a table of information like the following for each note: Pitch - Octave - AbsoluteStart - Duration - Tied - MeterOfMeasure - Quarterlength For each of the notes in a stream (which can contain voices etc.). Is there an easy way to…
dorien
  • 5,265
  • 10
  • 57
  • 116
5
votes
1 answer

Generating pdf & midi from musicxml

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 MusicXML file right, but as far as I could find, would…
Joachim Jablon
  • 880
  • 8
  • 15
5
votes
2 answers

Digital format of piano / sheet music scores?

Is there any accepted standards regarding how sheet music or piano scores are stored mathematically instead of as images or PDFs? Everything thereof are digitally represented such as in an XML or something, so when one needs, he or she can easily…
datasn.io
  • 12,564
  • 28
  • 113
  • 154
4
votes
1 answer

music21: displaying lyrics on rests

I want to write lyrics on music21 on both notes and rests (to show different metrical levels). I need both objects having a similar layout, but notes' lyrics position is different that rests'. Even more, some environments like lilypond don't even…
VR_1312
  • 151
  • 1
  • 13
4
votes
2 answers

MusicXML specifications and chord symbols

I have been taking a look at musicXML specs and as far as I know, support for chord symbols does not saves the duration of the chord. This is an example for G6/D (from here):
de3
  • 1,890
  • 5
  • 24
  • 39
3
votes
1 answer

Removing and replacing specific nodes in an XML file

I have been working on a project that analyses a musical score and removes specific notes from it. So now that I have the information required from my code I now need to edit the original XML score with my new information. I am doing this in Python…
1
2 3 4