Rust, Midi, Programming.
SynthesizerSettings::new(OUTPUT_PARAMS.sample_rate as i32); let synthesizer = Arc::new(Mutex::new( Synthesizer::new(&sound_font, &settings).unwrap(), )); // Run output device. let synth_c = synthesizer.clone(); let mut left: Vec<f32> = vec![0_f32; OUTPUT_PARAMS.channel_sample_count]; let mut right: