This application contains subject matter, which is related to the subject matter of the following applications, each of which is assigned to the same assignee as this application, International Business Machines Corporation of Armonk, N.Y. Each of the below listed applications is hereby incorporated herein by reference in its entirety:
entitled “SYSTEM AND METHODS FOR TEXT-TO-SPEECH SYNTHESIS USING SPOKEN EXAMPLE”, Ser. No. 10/672,374, filed Sep. 26, 2003;
entitled “GENERATING PARALINGUISTIC PHENOMENA VIA MARKUP”, Ser. No. 10/861,055, filed Jun. 4, 2004; and
entitled “SYSTEMS AND METHODS FOR EXPRESSIVE TEXT-TO-SPEECH”, Ser. No. 10/695,979, filed Oct. 29, 2003.
IBM® is a registered trademark of International Business Machines Corporation, Armonk, N.Y., U.S.A. Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies.
1. Field of the Invention
This invention relates to a software tool used to convert text, speech synthesis markup language (SSML), and or extended SSML to synthesized audio, and particularly to creating, viewing, playing, and editing the synthesized speech including editing pitch and duration targets, speaking type, paralinguistic events, and prosody.
2. Description of Background
Text-to-speech (TTS) systems continue to sometimes produce bad quality audio. For customer applications where much of the text to be synthesized is known and high quality is critical, the sole use of text-to-speech is not optimal.
The most common solution to this problem is to prerecord the application's fixed prompts and frequently synthesized phrases. The use of text-to-speech is then typically limited to the synthesis of dynamic text. This results in a good quality system, but can be very costly due to the use of voice talents and recording studios for the creation of these recordings. This is also impractical because modifications to the prompts depend on the voice talent and studio's availability.
Another drawback is that the voice talent used for prerecording prompts is different than the voice used by the text-to-speech system. This can result in an awkward voice switch in sentences between prerecorded speech and dynamically synthesized speech.
Some systems try to address this problem by enabling customers to interact with the TTS engine to produce an application-specific prompt library. The acoustic editors of some systems enable users to modify the synthesis of the prompt by modifying the target pitch and duration of a phrase. These types of systems overcome frequent problems in synthesized speech, but are limited in solving many types of other problems. For example there is no mechanism for specifying the speaking style, such as apologetic, or for manipulating the pitch contour, adding paralinguistics, or for providing a recording of the prompt from which the system extracts the prosodic parameters.
The shortcomings of the prior art are overcome and additional advantages are provided through the provision of a method of tuning synthesized speech, the method comprising entering a plurality of user supplied text into a text field; clicking a graphical user interface button to send the plurality of user supplied text to a text-to-speech engine; synthesizing the plurality of user supplied text to produce a plurality of speech by way of the text-to-speech engine; maintaining state information related to the plurality of speech; allowing a user to modify a plurality of duration cost factors associated with the plurality of speech to change the duration of the plurality of speech; allowing the user to modify a plurality of pitch cost factors associated with the plurality of speech to change the pitch of the plurality of speech; allowing the user to indicate a plurality of speech units to skip during re-synthesis of the plurality of user supplied text; and re-synthesizing the plurality of speech based on the plurality of user supplied text, user modified plurality of duration cost factors, user modified the plurality of pitch cost factors, and user effectuated modifications.
Also shortcomings of the prior art are overcome and additional advantages are provided through the provision of a method of tuning synthesized speech, the method comprising entering a plurality of user supplied text into a text field, said plurality of user supplied text can be text, SSML, and or extended SSML; synthesizing the plurality of user supplied text to produce a plurality of speech by way of a text-to-speech engine; allowing a user to interact with the plurality of speech by viewing the plurality of speech, replaying said plurality of speech, and or manipulating a waveform associated with the plurality of speech; allowing the user to modify a plurality of duration cost factors of the plurality of speech to change the duration of the plurality of speech; allowing the user to modify a plurality of pitch cost factors of the plurality of speech to change the pitch of the plurality of speech; allowing the user to indicate a plurality of speech units to skip during re-synthesis of the plurality of speech; allowing the user to indicate a plurality of speech units to retain during re-synthesis of the plurality of speech; allowing the user to provide prosody by providing a sample recording; and re-synthesizing the plurality of speech based on the plurality of user supplied text, user modified the plurality of duration cost factors, user modified the plurality of pitch cost factors, and the user effectuated modifications.
System and computer program products corresponding to the above-summarized methods are also described and claimed herein.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.
As a result of the summarized invention, technically we have achieved a solution which overcomes many types of problems associated with text-to-speech software including providing for the ability to specify speaking style, manipulating pitch contour, adding paralinguistics, and specifying prosody by way of a sample recording.
The subject matter, which is regarded as the invention, is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains the preferred embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
Turning now to the drawings in greater detail, it will be seen that in
In this regard, a user can specify input as plain text, speech synthesis markup language (SSML), or extended SSML including new tags such as prosody-style and or other types and kinds of extended SSML. Users can then view, play, and manipulate the waveform of the synthesized audio, and view tables displaying the data associated with the synthesis, such as pitch, target duration, and or other types and kinds of data. A user can also modify pitch and duration targets, highlight and select portions of audio/text/data to specify sections of data that are of interest.
A user can then specify speaking styles for the selected audio or text of interest. A user can also modify prosodic targets of sections of audio/text/data that are of interest. A user can also specify speech segments that are not to be used, as well as specify speech segments that are to be retained in a re-synthesis.
In addition, a user can insert paralinguistic events, such as a breath, sigh, and or other types and kinds of paralinguistic events. The user can modify pitch contour graphically, and specify prosody by providing a sample recording. The user can output an audio file for a specified prompt. The audio file can be played directly by the software application whenever the fixed prompts need to be read to the user.
In another exemplary embodiment an alternative output from the software application can be a specific sequence of segment identifiers and associated information resulting from the tuning of the synthesized audio prompts.
Furthermore, when working with the software application a user does not need to specify full sentence text prompts. In this regard, the text prompts may be fragmented or partial prompts. As an example and not a limitation, an application developer may tune the partial prompt “your flight will be departing at”. The playback of this tuned partial prompt will be followed by a synthesized time of day produced by the TTS engine, such as “1 pm”.
In an exemplary embodiment, by enabling SSML input into the software application users have a greater control in how the prompt is synthesized. For example not limitation, users can specify pronunciations, add pauses, specify the type of text through the say-as feature, modify the volume, and or modify, edit, manipulate, and or change the synthesized output in other ways.
In another exemplary embodiment, a user can specify a sample recording and the software application will use the user's sample recording to determine prosody of the synthesis. This can allow both experienced and inexperienced user to use voice samples to fine tune the software application prosody settings and then apply the settings to other text, SSML, and extended SSML input.
Referring to
A user can also specify a speaking style by highlighting a section of the graphed data and then selecting the desired and or required style. This results in the text being converted to SSML with prosody-style tags as one example is illustrated in
Referring to
Referring to
In block 1002 the graphical user interface (GUI) allows the user to enter text, SSML, and or extended SSML that the user wishes to have the text-to-speech (TTS) engine synthesis. Processing then moves to block 1004.
In block 1004 the user clicks on a GUI button and the text is sent to the TTS engine. Processing then moves to block 1006.
In block 1006 after synthesis is completed the TTS engine maintains state information related to the text sample synthesized. Processing then moves to decision block 1008.
In decision block 1008 the user makes a determination if the duration of any of the speech units in the synthesized sample is too long. If the resultant is in the affirmative that is the duration is too long then processing then moves to block 1018. If the resultant is in the negative that is the duration is not too long then processing moves to decision block 1009.
In decision block 1009 the user makes a determination if the duration of any of the speech units in the synthesized sample is too short. If the resultant is in the affirmative that is the duration is too short then processing then moves to block 1019. If the resultant is in the negative that is the duration is not too short then processing moves to decision block 1010.
In decision block 1010 the user makes a determination as to whether or not the pitch of any of the speech units in the synthesized sample is too high. If the resultant is in the affirmative that is pitch is too high then processing moves to block 1020. If the resultant is in the negative that is the pitch is not too high then processing moves to decision block 1011.
In decision block 1011 the user makes a determination as to whether or not the pitch of any of the speech units in the synthesized sample is too low. If the resultant is in the affirmative that is pitch is too low then processing moves to block 1021. If the resultant is in the negative that is the pitch is not too low then processing moves to decision block 1012.
In decision block 1012 the user makes a determination as to whether or not the user wants to mark a speech unit or multiple speech units as ‘bad’. If the resultant is in the affirmative that is the user wants to mark a speech unit as ‘bad’ then processing moves to block 1014. If the resultant is in the negative that is the user does not want to mark a speech unit as ‘bad’ then processing moves to decision block 1016.
In block 1014 the user marks certain speech units ‘bad’. In this regard, the TTS engine sets a flag on the marked ‘bad’ units. During unit search when the sample is re-synthesized all the speech units marked ‘bad’ will be ignored. Processing then moves to decision block 1016.
In decision block 1016 a determination is made as to whether or not the user wants to re-synthesize the text with any edits included. If the resultant is in the affirmative that is the user want to re-synthesis then processing returns to block 1002. If the resultant is in the negative that is the user does not want to re-synthesis then the routine is exited where the user is satisfied with the output synthesis sample.
In block 1018 and 1019 the cost function is modified to penalize units that have durations that are too long or too short as determined by the user's preferences. As an example and not a limitation, a user can indicate to the software application that the duration of some of the speech units in the synthesized speech sample are too long. The software application will then change the cost function to more heavily penalize speech units of longer duration when the text is next re-synthesized. Processing then moves to decision block 1010.
In block 1020 and 1021 the cost function is modified to penalize units that have pitch that are too low or too high as determined by the user's preferences. As an example and not a limitation, a user can indicate to the software application that the pitches of some of the speech units in the synthesized sample are too low. The software application will then change the cost function to more heavily penalize speech units of lower pitch when the text is next re-synthesized. Processing then moves to decision block 1012.
Referring to
In block 2002 the graphical user interface (GUI) allows the user to enter text, SSML, and or extended SSML that the user wishes to have the text-to-speech (TTS) engine synthesize. Processing then moves to block 2004.
In block 2004 a user can view, play, and manipulate the waveform of the synthesized audio. Processing then moves to block 2006.
In block 2006 a user can view a table displaying the data associated with the synthesis. As an example, data displayed can include target pitch, target duration, selected unit pitch, duration of target, and or other types and kinds of data. Processing then moves to block 2008.
In block 2008 a user can modify the synthesized sample pitch, and or duration targets. Processing then moves to block 2010.
In block 2010 a user can highlight a portion of the audio, text, SSML, and or extended SSML to specify a section of interest. Processing then moves to block 2012.
In block 2012 a user can specify the speaking style of the selection. Such speaking styles can include for example and not limitation, apologetic. Processing then moves to block 2014.
In block 2014 a user can modify the prosodic targets of the selected section of interest. Processing then moves to block 2016.
In block 2016 a user can specify segments of the text, SSML, extended SSML, and or synthesized speech sample that are not to be used in future playback and or re-synthesis. Processing then moves to block 2018.
In block 2018 a user can specify segments of text, SSML, extended SSML, and or synthesized speech that are to be used in future playback and or re-synthesis. Processing then moves to block 2020.
In block 2020 a user can insert paralinguistic events into the text, SSML, extended SSML, and or synthesized speech sample. Such paralinguistic events can include for example and not limitation, breath, cough, sigh, laugh, throat clear, and or sniffle to name a few. Processing then moves to block 2022.
In block 2022 a user can specify prosody by providing a sample recording. This can allow both experienced and inexperienced users to use voice samples to fine tune the software application prosody settings and then apply the settings to other text, SSML, and extended SSML input. Processing then moves to decision block 2024.
In decision block 2024 a determination is made as to whether or not the user wants to re-synthesize the text with any edits included. If the resultant is in the affirmative that is the user want to re-synthesize then processing returns to block 2002. If the resultant is in the negative that is the user does not want to re-synthesize then the routine is exited where the user can further work with the output synthesis sample and or data.
The capabilities of the present invention can be implemented in software, firmware, hardware or some combination thereof.
As one example, one or more aspects of the present invention can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer usable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately.
Additionally, at least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform the capabilities of the present invention can be provided.
The flow diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
While the preferred embodiment to the invention has been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.
Number | Name | Date | Kind |
---|---|---|---|
5850629 | Holm et al. | Dec 1998 | A |
6006187 | Tanenblatt | Dec 1999 | A |
6101470 | Eide et al. | Aug 2000 | A |
6226614 | Mizuno et al. | May 2001 | B1 |
6446040 | Socher et al. | Sep 2002 | B1 |
6665641 | Coorman et al. | Dec 2003 | B1 |
6829581 | Meron | Dec 2004 | B2 |
6963839 | Ostermann et al. | Nov 2005 | B1 |
7103548 | Squibbs et al. | Sep 2006 | B2 |
7644000 | Strom | Jan 2010 | B1 |
20020072909 | Eide et al. | Jun 2002 | A1 |
20020188449 | Nukaga et al. | Dec 2002 | A1 |
20030163314 | Junqua | Aug 2003 | A1 |
20040107101 | Eide | Jun 2004 | A1 |
20050071163 | Aaron et al. | Mar 2005 | A1 |
20050086060 | Gleason et al. | Apr 2005 | A1 |
20050096909 | Bakis et al. | May 2005 | A1 |
20050177369 | Stoimenov et al. | Aug 2005 | A1 |
20050182629 | Coorman et al. | Aug 2005 | A1 |
20050273338 | Aaron et al. | Dec 2005 | A1 |
20060031658 | Swanberg et al. | Feb 2006 | A1 |
20060259303 | Bakis | Nov 2006 | A1 |
20060287860 | Agapi et al. | Dec 2006 | A1 |
20070055527 | Jeong et al. | Mar 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080167875 A1 | Jul 2008 | US |