User:Erikos/11.3.0/Audio/test os9: Difference between revisions

From OLPC
Jump to navigation Jump to search
(init for testing os29)
 
Line 4: Line 4:
* cat /proc/asound/cards
* cat /proc/asound/cards
* arecord -l
* arecord -l
* arecord -d 10 /tmp/test-mic.wav '''[FAILED, maybe still a basic issue http://dev.laptop.org/ticket/10831]'''
* arecord -d 10 /tmp/test-mic.wav
* aplay /tmp/test-mic.wav '''[OK]'''
** aplay /tmp/test-mic.wav '''[FAILED, noisy output]'''
* arecord -d 10 -f cd /tmp/test-mic.wav
** aplay /tmp/test-mic.wav '''[OK]'''


==ogg==
==ogg==

Revision as of 18:09, 24 February 2012

These are the test cases for os29.

alsa

  • cat /proc/asound/cards
  • arecord -l
  • arecord -d 10 /tmp/test-mic.wav
    • aplay /tmp/test-mic.wav [FAILED, noisy output]
  • arecord -d 10 -f cd /tmp/test-mic.wav
    • aplay /tmp/test-mic.wav [OK]

ogg

  • yum install vorbis-tools
  • ogg123 sound.ogg [OK]

csound

You can get the example from here, just save it as .csd.

  • csound -+rtaudio=alsa -odac:hw:0 sound.csd [OK]

Memorize

Memorize uses gstreamer to playback sound (see audio.py)

Browse

Totem

http://projects.gnome.org/totem/

Gnash

http://www.gnu.org/s/gnash/

Gstreamer

http://gstreamer.freedesktop.org/

  • run gst-inspect on the output plug-in you want to use to make sure you have it installed, e.g. "gst-inspect alsasink"
  • try to play a sine tone by running in the terminal: "gst-launch audiotestsrc ! audioconvert ! audioresample ! alsasink" [FAILED]

Record

Record uses gstreamer to record/playback sound

Jukebox

Jukebox uses gstreamer to playback sound

Etoys

Scratch

TamTam

  • open TamTamMini and click on the tiles [OK]

Speak

  • open the activity, a prase will be spoken. You can write text to be spoken by the robot. [OK]

Pippy

  • There are examples in the in the Sound section to test. [OK]

Distance

Change Volume

  • The user can change the volume with a device in the Sugar frame or using the special keys in the XO. [OK]