User:Erikos/11.3.0/Audio: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with '==aplay== ==arecord== ==csound== ==Memorize== ==Browse== ==Totem== http://projects.gnome.org/totem/ ==Gstreamer== http://gstreamer.freedesktop.org/ ==Record== ==Gnash== …')
 
No edit summary
 
(19 intermediate revisions by one other user not shown)
Line 1: Line 1:
==aplay==
==alsa==
* cat /proc/asound/cards
* arecord -l
* arecord -d 10 /tmp/test-mic.wav
* aplay /tmp/test-mic.wav


==arecord==
==ogg==
* yum install vorbis-tools
* ogg123 sound.ogg


==csound==
==csound==
You can get the example from [http://en.wikipedia.org/wiki/Csound here], just save it as .csd.
* csound -+rtaudio=alsa -odac:hw:0 sound.csd


==Memorize==
==Memorize==
Memorize uses gstreamer to playback sound (see [http://git.sugarlabs.org/memorize/mainline/blobs/master/audio.py audio.py])
* open Memorize
* load demo game: 'Sounds'
* flip tiles


==Browse==
==Browse==
===Totem===

==Totem==
http://projects.gnome.org/totem/
http://projects.gnome.org/totem/
* open an ogg file from the Journal (resume with)

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


==Gstreamer==
==Gstreamer==
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"
* try to play a sine tone by running in the terminal: "gst-launch audiotestsrc ! audioconvert ! audioresample ! alsasink"


==Record==
==Record==
Record uses gstreamer to record/playback sound

* record audio
==Gnash==
* playback audio
* record video
* playback video


==Jukebox==
==Jukebox==
Jukebox uses gstreamer to playback sound
* open an ogg file from the Journal (resume with)


==Etoys==
==Etoys==
* launch Etoys
* click the red car icon on the top-right
* click the yellow exclamation mark button next to "Car make sound: croak"


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


==TamTam==
==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.

==Pippy==
* There are examples in the in the Sound section to test.

==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.

Latest revision as of 11:59, 3 October 2011

alsa

  • cat /proc/asound/cards
  • arecord -l
  • arecord -d 10 /tmp/test-mic.wav
  • aplay /tmp/test-mic.wav

ogg

  • yum install vorbis-tools
  • ogg123 sound.ogg

csound

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

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

Memorize

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

  • open Memorize
  • load demo game: 'Sounds'
  • flip tiles

Browse

Totem

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

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

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"

Record

Record uses gstreamer to record/playback sound

  • record audio
  • playback audio
  • record video
  • playback video

Jukebox

Jukebox uses gstreamer to playback sound

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

Etoys

  • launch Etoys
  • click the red car icon on the top-right
  • click the yellow exclamation mark button next to "Car make sound: croak"

Scratch

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

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.

Pippy

  • There are examples in the in the Sound section to test.

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.