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

@ -45,7 +45,7 @@ fn main () -> Result<(), Box<dyn Error>> {
let (client, _) = Client::new("init", ClientOptions::NO_START_SERVER)?;
let timebase = Arc::new(Timebase {
rate: AtomicUsize::new(client.sample_rate()),
bpm: AtomicUsize::new(99000),
bpm: AtomicUsize::new(125000000),
ppq: AtomicUsize::new(96),
});
let ppq = timebase.ppq() as u32;