praganj wrote:
> Hi soundcheck,
>
> where can i find your alsamixer-init script ?
> I would like to use it with pCp 6.0.0b9 and Tone Board.
> You are also using Tone Board. What are your sqeezelite options ?
>
> When i start alsamixer, than i see this:
>
> 29510
>
>
> VC on LMS is set to 100%
>
> my are squeezelite options are:
>
> squeezelite -n rtpiusb -o hw:CARD=Control,DEV=0 -a 120 4 1 -b 20000
> 400000 -c pcm,flac,mp3,dsd -p 45 -U hw:CARD=Control DEV=0
>
> or
>
> /usr/local/bin/squeezelite -n rtpiusb -o hw:CARD=Control,DEV=0 -a 120 4
> 1 -b 20000 400000 -c pcm,flac,mp3,dsd -p 45
>
> The -U paramater has no control over alsa. It seems. that alsa is always
> controlling the output and i would like to "uncontrol" alsa for the sake
> of good sound, if it is possibel ...
>
> Any hints ?
Hi.
You can't find my amixer-init.sh anywhere. It's written for my own set
of DACs.
I don't use the KTB onboard volume control. I set it to 100%. If I'm not
mistaken Khadas doesn't even use the ESS Sabre VC.
The squeezelite 32bit VC will do fine. I doubt you'll hear or measure
any differences.
I'm not using piCorePlayer myself. On Arch Linux or Raspbian you can
use the/a related systemd "squeezelite.service" to have an amixer-init.
sh script
being started prior to squeezelite. Check with the pCP folks how to
accomplish this under pCP:
Below an excerpt of my squeezlite.service, just to show how I initialize
Alsamixer on my ArchLinux&Raspbian systems.
Code:
--------------------
PermissionsStartOnly=true
ExecStartPre=-/usr/local/bin/amixer-init.sh
EnvironmentFile=-/etc/squeezelite.conf
ExecStart=/usr/local/bin/squeezelite $NAME $AUDIODEV $ALSA $BUFFER $PRIO
$CODEC $MAC $PCM $DSD $LOG $OPTIONS
--------------------
Within amixer-init.sh I call this function:
Code:
--------------------
###Khadas ToneBoard
Khadas() {
CARDNR=$(cat /proc/asound/cards | grep -i "Khadas" | head -1 | awk -F " "
'{print $1}')
amixer -q -c $CARDNR -- sset 'Khadas Tone Control ' '0dB' 'on'
}
--------------------
I'm not sure if the "-U" option of squeezelite sets the DAC to 0dB and
still lets you control via squeezelite Soft VC.
However.
Code:
--------------------
-U 'Khadas Tone Control '
--------------------
should do, if you really intend to use that "-U" function on the KTB.
That space behind "Control" is there on purpose!
Firmware writing is not what I consider the strong side of the Khadas
folks. ;)
###
Just to mention it. A lot has changed on my side.
I never thought I'd go back to USB DACs, having all these nice RPi I2S
options at hand.
However the RPi4 with its pretty nice USB and ethernet infrastruture and
of course that very nice and affordable KTB DAC made me revise that way
of thinking.
I also reconsidered just recently to go back to wired ethernet with the
RPi4 btw.
And since a couple of weeks I'm even running RPi4 with SSD attached as
LMS server. Great times!
Enjoy.
:::' my audioblog - latest series: RaspBerry PI - \"The Audio Engine\"
' (http://soundcheck-audio.blogspot.com):::
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix