Re: [beagleboard] BeagleBone Black & Audio

10,080 views
Skip to first unread message

Gerald Coley

unread,
Apr 25, 2013, 8:57:46 AM4/25/13
to beagl...@googlegroups.com
Well, I am sure there are a lot of people that want something else added to the board. If I added all those features, at it would cost a LOT more that the current price can support. It can't have everything on it.

There is a cape that can plug in, called the Audio cape, that can give you access to the audio jacks. The audio cape was less expensive than the original BeagleBone. We build the BeagleBone Black in 100K quantities. The audio cape is not built in 100K quantities, but in quantities of 100. That means the parts cost more and that results in the board costing more.

Gerald


On Thu, Apr 25, 2013 at 4:40 AM, <victor....@gmail.com> wrote:
Hello,

I'm looking forward to buy a BeagleBone black because it features HDMI but I'm disapointed there is not audio jack 3.5 output.
I know that audio can transit via HDMI but I would like to use the BeagleBone as a media center (including audio) and I need multiple outputs.

1. Is there any way to extract audio to a 3.5mm audio jack from the HDMI (a solution that cost less than 40$)
2. Why are the audio capes so expensive ? They cost more than the BeagleBone itself :|

Any advice appreciated on how-to connect a BeagleBone (black or not) to a 3.5 mm jack.

Bye bye

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Gerald
 

Netland Holding

unread,
Apr 25, 2013, 9:12:31 AM4/25/13
to beagl...@googlegroups.com
Gerald,

I am looking for a similar solution. Apart from using the audio cape, which is of course a perfectly good solution,
what do you suggest if I want to connect a PCM source to the BBB? We will be designing our own PCB for this,
I know the Audio Cape is opensource hardware, so we can use that, but do we really need it, or can we connect
from a PCM source directly?

Thanks for any insights,
Ron





2013/4/25 Gerald Coley <ger...@beagleboard.org>



--
---
Netland Holding BV
Galjoen 6
1113 GS Diemen

Gerald Coley

unread,
Apr 25, 2013, 9:16:27 AM4/25/13
to beagl...@googlegroups.com
The full McASP is available on the expansion connectors. Just configure it to accept the PCM data and write your SW. No CODEC is needed. You do not need the audio cape.

Gerald

Netland Holding

unread,
Apr 25, 2013, 9:21:01 AM4/25/13
to beagl...@googlegroups.com
Gerald,

Thanks! Much appreciated! Is this supported in recent kernel version as an ALSA device?
I am very willing to do my own research on this, but can you point me in the right direction for that part too?

Many thanks
Ron

Gerald Coley

unread,
Apr 25, 2013, 9:28:12 AM4/25/13
to beagl...@googlegroups.com
I am not exactly sure. I will defer this to the software folks. If not, there should be plenty of references out there you can look out to get it going.

Gerald

Jason Kridner

unread,
Apr 25, 2013, 9:57:55 AM4/25/13
to beagl...@googlegroups.com
There are USB audio dongles under $10. 

Carl Johnson

unread,
May 3, 2013, 7:50:34 PM5/3/13
to beagl...@googlegroups.com
Jason,

Does your recommendation to purchase a USB audio dongle mean that there won't be support for the audio cape on the BeagleBone Black?  I have an audio cape but it isn't currently working on the Black.  The logs show that the device tree and firmware for the cape is loaded, but it isn't recognized by alsa.  I'm running 3.8.11 Angstrom.

Gerald Coley

unread,
May 3, 2013, 7:53:38 PM5/3/13
to beagl...@googlegroups.com
From my standpoint, it does not mean this. Not exactly sure how you came to that conclusion.

Gerald



On Fri, May 3, 2013 at 6:50 PM, Carl Johnson <bony...@gmail.com> wrote:
Jason,

Does your recommendation to purchase a USB audio dongle mean that there won't be support for the audio cape on the BeagleBone Black?  I have an audio cape but it isn't currently working on the Black.  The logs show that the device tree and firmware for the cape is loaded, but it isn't recognized by alsa.  I'm running 3.8.11 Angstrom.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Carl Johnson

unread,
May 3, 2013, 8:02:14 PM5/3/13
to beagl...@googlegroups.com
It's not a conclusion - it's a question.  I'm just wondering if there are plans to support the audio cape on the BeagleBone Black.  It isn't currently working for me, and I'd like to know if it should be working, if the support for it is in progress, or if there are no plans to support it.

Gerald Coley

unread,
May 3, 2013, 8:06:43 PM5/3/13
to beagl...@googlegroups.com
Yes. There is a plan to support all of the existing capes if possible. All are being worked on as we speak, but it is going to take some time  They all have to updated to the 3.8 kernel and some may require some design changes in order to work with the eMMC. It all depends on the cape and the design of the cape. Device Tree complicates a lot  things and the Cape Manager is intended to help solve that, but as I said, it will take some time.

Gerald



On Fri, May 3, 2013 at 7:02 PM, Carl Johnson <bony...@gmail.com> wrote:
It's not a conclusion - it's a question.  I'm just wondering if there are plans to support the audio cape on the BeagleBone Black.  It isn't currently working for me, and I'd like to know if it should be working, if the support for it is in progress, or if there are no plans to support it.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Carl Johnson

unread,
May 3, 2013, 8:12:20 PM5/3/13
to beagl...@googlegroups.com
Gerald,

Thanks for your speedy response.  I know you guys are getting hammered with posts saying that various things aren't working on the BeagleBone Black, but overall I'm really impressed with it.  This was an outstanding effort  - great job!

Gerald Coley

unread,
May 3, 2013, 8:15:35 PM5/3/13
to beagl...@googlegroups.com
Thanks! Capes is the top of our list, not counting all the little things that are giving us issues! This new kernel is different than the 3.2 version.

Gerald



On Fri, May 3, 2013 at 7:12 PM, Carl Johnson <bony...@gmail.com> wrote:
Gerald,

Thanks for your speedy response.  I know you guys are getting hammered with posts saying that various things aren't working on the BeagleBone Black, but overall I'm really impressed with it.  This was an outstanding effort  - great job!

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Vladimir Pantelic

unread,
May 6, 2013, 4:06:10 AM5/6/13
to beagl...@googlegroups.com
victor....@gmail.com wrote:
> Hello,
>
> I'm looking forward to buy a BeagleBone black because it features HDMI
> but I'm disapointed there is not audio jack 3.5 output.
> I know that audio can transit via HDMI but I would like to use the
> BeagleBone as a media center (including audio) and I need multiple
> outputs.

take note that due to the lack of a dedicated HW Decoder, the Bone is
not the first choice for a media center if said media includes moving
images in high definition and at eye pleasing frame rates.

Multiple audio is fine though.


Michael Bunsen

unread,
May 6, 2013, 10:43:48 AM5/6/13
to beagl...@googlegroups.com
Looking forward to playing with audio synthesis and multiple outs on
the BeagleBone Black as well. I currently have good luck running
PureData patches on the XM.
> --
> For more options, visit http://beagleboard.org/discuss
> --- You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/8Zc9DPd7rxc/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
MICHAEL BUNSEN
DATA WRANGLER

ATELIER ACE
7 WEST 30TH ST
12TH FLOOR
NEW YORK, NY 10001
BLOG.ACEHOTEL.COM
M: 503.928.4124
#ACEHOTEL on
IRC.FREENODE.NET
@MIHOW

rob...@gmail.com

unread,
Jun 22, 2013, 4:24:21 AM6/22/13
to beagl...@googlegroups.com, michael...@acehotel.com
Just to confirm, Adrian's cheap (and not very well reviewed!) usb device worked perfectly:

~#root@beaglebone:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Black
    TI BeagleBone Black, 
    Default Audio Device
sysdefault:CARD=Set
    C-Media USB Headphone Set, USB Audio
    Default Audio Device

~#mplayer -ao alsa:device=sysdefault=Set -playlist 'http://radio.intergalacticfm.com/6.m3u'

Resolving radio.intergalacticfm.com for AF_INET6...

Couldn't resolve name for AF_INET6: radio.intergalacticfm.com
Resolving radio.intergalacticfm.com for AF_INET...
Connecting to server radio.intergalacticfm.com[85.17.122.138]: 80...

Cache size set to 320 KBytes
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team
162 audio & 361 video codecs

Resolving 85.17.122.138 for AF_INET6...

Couldn't resolve name for AF_INET6: 85.17.122.138
Connecting to server 85.17.122.138[85.17.122.138]: 80...

Name   : Radio Free Robotron
Genre  : electronic
Public : yes
Bitrate: 128kbit/s
Cache size set to 320 KBytes
Cache fill:  2.50% (8192 bytes)   
ICY Info: StreamTitle='Raymond Scott - Ripples (montage)';
Cache fill: 15.00% (49152 bytes)   

Detected file format: Audio only
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Thanks, Adrian!

On Wednesday, May 8, 2013 9:43:35 AM UTC-7, Adrian Valenzuela wrote:
I use a $10 USB audio dongle and it worked fine. Just plugged it in, rebooted, and it played audio.  This is the one I have: http://www.amazon.com/dp/B002R33VWW

The default audio device is the HDMI output so you may have to change the default playback device or configure your player to pick the USB device each time.

to test I ran the following after reboot:

# root@beaglebone:~# aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Black
    TI BeagleBone Black,
    Default Audio Device
sysdefault:CARD=Black
    TI BeagleBone Black,
    Default Audio Device
default:CARD=Device
    Generic USB Audio Device, USB Audio
    Default Audio Device
sysdefault:CARD=Device
    Generic USB Audio Device, USB Audio
    Default Audio Device

# root@beaglebone:~# speaker-test -D default:Device

Adrian

csti...@gmail.com

unread,
Jul 18, 2013, 10:32:12 AM7/18/13
to beagl...@googlegroups.com, michael...@acehotel.com
Adrian-
 
I am very interested in your reply and suggestion to use the USB audio dongle.  Can you tell me a bit more about this?
 
Were you able to use it directly with the Beagelbone Black?  No firmware or software updates required?
 
Does this device appear as a USB 1.0/2.0 class target device and get enumerated, etc. automatically?  That is, does the Beaglebone Black firmware already include the necessary drivers to support this device?  Or, did the device come with drivers you had to install?
 
 
Thank you very much in advance for your reply!  Can you copy your response to my email address listed below?
 
 
Thanks & Very Best Regards,
Craig
Cary, IL
 
 

On Wednesday, May 8, 2013 11:43:35 AM UTC-5, Adrian Valenzuela wrote:
I use a $10 USB audio dongle and it worked fine. Just plugged it in, rebooted, and it played audio.  This is the one I have: http://www.amazon.com/dp/B002R33VWW

The default audio device is the HDMI output so you may have to change the default playback device or configure your player to pick the USB device each time.

to test I ran the following after reboot:

# root@beaglebone:~# aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Black
    TI BeagleBone Black,
    Default Audio Device
sysdefault:CARD=Black
    TI BeagleBone Black,
    Default Audio Device
default:CARD=Device
    Generic USB Audio Device, USB Audio
    Default Audio Device
sysdefault:CARD=Device
    Generic USB Audio Device, USB Audio
    Default Audio Device

# root@beaglebone:~# speaker-test -D default:Device

Adrian

On Monday, May 6, 2013 9:43:48 AM UTC-5, Michael Bunsen wrote:

jan.b...@gmail.com

unread,
Aug 30, 2013, 10:54:04 AM8/30/13
to beagl...@googlegroups.com, michael...@acehotel.com, csti...@gmail.com
Just so you know, this is a generic USB audio in- and output card based on the C-media chipset. Very similar ones can be found for as little as $2 on sites like DealeXtreme.
They work very well with Linux but of course do not contain the best and most expensive ADC/DAC. Much better (prosumer) audio interfaces can be had for $50 to $100 and more (think Cakewalk/Roland, E-mu/Creative, TASCAM...).

Op donderdag 18 juli 2013 16:32:12 UTC+2 schreef csti...@gmail.com:

mattn...@gmail.com

unread,
Apr 17, 2014, 12:32:10 AM4/17/14
to beagl...@googlegroups.com, victor....@gmail.com
Hi Victor:
    The SoundsCape by Simple Media Networks may be just what you are looking for: http://kck.st/1jumP8o  

This cape provides line out & Headphone out with some very nice mixing features.

On Thursday, April 25, 2013 5:40:48 AM UTC-4, victor....@gmail.com wrote:
Hello,

I'm looking forward to buy a BeagleBone black because it features HDMI but I'm disapointed there is not audio jack 3.5 output.
I know that audio can transit via HDMI but I would like to use the BeagleBone as a media center (including audio) and I need multiple outputs.

Reply all
Reply to author
Forward
0 new messages