this post was submitted on 13 Jun 2024
25 points (100.0% liked)

Linux

48375 readers
1483 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi everyone, I got my e-drum kit to successfully work in reaper, using yabridge for the VSTs. Shortly after, I found another way in which linux audio is different than windows. While using reaper, I am unable to play audio from any other source. Through research, I discovered that it's because I'm using ALSA and that I need to use JACK instead. I looked up guides on how to setup JACK and qctl and was unsuccessful. I came across a video explaining different problems with JACK and it mentioned that using a pcs built in audio card may not be able to handle the audio in JACK. Right now, it seems like I need to come up with a different solution. But I thought I would ask here and see if I have any other options. I don't have any external dacs, but I do have my desktop pc that still has windows so I'm thinking of giving up on using my linux laptop for my music needs.

Tldr- want to use reaper while watching YouTube vids. Alsa won't allow that, and jack isn't working on my laptop.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 5 months ago (1 children)

You need to use a dmix PCM for you card as output.

If you type aplay -L | grep dmix it'll show you a list of dmix devices. You can set one as the default if you create a file named .asoundrc in your homefolder with the content:

pcm.!default {
  type plug
  slave.pcm "dmix:CARD=Set,DEV=0"
}

You of course replace the value of slave.pcm with your desired card name. I just gave one of mine as an example. The above default configuration also takes care of automatic conversion, via the plug pcm, for different samplerates and formats to the settings the hardware is set up to use. Every program that use ALSA for output will read the above file, but you need to restart a program for changes to take effect.

If you enjoy audio production I'm sure you'll find some good use for Jack, but for audio mixing all you need is to use an ALSA dmix pcm for output.

[–] [email protected] 1 points 5 months ago

I tried my best, but it's a no go. As I mentioned, I'm a smooth brain linux noobie... the only dmix devices I have are PCH, and a bunch of different Nvidia ones. I tried setting the device to PCH and Nvidia but nothing worked. I'm just going to find a different solution. Thanks for the help tho