EP2650874A1 - A text to speech system - Google Patents
A text to speech system Download PDFInfo
- Publication number
- EP2650874A1 EP2650874A1 EP13159582.9A EP13159582A EP2650874A1 EP 2650874 A1 EP2650874 A1 EP 2650874A1 EP 13159582 A EP13159582 A EP 13159582A EP 2650874 A1 EP2650874 A1 EP 2650874A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- speaker
- parameters
- speech
- acoustic
- voice
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 claims abstract description 73
- 239000013598 vector Substances 0.000 claims abstract description 61
- 238000012549 training Methods 0.000 claims description 39
- 238000009826 distribution Methods 0.000 claims description 34
- 230000001419 dependent effect Effects 0.000 claims description 28
- 230000006870 function Effects 0.000 claims description 27
- 238000005315 distribution function Methods 0.000 claims description 5
- 239000003795 chemical substances by application Substances 0.000 claims description 2
- 238000012886 linear function Methods 0.000 claims description 2
- 230000008451 emotion Effects 0.000 description 66
- 230000014509 gene expression Effects 0.000 description 46
- 238000003066 decision tree Methods 0.000 description 38
- 230000007935 neutral effect Effects 0.000 description 18
- 230000008569 process Effects 0.000 description 13
- 238000007476 Maximum Likelihood Methods 0.000 description 12
- 239000011159 matrix material Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 101150087667 spk1 gene Proteins 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000013216 cat model Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000013179 statistical model Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000002996 emotional effect Effects 0.000 description 2
- 230000001747 exhibiting effect Effects 0.000 description 2
- 238000012804 iterative process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
- 101150085333 xpr1 gene Proteins 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
- G10L13/08—Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
- G10L13/02—Methods for producing synthetic speech; Speech synthesisers
- G10L13/033—Voice editing, e.g. manipulating the voice of the synthesiser
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/003—Changing voice quality, e.g. pitch or formants
- G10L21/007—Changing voice quality, e.g. pitch or formants characterised by the process used
- G10L21/013—Adapting to target pitch
- G10L2021/0135—Voice conversion or morphing
Definitions
- Embodiments of the present invention as generally described herein relate to a text-to-speech system and method.
- Text to speech systems are systems where audio speech or audio speech files are outputted in response to reception of a text file.
- Text to speech systems are used in a wide variety of applications such as electronic games, E-book readers, E-mail readers, satellite navigation, automated telephone systems, automated warning systems.
- a text-to-speech method configured to output speech having a selected speaker voice and a selected speaker attribute, said method comprising:
- the above method uses factorisation of the speaker voice and the attributes.
- the first set of parameters can be considered as providing a "speaker model” and the second set of parameters as providing an "attribute model". There is no overlap between the two sets of parameters so they can each be varied independently such that an attribute may be combined with a range of different speakers.
- Methods in accordance with some of the embodiments synthesis speech with a plurality of speaker voices and of expressions and/or any other kind of voice characteristic, such as speaking style, accent, etc.
- the sets of parameters may be continuous such that the speaker voice is variable over a continuous range and the voice attribute is variable over a continuous range. Continuous control allows not just expressions such as “sad” or “angry” but also any intermediate expression.
- the values of the first and second sets of parameters may be defined using audio, text, an external agent or any combination thereof.
- Possible attributes are related to emotion, speaking style or accent.
- the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors and selection of the first and second set of parameters modifies the said probability distributions.
- these probability density functions will be referred to as Gaussians and will be described by a mean and a variance. However, other probability distribution functions are possible.
- control of the speaker voice and attributes is achieved via a weighted sum of the means of the said probability distributions and selection of the first and second sets of parameters controls the weights and offsets used.
- ⁇ xpr spkrModel ⁇ ⁇ i ⁇ i spkr ⁇ i skprModel + ⁇ ⁇ k ⁇ k xpr ⁇ k xprModel
- ⁇ xpr spkrModel is the mean of the probability distribution for the speaker model combined with expression xpr
- ⁇ spkrModel is the mean for the speaker model in the absence of expression
- ⁇ xprModel is the mean for the expression model independent of speaker
- ⁇ spkr is the speaker dependent weighting
- ⁇ xpr is the expression dependent weighting
- the control of the output speech can be achieved by means of weighted means, in such a way that each voice characteristic is controlled by an independent sets of means and weights.
- the above may be achieved using a cluster adaptive training (CAT) type approach where the first set of parameters and the second set of parameters are provided in clusters, and each cluster comprises at least one sub-cluster, and a weighting is derived for each sub-cluster.
- CAT cluster adaptive training
- ⁇ neu spkrModel is the speaker model for neutral emotion and ⁇ xpr is the offset.
- the offset is to be applied to the speaker model for neutral emotion, but it can also be applied to the speaker model for different emotions depending on whether the offset was calculated with respect to a neutral emotion or another emotion.
- the offset ⁇ here can be thought of as a weighted mean when a cluster based method is used. However, other methods are possible as explained later.
- Some methods in accordance with embodiments of the present invention allow a speech attribute to be transplanted from one speaker to another. For example, from a first speaker to a second speaker, by adding second parameters obtained from the speech of a first speaker to that of a second speaker.
- this may be achieved by:
- ⁇ xpr xprModel is the mean for the expression model of a given speaker, speaking with the attribute xpr to be transplanted and ⁇ ⁇ neu xprModel is the mean vector of the model for the given speaker which best matches that of the speaker to which the attribute is to be applied. In this example, the best match is shown for neutral emotion data, but it could be for any other attribute which is common or similar for the two speakers.
- the difference may be determined from a difference between the mean vectors of the probability distributions which relate the acoustic units to the sequence of speech vectors.
- first speaker model can also be a synthetic such as an average voice model built from the combination of data from multiple speakers.
- a and b are parameters.
- the parameters to control said function (for example A and b ) and/or the mean vector of the most similar expression to that of the speaker model may be computed automatically from the parameters of the expression model set and one or more of:
- ⁇ neu SprModel and ⁇ neu SpkrModel are the mean and variance for the speaker model and ⁇ y xprModel and ⁇ y xprModel are the mean and variance for the emotion model.
- the distance function may be a euclidean distance, Bhattacharyya distance or Kullback-Leibler distance.
- a method of training an acoustic model for a text-to-speech system wherein said acoustic model converts a sequence of acoustic units to a sequence of speech vectors, the method comprising:
- the common attribute may be a subset of the speakers speaking with neutral emotion, or all speaking with the same emotion, same accent etc. It is not necessary for all speakers to be recorded for all attributes. It is also possible, (as explained above in relation to transplanting an attribute) for the system to be trained in relation to one attribute where the only speech data of this attribute is obtained from one speaker who is not one of the speakers used to train the first model.
- the grouping of the training data may be unique for each voice characteristic.
- the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors
- training the first acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said first parameters are speaker dependent weights to be applied such there is one weight per sub-cluster
- training the second acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said second parameters are attribute dependent weights to be applied such there is one weight per sub-cluster.
- the training takes place via an iterative process wherein the method comprises repeatedly re-estimating the parameters of the first acoustic model while keeping part of the parameters of the second acoustic sub-model fixed and then re-estimating the parameters of the second acoustic sub-model while keeping part of the parameters of the first acoustic sub-model fixed until a convergence criteria is met.
- the convergence criteria may be replaced by the re-estimation being performed a fixed number of times,
- a text-to-speech system for use for simulating speech having a selected speaker voice and a selected speaker attribute a plurality of different voice characteristics, said system comprising:
- Methods in accordance with embodiments of the present invention can be implemented either in hardware or on software in a general purpose computer. Further methods in accordance with embodiments of the present can be implemented in a combination of hardware and software. Methods in accordance with embodiments of the present invention can also be implemented by a single processing apparatus or a distributed network of processing apparatuses.
- some embodiments encompass computer code provided to a general purpose computer on any suitable carrier medium.
- the carrier medium can comprise any storage medium such as a floppy disk, a CD ROM, a magnetic device or a programmable memory device, or any transient medium such as any signal e.g. an electrical, optical or microwave signal.
- Figure 1 shows a text to speech system 1.
- the text to speech system 1 comprises a processor 3 which executes a program 5.
- Text to speech system 1 further comprises storage 7.
- the storage 7 stores data which is used by program 5 to convert text to speech.
- the text to speech system 1 further comprises an input module 11 and an output module 13.
- the input module 11 is connected to a text input 15.
- Text input 15 receives text.
- the text input 15 may be for example a keyboard.
- text input 15 may be a means for receiving text data from an external storage medium or a network.
- the audio output 17 is used for outputting a speech signal converted from text which is input into text input 15.
- the audio output 17 may be for example a direct audio output e.g. a speaker or an output for an audio data file which may be sent to a storage medium, networked etc.
- the text to speech system 1 receives text through text input 15.
- the program 5 executed on processor 3 converts the text into speech data using data stored in the storage 7.
- the speech is output via the output module 13 to audio output 17.
- first step text is inputted.
- the text may be inputted via a keyboard, touch screen, text predictor or the like.
- the text is then converted into a sequence of acoustic units.
- These acoustic units may be phonemes or graphemes.
- the units may be context dependent e.g. triphones which take into account not only the phoneme which has been selected but the proceeding and following phonemes.
- the text is converted into the sequence of acoustic units using techniques which are well-known in the art and will not be explained further here.
- the probability distributions are looked up which relate acoustic units to speech parameters.
- the probability distributions will be Gaussian distributions which are defined by means and variances. Although it is possible to use other distributions such as the Poisson, Student-t, Laplacian or Gamma distributions some of which are defined by variables other than the mean and variance.
- each acoustic unit It is impossible for each acoustic unit to have a definitive one-to-one correspondence to a speech vector or "observation" to use the terminology of the art. Many acoustic units are pronounced in a similar manner, are affected by surrounding acoustic units, their location in a word or sentence, or are pronounced differently by different speakers. Thus, each acoustic unit only has a probability of being related to a speech vector and text-to-speech systems calculate many probabilities and choose the most likely sequence of observations given a sequence of acoustic units.
- Figure 3 can be thought of as being the probability distribution of an acoustic unit relating to a speech vector.
- the speech vector shown as X has a probability P1 of corresponding to the phoneme or other acoustic unit which has the distribution shown in figure 3 .
- the shape and position of the Gaussian is defined by its mean and variance. These parameters are determined during the training of the system.
- the acoustic model is a Hidden Markov Model (HMM).
- HMM Hidden Markov Model
- other models could also be used.
- the text of the speech system will store many probability density functions relating an to acoustic unit i.e. phoneme, grapheme, word or part thereof to speech parameters.
- Gaussian distribution is generally used, these are generally referred to as Gaussians or components.
- speech is output in step S109.
- FIG 4 is a flowchart of a process for a text to speech system in accordance with an embodiment of the present invention.
- step S201 text is received in the same manner as described with reference to figure 2 .
- the text is then converted into a sequence of acoustic units which may be phonemes, graphemes, context dependent phonemes or graphemes and words or part thereof in step S203.
- the system of figure 4 can output speech using a number of different speakers with a number of different voice attributes.
- voice attributes may be selected from a voice sounding, happy, sad, angry, nervous, calm, commanding, etc.
- the speaker may be selected from a range of potential speaking voices such as a make voice, young female voice etc.
- step S204 the desired speaker is determined. This may be done by a number of different methods. Examples of some possible methods for determining the selected speakers are explained with reference to figures 5 to 8 .
- the speaker attribute which to be used for the voice is selected.
- the speaker attribute may be selected from a number of different categories.
- the categories may be selected from emotion, accent, etc.
- the attributes may be: happy, sad, angry etc.
- each Gaussian component is described by a mean and a variance.
- the acoustic model which will be used has been trained using a cluster adaptive training method (CAT) where the speakers and speaker attributes are accommodated by applying weights to model parameters which have been arranged into clusters.
- CAT cluster adaptive training method
- the text-to-speech system comprises multiple streams.
- Such streams may be selected from one or more of spectral parameters (Spectrum), Log of fundamental frequency (Log F 0 ), first differential of Log F 0 (Delta Log F 0 ), second differential of Log F 0 (Delta-Delta Log F 0 ), Band aperiodicity parameters (BAP), duration etc.
- the streams may also be further divided into classes such as silence (sil), short pause (pau) and speech (spe) etc.
- the data from each of the streams and classes will be modelled using a HMM.
- the HMM may comprise different numbers of states, for example, in an embodiment, 5 state HMMs may be used to model the data from some of the above streams and classes.
- a Gaussian component is determined for each HMM state.
- ⁇ c ( m, 1) represent the mean associated with the bias cluster
- ⁇ c m ⁇ i s are the means for the speaker clusters
- ⁇ c m ⁇ i e f are the means for the f attribute.
- Each cluster comprises at least one decision tree. There will be a decision tree for each component in the cluster.
- c ( m , i ) ⁇ ⁇ 1, Vietnamese, N ⁇ indicates the general leaf node index for the component m in the mean vectors decision tree for cluster i th , with N the total number of leaf nodes across the decision trees of all the clusters. The details of the decision trees will be explained later
- step S207 the system looks up the means and variances which will be stored in an accessible manner.
- step S209 the system looks up the weightings for the means for the desired speaker and attribute. It will be appreciated by those skilled in the art that the speaker and attribute dependent weightings may be looked up before or after the means are looked up in step S207.
- step S209 it is possible to obtain speaker and attribute dependent means i.e. using the means and applying the weightings, these are then used in an acoustic model in step S211 in the same way as described with reference to step S107 in figure 2 .
- the speech is then output in step S213.
- each cluster comprises at least one decision tree, the decisions used in said trees are based on linguistic, phonetic and prosodic variations.
- Prosodic, phonetic, and linguistic contexts affect the final speech waveform.
- Phonetic contexts typically affects vocal tract, and prosodic (e.g. syllable) and linguistic (e.g., part of speech of words) contexts affects prosody such as duration (rhythm) and fundamental frequency (tone).
- Each cluster may comprise one or more sub-clusters where each sub-cluster comprises at least one of the said decision trees.
- the above can either be considered to retrieve a weight for each sub-cluster or a weight vector for each cluster, the components of the weight vector being the weightings for each sub-cluster.
- the following configuration shows a standard embodiment.
- 5 state HMMs are used.
- the data is separated into three classes for this example: silence, short pause, and speech.
- the allocation of decision trees and weights per sub-cluster are as follows.
- decision trees As shown in this example, it is possible to allocate the same weight to different decision trees (spectrum) or more than one weight to the same decision tree (duration) or any other combination.
- decision trees to which the same weighting is to be applied are considered to form a sub-cluster.
- the mean of a Gaussian distribution with a selected speaker and attribute is expressed as a weighted sum of the means of a Gaussian component, where the summation uses one mean from each cluster, the mean being selected on the basis of the prosodic, linguistic and phonetic context of the acoustic unit which is currently being processed.
- Figure 5 shows a possible method of selecting the speaker and attribute for the output voice.
- a user directly selects the weighting using, for example, a mouse to drag and drop a point on the screen, a keyboard to input a figure etc.
- a selection unit 251 which comprises a mouse, keyboard or the like selects the weightings using display 253, Display 253, in this example has 2 radar charts, one for attribute and one for voice which shows the weightings.
- the user can use the selecting unit 251 in order to change the dominance of the various clusters via the radar charts. It will be appreciated by those skilled in the art that other display methods may be used.
- the weighting can be projected onto their own space, a "weights space" with initially a weight representing each dimension.
- This space can be rearranged into a different space which dimensions represent different voice attributes. For example, if the modelled voice characteristic is expression, one dimension may indicate happy voice characteristics, another nervous etc, the user may select to increase the weighting on the happy voice dimension so that this voice characteristic dominates. In that case the number of dimensions of the new space is lower than that of the original weights space.
- the weights vector on the original space ⁇ ( s ) can then be obtained as a function of the coordinates vector of the new space ⁇ ( s ) .
- matrix H is defined to set on its columns the original ⁇ ( s ) for d representative speakers selected manually, where d is the desired dimension of the new space.
- Other techniques could be used to either reduce the dimensionality of the weight space or, if the values of ⁇ ( s ) are pre-defined for several speakers, to automatically find the function that maps the control ⁇ space to the original ⁇ weight space.
- the system is provided with a memory which saves predetermined sets of weightings vectors.
- Each vector may be designed to allow the text to be outputting with a different voice characteristic and speaker combination. For example, a happy voice, furious voice, etc in combination with any speaker.
- a system in accordance with such an embodiment is shown in Figure 6 .
- the display 253 shows different voice attributes and speakers which may be selected by selecting unit 251.
- the system may indicate a set of choices of speaker output based on the attributes of the predetermined sets. The user may then select the speaker required.
- the system determines the weightings automatically.
- the system may need to output speech corresponding to text which it recognises as being a command or a question.
- the system may be configured to output an electronic book.
- the system may recognise from the text when something is being spoken by a character in the book as opposed to the narrator, for example from quotation marks, and change the weighting to introduce a new voice characteristic to the output.
- the system may also be configured to determine the speaker for this different speech.
- the system may also be configured to recognise if the text is repeated. In such a situation, the voice characteristics may change for the second output. Further the system may be configured to recognise if the text refers to a happy moment, or an anxious moment and the text outputted with the appropriate voice characteristics.
- a memory 261 which stores the attributes and rules to be checked in the text.
- the input text is provided by unit 263 to memory 261.
- the rules for the text are checked and information concerning the type of voice characteristics are then passed to selector unit 265.
- Selection unit 265 looks up the weightings for the selected voice characteristics.
- the system receives information about the text to be outputted from a further source.
- An example of such a system is shown in figure 8 .
- the system may receive inputs indicating how certain parts of the text should be outputted and the speaker for those parts of text.
- the system will be able to determine from the game whether a character who is speaking has been injured, is hiding so has to whisper, is trying to attract the attention of someone, has successfully completed a stage of the game etc.
- unit 271 In the system of figure 8 , the further information on how the text should be outputted is received from unit 271. Unit 271 then sends this information to memory 273. Memory 273 then retrieves information concerning how the voice should be output and send this to unit 275. Unit 275 then retrieves the weightings for the desired voice output both the speaker and the desired attribute.
- figure 9 also comprises an audio input 23 and an audio input module 21.
- an audio input 23 When training a system, it is necessary to have an audio input which matches the text being inputted via text input 15.
- HMM Hidden Markov Models
- the state transition probability distribution A and the initial state probability distribution are determined in accordance with procedures well known in the art. Therefore, the remainder of this description will be concerned with the state output probability distribution.
- the state output vector or speech vector o( t ) from an m th Gaussian component in a model set M is P o t
- m , s , e , M N o t ; ⁇ m s ⁇ e , ⁇ m s ⁇ e where ⁇ (s,e) m and ⁇ (s,e) m are the mean and covariance of the m th Gaussian component for speaker s and expression e.
- the aim when training a conventional text-to-speech system is to estimate the Model parameter set M which maximises likelihood for a given observation sequence.
- a HMM which has a state output vector of: P o t
- m , s , e , M N o t ; ⁇ ⁇ m s ⁇ e , ⁇ ⁇ v m s ⁇ e
- E ⁇ are indices for component, time speaker and expression respectively and where MN, T, S and E are the total number of components, frames, speakers and expressions respectively.
- ⁇ c m ⁇ x s ⁇ e is the mean vector for component m of the additional cluster for speaker s expression s , which will be described later
- a r m s ⁇ e and b r m s ⁇ e are the linear transformation matrix and the bias vector associated with regression class r(m) for the speaker s , expression e .
- R is the total number of regression classes and r ( m ) ⁇ ⁇ 1, Vietnamese, R ⁇ denotes the regression class to which the component m belongs.
- a r m s ⁇ e and b r m s ⁇ e become an identity matrix and zero vector respectively.
- the covariances are clustered and arranged into decision trees where v ( m ) ⁇ ⁇ 1, Vietnamese, V ⁇ denotes the leaf node in a covariance decision tree to which the co-variance matrix of the component m belongs and V is the total number of variance decision tree leaf nodes.
- the first part are the parameters of the canonical model i.e. speaker and expression independent means ⁇ n ⁇ and the speaker and expression independent covariances ⁇ k ⁇ the above indices n and k indicate leaf nodes of the mean and variance decision trees which will be described later.
- the second part are the speaker-expression dependent weights ⁇ i s ⁇ e s , e , i where s indicates speaker, e indicates expression and i the cluster index parameter.
- the third part are the means of the speaker-expression dependent cluster ⁇ c(m,x) and the fourth part are the CMLLR constrained maximum likelihood linear regression. transforms A d s ⁇ e ⁇ b d s ⁇ e s , e , d where s indicates speaker, e expression and d indicates component or speaker-expression regression class to which component m belongs.
- auxiliary function is expressed in the above manner, it is then maximized with respect to each of the variables in turn in order to obtain the ML values of the speaker and voice characteristic parameters, the speaker dependent parameters and the voice characteristic dependent parameters.
- the ML estimate of ⁇ n also depends on ⁇ k where k does not equal n.
- the index n is used to represent leaf nodes of decisions trees of mean vectors, whereas the index k represents leaf modes of covariance decision trees. Therefore, it is necessary to perform the optimization by iterating over all ⁇ n until convergence.
- the ML estimate for speaker dependent weights and the speaker dependent linear transform can also be obtained in the same manner i.e. differentiating the auxiliary function with respect to the parameter for which the ML estimate is required and then setting the value of the differential to 0.
- the process is performed in an iterative manner. This basic system is explained with reference to the flow diagrams of figures 10 to 12 .
- step S401 a plurality of inputs of audio speech are received.
- 4 speakers are used.
- step S403 an acoustic model is trained and produced for each of the 4 voices, each speaking with neutral emotion.
- each of the 4 models is only trained using data from one voice. S403 will be explained in more detail with reference to the flow chart of figure 11 .
- step S305 of figure 11 the number of clusters P is set to V + 1, where V is the number of voices (4).
- one cluster (cluster 1) is determined as the bias cluster.
- the decision trees for the bias cluster and the associated cluster mean vectors are initialised using the voice which in step S303 produced the best model.
- each voice is given a tag "Voice A", “Voice B”, “Voice C” and “Voice D”, here Voice A is assumed to have produced the best model.
- the covariance matrices, space weights for multi-space probability distributions (MSD) and their parameter sharing structure are also initialised to those of the voice A model.
- Each binary decision tree is constructed in a locally optimal fashion starting with a single root node representing all contexts.
- the following bases are used, phonetic, linguistic and prosodic.
- the next optimal question about the context is selected. The question is selected on the basis of which question causes the maximum increase in likelihood and the terminal nodes generated in the training examples.
- the set of terminal nodes is searched to find the one which can be split using its optimum question to provide the largest increase in the total likelihood to the training data. Providing that this increase exceeds a threshold, the node is divided using the optimal question and two new terminal nodes are created. The process stops when no new terminal nodes can be formed since any further splitting will not exceed the threshold applied to the likelihood split.
- the nth terminal node in a mean decision tree is divided into two new terminal nodes n + q and n - q by a question q.
- S(n) denotes a set of components associated with node n. Note that the terms which are constant with respect to ⁇ n are not included.
- step S309 a specific voice tag is assigned to each of 2,...,P clusters e.g. clusters 2, 3, 4, and 5 are for speakers B, C, D and A respectively. Note, because voice A was used to initialise the bias cluster it is assigned to the last cluster to be initialised.
- step S313 for each cluster 2,...,(P-1) in turn the clusters are initialised as follows.
- the voice data for the associated voice e.g. voice B for cluster 2
- the voice data for the associated voice is aligned using the mono-speaker model for the associated voice trained in step S303. Given these alignments, the statistics are computed and the decision tree and mean values for the cluster are estimated.
- the mean values for the cluster are computed as the normalised weighted sum of the cluster means using the weights set in step S311 i.e. in practice this results in the mean values for a given context being the weighted sum (weight 1 in both cases) of the bias cluster mean for that context and the voice B model mean for that context in cluster 2.
- step S315 the decision trees are then rebuilt for the bias cluster using all the data from all 4 voices, and associated means and variance parameters re-estimated.
- the bias cluster is re-estimated using all 4 voices at the same time.
- step S317 Cluster P (voice A) is now initialised as for the other clusters, described in step S313, using data only from voice A.
- the CAT model is then updated/trained as follows:
- step S319 the decision trees are re-constructed cluster-by-cluster from cluster 1 to P, keeping the CAT weights fixed.
- step S321 new means and variances are estimated in the CAT model.
- step S323 new CAT weights are estimated for each cluster.
- the process loops back to S321 until convergence.
- the parameters and weights are estimated using maximum likelihood calculations performed by using the auxiliary function of the Baum-Welch algorithm to obtain a better estimate of said parameters.
- the parameters are estimated via an iterative process.
- step S323 the process loops back to step S319 so that the decision trees are reconstructed during each iteration until convergence.
- the process then returns to step S405 of figure 10 where the model is then trained for different attributes.
- the attribute is emotion.
- emotion in a speaker's voice is modelled using cluster adaptive training in the same manner as described for modelling the speaker's voice instep S403.
- “emotion clusters” are initialised in step S405. This will be explained in more detail with reference to figure 12
- Data is then collected for at least one of the speakers where the speaker's voice is emotional. It is possible to collect data from just one speaker, where the speaker provides a number of data samples, each exhibiting a different emotions or a plurality of the speakers providing speech data samples with different emotions.
- the speech samples provided to train the system to exhibit emotion come from the speakers whose data was collected to train the initial CAT model in step S403.
- the system can also train to exhibit emotion using data from a speaker whose data was not used in S403 and this will be described later.
- step S451 the non-Neutral emotion data is then grouped into N e groups.
- step S453 N e additional clusters are added to model emotion.
- a cluster is associated with each emotion group. For example, a cluster is associated with "Happy", etc.
- step S455 initialise a binary vector for the emotion cluster weighting such that if speech data is to be used for training exhibiting one emotion, the cluster is associated with that emotion is set to "1" and all other emotion clusters are weighted at "0".
- the neutral emotion speaker clusters are set to the weightings associated with the speaker for the data.
- step S457 the decision trees are built for each emotion cluster in step S457. Finally, the weights are re-estimated based on all of the data in step S459.
- the Gaussian means and variances are re-estimated for all clusters, bias, speaker and emotion in step S407.
- step S409 the weights for the emotion clusters are re-estimated as described above in step S409.
- the decision trees are then re-computed in step S411.
- the process loops back to step S407 and the model parameters, followed by the weightings in step S409, followed by reconstructing the decision trees in step S411 are performed until convergence.
- the loop S407-S409 is repeated several times.
- step S413 the model variance and means are re-estimated for all clusters, bias, speaker and emotion.
- step S415 the weights are re-estimated for the speaker clusters and the decision trees are rebuilt in step S417.
- the process then loops back to step S413 and this loop is repeated until convergence.
- the process loops back to step S407 and the loop concerning emotions is repeated until converge.
- the process continues until convergence is reached for both loops jointly.
- Figure 13 shows clusters 1 to P which are in the forms of decision trees.
- the decision trees need not be symmetric i.e. each decision tree can have a different number of terminal nodes.
- the number of terminal nodes and the number of branches in the tree is determined purely by the log likelihood splitting which achieves the maximum split at the first decision and then the questions are asked in order of the question which causes the larger split. Once the split achieved is below a threshold, the splitting of a node terminates.
- one set of clusters will be for different speakers, another set of clusters for emotion and a final set of clusters for accent.
- the emotion clusters will be initialised as explained with reference to figure 12
- the accent clusters will also be initialised as an additional group of clusters as explained with reference to figure 12 as for emotion.
- Figure 10 shows that there is a separate loop for training emotion then a separate loop for training speaker. If the voice attribute is to have 2 components such as accent and emotion, there will be a separate loop for accent and a separate loop for emotion.
- the framework of the above embodiment allows the models to be trained jointly, thus enhancing both the controllability and the quality of the generated speech.
- the above also allows for the requirements for the range of training data to be more relaxed.
- the training data configuration shown in figure 14 could be used where there are:
- fs1 and fs2 have an American accent and are recorded speaking with neutral emotion
- fs3 has a Chinese accent and is recorded speaking for 3 lots of data, where one data set shows neutral emotion, one data set shows happy emotion and one data set angry emotion.
- Male speaker ms1 has an American accent is recorded only speaking with neutral emotion
- male speaker ms2 has a Scottish accent and is recorded for 3 data sets speaking with the emotions of angry, happy and sad.
- the third male speaker ms3 has a Chinese accent and is recorded speaking with neutral emotion.
- the assistant is used to synthesise a voice characteristic where the system is given an input of a target speaker voice which allows the system to adapt to a new speaker or the system may be given data with a new voice attribute such as accent or emotion.
- a system in accordance with an embodiment of the present invention may also adapt to a new speaker and/or attribute.
- Figure 15 shows one example of the system adapting to a new speaker with neutral emotion.
- the input target voice is received at step 501.
- the weightings of the canonical model i.e. the weightings of the clusters which have been previously trained, are adjusted to match the target voice in step 503.
- the audio is then outputted using the new weightings derived in step S503.
- a new neutral emotion speaker cluster may be initialised and trained as explained with reference to figures 10 and 11 .
- system is used to adapt to a new attribute such as a new emotion. This will be described with reference to figure 16 .
- step S601 a target voice is received in step S601
- the data is collected for the voice speaking with the new attribute.
- the weightings for the neutral speaker clusters are adjusted to best match the target voice in step S603.
- a new emotion cluster is added to the existing emotion clusters for the new emotion in step S607.
- the decision tree for the new cluster is initialised as described with relation to figure 12 from step S455 onwards.
- the weightings, model parameters and trees are then re-estimated and rebuilt for all clusters as described with reference to figure 11 .
- Any of the speaker voices which may be generated by the system can be output with the new emotion.
- Figure 17 shows a plot useful for visualising how the speaker voices and attributes are related.
- the plot of figure 17 is shown in 3 dimensions but can be extended to higher dimension orders.
- Speakers are plotted along the z axis.
- the speaker weightings are defined as a single dimension, in practice, there are likely to be 2 or more speaker weightings represented on a corresponding number of axis.
- Expression is represented on the x-y plane. With expression 1 along the x axis and expression 2 along the y axis, the weighting corresponding to angry and sad are shown. Using this arrangement it is possible to generate the weightings required for an "Angry" speaker a and a "Sad” speaker b. By deriving the point on the x-y plane which corresponds to a new emotion or attribute, it can be seen how a new emotion or attribute can be applied to the existing speakers.
- Figure 18 shows the principles explained above with reference to acoustic space.
- a 2-dimension acoustic space is shown here to allow a transform to be visualised.
- the acoustic space will extend in many dimensions.
- ⁇ xpr is the mean vector representing a speaker speaking with expression xpr
- ⁇ k xpr is the CAT weighting for component k for expression xpr
- ⁇ k is the component k mean vector of component k .
- the appropriate ⁇ is derived from a speaker where data is available for this speaker speaking with xpr2.
- This speaker will be referred to as Spk1.
- ⁇ is derived from Spk1 as the difference between the mean vectors of Spk1 speaking with the desired expression xpr2 and the mean vectors of Spk1 speaking with an expression xpr.
- the expression xpr is an expression which is common to both speaker 1 and speaker 2. For example, xpr could be neutral expression if the data for neutral expression is available for both Spk1 and Spk2.
- a distance function can be constructed between Spk1 and Spk2 for the different expressions available for the speakers and the distance function may be minimised.
- the distance function may be selected from a euclidean distance, Bhattacharyya distance or Kullback-Leibler distance.
- ⁇ xpr ⁇ 2 Spk ⁇ 2 ⁇ xpr ⁇ 1 Spk ⁇ 2 + ⁇ xpr ⁇ 1 , xpr ⁇ 2
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
said method comprising:
inputting text;
dividing said inputted text into a sequence of acoustic units;
selecting a speaker for the inputted text;
selecting a speaker attribute for the inputted text;
converting said sequence of acoustic units to a sequence of speech vectors using an acoustic model; and
outputting said sequence of speech vectors as audio with said selected speaker voice and a selected speaker attribute,
wherein said acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute.
Description
- Embodiments of the present invention as generally described herein relate to a text-to-speech system and method.
- Text to speech systems are systems where audio speech or audio speech files are outputted in response to reception of a text file.
- Text to speech systems are used in a wide variety of applications such as electronic games, E-book readers, E-mail readers, satellite navigation, automated telephone systems, automated warning systems.
- There is a continuing need to make systems sound more like a human voice.
- Systems and Methods in accordance with non-limiting embodiments will now be described with reference to the accompanying figures in which:
-
Figure 1 is schematic of a text to speech system; -
Figure 2 is a flow diagram showing the steps performed by a speech processing system; -
Figure 3 is a schematic of a Gaussian probability function; -
Figure 4 is a flow diagram of a speech processing method in accordance with an embodiment of the present invention; -
Figure 5 is a schematic of a system showing how the voice characteristics may be selected; -
Figure 6 is a variation on the system offigure 5 ; -
Figure 7 is a further variation on the system offigure 5 ; -
Figure 8 is a yet further variation on the system offigure 5 ; -
Figure 9 is schematic of a text to speech system which can be trained; -
Figure 10 is a flow diagram demonstrating a method of training a speech processing system in accordance with an embodiment of the present invention; -
Figure 11 is a flow diagram showing in more detail some of the steps for training the speaker clusters offigure 10 ; -
Figure 12 is a flow diagram showing in more detail some of the steps for training the clusters relating to attributes offigure 10 ; -
Figure 13 is a schematic of decision trees used by embodiments in accordance with the present invention; -
Figure 14 is a schematic showing a collection of different types of data suitable for training a system using a method offigure 10 ; -
Figure 15 is a flow diagram showing the adapting of a system in accordance with an embodiment of the present invention; -
Figure 16 is a flow diagram showing the adapting of a system in accordance with a further embodiment of the present invention; -
Figure 17 is a plot showing how emotions can be transplanted between different speakers; and -
Figure 18 is a plot of acoustic space showing the transplant of emotional speech. - In an embodiment, a text-to-speech method configured to output speech having a selected speaker voice and a selected speaker attribute is provided,
said method comprising: - inputting text;
- dividing said inputted text into a sequence of acoustic units;
- selecting a speaker for the inputted text;
- selecting a speaker attribute for the inputted text;
- converting said sequence of acoustic units to a sequence of speech vectors using an acoustic model; and
- outputting said sequence of speech vectors as audio with said selected speaker voice and a selected speaker attribute,
- wherein said acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute.
- The above method uses factorisation of the speaker voice and the attributes. The first set of parameters can be considered as providing a "speaker model" and the second set of parameters as providing an "attribute model". There is no overlap between the two sets of parameters so they can each be varied independently such that an attribute may be combined with a range of different speakers.
- Methods in accordance with some of the embodiments synthesis speech with a plurality of speaker voices and of expressions and/or any other kind of voice characteristic, such as speaking style, accent, etc.
- The sets of parameters may be continuous such that the speaker voice is variable over a continuous range and the voice attribute is variable over a continuous range. Continuous control allows not just expressions such as "sad" or "angry" but also any intermediate expression. The values of the first and second sets of parameters may be defined using audio, text, an external agent or any combination thereof.
- Possible attributes are related to emotion, speaking style or accent.
- In one embodiment, there are a plurality of independent attribute models, for example emotion and attribute so that it is possible to combine the speaker model with a first attribute model which models emotion and a second attribute model which models accent. Here, there can be a plurality of sets of parameters relating to different speaker attributes and the plurality of sets of parameters do not overlap.
- In a further embodiment, the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors and selection of the first and second set of parameters modifies the said probability distributions. Generally, these probability density functions will be referred to as Gaussians and will be described by a mean and a variance. However, other probability distribution functions are possible.
-
- Where
- The control of the output speech can be achieved by means of weighted means, in such a way that each voice characteristic is controlled by an independent sets of means and weights.
- The above may be achieved using a cluster adaptive training (CAT) type approach where the first set of parameters and the second set of parameters are provided in clusters, and each cluster comprises at least one sub-cluster, and a weighting is derived for each sub-cluster.
-
- Where
- The offset Δ here can be thought of as a weighted mean when a cluster based method is used. However, other methods are possible as explained later.
- This will allow exporting of the voice characteristics of one statistical model to a target statistical model by adding to the means of the target model an offset vector that models one or more the desired voice characteristics
- Some methods in accordance with embodiments of the present invention allow a speech attribute to be transplanted from one speaker to another. For example, from a first speaker to a second speaker, by adding second parameters obtained from the speech of a first speaker to that of a second speaker.
- In one embodiment, this may be achieved by:
- receiving speech data from the first speaker speaking with the attribute to be transplanted;
- identifying speech data for the first speaker which is closest to the speech data of the second speaker;
- determining the difference between the speech data obtained from the first speaker speaking with the attribute to be transplanted and the speech data of the first speaker which is closest to the speech data of the second speaker; and
- determining the second parameters from the said difference, for example, second parameters may be related to the difference by a function f:
- Here,
- The difference may be determined from a difference between the mean vectors of the probability distributions which relate the acoustic units to the sequence of speech vectors.
- It should be noted that the "first speaker" model can also be a synthetic such as an average voice model built from the combination of data from multiple speakers.
-
- Where A and b are parameters. The parameters to control said function (for example A and b) and/or the mean vector of the most similar expression to that of the speaker model may be computed automatically from the parameters of the expression model set and one or more of:
- the parameters of the probability distributions of the speaker dependent model or
- the data used to train such speaker dependent model;
- information about the voice characteristics of the speaker dependent model
- Identifying speech data for the first speaker which is closest to the speech data of the second speaker may comprise minimizing a distance function that depends on the probability distributions of the speech data of the first speaker and the speech data of the second speaker, for example using the expression:
-
- The distance function may be a euclidean distance, Bhattacharyya distance or Kullback-Leibler distance.
- In a further embodiment, a method of training an acoustic model for a text-to-speech system is provided, wherein said acoustic model converts a sequence of acoustic units to a sequence of speech vectors, the method comprising:
- receiving speech data from a plurality of speakers and a plurality of speakers speaking with different attributes;
- isolating speech data from the received speech data which relates to speakers speaking with a common attribute;
- training a first acoustic sub-model using the speech data received from a plurality of speakers speaking with a common attribute, said training comprising deriving a first set of parameters, wherein said first set of parameters are varied to allow the acoustic model to accommodate speech for the plurality of speakers;
- training a second acoustic sub-model from the remaining speech, said training comprising identifying a plurality of attributes from said remaining speech and deriving a set of second parameters wherein said set of second parameters are varied to allow the acoustic model to accommodate speech for the plurality of attributes; and
- outputting an acoustic model by combining the first and second acoustic sub-models such that the combined acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute.
- For example, the common attribute may be a subset of the speakers speaking with neutral emotion, or all speaking with the same emotion, same accent etc. It is not necessary for all speakers to be recorded for all attributes. It is also possible, (as explained above in relation to transplanting an attribute) for the system to be trained in relation to one attribute where the only speech data of this attribute is obtained from one speaker who is not one of the speakers used to train the first model.
- The grouping of the training data may be unique for each voice characteristic.
- In a further embodiment, the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors, and training the first acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said first parameters are speaker dependent weights to be applied such there is one weight per sub-cluster, and
training the second acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said second parameters are attribute dependent weights to be applied such there is one weight per sub-cluster. - In an embodiment, the training takes place via an iterative process wherein the method comprises repeatedly re-estimating the parameters of the first acoustic model while keeping part of the parameters of the second acoustic sub-model fixed and then re-estimating the parameters of the second acoustic sub-model while keeping part of the parameters of the first acoustic sub-model fixed until a convergence criteria is met. The convergence criteria may be replaced by the re-estimation being performed a fixed number of times,
- In further embodiments, a text-to-speech system is provided for use for simulating speech having a selected speaker voice and a selected speaker attribute a plurality of different voice characteristics,
said system comprising: - a text input for receiving inputted text;
- a processor configured to:
- divide said inputted text into a sequence of acoustic units;
- allow selection of a speaker for the inputted text;
- allow selection of a speaker attribute for the inputted text;
- convert said sequence of acoustic units to a sequence of speech vectors using an acoustic model, wherein said model has a plurality of model parameters describing probability distributions which relate an acoustic unit to a speech vector; and
- output said sequence of speech vectors as audio with said selected speaker voice and a selected speaker attribute,
- Methods in accordance with embodiments of the present invention can be implemented either in hardware or on software in a general purpose computer. Further methods in accordance with embodiments of the present can be implemented in a combination of hardware and software. Methods in accordance with embodiments of the present invention can also be implemented by a single processing apparatus or a distributed network of processing apparatuses.
- Since some methods in accordance with embodiments can be implemented by software, some embodiments encompass computer code provided to a general purpose computer on any suitable carrier medium. The carrier medium can comprise any storage medium such as a floppy disk, a CD ROM, a magnetic device or a programmable memory device, or any transient medium such as any signal e.g. an electrical, optical or microwave signal.
-
Figure 1 shows a text tospeech system 1. The text tospeech system 1 comprises aprocessor 3 which executes aprogram 5. Text tospeech system 1 further comprises storage 7. The storage 7 stores data which is used byprogram 5 to convert text to speech. The text tospeech system 1 further comprises aninput module 11 and anoutput module 13. Theinput module 11 is connected to atext input 15.Text input 15 receives text. Thetext input 15 may be for example a keyboard. Alternatively,text input 15 may be a means for receiving text data from an external storage medium or a network. - Connected to the
output module 13 is output foraudio 17. Theaudio output 17 is used for outputting a speech signal converted from text which is input intotext input 15. Theaudio output 17 may be for example a direct audio output e.g. a speaker or an output for an audio data file which may be sent to a storage medium, networked etc. - In use, the text to
speech system 1 receives text throughtext input 15. Theprogram 5 executed onprocessor 3 converts the text into speech data using data stored in the storage 7. The speech is output via theoutput module 13 toaudio output 17. - A simplified process will now be described with reference to
figure 2 . In first step, S101, text is inputted. The text may be inputted via a keyboard, touch screen, text predictor or the like. The text is then converted into a sequence of acoustic units. These acoustic units may be phonemes or graphemes. The units may be context dependent e.g. triphones which take into account not only the phoneme which has been selected but the proceeding and following phonemes. The text is converted into the sequence of acoustic units using techniques which are well-known in the art and will not be explained further here. - Instead S105, the probability distributions are looked up which relate acoustic units to speech parameters. In this embodiment, the probability distributions will be Gaussian distributions which are defined by means and variances. Although it is possible to use other distributions such as the Poisson, Student-t, Laplacian or Gamma distributions some of which are defined by variables other than the mean and variance.
- It is impossible for each acoustic unit to have a definitive one-to-one correspondence to a speech vector or "observation" to use the terminology of the art. Many acoustic units are pronounced in a similar manner, are affected by surrounding acoustic units, their location in a word or sentence, or are pronounced differently by different speakers. Thus, each acoustic unit only has a probability of being related to a speech vector and text-to-speech systems calculate many probabilities and choose the most likely sequence of observations given a sequence of acoustic units.
- A Gaussian distribution is shown in
figure 3. Figure 3 can be thought of as being the probability distribution of an acoustic unit relating to a speech vector. For example, the speech vector shown as X has a probability P1 of corresponding to the phoneme or other acoustic unit which has the distribution shown infigure 3 . - The shape and position of the Gaussian is defined by its mean and variance. These parameters are determined during the training of the system.
- These parameters are then used in the acoustic model in step S107. In this description, the acoustic model is a Hidden Markov Model (HMM). However, other models could also be used.
- The text of the speech system will store many probability density functions relating an to acoustic unit i.e. phoneme, grapheme, word or part thereof to speech parameters. As the Gaussian distribution is generally used, these are generally referred to as Gaussians or components.
- In a Hidden Markov Model or other type of acoustic model, the probability of all potential speech vectors relating to a specific acoustic unit must be considered. Then the sequence of speech vectors which most likely corresponds to the sequence of acoustic units will be taken into account. This implies a global optimization over all the acoustic units of the sequence taking into account the way in which two units affect to each other. As a result, it is possible that the most likely speech vector for a specific acoustic unit is not the best speech vector when a sequence of acoustic units is considered.
- Once a sequence of speech vectors has been determined, speech is output in step S109.
-
Figure 4 is a flowchart of a process for a text to speech system in accordance with an embodiment of the present invention. In step S201, text is received in the same manner as described with reference tofigure 2 . The text is then converted into a sequence of acoustic units which may be phonemes, graphemes, context dependent phonemes or graphemes and words or part thereof in step S203. - The system of
figure 4 can output speech using a number of different speakers with a number of different voice attributes. For example, in an embodiment, voice attributes may be selected from a voice sounding, happy, sad, angry, nervous, calm, commanding, etc. The speaker may be selected from a range of potential speaking voices such as a make voice, young female voice etc. - In step S204, the desired speaker is determined. This may be done by a number of different methods. Examples of some possible methods for determining the selected speakers are explained with reference to
figures 5 to 8 . - In step S206, the speaker attribute which to be used for the voice is selected. The speaker attribute may be selected from a number of different categories. For example, the categories may be selected from emotion, accent, etc. In a method in accordance with an embodiment, the attributes may be: happy, sad, angry etc.
- In the method which is described with reference to
figure 4 , each Gaussian component is described by a mean and a variance. In this particular method as well, the acoustic model which will be used has been trained using a cluster adaptive training method (CAT) where the speakers and speaker attributes are accommodated by applying weights to model parameters which have been arranged into clusters. However, other techniques are possible and will be described later. - In some embodiments, there will be a plurality of different states which will be each be modelled using a Gaussian. For example, in an embodiment, the text-to-speech system comprises multiple streams. Such streams may be selected from one or more of spectral parameters (Spectrum), Log of fundamental frequency (Log F0), first differential of Log F0 (Delta Log F0), second differential of Log F0 (Delta-Delta Log F0), Band aperiodicity parameters (BAP), duration etc. The streams may also be further divided into classes such as silence (sil), short pause (pau) and speech (spe) etc. In an embodiment, the data from each of the streams and classes will be modelled using a HMM. The HMM may comprise different numbers of states, for example, in an embodiment, 5 state HMMs may be used to model the data from some of the above streams and classes. A Gaussian component is determined for each HMM state.
- In the system of
figure 4 , which uses a CAT based method the mean of a Gaussian for a selected speaker is expressed as a weighted sum of independent means of the Gaussians. Thus:
where -
-
-
- Each cluster comprises at least one decision tree. There will be a decision tree for each component in the cluster. In order to simplify the expression, c(m,i)∈ {1,....., N} indicates the general leaf node index for the component m in the mean vectors decision tree for cluster ith , with N the total number of leaf nodes across the decision trees of all the clusters. The details of the decision trees will be explained later
- In step S207, the system looks up the means and variances which will be stored in an accessible manner.
- In step S209, the system looks up the weightings for the means for the desired speaker and attribute. It will be appreciated by those skilled in the art that the speaker and attribute dependent weightings may be looked up before or after the means are looked up in step S207.
- Thus, after step S209, it is possible to obtain speaker and attribute dependent means i.e. using the means and applying the weightings, these are then used in an acoustic model in step S211 in the same way as described with reference to step S107 in
figure 2 . The speech is then output in step S213. - The means of the Gaussians are clustered. In an embodiment, each cluster comprises at least one decision tree, the decisions used in said trees are based on linguistic, phonetic and prosodic variations. In an embodiment, there is a decision tree for each component which is a member of a cluster. Prosodic, phonetic, and linguistic contexts affect the final speech waveform. Phonetic contexts typically affects vocal tract, and prosodic (e.g. syllable) and linguistic (e.g., part of speech of words) contexts affects prosody such as duration (rhythm) and fundamental frequency (tone). Each cluster may comprise one or more sub-clusters where each sub-cluster comprises at least one of the said decision trees.
- The above can either be considered to retrieve a weight for each sub-cluster or a weight vector for each cluster, the components of the weight vector being the weightings for each sub-cluster.
- The following configuration shows a standard embodiment. To model this data, in this embodiment, 5 state HMMs are used. The data is separated into three classes for this example: silence, short pause, and speech. In this particular embodiment, the allocation of decision trees and weights per sub-cluster are as follows.
- In this particular embodiment the following streams are used per cluster:
- Spectrum: 1 stream, 5 states, 1 tree per state x 3 classes
- LogF0: 3 streams, 5 states per stream, 1 tree per state and stream x 3 classes
- BAP: 1 stream, 5 states, 1 tree per state x 3 classes
- Duration: 1 stream, 5 states, 1 tree x 3 classes (each tree is shared across all states)
- Total: 3x26 = 78 decision trees
- For the above, the following weights are applied to each stream per voice characteristic e.g. speaker:
- Spectrum: 1 stream, 5 states, 1 weight per stream x 3 classes
- LogF0: 3 streams, 5 states per stream, 1 weight per stream x 3 classes
- BAP: 1 stream, 5 states, 1 weight per stream x 3 classes
- Duration: 1 stream, 5 states, 1 weight per state and stream x 3 classes
- Total: 3x10 = 30 weights
- As shown in this example, it is possible to allocate the same weight to different decision trees (spectrum) or more than one weight to the same decision tree (duration) or any other combination. As used herein, decision trees to which the same weighting is to be applied are considered to form a sub-cluster.
- In an embodiment, the mean of a Gaussian distribution with a selected speaker and attribute is expressed as a weighted sum of the means of a Gaussian component, where the summation uses one mean from each cluster, the mean being selected on the basis of the prosodic, linguistic and phonetic context of the acoustic unit which is currently being processed.
-
Figure 5 shows a possible method of selecting the speaker and attribute for the output voice. Here, a user directly selects the weighting using, for example, a mouse to drag and drop a point on the screen, a keyboard to input a figure etc. Infigure 5 , aselection unit 251 which comprises a mouse, keyboard or the like selects theweightings using display 253,Display 253, in this example has 2 radar charts, one for attribute and one for voice which shows the weightings. The user can use the selectingunit 251 in order to change the dominance of the various clusters via the radar charts. It will be appreciated by those skilled in the art that other display methods may be used. - In some embodiments, the weighting can be projected onto their own space, a "weights space" with initially a weight representing each dimension. This space can be rearranged into a different space which dimensions represent different voice attributes. For example, if the modelled voice characteristic is expression, one dimension may indicate happy voice characteristics, another nervous etc, the user may select to increase the weighting on the happy voice dimension so that this voice characteristic dominates. In that case the number of dimensions of the new space is lower than that of the original weights space. The weights vector on the original space λ(s) can then be obtained as a function of the coordinates vector of the new space α(s).
- In one embodiment, this projection of the original weight space onto a reduced dimension weight space is formed using a linear equation of the type λ(s) = Hα(s) where H is a projection matrix. In one embodiment, matrix H is defined to set on its columns the original λ(s)for d representative speakers selected manually, where d is the desired dimension of the new space. Other techniques could be used to either reduce the dimensionality of the weight space or, if the values of α(s)are pre-defined for several speakers, to automatically find the function that maps the control α space to the original λ weight space.
- In a further embodiment, the system is provided with a memory which saves predetermined sets of weightings vectors. Each vector may be designed to allow the text to be outputting with a different voice characteristic and speaker combination. For example, a happy voice, furious voice, etc in combination with any speaker. A system in accordance with such an embodiment is shown in
Figure 6 . Here, thedisplay 253 shows different voice attributes and speakers which may be selected by selectingunit 251. - The system may indicate a set of choices of speaker output based on the attributes of the predetermined sets. The user may then select the speaker required.
- In a further embodiment, as shown in
figure 7 , the system determines the weightings automatically. For example, the system may need to output speech corresponding to text which it recognises as being a command or a question. The system may be configured to output an electronic book. The system may recognise from the text when something is being spoken by a character in the book as opposed to the narrator, for example from quotation marks, and change the weighting to introduce a new voice characteristic to the output. The system may also be configured to determine the speaker for this different speech. The system may also be configured to recognise if the text is repeated. In such a situation, the voice characteristics may change for the second output. Further the system may be configured to recognise if the text refers to a happy moment, or an anxious moment and the text outputted with the appropriate voice characteristics. - In the above system, a
memory 261 is provided which stores the attributes and rules to be checked in the text. The input text is provided byunit 263 tomemory 261. The rules for the text are checked and information concerning the type of voice characteristics are then passed toselector unit 265.Selection unit 265 then looks up the weightings for the selected voice characteristics. - The above system and considerations may also be applied for the system to be used in a computer game where a character in the game speaks.
- In a further embodiment, the system receives information about the text to be outputted from a further source. An example of such a system is shown in
figure 8 . For example, in the case of an electronic book, the system may receive inputs indicating how certain parts of the text should be outputted and the speaker for those parts of text. - In a computer game, the system will be able to determine from the game whether a character who is speaking has been injured, is hiding so has to whisper, is trying to attract the attention of someone, has successfully completed a stage of the game etc.
- In the system of
figure 8 , the further information on how the text should be outputted is received fromunit 271.Unit 271 then sends this information tomemory 273.Memory 273 then retrieves information concerning how the voice should be output and send this tounit 275.Unit 275 then retrieves the weightings for the desired voice output both the speaker and the desired attribute. - Next, the training of a system in accordance with an embodiment of the present invention will be described with reference to
figures 9 to 13 First, training in relation to a CAT based system will be described. - The system of
figure 9 is similar to that described with reference tofigure 1 . Therefore, to avoid any unnecessary repetition, like reference numerals will be used to denote like features. - In addition to the features described with reference to
figure 1 ,figure 9 also comprises anaudio input 23 and anaudio input module 21. When training a system, it is necessary to have an audio input which matches the text being inputted viatext input 15. - In speech processing systems which are based on Hidden Markov Models (HMMs), the HMM is often expressed as:
where - How a HMM is used in a text-to-speech system is well known in the art and will not be described here.
- In the current embodiment, the state transition probability distribution A and the initial state probability distribution are determined in accordance with procedures well known in the art. Therefore, the remainder of this description will be concerned with the state output probability distribution.
-
- The aim when training a conventional text-to-speech system is to estimate the Model parameter set M which maximises likelihood for a given observation sequence. In the conventional model, there is one single speaker and expression, therefore the model parameter set is µ (s,e) m = µ m and Σ (s,e) m = Σ m for the all components m.
- As it is not possible to obtain the above model set based on so called Maximum Likelihood (ML) criteria purely analytically, the problem is conventionally addressed by using an iterative approach known as the expectation maximisation (EM) algorithm which is often referred to as the Baum-Welch algorithm. Here, an auxiliary function (the "Q" function) is derived:
-
- Where m ∈ {1,.....,MN}, t ∈ {1,....., T}, s ∈ {1,....., s} and e ∈ {1,....., E}are indices for component, time speaker and expression respectively and where MN, T, S and E are the total number of components, frames, speakers and expressions respectively.
-
- a set of speaker-expression dependent weights
- a speaker-expression-dependent cluster
- a set of linear transforms
- After applying all the possible speaker dependent transforms in step 211, the mean vector
whereµ c(m,i) are the means of cluster I for component m as described in Eqn. 1, -
- For reasons which will be explained later, in this embodiment, the covariances are clustered and arranged into decision trees where v(m)∈ {1,....., V} denotes the leaf node in a covariance decision tree to which the co-variance matrix of the component m belongs and V is the total number of variance decision tree leaf nodes.
-
- Thus, using the above and substituting equations 6 and 7 in equation 8, the auxiliary function shows that the model parameters may be split into four distinct parts.
- The first part are the parameters of the canonical model i.e. speaker and expression independent means {µn} and the speaker and expression independent covariances {Σk} the above indices n and k indicate leaf nodes of the mean and variance decision trees which will be described later. The second part are the speaker-expression dependent weights
- Once the auxiliary function is expressed in the above manner, it is then maximized with respect to each of the variables in turn in order to obtain the ML values of the speaker and voice characteristic parameters, the speaker dependent parameters and the voice characteristic dependent parameters.
- In detail, for determining the ML estimate of the mean, the following procedure is performed:
-
-
-
-
- It should be noted, that the ML estimate of µn also depends on µk where k does not equal n. The index n is used to represent leaf nodes of decisions trees of mean vectors, whereas the index k represents leaf modes of covariance decision trees. Therefore, it is necessary to perform the optimization by iterating over all µn until convergence.
-
- However, if the training data is small or N is quite large, the coefficient matrix of equation 7 cannot have full rank. This problem can be avoided by using singular value decomposition or other well-known matrix factorization techniques.
-
-
- The ML estimate for speaker dependent weights and the speaker dependent linear transform can also be obtained in the same manner i.e. differentiating the auxiliary function with respect to the parameter for which the ML estimate is required and then setting the value of the differential to 0.
-
-
-
-
- In a preferred embodiment, the process is performed in an iterative manner. This basic system is explained with reference to the flow diagrams of
figures 10 to 12 . - In step S401, a plurality of inputs of audio speech are received. In this illustrative example, 4 speakers are used.
- Next, in step S403, an acoustic model is trained and produced for each of the 4 voices, each speaking with neutral emotion. In this embodiment, each of the 4 models is only trained using data from one voice. S403 will be explained in more detail with reference to the flow chart of
figure 11 . - In step S305 of
figure 11 , the number of clusters P is set to V + 1, where V is the number of voices (4). - In step S307, one cluster (cluster 1), is determined as the bias cluster. The decision trees for the bias cluster and the associated cluster mean vectors are initialised using the voice which in step S303 produced the best model. In this example, each voice is given a tag "Voice A", "Voice B", "Voice C" and "Voice D", here Voice A is assumed to have produced the best model. The covariance matrices, space weights for multi-space probability distributions (MSD) and their parameter sharing structure are also initialised to those of the voice A model.
- Each binary decision tree is constructed in a locally optimal fashion starting with a single root node representing all contexts. In this embodiment, by context, the following bases are used, phonetic, linguistic and prosodic. As each node is created, the next optimal question about the context is selected. The question is selected on the basis of which question causes the maximum increase in likelihood and the terminal nodes generated in the training examples.
- Then, the set of terminal nodes is searched to find the one which can be split using its optimum question to provide the largest increase in the total likelihood to the training data. Providing that this increase exceeds a threshold, the node is divided using the optimal question and two new terminal nodes are created. The process stops when no new terminal nodes can be formed since any further splitting will not exceed the threshold applied to the likelihood split.
-
- Where S(n) denotes a set of components associated with node n. Note that the terms which are constant with respect to µn are not included.
-
-
- Thus, using the above, it is possible to construct a decision tree for each cluster where the tree is arranged so that the optimal question is asked first in the tree and the decisions are arranged in hierarchical order according to the likelihood of splitting. A weighting is then applied to each cluster.
- Decision trees might be also constructed for variance. The covariance decision trees are constructed as follows: If the case terminal node in a covariance decision tree is divided into two new terminal nodes
where D is constant independent of {Σk}. Therefore the increment in likelihood is - In step S309, a specific voice tag is assigned to each of 2,...,P clusters e.g.
clusters -
- In this embodiment, there are global weights per speaker, per stream.
- In step S313, for each
cluster 2,...,(P-1) in turn the clusters are initialised as follows. The voice data for the associated voice, e.g. voice B forcluster 2, is aligned using the mono-speaker model for the associated voice trained in step S303. Given these alignments, the statistics are computed and the decision tree and mean values for the cluster are estimated. The mean values for the cluster are computed as the normalised weighted sum of the cluster means using the weights set in step S311 i.e. in practice this results in the mean values for a given context being the weighted sum (weight 1 in both cases) of the bias cluster mean for that context and the voice B model mean for that context incluster 2. - In step S315, the decision trees are then rebuilt for the bias cluster using all the data from all 4 voices, and associated means and variance parameters re-estimated.
- After adding the clusters for voices B, C and D the bias cluster is re-estimated using all 4 voices at the same time.
- In step S317, Cluster P (voice A) is now initialised as for the other clusters, described in step S313, using data only from voice A.
- Once the clusters have been initialised as above, the CAT model is then updated/trained as follows:
- In step S319 the decision trees are re-constructed cluster-by-cluster from
cluster 1 to P, keeping the CAT weights fixed. In step S321, new means and variances are estimated in the CAT model. Next in step S323, new CAT weights are estimated for each cluster. In an embodiment, the process loops back to S321 until convergence. The parameters and weights are estimated using maximum likelihood calculations performed by using the auxiliary function of the Baum-Welch algorithm to obtain a better estimate of said parameters. - As previously described, the parameters are estimated via an iterative process.
- In a further embodiment, at step S323, the process loops back to step S319 so that the decision trees are reconstructed during each iteration until convergence.
- The process then returns to step S405 of
figure 10 where the model is then trained for different attributes. In this particular example, the attribute is emotion. - In this embodiment, emotion in a speaker's voice is modelled using cluster adaptive training in the same manner as described for modelling the speaker's voice instep S403. First, "emotion clusters" are initialised in step S405. This will be explained in more detail with reference to
figure 12 - Data is then collected for at least one of the speakers where the speaker's voice is emotional. It is possible to collect data from just one speaker, where the speaker provides a number of data samples, each exhibiting a different emotions or a plurality of the speakers providing speech data samples with different emotions. In this embodiment, it will be presumed that the speech samples provided to train the system to exhibit emotion come from the speakers whose data was collected to train the initial CAT model in step S403. However, the system can also train to exhibit emotion using data from a speaker whose data was not used in S403 and this will be described later.
- In step S451, the non-Neutral emotion data is then grouped into Ne groups. In step S453, Ne additional clusters are added to model emotion. A cluster is associated with each emotion group. For example, a cluster is associated with "Happy", etc.
- These emotion clusters are provided in addition to the neutral speaker clusters formed in step S403.
- In step S455, initialise a binary vector for the emotion cluster weighting such that if speech data is to be used for training exhibiting one emotion, the cluster is associated with that emotion is set to "1" and all other emotion clusters are weighted at "0".
- During this initialisation phase the neutral emotion speaker clusters are set to the weightings associated with the speaker for the data.
- Next, the decision trees are built for each emotion cluster in step S457. Finally, the weights are re-estimated based on all of the data in step S459.
- After the emotion clusters have been initialised as explained above, the Gaussian means and variances are re-estimated for all clusters, bias, speaker and emotion in step S407.
- Next, the weights for the emotion clusters are re-estimated as described above in step S409. The decision trees are then re-computed in step S411. Next, the process loops back to step S407 and the model parameters, followed by the weightings in step S409, followed by reconstructing the decision trees in step S411 are performed until convergence. In an embodiment, the loop S407-S409 is repeated several times.
- Next, in step S413, the model variance and means are re-estimated for all clusters, bias, speaker and emotion. In step S415 the weights are re-estimated for the speaker clusters and the decision trees are rebuilt in step S417. The process then loops back to step S413 and this loop is repeated until convergence. Then the process loops back to step S407 and the loop concerning emotions is repeated until converge. The process continues until convergence is reached for both loops jointly.
-
Figure 13 showsclusters 1 to P which are in the forms of decision trees. In this simplified example, there are just four terminal nodes incluster 1 and three terminal nodes in cluster P. It is important to note that the decision trees need not be symmetric i.e. each decision tree can have a different number of terminal nodes. The number of terminal nodes and the number of branches in the tree is determined purely by the log likelihood splitting which achieves the maximum split at the first decision and then the questions are asked in order of the question which causes the larger split. Once the split achieved is below a threshold, the splitting of a node terminates. - The above produces a canonical model which allows the following synthesis to be performed:
- 1. Any of the 4 voices can be synthesised using the final set of weight vectors corresponding to that voice in combination with any attribute such as emotion for which the system has been trained. Thus, in the case that only "happy" data exists for
speaker 1, providing that the system has been trained with "angry" data for at least one of the other voices, it is possible for system to output the voice ofspeaker 1 with the "angry emotion". - 2. A random voice can be synthesised from the acoustic space spanned by the CAT model by setting the weight vectors to arbitrary positions and any of the trained attributes can be applied to this new voice.
- 3. The system may also be used to output a voice with 2 or more different attributes. For example, a speaker voice may be outputted with 2 different attributes, for example an emotion and an accent.
- To model different attributes which can be combined such as accent and emotion, the two different attributes to be combined are incorporated as described in relation to
equation 3 above. - In such an arrangement, one set of clusters will be for different speakers, another set of clusters for emotion and a final set of clusters for accent. Referring back to
figure 10 , the emotion clusters will be initialised as explained with reference tofigure 12 , the accent clusters will also be initialised as an additional group of clusters as explained with reference tofigure 12 as for emotion.Figure 10 shows that there is a separate loop for training emotion then a separate loop for training speaker. If the voice attribute is to have 2 components such as accent and emotion, there will be a separate loop for accent and a separate loop for emotion. - The framework of the above embodiment allows the models to be trained jointly, thus enhancing both the controllability and the quality of the generated speech. The above also allows for the requirements for the range of training data to be more relaxed. For example, the training data configuration shown in
figure 14 could be used where there are: - 3 female speakers - fs1; fs2; and fs3
- 3 male speakers - ms1, ms2 and ms3
- where fs1 and fs2 have an American accent and are recorded speaking with neutral emotion, fs3 has a Chinese accent and is recorded speaking for 3 lots of data, where one data set shows neutral emotion, one data set shows happy emotion and one data set angry emotion. Male speaker ms1 has an American accent is recorded only speaking with neutral emotion, male speaker ms2 has a Scottish accent and is recorded for 3 data sets speaking with the emotions of angry, happy and sad. The third male speaker ms3 has a Chinese accent and is recorded speaking with neutral emotion. The above system allows voice data to be output with any of the 6 speaker voices with any of the recorded combinations of accent and emotion.
- In an embodiment, there is overlap between the voice attributes and speakers such that the grouping of the data used for training the clusters is unique for each voice characteristic.
- In a further example, the assistant is used to synthesise a voice characteristic where the system is given an input of a target speaker voice which allows the system to adapt to a new speaker or the system may be given data with a new voice attribute such as accent or emotion.
- A system in accordance with an embodiment of the present invention may also adapt to a new speaker and/or attribute.
-
Figure 15 shows one example of the system adapting to a new speaker with neutral emotion. First, the input target voice is received at step 501. Next, the weightings of the canonical model i.e. the weightings of the clusters which have been previously trained, are adjusted to match the target voice in step 503. - The audio is then outputted using the new weightings derived in step S503.
- In a further embodiment, a new neutral emotion speaker cluster may be initialised and trained as explained with reference to
figures 10 and11 . - In a further embodiment, the system is used to adapt to a new attribute such as a new emotion. This will be described with reference to
figure 16 . - As in
figure 15 , first, a target voice is received in step S601, the data is collected for the voice speaking with the new attribute. First, the weightings for the neutral speaker clusters are adjusted to best match the target voice in step S603. - Then, a new emotion cluster is added to the existing emotion clusters for the new emotion in step S607. Next, the decision tree for the new cluster is initialised as described with relation to
figure 12 from step S455 onwards. The weightings, model parameters and trees are then re-estimated and rebuilt for all clusters as described with reference tofigure 11 . - Any of the speaker voices which may be generated by the system can be output with the new emotion.
-
Figure 17 shows a plot useful for visualising how the speaker voices and attributes are related. The plot offigure 17 is shown in 3 dimensions but can be extended to higher dimension orders. - Speakers are plotted along the z axis. In this simplified plot, the speaker weightings are defined as a single dimension, in practice, there are likely to be 2 or more speaker weightings represented on a corresponding number of axis.
- Expression is represented on the x-y plane. With
expression 1 along the x axis andexpression 2 along the y axis, the weighting corresponding to angry and sad are shown. Using this arrangement it is possible to generate the weightings required for an "Angry" speaker a and a "Sad" speaker b. By deriving the point on the x-y plane which corresponds to a new emotion or attribute, it can be seen how a new emotion or attribute can be applied to the existing speakers. -
Figure 18 shows the principles explained above with reference to acoustic space. A 2-dimension acoustic space is shown here to allow a transform to be visualised. However, in practice, the acoustic space will extend in many dimensions. -
-
-
- This is shown in
figure 18 . - Thus, to port the characteristics of expression 2 (xpr2) to a different speaker voice (Spk2), it is sufficient to add the appropriate Δ to the mean vectors of the speaker model for Spk2. In this case, the appropriate Δ is derived from a speaker where data is available for this speaker speaking with xpr2. This speaker will be referred to as Spk1. Δ is derived from Spk1 as the difference between the mean vectors of Spk1 speaking with the desired expression xpr2 and the mean vectors of Spk1 speaking with an expression xpr. The expression xpr is an expression which is common to both
speaker 1 andspeaker 2. For example, xpr could be neutral expression if the data for neutral expression is available for both Spk1 and Spk2. However, it could be any expression which is matched or closely matched for both speakers. In an embodiment, to determine an expression which is closely matched for Spk1 and Spk2, a distance function can be constructed between Spk1 and Spk2 for the different expressions available for the speakers and the distance function may be minimised. The distance function may be selected from a euclidean distance, Bhattacharyya distance or Kullback-Leibler distance. -
- The above examples have mainly used a CAT based technique, but identifying a Δ can be applied, in principle, for any type of statistical model that allows different types of expression to be output.
- While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed the novel methods and apparatus described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of methods and apparatus described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms of modifications as would fall within the scope and spirit of the inventions.
Claims (20)
- A text-to-speech method configured to output speech having a selected speaker voice and a selected speaker attribute,
said method comprising:inputting text;dividing said inputted text into a sequence of acoustic units;selecting a speaker for the inputted text;selecting a speaker attribute for the inputted text;converting said sequence of acoustic units to a sequence of speech vectors using an acoustic model; andoutputting said sequence of speech vectors as audio with said selected speaker voice and a selected speaker attribute,wherein said acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute. - A method according to claim 1, wherein there are a plurality of sets of parameters relating to different speaker attributes and the plurality of sets of parameters do not overlap.
- A method according to claim 1, wherein the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors and selection of the first and second set of parameters modifies the said probability distributions.
- A method according to claim 3, wherein said second parameter set is related to an offset which is added to at least some of the parameters of the first set of parameters.
- A method according to claim 3, wherein control of the speaker voice and attributes is achieved via a weighted sum of the means of the said probability distributions and selection of the first and second sets of parameters controls the weightings used.
- A method according to claim 5, wherein the first set of parameters and the second set of parameters are provided in clusters, and each cluster comprises at least one sub-cluster, and a weighting is derived for each sub-cluster.
- A method according to claim 1, wherein the sets of parameters are continuous such that the speaker voice is variable over a continuous range and the voice attribute is variable over a continuous range.
- A method according to claim 1, wherein the values of the first and second sets of parameters are defined using audio, text, an external agent or any combination thereof.
- A method according to claim 4, wherein the method is configured to transplant a speech attribute from a first speaker to a second speaker, by adding second parameters obtained from the speech of a first speaker to that of a second speaker.
- A method according to claim 9, wherein the second parameters are obtained by:receiving speech data from the first speaker speaking with the attribute to be transplanted;identifying speech data for the first speaker which is closest to the speech data of the second speaker;determining the difference between the speech data obtained from the first speaker speaking with the attribute to be transplanted and the speech data of the first speaker which is closest to the speech data of the second speaker; anddetermining the second parameters from the said difference.
- A method according to claim 10, wherein the difference is determined between the means of the probability distributions which relate the acoustic units to the sequence of speech vectors.
- A method according to claim 10, wherein the second parameters are determined as a function of the said difference and said function is a linear function.
- A method according to claim 11, wherein the identifying speech data for the first speaker which is closest to the speech data of the second speaker comprises minimizing a distance function that depends on the probability distributions of the speech data of the first speaker and the speech data of the second speaker.
- A method according to claim 13, wherein said distance function is a euclidean distance, Bhattacharyya distance or Kullback-Leibler distance.
- A method of training an acoustic model for a text-to-speech system, wherein said acoustic model converts a sequence of acoustic units to a sequence of speech vectors, the method comprising:receiving speech data from a plurality of speakers and a plurality of speakers speaking with different attributes;isolating speech data from the received speech data which relates to speakers speaking with a common attribute;training a first acoustic sub-model using the speech data received from a plurality of speakers speaking with a common attribute, said training comprising deriving a first set of parameters, wherein said first set of parameters are varied to allow the acoustic model to accommodate speech for the plurality of speakers;training a second acoustic sub-model from the remaining speech, said training comprising identifying a plurality of attributes from said remaining speech and deriving a set of second parameters wherein said set of second parameters are varied to allow the acoustic model to accommodate speech for the plurality of attributes; andoutputting an acoustic model by combining the first and second acoustic sub-models such that the combined acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute.
- A method according to claim 15, wherein the acoustic model comprises probability distribution functions which relate the acoustic units to the sequence of speech vectors, and training the first acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said first parameters are speaker dependent weights to be applied such there is one weight per sub-cluster, and
training the second acoustic sub-model comprises arranging the probability distributions into clusters, with each cluster comprises at least one sub-cluster, and wherein said second parameters are attribute dependent weights to be applied such there is one weight per sub-cluster. - A method according to claim 16, wherein the received speech data containing a variety of each one of the considered voice attributes.
- A method according to claim 16, wherein training the model comprises repeatedly re-estimating the parameters of the first acoustic sub-model while keeping part of the parameters of the second acoustic sub-model fixed and then re-estimating the parameters of the second acoustic sub-model while keeping part of the parameters of the first acoustic model fixed until a convergence criteria is met.
- A text-to-speech system for use for simulating speech having a selected speaker voice and a selected speaker attribute a plurality of different voice characteristics,
said system comprising:a text input for receiving inputted text;a processor configured to:divide said inputted text into a sequence of acoustic units;allow selection of a speaker for the inputted text;allow selection of a speaker attribute for the inputted text;convert said sequence of acoustic units to a sequence of speech vectors using an acoustic model, wherein said model has a plurality of model parameters describing probability distributions which relate an acoustic unit to a speech vector; andoutput said sequence of speech vectors as audio with said selected speaker voice and a selected speaker attribute,wherein said acoustic model comprises a first set of parameters relating to speaker voice and a second set of parameters relating to speaker attributes, wherein the first and second set of parameters do not overlap, and wherein selecting a speaker voice comprises selecting parameters from the first set of parameters which give the speaker voice and selecting the speaker attribute comprises selecting the parameters from the second set which give the selected speaker attribute. - A carrier medium comprising computer readable code configured to cause a computer to perform the method of claim 1.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1205791.5A GB2501067B (en) | 2012-03-30 | 2012-03-30 | A text to speech system |
Publications (1)
Publication Number | Publication Date |
---|---|
EP2650874A1 true EP2650874A1 (en) | 2013-10-16 |
Family
ID=46160121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP13159582.9A Withdrawn EP2650874A1 (en) | 2012-03-30 | 2013-03-15 | A text to speech system |
Country Status (5)
Country | Link |
---|---|
US (1) | US9269347B2 (en) |
EP (1) | EP2650874A1 (en) |
JP (2) | JP2013214063A (en) |
CN (1) | CN103366733A (en) |
GB (1) | GB2501067B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2524503A (en) * | 2014-03-24 | 2015-09-30 | Toshiba Res Europ Ltd | Speech synthesis |
GB2524505A (en) * | 2014-03-24 | 2015-09-30 | Toshiba Res Europ Ltd | Voice conversion |
WO2016040209A1 (en) * | 2014-09-11 | 2016-03-17 | Microsoft Technology Licensing, Llc | Text-to-speech with emotional content |
EP3151239A1 (en) * | 2015-09-29 | 2017-04-05 | Yandex Europe AG | Method and system for text-to-speech synthesis |
US9916825B2 (en) | 2015-09-29 | 2018-03-13 | Yandex Europe Ag | Method and system for text-to-speech synthesis |
US20220335928A1 (en) * | 2019-08-19 | 2022-10-20 | Nippon Telegraph And Telephone Corporation | Estimation device, estimation method, and estimation program |
Families Citing this family (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10088976B2 (en) * | 2009-01-15 | 2018-10-02 | Em Acquisition Corp., Inc. | Systems and methods for multiple voice document narration |
GB2501062B (en) * | 2012-03-14 | 2014-08-13 | Toshiba Res Europ Ltd | A text to speech method and system |
GB2516965B (en) | 2013-08-08 | 2018-01-31 | Toshiba Res Europe Limited | Synthetic audiovisual storyteller |
GB2517212B (en) | 2013-08-16 | 2018-04-25 | Toshiba Res Europe Limited | A Computer Generated Emulation of a subject |
US9311430B2 (en) * | 2013-12-16 | 2016-04-12 | Mitsubishi Electric Research Laboratories, Inc. | Log-linear dialog manager that determines expected rewards and uses hidden states and actions |
CN104765591A (en) * | 2014-01-02 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Method and system for updating software configuration parameter, and terminal server |
US9892726B1 (en) * | 2014-12-17 | 2018-02-13 | Amazon Technologies, Inc. | Class-based discriminative training of speech models |
CN104485100B (en) * | 2014-12-18 | 2018-06-15 | 天津讯飞信息科技有限公司 | Phonetic synthesis speaker adaptive approach and system |
US9685169B2 (en) * | 2015-04-15 | 2017-06-20 | International Business Machines Corporation | Coherent pitch and intensity modification of speech signals |
US9679497B2 (en) | 2015-10-09 | 2017-06-13 | Microsoft Technology Licensing, Llc | Proxies for speech generating devices |
US10262555B2 (en) | 2015-10-09 | 2019-04-16 | Microsoft Technology Licensing, Llc | Facilitating awareness and conversation throughput in an augmentative and alternative communication system |
US10148808B2 (en) | 2015-10-09 | 2018-12-04 | Microsoft Technology Licensing, Llc | Directed personal communication for speech generating devices |
CN105635158A (en) * | 2016-01-07 | 2016-06-01 | 福建星网智慧科技股份有限公司 | Speech call automatic warning method based on SIP (Session Initiation Protocol) |
GB2546981B (en) * | 2016-02-02 | 2019-06-19 | Toshiba Res Europe Limited | Noise compensation in speaker-adaptive systems |
US10235994B2 (en) * | 2016-03-04 | 2019-03-19 | Microsoft Technology Licensing, Llc | Modular deep learning model |
CN107704482A (en) * | 2016-08-09 | 2018-02-16 | 松下知识产权经营株式会社 | Method, apparatus and program |
US10163451B2 (en) * | 2016-12-21 | 2018-12-25 | Amazon Technologies, Inc. | Accent translation |
JP2018155774A (en) * | 2017-03-15 | 2018-10-04 | 株式会社東芝 | Voice synthesizer, voice synthesis method and program |
JP6805037B2 (en) * | 2017-03-22 | 2020-12-23 | 株式会社東芝 | Speaker search device, speaker search method, and speaker search program |
CN107316635B (en) * | 2017-05-19 | 2020-09-11 | 科大讯飞股份有限公司 | Voice recognition method and device, storage medium and electronic equipment |
US10943601B2 (en) | 2017-05-31 | 2021-03-09 | Lenovo (Singapore) Pte. Ltd. | Provide output associated with a dialect |
JP7082357B2 (en) * | 2018-01-11 | 2022-06-08 | ネオサピエンス株式会社 | Text-to-speech synthesis methods using machine learning, devices and computer-readable storage media |
US11238843B2 (en) * | 2018-02-09 | 2022-02-01 | Baidu Usa Llc | Systems and methods for neural voice cloning with a few samples |
CN108615533B (en) * | 2018-03-28 | 2021-08-03 | 天津大学 | High-performance voice enhancement method based on deep learning |
US10810993B2 (en) * | 2018-10-26 | 2020-10-20 | Deepmind Technologies Limited | Sample-efficient adaptive text-to-speech |
JP6737320B2 (en) | 2018-11-06 | 2020-08-05 | ヤマハ株式会社 | Sound processing method, sound processing system and program |
JP6747489B2 (en) | 2018-11-06 | 2020-08-26 | ヤマハ株式会社 | Information processing method, information processing system and program |
CN109523986B (en) * | 2018-12-20 | 2022-03-08 | 百度在线网络技术(北京)有限公司 | Speech synthesis method, apparatus, device and storage medium |
US10957304B1 (en) * | 2019-03-26 | 2021-03-23 | Audible, Inc. | Extracting content from audio files using text files |
CN110097890B (en) * | 2019-04-16 | 2021-11-02 | 北京搜狗科技发展有限公司 | Voice processing method and device for voice processing |
US11062691B2 (en) | 2019-05-13 | 2021-07-13 | International Business Machines Corporation | Voice transformation allowance determination and representation |
CN110718208A (en) * | 2019-10-15 | 2020-01-21 | 四川长虹电器股份有限公司 | Voice synthesis method and system based on multitask acoustic model |
CN111583900B (en) * | 2020-04-27 | 2022-01-07 | 北京字节跳动网络技术有限公司 | Song synthesis method and device, readable medium and electronic equipment |
CN113808576A (en) * | 2020-06-16 | 2021-12-17 | 阿里巴巴集团控股有限公司 | Voice conversion method, device and computer system |
US11605370B2 (en) | 2021-08-12 | 2023-03-14 | Honeywell International Inc. | Systems and methods for providing audible flight information |
CN114283782A (en) * | 2021-12-31 | 2022-04-05 | 科大讯飞股份有限公司 | Speech synthesis method and apparatus, electronic device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050182630A1 (en) * | 2004-02-02 | 2005-08-18 | Miro Xavier A. | Multilingual text-to-speech system with limited resources |
US20060069567A1 (en) * | 2001-12-10 | 2006-03-30 | Tischer Steven N | Methods, systems, and products for translating text to speech |
US7454348B1 (en) * | 2004-01-08 | 2008-11-18 | At&T Intellectual Property Ii, L.P. | System and method for blending synthetic voices |
WO2010142928A1 (en) * | 2009-06-10 | 2010-12-16 | Toshiba Research Europe Limited | A text to speech method and system |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034282A (en) * | 1999-07-21 | 2001-02-09 | Konami Co Ltd | Voice synthesizing method, dictionary constructing method for voice synthesis, voice synthesizer and computer readable medium recorded with voice synthesis program |
US20030028380A1 (en) * | 2000-02-02 | 2003-02-06 | Freeland Warwick Peter | Speech system |
US6810378B2 (en) * | 2001-08-22 | 2004-10-26 | Lucent Technologies Inc. | Method and apparatus for controlling a speech synthesis system to provide multiple styles of speech |
DE60215296T2 (en) * | 2002-03-15 | 2007-04-05 | Sony France S.A. | Method and apparatus for the speech synthesis program, recording medium, method and apparatus for generating a forced information and robotic device |
JP4736511B2 (en) | 2005-04-05 | 2011-07-27 | 株式会社日立製作所 | Information providing method and information providing apparatus |
JP5321058B2 (en) * | 2006-05-26 | 2013-10-23 | 日本電気株式会社 | Information grant system, information grant method, information grant program, and information grant program recording medium |
CN101295504B (en) * | 2007-04-28 | 2013-03-27 | 诺基亚公司 | Entertainment audio only for text application |
WO2009021183A1 (en) * | 2007-08-08 | 2009-02-12 | Lessac Technologies, Inc. | System-effected text annotation for expressive prosody in speech synthesis and recognition |
US20090326948A1 (en) * | 2008-06-26 | 2009-12-31 | Piyush Agarwal | Automated Generation of Audiobook with Multiple Voices and Sounds from Text |
JP2011028130A (en) | 2009-07-28 | 2011-02-10 | Panasonic Electric Works Co Ltd | Speech synthesis device |
US8660835B2 (en) * | 2009-10-30 | 2014-02-25 | International Business Machines Corporation | System and a method for automatically detecting text type and text orientation of a bidirectional (BIDI) text |
TWI413105B (en) * | 2010-12-30 | 2013-10-21 | Ind Tech Res Inst | Multi-lingual text-to-speech synthesis system and method |
-
2012
- 2012-03-30 GB GB1205791.5A patent/GB2501067B/en active Active
-
2013
- 2013-03-15 EP EP13159582.9A patent/EP2650874A1/en not_active Withdrawn
- 2013-03-15 US US13/836,146 patent/US9269347B2/en active Active
- 2013-03-19 JP JP2013056399A patent/JP2013214063A/en active Pending
- 2013-04-01 CN CN2013101101486A patent/CN103366733A/en active Pending
-
2015
- 2015-05-11 JP JP2015096807A patent/JP6092293B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060069567A1 (en) * | 2001-12-10 | 2006-03-30 | Tischer Steven N | Methods, systems, and products for translating text to speech |
US7454348B1 (en) * | 2004-01-08 | 2008-11-18 | At&T Intellectual Property Ii, L.P. | System and method for blending synthetic voices |
US20050182630A1 (en) * | 2004-02-02 | 2005-08-18 | Miro Xavier A. | Multilingual text-to-speech system with limited resources |
WO2010142928A1 (en) * | 2009-06-10 | 2010-12-16 | Toshiba Research Europe Limited | A text to speech method and system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2524503A (en) * | 2014-03-24 | 2015-09-30 | Toshiba Res Europ Ltd | Speech synthesis |
GB2524505A (en) * | 2014-03-24 | 2015-09-30 | Toshiba Res Europ Ltd | Voice conversion |
GB2524505B (en) * | 2014-03-24 | 2017-11-08 | Toshiba Res Europe Ltd | Voice conversion |
GB2524503B (en) * | 2014-03-24 | 2017-11-08 | Toshiba Res Europe Ltd | Speech synthesis |
WO2016040209A1 (en) * | 2014-09-11 | 2016-03-17 | Microsoft Technology Licensing, Llc | Text-to-speech with emotional content |
CN106688034A (en) * | 2014-09-11 | 2017-05-17 | 微软技术许可有限责任公司 | Text-to-speech with emotional content |
US9824681B2 (en) | 2014-09-11 | 2017-11-21 | Microsoft Technology Licensing, Llc | Text-to-speech with emotional content |
CN106688034B (en) * | 2014-09-11 | 2020-11-13 | 微软技术许可有限责任公司 | Text-to-speech conversion with emotional content |
EP3151239A1 (en) * | 2015-09-29 | 2017-04-05 | Yandex Europe AG | Method and system for text-to-speech synthesis |
US9916825B2 (en) | 2015-09-29 | 2018-03-13 | Yandex Europe Ag | Method and system for text-to-speech synthesis |
US20220335928A1 (en) * | 2019-08-19 | 2022-10-20 | Nippon Telegraph And Telephone Corporation | Estimation device, estimation method, and estimation program |
US11996086B2 (en) * | 2019-08-19 | 2024-05-28 | Nippon Telegraph And Telephone Corporation | Estimation device, estimation method, and estimation program |
Also Published As
Publication number | Publication date |
---|---|
JP6092293B2 (en) | 2017-03-08 |
CN103366733A (en) | 2013-10-23 |
US20130262119A1 (en) | 2013-10-03 |
JP2015172769A (en) | 2015-10-01 |
GB2501067A (en) | 2013-10-16 |
GB201205791D0 (en) | 2012-05-16 |
GB2501067B (en) | 2014-12-03 |
JP2013214063A (en) | 2013-10-17 |
US9269347B2 (en) | 2016-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9269347B2 (en) | Text to speech system | |
EP2639791B1 (en) | A text to speech method and system | |
EP2846327B1 (en) | Acoustic model training method and system | |
JP5768093B2 (en) | Speech processing system | |
US8825485B2 (en) | Text to speech method and system converting acoustic units to speech vectors using language dependent weights for a selected language | |
US9361722B2 (en) | Synthetic audiovisual storyteller | |
JP6109901B2 (en) | Computer generated head | |
GB2524505A (en) | Voice conversion | |
Coto-Jiménez et al. | Speech Synthesis Based on Hidden Markov Models and Deep Learning. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20130315 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
17Q | First examination report despatched |
Effective date: 20140611 |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: G10L 13/08 20130101ALI20160201BHEP Ipc: G10L 13/033 20130101AFI20160201BHEP Ipc: G10L 21/013 20130101ALN20160201BHEP |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: G10L 13/08 20130101ALI20160209BHEP Ipc: G10L 21/013 20130101ALN20160209BHEP Ipc: G10L 13/033 20130101AFI20160209BHEP |
|
INTG | Intention to grant announced |
Effective date: 20160224 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20160706 |