JPH06149284A - Text speech synthesizing device - Google Patents
Text speech synthesizing deviceInfo
- Publication number
- JPH06149284A JPH06149284A JP4301373A JP30137392A JPH06149284A JP H06149284 A JPH06149284 A JP H06149284A JP 4301373 A JP4301373 A JP 4301373A JP 30137392 A JP30137392 A JP 30137392A JP H06149284 A JPH06149284 A JP H06149284A
- Authority
- JP
- Japan
- Prior art keywords
- speed
- synthesis
- mode
- text
- 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.)
- Pending
Links
- 230000002194 synthesizing effect Effects 0.000 title claims abstract description 16
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 101
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 101
- 239000000872 buffer Substances 0.000 claims abstract description 45
- 238000000034 method Methods 0.000 abstract description 36
- 230000008569 process Effects 0.000 abstract description 36
- 230000008859 change Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 10
- 239000000203 mixture Substances 0.000 description 4
- 239000011295 pitch Substances 0.000 description 4
- 239000002131 composite material Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、テキストを音声に合成
するテキスト音声合成装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text-to-speech synthesizer for synthesizing text into speech.
【0002】[0002]
【従来の技術】従来、テキスト形式の言葉を音声に合成
する音声合成装置が知られている。以下に、従来のテキ
ストテキスト音声合成装置について日本語の音声合成を
例にして説明する。図9は従来のテキスト音声合成処理
のブロック図である。2. Description of the Related Art Heretofore, there has been known a voice synthesizing device for synthesizing text-form words into voice. A conventional text-to-speech synthesizer will be described below by taking Japanese speech synthesis as an example. FIG. 9 is a block diagram of conventional text-to-speech processing.
【0003】図9において、A0は日本語テキスト、A
1は単語連接情報、A2はテキスト解析、A3は日本語
単語辞書、B1音韻規律付与、C1は波形合成、C2は
波形辞書、C3は合成音である。音声合成は、テキスト
解析処理Aと合成パラメータ生成処理Bと音声合成処理
Cの3つの段階から構成され、日本語テキストA0はテ
キスト解析処理A、合成パラメータ生成処理B、音声合
成処理Cを経て合成音C3として外部に出力される。In FIG. 9, A0 is a Japanese text, A
Reference numeral 1 is word concatenation information, A2 is text analysis, A3 is a Japanese word dictionary, B1 phonological discipline addition, C1 is waveform synthesis, C2 is a waveform dictionary, and C3 is synthesized speech. The speech synthesis is composed of three stages of text analysis processing A, synthesis parameter generation processing B and speech synthesis processing C. Japanese text A0 is synthesized through text analysis processing A, synthesis parameter generation processing B and speech synthesis processing C. The sound C3 is output to the outside.
【0004】日本語テキストA0は文字キャラクタ列で
あり、入力装置(図示されない)を介してテキスト音声
合成装置に入力される。テキスト解析処理Aは、入力さ
れた日本語テキストA0の文字キャラクタ列の単語連接
情報A1と日本語単語辞書A3を参照しながら解析処理
を行う。このテキスト解析処理Aにおいては、例えば単
語や文節の同定、その単語や文節の読みの付与、文節の
アクセントの決定、連濁や音便処理等を行う。The Japanese text A0 is a character string and is input to the text-to-speech synthesizer via an input device (not shown). The text analysis processing A performs analysis processing with reference to the word concatenation information A1 of the character string of the input Japanese text A0 and the Japanese word dictionary A3. In the text analysis process A, for example, a word or a phrase is identified, the reading of the word or the phrase is added, the accent of the phrase is determined, and rendaku or phonophore processing is performed.
【0005】次に、合成パラメータ生成処理Bにおいて
は、音声を合成する際のピッチやパワー等の各種のパラ
メータの決定を行う。この合成パラメータ生成処理Bは
韻律規則付与B1によって行われる。韻律規則付与B1
は、前記テキスト解析A2の処理結果にしたがって音声
合成を行う際の単位の決定、ポーズの挿入、音韻継続時
間制御、振幅制御、ピッチ制御等を行う。Next, in the synthesis parameter generation process B, various parameters such as pitch and power when synthesizing a voice are determined. This synthesis parameter generation process B is performed by prosody rule assignment B1. Prosody rule addition B1
Performs the unit determination, the insertion of a pause, the phoneme duration control, the amplitude control, the pitch control, etc. when performing voice synthesis according to the processing result of the text analysis A2.
【0006】最後に、音声合成処理Cにおいて合成音を
発生する。この音声合成Cは波形合成C1において、合
成パラメータ生成処理Bの処理にしたがって波形辞書C
2を参照しながら、合成音C3の波形を生成する。次
に、前記図9及び図10の従来のテキスト音声合成装置
のブロック図によって従来のテキスト音声合成装置の構
成を説明する。Finally, in the voice synthesizing process C, a synthetic sound is generated. This speech synthesis C is the waveform synthesis C1 according to the processing of the synthesis parameter generation processing B in the waveform dictionary C.
With reference to 2, the waveform of the synthesized voice C3 is generated. Next, the configuration of the conventional text-to-speech synthesizer will be described with reference to the block diagrams of the conventional text-to-speech synthesizers shown in FIGS.
【0007】図10において、1は文字キャラクタ出力
部、2は文字キャラクタ入力部、3は内部バス、4は制
御部、5は辞書記憶部、6は内部バッファ、7は音声合
成部、8は音声出力部、40は上位装置である。上位装
置40はテキスト音声合成装置と接続されるものであ
り、その機能の一つとして文字キャラクタ出力部1を有
している。この文字キャラクタ出力部1は、文字キャラ
クタを送出するためのポートである。したがって、音声
合成するテキストは、この上位装置40の文字キャラク
タ出力部1からテキスト音声合成装置の文字キャラクタ
入力部2に入力される。In FIG. 10, 1 is a character character output unit, 2 is a character character input unit, 3 is an internal bus, 4 is a control unit, 5 is a dictionary storage unit, 6 is an internal buffer, 7 is a voice synthesis unit, and 8 is The voice output unit 40 is a higher-level device. The upper device 40 is connected to the text-to-speech synthesizer and has the character / character output unit 1 as one of its functions. The character / character output unit 1 is a port for sending out character characters. Therefore, the text to be voice-synthesized is input from the character / character output unit 1 of the host device 40 to the character / character input unit 2 of the text-to-speech synthesizer.
【0008】テキスト音声合成装置内の文字キャラクタ
入力部2は、上位装置40から送出される文字キャラク
タを受け取ると、その文字キャラクタを内部バス3を通
じて制御部4に送る。制御部4は、辞書記憶部5及び内
部バッファ6をアクセスしながらテキスト解析処理Aと
合成パラメータ生成処理Bの処理を実行する。生成され
た合成パラメータは内部バッファ6に一時蓄えられ、次
に音声合成部7に送られる。When the character / character input unit 2 in the text-to-speech synthesizer receives the character / character sent from the host device 40, it sends the character / character to the control unit 4 through the internal bus 3. The control unit 4 executes the text analysis process A and the synthesis parameter generation process B while accessing the dictionary storage unit 5 and the internal buffer 6. The generated synthesis parameter is temporarily stored in the internal buffer 6 and then sent to the voice synthesis unit 7.
【0009】音声合成部7は、音声合成処理Cの処理を
行い、音声出力部8から音声を出力する。一般的なテキ
スト音声合成装置の有する機能として、男声や女声の声
質の切替え、音声合成速度の変更、音程の変更、アクセ
ントの大きさの変更、音量の変更がある。これらの機能
を駆動するために入力される文字キャラクタは、特殊な
文字列として定義される。そして、この特殊な文字列は
上位装置において、文章中に埋め込んで用いられるのが
一般的である。The voice synthesizing unit 7 performs a voice synthesizing process C and outputs a voice from the voice output unit 8. Functions of a general text-to-speech synthesizer include switching of voice quality of male and female voices, change of voice synthesis speed, change of pitch, change of accent size, and change of volume. Character characters input to drive these functions are defined as special character strings. Then, this special character string is generally used by embedding it in a sentence in a host device.
【0010】以下に、従来の特殊な文字列による音声合
成の特性の変更について、音声合成速度を例として説明
する。図11は、従来の特殊文字列を用いた音声合成速
度を変化させる文章例である。図11において、特殊記
号{ }でかこまれた文字列は特殊文字列を定義してい
る。例えば{Sφ}51で表される特殊文字列は、Sに
よって音声合成速度の指定を示し、続くφは音声合成速
度の値を示している。そして、この特殊文字列{Sφ}
51に続く「あいうえおかきくけこ」52は音声合成さ
せたい文章を表している。The change of the characteristic of the conventional speech synthesis by the special character string will be described below by taking the speech synthesis speed as an example. FIG. 11 is an example of a sentence that changes the voice synthesis speed using a conventional special character string. In FIG. 11, the character string enclosed by the special symbols {} defines a special character string. For example, the special character string represented by {Sφ} 51 indicates the designation of the voice synthesis rate by S, and the subsequent φ indicates the value of the voice synthesis rate. And this special character string {Sφ}
"AIUEOKAKUKUKEKO" 52 following 51 indicates a sentence to be speech-synthesized.
【0011】また、特殊文字列{S1}53は前記特殊
文字列{Sφ}51と同様に合成速度の指定を行うもの
であり、{S1}53の合成速度は{Sφ}51の合成
速度よりも速度が速いことを示しているとすることがで
きる。なお、この特殊文字列{S1}53に続く「あい
うえおかきくけこ。」54の文章は、この特殊文字列
{S1}53によって定められる音声合成速度によって
合成させたい文章を表している。Further, the special character string {S1} 53 is used for designating the composition speed similarly to the special character string {Sφ} 51. The composition speed of {S1} 53 is greater than the composition speed of {Sφ} 51. Can also indicate that the speed is fast. Note that the sentence of "Aiueo Kaki Kuke." 54 following this special character string {S1} 53 represents a sentence to be synthesized at the voice synthesis speed determined by this special character string {S1} 53.
【0012】図12は、図11の文章を音声合成させた
ときの時間経過を示す図である。{Sφ}51に続く
「あいうえおかきくけこ」52は{S1}53に続く
「あいうえおかきくけこ。」54よりもゆっくり合成さ
れる。ここでは、音声合成の速度を例にして説明した
が、音声合成の速度に限らずその他の音量、声質につい
ても同様に特殊文字列によって指定することができる。FIG. 12 is a diagram showing the passage of time when the sentence of FIG. 11 is speech-synthesized. "Aiue Okaki Kukeko" 52 following {Sφ} 51 is synthesized more slowly than "Aiue Okaki Kukeko." 54 following {S1} 53. Here, the description has been given by taking the speed of voice synthesis as an example, but not only the speed of voice synthesis but also other volume and voice quality can be designated by special character strings in the same manner.
【0013】従来、これらの処理は合成パラメータ生成
処理Bにおいて特殊文字例の示す内容にしたがって制御
を行うことにより実現させている。Conventionally, these processes are realized by performing control in accordance with the contents of the special character example in the synthesis parameter generation process B.
【0014】[0014]
【発明が解決しようとする課題】しかしながら、前記従
来のテキスト音声合成装置においては、次のような問題
点を有している。以下、図9〜図11を用いて問題点を
説明する。 (1)従来のテキスト音声合成装置においては、日本語
テキストA0文中に{Sφ}51に示すような特殊記号
によって囲まれていなければならないため、既にテキス
ト音声合成装置に送りこまれた日本語テキストA0につ
いては合成速度を変更することができない。However, the above-mentioned conventional text-to-speech synthesizer has the following problems. The problems will be described below with reference to FIGS. 9 to 11. (1) In the conventional text-to-speech synthesizer, since the Japanese text A0 sentence must be surrounded by a special symbol as shown in {Sφ} 51, the Japanese text A0 already sent to the text-speech synthesizer. For, you cannot change the synthesis speed.
【0015】(2)また、テキスト音声合成装置内のテ
キスト解析処理A、合成パラメータ生成処理Bは高速処
理であり、逆に音声合成処理Cは低速のため、音声出力
が始まった時には日本語テキストA0はテキスト解析処
理A、合成パラメータ生成処理Bを終了し、内部バッフ
ァ6に蓄えられている状態であることもあり、合成音を
聞いて速度変更の特殊文字列をテキスト音声合成装置に
送出しても変化しない。 (3)また、入力分が非常に長く内部バッファ6に納ま
りきらない場合においては、内部バッファ6を全て合成
するまで合成速度は変化がないため、速度変更を起動し
てから実際に変化するまでに多大な時間差が生じる。(2) Further, since the text analysis processing A and the synthesis parameter generation processing B in the text-to-speech synthesizer are high-speed processing, while the voice synthesis processing C is low in speed, the Japanese text is output when the voice output starts. A0 ends the text analysis process A and the synthesis parameter generation process B, and may be stored in the internal buffer 6. Therefore, when the synthesized voice is heard, a special character string for speed change is sent to the text-to-speech synthesizer. But it doesn't change. (3) When the input is too long to fit in the internal buffer 6, the combination speed does not change until all the internal buffers 6 are combined. There is a big time difference.
【0016】本発明は、前記の従来の問題点を解決し
て、特殊記号を用いることなく音声合成の合成速度を変
更させることができ、また、テキスト解析処理や合成パ
ラメータ生成処理が終了した文章についても音声合成途
中からリアルタイムで合成速度の変更できるマンマシン
インタフェースの優れたテキスト音声合成装置を提供す
ることを目的とする。The present invention solves the above-mentioned conventional problems and can change the synthesis speed of speech synthesis without using a special symbol, and a sentence for which text analysis processing and synthesis parameter generation processing have been completed. Another object of the present invention is to provide a text-to-speech synthesizer having an excellent man-machine interface that can change the synthesis speed in real time from the middle of speech synthesis.
【0017】[0017]
【課題を解決するための手段】本発明は、前記目的を達
成するために、テキスト音声合成装置において、音声合
成のスピードを設定するスピード設定スイッチと、音声
合成のスピード設定値を内部設定値とするかスピード設
定スイッチによる設定値とするかのスピードモードの指
定を行うモード切替えスイッチと、スピード設定スイッ
チとモード切替えスイッチにより設定された値を格納す
るスピードパラメータバッファを有し、スピードパラメ
ータバッファ内の設定値によって音声合成のスピードの
設定を制御するものである。In order to achieve the above object, the present invention provides a text-to-speech synthesizer with a speed setting switch for setting the speed of speech synthesis, and a speed setting value of speech synthesis as an internal setting value. Mode switch that specifies the speed mode to be set with the speed setting switch or the speed setting switch, and the speed parameter buffer that stores the value set by the speed setting switch and mode switching switch. The setting value controls the setting of the speed of voice synthesis.
【0018】[0018]
【作用】本発明は、波形合成処理部に送られる合成パラ
メータ生成処理の結果の1つである継続時間制御パラメ
ータを格納する内部バッファとは別のスピードパラメー
タバッファを用い、そのどちらを用いるかを切り替える
切替えスイッチを設けて、テキスト解析処理、合成パラ
メータ生成処理が終了した文章についても音声合成途中
からリアルタイムで音声合成のスピードを変更すること
ができる。The present invention uses the speed parameter buffer different from the internal buffer that stores the duration control parameter, which is one of the results of the synthesis parameter generation process sent to the waveform synthesis processing unit. By providing a changeover switch for switching, it is possible to change the speed of speech synthesis in real time even in the middle of speech synthesis even for a sentence for which text analysis processing and synthesis parameter generation processing have been completed.
【0019】これによって音声合成をさせようとしてい
る日本語テキストの音声合成のスピードを変更させる時
に、従来のように{Sφ}のような特殊記号を用いなけ
ればならないという不具合や、特殊記号を用いていない
文章については音声合成中にリアルタイムに音声合成速
度を変更できないという問題点を除去することができ
る。As a result, when changing the speed of speech synthesis of Japanese text which is about to be speech-synthesized, it is necessary to use a special symbol such as {Sφ} as in the conventional case, or a special symbol is used. It is possible to eliminate the problem that the speech synthesis speed cannot be changed in real time during speech synthesis for unwritten sentences.
【0020】[0020]
【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1の本発明のテキスト音声合
成装置のブロック図によって本発明のテキスト音声合成
装置の構成を説明する。図1において、1は文字キャラ
クタ出力部、2は文字キャラクタ入力部、3は内部バ
ス、4は制御部、5は辞書記憶部、6は内部バッファ、
7は音声合成部、8は音声出力部、10はスピード設定
スイッチ、20はモード切替えスイッチ、30はスピー
ドパラメータバッファ部、40は上位装置である。Embodiments of the present invention will now be described in detail with reference to the drawings. The configuration of the text-to-speech synthesizer of the present invention will be described with reference to the block diagram of the text-to-speech synthesizer of the present invention shown in FIG. In FIG. 1, 1 is a character character output unit, 2 is a character character input unit, 3 is an internal bus, 4 is a control unit, 5 is a dictionary storage unit, 6 is an internal buffer,
Reference numeral 7 is a voice synthesis unit, 8 is a voice output unit, 10 is a speed setting switch, 20 is a mode changeover switch, 30 is a speed parameter buffer unit, and 40 is a host device.
【0021】上位装置40はテキスト音声合成装置と接
続されるものであり、その機能の一つとして文字キャラ
クタ出力部1を有している。この文字キャラクタ出力部
1は、文字キャラクタを送出するためのポートである。
音声合成するテキストは、この上位装置40の文字キャ
ラクタ出力部1からテキスト音声合成装置の文字キャラ
クタ入力部2に入力される。The host device 40 is connected to the text-to-speech synthesizer and has the character / character output unit 1 as one of its functions. The character / character output unit 1 is a port for sending out character characters.
The text to be voice-synthesized is input from the character / character output unit 1 of the host device 40 to the character / character input unit 2 of the text-to-speech synthesizer.
【0022】テキスト音声合成装置内の文字キャラクタ
入力部2は、上位装置40から送出される文字キャラク
タを受け取ると、その文字キャラクタを内部バス3を通
じて制御部4に送る。そして、この制御部4は、辞書記
憶部5及び内部バッファ6をアクセスしながらテキスト
解析処理と合成パラメータ生成処理の処理を実行する。When the character / character input unit 2 in the text-to-speech synthesizer receives the character / character sent from the higher-level device 40, it sends the character / character to the control unit 4 through the internal bus 3. Then, the control unit 4 executes the text analysis process and the synthesis parameter generation process while accessing the dictionary storage unit 5 and the internal buffer 6.
【0023】生成された合成パラメータは内部バッファ
6に一時蓄えられ、次に音声合成部7に送られる。音声
合成部7は、音声合成処理の処理を行い音声出力部8か
ら音声を出力する。さらに、本発明のテキスト音声合成
装置は、従来のテキスト音声合成装置に加えてスピード
設定スイッチ10とモード切替えスイッチ20とスピー
ドパラメータバッファ部30を有している。The generated synthesis parameter is temporarily stored in the internal buffer 6 and then sent to the voice synthesis unit 7. The voice synthesizing unit 7 performs a voice synthesizing process and outputs a voice from the voice output unit 8. Further, the text-to-speech synthesizer of the present invention has a speed setting switch 10, a mode changeover switch 20 and a speed parameter buffer section 30 in addition to the conventional text-to-speech synthesizer.
【0024】本発明のテキスト音声合成装置は、ソフト
モードのスピードとのハードモードのスピードの2種類
の音声合成のスピードモードを選択できるように構成さ
れている。このソフトモードのスピードは合成パラメー
タ生成処理において設定されるものであり、そのスピー
ドの設定値は内部バッファ6に記憶される。またハード
モードのスピードはスピード設定スイッチ10によって
設定されるものであり、そのスピードの設定値はスピー
ドパラメータバッファ部30に格納される。また、モー
ド切替えスイッチ20は音声合成のスピードの段階とし
て、内部バッファ6内の合成パラメータ生成処理により
生成されたスピードパラメータを用いるか、スピードパ
ラメータバッファ部30に設定されたスピードパラメー
タを用いるかを指定するスイッチである。The text-to-speech synthesizer of the present invention is constructed so that two kinds of speed modes for speech synthesis can be selected, a soft mode speed and a hard mode speed. The speed of this soft mode is set in the synthesis parameter generation process, and the set value of the speed is stored in the internal buffer 6. The speed in the hard mode is set by the speed setting switch 10, and the set value of the speed is stored in the speed parameter buffer unit 30. Further, the mode changeover switch 20 designates whether to use the speed parameter generated by the synthesis parameter generation processing in the internal buffer 6 or the speed parameter set in the speed parameter buffer unit 30 as the stage of the speed of voice synthesis. It is a switch to do.
【0025】ここで、内部バッファ6のスピードパラメ
ータを用いるモードをソフトモードと呼び、スピードパ
ラメータバッファ部30のスピードパラメータを用いる
モードをハードモードと呼ぶ。前記スピードパラメータ
バッファ部30は、図2に示すスピードパラメータバッ
ファ31を有しており、例えばbit3〜bit0の4
ビットによって構成される。図2において、スピードパ
ラメータバッファ部30の各ビットはスピードモード3
3とスピード設定値32の二つの部分に分けられ、例え
ば最上位ビットのbit3にスピードモード33を割り
当て、下位ビットのbit2〜bit0にスピード設定
値32を割り当て格納する。The mode using the speed parameter of the internal buffer 6 is called a soft mode, and the mode using the speed parameter of the speed parameter buffer section 30 is called a hard mode. The speed parameter buffer unit 30 has a speed parameter buffer 31 shown in FIG. 2, and for example, 4 of bit3 to bit0.
Composed of bits. In FIG. 2, each bit of the speed parameter buffer unit 30 indicates the speed mode 3
3 and the speed setting value 32, for example, the speed mode 33 is assigned to the most significant bit bit3, and the speed setting value 32 is assigned to the lower bits bit2 to bit0 and stored.
【0026】ここで、例えばスピードモード33のビッ
トの値が“1”の場合はハードモードに対応させ、また
スピードモード33のビットの値が“0”の場合はソフ
トモードに対応させる。また、スピード設定値32の3
ビットによって0から7の8段階の音声合成のスピード
値を設定し記憶することができる。次に、前記図1及び
図3の本発明のテキスト音声合成装置の音声合成のスピ
ードの変更の流れを示す図によって、音声合成のスピー
ドの変更のタイミング及びその時の合成スピードとスピ
ードパラメータバッファ部30に状態を説明する。Here, for example, when the bit value of the speed mode 33 is "1", it corresponds to the hard mode, and when the bit value of the speed mode 33 is "0", it corresponds to the soft mode. Also, 3 of speed setting value 32
It is possible to set and store the voice synthesis speed value of 8 stages of 0 to 7 by the bit. Next, referring to FIGS. 1 and 3 showing the flow of changing the speed of speech synthesis of the text-to-speech synthesizer of the present invention, the timing of changing the speed of speech synthesis and the synthesis speed and speed parameter buffer unit 30 at that time. The state will be explained.
【0027】音声合成のスピードの変更は、モード切替
えスイッチ20のON/OFFの切替え時と、モード切
替えスイッチ20がONでかつスピード設定スイッチ1
0が変化したときに制御部4に割り込みを入れることに
よって行われる。そして、その制御部4は割り込みを受
け付け、その割り込みがスピード設定関連の割り込みと
認知するとスピード設定処理を開始する。The speed of the voice synthesis is changed when the mode change switch 20 is turned ON / OFF, and when the mode change switch 20 is ON and the speed setting switch 1 is set.
This is done by inserting an interrupt into the control unit 4 when 0 changes. Then, the control unit 4 accepts the interrupt, and if the interrupt is recognized as a speed setting related interrupt, the speed setting process is started.
【0028】図3において、合成スピードがソフトモー
ドのスピード値Sで音声合成の処理が行われていると
き、スピードパラメータバッファ31の最上位のbit
3の値は“0”となっている。このとき、モード切替え
スイッチ20が切り替わると割り込みによってスピード
設定処理が行われ、ハードモードで設定されるスピード
に切り替えられる。In FIG. 3, when the voice synthesizing process is performed with the speed value S in the soft mode as the synthesizing speed, the uppermost bit of the speed parameter buffer 31.
The value of 3 is "0". At this time, when the mode changeover switch 20 is switched, the speed setting process is performed by the interrupt, and the speed is set to the speed set in the hardware mode.
【0029】この時のスピードパラメータバッファ部3
0の下位ビットbit2〜bit0を例えば“a,b,
c”とすると、その設定値に対応したスピード値H1に
よって音声合成が行われる。次に、スピード設定スイッ
チ10の値が変化すると割り込み処理によってスピード
設定処理が行われ、ハードモードで設定される他のスピ
ードに切り替えられる。このときのスピードパラメータ
バッファ部30の下位ビットbit2〜bit0を例え
ば“d,e,f”とすると、その設定値に対応したスピ
ード値H2によって音声合成が行われる。Speed parameter buffer section 3 at this time
The lower bits bit2 to bit0 of 0 are, for example, "a, b,
If "c", the voice synthesis is performed by the speed value H1 corresponding to the set value. Next, when the value of the speed setting switch 10 changes, the speed setting processing is performed by the interrupt processing, and the setting is made in the hardware mode. When the lower bits bit2 to bit0 of the speed parameter buffer unit 30 at this time are set to, for example, "d, e, f", voice synthesis is performed by the speed value H2 corresponding to the set value.
【0030】前記割り込みが行われる場合を、前記図1
及び図4の割り込みのフローチャートによって説明す
る。 ステップS1:制御部4は、ソフトモードあるいはハー
ドモードによって設定される合成スピードで音声合成が
行われている状態においてモード切替えスイッチ20の
切り替わりが有るか否かを探知しており、モード切替え
スイッチ20の切り替わりが探知されると合成スピード
の変更があるものとして割り込み処理S4に進む。FIG. 1 shows the case where the interrupt is performed.
4 and the flowchart of the interrupt of FIG. Step S1: The control unit 4 detects whether or not the mode changeover switch 20 is switched in the state where the voice synthesis is performed at the synthesis speed set by the soft mode or the hard mode, and the mode changeover switch 20 is detected. When the switching of is detected, it is determined that there is a change in the composition speed, and the process proceeds to interrupt processing S4.
【0031】ステップS2:次に、ハードモードにおい
てスピード設定の変更によって音声合成のスピードを変
更する場合を検知するために、モード切替えスイッチ2
0の切り替わりが行われていないがハードモードの状態
のときにスピード設定スイッチ10に変化が有るか否か
を検出する。このとき、モード切替えスイッチ20のス
イッチ状態を、ONのときはハードモードでありOFF
のときはソフトモードであるとしておく。Step S2: Next, in order to detect the case where the speed of voice synthesis is changed by changing the speed setting in the hardware mode, the mode changeover switch 2
It is detected whether or not there is a change in the speed setting switch 10 when the switch of 0 has not been performed but in the state of the hard mode. At this time, the switch state of the mode selector switch 20 is set to the hard mode when the switch is ON, and the switch is OFF.
When, it is assumed that the soft mode is set.
【0032】したがって、モード切替えスイッチ20が
ONのときはステップS3に進み、OFFのときは再び
ステップS1に戻り音声合成スピードのスピード変更を
待つ。 ステップS3:スピード設定スイッチ10に変化が有る
と検出された場合には合成スピードの変更があるものと
して割り込み処理S4に進み、スピード設定スイッチ1
0に変化が無い場合には合成スピードの変更があるもの
として再びステップS1に戻り音声合成スピードのスピ
ード変更を待つ。Therefore, when the mode changeover switch 20 is ON, the process proceeds to step S3, and when it is OFF, the process returns to step S1 to wait for the speed change of the voice synthesis speed. Step S3: If it is detected that the speed setting switch 10 has changed, it is determined that the composite speed has been changed, and the process proceeds to the interrupt processing S4 to set the speed setting switch 1
If there is no change in 0, it is considered that the synthesis speed has been changed, and the process returns to step S1 to wait for the speed change of the voice synthesis speed.
【0033】ステップS4:制御部4は割り込み処理を
行い、音声合成のスピード変更の処理を行う。前記割り
込み処理を受け入れると、次にスピード設定の処理を行
う。次に図1,図2及び図5のスピード設定のフローチ
ャートによってスピード設定の処理を説明する。Step S4: The control unit 4 performs an interrupt process to change the speed of voice synthesis. When the interrupt processing is accepted, the speed setting processing is performed next. Next, the speed setting process will be described with reference to the speed setting flowcharts shown in FIGS.
【0034】ステップS11:制御部4はスピードパラ
メータバッファ31に記憶されているスピードパラメー
タを読み取る。 ステップS12:読み取ったスピードパラメータのスピ
ードモード33のbit値をチェックし、そのbit値
が“1”であるかを判定する。前記したようにスピード
モード33のbit値が“1”の場合はハードモードを
表し、“0”はソフトモードを表しているので、スピー
ドモード33のbit値が“1”の場合にはソフトモー
ドからハードモードへの切り替わりの割り込みと認知
し、ステップS13に進む。Step S11: The control section 4 reads the speed parameter stored in the speed parameter buffer 31. Step S12: The bit value of the speed mode 33 of the read speed parameter is checked to determine whether the bit value is "1". As described above, when the bit value of the speed mode 33 is "1", it represents the hard mode, and "0" represents the soft mode. Therefore, when the bit value of the speed mode 33 is "1", it is the soft mode. Is recognized as an interrupt for switching from to hard mode, and the process proceeds to step S13.
【0035】ステップS13:スピード設定スイッチ1
0が変化したものと認知し、ハードモードでのスピード
設定を行う。このスピード設定は、図9の音声合成処理
Cの波形合成C1に対しスピードパラメータバッファ3
1に記憶されているスピードパラメータをセットするこ
とによって行われる。Step S13: Speed setting switch 1
Recognizing that 0 has changed, set the speed in hard mode. This speed setting corresponds to the speed parameter buffer 3 for the waveform synthesis C1 of the voice synthesis processing C of FIG.
This is done by setting the speed parameter stored in 1.
【0036】波形合成C1は音声合成をする各音韻の長
さをスピードパラメータにしたがって決定する。制御部
4は通常内部バッファ6内のスピードパラメータを読ん
で波形合成C1にセットしているが、ハードモード時は
内部バッファ6内のスピードパラメータを無視するた
め、スピード設定スイッチ10の指定にしたがった速度
でかつ即時に音声合成が可能となる。The waveform synthesis C1 determines the length of each phoneme for speech synthesis according to the speed parameter. The control unit 4 normally reads the speed parameter in the internal buffer 6 and sets it in the waveform synthesis C1, but in the hard mode, since the speed parameter in the internal buffer 6 is ignored, the speed setting switch 10 is specified. It enables speedy and immediate voice synthesis.
【0037】ステップS14:ステップS12におい
て、スピードモード33のbit値が“0”の場合はソ
フトモードであるので内部バッファ6内のスピードパラ
メータによってスピード設定処理を行う。次に、前記図
1及び図6〜図8の本発明の音声合成装置のタイムチャ
ートによって音声合成のスピードの変更の処理について
説明する。Step S14: In step S12, if the bit value of the speed mode 33 is "0", it means that the mode is the soft mode, and therefore the speed setting process is performed by the speed parameter in the internal buffer 6. Next, the process of changing the speed of voice synthesis will be described with reference to the time charts of the voice synthesizer of the present invention shown in FIGS. 1 and 6 to 8.
【0038】始めに、図6によってソフトモードからハ
ードモードへ変更する場合について説明する。ソフトモ
ードの状態にあるとき、モード切替えスイッチ20がO
FFからONに変化し、またスピードパラメータ中のス
ピードモードが“0”から“1”に変化すると、この変
化によって割り込みが制御部4に入り、スピード設定処
理が行われる。First, the case of changing from the soft mode to the hard mode will be described with reference to FIG. When in the soft mode, the mode selector switch 20 turns off.
When the FF is changed to ON and the speed mode in the speed parameter is changed from "0" to "1", the change causes an interrupt to enter the control unit 4 and the speed setting process is performed.
【0039】このスピード設定処理によって、ソフトモ
ードからハードモードにモード変更が行われ、音声合成
スピードはソフトモードのスピードSからハードモード
のスピードH1に変更される。なお、前記したように、
このソフトモードのスピードSは内部バッファ6内のス
ピードパラメータによって設定されるものであり、また
ハードモードのスピードH1はスピードパラメータ中の
スピード設定値32によって設定されるものである。By this speed setting process, the mode is changed from the soft mode to the hard mode, and the voice synthesis speed is changed from the soft mode speed S to the hard mode speed H1. As mentioned above,
The speed S in the soft mode is set by the speed parameter in the internal buffer 6, and the speed H1 in the hard mode is set by the speed setting value 32 in the speed parameter.
【0040】次に、図7によってハードモードからソフ
トモードへ変更する場合について説明する。ハードモー
ドの状態にあるとき、モード切替えスイッチ20がON
からOFFに変化し、またスピードパラメータ中のスピ
ードモードが“1”から“0”に変化すると、この変化
によって割り込みが制御部4に入り、スピード設定処理
が行われる。なお、このハードモードの状態であると
き、スピードパラメータ中のスピード設定値は例えば音
声合成スピードをH1に設定している。Next, the case of changing from the hard mode to the soft mode will be described with reference to FIG. When in the hard mode, the mode switch 20 is turned on.
To OFF, and when the speed mode in the speed parameter changes from "1" to "0", this change causes an interrupt to enter the control unit 4 to perform speed setting processing. In this hardware mode, the speed setting value in the speed parameter is set to, for example, the voice synthesis speed H1.
【0041】このスピード設定処理によって、ハードモ
ードからソフトモードにモード変更が行われ、音声合成
スピードはハードモードのスピードH1からソフトモー
ドのスピードSに変更される。なお、前記したように、
このソフトモードのスピードSは内部バッファ6内のス
ピードパラメータによって設定されるものである。次
に、図8によってハードモードの状態において、スピー
ドパラメータ中のスピード設定値を変更する場合につい
て説明する。By this speed setting processing, the mode is changed from the hard mode to the soft mode, and the voice synthesis speed is changed from the hard mode speed H1 to the soft mode speed S. As mentioned above,
The speed S in this soft mode is set by the speed parameter in the internal buffer 6. Next, a case where the speed setting value in the speed parameter is changed in the hard mode state will be described with reference to FIG.
【0042】ハードモードの状態にあり、モード切替え
スイッチ20はONの状態を維持しており、またスピー
ドパラメータ中のスピードモードが“1”の状態を維持
している時、スピードパラメータ中のスピード設定値が
変化すると、この変化によって割り込みが制御部4に入
り、スピード設定処理が行われる。このスピードパラメ
ータ中のスピード設定値が音声合成スピードをH1から
H2に対応する値に変化すると、音声合成スピードをH
1からH2に変更される。In the hard mode, the mode changeover switch 20 is kept ON, and when the speed mode in the speed parameter remains "1", the speed setting in the speed parameter is set. When the value changes, the change causes an interrupt to enter the control unit 4, and the speed setting process is performed. When the speed setting value in this speed parameter changes the voice synthesis speed from H1 to a value corresponding to H2, the voice synthesis speed becomes H.
Changed from 1 to H2.
【0043】また、前記説明においては、合成パラメー
タの内音声合成のスピードを変更する場合について行っ
ているが、合成パラメータ生成処理において決定される
他のパワー、ピッチ、声質等についても適用可能であ
る。なお、本発明は前記実施例に限定されるものではな
く、本発明の趣旨に基づいて種々変形することが可能で
あり、これらを本発明の範囲から排除するものではな
い。Further, in the above description, the case where the speed of voice synthesis of the synthesis parameters is changed is described, but other powers, pitches, voice qualities, etc. determined in the synthesis parameter generation processing are also applicable. . It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made based on the spirit of the present invention, and these are not excluded from the scope of the present invention.
【0044】[0044]
【発明の効果】以上、詳細に説明したように本発明によ
れば、 (1)スピード設定スイッチにモード切替えスイッチと
スピードパラメータバッファを追加し、制御部において
スピードモードによってスピード設定値を内部バッファ
とスピードパラメータバッファのどちらからでも指定で
きるようにしたため、リアルタイムでの合成速度の変更
が可能である。 (2)また、既にテキスト解析処理、合成パラメータ生
成処理が終了して合成パラメータが内部バッファに格納
されている場合においても、その合成パラメータの音声
合成スピードの変更が可能である。 (3)したがって、マンマシンインタフェースの向上が
期待できる。As described above in detail, according to the present invention, (1) a mode changeover switch and a speed parameter buffer are added to the speed setting switch, and the speed set value is used as an internal buffer according to the speed mode in the control unit. Since it can be specified from either of the speed parameter buffers, it is possible to change the synthesis speed in real time. (2) Further, even when the text analysis process and the synthesis parameter generation process have already been completed and the synthesis parameter is stored in the internal buffer, the voice synthesis speed of the synthesis parameter can be changed. (3) Therefore, improvement of the man-machine interface can be expected.
【図1】本発明のテキスト音声合成装置のブロック図で
ある。FIG. 1 is a block diagram of a text-to-speech synthesizer of the present invention.
【図2】スピードパラメータバッファの構成図である。FIG. 2 is a configuration diagram of a speed parameter buffer.
【図3】本発明のテキスト音声合成装置の音声合成のス
ピードの変更の流れを示す図である。FIG. 3 is a diagram showing a flow of changing the speed of speech synthesis of the text-to-speech synthesizer of the present invention.
【図4】割り込みのフローチャートである。FIG. 4 is a flowchart of interruption.
【図5】スピード設定のフローチャートである。FIG. 5 is a flowchart of speed setting.
【図6】本発明の音声合成装置のタイムチャートであ
る。FIG. 6 is a time chart of the speech synthesizer of the present invention.
【図7】本発明の音声合成装置のタイムチャートであ
る。FIG. 7 is a time chart of the speech synthesizer of the present invention.
【図8】本発明の音声合成装置のタイムチャートであ
る。FIG. 8 is a time chart of the speech synthesizer of the present invention.
【図9】従来のテキスト音声合成処理のブロック図であ
る。FIG. 9 is a block diagram of conventional text-to-speech synthesis processing.
【図10】従来のテキスト音声合成装置のブロック図で
ある。FIG. 10 is a block diagram of a conventional text-to-speech synthesizer.
【図11】従来の特殊文字列を用いた音声合成速度を変
化させる文章例である。FIG. 11 is an example of a sentence that changes the voice synthesis speed using a conventional special character string.
【図12】従来の装置によって文章を音声合成させたと
きの時間経過を示す図である。FIG. 12 is a diagram showing passage of time when a sentence is speech-synthesized by a conventional device.
1 文字キャラクタ出力部 2 文字キャラクタ入力部 3 内部バス 4 制御部 5 辞書記憶部 6 内部バッファ 7 音声合成部 8 音声出力部 10 スピード設定スイッチ 20 モード切替えスイッチ 30 スピードパラメータバッファ部 32 スピード設定値 33 スピードモード 40 上位装置 1 character character output unit 2 character character input unit 3 internal bus 4 control unit 5 dictionary storage unit 6 internal buffer 7 voice synthesis unit 8 voice output unit 10 speed setting switch 20 mode selection switch 30 speed parameter buffer unit 32 speed setting value 33 speed Mode 40 Upper device
Claims (1)
て、 (a)前記音声合成のスピードを設定するスピード設定
スイッチと、 (b)前記音声合成のスピード設定値を内部設定値とす
るか前記スピード設定スイッチによる設定値とするかの
スピードモードの指定を行うモード切替えスイッチと、 (c)前記スピード設定スイッチと前記モード切替えス
イッチにより設定された値を格納するスピードパラメー
タバッファを有し、 (d)前記スピードパラメータバッファ内の設定値によ
って前記音声合成のスピードの設定を制御することを特
徴とするテキスト音声合成装置。1. An apparatus for synthesizing voice from text, comprising: (a) a speed setting switch for setting the speed of the voice synthesis; and (b) setting the speed setting value of the voice synthesis as an internal setting value or the speed setting. A mode changeover switch for designating a speed mode as a set value by a switch; (c) a speed parameter buffer for storing a value set by the speed setting switch and the mode changeover switch; A text-to-speech synthesizer characterized in that the setting of the speed of the speech synthesis is controlled by a set value in a speed parameter buffer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4301373A JPH06149284A (en) | 1992-11-11 | 1992-11-11 | Text speech synthesizing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4301373A JPH06149284A (en) | 1992-11-11 | 1992-11-11 | Text speech synthesizing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06149284A true JPH06149284A (en) | 1994-05-27 |
Family
ID=17896095
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4301373A Pending JPH06149284A (en) | 1992-11-11 | 1992-11-11 | Text speech synthesizing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06149284A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003005775A (en) * | 2001-06-26 | 2003-01-08 | Oki Electric Ind Co Ltd | Method for controlling quick reading out in text-voice conversion device |
| KR100379450B1 (en) * | 1998-11-17 | 2003-05-17 | 엘지전자 주식회사 | Structure for Continuous Speech Reproduction in Speech Synthesis Board and Continuous Speech Reproduction Method Using the Structure |
-
1992
- 1992-11-11 JP JP4301373A patent/JPH06149284A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100379450B1 (en) * | 1998-11-17 | 2003-05-17 | 엘지전자 주식회사 | Structure for Continuous Speech Reproduction in Speech Synthesis Board and Continuous Speech Reproduction Method Using the Structure |
| JP2003005775A (en) * | 2001-06-26 | 2003-01-08 | Oki Electric Ind Co Ltd | Method for controlling quick reading out in text-voice conversion device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3142803B2 (en) | A text-to-speech synthesizer | |
| US20030004723A1 (en) | Method of controlling high-speed reading in a text-to-speech conversion system | |
| JPH0833744B2 (en) | Speech synthesizer | |
| JPH05181491A (en) | Speech synthesizer | |
| US6212501B1 (en) | Speech synthesis apparatus and method | |
| WO2004066271A1 (en) | Speech synthesizing apparatus, speech synthesizing method, and speech synthesizing system | |
| JP2623586B2 (en) | Pitch control method in speech synthesis | |
| JPH08335096A (en) | Text voice synthesizer | |
| JP3060276B2 (en) | Speech synthesizer | |
| JPH05100692A (en) | Voice synthesizer | |
| JP2576499B2 (en) | Word processor with audio output function | |
| JP3081300B2 (en) | Residual driven speech synthesizer | |
| JP2577372B2 (en) | Speech synthesis apparatus and method | |
| JPH07244496A (en) | Text reading device | |
| JPH06119144A (en) | Document reading device | |
| JPH02247696A (en) | Text voice synthesizer | |
| JP2584236B2 (en) | Rule speech synthesizer | |
| JP2573586B2 (en) | Rule-based speech synthesizer | |
| JPH02251998A (en) | Voice synthesizing device | |
| JPH04177526A (en) | text reading device | |
| JP2573585B2 (en) | Speech spectrum pattern generator | |
| JPH06176023A (en) | Speech synthesis system | |
| JPS58168096A (en) | Multi-language voice synthesizer | |
| JPH04125699A (en) | Residual driving type voice synthesizer | |
| JP3280729B2 (en) | Phonetic symbol creation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20001205 |