03-18-2023, 12:10 PM
(This post was last modified: 03-18-2023, 12:13 PM by Tim Curtis.
Edit Reason: Fix formatting
)
(03-18-2023, 11:09 AM)ycdtosa Wrote: Hi Tim,
I just tested the Camilla loudness, and there is indeed an issue with the volume when you Pause/Play or change from one station to another. More than a different curve.
With the pipeline editor opened, I noticed that the volume always goes to 0dB after a pause/play; you see the slider moving to the 100% (0dB) right after you click Play.
The information in the camilladsp_volume_state file was not 0dB.
I did notice that the value in the camilladsp_volume_state file is not always up to date (for example you start at volume 2 (-34), then go to volume 4 (-28), then pause, the value in the file is still -34).
Interesting that both @jonners and I use the Allo USBridge Sig.
Thanks!
I'm not able to repro on my Allo SIG with Revolution USB DAC and Camilla set to Loudness. All other CamillaDSP settings are default.
1. What I see when resuming play is that the Camilla slider starts at 0 (-99dB) and then is set to the dB level in the volume state file.
2. The volume state file is only updated when play is stopped since it's only needed for restoring the volume after play is resumed.
Here's a command to watch the volume state file as it's updated.
Code:
watch "cat /var/lib/cdsp/camilladsp_volume_state"
The file should have the following ownership and permissions.
Code:
pi@sig:~ $ ls -l /var/lib/cdsp/camilladsp_volume_state
-rw-r--r-- 1 mpd root 7 Mar 18 07:33 /var/lib/cdsp/camilladsp_volume_state
The volume proxy daemon status can be viewed with the following command. It should be active when Camilla is set to a config that has a volume filter for example Loudness, Volume Control or Polarity Inversion with VC.
Code:
systemctl status mpd2cdspvolume
Let's see if we can isolate the issue to one of the steps below.
1. Set CamillaDSP to Loudness config
2. Reboot
3. Open the CamillaDSP Pipeline editor in a separate window
4. Check status of the volume proxy using the systemctl status command and verify it's active (running) and there are no errors. Crtl-c to exit
5. Monitor the volume state file with the watch command.
6. Set MPD volume to 0. The volume state file should show -51dB.
7. Play something
8. Set MPD volume to 1. The volume state file should still show -51dB.
9. Stop playback
0. The volume state file should show -40dB.
A. Set MPD volume to 2 and then back to 1. The volume state file should show -34dB and then back to -40dB.
B. With playback stopped verify that the volume proxy is still active (running) and there are no errors reported.
C. Resume playback and monitor the Camilla volume slider and dB value.
C1. Initially the slider should be at 0 position and dB should show -99dB
C2. The slider should then be > 0 position and dB should be -40dB corresponding to whats in the volume state file.
-Tim