HACKER Q&A
📣 squarefoot

Is there any Linux distro dedicated to music performance?


I'm impressed by the recent developments regarding Linux and audio production; I've been using Reaper, both the Windows version under WINE and the native Linux one for some time, and it works flawlessly with very low latency. Also there are some really good native Linux plugins around, and Windows one - including some very old ones that stopped working on Windows ages ago - run without (almost *) any problems using Yabridge. So the question is: why not creating a very minimal Linux distro dedicated only to run straight after the boot either a DAW and related plugins, or a plugin host? I mean it shouldn't even have a desktop and most common applications, no browser etc. Just the bare minimum to run the audio, both native and WINE subsystem with the simplest window manager around. It should boot directly to the music software to minimize boot time, also handy should it crash in the middle of a gig. Anything like that in development?


  👤 seclorum_wien Accepted Answer ✓
ZynthianOS:

https://zynthian.org

Monome NORNS:

https://monome.org/docs/norns/shield/

Both of these Linux vendors have created what you describe - definitely worth checking out if you are a performing musician. These machines transform into viable, usable instruments - you don't have to do much Linux hacking, you can just plug in and play, like any other electronic musical instrument, and some of the stuff in the NORNS community is amazing for live performance (actually most of it is):

https://norns.community

Both systems will let you play with MOD DUO, which is a plug and play effects system that kicks serious ass:

https://moddevices.com/devices/dwarf/

Other than that - definitely check out Ubuntu Studio, as others have mentioned. I've been running it for a decade as a production DAW in my studio and it really kicks ass... you will be astonished at what is included, out of the box ..


👤 _spduchamp
I've found that Ubuntu Studio just works. I've tried all sorts of variations and have trouble sound not working during recording, but good ol' Ubuntu Studio gets it done. I use Ardour for my DAW. I've been able to record live feeds in Ardour while also live streaming using OBS. Jack works.

👤 willismichael
AV Linux probably has the best out-of-box audio production experience: http://www.bandshed.net/avlinux/

The maintainer, Glen MacArthur, is very active on the Linux Musicians forum and always willing to answer questions: https://linuxmusicians.com

Side note / self promotion, I'm the primary maintainer of Dragonfly Reverb, which is popular among folks that make music on Linux: https://michaelwillis.github.io/dragonfly-reverb/


👤 capableweb
Not mentioned yet, is the Pisound together with a raspberry pi. Fast boot and good hardware in general, for the price. Haven't run any daws with it though, only Patchbox OS (which is made by the same people that makes the Pisound, who also makes the Midihub which is a core staple in my home studio: Blokas):

- https://blokas.io/pisound/ - €99 - Pisound is an ultra-low latency high-quality sound card and MIDI interface specially designed for Raspberry Pi pocket computers.

- https://blokas.io/patchbox-os/ - Free - Patchbox OS is a custom Linux distribution specially designed for Raspberry Pi based audio projects. It comes pre-configured for low latency audio performance and pre-installed audio software that will help you get started with your projects in no time!

I'm not affiliated with Blokas, just a very happy user of Midihub.


👤 tyingq
Not exactly what you're asking for, but an adjacent area. Bela leverages the built-in real time PRUs on a Beaglebone dev board to get very low latency audio processing.

https://bela.io/products/


👤 shaicoleman
If latency is your main concern, switching your kernel to something like XanMod Real-Time [1] may be enough to fix any latency issues.

Switching to Pipewire will also help.

1. https://xanmod.org/


👤 krnlpnc
I honestly would not go down this route unless you intend to spend considerable time on the linux side itself.

If you want to just get on with playing music stick with macOS or windows.

Also the platform should not crash while live in the first place, but in cases where its critical usually there will be two machines running the same set in a failover config.


👤 unabomber
I think i see what you mean and as far as i know there are some realisations with mixxx that look close to your idea. https://github.com/mixxxdj/mixxx/wiki/Portable-Mixxx I did something similar with an arch linux running kde and only the packages i needed for using reaper, carla and a few vst synths. This page could be usefull for configuring your distro : https://wiki.archlinux.org/title/Professional_audio Using it live with many plugins at the same time on my 2015 mid-budget laptop and it's working pretty well.


👤 henearkr
Is there one such distrib that is not PulseAudio based? (and possibly also without SystemD).

I liked quite a lot Alsa/Jack based audio management, but nowadays it seems more and more implemented over a PulseAudio layer, which I would try to avoid.

My main motivation is that PulseAudio has had latency problems in the past (I don't know what is its status now, but Alsa/Jack never had such problems), but also I'd to avoid to depend on the DBus infrastructure if it is not strictly required (and in the case of audio management there are alternatives, so DBus is not strictly required).


👤 squarefoot
Thanks for the replies; I had to go out in minutes and didn't have much time to be more specific about the intentions. My goal actually is to see if it's feasible to use a small PC to fill the gap between a MIDI/USB master keyboard and one (or more) ready made synthesizer(s) in a way that there are no distractions or other software slowing things down, exposing points of failure and generally wasting resources. Ideally, if I turn on a mini PC with that Linux distro, it should boot straight into either a DAW or a plugin host, possibly remembering the last known state, so that boot time is kept to a minimum and I can safely turn it off, then back on to find the same configuration (plugins loaded, presets recalled, etc), just like what I would expect from a physical keyboard instrument and possibly more. Such a task could probably be accomplished by taking the bare minimum bootable system, then adding packages one by one until audio, WINE, basic windowing and networking would work, then some scripts could automate loading the DAW or plugin host. Ideally the user doesn't even know there's an operating system under the hood; they switch on the appliance and after a few seconds it shows one or more synthesizer panels and it's ready to play. I recall over 10 years ago there was Muse Receptor, a very well known hardware appliance that did exactly this, and almost nobody knew there was Linux under the hood running all those Windows plugins (there were almost no native Linux plugins back then); price wasn't low because at that time some serious CPU power was needed for live FX and synthesizers, but today I'm sure it could be done a lot more cheaply.

👤 rcarmo
I recently moved to Fedora 36 and it was almost trivial to get Bitwig and Arturia Windows VSTs running - all I had to do tweaking-wise was set myself up in the real-time group: https://taoofmac.com/space/blog/2022/05/21/1145

I honestly don’t see much of a point in getting rid of the desktop, although I do have a Norns (which I built with a friend) and am toying around with baremetal stuff like MiniDexed: https://taoofmac.com/space/blog/2022/05/28/2320


👤 donquichotte
May I ask what audio interface you use for recording? I want one mic preamp and one direct input for guitar, and my Roland Octacapture that I am otherwise happy with is not supported on Linux.

👤 iostream24
I actually suggest Arch Linux, followed by: “sudo pacman -s pro-audio”

This will install a zillions packages and occasionally prompt you for a yes, and then you will have a preconfigured Arch Linux audio computer :D

Since it’s Arch, all you have to occasionally do is an “sudo pacman -syYu” and upgrade everything to the latest versions.

Usb audio interfaces work out of the box, generally, but to refresh ALSA after connecting it doesn’t hurt to “alsactl restore” iirc


👤 whateveracct

👤 omar_alt
Will bookmark this. I yearn for some type of Fairlight based OS with a distinct audio engine that can be installed on a homebrew mishmash of cpu and midi architecture. Rather than an open source pro-tools but something different using circuits and chips not currently used for generating DAW based audio

👤 teddyh
Audiophile Linux: https://www.ap-linux.com/

(Found on the LWN.net Linux Distribution List: https://lwn.net/Distributions/)


👤 cozzyd
Planetccrma, but not sure if it's still active.

👤 hakube
For everything Multimedia, Ubuntu Studio