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