skip to content
AdaWiki
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
You are here:
start
»
chumbyhackerboard
»
audio
Trace:
chumbyhackerboard:audio
====== Playing local MP3s ====== You can play MP3's off of your USB key or if you've copied any to the **/mnt/storage** space with **btplay --start-daemon file.mp3** {{:chumbyhackerboard:btplay.gif|}} MP3's will play in the background. To kill **btplay** run **killall btplay** Audio will play through the headphone jack at max volume, just plug in your favorite headphones! (Warning: it may be really loud!) ====== Playing remote MP3s! ====== You can also stream music with **btplay**, just stick a URL in there! Of course, you will have to have network capability up and running first {{:chumbyhackerboard:soma.gif|}} Just as before, just plug into the headphone jack to verify its working. (Warning: it may be really loud!) ====== Splitting out the A/V ====== The headphone jack is not actually just audio - its actually Audio and Video. That means that you if you just plug headphones you'll notice some buzzing - thats you listening to the video! Now if you're in a Cronenberg film this is probably OK but for most of us its very annoying! There are two solutions. One is to split out the 3 signals into RCA jacks (with a camcorder cable) {{http://www.adafruit.com/images/medium/avcable_MED.jpg}} and then recombining with an RCA Y cable (such as [[http://www.sweetwater.com/store/detail/YRA154/|a Y female-RCA to male 3.5mm]] or [[http://www.sweetwater.com/store/detail/CMR206/|this]] **Note** our A/V cables split out the signals as such - **Red** is Video, **White** and **Yellow** are stereo line-level audio which is not what you would expect! ====== Using the Mixer ====== If you want to change the volume of the headphones, you'll need to run the audio mixer software **amixer** {{:chumbyhackerboard:amixer.gif|}} You can get and change the HeadPhone volume (**HP**) by running **amixer sget HP** and **amixer sset HP** {{:chumbyhackerboard:sgethp.gif|}} To set the volume to 1/2 for example, do this **amixer sset HP 64** {{:chumbyhackerboard:ssethp.gif|}} ====== Speaker ====== The iMX.233 has a built-in mono speaker amplifier that can push up to 2W into a 8 ohm speaker! To use, connect the two speaker inputs into the **Spkr** 0.1" JST connection near the power jack. You can use either pin, they are not polarized as it is a mono output. The chumby is 'switched' by default - if you connect headphones into the jack, the speaker will turn off and vice versa. If you want the speaker on even with the headphone plugged in, you can use **amixer cset** {{:chumbyhackerboard:amixercset.gif|}} For example, the Speaker Playback Switch is off, so we turn it on with **amixer cset numid=4 on** to reactivate
/home/ladyada/public_html/wiki/data/attic/chumbyhackerboard/audio.1283193634.txt.gz
· Last modified: 2016/01/28 18:05 (external edit)
Page Tools
Show page
Old revisions
Backlinks
Back to top