• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

How to Keep S/PDIF Output Continuously Active When the Source Signal Disappears?

Thelo80

Member
Joined
Dec 13, 2022
Messages
71
Likes
42
Hi everyone,

I'm trying to solve a slightly unusual S/PDIF issue and I'm wondering if anyone here knows of a simple hardware solution.

My setup is:

WiiM Ultra → optical S/PDIF → Edirol UA-101 → USB → mini PC/DSP with natambio/DRC-fir filter

The WiiM Ultra is configured with Standby = Never. However, after the WiiM has been inactive for a long period with nothing playing, it eventually appears to stop its optical S/PDIF output.

When that happens, the Edirol UA-101 loses digital lock. When playback is started again, the S/PDIF signal returns and the Edirol has to reacquire lock. Unfortunately, this old interface doesn't always recover gracefully after the optical input has been absent for many hours.

What I would ideally like is to put a small device between the WiiM and the Edirol that always provides the Edirol with a valid S/PDIF stream.

Something like:

WiiM playing → normal S/PDIF audio passes through

WiiM stops transmitting → device continues generating 48 kHz S/PDIF containing digital silence


So from the Edirol's point of view, the incoming S/PDIF carrier/clock would never disappear and its PLL could remain locked continuously.

I'm specifically not looking for a simple coax-to-optical or optical-to-optical converter/repeater. As far as I understand, most of those devices simply reproduce the incoming S/PDIF signal and therefore won't help if the source stops transmitting altogether.

I've found professional devices from companies such as MUTEC that may be able to do this, but spending several hundred dollars just to keep an old S/PDIF receiver locked seems rather excessive.

Does anyone know of an inexpensive device (say, under $100) that can do this?

Alternatively, is there a clever way of accomplishing it with a Raspberry Pi, inexpensive DSP board, S/PDIF transceiver, or other hardware?

The essential requirement is:

Input present → pass/reclock the incoming PCM

Input absent → generate valid PCM silence at 48 kHz

Output S/PDIF clock/carrier → never disappears


I'm also interested if anyone knows the proper technical term for this functionality. Searching for "S/PDIF reclocker", "repeater", or "regenerator" brings up lots of products, but very few manufacturers specify what the output actually does when the input carrier disappears.

Any ideas or experience with this would be greatly appreciated.
 
Known WiiM behavior - it drops the S/PDIF bitstream when idle, so the UA-101 loses lock and stays muted. Easiest fix is keeping a silent stream running (loop a silent track) so the clock never drops. Some WiiM firmware builds add an always-on output toggle - worth checking the app for an update. A USB-S/PDIF converter in front won't help since the source itself goes silent.
 
Back
Top Bottom