Rockbox

Tasklist

FS#7984 - Talk clip support for Database

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Wednesday, 17 October 2007, 16:05 GMT
Last edited by Jonas Häggqvist (rasher) - Sunday, 21 October 2007, 02:13 GMT
Task Type Patches
Category Database
Status New
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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.
This task depends upon

Comment by Daniel Dalton (ddalton) - Saturday, 20 October 2007, 10:13 GMT
Ok where are the normal .talk clips stored if you use this script? (file and dir ones)
What are the db clips called?
Comment by Daniel Dalton (ddalton) - Saturday, 20 October 2007, 11:09 GMT
How do I actually run the perl script and generate the .talk clips?
Comment by Jonas Häggqvist (rasher) - Sunday, 21 October 2007, 02:12 GMT
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
Comment by Jonas Häggqvist (rasher) - Sunday, 21 October 2007, 02:59 GMT
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...