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.
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.
What kernel version are you using?
You need to install the Audio Device Tree
BB-BONE-AUDI-02-00A0.dts
I appreciate the response - but how in the world do you install a device tree? Been searching all over the place and find billions of references to how to compile one, but struggling with what to do with the one that is already compiled.
Also - the very limited docs seem to indicate this is already installed
The current Debian images have the required patches and will play audio normally.
there are zero other docs to help someone that just wants to use this rather than become a linux guru.
I appreciate the response - but how in the world do you install a device tree? Been searching all over the place and find billions of references to how to compile one, but struggling with what to do with the one that is already compiled.
Also - the very limited docs seem to indicate this is already installed
The current Debian images have the required patches and will play audio normally.
there are zero other docs to help someone that just wants to use this rather than become a linux guru.
Since you did not specify your kernel version, it is hard to respond. However, assuming you are using V3.8.13, do the following:
Make sure the compiled BB-BONE-AUDI-02-00A0.dtbo file is installed under the /firmware folder
What I would really like is for the SD card AND audio to work.
BTW, you only need to disable BB-BONELT-HDMI. BB-BONELT-HDMIN will not conflict with your audio cape. I can only imagine that you must have some typo in uEnv.txt, because nothing you did will affect the SDCard. Maybe you should recreate your SDCard and update the uEnv.txt file on the boot partition of the SDCard.
I will likely need to modify this board to include an audio amp to drive a speaker and an on-board mic.
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.
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