Thank you for your donation!

HiFiBerry Volume Control
Hi there,

I am using a HiFiBerry DAC+DSP with dsptoolkit in moode audio. dsptoolkit is a python the interface that allows to control DSP functions.
In alsamixer I have "DSPVolume" as volume control. Strangely it is not affected when changing the volume in moode audio. 
Does moode audio control directly the HiFiBerry DAC+DSP by software and is independent from alsamixer? Do they somehow interfere?

Thank you very much in advance Smile

These are my moode audio settings: 

A U D I O   P A R A M E T E R S

Audio device = HiFiBerry DAC+ DSP
Interface = I2S
Mixer name = Digital
Hardware volume = None
Max ALSA volume = 100
Audio source = Local
Output device = Local
Resume MPD = No
Volume knob = 63
Volume mute = Unmuted
Saved MPD vol = 0
Preamp volume = 0
ALSA version = 1.1.8-1+rpt1
SoX version = 0.1.2-3

This is the output from aplay and amixer:

pi@moode:~ $ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

pi@moode:~ $ amixer

Simple mixer control 'DSPVolume',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 255
  Front Left: 207 [81%]
  Front Right: 207 [81%]
An exception to assign the correct mixer name would need to be coded into function getMixerName($i2sdevice) in source file playerlib.php.
Enjoy the Music! | Twitter Feed | Git Repo
Hello Tim,

thank you very much for your answer and the solution. I just changed the code and it worked! Smile
Now "hardware" volume control appears under audio settings. I guess its DSPVolume then.

Thx again! Time to enjoy some moode Smile
I've aded the fix to upcoming 6.4.1 update.
Enjoy the Music! | Twitter Feed | Git Repo
(01-06-2020, 10:41 PM)Tim Curtis Wrote: I've aded the fix to upcoming 6.4.1 update.

Cool, thanks for the fix!

Forum Jump: