Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30456 - Patch for festival ebuild to use asterisk patch.
Summary: Patch for festival ebuild to use asterisk patch.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 20:10 UTC by Ray Russell Reese III (RETIRED)
Modified: 2004-02-10 11:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for ebuild (festival-1.4.3-use-asterisk.ebuild.patch,556 bytes, patch)
2003-10-05 20:11 UTC, Ray Russell Reese III (RETIRED)
Details | Diff
Patch to add tts_textasterisk to Festival (festival-1.4.3-asterisk.patch,2.96 KB, patch)
2003-10-05 20:12 UTC, Ray Russell Reese III (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-05 20:10:08 UTC
This is a patch for the media-sound/festival/festival-1.4.3 ebuild. Added a new USE variable "asterisk" to include the asterisk patch in Festival. The Asterisk patch adds a new command named tts_textasterisk that is required by Asterisk to communicate with the Festival server. There is no requirement to have Asterisk install to use this patch or the tts_textasterisk command.
Comment 1 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-05 20:11:27 UTC
Created attachment 18830 [details, diff]
Patch for ebuild

This adds a new use for "asterisk".
Comment 2 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-05 20:12:20 UTC
Created attachment 18831 [details, diff]
Patch to add tts_textasterisk to Festival

This should be put under files/
Comment 3 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-05 20:29:52 UTC
A little more background to why I did this:

Asterisk is an Open Source PBX System. Festival of course being a Text->Speech
engine.  Asterisk can be configured to communicate with the Festival Server
to bring back text as Speech over the phone, however Asterisk requires the
waves to be 8000hz.  This patch adds a new macro to generate the wave properly
rescaled and resampled at 8000hz.

This patch is non-invasive and will not affect the rest of Festival in any
other way.

I've also made only two adjustments to the festival patch that is bundled
with Asterisk. First I changed the paths so it will properly patch with Portage,
and second I've fixed a bug where the string wasn't properly terminated.
Someone forget a \ :)

Feel free to email me if you have any questions. Thanks.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-10 11:15:34 UTC
In portage now... didn't revbump since most people would waste compile-time on this by not settingthe asterisk USE flag.