Help - Search - Members - Calendar
Full Version: How Convert spx to adpcm
Hydrogenaudio Forums > Lossy Audio Compression > Speech Codecs
manuelator
hi i'm looking for a tool to convert spx to wacv, ima-adpcm in console mode, i know sox, but don't accept oog/spx files.

Somebody know a tool or a sox "modified" with spx and ogg support?

It's for windows

Many thanks
Mono
Actually SoX does support Ogg Vorbis. It does not support Speex. Why cannot you just pipe the decoder of Speex to the encoder of SoX?
manuelator
How i can make this "pipe"?
kjoonlee
The '|' vertical bar character serves as a pipe; it pipes the output of the program on its left to the input of the program on its right.

cat foofile | less


speexdec --decode-to-standard-output foo.spx | sox --convert-from-standard-input --convert-to-adpcm output.wav

Consult your speexdec/sox manuals, and adjust as necessary. smile.gif
cabbagerat
Should look something like this:
speexdec myfile.spx - | sox -r 44100 -w -c2 - -i -r44100 -c2 myfile.wav
That should convert myfile.spx to ima-adpcm myfile.wav
manuelator
Any fast or hyper fast speexdecode? THe nomal one it's really slow.
jmvalin
QUOTE(manuelator @ Mar 6 2005, 03:05 AM)
Any fast or hyper fast speexdecode? THe nomal one it's really slow.
*



I don't know what you're using, but normally on a recent machine you can decode several hundreds (thousand?) seconds of speech in one second.
manuelator
i'm using a p4 with ht at 2.6 ghz with 512 ram.
And for decode a for example 1500 samples of 2 sec's i spend aprox 7.5 ' (minutes) :-|
manuelator
Hi agsain i found a small to encode a variuos wav , lika ms.adpcm. ima adpcm, etc....and it's GNU, and the best it's really more fast than sox.

The web address it's:
http://www.mega-nerd.com/libsndfile/

And the autor forgott to add the sentence: make install.

It compile very good for win32, under msys, ;-D

Really more faster.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.