Ask HN: 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?
47 comments
[ 4.8 ms ] story [ 104 ms ] threadUbuntu Studio developer wiki! : https://wiki.ubuntu.com/UbuntuStudio
https://en.m.wikipedia.org/wiki/Ubuntu_Studio
They had my favorite Gnome theme years ago.
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 ..
Everything sold out.
A common theme these days. Looks interesting
https://wiki.zynthian.org/index.php?title=Beginners_Headless...
ZynthianOS can be configured with external MIDI controllers for the menus, etc. That might be a bit of work, but its definitely worth the effort, because ZynthianOS is just amaze-balls. NORNS too, its just astonishing the power in these little distros.
As well as the original Zynthian, I also have Zynthian running on one of these:
https://www.audiophonics.fr/en/open-source-streamers/rasptou...
.. with a touch-pad, and its just such a tidy, neat system. I look forward to this particular flavour of machine becoming much more prevalent in the MI world ..
You can. The results are not great. A sound card is required.
I have a Pisound
https://bela.io/products/
Edit: looks like the presonus and Steinberg USB audio interfaces are class compliant too. So the Presonus AudioBox USB 96, Steinberg UR22, and the Focusrite Scarlett 2i2 should all do what you need. I have a Steinberg UR44, and it works fine but the preamps are a little weak IME.
Maybe gain is a bit weak for my mic, I used to turn it way up which obviously makes it pick up other sounds (guitar, background noise) which might be unwanted. Now I set the gain right before unwanted sound is picked up, which is ~2/3, then tune the gain/EQ baseline up in GarageBand and Ardour for that channel to get a solid sound.
Cannot commend on Linux usage, but it's a class device alright so it should be fine.
When using Ardour, and only on one of my machines†, I did also get some kind of buffer/timing drift that produced progressively more garbled sound, I identified it to come from other USB devices and/or the USB hub. The issue is not present when using GarageBand.
† MacBook Pro 13" 2018, among the ones which you should not charge on the left side. I think USB is hopelessly borked on these devices.
https://linuxmusicians.com/viewtopic.php?t=17423
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/
- 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.
The Raspberry Pi is badly served when it comes to sound cards that do I/O, though. Pi sound has 3/4 inch I/O jacks, all be them stereo.
Hi Fi Berry have a multitude of cards but for a musician wielding 3/4 inch cables they are not much use.
The PiSound has MIDI Din jacks but I have not found any new MIDI equipment, any more, that requires them. It is all over USB it seems.
(Found on the LWN.net Linux Distribution List: https://lwn.net/Distributions/)
https://github.com/musnix/musnix
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).
https://fedoraproject.org/wiki/Changes/DefaultPipeWire
Switching to Pipewire will also help.
1. https://xanmod.org/
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.
Using a MIDI input over USB into Yoshmi or ZynAddSubFX is very straight forward and there is a powerful synthesiser straight out of the bow.
There is a lot more you can do on Linux, if you choose. But the easy things are easy, the hard things possible, and no silly license requirements (having been burned by Apple....)
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
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