Speex: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (added some links)
m (cleanup, add to category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Speex is an Audio Codex that is part of the OGG container format. Speex is optimized for voice recording and transmission. It makes for very small file sizes for voice recording. If you have a video, or audio for the olpc that just consists of speaking, you should strongly consider encoding it in Speex.
Speex is an audio codec that is part of the OGG container format. Speex is optimized for voice recording and transmission. It makes for very small file sizes for voice recording. If you have a video, or audio for the olpc that just consists of speaking, you should strongly consider encoding it in Speex.


Audiobooks should be encoded (or transcoded into) speex for size reasons, and mpeg issues.
Audiobooks should be encoded (or transcoded into) speex for size reasons, and mpeg issues.
Line 7: Line 7:
Several people are working on encoding Audiobooks in speex from existing formats.
Several people are working on encoding Audiobooks in speex from existing formats.


== Transcode ==
== Making Speex files ==
There are a few tools and programs that can output to speex. We would like our speex audio to be 16000 Hz mono quality five. This reduces file sizes from raw .wav files manyfold. If you would like to encode this via command line use the following commands:
There are a few tools and programs that can output to speex. We would like our speex audio to be 16000 Hz mono quality five. This reduces file sizes from raw .wav files manyfold. If you would like to encode this via command line use the following commands:


Line 16: Line 16:
# sox FileA.wav -r 16000 -c 1 FileB.wav
# sox FileA.wav -r 16000 -c 1 FileB.wav


== Playing Speex files back ==
==External Links==
Speex files will play back when launched from the Journal through Etoys. They should play back through "Watch & Listen" too, but don't seem to for some reason...
* [[http://www.speex.org/]] The Speex homepage.

* [[http://www.speex.org/downloads/]] The speexenc encoder can be downloaded from here.
==External links==
* [[http://www.speex.org/software]] Other software that uses Speex.
* http://www.speex.org/ is the Speex homepage.
* [http://www.speex.org/downloads/ download the speexenc encoder.]
* [http://www.speex.org/software Other software that uses Speex.]


[[Category:Audio]]
[[Category:Audio]]
[[Category:Software]]
[[Category:Software]]
[[Category:Spoken word]]

Latest revision as of 03:42, 13 August 2008

Speex is an audio codec that is part of the OGG container format. Speex is optimized for voice recording and transmission. It makes for very small file sizes for voice recording. If you have a video, or audio for the olpc that just consists of speaking, you should strongly consider encoding it in Speex.

Audiobooks should be encoded (or transcoded into) speex for size reasons, and mpeg issues.

GStreamer plays speex and works in the current build.

Several people are working on encoding Audiobooks in speex from existing formats.

Making Speex files

There are a few tools and programs that can output to speex. We would like our speex audio to be 16000 Hz mono quality five. This reduces file sizes from raw .wav files manyfold. If you would like to encode this via command line use the following commands:

  1. speexenc -w --quality 5 --vbr --comp 10 FileA.wav FileA.spx

First you should make sure that your audio is 16 kHz mono before you take it to speex

  1. sox FileA.wav -r 16000 -c 1 FileB.wav

Playing Speex files back

Speex files will play back when launched from the Journal through Etoys. They should play back through "Watch & Listen" too, but don't seem to for some reason...

External links