Skip to content

Two issues running Beatnik on Pi 5 with Focusrite Scarlett Solo #30

@yurivangeffen

Description

@yurivangeffen

Just found your project on Reddit and I love it! Immediately picked up a Raspberry Pi to get my spare Focusrite Solo + KRK Rokits running on Beatnik!

I tried installing on a clean Pi 8GB with 128 SD card (with Trixie Lite) and using a Focusrite Scarlett Solo with one of two KRK Rokits connected. Install process was smooth in general. I did have to set up a config for the Solo in /etc/asound.conf to get it to output sound using Airplay:

pcm.scarlett32 {
  type plug
  slave {
    pcm "hw:0,0"
    format S32_LE
  }
}

pcm.!default {
  type plug
  slave.pcm "scarlett32"
}

ctl.!default {
  type hw
  card 0
}

I think it has something to do with the Solo needing 32-bit audio? Shouldn't be a problem with "supported devices" like the HifiBerry.

Unfortunately, Spotify streaming had some deeper trouble;

  1. Beatnik showed up in my Spotify output selection no problem.

  2. Selected the output channel but got no sound from speakers, even though Spotify tells me it's "playing".

  3. Checked beatnik controller, which shows 0 clients, and 1 stream playing:

Image
  1. Hacked my way around using ChatGPT, knowing nothing much of audio drivers and UNIX pipes. Found a fix by replacing the Spotify stream in /etc/snapserver.conf with:
[stream]
source = process:///usr/bin/librespot?name=Spotify&devicename=Beatnik-Spotify&bitrate=320
  1. After rebooting, this changed the way the output channel was shown in Spotify, but made the stream work:
Image

Of course, the above fix breaks the connection between Beatnik and librespot, the stream now seems "idle" in the interface even when it's in use:
Image

Do you know of a way to get this working within Beatnik instead of around it? Very willing to test a clean install again if you have some pointers as to what the issue could be!

Just working the problem...
Just working the problem...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions