fix timing by cleaning it

This commit is contained in:
🪞👃🪞 2024-07-01 16:23:39 +03:00
parent 55a8b67bfb
commit c4d8692b71
5 changed files with 69 additions and 97 deletions

View file

@ -174,7 +174,7 @@ pub fn contains_note_on (sequence: &Phrase, k: u7, start: u32, end: u32) -> bool
let mut s = sequencer.state.lock().unwrap();
s.rate = Hz(48000);
s.tempo = Tempo(240_000);
println!("F/S = {:.03}", s.frames_per_second());
println!("F/S = {:.03}", s.rate());
println!("B/S = {:.03}", s.beats_per_secon());
println!("F/B = {:.03}", s.frames_per_beat());
println!("T/B = {:.03}", s.ticks_per_beat());