compact launch grid

This commit is contained in:
🪞👃🪞 2024-06-29 20:46:57 +03:00
parent fad0caef88
commit 3886e34519
5 changed files with 75 additions and 90 deletions

View file

@ -35,7 +35,7 @@ fn main () -> Result<(), Box<dyn Error>> {
Track::new("Kick", &timebase, Some(vec![
//Plugin::lv2("Kick/ChowKick", "file:///home/user/.lv2/ChowKick.lv2", &[1, 1, 0, 2])?.boxed(),
Sampler::new("Sampler", Some(BTreeMap::from([
(u7::from_int_lossy(35), Sample {
(u7::from_int_lossy(35), Sample {
name: "Kick 1".into(), start: 0, end: 100000, channels: vec![],
}.into()),
(u7::from_int_lossy(36).into(), Sample {
@ -84,7 +84,7 @@ fn main () -> Result<(), Box<dyn Error>> {
]),
Some(vec![
Scene::new(&"Scene#01", &[Some(0), None, None, None]),
//Scene::new(&"Scene#02", &[Some(0), Some(0), None, None]),
Scene::new(&"Scene#02", &[Some(0), Some(0), None, None]),
//Scene::new(&"Scene#03", &[None, Some(0), None, None]),
//Scene::new(&"Scene#04", &[None, None, None, None]),
//Scene::new(&"Scene#05", &[None, None, None, None]),