use muslib::mixer::Loader; use std::env::args; fn main() { let f = args().last().unwrap(); let loader = &mut Loader::::new(); let _ = loader.file(f.into()).mono().load(); let audio = loader.data(); let outstr = audio .iter() .map(|x| (*x * 100_f64).round().to_string()) .collect::>() .join(" "); println!("{}", outstr); }