Skip to content
This repository

Implements MIME-type "x-speex-with-header-byte" binary format in speex enc/dec

branch: master
README
SPEEXENC & SPEEXDEC support for "x-speex-with-header-byte" MIME *to be used with google speech recognition API*

WORKING STATUS! PLEASE TEST & GIVE US FEEDBACK!

To use the (experimental) binary format for MIME "x-speex-with-header-byte":

% speexenc --headerbyte --vbr --w --quality 3 input_file.wav compressed_file.spx

% speexdec --headerbyte compressed_file.spx decompressed_file.wav


To test against gapi:

%  curl   --data-binary @compressed_file.spx   --header 'Content-type: audio/x-speex-with-header-byte; rate=16000'   'https://www.google.com/speech-api/v1/recognize?client=chromium&lang=en-US&maxresults=2'



See INSTALL file for instruction on how to install Speex.

The Speex is a patent-free, Open Source/Free Software voice codec. Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to compress voice at bitrates in the 2-45 kbps range. Possible applications include VoIP, internet audio streaming, archiving of speech data (e.g. voice mail), and audio books. In some sense, it is meant to be complementary to the Ogg Vorbis codec.

To use the Speex command line tools:

% speexenc [options] input_file.wav compressed_file.spx

% speexdec [options] compressed_file.spx output_file.wav



Something went wrong with that request. Please try again.