Αυτός ο ιστότοπος χρησιμοποιεί cookie από την Google για να παρέχει τις υπηρεσίες του και να αναλύει την επισκεψιμότητα. Η IP διεύθυνσή σας γνωστοποιείται στην Google, μαζί με μετρήσεις απόδοσης και ασφαλείας, ώστε να διασφαλιστεί η ποιότητα της υπηρεσίας, για τη δημιουργία στατιστικών στοιχείων σχετικά με τη χρήση και για τον εντοπισμό και την αντιμετώπιση καταχρήσεων. Με την χρήση του ιστότοπου Audiohub.gr αποδέχεστε τα παραπάνω.

Diretta Protocol explained

DomieMic65
Contributor
Posts: 1363
Joined: Tue Apr 19, 2016 9:53 am

Diretta Protocol explained

Unread post #1 by DomieMic65 » Sat Jan 24, 2026 1:16 pm

Βρήκα ένα αρκετά επεξηγηματικό άρθρο για το τι είναι τελικά το πρωτόκολλο Diretta.
Αν και το χρησιμοποιώ εδώ και πολύ καιρό και οι εξελίξεις γύρω από αυτό τρέχουν με γοργούς ρυθμούς, (βλέπε Diretta Renderer UPnP η τελευταία με πολύ καλά αποτελέσματα) πότε δεν κατάλαβα 100% τι ακριβώς κάνει πέραν από την γενικότητα, optimization του δικτύου!
Εδώ ο γραφών το εξηγεί πιο απλά!

https://github.com/herisson-88/diretta- ... G1VxAr6cfA
User avatar
Dr Pan K
Site Admin
Posts: 9223
Joined: Tue Mar 29, 2016 12:46 am

Re: Diretta Protocol explained

Unread post #2 by Dr Pan K » Sat Jan 24, 2026 2:02 pm

Μιχάλη δεν βλέπω να αποδεικνύει κατι. Λέει οτι μειώνει κάποιο θορυβο που δεν ειμαι βέβαιος οτι υπαρχει, ειναι μετρήσιμος κτλ. Το οτι τα πακέτα αν έρχονται με μη απόλυτα σταθερή ροή προκαλούν αύξηση θορύβου λόγω ηλεκτρικής κατανάλωσης για εμένα ειναι ο σύγχρονος ορισμός του snake oil.

Η λογική της συνεχόμενης και ομαλής ροής πακέτων υπαρχει σε πολλές υλοποιήσεις (το FIFO buffer κάνει ακριβώς αυτό) καθώς υπαρχει ήδη μέσα στα περισσότερα καλοσχεδιασμενα Dac και streamer.
Παναγιώτης
DomieMic65
Contributor
Posts: 1363
Joined: Tue Apr 19, 2016 9:53 am

Re: Diretta Protocol explained

Unread post #3 by DomieMic65 » Sat Jan 24, 2026 4:53 pm

Εγώ έκανα την ανάρτηση επειδή είναι επεξηγηματική με σχετικά απλό τρόπο!
Από εκεί κ πέρα στο σύστημα μου χρησιμοποιώ εδώ και καιρό Diretta και νομίζω πως έχει διαφορά προς το καλύτερο ειδικά μετά τις τελευταίες εξελίξεις (DDS και Diretta Renderer UPnP)
DomieMic65
Contributor
Posts: 1363
Joined: Tue Apr 19, 2016 9:53 am

Re: Diretta Protocol explained

Unread post #4 by DomieMic65 » Wed Jan 28, 2026 10:30 am

User avatar
angpsi
Contributor
Posts: 2053
Joined: Thu Jun 08, 2017 12:18 pm
Location: Athens

Re: Diretta Protocol explained

Unread post #5 by angpsi » Fri Jan 30, 2026 11:11 pm

DomieMic65 wrote:https://github.com/dsnyder0pc/rpi-for-roon/blob/main/Diretta.md?fbclid=IwdGRleAPmp8RleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA8xNzM4NDc2NDI2NzAzNzAAAR7UHZBBVrPjddmBKeEJKEQp1e6xYvGeiMYJNp4FK0gryZfIPSsb67_OAeA18Q_aem_CnS-uAtSYdh_cbmFx2VYHw#1-prerequisites

Χαλαρά ένα Σ/Κ φεύγει μέχρι να στηθεί αυτό, έχω εμπειρία με Archlinux! :-D :-D :-D
Άγγελος
DomieMic65
Contributor
Posts: 1363
Joined: Tue Apr 19, 2016 9:53 am

Re: Diretta Protocol explained

Unread post #6 by DomieMic65 » Sat Jan 31, 2026 11:03 am

angpsi wrote:
DomieMic65 wrote:https://github.com/dsnyder0pc/rpi-for-roon/blob/main/Diretta.md?fbclid=IwdGRleAPmp8RleHRuA2FlbQIxMQBzcnRjBmFwcF9pZA8xNzM4NDc2NDI2NzAzNzAAAR7UHZBBVrPjddmBKeEJKEQp1e6xYvGeiMYJNp4FK0gryZfIPSsb67_OAeA18Q_aem_CnS-uAtSYdh_cbmFx2VYHw#1-prerequisites

Χαλαρά ένα Σ/Κ φεύγει μέχρι να στηθεί αυτό, έχω εμπειρία με Archlinux! :-D :-D :-D

άδικο δεν έχεις :-D
αλλά εγώ πιο πολύ έκανα την ανάρτηση για τις εισαγωγικές παραγράφους σε μια κατά κάποιο τρόπο συνέχεια της πρώτης μου ανάρτησης.
Σε πολύ λιγότερο optimized setup στην δική μου περίπτωση χρησιμοποιώ
The Three-Tier Architecture: Roon + Diretta
όπως λέει αλλά με Gentooplayer και LMS φυσικά, με κατευθείαν σύνδεση του Host στον Target μέσω USB/Ethernet adopter.

Moving Beyond "Band-Aids" to a Foundational Solution

Roon Labs itself advocates for a "two-box" architecture to solve this primary issue: separating the demanding Roon Core from a lightweight network Endpoint (also called a streaming transport). This is the correct first step, as it offloads the heavy processing to a remote machine, isolating its noise from your audio rack.

However, even in this superior two-tier design, a more subtle problem remains. Standard network protocols, including Roon's own RAAT, deliver audio data in intermittent "bursts". This forces the endpoint's CPU to constantly spike its activity to process these bursts, causing rapid fluctuations in current draw. These fluctuations generate their own low-frequency electrical noise right at the endpoint—the component closest to your DAC.

High-end audio manufacturers attempt to combat the symptoms of this bursty traffic with various "Band-Aid" solutions: massive linear power supplies to better handle the current spikes, ultra-low-power CPUs to minimize the spikes' intensity, and extra filtering stages to clean up the resulting noise. While these strategies can help, they don't address the root cause of the noise: the bursty processing itself.

This guide presents a more elegant and dramatically more effective solution. Instead of trying to clean up the noise, we will build an architecture that prevents the noise from being generated in the first place.

The Three-Tier Architecture: Roon + Diretta

This project evolves Roon's recommended two-box setup into an ultimate, three-tier system that provides multiple, compounding layers of isolation.

Tier 1: Roon Core: Your powerful Roon server runs on a dedicated machine, placed far away from your listening room. It does all the heavy lifting, and its electrical noise is kept isolated from your audio system.
Tier 2: Diretta Host: The first Raspberry Pi in our build acts as the Diretta Host. It connects to your main network, receives the audio stream from the Roon Core, and then prepares to forward it using a specialized protocol.
Tier 3: Diretta Target: The second Raspberry Pi, the Diretta Target, connects only to the Host Pi via a short Ethernet cable, creating a point-to-point, galvanically isolated link. It receives the audio from the Host and connects to your DAC or DDC via USB.

What Diretta and AudioLinux Bring to the Table

This design's superiority comes from two key software components running on the Raspberry Pi devices:

AudioLinux: This is a purpose-built, real-time operating system designed specifically for audiophile use. Unlike a general-purpose OS, it's optimized to minimize processor latencies and system "jitter," providing a stable, low-noise foundation for our endpoint.
Diretta: This groundbreaking protocol is the secret sauce that solves the root problem. It recognizes that fluctuations in the endpoint's processing load generate low-frequency electrical noise that can evade a DAC's internal filtering (as defined by its Power Supply Rejection Ratio, or PSRR) and subtly degrade its analog performance. To combat this, Diretta employs its "Host-Target" model, where the Host sends data in a continuous, synchronized stream of small, evenly spaced packets. This "averages" the processing load on the Target device, stabilizing its current draw and minimizing the generation of this pernicious electrical noise.

The combination of the physical galvanic isolation from the point-to-point Ethernet link and the processing noise elimination from the Diretta protocol creates a profoundly clean signal path to your DAC—one that can leapfrog solutions costing many thousands of dollars.
A Rewarding Path to Sonic Excellence

This project is more than just a technical exercise; it's a rewarding way to engage with the hobby and take direct control over your system's performance. By building this "Diretta Bridge," you are not just assembling components; you are implementing a state-of-the-art architecture that addresses the core challenges of digital audio head-on. You will gain a deeper understanding of what truly matters for digital playback and be rewarded with a level of clarity, detail, and musical realism from Roon that you may not have thought possible.

Return to “Ψηφιακή αναπαραγωγή”



Login · Register