If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
The cheapest one I could find cost $10 more than the RPi itself :(
Still, you have to weigh it against the cost of the time taken to write a driver for whatever codec chip you might choose. Or maybe RaspBMC could easily be modified to drive a USB DAC, if it doesn't do that already?
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I decided to resurrect this thread, as I've built a fairly successful Pi-based music player.
I used a Raspberry Pi Model B, a £29 USB DAC from Maplin (order code A14KF) and a spare 300GB hard drive in an external USB enclosure.
Using the latest Debian Wheezy image, the DAC is recognised automatically by snd-usb-audio. Due to the Pi's slightly funky USB controller, it won't play at bit rates above 44.1k/16 bit without stuttering and interfering with the USB keyboard. I decided to continue as 99% of my music collection is in this format.
I installed mpd (the "Music Player Daemon") and ncmpc, the console-based interface for it. After making the console font bigger, this interface works nicely on a tiny £16 reversing camera monitor from Ebay, hooked up to the Pi's composite output. Due to the 44.1k/16 bit limitation, I set mpd to resample everything to this format using its highest quality setting.
So yeah, a 300GB player that supports lossless formats for under £100.
The Pi's main chip has an I2S output, and this is brought out to the GPIO pins. It would be really nice if someone would write an ALSA driver for it. Some guys over at DIYAudio tried and failed, the DMA controller was too much for them:
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
@Steve The Pis Audio & PWM DMA can be conflicted by device drivers.
#To enable the stereo analog line output: sudo modprobe snd_bcm2835 sudo amixer cset numid=3 1
#Classic way to test audio: sudo apt-get install flite sudo flite -voice slt -t "The Enrichment Center is required to remind you that you will be baked, and then there will be cake"
Not sure about bit rates, but it plays fine with the most recent Wheezy kernel overclocked at 950MHz. Most Pi issues happen with a slightly unstable power supply, and it helps to have a 2A+ external 3.3v LDO regulator for DAC chips etc.
#Run kernel update sudo raspi-config
#after script completes, re-run to overclock to "High" mode and set GPU to 16MiB sudo raspi-config
Registered Member #3272
Joined: Mon Oct 04 2010, 11:40PM
Location: Beaverton, OR
Posts: 101
Why not use a Teensy 3.0? It is an ARM cortex M4 with DSP functions at 48Mhz (Overclockable to 96) and can handle a I2S audio input. Native USB so you dont have to deal with a serial-USB bottleneck.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.