Is it possible to set the max volume of the HIFIBerry? Running it directly into my Focusrite interface the signal is very hot.
is there a config file some where that it can be set to either +4 dBu or -10 dBV?
Yes, changes in alsamixer will be saved and restore after reboot.
In the other hand, should we add a configuration option for this in the webconf tool, @mheidt ?
We might have an issue. I mean challenge.
I tried to make it work and used amixer to get and set the volume.
I checked something in, which works for my Dac+Pro.
But other soundcards might have differently named mixer controls.
So I guess, I need to iterate over all Playback pvolume pswitch mixer controls and provide n sliders?
Or do you have a better idea?
Not all of those playback sliders are really adjustable. not even in alsamixer.
Some are 0-1 but i use 0-100%
Analogue f.e.: if i set it to 30, it will save as 0.
My proposal is to define filters for each soundcard.
In my case (DAC+) itâs only âDigitalâ, that i need.
Now we need to collect the mixer control names of the other cards.
Edit: After I posted this, I realized we are basically identical.
root@zynthian:~# amixer scontrols
Simple mixer control 'DSP Program',0
Simple mixer control 'Analogue',0
Simple mixer control 'Analogue Playback Boost',0
Simple mixer control 'Auto Mute',0
Simple mixer control 'Auto Mute Mono',0
Simple mixer control 'Auto Mute Time Left',0
Simple mixer control 'Auto Mute Time Right',0
Simple mixer control 'Clock Missing Period',0
Simple mixer control 'Deemphasis',0
Simple mixer control 'Digital',0
Simple mixer control 'Max Overclock DAC',0
Simple mixer control 'Max Overclock DSP',0
Simple mixer control 'Max Overclock PLL',0
Simple mixer control 'Volume Ramp Down Emergency Rate',0
Simple mixer control 'Volume Ramp Down Emergency Step',0
Simple mixer control 'Volume Ramp Down Rate',0
Simple mixer control 'Volume Ramp Down Step',0
Simple mixer control 'Volume Ramp Up Rate',0
Simple mixer control 'Volume Ramp Up Step',0
My /boot/config has these lines:
# Soundcard Config
dtoverlay=hifiberry-dacplus
My webconf for audio looks like this (which I think is pretty standard):
The changes are not in the master branch yet.
You need to checkout mheidt.
Or you wait, until it is merged.
But I could use more results of âamixer scontrolsâ of people with other soundcards.
Yes. My code is not in the master branch yet. Did you checkout the branch mheidt? Montag, 12 Juni 2017, 04:58vorm. +02:00 von beckdac discourse@zynthian.org :
beckdac
June 12
root@zynthian:~# amixer scontrols
Simple mixer control âDSP Programâ,0
Simple mixer control âAnalogueâ,0
Simple mixer control âAnalogue Playback Boostâ,0
Simple mixer control âAuto Muteâ,0
Simple mixer control âAuto Mute Monoâ,0
Simple mixer control âAuto Mute Time Leftâ,0
Simple mixer control âAuto Mute Time Rightâ,0
Simple mixer control âClock Missing Periodâ,0
Simple mixer control âDeemphasisâ,0
Simple mixer control âDigitalâ,0
Simple mixer control âMax Overclock DACâ,0
Simple mixer control âMax Overclock DSPâ,0
Simple mixer control âMax Overclock PLLâ,0
Simple mixer control âVolume Ramp Down Emergency Rateâ,0
Simple mixer control âVolume Ramp Down Emergency Stepâ,0
Simple mixer control âVolume Ramp Down Rateâ,0
Simple mixer control âVolume Ramp Down Stepâ,0
Simple mixer control âVolume Ramp Up Rateâ,0
Simple mixer control âVolume Ramp Up Stepâ,0
My /boot/config has these lines: