extract Sequencer model

This commit is contained in:
🪞👃🪞 2024-07-13 17:11:28 +03:00
parent f347ca838b
commit aa478099d9
14 changed files with 211 additions and 348 deletions

View file

@ -172,7 +172,7 @@ impl Track {
_ => {}
});
let track = app.arranger.track_add(name)?;
for phrase in phrases { track.phrases.push(phrase); }
for phrase in phrases { track.phrases.push(Arc::new(RwLock::new(phrase))); }
for device in devices { track.add_device(device)?; }
Ok(track)
}