[SOLVED] Audio glitching on Pi 5 - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] Audio glitching on Pi 5 (/showthread.php?tid=6710) |
RE: Audio glitching on Pi 5 - simonb - 07-16-2024 (07-16-2024, 04:46 PM)TheOldPresbyope Wrote: Full up neurosurgery, huh It fries your brain to be honest! RE: Audio glitching on Pi 5 - robkyf - 07-17-2024 Ok, latest (and possibly final) update: new SD card, fresh install of moOde, internet radio playing only (so no music files on the SD and no attached USB devices). Result: same audible clicking/glitching as first reported (and if anything more pronounced and more regular). I think I’ve exhausted all the options now. I can only conclude that the problem lies with some basic mismatch in the way my Audiolab DAC and the Pi 5 handle USB audio feeds. I can’t see that the problem lies with moOde otherwise I’m sure others would have reported similar problems. But on the positive side, my Pi Zero 2 W running moOde still works perfectly with my Audiolab, and the result is still a massive improvement on the DAP-based transport solution I was using previously. And it goes without saying that moOde is a joy to use! The Pi 5 will just have to go back in its box and wait until I decide to update my DAC to something from this decade. I’m still open to any other suggestions on what to do next, but I wanted to say a massive thank you to everyone who has so generously given their time and knowledge to try and help me find a solution. RE: Audio glitching on Pi 5 - DRONE7 - 07-18-2024 Your Audiolab is an odd beast, CD player with a preamp . Looking at the reviews this caught my attention Quote:USB Audio allows you to select between 24/96 asynchronous mode and compatibility mode. Compatibility mode reverts the USB interface to adaptive operation. This should only be used if your computer set up does not function with asynchronous data transfer mode. I guess you have tried changing the mode ? and the filters ? My thoughts would be to select Sox resampling in the MoOde audio settings and sample to 24/96 out and select the 24/96 asynchronous input mode for the Audiolab settings. Test and reply as there is something else that may be relevant. Please post the output of Code: lsusb with the Audiolab DAC connected. RE: Audio glitching on Pi 5 - robkyf - 07-18-2024 Thanks @DRONE7. The Audiolab 8200CD is a decade-old design but still sounds good to my ears. There is a CDQ variant that has ’proper’ preamp capabilities, but the simpler CD model I have is primarily designed to be a straightforward CD player with added DAC functionality. There are filters but they’re at the output end. My model only allows asynchronous USB so I can’t change the way it ‘pulls’ the audio stream from the Pi 5. I’ve tried switching on SoX resampling in moOde and experimenting with different bit/sample rates, but any changes make the Audiolab seriously unhappy: at lower sample rates the glitching seems to be less frequent and loud but is still there; at high rates it goes crazy and loses the USB lock. The output from lsusb doesn’t seem to report anything more that the presence of the Pi 5 USB2/3 ports and the connection to the Audiolab DAC. It was worth a try but I’m still left thinking there is some basic mismatch between the Audiolab and the Pi 5. But as mentioned in my previous posts, moOde running on my Pi Zero 2 W into the Audiolab works perfectly so all is not lost… RE: Audio glitching on Pi 5 - DRONE7 - 07-19-2024 (07-18-2024, 09:29 PM)robkyf Wrote: Thanks @DRONE7. It's the USB id that is needed for investigating. Post the output from lsusb. RE: Audio glitching on Pi 5 - robkyf - 07-19-2024 Hi @DRONE7. Ok, here's the output: Code: [b]rob@moode[/b]:[b]~ $[/b] lsusb RE: Audio glitching on Pi 5 - DRONE7 - 07-19-2024 (07-19-2024, 07:26 AM)robkyf Wrote: Hi @DRONE7. Ok, here's the output: Excellent! Have you got a powered USB hub that you can install between your Pi5 and the Audiolab DAC ? There may be a usb issue re the TI usb hardware and the Pi5 USB. (vs the Zero2W) Quote:Raspberry Pi 5 https://github.com/mvp/uhubctl#faq RE: Audio glitching on Pi 5 - robkyf - 07-19-2024 Thanks @DRONE7. Yes, I think you’re right to conclude that the glitching problem I’m experiencing is almost certainly down to a USB interface issue. Unfortunately, I don’t have a powered USB hub that I can install between the Pi 5 and the Audiolab. I realise they’re not exactly expensive but I’m disinclined for the moment at least to put another box in what I just want to be a simple Pi-to-Audiolab DAC chain. Fortunately, my Pi Zero 2 W with its single micro USB port for outputting audio streams doesn’t have this problem, so I’m just going to press ahead with using that solution. When I do eventually replace the Audiolab, I’ll try again with the Pi 5. RE: Audio glitching on Pi 5 - DRONE7 - 07-19-2024 Understood and as Tim's byline says 'Enjoy the Music!' RE: Audio glitching on Pi 5 - simonb - 07-19-2024 You could buy a USB to spdif converter on Amazon. If it's doesn't work send it back. Assuming you've got a spare spdif optical or coax input on the DAC. Sort of future proofs the DAc as well. Simon. |