OESF Portables Forum
General Forums => General Discussion => Topic started by: havoc on March 14, 2004, 01:15:53 am
-
I\'m almost afraid to post this here, but....
I would like to have the speex decoder and encoder on my Z. What would REALLY be nice would be a voice recorder hack that would record directly to speex format.
I am only a lowly Perl hack.
Anybody got ideas on what it would take to bring Speex to the Z? Is it even worth the trouble?
for those unfamiliar with Speex:
http://www.speex.org/ (http://www.speex.org/)
\"Speex is an Open Source/Free Software patent-free audio compression format designed for speech.\"
I\'m running a 5600. I honestly don\'t know if the CPU could pull that load, or if the codec would just require too much memory.
thanks.
-
I have done some Speex development in the past. I was actually using the Java bindings as to build a Java application. I do not think that these bindings would run on the Zaurus. I currently do not own a Zaurus but from reading the specifications I do feel the Zaurus is up to the task using the C code. I am very interested in Speex and wish to continue developing projects using it. I will be ordering a Zaurus SL-6000 when it comes available and will hopefully start development on this project shortly thereafter. I will keep everyone posted on my progress.
-
I\'ve got it compiling, but it looks like it\'ll try linking against my x86 version of libogg (which isn\'t ideal ;-)), so it\'ll crash eventually (the build process that is).
I\'ll try to find the libogg source and let you know how it goes.
Si
-
Crappy makefile seems to have /usr/lib hardcoded into it infront of anything I specify.
I can\'t be bothered at the moment but I\'ll think about altering it during the week and trying again. For those with more will power the source compiles with no issues (other than wanting libogg and its headers - there is also the option of not using libogg, what do you want?) bar this -L thing.
Si
-
Well, I\'m certainly glad I asked!
Since I don\'t have any money, is there anything ELSE I could do to help with development?
-
There is the option to not use libogg. Any ideas as to whether this will work (ie. what does it use instead and how much slower will it be)?
Simon
-
I\'ve been interested in the Ogg-Speex format lately as I\'ve been
grabbing a lot of radio shows off the net.
I\'m not a software developer, but compiling the command-
line utilities seemed trivial. Give them a test:
http://home.comcast.net/~bender647/speex/ (http://home.comcast.net/~bender647/speex/)
What would be really useful to me would be a media player plug-in
for this codec. I\'m sure its possible based on the Ogg-Vorbis plug-in
that\'s out there (speex uses the Ogg container too), but my C++
and Qt knowledge is nil.
-
I downloaded them. I haven\'t installed them yet, but I seem to have caused my poor Z to have conniptions.... I\'ll post again if I learn something interesting.
-
bender647, I took a 46 second \"mostly voice\" recording (lots of extraneous background noises), and the speexenc you compiled on it. The input file was 1.9 MB, the output file a mere 217 KB. I was able to play the audio back through the Z\'s speaker with speexdec without a problem. Of course, the only interface is via the terminal (I did this while\'s ssh\'d into the Z from my notebook).
Great work!
-
How did you pipe the output to the
Zaurus speaker?
This could be useful to me, although
pausing and seeking in the stream would
be better.
-
/usr/local/bin/speexdec filename.spx
speexdec defaults output to the audio device.
pausing, seeking ... can\'t help... wish I could.
I\'m trying to figure out how I can capture audio directly from the mic and pipe it through speexenc, now.