mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-11 14:16:42 +01:00
refactor midi module
This commit is contained in:
parent
1723826cc2
commit
7f55c3bfc8
8 changed files with 333 additions and 330 deletions
|
|
@ -21,8 +21,8 @@ render!(Tui: (self:MidiEditStatus<'a>) => {
|
|||
if self.0.time_lock().get() { "[lock]" } else { " " })),
|
||||
" ",
|
||||
field(" Note", format!("{} ({}) {} | {}-{} ({})",
|
||||
self.0.note_point(), to_note_name(self.0.note_point()), self.0.note_len(),
|
||||
to_note_name(self.0.note_lo().get()), to_note_name(self.0.note_hi()),
|
||||
self.0.note_point(), Note::pitch_to_name(self.0.note_point()), self.0.note_len(),
|
||||
Note::pitch_to_name(self.0.note_lo().get()), Note::pitch_to_name(self.0.note_hi()),
|
||||
self.0.note_axis().get()))
|
||||
))))
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue