wip: sequencer now copies from buffers

This commit is contained in:
🪞👃🪞 2024-07-13 21:57:07 +03:00
parent aa478099d9
commit 2fc8e84551
15 changed files with 310 additions and 256 deletions

View file

@ -78,11 +78,11 @@ pub const KEYMAP_GLOBAL: &'static [KeyBinding<App>] = keymap!(App {
Ok(true)
}],
[Char('='), NONE, "zoom_in", "show fewer ticks per block", |app: &mut App| {
app.sequencer.time_zoom = prev_note_length(app.sequencer.time_zoom);
app.sequencer.time_axis.scale_mut(&prev_note_length);
Ok(true)
}],
[Char('-'), NONE, "zoom_out", "show more ticks per block", |app: &mut App| {
app.sequencer.time_zoom = next_note_length(app.sequencer.time_zoom);
app.sequencer.time_axis.scale_mut(&next_note_length);
Ok(true)
}],
[Char('x'), NONE, "extend", "double the current clip", |app: &mut App| {