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

From OLPC
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 26: Line 26:


===Totem===
===Totem===
* open an ogg file from the Journal (resume with) '''[FAILED http://dev.laptop.org/ticket/11296]'''
* open an ogg file from the Journal (resume with) '''[OK]'''
http://projects.gnome.org/totem/
http://projects.gnome.org/totem/


Line 35: Line 35:
http://gstreamer.freedesktop.org/
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"
* 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]'''
* try to play a sine tone by running in the terminal: "gst-launch audiotestsrc ! audioconvert ! audioresample ! alsasink" '''[OK]'''


==Record==
==Record==
Record uses gstreamer to record/playback sound
Record uses gstreamer to record/playback sound
* record audio '''[FAILED http://dev.laptop.org/ticket/11296]'''
* record audio '''[OK, the recorded sound is low quality though]'''
* playback audio '''[FAILED http://dev.laptop.org/ticket/11296]'''
* playback audio '''[OK]'''
* record video '''[FAILED http://dev.laptop.org/ticket/11296]'''
* record video '''[OK]'''
* playback video '''[FAILED http://dev.laptop.org/ticket/11296]'''
* playback video '''[OK]'''
See as well http://dev.laptop.org/ticket/11657 for a related issue.


==Jukebox==
==Jukebox==
Jukebox uses gstreamer to playback sound
Jukebox uses gstreamer to playback sound
* open an ogg file from the Journal (resume with) '''[FAILED http://dev.laptop.org/ticket/11296]'''
* open an ogg file from the Journal (resume with) '''[OK]'''


==Etoys==
==Etoys==
* launch Etoys
* launch Etoys
* click the red car icon on the top-right
* click the red car icon on the top-right
* click the yellow exclamation mark button next to "Car make sound: croak" '''[FAILED http://dev.laptop.org/ticket/11193]'''
* click the yellow exclamation mark button next to "Car make sound: croak" '''[OK]'''
* record a sound in etoys (widget in the sandbox): '''[FAILED when playing back there is no output]'''


==Scratch==
==Scratch==
* launch Scratch
* launch Scratch
* on the left select 'Sound' as category
* on the left select 'Sound' as category
* click on 'play sound [meow]' '''[FAILED http://dev.laptop.org/ticket/11193]'''
* click on 'play sound [meow]' '''[OK]'''


==TamTam==
==TamTam==
* open TamTamMini and click on the tiles '''[OK]'''
* open TamTamMini and click on the tiles '''[]'''


==Speak==
==Speak==
Line 68: Line 70:


==Distance==
==Distance==
* Distance use aplay/arecord to meassure distance between XOs. '''[FAILED, http://bugs.sugarlabs.org/ticket/3072]'''
* Distance use aplay/arecord to meassure distance between XOs. '''[]'''


==Change Volume==
==Change Volume==
* The user can change the volume with a device in the Sugar frame or using the special keys in the XO. '''[OK]'''
* The user can change the volume with a device in the Sugar frame or using the special keys in the XO. '''[]'''

Latest revision as of 16:04, 29 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)

  • open Memorize
  • load demo game: 'Sounds'
  • flip tiles [OK]

Browse

Totem

  • open an ogg file from the Journal (resume with) [OK]

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" [OK]

Record

Record uses gstreamer to record/playback sound

  • record audio [OK, the recorded sound is low quality though]
  • playback audio [OK]
  • record video [OK]
  • playback video [OK]

See as well http://dev.laptop.org/ticket/11657 for a related issue.

Jukebox

Jukebox uses gstreamer to playback sound

  • open an ogg file from the Journal (resume with) [OK]

Etoys

  • launch Etoys
  • click the red car icon on the top-right
  • click the yellow exclamation mark button next to "Car make sound: croak" [OK]
  • record a sound in etoys (widget in the sandbox): [FAILED when playing back there is no output]

Scratch

  • launch Scratch
  • on the left select 'Sound' as category
  • click on 'play sound [meow]' [OK]

TamTam

  • open TamTamMini and click on the tiles []

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

  • Distance use aplay/arecord to meassure distance between XOs. []

Change Volume

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