mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
dynamic device activation
This commit is contained in:
parent
b73aa8a0dc
commit
e4f3942757
9 changed files with 484 additions and 587 deletions
11
src/main.rs
11
src/main.rs
|
|
@ -20,11 +20,8 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
let cli = cli::Cli::parse();
|
||||
let xdg = microxdg::XdgApp::new("dawdle")?;
|
||||
crate::config::create_dirs(&xdg)?;
|
||||
//crate::device::run(Sequencer::new("Rhythm#000")?)
|
||||
crate::device::run(Rows::new(true, vec![
|
||||
Box::new(Sequencer::new("Rhythm#000")?),
|
||||
Box::new(Transport::new("Transport0")?),
|
||||
]))
|
||||
//crate::device::run(Rows::new(true, vec![
|
||||
//Box::new(Columns::new(false, vec![
|
||||
//Box::new(Chain::new("Chain#00", vec![
|
||||
//Box::new(Sequencer::new("Rhythm#000")?),
|
||||
|
|
@ -36,6 +33,8 @@ fn main () -> Result<(), Box<dyn Error>> {
|
|||
//])?),
|
||||
//])),
|
||||
//Box::new(Mixer::new("Mixer#000")?),
|
||||
//Box::new(Transport::new()?),
|
||||
//]))
|
||||
Box::new(Sequencer::new("Melody#000")?),
|
||||
Box::new(Transport::new("Transport")?),
|
||||
Box::new(Sequencer::new("Rhythm#000")?),
|
||||
]))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue