soundmeter icon indicating copy to clipboard operation
soundmeter copied to clipboard

Complains about jack server not running on Raspbian

Open scelfo opened this issue 8 years ago • 1 comments

I tried using soundmeter today on a Raspberry Pi running Raspbian. It's a Debian like distribution and installation worked without any problems by following the normal Debian/Ubuntu installation instructions. The soundmeter functionality I expect seems to work fine. However, it always complains about jack server not running. Specifically, here's an example:

$ soundmeter --collect --seconds 10
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Collecting RMS values...
        19  Timeout
Collected result:
    min:         18
    max:         27
    avg:         19

I can make that warning go away if I run jackd with the dummy driver:

terminal1$ jackd -d dummy
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"

terminal2$ soundmeter --collect --seconds 10
Collecting RMS values...
        17  Timeout
Collected result:
    min:         16
    max:         20
    avg:         17

I'm filing this issue because I'm not sure what the implications are of running an instance of jackd with the dummy driver. Since it seems like soundmeter doesn't actually need a jack server to function, is it possible to add a fix somewhere in soundmeter itself?

scelfo avatar Aug 11 '16 06:08 scelfo

Hi, I did a search and found that it seems more of a pyaudio/portaudio issue:

  • http://stackoverflow.com/questions/4672457/pyaudio-trying-to-use-jack
  • http://stackoverflow.com/questions/36244367/jack-server-is-not-running-or-cannot-be-started

So soundmeter doesn't need a jackd process running, so you can ignore that message.

shichao-an avatar Aug 12 '16 04:08 shichao-an