Rockbox

  • Status New
  • Percent Complete
    0%
  • 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 Jonas Häggqvist - 2007-10-17
Last edited by Jonas Häggqvist - 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.

Daniel Dalton commented on 2007-10-20 10:13

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

Daniel Dalton commented on 2007-10-20 11:09

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

Jonas Häggqvist commented on 2007-10-21 02:12

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: ./voice.pl -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

Jonas Häggqvist commented on 2007-10-21 02:59

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)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing