Into the digital stream: MOCK + fiber network build

having spent the last 6 months researching, designing, building and implementing the upstream portion of my digital source [that is, everything in the digital signal path upstream from the DAC], i thought a recount of the experience might be useful to others here as they go about designing / tweaking their own systems. what follows is the topology i eventually implemented and the rational behind some of the choices.

first off is to list the overall goal of the project and the principles (read: assumptions) used to guide the design and implementation:

goal: to deliver the DAC a perfect digital stream ā€” i.e. nothing but the intended digital signal contained in the audio file. if able to accomplish this goal, then the sound coming from the speakers will then only depend upon the DAC and the downstream analog system. in other words, the goal is to ensure the upstream digital infrastructure adds or subtracts nothing from the intended digital signal entering the DAC, thereby, making it perfectly transparent.

principle #1: electrical noise is a source of digital signal degradation and there are two types of electrical noise. type 1 noise is the extraneous but detrimental electrical ā€œinformationā€ carried alongside the intended digital signal which modulates digital to analog conversion. type 2 noise is identical to type 1 noise except that it is of a magnitude sufficient to also alter the digital signal ā€” that is, to actually add or remove 0s and 1s. [for an electrical implementation, the digital signal is carried by a waveform that switches where voltages above a threshold level are interpreted and 1s and voltages below another threshold level are interpreted as 0s. voltages between these two levels are invalid and only occur in a fault condition, i.e. when extraneous electrical noise is introduced ā€” wikipedia].

principle #2: optical isolation is an effective method of removing type 1 noise. here, the electrical digital signal is converted to an optical (light) signal representing only the 0s and 1s. as no electrical current is passed from the light source to the light detector, only the desired lightwaves/photons representing the data are carried forward. obviously, this does not remove or correct type 2 noise where the digital signal has been altered.

principle #3: data transmitted over ethernet is effectively immune from type 2 noise. the ethernet standard contains protocols for error detection and correction. consequently, the end result of ethernet data transmission is that the receiving device knows the exact same digital information as the sending device.

principle #4: minimalism and simplicity wins. each box, cable, connection, power supply, dongle, etc. is a vector for the introduction of extraneous electrical noise into the digital signal. therefore, constraining the infrastructure to only the absolute minimum number of pieces is beneficial to digital signal quality. this is particularly relevant for in-device data handling.

principle #5: the only clock that matters is the one on my DAC. using its own internal clock, it is capable of operating without reference to or use of the timing information from the source clock: asynchronously in the case of USB connection and re-clocking in the case of s/pdif connection. this precludes any jitter from upstream clocks. [note: this assumption is DAC specific and will depend upon specifications]

next, i found it useful / essential to distinguish audio files stored locally (i.e. stored on the device) from those stored remotely (e.g. streamed over the internet or stored on a NAS). using a divide and conquer strategy, i then chose to first design the infrastructure for locally stored files. subsequently, the networking to access remotely stored streamed files was designed and implemented. in doing so, the overall project was effectively divided into two separate and distinct projects: an audio transport project and a networking project.

audio transport project - locally stored files: after much research and product comparison, i eventually arrived at a set of requirements and specifications needed to accomplish the goal as best possible with respect to the digital audio transport task.

one box solution ā€” follows from principle #4. to minimize the number of boxes, connections, power supplies, cables, etc. i wanted storage, streaming, transport, rendering, etc. all to reside in a single box with the absolute minimum number of components / connections.

passively cooled enclosure / no moving parts ā€” to eliminate both audible and electrical noise generated by an internal fan, spinning hdd, etc.

expandable and upgradable ā€” to accommodate future changes in computer audio technology as well as any changes in my system.

direct connection to the DAC ā€” follows from principles #4.

m.2 ssd storage ā€” this type ssd is connected directly to the motherboard, thereby, eliminating two cables and three connections per drive.

ultra low noise power supply ā€” external DC power supply connecting to a fanless, high-efficiency + low-noise internal DC power unit.

processor capable of significant DSP ā€” to accommodate DSD512 and to have headroom for other functionality such as library searches.

given these specifications which were developed and refined alongside my research and the evaluation of almost every available product, i was unable to find a single product that met an acceptable subset of these specs. without detailing the pros and cons of the available options considered, every one failed on the expandable/upgradable and the m.2 ssd specs. most failed on the one box spec requiring additional equipment to fulfill the necessary upstream digital functionality. also, every product failed on at least one of the remaining specs.

therefore, i eventually (and reluctantly) came to the conclusion that the best course was a DIY build. given that i have the rather minimal computer skills necessary for a DIY design and build, it just made sense to go in that direction.

i should mention here that the one thing that made DIY a viable option is the availability of roon optimized core kit (ROCK). simply stated, this is the software that made the DIY hardware feasible. ROCK is a linux-based operating system whose only purpose is to run roon. it is highly efficient with no unnecessary processes and, therefore, near or completely silent, depending upon hardware.

given the desired specs and performance characteristics, i then collected the following parts list for the build with each one chosen for quality and where applicable speed to ensure snappy performance.

fanless chassis - hdPlex h3 v2 (supports 80W TDP CPU)
internal PSU - hdPlex 400W hi-fi DC-ATX
motherboard - asus h370-i mini-ITX
CPU - intel i7-8700 (65W TDP)
drive 1 (OS) - western digital black sn750 NVME m.2 SSD, 250GB
drive 2 (storage) - micron/crucial p1 NVME m.2 SSD, 1TB
ram - kingston 2 x 2666mHz DDR4 dimm, 4GB each
external PSU - LPS: tbd (300W DC power adapter in interim)

assembly took about 8 hours or so and can be accomplished by anyone who is comfortable carefully working with a variety of screwdrivers and can diligently work through the set of instructions that come with the hdPlex chassis and the asis motherboard.

the final step was to install ROCK, configure the device as the roon core, and copy over some music files to the internal storage drive. the installation of ROCK took me about an hour. this can also be accomplished by anyone comfortable working carefully through the very detailed installation instructions provided by roon. configuring the device as the roon core took about 10 minutes and can be done from any roon control device on the network. this should be familiar territory to those with prior roon experience. adding music files is simply a matter of drag-and-drop as ROCK exposes the internal storage drive to the network.

meet the kanjiroba 6883-yak audio transport ā€¦it needed a name, right?

networking project ā€” streamed / remotely stored files: the simple goal here was to deliver remotely stored (streamed) music files to the transport such that they are in effect indistinguishable from locally stored files. that is, once delivered to the transport, remotely stored files would be bit-perfect and free from all upstream electrical noise ā€” i.e. free from both type 1 and 2 noise.

accomplishing the this goal turned out to be quite straightforward and much, much simpler that i had thought at the outset. given principle #3, the error checking and recovery protocols in the ethernet standard, type 2 noise is simply not an issue for files sent over the networkā€¦ no matter how mangled a packet of bits might become while in transit, the receiving device will detect and cause to be corrected any errors in the arriving data.

consequently, type 1 noise is the only concern here and, using principle #2, it can be eliminated via optical isolation. to accomplish this in my network / system all that is needed is to run a fiber ethernet cable directly to the transport. the equipment needed for this task is actually quite minimal:

fiber NIC - FS PCIe 2.0 x8 dual port 10 GbE SFP+ NIC
SFP transceiver - FS 2 x 1000BASE-LX/LH 1310nm 20km DOM SFP module
fiber cable - FS LC/UPC duplex OS2 Single Mode PVC 2.0mm
media converter - FS Unmanaged 10/100/1000Base-T RJ45 to SFP GbE

it is probably important to note here that, unlike copper ethernet which is mostly plug-and-play, optical ethernet components need careful matching to ensure compatibility. specifications such as wavelength, simplex/duplex, single/multi-mode, fiber cable connector type, fiber end polish, etc. all need to be considered.

installation was straightforward with the time between the fedEx package arriving and listening being about an hour. first, the PCIe fiber network interface card was installed in the transport. here, the single connection is directly to the motherboard via a PCIe expansion slot ā€” similar to the m.2 SSDs used for storage. next, the SFP transceivers were installed in the SFP slots of the NIC and the FMC. finally, the NIC and FMC were connected to each end of the fiber cable and the FMC was connected to the network. once the configuration and gear was tested, it took another hour to relocate the FMC to the basement and run the 65ā€™ of fiber to that location.

results: this turned out to be one of the most impactful upgrades i have done to my system. i was not expecting this dramatic an impact. the best description of the SQ improvement is a very much blacker background (inky black, black-hole black) and all the detail and clarity goodness that flows from thatā€¦ transients are simply phenomenal: impactful yet gliding through time with never a ragged edge to get caught up on; significant bass extension with a much greater presence and crispness; the overall sound is now integrated and holistic.

i should probably note that there is a sequencing effect here. after having done significant system upgrades over the past several years, the upstream digital was then the (very) weak link in the chain. so i think, really, the benefit of this upgrade was to simply get out of the way and allow the rest of my system to perform at its potential.

finally, the audio transport and networking projects were done sequentially with six weeks between the two. so, i had the opportunity to similarly evaluate the results of each project. i would have been more than happy with the results of each project by itself; however, i think there is significant synergy when putting the two together. adding the fiber networking to the transport is what made the whole project just pop and come alive. i was simply floored by the sound when the two were put together.

final thoughts:

i guess the real question here is: was the initial goal accomplished? yes and noā€¦ yes, in that i am thrilled with the results which far exceeded my expectations. no, in that it was an impossible goal. electrical noise is a fact of life associated with computers. however, i think i have been able to design and build a transport that is about as quiet as possible without resorting to a custom / bespoke motherboard and a CNC milled aluminum chassis. i am saving that for the mk-ii version!!

while cost was not really a consideration or motivating factor, the price / performance of this upgrade was staggeringly off-the-charts. soup-to-nuts, total cost was $1,377.28 ā€” metaphorically, i am enjoying domaine de la romanĆ©e-conti for the price of jug wine.

despite some initial misgivings about turning an audio hobby into a computer science and systems administration quagmire, DIY was the absolutely right way for me to go. i got exactly what my system called for and, thus far, in conjunction with ROCK it has operated flawlessly. also, it was an enjoyable and satisfying process.

here is the final digital source topology:

[router] <ā€” cat5e ā€”> [fmc] <ā€” fiber ā€”> [audio transport] <ā€” usb ā€”> [DAC]

i want to thank many here and elsewhere who have helped me think trough all the issues and come to a solution which works for my system ā€” especially @wklie who has been exceedingly generous and helpful.

lastly, wondering about the kanjiroba 6883-yak audio transport name? inspired by yaks transporting timbers in the kanjiroba himal:

14 Likes

Thanks for sharing your experience and observations @aKnyght !

There may be a controversial comment (or two) in there (in the technical sense) but as a tinkerer myself, I wonā€™t go thereā€¦ :grin:

I really enjoyed fiber isolation when I had a networked DAC (DAC with ethernet input). It worked really well (to my ears and personal tastes anyway). I wonā€™t claim objective performance.

Sonore have the opticalRendu USB ā€˜transportā€™ coming soon, which will probably be very good, knowing the work and knowledge of the designerā€¦ For somebody that wants to keep their powerful server in another room and just have a very low power consumption ā€˜transportā€™ connected to their DAC, this will be great.

27%20pm

Which USB DAC are you using?

Right now Iā€™m just using the other type of optical isolation - I think in principle #2 you refer to TOSlink?

72d151dda46fe71dc9c903d1cd48b02efb13955f_2_690x486

I do have my FMC kit here stillā€¦ I think my next purchase will be either a networked DAC or networked speakers, so the kit should be useful againā€¦

1 Like

i am certainly not a computer scientist or electrical engineerā€¦ so, no one should consider my assumptions as anything but a construct i created for myself as a guide or blueprint for the buildā€¦ i am pretty sure they donā€™t teach anything in the post at cal tech :upside_down_face:

i have the t+a dac 8 dsd

i have used toslink in a prior system incarnation - worked quite well. also, i see you are using a lifatec toslink cable ā€“ they are absolutely fantastic: great build quality and the highest specā€™d optical cables i have seen by a wide margin.

1 Like

Yeah itā€™s bit perfect with PCM24/192 (tested using Ted Smithā€™s 24/192 bit perfect test file with DirectStream DAC, when I had it). So no worries about dropped/fiddled bitsā€¦

Very nice indeed.

I might have missed it but what PSU are you using to power your MOCKā€™ed audio transport?

The HDPlex PSU is powering both Asus motherboard and internal FMC?

I saw mention of a linear PSU.

for the time being, i am just using a basic 300W laptop DC power adapter. the next project is to research the external PSU ā€“ a number of good LPS choices out there.

yes ā€“ the internal DC-ATX PSU powers everything. the internal FMC is a PCIe NIC and connects directly to and is powered by the motherboard .

1 Like

Cool. One very good one to consider may be the Uptone Audio JS-2ā€¦

hello, I read your configuration work with great interest, congratulations, I have some doubts:

rock see the optical network card?
have you disabled asusā€™s lan from bios?
you used a spf directly with output rj45 or this:

yes, ROCK sees both SFP ports on the network card.

i have not disabled LAN in BIOS, however, there are no other network cables attached to the transport other than the one fiber cableā€¦ so, the transport would not have network connectivity unless ROCK was able to see the SFP port.

not sure what you are asking here, but, i am using a direct fiber connection with the fiber cable being attached to the SFP module which is then inserted into the SFP port of the network card.

I thought you could use us sfp lc in entry and one of these outgoing to my msb renderer.
Ciao

Is this your MSB adapter?

No, i have renderer v2

i am not very familiar with the specifics of the MSB renderer v2, or MSB for that matter. however, reading the MSB website page on the network renderer v2 moduleā€¦

i see the following comment:

*** NOTE. Your home router must have DHCP enabled, the MSB Renderer V2 does not support static IP addressing. ***

consequently, it is most likely not possible to reliably connect a transport directly to the MSB renderer v2 module via either a fiber or copper ethernet connection. others will know more specifically about this than i do.

yes indeed, then I could do this: sfp fiber router>>sfp server >>sfp-rg45 >>melco (dhcp) >>msb renderer

Having spent time in the Himalayas I discovered that the Porters work harder than the Yaks, name change? :wink:

1 Like

Hi @aKnyght thanks for this very interesting and clear post. Your approach makes a lot of sense, you are happy with the result and it also seems a fun project to undertake, so I just might be tempted to try something like this myself. I do have a couple of questions:

  1. what is the role of the hard drives in the PC vs. your NAS? Is the NAS now reduced to being a backup to your library? If so, does that mean that the size of your library is restricted to the size of the large SSD drive in your PC (1TB)? Or does that act like some sort of cache for frequently played music? I am currently using my NAS to store my music files and my library-size exceeds 1TB.

  2. do you get full core control by accessing the core through client devices? E.g. I use several DSP-filters which I change depending on my listening location. As far as I know, you cannot change this on, for example, the iPad app, and I do it directly on the iMac on which I currently have the Roon core running. If I run Roon core on a headless setup I would lose this ability, and perhaps also the ability to easily make other changes in the core-setup?

  3. Iā€™ve noticed switch manufacturers like Netgear now make switches that include both ethernet and sfp ports. That might be an interesting one-box solution to connect your audio transport to, provided that the sfp protocols are compatible.

Thanks again for sharing your experiences in this post!

Regards,
Quinten

hi @Quinten_Kroes ā€“ glad you found the post useful and it has inspired you to maybe undertake a similar project. i found it to be quite enjoyable and the SQ results were way beyond my expectation.

i will try to answer these the best i can:

1ā€¦ storage for music files for playback is 100% on the transport. currently, i think the largest NMVe m.2 SSD is 2TB so that would be the limit in my configuration. also, ROCK only recognizes one internal storage drive so that also limits internal storage to the largest available NVMe m.2 SSD. for more storage one can always use a networked NAS which would effectively be another external (streaming) source and, thereby, benefit from the optical isolation as well.

also, i am not sure but it might be possible to use another type motherboard which can accommodate more NVMe m.2 SSDs and then use some type RAID configuration to combine them such that ROCK seem them as one drive. just something to investigate.

for backup i use an external drive located on my mac

2ā€¦ in roon it is possible to enable multi-core/thread processing in the DSP engine but i have never needed to do this as the i7 cpu is plenty powerful for everything i do. in general, you access the roon core and configure it as you would normally through a roon control device such as iPad, iPhone, PC, mac, etc.

3ā€¦ yes! there are also routers that have SFP ports which removes even more gear in the streaming path.

hope this helps!

The optical signal may be too strong. Measure and put some attenuators on. The attenuator may be purchaed from FS too. I use managed switches with SFP (mikrotik) which also allows me to see and adjust the optical signal.

Attached are the signal lavels from my router which has a SFP cage as well as copper ports. I usually put the attenuators on the receive side. Note also how hot the SFPā€™s get. Fans are your friend here.