aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-12-16 18:03:42 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-12-16 18:36:30 -0500
commit19560c3f39110fbff910091b5b25e69a044ed18e (patch)
treeba4b9cda58c2c9ef326401f3607e5cb1f0a6180f /src/main.rs
parent7dfed69f5b181c6368ac55e50192b967c0bb4b80 (diff)
downloadit2midi-19560c3f39110fbff910091b5b25e69a044ed18e.tar.xz
Initial note volume handling.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
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(())