Quality Audio for the Raspberry Pi on the Cheap @Raspberry_Pi #PiDay #RaspberryPi

The audio for Raspberry Pi boards is legendarily bad. Michael Kercsmar wanted to find a low-cost solution for high-quality audio on his Raspberry Pi boards. Here’s more, via Raspberry Pi Maker

All of my tests were done using two different headphones. The first set is an over the ear JVC headphone that is no longer available. My second set is a Edifier H840. Both pairs have good music performance (again – these are not what I would call audiophile) and give clear sound across the whole sound spectrum. The Pi I used was a Raspberry Pi 2B. It’s the only Pi I have right now that wasn’t committed to another project. Since all Pis have the same audio out circuitry, using an older model will not affect the tests. I used the latest version of Raspbian Stretch and mpg123 (mpg123 -a plughw:1,0 song.mp3) for music playback. For the music samples I used several different mp3 files from my collection. All samples were local to the Pi and I didn’t stream any files. As with any audio test like this, the result is 90% subjective. I do think that there is a small part of the test that everyone will agree to. I did not test the audio in for any board.

See full article here!


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Select Python on Microcontrollers Newsletter: PyCon AU 2024 Talks, New Raspberry Pi Gear Available and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Halloween, WiLo, and more!

Maker Business – Adafruit Daily — Checking in on Intel

Electronics – Adafruit Daily — Are you grounded?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



1 Comment

  1. One factor of the cheap USB adaptors is the quality of their crystal oscillators. I evaluated a few different adaptors a while back for their timing accuracy and temperature stability, and there was a stark difference. It’s actually something you can “fix” yourself by replacing the likely through-hole crystal component.

    Additionally, determining the crystal frequency can help you select the best output sample rate to use to match the hardware. If it’s a 12Mhz crystal for example, then 48Khz will likely sound noticably better than 44.1Khz, moreso than just the increase in sample rate alone.

Sorry, the comment form is closed at this time.