mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
MidiPlayer -> Sequencer; connect sequencer to sampler in groovebox mode
This commit is contained in:
parent
c5586c3a35
commit
5fab1af138
10 changed files with 120 additions and 81 deletions
|
|
@ -136,11 +136,22 @@ impl Cli {
|
|||
},
|
||||
tracks: match mode {
|
||||
LaunchMode::Sequencer => vec![
|
||||
Track::new()
|
||||
Track::new(
|
||||
&name,
|
||||
None,
|
||||
jack,
|
||||
None,
|
||||
midi_froms.as_slice(),
|
||||
midi_tos.as_slice()
|
||||
)?
|
||||
],
|
||||
LaunchMode::Groovebox | LaunchMode::Sampler => vec![
|
||||
Track::new_with_sampler(
|
||||
&name,
|
||||
None,
|
||||
jack,
|
||||
None,
|
||||
midi_froms.as_slice(),
|
||||
midi_froms.as_slice(),
|
||||
audio_froms,
|
||||
audio_tos,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue