Is All SPDIF Audio Output the Same?
CyberSpaZtiK asks: "I am going to build a Linux audio appliance to hold my music collection in various formats and for output to my stereo system. Because of a probable lack of Linux availability or support for audio cards with high quality D/A converters and low-noise electronics (or am I mistaken?), I want to keep the output path completelely digital by using a card with SPDIF output. However, it occurs to me that I actually know very little about SPDIF - are all SPDIF outputs made equal? Can I expect every SPDIF interface to emit the exact PCM data of the source audio, or are there over/under-sampling/aliasing, etc. issues that you sometimes get with digital signal processing? What do I need to understand about SPDIF and/or other digital output interfaces to make an informed decision?"
SPDIF outputs are usually pretty consistent at passing the PCM data or the DD/DTS sountrack if you have them configured right.
Some cards, however, such as Creative's Audigy series, are notorious for resampling inputs/outputs, so you might want to check.
Even a cheap card, like the $15 cards on Newegg, should provide a clean output. Don't buy the garbage about "jitter" that I'm sure someone will bring up - so long as your card and cabling are operating within the specification, you won't have any problems.
Do consider TOSLINK instead, however. TOSLINK uses fiber-optics, so your audio equipment and PC are electrically isolated. This reduces the chance of creating a ground loop or introducing RF noise into your reciever/amp. Moreover, it protects your equipment in the event of an electrical mishap.
I can't answer your question, but I will tell you one thing for sure. The lack of anything that effectively manages a music collection in Linux has long been a beef of mine. I hate to say it, but music "jukeboxes" are one area where Widows has a definate advantage.
Madre de Dios! Es El Pollo Diablo! -- Captain Blondebeard
It will occupy you for years to come.
Then why do they have an "Ask Slashdot" section?
We are talking digital signals here.
Any self respecting DAC circuit will not be affected by jitter.
I use toslink all the time and there is no problem with "jitter".
Jitter is marketing hype.
You can't take the sky from me
Chaintech's product page
The S/PDIF protocol has a consumer mode and a professional mode. I do some professional audio work and my DiO-2496 will emit both. My MD player will only accept the consumer mode which includes Serial Copy Management System (SCMS) flags which indicates if the source is first generation (allowed) or second generation (not allowed). The other nice thing about this card, it is completely ignores inbound SCMS and can re-code a second generation stream as a first generation consumer stream or a professional stream. Haven't needed it, but cool. I've connected it to professional DAT units, consumer MD units and DVD players.
This is a boring sig
Your mistaken. the MAudio cards all work beautifully... and sound it too... *currently listening to music in superb definition on said card* together with jack and assorted other toys, audio on linux is not something that is lagging.
Brain(s): 0.0% user, 1.3% system, 0.1% nice, 98.6% idle
If digital inputs are at a premium, consider a Griffin iMic - works perfectly with the ALSA USB Audio driver.
In my testing, it's the cleanest sound I've heard from a computer with the exception of optical toslink.
Hey shithead - Slashdot discussions answer plenty of questions like this. YOUR answer is entirely useless, and poorly worded to boot.
"read errors and the like" - Brilliant, thanks. Why don't you post under your member name so I can come kick your ass.
If anybody know of sound cards available for purchase that actually support this, (the feature is called DICE), let me know.
If you don't know where you are going, you will wind up somewhere else.
I'm looking for a low-cost DAC/ADC chip for SP/DIF, something that takes audio and produces SP/DIF, and vice versa. If it can use fixed modes and doesn't require a uC that would be great.
The Phillips UDA1355H looks like what I want, but Phillips doesn't even list availability information, and DigiKey and Mouser say either nothing or non-stock, which leads me to think that the chip doesn't exist.
Does anybody have anything like this?
I already know about PCM2902 USB DAC project, and while that's useful (similar to the Griffin iMic) it's the opposite of what I want.
My (old but still good) Echo Gina works with Linux, but needs some work to get drivers functioning, and doesnt work with the standard ALSA mixer API (has separate mixer app).
It does 20bit 2-in/8-out recording/playback with a very low noise floor, and also offers stereo digital in/out with SP/DIF consumer/pro modes on Linux.
My friend gave me his since Echo no longer do Windows drivers for their old cards.
I gots ta ding a ding dang my dang a long ling long
Ditto on this comment. I bought an external USB device for the digital output to hook up to an old laptop I thought to use for stereo input.
Surprise to me: no 5.1 output on the digital out. Cheap bastards -- I guess that would involve licensing Dolby encoding from Dolby labs.
Interestingly enough, a newer laptop (Dell Inspiron 8000) has a digital output for use when watching DVD's. However, it only works with DVDs, not wave or CD audio output. Was hoping for CD->SPDIF->Stereo PCM, but nada....only analog (with a known problem of audio noise on the analog outputs). I don't know about their newer laptops, but Dell Support basically waived their hands and, basically, said too bad so sad -- must be in your cables (of multiple users complaining in their online forum). The digital output signal doesn't suffer from the same problem.
Would be nice to know which cards can encode Surround, 5.1 or DTS onto a digital out.
Well, actually I want to build an active speaker system, and those 6 channels are actually brutefir-generated for each individual driver from a standard 2-channel stereo track.
Any ideas?
At least according to this site, no. See " 44 KHz Digital Data To Digital Output" sections such as Turtle Beach Santa Cruz. A full list of tested cards is here Here
If this makes you tick, build it, but there are easier options, such as the squeezebox from slimp3
Mark
Of course there are differences between good and bad SPDIF outputs (good and bad systems with SPDIF outputs to be precise). The impedance, the connectors, the regularity of the data output, the jitter... suposing the system won't resample the datas.
Concerning your computer, I don't think it would have any problem in forwarding data at the right rate.
Avoid too much cpu-intensive tasks when listening your music.
People talk about jitter and it's interesting because it mainly affects only the end segment, the DAC, because before it you can do all the crap you want.
If you remember to have a good DAC that will just put the data back to normal (I mean jitter-less).
An amazing analysis can be found here (not so far from your setup) Apple AirPort Express Wi-Fi Hub-D/A processor.
This guy uses a "bad" setup ending in 0% (yes, 0) data lost. And with a reclocking DAC with less jitter than a multi-thousands $ system.
I may recommend you the Mini-Dac if it's in your budget (not so expensive for high-end systems, but expensive compared to $99 stuff).
ClaudeBBG
Yes.
Slashdot: News for nerds, stuff that matters.
That second part encompasses any discussion relevant to "mattering." This includes functioning as a support number.
You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
Jitter exists but it unimportant when you use a digital buffer. That is, if you are reading more than 1 bit, and you are buffering at least 1 bit the jitter suffered in the signal will not be noticable.
Also be aware that audiophiles never use actual measurements to describe how something sounds, they have subjective and emotional vocabularies to describe the experience. This is because audiophilia is much like a religon, it cares little for evidence.
way back when I was on the 'dat-heads' mailing list (back when DAT taping at live shows was still new and not at all common), there was quite a bit of talk about jitter and its real world effects.
without getting deep in math and tech, the short answer that everyone seemed to agree upon was:
- when sending the signal from a source device to PLAYBACK device, if the target device is a DAC, then jitter does matter.
- when COPYING the data from a device to a storage device (DAT, computer, etc), then jitter does not matter ON THAT LINK. it only matters when the last link goes from player->DAC.
and this is to be tempered by the quality of the DAC. early DACs didn't extract clocking info (timing) from the signal as well. pro audio uses a separate clock line from data line (smarter that way). consumer i/o does not, it has to extract clock from the data stream itself.
any modern DAC should not have jitter problems due to minor diffs in cable quality. I know a lot of people who swore that ATT glass fiber was AUDIBLY better than cheap toslink plastic fiber. bollocks, is all I can say, to that one.
--
"It is now safe to switch off your computer."
one thing to watch out for, in spdif output cards, is that MANY internally resample ALL data at 48k. this will alter the bitstream of a true 44.1 file if you try to diff it of what you see on the wire vs what is on disk.
sound blasters and their ilk are famous for this.
the envy24 chip is known to be bit-accurate. what you send is what you get. m-audio has these cards.
another good 'musician quality' (bit accurate) card is one that uses the 8738 chip. its cheap and very common.
I think it was M$ (I may be wrong) who first defined the internal audio architecture to be 48k sample rate. not sure if this was to foil those who cared about bit-accurate 44.1 content. it seems suspicious to me. ie, "lets not let consumers get direct bit-for-bit access to 44.1 streams. let them get digital, but a RESAMPLED digital, so our copyright folks 'feel' better". I may be totally off, here, though.
at any rate, assume your cheapie card WILL be a 48k style card. unless you know for sure its bit-accurate.
one place to check is an old time vendor of digital audio and taping supplies: http://www.core-sound.com/
they have 'pda audio' stuff that is supposed to be bit-accurate.
--
"It is now safe to switch off your computer."
I'd pick up a Benchmark DAC-1 instead. The output is much tighter than the MiniDAC from Apoggee. That is unless you are running with a Big Ben, but even then, the clocking on the DAC-1 is SUPER tight.
Tibbon
tibbon.com