mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
loop recording!
This commit is contained in:
parent
7fb9369012
commit
d39cce271f
3 changed files with 301 additions and 214 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue