JACK is running inside the unit as the audio-server, it is hardcoded to use the internal soundcard, for obvious reasons.
It is possible to run extra external soundcards, of course, as well as replacing the JACK command to use the external card instead of the internal one.
But since it is not a very common usecase, there is no support “out of the box” for this.
The main issue with external cards is clock drift.
But if a few bad samples are okay, then this is doable even as a plugin.
Thanks a lot for this answer! Now it’s even harder to wait for my Mod Duo X
If I understood it right, this means that there’s some minor jitter in audio? How does this affect the audible experience in a live setting? And wouldn’t it always be a problem as long as there’s no clock to sync all audio devices which are processing audio?
I could imagine this is a common use case indeed and would give Duo X mind-blowing possibilities.
Duo X is designed to be used “on the desk” where one often finds several instruments or tracks: some keys, synths, beat, vocals… With just 2 channels it’s impossible to use the Duo X for single tracks separately (e.g. for creative effects) and some effects on the sum. Being able to add for example 8 additional inputs by pluging in a USB interface would be so useful.
This was kinda working. But for some reason I got audio output on more channels than expected. When I route the audio to the channels 1 and 2, I also got output on 3 and 4.
Then I somehow fucked up the device after I forgot to sync the write to the environment file before turning the device off. Or at least that is what I’m suspecting as root cause. This screwed up the content so I decided to do a hard restore. Interestingly, the firmware on the USB device (genius idea btw!) has the same version as the installed one but a higher build number.
After I got it back running, I couldn’t get it to start with the same modifications. The problem here was that there are some hardcoded dependencies around mod-amixer and it’s return values. Making it inaccessible to mod-ui fixed the startup issues.
Now I’m back again with the screwed channel mappings.
//Edit: Ok it seems like channel 1+2 are duplicated to 3+4 for some reason. All channels from 5 - 18 are working just fine.
haha, yeah, this is for very specific reasons
explained in a future update later on, please be patient, and it is better not to change that line.
each one of our builds is counted. the one you have comes from factory with a self-test enabled, the user-reset one has it disabled.
you will have better luck changing the jack-usb-gadget systemd service.
dont know how good it behaves with usb soundcards though, for now that script is only there for internal testing, it is not a published feature yet. only by the end of the year we will make it so, our focus right now is on other things.
Dear @Klaustrophil
I intend to do technically the same, but in my case with a Elektron Analog RYTM (8-Channel Drum-Synth). Thus I wanted to ask if you gathered some more experience with this setup which you would like to share.
Does, btw, the builtin soundcard gets replaced with this modification in the config?
Did you experience the clock drift @falkTX mentioned?
The unit often got stuck during boot (MOD DUO / X) screen. Sometimes I had to reboot it several times until it finally worked.
I contacted support and Salvador told me this is a known issues in 1.9.2 some old devices have which will be fixed. He suggested me to downgrade to 1.8 until then.
Wow @rolego seems impressive… A “tutorial for rookies” would be great , I’m sure lots of users would love to have this, specially the ones with Duo X which has more muscle to do this kind of things…
This is something I see a lot of potential, as Rolego said, The Duo X is something very “studio oriented”, and being able to route instuments via USB to the Duo X and effect them is great, or at least take out the synth instruments of the Duo X separated from the 2 instruments you can have.
Yes, to be honest, the current configuration of Duo X does not make much sense in my eyes: that much power and possibilities while being limited to two audio channels. Especially in a DAWless or live situation this is very limiting.
In my eyes supporting class compliant USB interfaces (maybe restricted to a certain number of devices, maybe restricted to the number of channels) would be a compelling feature for a device that is designed to be used on the desk where in most cases one would have more than one audio (source-) devices and would like to get the signals separately after FX. But according to @falkTX the team does consider this as “not a very common usecase” and thus I do not expect support for this in the future.
But anyway: I’ll write down a tutorial on how to do this even if I don’t think this is a sustainable setup as it could be broken with any future update.
you were correct in what you said, except this part.
Once we deal with the dwarf USB audio, adding support for this will be quite simple since it will be reusing the same system components.
But that only takes cares of the behind-the-scenes stuff. To make this feature viable, it needs to have some options on the UI (for setting up a few things like buffer size and bitrate).
Good to hear that! I think it makes all the sense, I mean in the Mod Duo which was a “guitar-oriented stompbox” I could say “ok, I’m trying to use it in other way, it’s normal that it’s not prepared for that”…
But in the DuoX… I mean, we all love that machines like the Digitakt or the Octatrack have separated channels for their sounds in USB, and the DuoX is generating sounds with its synths, samplers… I thinks it’s a very natural and good way to improve the machine.