Rust, Midi, Programming.
egui Application"); ui.label(format!("Midi channel {}", self.midi_channel)); }); } } Combining the app and synthesizer Lastly, we write the main function as shown below. As you can see, synthesizer is held in Arc<Mutex<…>> so that it can be accessed by both run_output_device and SynthApp. Because