/MXMLSynth.jl

An audio synthesizer designed to be used with the MusicXML library.

Primary LanguageJuliaOtherNOASSERTION

MXMLSynth

A simple audio synthesizer designed to be used with the MusicXML 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)