Rust, Midi, Programming.
note.velocity) } fn note_off(&mut self, key: &str) { let note = match NOTE_KEY_MAP.get(key) { Some(note) => note, None => return, }; self.synthesizer .lock() .unwrap() .note_off(self.midi_channel, note.note); } } impl eframe::App for SynthApp { fn update(&mut self, ctx: &egui::Context, _frame: &mut