Skip to main content

Topic: bit perfect SPDIF recording... (Read 9068 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • psme
  • [*]
bit perfect SPDIF recording...

I know the topic has been asked before but I couldn't find a clear answer...

My setup:
PC A as spdif source, onboard spdif coaxial output, Win7 64bit, foobar2000 with wasapi plugin, 44.1khz 16bit wav dts file downloaded from output to a Pioneer receiver, receiver correctly see the spdif as DTS

PC B as spdif recorder, sound card is M-Audio Audiophile 192, Win7 32bit, sound card driver downloaded from m-audio website, in the driver panel, it sees the external spdif source correctly in 44.1khz, external spdif clock is selected and locked

I tried a few audio recording softwares, such as REAPER, wavosaur, Cool Edit pro etc, the resulting recorded wav file when playback on the PC A, the Pioneer receiver does NOT go to DTS and only output white noise.

According to the post in this thread, a user tested M-Audio Audiophile 192 works in bit perfect SPDIF recording, but detail system and software is not mentioned...

Please give me some hint! Thanks in advance.

  • probedb
  • [*][*][*][*][*]
bit perfect SPDIF recording...
Reply #1
Do you need to put a specific WAV header in for DTS audio? I'm guessing the software you mentioned understands the input but is putting a 16-bit 44.1Khz stereo header? I could be talking rubbish of course

  • AndyH-ha
  • [*][*][*][*][*]
bit perfect SPDIF recording...
Reply #2
S/PDIF is simply a way to transfer digital data from one place to another. The receiving end must understand what the data is and process it accordingly. As example, take a simple single channel 44.1kHz sample rate audio file transferred over S/PDIF. If you set up the receiving program to believe the data is at a higher or lower sample rate, that is what it will write. The resulting playback with be too fast or too slow, even though the data is exactly the same.

I don't know about the capabilities of the programs you used at the receiving end but some may not be capable of creating a DST format file. Any that are would need to be told specifically what the input is and what they are to do with it. You can't simply say it is a 44.1kHz stereo file and then expect a DTS decoder to understand the finished product.

Also, unless you have no other way of communicating between the two computers, S/PDIF would not be the means of choice. Copying the file onto a flash drive or USB hard drive, or sending it over ethernet, is easier, faster, and more reasonable.

  • Juha
  • [*][*][*][*][*]
bit perfect SPDIF recording...
Reply #3
AndyH-ha is correct when saying recording software you already mentioned isn't capable for DTS recording.
Because of those all records mono/stereo wav files --> to get DTS stream recorded you need to extract each DTS channel to separate audio tracks.

I suppose there's software for "recording" (copying) from DTS sources through digital path but, I don't know one for sure (there's software from Hermann Seib called VSTHost which allows to set #channels to be recorded but, as  I have never tried if it works with multichannel input streams through S/PDIF ...).

(Creative has some audio interfaces where you can set the recording through S/PDIF to be bit-matched. Maybe they have software included for to capture the data as well.)

As suggested, copying is the easy way to go.

  • Last Edit: 05 November, 2011, 01:45:41 AM by Juha

  • Alex B
  • [*][*][*][*][*]
bit perfect SPDIF recording...
Reply #4
Actually, the data stream in a DTS wave file is stored exactly like a standard 2 channel PCM audio stream. It is quite possible to verify the recording system's bit-perfectness by recording a DTS wave file that is played as a stereo wave file (i.e. without running it through a DTS decoder) and transmitted through S/PDIF. If the bits do not change, the recording can be saved to a new 2 ch wave file that performs exactly like the source DTS wave file.

I have tested a setup that can record through S/PDIF without changing the content anyhow. I have explained it here:

I am guessing that the OP didn't use the M-Audio ASIO driver (to bypass the Window mixer) and/or a recording program & settings that do not dither or otherwise alter the content.

For some uses, like transferring the contents of digital audio tapes to a hard drive, bit perfect S/PDIF recording might actually be useful. As said, for copying DTS files there are easier and faster methods.
  • Last Edit: 05 November, 2011, 12:35:05 PM by Alex B

  • psme
  • [*]
bit perfect SPDIF recording...
Reply #5
Thanks for the feedback. I got it working!

1st setup:
- source: PCa onboard spdif output, win7 64bit, foobar2000 wasapi
- recorder: PCb M-Audio 192 spdif input, win7 32bit

2rd setup:
- source: PCb onboard spdif output, win7 32bit, foobar2000 wasapi
- recorder: PCb M-Audio 192 spdif input, win7 32bit (well, they are the same PC!)

tested audio recording software:
- wavosaur, does NOT work, recorded wav has random bit flip
- audacity, does NOT work, recorded wav has random bit flip
- cool edit pro, does NOT work, recorded wav has random bit flip
- REAPER, WORKS in ASIO or wasapi mode, recorded wav is bit perfect compared to the original file

For some reason, with the 1st setup using 2 PC, only 16bit output/recording gave bit perfect result using REAPER. That took me a while to sort out. Since 24bit output/recording works fine in the 2rd setup, I guess the onboard spdif on the PCa simply does not support 24bit output...

Also, using the current M-Audio website win7 sp1 32bit driver, the driver control panel can not detect any spdif input signal at >96khz using external clock. When the spdif input source is >96khz using external clock, the driver panel always shows 96khz. I need to select internal clock and manually select the correct sampling rate in the driver panel. And the recorded wav up to 192khz 24bit is perfect using REAPER. So I guess it's all good.

Test files used are CD DTS from and Weiss bit transparency check wav file at

  • sebus
  • [*]
bit perfect SPDIF recording...
Reply #6
Anybody knows of external USB sound device that will allow capture?
So far my attempt with Phonic Digitrack & Reaper produces PCM wav that is playable back via Amp, but can not be processed in software (by any software)

I wonder if the capture process was not correct or the device is wrong or some other setings need to be different


  • sebus
  • [*]
bit perfect SPDIF recording...
Reply #7
Eventually after lots of reading ALL around about it I got a hit.

The person that noticed the "obvious" was Jerome Martinez - MediaInfo author!

The channels were reversed (Left and Right channels inverted). No idea what caused it (hardware - LD, digital out mod to the LD years ago, hardware - Digitrack, software - drivers, software - Reaper).

But once the channels order was reversed in Audacity (easiest) then it becomes proper dtswav

And besplit works perfectly with it producing DTSDigitalSound-16bit-reversed_channels_besweet_WORKING.dts

And also Hypercube's wav2dts makes a MESS out of it!

So all in all Phonic Digitrack for £23 on ebay is not bad sound device

  • Last Edit: 24 February, 2014, 03:08:59 AM by sebus

  • 2Bdecided
  • [*][*][*][*][*]
  • Developer
bit perfect SPDIF recording...
Reply #8
I know this is an old thread, but two things...

1. A good way to check bit exactness (only at CD rates) is to play a CD into the digital input and record it, and also rip it. Compare the two results.
2. AC-3 isn't always decoded even when bit perfect; many external decoders require the "non-audio" sub-channel bit to be set. This is possible via the M-audio card's control panel. I think DTS decoders are generally more forgiving.


  • Porcus
  • [*][*][*][*][*]
bit perfect SPDIF recording...
Reply #9
I think DTS decoders are generally more forgiving.

Those DTS-on-redbook CDs do never set any subcode flag that distinguishes them, I suppose?

  • phofman
  • [*][*][*][*]
bit perfect SPDIF recording...
Reply #10
DTS detection (identification sequence) is more robust (longer) than that of DD (AC3). I have never seen my AVR requiring the non-audio flag for DTS, while it is almost always needed for DD.

BTW there is a nice little tool in linux - iecset . It just manipulates standardized SPDIF-related controls provided by alsa drivers.

  • sebus
  • [*]
bit perfect SPDIF recording...
Reply #11
An absolutely perfect USB hardware for LD DTS/AC3 capture is Esi Audio U24 XL.

Captures to perfect wav (DTS or AC3) which can be processed with no issue with besplit

But capture works only with Windows default drivers & asio4all

Captured wav plays back to AVR (Denon) with no issue at all

  • Last Edit: 28 February, 2014, 04:20:35 PM by sebus