From:  erg <edross15...@gmail.com>
Reply-To:  <beagleboard@googlegroups.com>
Date:  Sunday, May 11, 2014 at 3:58 PM
To:  <beagleboard@googlegroups.com>
Subject:  [beagleboard] Re: Audio Cape and Debian

> I got mine from 
> http://boardzoo.com/index.php/new-products/bone-audio.html#.U2_-VFd7_uw
> boardzoo.com  Cost $29.95
> 
> Few other notes:
> 
> I will likely need to modify this board to include an audio amp to drive a
> speaker and an on-board mic.
Use amixer to modify the volume. Start with arecord and aplay to confirm
that your audio is working before using java.

If you have a microphone, play music from say your iPhone or Android device.
arecord -r 44100 -c 1 -f S16_LE -t wav -vv -d 25 example.wav
aplay example.wav

Regards,
John 
> 
> 
> I tried to play audio directly from Java - don't think it's gonna work without
> some indepth knowledge of the Linux and the Java audio.  My most likely
> solution will be to simply execute an external program (most likely madplay).
> aplay will only play wav files, I would rather use mp3 due to space.
> 
> I've installed maplay using
>  apt-get install madplay
> (i've tried mpg123 - but didn't seem to work and did not want to fight that
> battle 
> 
> Good luck.  I know very little of Linux, so this was a bit frustrating form
> me, I hope my notes help
> I'm not entirely sure yet, but think I will execute (from Java) lame to
> record.  
> 
> 
> 
> 
> 
> 
> On Sunday, May 11, 2014 11:06:25 AM UTC-4, Luís Costa wrote:
>> Hi,
>> 
>> where did you buy it? How much did it cost?
>> 
>> Cheers
>> 
>> On Friday, May 9, 2014 1:26:27 AM UTC+1, erg wrote:
>>> I know little of linux and not that up on audio, but in the process of
>>> building an app that uses both.  (Java app that works fine in windows).
>>> 
>>> I just bought the audio cape and a bit surprised at the lack of any docs or
>>> links to how-to.  In fact, not really sure which is the mic in and headphone
>>> out.
>>> 
>>> I'm sure this thing works, but not sure what I need to do to get it working.
>>> 
>>> Ive tried aplay, alsa, alsamixer and nothing seems to know the board is
>>> present. Using debian for the beagle board
>>> 
>>> 
>>> Is there some kind of configuration that is needed to make this work? Or, is
>>> there any docs for this board (Rev B) that explain what needs to be done?
>>> 
>>> Appreciate any help.
>>> 
>>> aplay -vv  file.wav   Seems to do something, but no audio from either of the
>>> ports.
>>> 
>>> 
>>> thx
>>> 
>>> e
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to