S/PDIF monitoring / display tool? - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 12th October 2012, 11:17 AM   #1
tuck1s is offline tuck1s  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
Default S/PDIF monitoring / display tool?

Does anyone know of (or have a design for) a simple gadget that can be used to decode and display what's coming out of a S/PDIF (coax) or TOSLINK (optical) stream?

I have a variety of devices e.g. Popcorn Hour, Squeezebox Touch, running into a Cambridge Audio DacMagic. The DacMagic shows up the incoming sample rate via LEDs. But I've always wondered whether, when playing higher bitrate material (e.g. Linn 24 / 96 Studio Master flacs) whether the devices are REALLY playing 24 bits, or whether they are truncating down to 16 bits.

Maybe some other DACs would display this, but it seems to be something that ordinary consumers (even audiophiles) don't really think about. But I hope that we DIY'ers care about this !!

The S/PDIF encoding doesn't seem to be too complicated - Manchester clock encoding etc - so I was thinking that some kind of simple logic could be used to decode and display the bits on the wire. I was thinking of two rows (for left / right) of 24 LEDs, or maybe even 32, and some good old-fashioned logic gates :-)

Would appreciate your thoughts on this. Not even sure what to call it - hence hard to Google for answers! Maybe a "digital audio truth-teller" :-)

Thanks
Steve
  Reply With Quote
Old 12th October 2012, 12:15 PM   #2
DF96 is offline DF96  England
diyAudio Member
 
Join Date: May 2007
They could truncate to 16 bits but still send 24 bits with zero-stuffing so the absence of the bits says nothing. You could check the lower bits to see if they are all zero, but then someone could just put a bit of random noise in there. The only way to tell is to check the bit value statistics for genuine randomness, but this is not easy.
  Reply With Quote
Old 12th October 2012, 01:42 PM   #3
tuck1s is offline tuck1s  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
Agreed. Both the Popcorn Hour and the Squeezebox Touch have digital volume controls (when set at 100%, bits out should equal bits in). So I think it might be useful to look at the output at very low volume levels, to see if the lower 8 bits contain actual music.

Do have any suggestions on a S/PDIF decoding circuit?
  Reply With Quote
Old 12th October 2012, 04:56 PM   #4
tuck1s is offline tuck1s  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
... actually I found a much simpler way to prove that my system is doing 24-bits all the way through. I made test .WAV files which have a 440Hz sine wave, very low amplitude (so that only bits 17 to 24 are actually used), i.e. full scale amplitude is 1/65536. The tone is modulated on/off every second (to make it easier to tell whether it's there or not).

I made three versions - 44.1, 48 and 96 KHz sampling rates. You can download the files here:
http://www.thetucks.com/Audio_Test_C...s_17_to_24.zip

Playing this tone carefully through my system, with the amp volume wound briefly around to maximum, the tone can be clearly heard with an ear pressed against the speaker grille.

Only do this test yourself if you KNOW that your system will play files without any clicks/pops at the start/end. Keep mobile phones (in fact anything that emits radio waves) out of the room, because you could easily damage your amp, speakers, or hearing with the system up on maximum gain.
  Reply With Quote
Old 12th October 2012, 05:48 PM   #5
tuck1s is offline tuck1s  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
.. Just to add that the tone is JUST audible, in a quiet room, at loud-ish (but normal for 'attentive' listening) levels. This surprised me as I had thought that the lower-order bits, now shown to be carrying information in a technical sense, may not be carrying content that could affect normal listening.

This test shows that these low-order bits at at least capable of carrying musically meaningful information, in quiet passages, on a mid-budget system (Squeezebox Touch, optical interconnect to DACMagic, Mission Cyrus 2 + PSX, PMC GB1i speakers).
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NOS Futaba Vacuum Fluorescent Display - I want an audio spectrum display - need help ramsfan6239 Equipment & Tools 0 2nd February 2012 12:42 AM
WTT TP S/PDIF transceiver for S/PDIF 4:1 MUX/Receiver Module merlin el mago Swap Meet 0 28th June 2011 10:48 AM
S/PDIF Optical to S/PDIF RCA Replacement PrecisionAudio Digital Source 2 11th February 2007 09:35 PM
Demagnetising Tool/Tool Demagnetiser mrfeedback Everything Else 30 4th October 2002 11:53 PM


New To Site? Need Help?

All times are GMT. The time now is 09:37 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2