Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Using non-speex files for voice
« previous next »
  • Print
Pages: [1]

Author Topic: Using non-speex files for voice  (Read 3624 times)

Offline jenova314

  • Member
  • *
  • Posts: 5
Using non-speex files for voice
« on: October 08, 2008, 11:30:57 AM »
Hi all,

I recently upgraded my H320's firmware to 3.x, and am disappointed that I can no longer use MP3s as my .talk files.  Is there any way around it, aside from downgrading?  Many of my directories are either in Mandarin or Japanese, and speex does an extremely horrible job at pronouncing them.  I imagine the switch to speex was to save space, but at a great cost in voice quality IMHO.

I used to use these types of sites to generate my voice files in different languages, and have been pleased:

http://text-to-speech.imtranslator.net/
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Using non-speex files for voice
« Reply #1 on: October 08, 2008, 11:33:32 AM »
"Speex" is not a text-to-speech Engine. It doesn't affect the pronunciation, all it is is a different way of making the .wav files you get smaller (MP3 is not as effective for voice).
Logged

Offline jenova314

  • Member
  • *
  • Posts: 5
Re: Using non-speex files for voice
« Reply #2 on: October 08, 2008, 11:37:22 AM »
Well, that explains a lot of the trouble I've been having!  Thanks!
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Using non-speex files for voice
« Reply #3 on: October 08, 2008, 02:56:27 PM »
Btw, I suggest checking first -- there is a nice explanation of speex at wikipedia: http://en.wikipedia.org/wiki/Speex
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline jenova314

  • Member
  • *
  • Posts: 5
Re: Using non-speex files for voice
« Reply #4 on: October 08, 2008, 05:26:06 PM »
Thanks for everybody's help.

I've compiled some wav files that I would like to encode into speex files.  However, having used the Speex ACM Codec 1.0.1.1, dBpower Speex Codec, or Speex Frontend UI, I have yet to yield a single file that was able to have my H320 say the file directories.  I have renamed the files appropriately to _dirname.talk under directories that I'd like voiced, and it is simply not working.

However, when I use the rockbox util, it works just fine.  Strangely, the files generated by rbutil does not play in foobar2000, whereas my self-encoded spx files do.  Unfortunately, I do not like the TTS included with rbutil, and would like to use my own.

Am I doing something wrong?  Also, does anybody know how I can have rbutil use different TTS in different languages?  Thanks!
« Last Edit: October 08, 2008, 05:29:29 PM by jenova314 »
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Using non-speex files for voice
« Reply #5 on: October 08, 2008, 05:34:10 PM »
This is not strange at all since rockbox uses a raw speex format while regular spx files use a container (Ogg), so rockbox talk clips and regular speex files are incompatible. I'm not sure how it works but rbutil should be able to interface with sapi voices to create talk clips.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Using non-speex files for voice
« Reply #6 on: October 08, 2008, 05:37:40 PM »
If you have a rockbox build environment set up, you can build rbspeexenc, which is a commandline tool that encodes the files correctly for rockbox. To do this, go to the tools/rbspeex directory, and run make. rbspeexenc will then be built in tools/

If you can't compile programs yourself, please let us know, and tell us which OS you're using. Somebody should be able to compile for you then
Logged

Offline jenova314

  • Member
  • *
  • Posts: 5
Re: Using non-speex files for voice
« Reply #7 on: October 08, 2008, 05:38:44 PM »
Sorry, I'm not very savvy, and I wouldn't trust myself to complile anything.

I'm running Windows XP with SP2, 32-bits.  Does that help?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Using non-speex files for voice
« Reply #8 on: October 08, 2008, 05:40:48 PM »
You can use any SAPI voice with Rockbox Utility ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Using non-speex files for voice
« Reply #9 on: October 08, 2008, 05:49:47 PM »
I've put a compiled version for windows at http://files.hostname.be/rbspeexenc.exe

You need to run this inside a command prompt (cmd.exe). It will print out usage instructions if you run it without arguments.

However, make sure you really can't get rbutil to do what you want first, as using rbutil will very probably be a lot easier.
Logged

Offline jenova314

  • Member
  • *
  • Posts: 5
Re: Using non-speex files for voice
« Reply #10 on: October 08, 2008, 06:25:52 PM »
Hey gevaerts,

That worked perfectly, thanks!  Now if I could just find the SAPI in a form that rbutil will accept...
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Using non-speex files for voice
« Reply #11 on: October 09, 2008, 05:14:33 AM »
Quote from: jenova314 on October 08, 2008, 06:25:52 PM
That worked perfectly, thanks!  Now if I could just find the SAPI in a form that rbutil will accept...
SAPI is a programming interface that is used by rbutil (well, the vbs it executes actually). There is no special SAPI -- either your voice is SAPI compliant or not.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Using non-speex files for voice
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.093 seconds with 15 queries.