[Image: banniereforumhifi.jpg] (September 11) x

Note de ce sujet :
  • Moyenne : 3.13 (8 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Protocole Diretta
Bonsoir @Xantores
ça fonctionne parfaitement sur mon système sous windows 11 avec la configuration que tu évoques.
Quad 989- SE 2A3 DIY -Hattor The Big Préampli - Holo Spring 3 L2 - Diretta DST-00 avec horloge 10Mhz - HQPlayer5 - Audirvana Origin - casque HD800S - 10 Alimentations dont  Sean Jacobs et Powerbanks avec SC - Câbles HP, modulation, ethernet et horloge DIY. - câble I2S Bivani - secteur Furutech DPS 4.1 - transfo d'isolation Symétriseur
Platine vinyle Sony PSX-600 (bras Biotracer), pré phono Pro-ject Tube S2 - cellules Goldring 2300 - AT440MLB et DL110
J'ai posté sur le fil DIY un script python qui permet:

- de détecter la mtu efficace sur le réseau. Selon mes observations, tous les calculs de Yu se font sur la base de fichiers multiples de 48kHz. Que vous soyez avec MemoryPlay ou HQPlayer/Audirvana, je vous invite à exécuter un fichier multiple de 48kHz pour faire cette mesure.

Code :
sudo ./diretta_calc.py --detect-mtu

====================================================================================================
DETECTING MTU FROM LIVE DIRETTA TRAFFIC
====================================================================================================
Interface: enp5s0
EtherType: 0x88b6 (Diretta DDS)
Capture duration: 30 seconds (max)
Minimum packets: 5

⚠ NOTE: Diretta must be actively streaming audio for detection to work!

Running: sudo tcpdump -i enp5s0 -e -n -q -s 0 ether proto 0x88b6
Capturing packets... Press Ctrl+C to stop early

✓ Packet 100: 9024 bytes (most common: 9024 bytes, 100 times)
✓ Captured enough packets (100)



====================================================================================================
MTU DETECTION RESULTS
====================================================================================================
✓ Successfully analyzed 100 Diretta packets
  Capture duration: 0.4 seconds
  Detection method: Using MOST COMMON frame size (ignores outliers)

DETECTED MTU: 9024 bytes (confidence: Very High (matches standard MTU))

Frame Size Analysis:
  Most Common Size:  9024 bytes (100.0% of packets) ← MTU indicator
  Maximum frame:    9024 bytes
  Minimum frame:    9024 bytes
  Average frame:    9024 bytes
  Std deviation:    0 bytes

Size Distribution:
  9024 bytes:  100 packets (100.0%) ██████████████████████████████████████████████████ ← MOST COMMON (MTU basis)

====================================================================================================

? TIP: Use detected MTU with: python3 ./diretta_calc.py --mtu 9024

Sur mon réseau, on voir une MTU utile de 9024.
En exécutant ./diretta_calc.py --mtu 9024, j'obtiens les paramètres suivants:

Code :
./diretta_calc.py --mtu 9024

╔═══════════════════════════════════════════════════════════════════════════════╗
║              DIRETTA DDS CONFIGURATION & LOG ANALYSIS                        ║
║                    Optimized for High-Quality Reference Clocks                ║
║                                                                              ║
║  Focus: Clock STABILITY (phase noise/jitter), not just accuracy              ║
╚═══════════════════════════════════════════════════════════════════════════════╝


====================================================================================================
CONFIGURATION SUMMARY
====================================================================================================
Format: DSD
MTU: 9024 bytes
Base calculation: 48kHz (DSD256: 12,288,000 Hz)
Samples per frame: 36,000
Target CycleTime: 2930 μs (optimized for 48kHz)
CycleMinTime: 2915 μs (0.5% lower margin)
Network Buffering: periodMin=4, periodMax=8
Clock Sync Buffer: syncBufferCount=6
Total buffering: 14 periods

====================================================================================================
CONFIGURATION NOTES
====================================================================================================

  ✓ Using recommended optimized settings (4/8/6)


====================================================================================================
DIRETTA CONFIGURATION FILE
====================================================================================================

[global]
Interface=enp5s0
TargetProfileLimitTime=0
ThredMode=257
InfoCycle=100000
FlexCycle=max
CycleTime=2930
CycleMinTime=2915
Debug=stdout
periodMax=8
periodMin=4
periodSizeMax=8192
periodSizeMin=2048
syncBufferCount=6
alsaUnderrun=enable
unInitMemDet=disable
CpuSend=1
CpuOther=2
LatencyBuffer=0

qui fonctionnent bien.

Ensuite, le script permet d'évaluer la qualité de la transmission sur le réseau:

Code :
./diretta_calc.py --analyze-sync 1000
====================================================================================================
DIRETTA STABILITY ANALYSIS (LAST 1,000 LOG ENTRIES)
====================================================================================================
Service: diretta_sync_host
Generated: 2025-11-03 23:03:33
Analyzing logs...
✓ Logs captured. Performing analysis.

1. NETWORK TIMING JITTER (from 'cy=...' values)
----------------------------------------------------------------------------------------------------
  Assessment:        ✓ Good (IQR < 5μs)
  Samples found:      1,000
  Average Cycle:      2932.308 μs
  Standard Deviation: 4.885 μs  <- (primary indicator of stability)
  Interquartile Range (IQR): 4.296 μs  <- (robust jitter measurement)
  Min / Max Cycle:    2917.784 μs / 2945.710 μs
  Peak-to-Peak Range: 27.927 μs
----------------------------------------------------------------------------------------------------

Faites-moi part de vos commentaires Wink
(Il y a 5 heures)patatras a écrit : Bonsoir @Xantores
ça fonctionne parfaitement sur mon système sous windows 11 avec la configuration que tu évoques.

Je pense que j'avais mal compris le message dans Gentooplayer et pensais que le host devait forcément être sous OS Linux. 

J'ai activé le mode DDS sur la target, je verrai demain si je vois un changement. 

Merci pour ton retour en tout cas et bonne soirée
Box internet>Pont optique LHY FMC+SW6>Holo Red>Src-DX>Chord Hugo TT2>Naim Nac282>2x TeddyCap SE mk2>Naim Nap250DR>Dynaudio SP40
Gentooplayer>Diretta> HQplayer (ou Neutron/foobar/bubbleupnp)
Câbles et barrette secteur Sine / Câbles HP Accoustic Revive SPC-Ref MK2


Sujets apparemment similaires…
Sujet Auteur Réponses Affichages Dernier message
  AFTERDARK. PROJECT CLAYX ROSANNA X DIRETTA NETWORK BRIDGE Olivier 249 162,145 10-22-2025, 08:14 PM
Dernier message: Begastor
  Diretta Reference DST-00 Le dom 436 188,858 06-13-2025, 09:11 AM
Dernier message: patatras
  Pachanko / diretta ou Jcat ? Mblux 18 5,859 04-01-2025, 07:52 PM
Dernier message: DCC
  A propos des fichiers preview de Diretta Le dom 3 1,880 09-26-2024, 12:22 PM
Dernier message: Mellowman
  Diretta audio protocol Pascal64 2,908 1,733,697 11-02-2023, 10:58 PM
Dernier message: Olivier

Atteindre :


Utilisateur(s) parcourant ce sujet : 5 visiteur(s)