User:Erikos/11.3.0/Audio: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 49: Line 49:


==TamTam==
==TamTam==
* open TamTamMini and click on the tiles

Revision as of 10:06, 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

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

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"

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

Scratch

TamTam

  • open TamTamMini and click on the tiles