کامپیوتر Computer Audio

Asynchronous USB DAC Bit-Perfect NOS Tube Non-Oversampling No Filter

جمعه 15 جولای 2016
/ / /

نتایج ما از یک سورس دیجیتال خوب تو میکرو :

  1. در صورت استفاده از کامپیوتر ورودی یو اس بی USB (نسخه های 2 و بالاتر) بهتر از SPDIF و بقیه ورودی ها هست اگر USB خوب پیاده سازی بشه بصورت آسینکرون Asynchronous USB و حذف نویز کامپیوتر . اینو هم تورستن میگه هم گوردون طراح Wavelength
  2. بیت پرفکت بودن یعنی آپ سمپل نشدن NOS (Non-Oversampling) و عدم استفاده از فیلتر دیجیتال و بطور خلاصه هیچ تغییری روی دیتای دیجیتال ندادن. این موضوع رو هم Peter Qvortrup طراح Audio Note و 47Lab میگه و هم رومی و تورستن (طراح AMR) و طراح Lampizator (آقای Lukasz Fikus ) خیلی روش تاکید دارند و طراح Wavelength (آقای Gordon Rankin) هم همین اعتقاد رو داره. همه اینها با دستکاری دیتای دیجیتال و هر نوع پردازش حتی ساده مخالفند. تمام DSP ها کارشون دستکاری دیتای دیجیتال هست.
  3. عدم استفاده از op-Amp و فیلتر خروجی و در مقابل استفاده از خروجی لامپ و ترانس که Tim طراح EAR و طراح Audio Note و طراح Lampizator بهش اعتقاد دارند.
  4. برق Power Supply خوب
  5. حذف کامل جیتر Jitter

در مورد این DAC USB شرکت Wavelength Audio بیشتر بخونیم :

Cosecant USB DAC by Gordon Rankin

http://www.6moons.com/audioreviews/wavelength3/cosecant.html

  – The Cosecant v3 connects the USB controller to a DAC module. The USB firmware to run that DAC module resides there so each module has its own developed code. The output of the module connector is sent directly to the 6GM8/ECC86 dual triode output tube, which drives the transformer-coupled output.
– The Cosecant has an external power supply with IEC connector to isolate the power from the DAC and its audio transformers.
– This is my own design and I wrote the software (1,800 lines of code for the USB controller to do what it does) like no one else does on the planet.
– The DAC featured in this review uses Asynchronous USB mode as do the Crimson. The USB interface is bidirectional, and has built-in error correction and buffering at both ends; it is an asynchronous interface. Clocking synch problems associated with SPDIF are not present with USB. The result is that the data on the disk is identical to what is leaving the DAC all the time. At start-up, the DAC tells the computer it can handle 16 bit audio at 32K, 44.1K and 48K. Since the USB receiver only has to handle these 3 frequencies, the clocking to the DAC has almost no jitter. SPDIF actually has to be synched to the exact frequency of the transport (i.e. if the transport is working at say 44.0896K instead of 44.1K the DAC has to sync to that frequency). Therefore the jitter problems of SPDIF are all but eliminated. The result is a zero error protocol to link between computer and DAC, with ultra low jitter.
– None of these DACs use any type of operational amplifiers (opamps) in their design. The DAC module is the only solid-state portion of the overall DAC.
– The output stage of each of these products is the key design element which is responsible for their overall sound.
– These DACs incorporate the TDA1543N2 (select top 5%) DAC chips with passive I/V using Shinko Tantulum resistors in a configuration that does not use analog or digital filters. Some people call these NOS DACs or what I call zero DACs. The data input is the data output without any up/oversampling or other manipulation, which seems to make for a very analog presentation.

http://www.goodsoundclub.com/Forums/ShowPost.aspx?PageIndex=1&postID=8265#8265

Well, I admit that I was clueless on the subject but I was intrigued and I consulted my engineering recourses.  It turned out that what I proposed above was not exactly accurate: for instance regular computers do not use I2S bas interface…

To make the long story short: For a computer the USB port is a devise of the same hierarchy as sound card and there is not different for a computer to where output stream: to a driver on the sound card or to the driver the sit behind the USP port designation. With identical drivers used the ASE/EDU interface has fundamentally lower jitter interface, where the min jitter for USB is not even included in the USB standard. So, with identical design (more of the time used) the USB has no chance to be superior.

There is a catch however. With proper design, when USB is made not for utilitarian purposes but for high quality transfer, the USB has internal chance to be way more advanced. The ASE/EDU is forward-only interface where stream flows only in one direction with data mixed with clock marks. The USB is full duplex or bi-directional interface where stream flows in both ends. This enables designers to put a clock that might everything on the receiver side (DAC) and let this clock to manage the USB’s and even reader timing. USB sends data in burps by requests of by scheduled timing, this marks all might be managed by receiver side clock. In ASE/EDU the receiver shell recognize the timing marks and PLL or re-clock data. In USB there are no needs for PLL or re-clocking as the data arrives at the marks of the original clock. The USB in this case acts like an elephant that sticks a long trunk to another devise and sucks juice… according to my consultants this USB implementation is the most proper way to do the things. Or course no one knows HOW the USB is managed even if a DAC has USB port…

The Cat

Read More

Bit Perfect Digital Audio

چهار شنبه 27 آوریل 2016
/ / /

خب من رفتم تو ebay که Apple MAC mini 2011 MC816LL/A بخرم چون شنیدن از مک بوک بهتره اما دیدم نو نداره و دست دوم هم بدلم نمیشینه. دلیل mac mini 2011 این بود که usb 2.0 خروجی میده و DAC 4 EAR هم ورودی usb 3.0 نداره. بعدش فهمیدم USB 2.0 با USB 3.0 فرقی نداره و دیدم بهترین کار اینه همون mac mini 2014 رو اکبند بگیرم که usb 3.0 داره.

زنگ زدم مجتمع پاینخت که مک مینی بگیرم اما فروشنده گفت فردا بهم خبر دقیق قیمت 3 مدلش رو میده و 3 روز دیگه دستم میرسه.

شب که اومدم خونه یهو یادم افتاد خواهرم یه  Macbook pro 2014 داره که استفاده ای هم ازش نمیکنه و تقریبا تازه هم خریده بود ، رفتم اوردمش خونه دیدم به به هم رتینا هم mac os x 10.9 هم هارد ssd و usb 3.0 که گفتم همین عالیه. قسمت چیز خوبیه بخدا …

http://www.bhphotovideo.com/images/images2500x2500/apple_mf840ll_a_13_3_macbook_pro_notebook_1128848.jpg

خلاصه سرتون رو درد اوردم قسمت شد همین مک بوک پرو رو برای سورس دیجیتال استفاده کنیم. من به پیشنهاد تورستن طراح AMR میام از نرم افزار Audirvana Plus 2 برای پخش روی مک استفاده میکنم و تنظیمات لازم برای بیت پرفکت بودن شامل استفاده از مد Integer در mac os x 10.9 هست.

عبارت Bit Perfect یعنی هیچ بلایی سر سیگنال تو دیجیتال دامین نمیاد و همون جور که رومی دوست داره سیگنال منتقل میشه. برای تنظیمات PDF زیر رو دانلود کنید:

http://www.hifi.ir/wp-content/uploads/2016/07/MAC-OSX-audio-players-Integer-Mode.pdf

دیگه فقط اوردن کابل ها می ماند از برند Purist Audio که اونم آرمن از مونیخ انشاالله برام میاره. سیستم آماده میشه برای شنیدن موسیقی. یه Power 3000 purePower هم انشاالله تا قبل مردادماه برسه همه چی عالی میشه.

Read More

iFi Audio AMR Audio by thorsten loesch

دوشنبه 25 آوریل 2016
/ / /
Retro-Stereo50-01

 

LS35_Main

این آقای thorsten loesch یه طراح باهوش حساب میشه تو این های اند و تو سایت رومی هم ای دی داره و بحث میکنه.

این آدم تو حوزه دیجیتال خیلی کار کرده و مقالاتی داره که خیلی ها از جمله طراح Lampizator هم اونارو خونده و از تجربیات تورستن استفاده کرده.

این طراح تو کلاس قیمتی پایین سیستم های زیر رو ارايه داده که من  iDSD و 3.0 iUSB رو خریدم. یه ست جالب خونگی هم داره که با بلندگوی BBC فروخته میشه. هر کدوم از این کامپوننت ها یه کاری انجام میده.

توضیحات بیشتر تو سایت http://ifi-audio.com/ هست. نماینده این برند هم آرمن هست 09121198262 . قیمت ها بین 300 تا 500 دلار هست.

 

http://ifi-audio.com/wp-content/uploads/2016/02/banner-iCAN-SE.jpg miCAN SE_EN_11 idac204 http://ifi-audio.com/wp-content/uploads/2015/07/miusb3.001.jpg iPhono2-1 Micro-iDSD-02 MicroiCANPic01 MicroiLinkPic03 MicroiTubePic01 Read More

ALAC, FLAC, AIFF , WAV Music Streaming by Bitperfect Network Media Player

جمعه 8 آوریل 2016
/ / /
https://gigaom.com/wp-content/uploads/sites/1/2010/06/mac-mini-06-2010.png http://static1.squarespace.com/static/53f2ba7ce4b0e9d91b048708/t/53f7b8d2e4b0e954f994ba60/1408743638527/alphausb.png?format=1000w

 

من باید دیتای دیجیتال فایل روی کامپیوتر رو به DAC 4 برسونم .

امروز کمی تحقیقات کردم و فعلا به این نتیجه رسیدم برای سیگنال خوب دیجیتال اگر بخوام سخت افزار بخرم باید بین 7000 تا 20000 دلار پول بدم که خیلی احمقانه است و تازه نمیدونم تو اون سخت افزار داره چه اتفاقی میفته.

ظاهرا بهترین گزینه مینی مک هست با Power Supply خطی افترمارکت و تنظیمات لازم برای Bitperfect . این Bitperfect یعنی هیچ تغییری روی فایل در حال پخش تو دیجیتال دامین ندهیم.
حالا اومدیم مینی مک رو تنطیم و با نرم افزار Audirvana موسیقی رو پخش کردیم میرسیم به ریکلاک و بافر Berekley Audio Alpha که این کارش حذف jitter سیگنال هست بدون دستکاری سیگنال دیجیتال. یه همچین چیزی باید توی خود DAC باشه (مثل AMR یا EMMlabs) اما من حدس میزنم DAC4 EAR خیلی روی این موضوع مانور نداده. البته حدس میزنم و فعلا این الفا رو درموردش تحقیق میکنم و قطعی نیست برام.

http://www.co-bw.com/Audio_OSX_Optimal_Audio.htm

http://yourfinalsystem.com/custom-modifications/yfs-music-servers

http://www.positive-feedback.com/Issue72/mojo_audio.htm

http://www.mojo-audio.com/mac-mini-upgrades/

http://www.coreaudiotechnology.com/products/music-servers/mac-mini-music-server/

http://www.positive-feedback.com/Issue54/mach2.htm

این تورستن که طراح AMR هست و کلی تو این حوزه دیجیتال سروصدا کرده مطالب جالبی نوشته در مورد اینکه چه نویز ها و مشکلاتی سر راه این انتقال سیگنال تا DAC هست.

من در مورد تورستن مفصل مینویسم و این آدم جزو طراح های خیلی باهوشه. آرمن این آدم رو کشف کرد و تو سایت رومی هم در مورد این آدم و کاراش زیاد صحبت شده و مهم اینکه قیمت های این AMR هم خیلی مناسبه.

http://www.psaudio.com/ps_how/how-to-build-a-music-server/

http://www.6moons.com/audioreviews/players/4.html

برگردیم به مطلب تورستن در مورد انتقال دیتا از فایل به DAC :

http://www.amr-audio.co.uk/html/dp777_tech-papers.html

http://www.amr-audio.co.uk/html/dp777_tech-papers_OSX-Integermode.html

Beyond bit-perfect: The importance of the Player Software And MAC OS X Playback Integer Mode

Damien PLISSON, Audirvana developer

Abstract

In computer audio, the player software replaces the CD drive as the transport feeding the DAC. Ensuring bit-perfect output of the original audio signal is only a pre-requisite, while minimizing jitter and RF interferences are still strongly needed.
This paper explains the main factors impacting sound quality on the computer side, and the means that have been implemented in Audirvana player and the AMR DP-777 DAC to boost the audio experience to the next level above the normal iTunes.
These main means are bit-perfect, sample rate switching, asynchronous transfer and Integer Mode.

Introduction: bit-perfect as the only goal or the myth of the flat-square world

In the world of digital audio, the caveats of the CD player are well known, namely the read errors and the jitter induced by its mechanical transport.
It is widely thought that computer sources are immune to these issues, given that they are faithful to the original signal, that is are bit-perfect.
But unfortunately the digital world inside a computer is not a flat-square world composed of perfectly timed zeros and ones. The audio signal chain goes through different elements whose each can alter the sound quality.
In this paper we’ll look in details at these, and see what a “source direct” solution can be to minimize the adverse effects, and achieve very high sound quality, better than nearly all the CD transports.

1. Sources of non-quality

Assuming the output is bit-perfect, the computer as a source creates two main sources on non-quality:

Software-induced jitter

Digital signal is in fact an analogue waveform composed of two states separated by a voltage threshold (1 if above, 0 if under).
As presented in [MeitnerGendron91], the receiver detects the value change the moment the analogue value crosses the threshold. In addition, the shift from one state to another is not instantaneous but more slope like.

So a slight change in the reference voltage of the source will lead to a slight temporal shift in the value change detection.

voltage-jitter
Figure 1: Reference voltage induced jitter

So fluctuations in the source reference voltage create jitter, as explained in details in [HawksfordDunn96]. This is the same on the receiver side with measurement threshold fluctuations from its power supply and/or ground instability. Moreover the computer can still cause this as the grounds are linked most of the time through the same signal cables.

Computer load means rapidly changing power demands from the CPU and its peripherals, with peak demands that are directly related to the software behaviour.

Radio-Frequency & other interferences

In addition, computation, disk access, … activities mean complex current waveforms are carried on electrical lines and thus generate electromagnetic interferences. Apple computers are now made of “unibody” aluminium cases that are good protectors from inside RF interferences. But this is not sufficient as the cables connected to the computer act as antennas. And these current waveforms are also going back through the computer PSU, polluting the mains power supply.

2. The hidden audio filters of OS X

As a modern operating system OS X needs to offer shared access to the devices including the audio output to all running applications. But this is done at the expense of pure sound quality:

Audio mixer

Fortunately when only one application is playing audio, it doesn’t affect the signal and thus is at least bit-perfect in this case.

Sample rate conversion

In this shared model the device sample rate is not switched to match the original signal’s, but it is this last one that is sample rate converted.
In addition a suboptimal algorithm is used to minimize the CPU load of this real-time operation.

Digital volume control

OS X offers through its mixer volume control (e.g. the one offered in iTunes). But as it operates on the digital signal, any volume value different from 100% means loss of bit-perfect and precision loss (e.g. a volume value of 25% means 2 bits precision loss).

3. The data transfer to the DAC

First way to connect to the DAC is to use the build-in TOSLINK output of the Mac. But this one should be dismissed for being too jittery for serious use.
Strong improvement comes by using “computer connection” to the DAC, being either USB or FireWire.
FireWire has long been the interface of choice for the pro-market as it is made by design to guarantee continuous streaming of AV data on large number of channels. Anyway its complexity of use (installation of driver required, hot plugging even strongly advised against by some manufacturers because of its potentially harmful issues, …) and its unclear future have made USB the widely used choice.
The first type of USB devices are called adaptive (or synchronous), meaning the DAC clock is slaved to the computer’s continuous stream of data.
More recent and advanced USB devices use asynchronous transfer mode where the DAC controls the flow of audio data, buffers it, and uses its own stable-low-jitter clock. Thus it is immune to short interruptions of USB stream (e.g. bus reset, other device burst transfer, …), and much less prone to computer jittery clock.

This combines the advantages of both worlds: ease of use of USB (no drivers), and stability of FireWire. This is a great step towards sound quality, but it is not decoupling completely the DAC from the computer, and the interferences, software-induced jitter still apply, starting by following the ground loops.

4. The player software impact

First of all the player should ensure bit-perfect reproduction of the signal by:

  • Adapting the DAC sample rate to each track native to avoid any unwanted sample rate conversion
  • Taking exclusive access (“hog mode”) of the device to prevent other opened applications from interfering

Furthermore, as we have seen in section 1, the computer load (and its variations) has an impact on sound quality. Minimizing such current demands and sources of interferences is key:

  • Loading tracks before playback (“memory play”) to reduce disk access and its audible, power and RFI impacts
  • Minimizing synchronous CPU load taken for the audio data streaming operations. In addition to reduce jitter, this also helps to reduce audible RF interferences patterns, especially in low frequencies

5. Further optimization at driver level: Integer Mode

Audio playback in OSX is usually performed through a high-level framework, the Audio Units processing graph [AppleCoreAudio]. The first optimization of an audiophile player is to bypass these overhead facilities and address directly the CoreAudio lowest layer: the Hardware Abstraction Layer. (See figure 2)

player-vs-audiophile
Figure 2: Usual OS X file player vs Audiophile concept

In normal mode, all data exchanges performed across the user/kernel boundary are in PCM 32-bit float format, easing the different audio streams mixing process and associated soft clipping. [AppleHAL_1]
Note that it is anyway still bit-perfect up to 24bit definitioniv.

Integer mode

Addressing directly the HAL [AppleHAL_2] gives the possibility to bypass the two main overhead processes of the above standard mode:

Field Programmable Gate Arrays

  • Mixing buffer
  • Float to DAC native format conversion

gate-array
Figure 3: Float vs Integer Mode

In Integer Mode (see figure 3) the player software supplies a stream already formatted in the native DAC format, thus optimizing synchronous CPU load at the driver level.
These operations performed inside the driver, in the kernel space, in real-time are on the critical path for sound quality as they are the most synchronous, happening at the very immediate moment of the data transfer to the DAC. So optimizing it is of great benefit, and this is only applicable to compatible DACs that offer this non-standard mode.

Conclusion

The computer is a great music server but also a source of jitter and other RF interferences that are detrimental the sound quality, even when bit-perfect reproduction is ensured.
The player software needs to optimize and streamline the audio path to minimize these adverse effects essentially linked to the processing load synchronous to the audio streaming. Achieving “source direct” in addition to “bit-perfect” is key.

This is what I’ve tried to get in the Audirvana player by streamlining to the maximum the real-time operations that are limited to simple data streaming in Integer Mode, while all the other processes (loading from disk, decoding, converting to DAC native format) are done

Float mode

offline in a preparation phase, before playback. This is called full memory play. Best results are achieved when feeding an Integer Mode, asynchronous USB DAC like the AMR DP-777 that can take advantage of all these optimization features.

References

[HawksfordDunn96] Bits is Bits ? in Stereophile 03/1996
[MeitnerGendron91] Time Distortions Within Digital Audio Equipment Due to Integrated Circuit Logic Induced Modulation Products, Ed Meitner and Robert Gendron, presented at the 91st AES Convention, New York, October 1991, Preprint 3105
[AppleCoreAudio] CoreAudio Overview: What is CoreAudio ? in Mac OS X Developer Library
[AppleHAL_1] Audio Device Driver Programming Guide: A Walk Through the I/O Model in Mac OS X Developer Library
[AppleHAL_2] AudioHardware.h documentation in Mac OS X Developer Library

Replacing the HDD by a SSD removes the directly audible mechanical noise but not the other issues as it still requests important current waveforms to transit on lengthy wires. And the OS overhead is still present.
OSX Audio low level subsystem typically requests data in 512 frames chunks, that is at a frequency of ~86Hz for a 44.1kHz sample rate.
Note that bit-perfect playback can still happen if all effect filters (including software volume control) are deactivated. Thus stock iTunes can be bit-perfect.
32bit float is composed of 1 sign bit, 8 exponent bits and 23 bits for the mantissa. Thus giving 24 bits of significant precision.

Read More