mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
switch to rust 2024
This commit is contained in:
parent
74b497cf3a
commit
f87a5c14f9
7 changed files with 12 additions and 12 deletions
|
|
@ -15,7 +15,7 @@ audio!(
|
|||
let mut pitch: Option<u7> = None;
|
||||
for port in midi_in.iter() {
|
||||
for event in port.iter() {
|
||||
if let (_, Ok(LiveEvent::Midi {message: MidiMessage::NoteOn {ref key, ..}, ..}))
|
||||
if let (_, Ok(LiveEvent::Midi {message: MidiMessage::NoteOn {key, ..}, ..}))
|
||||
= event
|
||||
{
|
||||
pitch = Some(key.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue