Rockbox General > Rockbox General Discussion
Voicing Playlists query.
Bro.Tiag:
--- Quote from: Bro.Tiag on September 15, 2009, 09:32:03 AM ---Thanks for the reply, I assumed (I know) that "rbspeexenc" was just "speexenc" renamed for Rockbox along the *buntu renaming lines, sorry for that.
Anyhow, some more digging on the mail-list seems to imply that speexenc/dec could be used to make the raw speex file and a read through the speexenc man page supports that.
I'll try the rbspeexenc from the source archive first. Looks like all one needs to do is run makefile.
Cheers
--- End quote ---
Aye, what a pain in the arse getting rbspeexenc was. One would think that you should not have to download and install most (if not all) of rockbox just to get a wee ancillary application tool.
I don't suppose their is a man page for rbspeexenc/rbspeexdec, what 'bout some documentation on how they work? I've spoke with several developers (mind you their linux developers) and non have ever heard of a "raw speex" file other then what speexenc produces. Any chance that there is some more information on how this rbspeexenc produces this magical "raw speex" format that only the rockbox voice menu can use? How 'bout some more info on this "raw speex" format.
It would be really convenient to offer others the ability to make custom voice menus with more readily available gpl-tools. I do have to admit, the custom menus are way nicer then those computer generated ones.
Cheers
Teague
GodEater:
--- Quote from: Bro.Tiag on September 17, 2009, 08:52:50 PM ---Aye, what a pain in the arse getting rbspeexenc was. One would think that you should not have to download and install most (if not all) of rockbox just to get a wee ancillary application tool.
--- End quote ---
We can certainly look into making a precompiled binary available I suppose.
--- Quote ---I don't suppose their is a man page for rbspeexenc/rbspeexdec, what 'bout some documentation on how they work?
--- End quote ---
From the source code :
--- Code: ---Usage: rbspeexenc [options] infile outfile
Options:
-q x Quality, floating point number in the range [0-10], default 8.0
-c x Complexity, increases quality for a given bitrate, but encodes
slower, range [0-10], default 3
-n Enable narrowband mode, will resample input to 8 kHz
-v x Volume, amplitude multiplier, default 1.0
rbspeexenc expects a mono 16 bit WAV file as input. Files will be resampled
to either 16 kHz by default, or 8 kHz if narrowband mode is enabled.
WARNING: This tool will create files that are only usable by Rockbox!
Usage: rbspeexdec infile outfile
rbspeexdec outputs mono 16 bit 16 kHz WAV files.
WARNING: This tool will only decode files made with rbspeexenc!
--- End code ---
--- Quote --- I've spoke with several developers (mind you their linux developers) and non have ever heard of a "raw speex" file other then what speexenc produces. Any chance that there is some more information on how this rbspeexenc produces this magical "raw speex" format that only the rockbox voice menu can use? How 'bout some more info on this "raw speex" format.
--- End quote ---
The speexenc/speexdec programmes that most people are familiar with produce speex encoded audio, and save it into an OGG container. rbspeexenc/rbspeexdec don't bother with the container, they just save the speex encoded audio. There is nothing magical about this.
--- Quote ---It would be really convenient to offer others the ability to make custom voice menus with more readily available gpl-tools.
--- End quote ---
rbspeexenc and rbspeexdec are both gpl and readily available, though as I said, we'll see if can arrange to get them made available as precompiled binaries.
Bro.Tiag:
--- Quote from: GodEater on September 18, 2009, 03:01:08 AM ---
--- Quote --- I've spoke with several developers (mind you their linux developers) and non have ever heard of a "raw speex" file other then what speexenc produces. Any chance that there is some more information on how this rbspeexenc produces this magical "raw speex" format that only the rockbox voice menu can use? How 'bout some more info on this "raw speex" format.
--- End quote ---
The speexenc/speexdec programmes that most people are familiar with produce speex encoded audio, and save it into an OGG container. rbspeexenc/rbspeexdec don't bother with the container, they just save the speex encoded audio. There is nothing magical about this.
--- End quote ---
Well still can't quit rap my mind round this, but if you say so.
Anyhow, I put together a wee deb (it's just a metapackage with rbspeexenc & rbspeexdec) and have tested it on a few i386 and it seems to work. It works on Debian GNU/Linux, stable, testing & unstable without a hitch. Only the stable was a brand new default install. It failed on my powerPC deb install. I've yet to try it on my 64 bit debian install. So what I'm driving at is I've no idea what it depends on, conflicts with or may break. But it's a start.
So if someone else is interested, wants to test it, or offer me some more suggestion to maintain the package, it can be found here, rbspeex_1.0.1_i386.deb .
Cheers
Teague
GodEater:
This is very useful - but doesn't belong on the forums - it should go in the wiki. Could you please move it there ?
Navigation
[0] Message Index
[*] Previous page
Go to full version