Skip to content

jirka-grunt/mx2mt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mx2mt

Limited MusicXML to MusixTeX converter

This converter is primary used to transfer songs of Falešné společenstvo from Mozart music processor to MusixTeX typesetting notation via small subset of MusicXML 3.0 format.

Written in PHP, sorry. But you can try online version. PHP 8 is not suported.

You also need small header.tex file for some auxiliary and compatibility stuff.

Supported features:

  • score-partwise and score-timewise XML
  • clefs: treble
  • meters: with single denominator (C symbols for 2/2 and 4/4)
  • keys: flats or sharps
  • ordinary notes and rests
  • lengths: from 1/32 to whole note, breve and longa
  • heights: from C2 to H6 (5 octaves)
  • accidentals: sharp, double sharp, natural, flat, double flat
  • single dots from 1/16 notes and rests
  • tuplets: triplet and duplet
  • articulations: accent, staccato, fermata
  • beams: single, duble, partial, dotted
  • multiple measures lasting rests
  • slurs and ties
  • repeats: left, right, both
  • endings: begin and end volta
  • double bar lines
  • chord (non-spacing) notes
  • multiple staves
  • guitar chords: major/minor, augmented/diminished, sevenths (with forenamed only), suspended and power (perfect fifth)

Some features may be added or extended in future (but most of them probably not).

Additional features:

  • correct vertical alignment with multiple staves
  • merging meters/signatures to general ones when possible
  • automatic orientation of stems, beams, slurs and ties

Known limitations:

  • only beams non-overlapping within one staff are supported
  • bar lines & voltas are synchronized over all staves (and taken from first staff)
  • number of staves can't be changed
  • fermatas and tuplets have fixed height
  • automatic orientation of stems, beams, slurs and ties
  • guitar chords are in Czech (=German) notation: B -> H, Bb -> B
  • augmented, diminished and half diminished seventh is not supported in chords
  • wrong vertical alignment with tuplets in multiple staves

As MusicXML is pretty complex format there definitely are plenty of unknown limitations. Moreover, conversion is tested only with XML exported from Mozart version 12.

Note: You can also give a chance to xml2pmx tool (binary distribution only). It convers MusicXML to PMX format, which is pre-processor for MusixTeX. See archive for details.

About

Limited MusicXML to MusixTeX converter

Resources

Stars

Watchers

Forks

Packages

No packages published