open ports; start work on sampler

This commit is contained in:
🪞👃🪞 2024-05-24 19:41:07 +03:00
parent 11a9f3ba50
commit f9218e887a
5 changed files with 501 additions and 96 deletions

View file

@ -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,
}