+ Reply to Thread
Results 1 to 4 of 4

Thread: Config change for piCorePlayer & Hifiberry Digi+

  1. #1
    Join Date: Dec 2008

    Location: Kuala Lumpur

    Posts: 110
    I'm Abe.

    Default Config change for piCorePlayer & Hifiberry Digi+

    Need the advise from our Linux experts here.

    I noticed that the piCorePlayer running with Hifiberry Digi+ seems to have the gain being set a bit far too high.
    My wee class-D amp simply gets into distortion mode prematurely.

    If I'm using the USB output from RP2, I can SSH in and tweak the Audio Output Level by changing the gain via Alsamixer command. But, it is not working out with Hifiberry Digi+.

    The piCorePlayer path : /usr/local/sbin/config.cfg shows that

    ALSAlevelout="Default"

    Is there any way for me to play around with this command ?
    I wonder what is the acceptable range of gain level that I should enter...from Min to Max
    -abe-

  2. #2
    Join Date: Sep 2013

    Location: North Island New Zealand

    Posts: 1,757
    I'm Chris.

    Default

    Command amixer has ability to alter any soundcard setting
    it is described here http://linuxcommand.org/man_pages/amixer1.html

    open a Terminal type amixer - will list devices attached
    You have to specify which device it is to alter
    This is how a terminal looks altering the Line input

    amixer -c 1 sset Line,0 60%

    Simple mixer control 'Line',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
    Front Left: Playback 19 [61%] [-6.00dB] [off]
    Front Right: Playback 19 [61%] [-6.00dB] [off]

    For most operating systems Pulse is the main sound card platform
    and here amixer does the same thing in a terminal

    amixer -D pulse sset Master 50%

    Simple mixer control 'Master',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 65536
    Mono:
    Front Left: Playback 32768 [50%] [on]
    Front Right: Playback 32768 [50%] [on]


    amixer takes a bit of getting used to how to address it, but like anything on command line it is very capable and works
    ie I must turn my volume up now !

    Cheers / Chris

  3. #3
    Join Date: Mar 2009

    Location: London UK

    Posts: 529
    I'm Chris.

    Default

    The Hifiberry Digi+ has no hardware volume control, so alsamixer, or amixer, are of no use to you. Either control the volume in software, for example on the main LMS web interface or an Andriod app on smartphone/tablet, and/or at the hifi amp itself.
    Chris

    Stuff

    1. Linux PC with onboard HDA SB/ALC892 24/192 optical S/PDIF and/or USB > TC-7520 (Gator + LM4562NA) > Quad 306 > AVI Neutron 3
    2. Rotel RCD 965BX > TC-7520 ( Gator + LM4562NA) > Hd595
    3. Rpi B+/HifiDigi B+ (with isolation transformer) Running "SqueezeOnArch" - https://github.com/SqueezeOnArch
    Nonsense
    1. Belkin Pure AV (white) phono, Belkin Pure AV (silver) USB, QEd 79-strand speaker cable.
    2. MG belden digital co-ax

  4. #4
    Join Date: Dec 2008

    Location: Kuala Lumpur

    Posts: 110
    I'm Abe.

    Default

    OK thanks for the replies.
    I'll try to dive a bit deeper into linux setting.

    Not so keen in turning down the volume on Lms though, I'm afraid that it would affect overall SQ
    -abe-

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •