MP3Car.com

MP3Car.com (http://www.mp3car.com/vbulletin/)
-   The FAQ Emporium (http://www.mp3car.com/vbulletin/faq-emporium/)
-   -   FAQ: What is Bit-Perfect? (http://www.mp3car.com/vbulletin/faq-emporium/88852-faq-what-bit-perfect.html)

RedGTiVR6 10-25-2006 09:36 AM

FAQ: What is Bit-Perfect?
 
Bit-perfect: This is how the audio stream will come from your PC. If you are running bit-perfect, you will have a more true reproduction from the media that you are playing. If you are looking for the best possible audio from your system, you will want to know about bit-perfect.

By bypassing the Windows KMixer and running either ASIO or Kernel Streaming, you are ensuring that you are hearing the music as it was encoded on the CD.

The downside to this? If there are errors on the CD, you will hear them as there is not any correction being made to overcome the error.

In essence, by runinng bit-perfect, you are ensuring that there is no difference in information between the CD that is being read and what makes its way out of the digital output of your sound card.

The quality of a sound card can have an effect on the quality of the output, even with bit perfect playback enabled. The timing and/or jitter can vary between sound cards, usually with the lower end sound cards having a higher likely hood of jitter.

KMixer
KMixer:The KMixer is a part of Windows that enables your computer to take multiple audio sources and play them back at the same time and at the same bit rate. The KMixer is also how Windows handles your volume control. Regular CD audio is 44.1 kHz. Many times, due to poorly written drivers, sound cards that will interact with the KMixer wil cause this 44.1kHz data to be resampled to 48kHz. Obviously this will result in an undesireable result when trying to achieve the upmost in sound quality. The mixing algorithm as implemented by Microsoft has been shown in many cases to only have a signal to noise ratio of about 92dB. CDs have a signal to noise ratio of about 96dB (technically 97.5dB). The KMixer effectively reduces the data from 16bit to 14 bit.

To bypass the Windows KMixer you either need to use ASIO or Kernel Streaming.

ASIO
ASIO:ASIO is a professional audio standard that provides for a low-latency audio stream from the computer. ASIO bypasses the KMixer entirely. ASIO is used by the recording industry as a standard. For more information on ASIO, please see here MP3Car.com Thread


Kernel Streaming

Kernel Streaming:Kernel Streaming is just about the same thing as ASIO. It is Microsofts answer for being able to play audio files in a bit perfect format on a Windows machine. Kernel Streaming make efficient real-time streaming of audio possible. However, Kernel Streaming is not an industry standard. ASIO will have many more supported plugins avaliable for various media players. Kernel Streaming requires less CPU time than the regular 'wave out' method.

What you need to achieve Bit-Perfect

RedGTiVR6 10-25-2006 09:36 AM

Software

Media Players That Support Kernel Streaming

Foobar2000
Foobar2000 supports kernel streaming natively. To activate it do the following:
Foobar 2000 -> Preferences -> Ouput -> change Output Method to Kernel Streaming.
Then you will need to change the sound device to the sound card you are using.
If you are experiencing audio dropouts, you may want to change the buffer length. The default is 2048ms.
WinAmp
WinAmp will support kernel streaming with the addition of a kernel streaming plug-in.
Kernel Streaming Plug-ins for WinAmp
  • WinAmp 2: You can find a Kernel Streaming plug in for WinAmp 2 available here from Steve Monks - http://www.stevemonks.com/ksplugin/
    For some discussion or possibly for some support on this plug-in, check this thread - Hydrogen Audio Forum
  • WinAmp: For a Kernel Streaming plug in for WinAmp, as well as FLAC and VolumeLogic - Torrent File
    A note about this plug-in for WinAmp: Sometimes the play list will not advance automatically when a song finishes. You will have to manually press Next or select another song. This can be resolved by combining the Kernel Streaming plug-in with the VolumeLogic plug-in also included in this torrent. In Winamp’s output plug-in list, double click on VolumeLogic (setting it as the output plug-in for Winamp to use) and a window will pop up asking you to select the out put plug-in. Select Kernel Streaming from here. This will fix the play list advance issue so everything works. When you double click a song, however, rarely, it will not start. Just press pause twice and it will start like normal.
Media Players That Support ASIO

J. River Media Center
J. River Media Center Media Center natively supports ASIO.
Tools -> Options -> Playback -> change Output Mode to ASIO
Then you will need to change the sound device to the sound card you are using. Or, if you are using a ASIO -> KS wrapper, choose it.
If you are experiencing audio dropouts, you may want to change the buffer length.
Foobar2000
Foobar2000 does not support ASIO natively.
Foobar2000 ASIO Plug-ins
These plug-ins can be found here: http://otachan.com (For a translated version of the page, see here:Translated Page)
Foobar2000
WinAmp
Winamp does not support ASIO natively.
WinAmp ASIO Plug-ins
These plug-ins can be found here: http://otachan.com (For a translated version of the page, see here:Translated Page)
WinAmp 5
Options -> Preferences -> Output -> change the output plug-in to the ASIO Output Plug-in -> Configure
Then you will need to change the sound device to the sound card you are using. Or, if you are using a ASIO -> KS wrapper, choose it.
Thread Priority - for audio only, Time Critical should be fine.
If you are experiencing audio dropouts, you may want to change the buffer length.
Turn resampling off, if it is on, you will no longer be playing bit-perfect.

RedGTiVR6 10-25-2006 09:37 AM

Using an ASIO Wrapper
Since many sound cards do not support ASIO natively, you will need to use an ASIO wrapper. There are a few options for this:
These directions were provided by darklordjames for ASIO4All:

Upon installing ASIO4ALL, you will get a control panel for it on your desktop. Open that up and set it up as follows. The buffers I have described here are huge, but it is better to have large buffers when trying to get it to work, and then work the buffers down once you know things are functional.
  • Audio Device = Your Sound Card
  • Sample Rate = (greyed out)
  • Buffer Size = 2048
  • KS Buffers = 4
  • Always resample @ 44.1khz = off
  • Disable input = on
  • Force 16 bit samples = off
  • Direct DMA Buffer I/O = off
Now, go grab Winamp and the ASIO plugin and set up the plugin as described below. Try playing an MP3/CD Audio track and see if you have success. It works? Good! The battle is half won! If you are using SPDIF in your setup, and have a reciever that does DTS decoding, then you need to do a 44.1 khz DTS test. If the DTS test passes as well, then you are one step closer. Do one last test with a DVD or Divx with an AC3 track and see if that still works. If it does, then you are good to go. Welcome to the bit perfect world! At this point you should fiddle with the buffers in the ASIO control panel and Winamp to see how low you can get them without noise/dropouts. Of course you can also use other ASIO-enabled programs as well now, but I will leave the details of that up to you. You know the concept of getting this to work, that was my aim.

But let's say you weren't lucky, and things aren't working. Or AC3 output is now dead. Uh-oh. First, double-check your settings. The ASIO4ALL Control Panel is dynamic, and as such it can be used while Winamp is open and any changes you make will take place immediately. There is also one other thing that may need to be done. There is an exploit in the Envy24HT-S driver's Control Panel that you can take advantage of, but I believe this is only valid for SPDIF output. Go to the Digital Out tab and select PCM Only. Then select the 8 Channel output tab and go to Sample Rate & Immerzio 3D. Under Sample Rate Select uncheck Automatic, select 44.1khz, and re-check Automatic. Go back to the 2 Channel tab and go to Digital Out. Select AC3 or PCM Autoselect (48khz only). This should result in the Envy24HT-S Control Panel essentially being tricked into letting AC3 or PCM at 44.1 and 48khz autoselect between eachother. I don't know why it doesn't just work like that in the first place, but, whatever.

Thanks to Signal and B3b0p for the above Control Panel trick!
Bit-Perfect Audio Codecs
  • ACL880
  • ACL882
The AC97 codec is NOT capable of bit perfect playback.

Rules of Thumb for Bit-Perfect
  • When Bit Accurate mode is applied to the playback, adjusting the volume control or applying EAX effects will not have any effect on digital output signals.
  • Once Bit Accurate playback starts, the digital output sampling rate is automatically set to the current playback's sampling rate regardless of the current digital output sampling rate.
  • Bit-perfect can only truly be tested using the tos-link out of either your sound card or a compatible audio codec for onboard sound for some motherboards and a DTS-decoder.
  • Any software DSP or sound processing will cause the benefits of bit perfect to become null.
  • Play with the buffering options. The buffer settings will vary depending on your system. Lower buffers are better, obviously as you will have a lower latency, however, if they are too low you will run into issues with audio drop-out with a system that is under a heavy load.
  • Once Bit Accurate playback starts, the digital output sampling rate is automatically set to the current playback's sampling rate regardless of the current digital output sampling rate.
  • Bit Accurate mode is only applicable to .WAV files with the following specifications:
    • Stereo Format
    • PCM audio data
    • 16-bits and above (maximum 32-bits with 24-bits resolution)
    • 44.1, 48, or 96 kHz

Testing Bit-Perfect

If you have successfully achieved bit-perfect playback, you should be able to play a DTS file off of a CD (16-bit, 44.1kHz). If you only get static from trying to play the file, then you know that you haven’t achieved bit-perfect playback.

Bit-Perfect CD Players

This is from the Alcohol Software web site. Those listed under the 120% column are considered to be bit-perfect capable CD players.

RedGTiVR6 10-25-2006 09:37 AM

Resources

schreibers 10-29-2006 04:00 PM

A virtual feast of information! Thanks Jan!

Jahntassa 10-30-2006 12:07 PM

This is gonna be put in the FAQ forum, right?

RedGTiVR6 10-30-2006 12:20 PM

It's actually already written into a wiki that will be going up on this site in the future.

I will move it to the FAQ in a few days once I'm sure everything is 100% accurate. :D

durwood 11-01-2006 12:58 PM

Good info...finally decided to comment after soaking in the details.

For those running creative labs sound cards:

The sound card processes at 48Khz and never at 44.1Khz:

I would ask what is better but instead which is prefered?

Bit Perfect vs. software resampling 44.1<->48kHz

Both can use ASIO, but from what I understand you can't have both bit perfect and resampling.

Here's is some good reading about resampling comparisons on the new x-fi cards.

http://www.digit-life.com/articles2/...tive-x-fi.html

RedGTiVR6 11-02-2006 09:12 AM

I'm not 100% on which is the preferred method, but I would imagine bit-perfect.

Not having anything touch the audio signal means nothing is likely to fudge it up. It's a good question though and worth looking into!

durwood 11-02-2006 10:39 AM

I guess it depends on if you want the soundcard to do any processing at all.

You are correct that anything done to change/alter the original signal is destructive...but the creative cards as well as many others seem to sample to 48 or even 96kHz to do processing on the signal unless you use one of the cards you have listed or a pro sound solution.

I was playing with the ASIO and the KX project last night and I am left with one question...

If you fix the sample rate to 44.1kHz, is that only on the digital/spdif output or does that work for the analog too? I was listening to Sheffield Drive through a pair of decent headphones and I wasn't sure if it was doing anything that I could notice. I read and read and read but none of the programs specify. Any idea?

netchris 01-15-2007 12:59 AM

Quote:

Originally Posted by RedGTiVR6 (Post 950655)

Foobar2000
Foobar2000 does not support ASIO natively.
Foobar2000 ASIO Plug-ins
These plug-ins can be found here: http://otachan.com (For a translated version of the page, see here:Translated Page)
Foobar2000

Maybe I'm missing something here, but...
Quote:

Originally Posted by otachan.com
Plug in for foobar2000
foo_ddecontrol.dll Ver. 0.41.1 DDE short story Rawlplug in (2006/9/1)
foo_playlistclear.dll Ver. 0.08 Play list deletion plug in (2006/8/5)
foo_dsp_ssrc.dll Ver. 0.57 SSRC plug in (2006/8/16)

None of the files under the "foobar2000" heading on that site are labeled asio :confused:

RedGTiVR6 01-15-2007 10:03 AM

dono - it's possible that the page has changed. However, if you click on the links I provided for each download...you will get the ASIO downloads for Foobar.

JasonWW 02-18-2007 08:42 PM

I just wanted to point out some new info.
The new Vista operating system has done away with the Kmixer and has a new core program called Audiostack. Vista was designed for high end audio in mind and it may make bit perfect obsolete.

SKiTLz 02-19-2007 11:14 PM

Can you run Bit Perfect with a USB DAC? Specifically the Silverstone EB-02

Brycestro 02-20-2007 01:50 AM

Quote:

Originally Posted by JasonWW (Post 1016968)
I just wanted to point out some new info.
The new Vista operating system has done away with the Kmixer and has a new core program called Audiostack. Vista was designed for high end audio in mind and it may make bit perfect obsolete.

Ok, i've just asked a question in another thread regarding sound quality and as a result was told to do a search on Bit-Perfect here... if Vista truely does have a more advanced way of dealing with high end audio then it could influence what operating system goes on my carpc and pretty much all the components that will go into the PC, can anybody provide some more information on Vista's new technologies/how they compare to the bit perfect option?

RedGTiVR6 02-20-2007 08:16 AM

Quote:

Originally Posted by SKiTLz (Post 1017594)
Can you run Bit Perfect with a USB DAC? Specifically the Silverstone EB-02

You would have to check with the drivers and the software interface on that DAC.

JasonWW 02-20-2007 08:44 AM

Quote:

Originally Posted by Brycestro (Post 1017667)
Ok, i've just asked a question in another thread regarding sound quality and as a result was told to do a search on Bit-Perfect here... if Vista truely does have a more advanced way of dealing with high end audio then it could influence what operating system goes on my carpc and pretty much all the components that will go into the PC, can anybody provide some more information on Vista's new technologies/how they compare to the bit perfect option?

I have a link to a thread called "Audio Processing in Vista Explained".
It's long and I haven't finished reading it all yet, but it looks very encouraging. I'll probably buy a copy of Vista to use just on my carpc. Aside from not having to use bit perfect it should also make your MP3's and other audio sound cleaner and better as well. I'm not sure if they mention bit perfect, but they might have and I may not have gotten that far yet.
http://www.avsforum.com/avs-vb/showt...3&page=1&pp=30

Brycestro 02-21-2007 03:14 AM

excellent, reading through the article now.

Ruffy 02-21-2007 08:12 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1017742)
You would have to check with the drivers and the software interface on that DAC.

since there hasent been a proper answer to this im reasking it.

The silverstone dac uses no official driver. it shows up in windows as a external usb speaker.


All times are GMT -5. The time now is 08:26 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger