Skip to content

A parser for MusicXML files, designed to be used with the MXMLSynth library.

License

Notifications You must be signed in to change notification settings

kevinsa5/MusicXML.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MusicXML

A simple parser for MusicXML files, designed to be used with the MXMLSynth library. Very much still a work in progress.

Example usage:

using MusicXML
using MXMLSynth
using PortAudio
using SampledSignals

cd(joinpath(homedir(), "MusicXML", "mxml_tests"))

@time begin
  song = MusicXML.parseMXMLFile("fur_elise.xml")
  sb = MXMLSynth.synthesizeMXML(song)
end

sbs = SampleBufSource(sb)
out = PortAudioStream("default")
write(out, sbs)
#MXMLSynth.saveBuffer(joinpath(homedir(), "furry-lease2.ogg"), sb)

About

A parser for MusicXML files, designed to be used with the MXMLSynth library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages