From 19560c3f39110fbff910091b5b25e69a044ed18e Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 16 Dec 2022 18:03:42 -0500 Subject: Initial note volume handling. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8280e5e..e7520c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,8 +9,8 @@ fn main() -> Result<(), itfile::Error> { { Ok(f) => { - let mut conv = convert::Converter::new(); - conv.convert(&f); + let mut conv = convert::Converter::new(&f); + conv.convert(); let mf = conv.result(); midifile::write_file("output.mid", &mf)?; Ok(()) -- cgit v1.2.3