Difference between revisions of "BeagleBone"

From Robert-Depot
Jump to: navigation, search
(Pockesphinx)
(Audio)
Line 56: Line 56:
 
*purchase usb sound card.
 
*purchase usb sound card.
 
*connect stereo microphone.  
 
*connect stereo microphone.  
*arecord:
+
*record audio with arecord:
 
**<code>arecord -D sysdefault -t wav -c 2 -r 44100 -f S16_LE -v binaural2.wav</code>
 
**<code>arecord -D sysdefault -t wav -c 2 -r 44100 -f S16_LE -v binaural2.wav</code>
*play:
+
*play audio:
 
**<code>aplay binaural2.wav</code>
 
**<code>aplay binaural2.wav</code>
*use the ALSA mixer to set recording levels, output levels, etc.
+
*use the ALSA mixer to set recording levels, output levels, etc.:
 
**<code>alsamixer</code>
 
**<code>alsamixer</code>
  

Revision as of 17:19, 22 May 2013

Setup

Debugging

TTL Cable

954bbb_MED.jpg

(RED IS NOT CONNECTED)

ssh not working

Hardware

PyBBIO

GPIO

gpio - http://beaglebone.cameon.net/home/using-the-gpios

Servo

Serial Communication

Ubuntu

Angstrom

  • update opkg:
    • opkg update
  • install pyserial:
    • opkg install python-pyserial

Pockesphinx

Audio

  • purchase usb sound card.
  • connect stereo microphone.
  • record audio with arecord:
    • arecord -D sysdefault -t wav -c 2 -r 44100 -f S16_LE -v binaural2.wav
  • play audio:
    • aplay binaural2.wav
  • use the ALSA mixer to set recording levels, output levels, etc.:
    • alsamixer

Debian

Installing Ubuntu

Curses

  • install python-curses:
    • opkg install python-curses

Other