THIS IS A MIRROR OR ARCHIVE. CLICK HERE TO GET TO THE OFFICIAL CATWITHCODE.MOE PAGE! IF YOU ARE ALREADY ON CATWITHCODE.MOE, IGNORE THIS. BLOCKING JAVASCRIPT IS COOL.

Instrument Recording on Linux

Should be easy and clear but that topic is so obscure and search engines so flooded with BS it is hard to find what to do. I wanted to document how I connected everything and what to use. I use an E-Bass but this works the same with all instruments that are E-Guitars. Midi devices like keyboards can be connected directly to a Midi to USB device (Or like many modern keyboards are Midi to USB internally already) and piped into the software using it (Just make sure your keyboard or whatever is just Midi on the USB end and not some proprietary BS), but for Analog E-Guitars it is a little more involved.

Connecting everything:

You WILL have to connect the guitars to a DI-BOX. Why? To be honest, I still not fully understand, but something with smoothing and adjusting the what comes out of the guitar. Without it the input is way to quiet and loud at the same time. Unusable for anything. Many of them can be powered by 48V phantom power. The DI box needs to be connected to a USB-Interface. Nothing fancy is needed here. The USB-Interface will then connect to the PC and you got your input.

The software side:

At this point you will have an "okay" sounding Input but you need to amplify it and also apply effects or digital pedals (real pedals are better, plug them in between the guitar and the DI-Box). I use PipeWire as my audio system (most Linux setups do so). By using "gpwgraph" you get a Patchbays look a like view where you can connect your Inputs to other software. To modify the sound you can use "claf-plugins" which is a collection of great effects and amps (It is also its own software, no software needed to use the plugins just use claf itself, but the plugin system can be used with other software too), or "guitarx" witch is a similar peace of software with even more ways to create custom pedals or effects. Both can do essentially the same but "claf-plugins" is more plug in play and "guitarx" feels more like a synth where the sky is the limit how the sound gets mangled. You can also just use both and pipe them into each-other. One issues that this setup has is it gets a smoothed input from the DI-Box that gets already changed by the USB-Interface and the downsides of digital processing also come into play with the digital amps and pedals that toy around with an already louder then normal signal. It works and cost near nothing compared to a full analog setup.

Permissions?:

It could be that, depending on you OS, the security guidelines could prevent the audio processing software from accessing the inputs on the needed lower kernel level. Just start the software from the terminal, read the output and check what udev rules or user permissions are needed. Often a udev rule for direct audio access or the audio group is missing for the current user. On OpenSuse I needed the groups "audio, input, plugdev, realtime".

Sources: