mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
open ports; start work on sampler
This commit is contained in:
parent
11a9f3ba50
commit
f9218e887a
5 changed files with 501 additions and 96 deletions
|
|
@ -6,10 +6,12 @@ use clap::{Parser, Subcommand};
|
|||
use std::error::Error;
|
||||
|
||||
//pub mod sequence;
|
||||
pub mod prelude;
|
||||
pub mod engine;
|
||||
pub mod transport;
|
||||
pub mod mixer;
|
||||
pub mod looper;
|
||||
pub mod sampler;
|
||||
|
||||
fn main () -> Result<(), Box<dyn Error>> {
|
||||
let cli = Cli::parse();
|
||||
|
|
@ -20,6 +22,8 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
crate::mixer::Mixer::run_tui(),
|
||||
Command::Looper =>
|
||||
crate::looper::Looper::run_tui(),
|
||||
Command::Sampler =>
|
||||
crate::sampler::Sampler::run_tui(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -38,4 +42,6 @@ pub enum Command {
|
|||
Mixer,
|
||||
/// Control the looper
|
||||
Looper,
|
||||
/// Control the sampler
|
||||
Sampler,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue