Aro
Basically sometimes if I adjust volume down on youtube video and then bring it up, a problem occurs and about 7 db of loudness are lost and not recovered (OS loudness at maximum)
Qudelix firmware seems to recognize the problem and faithfully reports -7 db in LEVEL RMS (Input tab) 
The problem only goes away if I replug the qudelix

Reproduced on Win 7 and Win 10
So far not able to reproduce on Linux.

I suspect some other programs affected but easiest to reproduce the problem is to watch youtube video, lower volume (youtube control, not Qudelix or Windows) then raise it back
Reply 0 0
Aro
Also happens if I mute/unmute video (cleaner way to reproduce)
Reply 0 0
Qudelix Support qudelix
@Aro:

Thanks for the information.
BTW, do you think the issue is relevant to Qudelix-5K?

Reply 0 0
Aro
It doesn't happen with another USB DAC and it doesn't happen with PC's built in audio so it stands to reason that it is related to Qudelix 5K.
I suspect it may have something to with "absolute volume control" but that's more like a wild guess
Reply 0 0
Aro
I notice the "absolute volume" option (page 15 of the PDF manual) has been removed from the app. Maybe there is a developer menu where it can be re-enabled just so I can check if it is related to the "7 db get lost" weirdness?

EDITED TO ADD 
hint in app says: 
"You can check the ABS volume work or not by checking the input RMS level, Input --> State --> RMS Level. At any volume level, you should get a maximum input RMS level always."

that is precisely what is "failing / not happening" here.
I get ~maximum (near zero) RMS at first, but if I mute/unmute a video the "Input --> State --> RMS Level" displays -7 db and it stays at -7 no matter what else I do until a replug

Edited to add 2:
The "7 db get lost" manifests more readily if device is USB DAC + paired to a phone.  "Input --> State --> RMS Level"  goes to about zero (-0.15) when USB DAC and not paired and may "survive" a few mutes-unmutes (but will drop to stable -7 if I keep muting/unmuting)

Oh and if I don't do anything and let it play "Input --> State --> RMS Level"  stays about zero throughout the entire video so it is not a video/youtube thing per se. 

I find this very unnerving (I can of course adjust loudness to compensate for mysterious lost 7 db but I worry if it will suddenly "glitch out" and go back to ~0 RMS on its own it'll damage my ears or headphones, 7 db is a substantial much)
Reply 0 0
Aro
A quick pseudo-solution I've found is to trigger a system reset via the android app or chrome app. After Qudelix reboots it goes back to normal RMS ~0 (until next time I try to mute and unmute a youtube video at which point 7 db get "lost again"

This, I guess, confirms this is a Qudelix problem and not "Chrome browser problems"
Reply 0 0
Qudelix Support qudelix
@Aro:
Thanks for the detailed and thorough testing and explanation.
We'll check it shortly.
Probably, it might be relevant to 5K ABS volume control.
Reply 0 0
Qudelix Support qudelix
Quick questions:
1. "if I adjust volume down on youtube video and then bring it up, a problem occurs"
Do you mean the youtube volume slider?

2. "try to mute and unmute a youtube video"
Which buttons did you try? Windows system mute? or YouTube Chrome app mute?

3. How did you check the RMS?
Can you repeat the test with a sine wave?
https://www.youtube.com/watch?v=3FBijeNg_Gs

4. Do you have the 5K EQ ON?
Can you try 'reset all settings' via the Qudelix mobile app?

Reply 0 0
Aro
1. Youtube volume slider 

2. Youtube's own mute button near the slider. I prefer reproducing the behavior using the mute button because there's no chance I "didn't pull the slider far enough" or anything like that. Reproduces very reliably

3. Oddly, it is very hard to induce this behavior with the sine test video. Like, took about 40 mutes/unmutes AND some fiddling with the slider to induce the problem.

This video usually causes this right after first mute/unmute or slider fiddling 
https://www.youtube.com/watch?v=V_8yP2lPhXI

Weird!

4. Tried with EQ on and EQ off. Happens in both cases but without EQ the "lost decibels" are bigger (-9 db)  AND inducing it without EQ is way harder (10 attempts on the music video versus "right away")

My EQ headroom is 0 with 0 preamp, loaded EQ profile is "empty" (no changes, 0 DB in all fields)

EDIT TO ADD: tested with / without EQ some more and EQ almost certainly has something to do with it.

Sequence 1:
Set EQ to off, system reset. try to reproduce 
VERY hard to reproduce, many slider fiddlings and "youtube mutes" before problem

Sequence 2
Set EQ to on, system reset, try to reproduce 
Reproduces reliably

Sequence 3

Set EQ to on, system reset, try to reproduce AND turn EQ off after problem arises

Bug reproduces AND stays even after EQ is toggled off


P.S. Seems to happen more often / more reliably when Qudelix is paired to a phone or is looking for a phone to reconnect. 
If left to its own devices for like 30 min without a phone paired "lost decibels from youtube" becomes harder to induce but that may be a fluke
Reply 0 0
Aro
Another observation - the bug is much easier to induce when Qudelix's own sound setting is pushed relatively high (say -1db/891mV, balanced connection) than when it is relatively low (say -15 db)
at -0.5 db it can arise spontaneously without even fiddling the Youtube slider.
There does not appear to be any distortion, in fact for balanced connection there should be quite a bit of room still to go
Reply 0 0
Aro
Additional little test I did was downloading the above video to mp4 and playing it using vanilla Windows Media Player. No problem - RMS stays at -0.4 most of the time 
Reply 0 0
Aro
Okay, I tested this under Linux (two distros - vanilla debian and QubesOS) and situation is worse and weirder there

Test conditions - all pulse mixers/sliders are set to 0db

Sine wave video from above

app reports -14 RMS (instead of expected near-zero) and much more suspiciously intense persistent popping artifacts (several per minute)
The popping artifacts may be pulseaudio problem but that is unlikely because I checked via pulseaudio -vvvvv and when sine sound "pops" no additional error messages appear there (typically when crackle and pop is due to pulseaudio the sound immediately corresponds to a message such as underrun warning)

normal audio playback and youtube video playback 

very hit and miss but typically app reports -3 db RMS where there definitely should be ~0 , occasional crackles too but MUCH more rare than on sine test (about one every two minutes) 

I'll make a separate "linux sine test crackles" thread for recordkeeping and to make it easier for other users to google it up
Reply 0 0
Aro
Reporting that with new firmware, the anomaly persists but its "specifics" changed - now the sine wave video always causes Qudelix to report -14 db RMS on the "input" part of the chrome app on windows and on linux, and the music video averages -7db come hell or high water.

The video downloaded from youtube and played with windows media player results in "expected" value of -0.5 db on average RMS in same input section of the chrome app.
Will report more when back on linux
Reply 0 0
Aro
@Aro:
Thanks for the detailed and thorough testing and explanation.
We'll check it shortly.
Probably, it might be relevant to 5K ABS volume control.


Is there perhaps a way I can gather some kind of "device debug" log pertaining to volume control? 
Reply 0 0
Reply