blob: e7520c7aa5316dfdbb8281f513477d8e847b0423 (
plain) (
tree)
|
|
mod itfile;
mod midifile;
mod portmod;
mod convert;
mod utils;
fn main() -> Result<(), itfile::Error> {
match itfile::load("/home/chrisoft/Music/mods/nb_tear of the sun.it")
{
Ok(f) =>
{
let mut conv = convert::Converter::new(&f);
conv.convert();
let mf = conv.result();
midifile::write_file("output.mid", &mf)?;
Ok(())
}
Err(e) => Err(e)
}
}
|