1/11/2025 at 6:09:24 PM
If you're going through all the effort to design a PCB have you thought about driving the I2S input digitally? I skimmed through the AD85050 datasheet and it has internal DSP functionality which would have been already tuned for the drivers and box by Marshall. The reason powered boxes sound decent despite their relatively cheap hardware is because of the extensive processing they have in the background to compensate for any hardware defiencies.As the AD85050 has a stereo I2S input there's a possibility for the actual crossover to be either done on the amp chip itself (with the same signal driving both channels) or done on the Amlogic SOC. The latter would be ugly as you would need another DSP chip on your board to do the crossover functionality, or perhaps you could program the AD85050 via I2C to add the appropiate low and high pass filters.
A two channel A/D converter would work on the front end, as you could drive both channels with a single analog input to get a stereo I2S out with duplicate channels to drive the amp. A USB input would be much messier if you want true stereo using two speakers unless you plan on doing routing on the software side. With SPDIF you probably could get away with splitting the signal and using a SPDIF to I2S converter chip in each speaker, but you would still need some way to separate out the left and right channels. The AD85050 has mixing functionality via I2C which may help with that.
And of course, all this might be more work than desigining an amp in the first place, and it really depends if you want to explore the analog or digital side of things.
by mysteria
1/11/2025 at 6:29:53 PM
> The reason powered boxes sound decent despite their relatively cheap hardware is because of the extensive processing they have in the background to compensate for any hardware defiencies.I will not argue that that could be one ingredient, but a couple of months ago I did a toy for my kids, I bought decent speakers, placed them in a cheap plastic box, and was absolutely amazed bybthe sound quality. The amplifier is a sub 1 dollar class D bought in a Raspberry Pi shop. No processing at all. If the box is sturdy and sealed, and the speaker is good, is incredible what you can do.
by f1shy
1/11/2025 at 7:17:32 PM
Most cheap amp ICs perform well when they're outputting less than a watt, with distortion barely audible. Try connecting the same amp board to your main HiFi system if you have one and do some listening tests against the original HiFi amp. Then turn it up and it's a completely different story.As always the speakers are the crucial part and having decent speakers will make a big difference. What a DSP can do is correct bad speakers to some degree. A typical cheap computer speaker has a muddy midrange, can't reproduce past 13 kHz or so, and has little bass due to the small driver. With DSP the manufacturer would typically low pass the amp input, smooth out the nonlinear frequency response, lift the bass a bit, and apply compression and limiting to increase perceived volume and protect the system. The results are still constrained by physics but the manufacturer is in this case able to save money on the drivers and box while getting similar sound quality.
by mysteria
1/11/2025 at 8:55:22 PM
Yes, of course is not hifi. Not in any dreams, but for the price, being 2 orders of magnitude less money, impressive. Also in comparison with old little radios, much much much better.by f1shy
1/11/2025 at 6:33:20 PM
I'm interested in which speaker and amp those were. Also, the plastic box :)by acchow
1/11/2025 at 8:53:16 PM
The amp: https://www.reichelt.de/de/de/shop/produkt/entwicklerboards_...The speakers: https://www.reichelt.de/de/de/shop/produkt/breitbandlautspre...
Box: https://www.reichelt.de/de/de/shop/produkt/gehaeuse_serie_op...
Design of a friend, final product looks like this: https://hackaday.io/project/198249-untonie-antony
by f1shy
1/11/2025 at 6:36:51 PM
Not the OP, but if you have a little budget, HifiBerry's AMP2 [0] sounds great. After my dad gave his Hi-Fi stack to me (due to having no space at home), I built a small system with this and connected to a set of passive 2.1 Kenwood Hi-Fi speakers for him. They sound amazing, plus HiFiBerry OS is superb for connectivity.I just want to note that software is built with collaboration of Bang & Olufsen. Both hardware and software oozes quality.
[0]: https://www.hifiberry.com/shop/boards/dealing-with-blocked-p...
by bayindirh
1/12/2025 at 2:09:33 PM
The hifiberry documentation is a mess. Let’s say you want to get rid of your Sonos system and start at zero with a Pi (it’s not my first one)… which features could be replaced by hb? What hardware should I buy? Which licenses?by Ringz
1/12/2025 at 4:34:12 PM
I don't have a Sonos system, but I'll try my best to run it down for you.Platform has two starting points: Raspberry Pi + AMPs (or DACs) or Beocrate [0]
If you go with the former, you need a Raspberry Pi 4 or 5 (even 2GB models are OK), HiFiberry board of your choice, a case (available from HifBerry), and a PSU in 19-24V range.
My setup is as follows:
- Kenwood 2.1 passive Hi-Fi speakers.
- HifBerry AMP2
- Raspberry Pi 4 / 2GB
- Steel case for Raspberry Pi + Board
- 20V Meanwell power supply with a barrel jack.
If you prefer to use your own amp or powered speakers, there are DACs which you can directly connect to line level inputs. They support the same OS, and some are even support XLR outputs or multichannel I/O for production/studio needs.If you want go all in, you can add a DSP into the mix which allows parametric eqaualization, and room compensation with optional USB Mic (similar to how B&O speakers measure room to self-optimize). Also you can design your own DSP chains and upload to the DSP.
Regardless of the OS you run (HifBerry OS or HifiBerry OS64 (which is beta)), you get the following services out of the box:
- Roon
- AirPlay
- Spotify Deamon
- Spotify Connect
- RadioBrowser & TuneIn support
- Squeezelite for Logitech/Squeezebox
- Music (for local files)
- Bluetooth
Spotify daemons require a premium (Spotify) subscription and Roon needs a license/subscription.There are also extensions, but I don't use any of them and don't know what's available.
I use the system mostly with MPD to play music from my and dad's personal collections. MPD can also connect to a Samba server.
If you have any other questions, I will try my best to answer. Hope this helps.
by bayindirh
1/14/2025 at 11:02:29 AM
This helps a lot! Thank you very much!by Ringz
1/11/2025 at 10:48:34 PM
It's been shown that, at least for guitar speakers, the box they're in doesn't matter at all. The entirety of the sound quality or lack thereof is in speaker itself. Of course that is only one speaker , no crossover to worry about.by Blackthorn
1/12/2025 at 3:56:34 AM
Jim Lill has a video on Youtube testing exactly that. It demonstrates conclusively that cabinet design for guitar speakers makes a difference:https://www.youtube.com/watch?v=-eeC1XyZxYs
This is hardly surprising; cabinet design matters for every kind of loudspeaker. Note also that electric guitars can produce a wide range of frequencies, especially once you add distortion. Distortion generates additional tones both higher and lower in frequency than those already present.
by mrob
1/12/2025 at 5:29:17 AM
Oh man, I've got some egg on my face for this one. I actually have a guitar cabinet that has a special geometry that disperses the sound in an area instead of directionally like guitar speakers normally do, which I bought explicitly for that purpose! Despite this, I still said what I had said, a couple posts up. How embarrassing.by Blackthorn
1/11/2025 at 11:57:40 PM
That's entirely untrue, particularly at lower frequencies. This isn't audiophile cork-sniffing - the behaviour of a loudspeaker can be radically altered by the design of the enclosure. Entire textbooks have been written on the topic.https://www.amazon.com/Introduction-Loudspeaker-Design-John-...
by jdietrich
1/12/2025 at 2:13:28 AM
Guitar speakers, famously known for their low range.by Blackthorn
1/12/2025 at 11:49:58 AM
Open low E is 82hz. That’s pretty low.by TylerE
1/11/2025 at 6:28:55 PM
Marshall speakers, from my experience, has a brand sound signature, and that tuning is not very optimal for every genre of music.Replacing the DSP with a simpler amplifier may allow to get more detailed sound from the drivers and the box themselves and may create a more pleasant listening experience.
From what I have seen, the drivers seem pretty full-size for that box, and any disturbing sound characteristic can be tuned with a simple equalizer. A more dynamic approach might create audibly weird sound profile if done wrong.
Modern DSPs are magic, but I still prefer an audio pipeline where things show their deficiencies and not hide things real-time.
by bayindirh
1/11/2025 at 6:47:09 PM
I have the same thoughts about the approach, and I'm actually working (on the back burner) a similar thing. It's a harman kardon "smart" speaker with a similar design where the brains are on a separate daughterboard and that's now fried.I've already figured out the control signals and have designed a new daugterboard with an ESP32 to drive the I2S output. I just need to figure out how to downmix the audio to mono and to DSP the L/R channels into tweeter/bass outputs, or to find some code already out there that does this. Any help/pointers here would be appreciated!
by zxcvgm
1/12/2025 at 5:51:07 PM
One thing you might find helpful is to prototype things with GNU Radio and a GRC flowgraph. I'm not sure that would be useful for running on the ESP32, but you could at least tinker around with signal processing tactics that you could implement on it.by flyinghamster
1/11/2025 at 6:32:02 PM
I assume you mean AD85050 (rather than AD8255). And yes, the last paragraph before "Going all-in" is about the idea of driving the I2S. But the I2C config sent to the ESMT chip would have had to be reverse-engineered as well...by AstroNoise58
1/11/2025 at 6:56:41 PM
Fixed, thanks. Somehow the title of the datasheet pdf is AD8255 despite the chip being an AD85050.by mysteria
1/11/2025 at 8:42:34 PM
There’s no shortage of projects on YouTube where people are 3d printing their own speakers, including arranging electronics.Pretty neat for any former car audio heads.
by j45