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.

  • smpl@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    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.

    • WeebLife@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      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