mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: build arranger out of freestanding functions
This commit is contained in:
parent
4dbbe0340a
commit
4229364363
12 changed files with 570 additions and 472 deletions
|
|
@ -6,7 +6,6 @@ atom_command!(InputCommand: |app: Tek| {
|
|||
command!(|self: InputCommand, app: Tek|match self {
|
||||
Self::Add => {
|
||||
app.midi_ins.push(JackMidiIn::new(&app.jack, &format!("M/{}", app.midi_ins.len()), &[])?);
|
||||
app.redraw_arranger();
|
||||
None
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ atom_command!(OutputCommand: |app: Tek| {
|
|||
command!(|self: OutputCommand, app: Tek|match self {
|
||||
Self::Add => {
|
||||
app.midi_outs.push(JackMidiOut::new(&app.jack, &format!("{}/M", app.midi_outs.len()), &[])?);
|
||||
app.redraw_arranger();
|
||||
None
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue