• Status New
  • Percent Complete
  • Task Type Patches
  • Category Database
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rasher - 2007-10-17
Last edited by rasher - 2007-10-21

FS#7984 - Talk clip support for Database

Before you get carried away, this is the script that will build talk clips in /.rockbox/talkclips/* for all tags and labels (reading tagnavi.config as well as the database_[0-9]*.tcd files).

The idea is that the database code will then look here for talk clips.

In the long term, the same method could be used for the file browser if desired.

Hopefully someone will help me out with the database code side of things, as I don’t think I’m up to that challenge.

Ok where are the normal .talk clips stored if you use this script? (file and dir ones)
What are the db clips called?

How do I actually run the perl script and generate the .talk clips?

Here's a version with changes to do some talking in the Database. The problem is that in some places, an entry in the menu isn't simply one tag, in which case I can't easily generate talk clips. With this method, these strings won't be spoken (except perhaps with spelling).

You run the perl script just as it tells you: ./ -D -s=flite -S="" -e=lame -E="–vbr-new -t –nores" -l=english /path/to/player

Known limitations:
- Entries composed of more than one tag (such as Track number - Track name) won't have any clips. Fixing this will take a lot of work.
- The special strings <Untagged> and <All tracks> should use the strings from the voicefile, to get localisation

Slight update to the client script:
- remove a "return 0" that made it skip generating clips for tags (oops)
- Add some progress information
- Fix a bug in the wavtrim function (the filename wasn't quoted)


Available keyboard shortcuts


Task Details

Task Editing