mi graine

This commit is contained in:
🪞👃🪞 2024-07-04 01:36:01 +03:00
parent ddaf870271
commit 09abaebc82
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ pub fn main () -> Usually<()> {
state.midi_in = Some(client.register_port("midi-in", MidiIn)?);
state.transport = Some(client.transport());
state.playing = Some(TransportState::Stopped);
state.time_zoom = 24;
state.time_zoom = 12;
state.jack = Some(jack);
Ok(())
}))

View file

@ -108,7 +108,7 @@ mod horizontal {
let key = KEYS_VERTICAL[(index % 6) as usize];
key.blit(buf, x + 1, y, Some(bw));
"".blit(buf, x + 2, y, Some(bw));
"|---".repeat(width.saturating_sub(6) as usize).blit(buf, x + 5, y, Some(bw.black()));
"".repeat(width.saturating_sub(6) as usize).blit(buf, x + 5, y, Some(bw.black()));
let note_a = note0 + (index * 2) as usize;
if note_a % 12 == 0 {
let octave = format!("C{}", (note_a / 12) as i8 - 2);