mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
fix timing by cleaning it
This commit is contained in:
parent
55a8b67bfb
commit
c4d8692b71
5 changed files with 69 additions and 97 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue