Sound system developement question
stuartb at 4gh.net
Sun Sep 16 16:01:17 UTC 2012
On Sat, 15 Sep 2012 at 09:03 -0000, Roberth Sjonøy wrote:
> Bitperfect function does that and much more, just what I want but
> bitperfect is one thing bits are perfect even if there is a lot of
Do you think you are hearing a problem? Is your D/A indicating
problems with jitter?
Your initial question is good. It would be a good regression test to
send data between two systems via a digital audio connection and
ensure that the transfer is bit-perfect. This would prove that the
system can operate without bit loss. However, this does not address
hardware quality issues in other systems.
I think you are either over thinking things or have been reading some
pretty old information. Jitter should not be a problem for most
modern digital audio connections.
This is more information to not take religiously. The details can be
complex and some is speculation on my part.
Older systems (> 10-15 years) could have problems and occasional
buffer underruns where more common (careful system tuning could
address most issues). On a properly functioning modern system FreeBSD
will keep the byte stream full to the audio chip. Buffer underruns
might still occur with modern systems with incorrect tuning but should
not happen with default system parameters.
Once at the audio chip, FreeBSD has little control over things and you
are at the mercy of your specific hardware.
The jitter is in the analog wave form of the digital signal. You can
be subject to jitter on the clocking source (quality of sound 'card'),
jitter on the transmission cable (quality of cable and connectors),
jitter in the D/A (quality of hardware), etc.
It sounds like you have an older D/A converter (not an oversampling
converter) where jitter on the S/PDIF cable matters. Be sure to use
quality cables with solid connectors. If you are very concerned about
this, buy "monster" brand cables. Consider replacing the D/A if
jitter is still causing you problems.
You only talked about jitter. If you are also seeking low latency
(delay between analog in to analog out), that is a different story and
can still cause issues as you reduce the audio buffering throughout
I've never been lost; I was once bewildered for three days, but never lost!
-- Daniel Boone
More information about the freebsd-multimedia