this post was submitted on 25 Dec 2024
40 points (90.0% liked)

Linux Questions

2126 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

It's been several months since I switched to Linux mint and it's been great so far. My biggest headache has been dealing with Linux audio and trying to use JACK. I have an electronic drum kit and I use Reaper for recording and using VSTs with yabridge. I managed to get this to work but it only works with ALSA. I want to have YouTube open and play along to songs and this does not work with ALSA. I've researched and experimented with JACK for way longer than I cared to. When I switch to JACK, reaper doesn't recognize my e kit, even tho ita connected with patchbay, and it also makes my default audio output a dummy output. I've gotten to the point of just going back to windows cuz this has been a nightmare. Pulse audio does what I want but the latency is too high.

Is getting a second drive with windows on it the best solution?

EDIT: I have made some progress, I switched to bitwig, uses pipewire, mapped my pads to midi notes and assigned them sounds. I got the latency good and I'm able to play with YouTube. The only problem is bitwig doesn't recognize all the zones in my cymbals. I'm not sure how to fix that, when I was using Steven slate in reaper it registered all the zones.

top 23 comments
sorted by: hot top controversial new old
[–] nous@programming.dev 36 points 6 months ago* (last edited 6 months ago) (3 children)

Give pipewire a go. It is basically replacing pulseaudio and jack as a combined thing and is meant to not have the latency issues that pulseaudio does.

[–] AnarchistArtificer@slrpnk.net 7 points 6 months ago (1 children)

Yeah, I can second this somewhat. I haven't done anything particularly music related so my recommendation is limited here, but I was trying to get my head around the basics of Linux audio when I was troubleshooting a problem that came up when gaming and on voice chat, and pipewire was way less stressful to configure and to understand what was actually happening

[–] WeebLife@lemmy.world 1 points 6 months ago (1 children)

The latest version of Linux mint uses pipewire by default. I double checked that it's active with a command, but reaper doesn't have an option for use pipewire in the audio settings only jack, ALSA, dummy and pulse.

[–] kata1yst@sh.itjust.works 7 points 6 months ago

You can install pipewire shims for each of those back ends

[–] WeebLife@lemmy.world 3 points 6 months ago (1 children)

I have wanted to do this but I don't know how. Rraper doesn't give an option for pipewire in the audio settings. Only ALSA, jack, dummy and pulse audio. I've researched it but it just gets too technical for me. I'm a Linux noob.

[–] nous@programming.dev 3 points 6 months ago* (last edited 6 months ago)

Pipewire can talk to both pulseaudio and jack applications - it basically provides both APIs. It does not create a new one that things nee to implement. You may need to install a plugin to get it to talk with jack applications though - never needed to do that side of things myself.

[–] Echolynx@lemmy.zip 1 points 4 months ago

My install came with Pipewire and I still can't seem to get it to recognize my speakers on Line Out... sigh.

[–] lvxferre@mander.xyz 13 points 6 months ago

This old xkcd comic explains it:

(As others said give pipewire a go, it might solve a lot of the issues you got.)

[–] bluGill@fedia.io 8 points 6 months ago (1 children)

Because some people want to do complex things and so created a complex solution to allow it. windows is only easier until you want one of those complex and then you a unable to do anything.

[–] rc__buggy@sh.itjust.works 6 points 6 months ago

Windows makes the easy things easy and the hard things impossible.

[–] sploosh@lemmy.world 5 points 6 months ago* (last edited 6 months ago) (1 children)

After fighting my Linux gaming rig for months to get it to record my hardware synthesizers' audio and MIDI properly, I gave up and dropped $600 on an M4 Mac Mini. Shit just works and now I also have VSTs working perfectly.

I felt dirty in the Apple store buying it and a little gross setting it up, but the results are exactly what I wanted and I can spend my time making music instead of reading man pages for utilities that work within the framework that supports the tools I use to make music.

[–] WeebLife@lemmy.world 2 points 6 months ago

Idk if I could ever bring myself to purchase apple with how much I've made fun of them over the years. But, my buddy who does professional music production says he only uses apple for his work.

[–] Balinares@pawb.social 5 points 6 months ago* (last edited 6 months ago) (2 children)

For doing actual music production, yeah, switching to Windows is an option you need to consider, annoyingly.

Reaper is powerful, but getting it set up right can be an adventure. I've had better luck with Bitwig. Bitwig also happens to support Pipewire out of the box. This will relieve you from having to deal with JACK.

If you're going to be dealing with JACK, then you may want to look into Cadence from the KXStudio project. It will help you set up JACK in such a way that, for instance, PulseAudio (if you have not switched to Pipewire yet) will route its output through JACK, allowing you to hear YouTube as expected.

In all cases, I would very much avoid using ALSA directly for sound input/output. (Using it for MIDI is sometimes fine.)

So, in short, I'd start with installing Pipewire and checking out the Bitwig demo, and if that doesn't work for you, install Cadence and use it to manage JACK.

[–] WeebLife@lemmy.world 4 points 6 months ago

I messed around with bitwig some more, I was actually able to map most of my pads to a midi note, I got the latency good and I was able to play with YouTube. This is awesome and I'm really happy to finally make progress. However... Bitwig isn't recognizing all the zones on my cymbals which makes it kind of a pain to play. I'll see if I can fix that.

[–] WeebLife@lemmy.world 2 points 6 months ago

I have looked into bitwig but was a little overwhelmed and wasn't sure how to connect my vsts to it. And it is also paid which was another reason I didn't mess with it too much because I wasn't sure if I could get it to work. Linux mint now comes with pipewire and I used a command to make sure its active and it is.

[–] slurp@programming.dev 2 points 6 months ago (1 children)

In terms of using it with pipewire, this thread seems useful https://forum.cockos.com/showthread.php?t=294217

[–] WeebLife@lemmy.world 1 points 6 months ago

Interesting, I was able to get bitwig to work so I think I'll just use that for now. I might try that tho and see if it works

[–] Cethin@lemmy.zip 1 points 6 months ago
[–] dadarobot@lemmy.sdf.org 1 points 6 months ago (1 children)

This is probably not the response you want, but as a longtime linux user, i just use a standalone DAW for recording. Got the fostex model 12 a while back and love it. Easy enough to bounce stuff to the pc for automations, or i just mix mix on the board often.

Jack is cool, but i always felt it was janky, granted that was 15 years ago. Never really messed with midi much, but yeah. Linux is a complicated beast, and audio has almost always been a sore point.

[–] WeebLife@lemmy.world 1 points 6 months ago

I never thought of getting a standalone DAW before. That is an option but idk if I could even figure that out. I'm a noob with audio equipment

[–] 5714@lemmy.dbzer0.com 1 points 6 months ago
[–] BCsven@lemmy.ca 1 points 6 months ago* (last edited 6 months ago)

I found using pavucontrol fixed some of those dummy output issues.

[–] Unquote0270@programming.dev -1 points 6 months ago

Because you haven't learned how to configure and use it.