loop recording!

This commit is contained in:
🪞👃🪞 2024-06-18 00:12:16 +03:00
parent 7fb9369012
commit d39cce271f
3 changed files with 301 additions and 214 deletions

View file

@ -1,16 +1,21 @@
/// Number of data frames in a second.
#[derive(Debug)]
pub struct Hz(pub u32);
/// One data frame.
#[derive(Debug)]
pub struct Frame(pub u32);
/// One microsecond.
#[derive(Debug)]
pub struct Usec(pub u64);
/// Beats per minute as `120000` = 120.000BPM
#[derive(Debug)]
pub struct Tempo(pub u64);
/// Time signature: N/Mths per bar.
#[derive(Debug)]
pub struct Signature(pub u32, pub u32);
/// NoteDuration in musical terms. Has definite usec value