C'è una cosa migliore di un Raspberry PI, ed è un DAC Raspberry Pi i2s!
INTRODUZIONE: PERCHÉ IL DAC RASPBERRY PI I2S È LA SCELTA GIUSTA
So che potrebbero esserci anche altre cose che meritano la nostra gioia, ma questa volta mi concentrerò solo su questa parola magica, che gli audiofili dovrebbero aver sentito da qualche parte, prima o poi... Quindi, di cosa stiamo parlando?
I2S è un protocollo di comunicazione specificamente progettato per trasportare dati audio digitali. Per citare da Wikipedia
I2S, noto anche come Inter-IC Sound, Integrated Interchip Sound o IIS, è uno standard di interfaccia bus seriale elettrico utilizzato per collegare tra loro dispositivi audio digitali. Viene utilizzato per comunicare dati audio PCM tra i circuiti integrati di un dispositivo elettronico. Il bus I2Ssepara i segnali di clock e di dati seriali, ottenendo un jitter inferiore a quello tipico dei sistemi di comunicazione che recuperano il clock dal flusso di dati.
Per spiegare meglio, l'i2s viene utilizzato in tutti i lettori CD di lusso, collegando il meccanismo di lettura al DAC e all'uscita S-PDIF. Ma soprattutto, l'i2s è utilizzato anche in tutti i DAC standalone che si possono incontrare. Se si tratta di USB, l'i2s è il percorso che va dal ricevitore USB al chip DAC stesso, se si tratta di S\PDIF è lo stesso di cui sopra. Cominciate a capire perché stiamo parlando di questo?
Il più chiaro possibile: I2S è il protocollo preferito quando si parla di trasmissione di segnali audio digitali. Potrei anche aggiungere che l'uso dell'USB come connessione, in ambito audio, è ben lontano dall'essere una situazione ideale. E anche se lo fosse, una connessione diretta I2S ha un grande vantaggio: il percorso del segnale è più breve. Si vedano questi esempi:
Scenario 1: Il mio piccolo Raspberry Pi (alimentato da Volumio, ovviamente) è collegato a un DAC USB da un miliardo di dollari, che alimenta il mio amplificatore interstellare.
I miei preziosi uno e zero stanno affrontando questo percorso:
Raspberry Pi -> Bus USB -> Cavo USB -> Ricevitore USB da un miliardo di dollari -> I2S -> DAC da un miliardo di dollari -> Amplificatore interstellare
Una strada piuttosto lunga, non è vero? Se a questo si aggiungono tutti i problemi intrinseci che riguardano le interfacce di connessione, si ha un'idea abbastanza precisa di ciò che sta accadendo.
Scenario 2: Il mio piccolo Raspberry Pi (sapete cosa arriva qui...) ha un piccolo DAC collegato, tramite connessione I2S, che alimenta il mio amplificatore di buon senso.
Il flusso dei miei zero e dei miei uno?
Raspberry Pi -> I2S -> DAC -> Amplificatore di senso comune
Sono sicuro che ora sentite la verità nel profondo del vostro cuore e che la forza è con voi. Ma c'è dell'altro, per riassumere e abbreviare, questi sono i principali vantaggi di avere una configurazione DAC di Raspberry Pi i2s:
- Percorso del segnale ideale: percorso del segnale più breve e interfacce (USB, S/PDIF) evitate
- Non stiamo utilizzando il fastidioso bus USB del Raspberry PI, quindi il pop and click è ormai un ricordo del passato.
- Una configurazione economica ma dal buon suono: 80 dollari per una combinazione prezzo/qualità sbalorditiva
AGGIORNAMENTO
Questo articolo è stato scritto nel 2014 e da allora sono emersi nuovi e migliori DAC i2s. Fortunatamente, ora abbiamo una selezione dei migliori tra questi proprio qui su Volumio shop. Quindi, per risparmiarvi la fatica della ricerca e del confronto, qui di seguito troverete la mia personale scelta dei migliori 4 DAC I2S per Raspberry PI.
[products skus="BOSSDAC, MBLSDAC, Pi-DAC+, DACPLUS-RCA, JBM-001″]
E naturalmente i bundle Allo con quel piccolo miracolo che è il Kali:
[products skus="KAP21PS, KAPHFDPS"]
LE OPZIONI
Ora che siete informati sulle meraviglie del DAC di raspberry pi i2s, vediamo le opzioni disponibili:
RPI-DAC: LA SCELTA DELL'UTENTE
[EasyGallery id='rpi-dac']
Si tratta di uno squisito lavoro di ingegneria audio. Chiariamo subito che si tratta di una soluzione senza compromessi, anche se siamo nel campo dell'autocostruzione. Quello che Torsten Jaekel ha creato è una scheda raspberry pi i2s a doppio strato, con specifiche piuttosto sorprendenti (cit.):
- DAC a 24 bit, conversione I/V opamp, amplificatore per cuffie stereo
- Componenti all'avanguardia su PCB di dimensioni ridotte
- Soluzione DAC singolo con interfaccia I2S, LDO a basso rumore a bordo
- Parametri migliori della categoria [1]:
SNR: > 120dB THD+N: < 0.0006% Bassa rumorosità: < 5µV/sqrt(Hz) PSRR: < -82dB - Non è necessario alcun alimentatore aggiuntivo, ma solo un trasformatore CA.
- non è necessario un dissipatore di calore (si utilizza un PCB)
- possibilità di filtraggio esterno (collegamento di un FPGA)
- Doppio DAC (Dual-Mono) disponibile (SNR ancora più elevato)
- Sovracampionamento, espansione della gamma dinamica ... in pianificazione (con FPGA)
- percorso di trasmissione senza tappi
Collegatelo al PI e avrete una sorgente musicale digitale orientata all'emofonia. Le schede sono costituite da un alimentatore di livello audiofilo abbinato a un DAC PCM1794A. È possibile avere anche una versione dual mono, che aumenta l'SNR di 3 dB. Cosa mi piace davvero di questa scheda? È stata progettata con un solo obiettivo in mente: la qualità audio. Vorrei davvero congratularmi con Torsten per il risultato raggiunto e per il fatto che ha pubblicato tutto ciò che serve per costruirlo su home. Il colpevole del RPI-DAC di Raspberry Pi i2 è il prezzo: si tratta di una soluzione piuttosto costosa, che va dai 120 ai 255 dollari. Ma come sapete, la qualità ha il suo prezzo.
HIFIBERRY: IL KILLER DEL BANG FOR BUCK
[EasyGallery id='hifiberry']
Ecco l'accessorio audio di maggior successo per il nostro piccolo PI: Voglio fare un plauso a crazyaudio per aver creato un dispositivo così semplice, dal buon suono e diretto al punto. Ciò che rende speciale l'HIFIBERRY è il suo rapporto qualità-prezzo. Con 30 euro avete un dispositivo che farà schizzare alle stelle l'attitudine audio del vostro Raspberry PI. Ciò significa che per soli 80 euro (50 per il PI perfettamente funzionante + 30 per il raspberry pi i2s Hifiberry) potete avere un lettore musicale digitale audio davvero ben suonante. Cosa mi piace davvero? La semplicità: pochi componenti, corrente continua prelevata dalla linea 5v del Raspberry. La semplicità è il massimo della sofisticazione, potremmo dire. Colpevoli? Si potrebbe isolare la linea a 5v dal PI e utilizzare un alimentatore dedicato, per alzare ulteriormente il livello, ma è necessario intervenire un po' sulla scheda. Mi sarebbe piaciuto avere questa opzione già pronta, con un interruttore e un connettore.
RASPYPLAY3: LA SCELTA VERSATILE
[EasyGallery id='raspyplay3′]
Raspberry PI può essere collegato a un'ampia gamma di accessori. Mi piace molto avere un piccolo display collegato ad esso, per mostrare la riproduzione del titolo corrente (in arrivo su Volumio!) e così via. Questo intelligente DAC i2s di Raspberry Pi ne ha le capacità, in quanto offre un connettore GPIO, per agganciarvi facilmente un display. Senza contare che questa piccola scheda offre gli stessi vantaggi dei DAC collegati a raspberry pi i2s. RaspyPlay3 è sviluppato da una comunità serba di amanti dell'autocostruzione e dell'audio, basta sfogliare il loro sito web per scoprire articoli davvero interessanti (usate google translate e preparatevi a qualche perdita nelle traduzioni...). Questo dac raspberry pi i2s può essere personalizzato con i condensatori che preferite, il che significa che potete davvero adattarlo ai vostri gusti personali. Inoltre, è possibile trovare tutta la documentazione necessaria per scoprire come costruire questo cad raspberry i2s da soli. Grazie Nebojsa!
Alcune specifiche:
- SNR: 112dB
- Gamma dinamica: 112dB
- THD+N @ - 1dB FS: -93dB
- Uscita a fondo scala: 2,1VRMS (centro GND)
- Connettore LCD + tastiera a bordo
ESS SABRE 9023 + GENERATORE MCLOCK: LA TERZA VIA
Come molti di noi credono, l'ESS SABRE 9023 è uno dei pezzi di silicio più interessanti in circolazione. Ne ho sempre voluto uno collegato direttamente al mio piccolo PI. Come soluzione per il dac i2s di Raspberry Pi, tuttavia, c'è un problema tecnico che ci impedisce di farlo: Il Raspberry PI non può fornire un Master Clock, di cui questo DAC ha bisogno. Quindi, diamogliene uno! È sufficiente procurarsi un DAC I2S ESS 9023:
- DAC ES9023 a 24 bit/192 kHz con ingresso I2S
Da DIYINHK
- DAC-24192-ULN, DAC 24Bit/192KHz
da Sellarz Audio
E abbinarlo a un generatore di orologi master:
Quindi, alimentate entrambi con una tensione continua (potete usare lo stesso binario, se volete, la gamma va da 7 a 20 V CC). Questa dovrebbe essere una soluzione molto efficace, più costosa e complicata di quelle precedenti, ma vi regalerà una qualità sonora di prim'ordine. E se volete davvero arrivare a livelli più alti, e anche a prezzi più alti, potete scegliere di agganciare altri semiconduttori di fantasia:
CONCLUSIONI
Ora dovreste avere un'idea esauriente del perché il dac raspberry pi i2s sia la strada da seguire se volete ottenere prestazioni soniche piuttosto buone, pur svuotando leggermente le vostre tasche. Vi consiglio di utilizzare questa soluzione se volete un lettore musicale audiofilo di valore senza spendere troppo, inoltre Volumio + PI + raspberry pi i2s DAC è una soluzione che potete adattare alle vostre esigenze. E man mano che lo sviluppo di Volumio progredirà, saranno disponibili ulteriori funzionalità.
L'ultimo passo consiste nell'abilitare il supporto del DAC i2s del raspberry pi dalla WEBUI di Volumio, basta andare su impostazioni -> DAC I2S -> I2S ON . Quindi riavviate il vostro PI e godetevi la sottile gioia dei vostri uno e zero che scorrono via i2s.
Prossimamente pubblicherò una panoramica completa di tutti i DAC raspberry pi i2s menzionati in questo articolo, e spero di mostrare alcune misure delle loro prestazioni. Quindi, rimanete sintonizzati e sostenete questi fantastici ingegneri che non solo ci stanno portando cose interessanti, ma stanno anche condividendo il loro duro lavoro!
Si può anche discutere di DACS per raspberry pi i2s sul forum diVolumio
Buon divertimento!


I’m using volumio for raspberry pi on the ZERO and it makes a cool and light device, I’m using a small usb battery and it can last +9h. For the dac I’m using a cheap and small one, it sound good, found it on Amazon: https://www.amazon.com/Audio-shield-for-Raspberry-PI/dp/B00MDW602K
install intructions are here : http://www.raspiaudio.com/install
Keep up the good work!
Hi, I would like to build an active crossover with the raspberry using BruteFIR JackD and Alsa. I probably could use a not too good external USB 2.0 5.1 Soundcard. I would love to use a high quality i2s solution. Is it possible using i2s?
best, Alex
I’m about to do some R&D with the Raspberry Pi (model B which is ideal for linear PSU) with an Audiophilleo AP1 into a DAC. Anyone attempted this sort of thing yet?
I’m about to do some R&D with the Raspberry Pi (model B which ideal for linear PSU) with an Audiophilleo AP1 powered off-grid via it’s own PurePower PSU into a LampizatOr DAC. Anyone attempted this yet? I know it’s unrelated to the Volumio and headphones “compact” DACs.
Hi, I was wondering, will the next step be that you DAC is able to retrieve data direct form an SD card via I2S and with that finally be able to have NO JITTER druing transmission? You would need to develop a way to select and play music like this, but I am sure you will find a way out 😉
I have submitted the kernel driver for Duriosound which allow you to force PCM over i2s to have 32 bits. However, most of music that ripped from CD is 16bits. I have tried with cmus (application no covertion) I can play 32bits m4a file format without any issue. I will try to rip XRCD (24bits) into flac and play.
RPi-DAC is now Durio Sound
https://www.kickstarter.com/projects/463050344/durio-sound
I just
tested several i2s-DACs with RPi and finally found out, that RPi is just a good
toy. I reached the best sound so far with PRI-DAC (http://www.tjaekel.com/T-DAC/raspi.html) (single stereo). The sound is
much better than with hifiberry. But the problem is, that RPi CANNOT play 24
bit audio via i2s. 24 bits are always converted to 16 bits. The internal clock
works best with 48 and 96 kHz sample rate but not very well with 44,1 kHz. The result is jitter! The
most sellers of RPI i2s DACs out there just conceal this fact.
But, I just had a revelation. I ordered
RPI-DAC SPDIF (XMOS) from Torsten Jaekel and used CuBox-I as a player. I
connected it via usb with RPI-DAC SPDIF and RPI-DAC. The sound is absolutely
superb and much better than anything via i2s and PRi.
Maybe i2s sounds better with other boards (UDOO) but I think for me the race is over.
Asynchronous USB with a very good DAC (RPI-DAC) has won.
Hello Ralf,
I’m curious about your comments re. i2s on the RPi. I understand you to be saying that the RPi is dropping 8 bits out of all 24 bit audio passed to any DAC using the i2s interface? I’m new to all this, and very curious. How do you know this?
Thanks,
Ron
Hello Ron,
the i2s-Driver can only
support 16 bit because of the DMA. It only allows 16 bit.
But this is indeed not a
problem, because there is no audible difference between 16 and 24bit audio (http://xiph.org/~xiphmont/demo/neil-young.html)
The problem is the amount
of jitter. RPi has a poor clock.
I just build my own simple DAC
(PCM1794 single stereo) with a very simple passive I/V stage. You just need 20
parts for about $20. The sound is superb. But why? I am using an asynchronous
USB receiver (WAVE I/O) which is the best one I ever had.
Feeding all with a very
good power supply. That’s it. No voodoo! You can never reach such a sound
quality with RPi and i2s. Maybe with RPi and USB. But RPi has some problems
with USB Dacs. I use Cubox pro and Volumio. The best possible combination.
Thanks Ralf. I ran across that same xiph page yesterday–very interesting stuff. I’ve never been able to hear a difference between 16 and 24 bit, and also with higher res (>48k) sample rates, but I’m not using high end equipment. Always wondered what better ears/better equipment might hear.
Funny thing is, when I setup a Hifiberry/Pi combination, I immediately heard a difference between that and the PC/HRT Music Streamer II setup I’ve been using. The high end wasn’t nearly as nice–the Music Streamer has a nice combination of detail and softness in the highs that I really like. But the Music Streamer often pops and spits when changing sample rates, and I want to be able to play different sources without worrying about that. My little Pi/Volumio setup does it flawlessly.
So now I’m wondering if the Music Streamer might play nicer with a Volumio setup like you use, with a Cubox feeding it. I may try it out. Also, do you know much about the Beaglebone? Wondering if it has good enough USB output for what I want.
Finally, I my searches yesterday I found this, which seems to show someone figuring out 24 bit playback on the Pi i2s:
http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=8496&start=500
But then this, which seems to show a software bug breaking it?
http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=8496&start=575
Although, in looking just now, I think this stuff may have been centered on more recording specific stuff. My head is spinning. I just want decent playback! 🙂
Thanks again for the reply.
Ron
Wow. I already had some concerns about this but your post rings true and worrying. Especially considering Volumio and other systems that try to use Raspberry Pi with i2s dac’s and claim it brings audiophile quality… if you’re willing to ignore the fact that 24bit is being truncated to 16bit and the jitter is exceedingly high compared to even the cheapest cd players! That is a far cry from audiophile quality. I wonder why it took so long of reading before finding this information. Is everyone else on this forum unable to hear the difference, are they all pretending or is the problem not real? Gut feeling and early experiments tell me the problem is probably quite real, and Pi as a source for audio is probably a dead end.
In case I’m mistaken someone please enlighten me! This is very disappointing. Michelangelo, what’s your take on this?
Rubbish in -> Rubbish out.
If it’s a bad recording it will not matter what you listed to it through. A great recording / mastering will sound better than a terrible one at any bit rate / frequency. Yes our ears are all different and with age our hearing deteriorates but our eyes are similar – If I’m going to downsample a picture I’d rather start with a very high resolution one to start with. Does anyone still use a 1.3Mpixel camera to print photos from?
wrt the Pi I’d rather off load audio to i2s than attempt to stream (cat5 or wifi) in parallel to using a crappy USB audio stick. That’s why we’ve tried to keep our Pi-DAC+ and Pi-AMP+ prices as competitive as possible.
See also http://www.whathifi.com/news/high-resolution-audio-everything-you-need-to-know
lots of comments on that forum too.
Gordon@iqaudio:disqus.com
http://www.iqaudio.com
Thanks for replying. I agree, source material is half the story. Accurate reproduction the other half. Can you confirm/deny Ralf’s statements about the 24/16bit downsampling/truncating and, more importantly, the clock issue? Does the DAC take over the clock function and thus low jitter, or is total jitter in the end decided by the Pi clock, as Ralf suggests?
I have no idea where Ralf has got that information from or if it’s valid / invalid – I certainly haven’t read every line of linux code for i2s playback, and I’d be surprised in anyone else has recently. Maybe Florian knows – he wrote the i2s implementation. It’s also a moving carpet with code changes being incorporated / changed weekly. There was a point in time when 24bit was playing back as white noise (a software bug) which has been fixed many months ago, it was caused by a change elsewhere are not related to i2s playback as such.
I don’t understand the DMA discussion. DMA moves a chunk of memory contents from one location to another. It’s bit perfect.
The Pi clocks are not brilliant – we all know that and we have certainly done everything to make the best of what exists – from our boards you will see many components, if we wanted we could have just banged down the TI PCM5122 and wired it up – job done. In fact that was what our prototype was 🙂 The components are there for a reason.
The PCM5122 is working in slave mode and we use the DAC’s built in PLL to sort out the clock.
We’re talking £25 devices here guys – they will never match a £10k Linn streamer, but for the small investment it’ll sound much much better than a USB DAC and make you smile knowing that you can spend the remainder of the £10k on content, nice wine and holidays.
I find the fact that we’re all able to interact with the developers (software and hardware) first hand, make suggestions, help set product directions and be part of all this massive movement just mind blowing.
Oh, and if I could get away with charging £300+ for the Pi-DAC+ I would, but where would the fun be in that?
Also, the Sabre ES9023 data sheet appears to show no built in PLL so assuming the PCM5122 or similar PLL enabled DAC will have same jitter is simply invalid.
Gordon
You say that ‘it’ll sound much much better than a USB DAC’ but what is that based on? The evidence I’ve seen so far suggests the opposite. See for example this telling graph, measuring phase noise:
http://teholabs.com/docs/_media/openhifi2:i2ssources.png
Pi + i2s dac scores much worse than USB dac or an old CD player. Only USB to i2s with 2 separate external clocks (one for 44k family and one for 48k family) does better than the old CD player.
i2s may have a shorter signal path, but in the digital domain, clock quality and resulting jitter are far more important for the sound quality than signal path length.
I believe there are ways to have an external clock set the pace (if not on raspberry then on beagleboard) but as far as I know it has not been done yet for either device. Until then, both RPi and BBB come with onboard clocks that are particularly unsuitable for 44.1khz samplerate.
I know there’s no free lunches and don’t expect this setup to rival a £10k Linn streamer, but implying we should happily accept very mediocre sound quality and not worry about it because it’s cheap is a little disappointing. It should be able to rival a simple 200$ CD player at least, else it is not really a solution to anything. Fancy DACs and optimized playing software are not going to produce hifi sound if it all relies on a crappy clock that cannot produce an even 44.1k.
Hi Alex, sound much better IMHO wrt trying to share the usb bandwidth with HD audio playback / cat5 / wifi / local attached flash and a slow processor.
Using i2s on the Pi (not talking anything else here) is a better balanced architecture / split than shoving everything over usb.
My experience with usb audio hasn’t been a good one. We’ve been asked many times to take our DAC and shove a USB front end on it – it’s not something we’ve considered.
All is IMHO, YMMV etc etc etc.
I’m certainly not going to throw 4star on to any religious war.
G
Can Volumio support the new Wolfson card?
Where is also a Wolfson HD audio card for the Raspberry Pi: http://linuxgizmos.com/raspberry-pi-gains-wolfson-high-def-audio-card/
This is the easy soultion for anyone who wants good sound with a Pi.
Please get your facts straight guys. This is not going to work with a WM8741, it specifically states in the datasheet: “The master clock should be : “synchronised with LRCLK, although the WM8741 is tolerant of phase differences or jitter on this
clock”.
This means: you can`t just add some masterclock from anywhere, or any pcb or whatever, that you like. It would help if Udoo, Raspberry etc had Masterclock inputs, but they sadly use pll`s and division circuitry etc to derive BCK and WCK from some onboard clock somewhere.
The ES9018 & 9023 are different animals though, should work flawlessly, espescially if the masterclock is at least 192 times the input samplerate. Goodluck.
Thanks!
Do you know any (cheap) single-board computer with proper Masterclock inputs?
I wouldn’t know of any that do, but I also don’t know all boards. It would be surprising if one would support it though.
The whole I2S-story here is, in my opinion, a bit incomplete.
I2S is indeed the only protocol dac-chips use, the only exception is DSD, but that’s besides the point. The thing with i2s is though, that the exact sample rate has to be given to the dac, as well as timing problems (read:jitter) have to be of outstanding quality, to make a dac sound well, as well as measure well. What makes the Rpi, or maybe any board for that matter, flawed for serious audiophiles, is the used master clocks (or clock to be precise). It is not exactly 44K1 KHz, and the music sounds slower than it should. This is also a software issue, which uses a 19.2MHz clock to generate 44K1. That’s hard to do. I haven’t measured it, but there was a distinct difference between the direct i2s-out and an Amanero Usb->i2s board to connect to an ES9018. Those are just some things that are just as important to the perceived sound quality as leaving a few steps out in the interfacing..
My 2 cents.
Thanks once again. You seem to know what you are talking about. You might already have made some similar builds.
Question, would:
Rpi > Amanero USB I2S > ES9018 (DAC-24192-ULN)
output better audio than
Rpi > HPRC-331 audio clock > ES9018 (DAC-24192-ULN)
?
Or am I misunderstanding something here …
ny_tid, you’re understanding perfectly!
I am not a big fan of the Rpi, because of the undocumented resolution that can be played without hickups and clicks, which also seem to change wether using Usb or i2s. I would definitely recommend using an Amanero, or similar, in between, but hesitation kicks in advising this as Usb-problems with Rpi come to mind. A real , usable, advice would be to use an Udoo or Cubic I, combined with an Amanero. It rocks!
Looking at the current versions, the Cubic would be best, as it already has version 1.2 of Volumio.
I wish the guys developing this awesome product would give a little bit more insight about the status of developing on the various boards.
Ok, we are getting somewhere. Thanks!
I might join the Volumio forum. But for now I will continue here 😉
As the options increases, so does the confusion of what to choose.
So you claim that even the clever workaround that doesn’t use the unreliable USB on Rpi, but the onboard I2S will still be unpredictable?
How reliable is the CuBox-i’s USB, I2S and S/PDIF outputs? What would be the best path to a quality DAC from CuBox-i?
Is it’s USB reliable, or should the trick with going via extra an audio clock to I2S be applied again?
I see these basic scenarios for good audio in the context we are talking about:
1.
CuBox-i > Amanero USB I2S > ES9018 (DAC-24192-ULN)
2.
CuBox-i > HPRC-331 audio clock > ES9018 (DAC-24192-ULN)
3.
CuBox-i > off the shelf comerical DAC, but which interface, USB or S/PDIF?
4.
CuBox-i > HiFi amplifier with inbuilt DAC
I am also in the need of an amplifier. And I love small form factor. TEAC are renowned for their good quality at a reasonable price and well sounding. And I noticed that their network amplifier NP-H750 has got an inbuilt USB DAC (BurrBrown PCM1795). But it might not be compatible with Linux. S/PDIF might be safer.
http://www.teac.com/product/np-h750/
But of course, if the CuBox-i’s audio system works well, then a “dumb” amplifier with no modern network features will work just fine.
CuBox-i Hardware Wiki
http://imx.solid-run.com/wiki/index.php?title=CuBox-i_Hardware
ny_tid, I claim the Rpi to be unreliable in any case: where are the thorough test results of playing high-res files without hickups? At which resolution? It is being said it plays better now, but i see nobody claiming any steady results, let alone playing DSD or doing any upsampling. As a testplatform and as a study object the Rpi has been a real breakthrough, exemplary even, but I am afraid that it will stay at that level, the platform is just not powerfull enough to go beyond or be really flexible in other resolutions than cd, or a little above. Another thing is that, despite clever workarounds being made for Rpi, other boards are just usable out of the box, for almost the same price.
Anyway, it`s really good for experimenting and there is a big community.
I bought a Udoo Quad, with the idea that it could replace the Atmel controller to control the ES9018 ,and at the same time have Volumio on it. One board, 2 functions. turns out, it`s rather hard to develop code on the Udoo. It is really slow uploading code to it, has problems connecting, lacks an Eeprom and some other things, which all of a sudden doesn`t make it such an ideal piece of pcb anymore. But it does really well with Volumio. There are still some things that don`t work well on it, restarting MPD Deamon always hangs the darn thing and upsampling doesn`t want to be put in medium or higher quality settings, just to name a few. But it does play all the way to 384 KHz, 32 bits, plays DSD64, DSD128 and upsamples (again: low quality settings) every pcm format all the way up to 384 KHz. So what do I think of the Rpi in comparison? Gues..
The Cubox I is based on the same Freescale soc, so I take it the results will be the same as with the Udoo board, but I haven`t tested it, maybe someone here can verify? It also has a much newer version of Volumio, so it might also be stable restarting MPD Deamon and support higher quality upsampling. All things being said and if you want to spare waiting for other people`s testing or verification I would suggest buying a Udoo Quad and an Amanero board. Let`s hope the guys from Volumio here are ready soon with a new version for it as well. The Sabre ES9018 will rock, especially with a good onboard clock ( e.g. a Crystek 100 MHz, well known in the DIY-community). Don`t forget to look for a very good power supply for the 9018, or tweak it yourself and set the kernel setting for Volumio to Orion. It makes all the difference!
Good input again Marco
I fully respect the Rpi, but it’s been designed to be the cheapest usable board possible. So if you are demanding high quality, then Udoo or Cubox looks more fitting for this task.
As you didn’t really reply to my questions. I rephrase it. How would you (in more detail) build your (dream) digital HiFi player/DAC? Which ES9018 card, which interface etc?
What PSU do you recommend for this project?
I am leaning more towards Cubox ;), but as you write it might suffer from the same problems as Udoo does. Or maybe not with the new version of Volumio. Who knows.
Sorry for the delay, but in short: build everything yourself. There are no already made/buyable on ebay solutions that do everything right. Layout, choice of components etc must all be cherry picked to get the most out of every piece of audio equipment. Regarding interface formats: use i2s if pcm is your source, use dsd if that`s what you`re playing, but don`t convert one to the other just to make a sound. Use parts with certain flavours to do that. Best yet: choose the most neutral ones. Cerafine, Allen Bradley, linear power supplies, etc are all a great choice of basic parts. Just listen. Anyway: listening, comparing and verifying is key. Regarding digital: I
`m suspecting low EMC emissions and/or low power devices for whatever reason make the best source. Volumio is excellent for this, but sound character,flow of music etc is also depending heavily on it`s power supply, as well as its software settings. Cheers!
Marko, I just saw your remarks but too late: I already got the WM8741 board and indeed I am having important distortion problems, especially using Volumio (1.4). When i use Wheezy with the software mixer, the distortion is significantly less if I bring down the volume to 70% but still the sound is not very good.
I am using a rather simple USB to I2S board from DIYINHK and this board works well with other I2S DACs. In your view, is there a way to make the WM8741 work with the RPi?
Hi guussie,
If you”re having problems with normal audio files (no high-res etc.), and it’s is not a known bug of Volumio (I don’t follow these issues), and you use the Usb output with an Rpi or similar, then in your case I suspect there’s something wrong with your interconnects. E.g. does the distorted sound change when you fiddle with the wires that go from the DIYINHK to the WM8741?
How long are those wires? All power supplieswithin range/stable etc?
If there are no known bugs with the new software, I guess it should just work fine, regardless of the nice price of DYINHK..;)
Hi Marko,
I was indeed having some problems with my interconnects before but I eliminated those. The cable length is about 10cm (I am using a standard flat cable). Power supply is OK. I have tried with batteries and this does not change anything.
I have the same problem whether I use mpd or mplayer. But strangely, the distortion is much more significant when I use Volumio.
If the problem is indeed related to a characteristic of the WM8741 and the USB–>I2S board does not address this issue, then there may not be a solution.
The manufacturer of the board is also looking into this and is very helpful.
Weird. This may be very hard to fix, without being able to use hands etc.
The flat cable has ground wires isolating the mclk from the bclk etc?
What does come to mind is that, because volume control does change the amount of distortion, it may be that either the dac isn’t adjusted to the output of-, or Volumio isn’t to the DIYIHK. The amount of mismatch can, that way, change with volume. I guess you could change output resolution (16-32 bits) on the pc, and on Volumio if possible with an Rpi, and also change the expected bits on the WM board. That should do it.
Another thing: distortion is common with not enough power supply for the opamps after the WM-module, but that shouldn’t be the problem since it seems it’s more software related. On the other hand: you always have distortion problems, so it might be a combination of both …
G’luck!
i am trying to connnect tlv320aic23 chip to raspberry… the problem i m getting is swapping in both channel data…so can any1 help me out….
Ouch! I would like to build “The Third Way” so bad my brain hurts! I am no audio engineer and I guess I will need a lot of guidance. I found your site after reading about making a Squeezebox compatible device (Logitech Media Server) and googling for a good DAC for Raspberry Pi. I am curious to try piCorePlayer & RaspyFi / Volumio: http://www.head-fi.org/t/681593
I don’t have all the equipment.
What do I need to build it? Solder iron? If so what kind? Voltmeter?
How do I know if a power supply is good, test it with an oscilloscope? Do you have any advice for power supplies for this project?
I want to put it all in an enclosure. Is there a quality difference in RCA connectors? If so where do I find good and cheap ones? Any disadvantages for having the PSU inside the enclosure? Or would it be better with an USB connector on the outside of the enclosure forwarding to Raspberry Pi board?
http://www.ebay.com/sch/i.html?_from=R40&_nkw=%28Case%2C+enclosure%2C+enclosures%2C+Cabinet%2C+Enclosure%29&_sacat=122649
What about WiFi support?
I also would like to find a company in Europe for angled USB cables. Like this one i US http://www.angledcables.com
And thanks for all the information!
There’s also the http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi
(I haven’t tried *any* I2S cards on my Pi, just informing you of another option I’ve seen!)
The third way- how do you know which clock freq to pick?
For the ES9023 and -18, this rule applies:
Minimum clock frequency is sample rate times 192, so if you want to play a maximum sample frequency of 96KHz you need a minimum clock of 19MHz or so. If you want a really good clock, you could choose one like this, which is about €20 at Digikey or Mouser:
http://www.crystek.com/home/oscillator/clockdetail.aspx?pn=CCHD-957
Btw: you don’t need an exact multiple of the sample frequency with a Sabre DAC, you can also choose 27MHz, 35 or whatever.
Hi Mikelangeloz
Do you have a new version of Volumio that support I2S?
At the download place I only see version 1.1 !
thanks in advance
Bjarne