mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
refactor: reuse horizontal::draw
This commit is contained in:
parent
91832e0072
commit
939ffe3630
6 changed files with 130 additions and 117 deletions
|
|
@ -43,7 +43,7 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
let input = ".*nanoKEY.*";
|
||||
let output = ["Komplete.*:playback_FL", "Komplete.*:playback_FR"];
|
||||
let (client, _) = Client::new("init", ClientOptions::NO_START_SERVER)?;
|
||||
let timebase = Arc::new(Timebase::new(client.sample_rate() as f64, 125000.0, 96.0));
|
||||
let timebase = Arc::new(Timebase::new(client.sample_rate() as f64, 60.0, 96.0));
|
||||
let ppq = timebase.ppq() as usize;
|
||||
macro_rules! play {
|
||||
($t1:expr => [ $($msg:expr),* $(,)? ]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue