mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
mi graine
This commit is contained in:
parent
ddaf870271
commit
09abaebc82
2 changed files with 2 additions and 2 deletions
|
|
@ -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(())
|
||||
}))
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue