Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5503484B2 - Speech synthesis apparatus and speech synthesis program - Google Patents
[go: Go Back, main page]

JP5503484B2 - Speech synthesis apparatus and speech synthesis program - Google Patents

Speech synthesis apparatus and speech synthesis program Download PDF

Info

Publication number
JP5503484B2
JP5503484B2 JP2010225787A JP2010225787A JP5503484B2 JP 5503484 B2 JP5503484 B2 JP 5503484B2 JP 2010225787 A JP2010225787 A JP 2010225787A JP 2010225787 A JP2010225787 A JP 2010225787A JP 5503484 B2 JP5503484 B2 JP 5503484B2
Authority
JP
Japan
Prior art keywords
key
character
speech
sound
accent
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.)
Expired - Fee Related
Application number
JP2010225787A
Other languages
Japanese (ja)
Other versions
JP2012078708A (en
Inventor
寛之 世木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2010225787A priority Critical patent/JP5503484B2/en
Publication of JP2012078708A publication Critical patent/JP2012078708A/en
Application granted granted Critical
Publication of JP5503484B2 publication Critical patent/JP5503484B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

本発明は、キーボード等の文字入力装置の入力内容に対応した音声を合成する音声合成装置および音声合成プログラムに関する。   The present invention relates to a speech synthesizer and a speech synthesis program for synthesizing speech corresponding to input contents of a character input device such as a keyboard.

従来、キーボード等の文字入力装置の入力内容に対応した音声を合成する方法としては、例えば特許文献1で提案されているような手法が利用されていた。特許文献1で提案された音声合成方式は、子音音素の波形および母音音素の波形を予めメモリに記憶しておき、音声を合成する際に、当該メモリから合成すべき音節に対応する子音音素の波形および母音音素の波形をそれぞれ読み出して、これらを連結することで音声合成を行っていた。   Conventionally, as a method for synthesizing speech corresponding to the input content of a character input device such as a keyboard, a method such as that proposed in Patent Document 1 has been used. In the speech synthesis method proposed in Patent Document 1, the waveform of a consonant phoneme and the waveform of a vowel phoneme are stored in advance in a memory, and when speech is synthesized, the consonant phoneme corresponding to the syllable to be synthesized from the memory is stored. Speech synthesis was performed by reading out the waveform and the waveform of the vowel phoneme and connecting them.

特許出願公告昭59−52436号公報Patent Application Publication No. 59-52436

しかしながら、特許文献1で提案された音声合成方式は、文字入力装置のキーが押されたタイミングで音声を合成して再生するアプリケーションに利用する場合、子音のキーと母音のキーとを押す間隔があいてしまうと、子音音素の波形と母音音素の波形とを適切に連結することができず、仮に合成された音声を再生しても子音と母音とを組み合わせた音節に聞こえないという問題があった。   However, when the speech synthesis method proposed in Patent Document 1 is used for an application that synthesizes and reproduces speech at the timing when a key of a character input device is pressed, there is an interval between pressing a consonant key and a vowel key. If this occurs, the waveform of the consonant phoneme and the waveform of the vowel phoneme cannot be properly connected, and even if the synthesized speech is played, there is a problem that it cannot be heard as a syllable that combines the consonant and the vowel. It was.

また、現在、多くの音声合成装置が市販されているが、いずれも入力が完了したことを意味する入力完了ボタンを押さなければ音声合成を行わないため、たとえば「あ」を合成して再生するには、「あ」のキーを押すだけでなく、入力完了ボタンを押す必要がある。従って、音声を合成して再生するまでに時間がかかってしまい、文字入力装置のキーが押されたタイミングで音声を合成して再生するアプリケーションでは適切に利用することができないという問題があった。   Currently, many speech synthesizers are on the market, but speech synthesis is not performed unless the input completion button, which means that input has been completed, is pressed. For example, “a” is synthesized and reproduced. In addition to pressing the “A” key, it is necessary to press the input completion button. Therefore, it takes time until the voice is synthesized and reproduced, and there is a problem that the application cannot be appropriately used in an application that synthesizes and reproduces the voice when the key of the character input device is pressed.

また、現在市販されている音声合成装置では、濁音の「が」を合成するには、「か」のキーを押した後に濁点キーを押す必要があるため、合成した音声を再生すると、「が」が再生されずに「か」が先に再生されてしまう、すなわち「かが」と誤って再生されてしまうという問題があった。   In addition, in a speech synthesizer that is currently available on the market, in order to synthesize muddy sound “ga”, it is necessary to press the “n” key after pressing the “ka” key. There is a problem that “ka” is reproduced first without being reproduced, that is, “ka” is erroneously reproduced.

本発明はかかる点に鑑みてなされたものであって、文字入力装置の入力内容に対応した音声を逐次合成することで音声合成に必要な時間を短縮させ、かつ、音声合成の精度を向上させることができる音声合成装置および音声合成プログラムを提供することを課題とする。   The present invention has been made in view of the above points, and by sequentially synthesizing speech corresponding to the input content of the character input device, the time required for speech synthesis is shortened and the accuracy of speech synthesis is improved. It is an object to provide a speech synthesizer and a speech synthesis program that can be used.

前記課題を解決するために請求項1に係る音声合成装置は、かな文字キー、濁点キー、半濁点キー、ア行小文字キー、ヤ行小文字キーおよびタ行小文字キーからなる各文字キーを備える文字入力装置の入力内容に対応した音声を合成する音声合成装置であって、清音撥音判別手段と、濁音判別手段と、半濁音判別手段と、拗音判別手段と、促音付き音節判別手段と、音声波形記憶手段と、音声合成手段と、を備え、文字入力装置から、キーコードの他に、それぞれのキーが押されたことを示すメイクコードと、それぞれのキーが離されたことを示すブレイクコードと、が入力される場合において、繰り返し信号出力手段と、繰り返し波形記憶手段と、を備え、文字入力装置がアクセント下降キーと、アクセント上昇キーと、アクセント区切りキーと、をさらに備える場合において、アクセント信号出力手段を備え、音声波形記憶手段が、低音声波形記憶手段と、高音声波形記憶手段と、からなる構成とした。 In order to solve the above-mentioned problem, a speech synthesizer according to claim 1 is a character comprising character keys each consisting of a kana character key, a dakuten key, a semi-dakuten key, an a lower case key, a ya line lower case key, and a ta line lower case key. A speech synthesizer that synthesizes speech corresponding to the input content of an input device, comprising a clear sound repelling discrimination means, a muddy sound discrimination means, a semi-turbid sound discrimination means, a stuttering discrimination means, a syllable discrimination means with a prompt sound, and a speech waveform A storage means, a voice synthesis means , a key code, a make code indicating that each key has been pressed, and a break code indicating that each key has been released from the character input device. , And a repetition signal output means and a repetition waveform storage means, and the character input device includes an accent lowering key, an accent increasing key, and an accent delimiter. In case further comprising a chromatography, a, comprises an accent signal output means, the sound waveform storage means, and a low sound waveform storage means, and a high sound waveform storage means, consisting of configuration and.

このような構成によれば、音声合成装置は、清音撥音判別手段によって、かな文字キーが押下されている状態を検出することで、かな文字キーのキーコードで特定される清音文字または撥音文字を判別する。また、濁音判別手段によって、かな文字キーおよび濁点キーが同時に押下されている状態を検出することで、かな文字キーおよび濁点キーのキーコードで特定される濁音文字を判別する。また、半濁音判別手段によって、かな文字キーおよび半濁点キーが同時に押下されている状態を検出することで、かな文字キーおよび半濁点キーのキーコードで特定される半濁音文字を判別する。また、拗音判別手段によって、かな文字キーおよびア行小文字キーが同時に押下されている状態、または、かな文字キーおよびヤ行小文字キーが同時に押下されている状態を検出することで、かな文字キーおよびア行小文字キーのキーコード、または、かな文字キーおよびヤ行小文字キーのキーコードで特定される拗音文字を判別する。また、促音付き音節判別手段によって、かな文字キーおよびタ行小文字キーが同時に押下されている状態を検出することで、かな文字キーおよびタ行小文字キーのキーコードで特定される促音付き音節文字を判別する。   According to such a configuration, the speech synthesizer detects a state in which the kana character key is pressed by the sound and sound repelling determination means, thereby obtaining a sound character or sound repellent character specified by the key code of the kana character key. Determine. Further, by detecting the state in which the kana character key and the muddy point key are pressed simultaneously by the muddy sound determining means, the muddy character specified by the key code of the kana character key and the muddy point key is determined. Further, by detecting the state in which the kana character key and the semi-voice point key are pressed simultaneously by the semi-voice sound determination means, the semi-voice character specified by the key code of the kana character key and the semi-voice point key is determined. Further, by detecting the state where the kana character key and the lower case key are simultaneously pressed or the state where the kana character key and the lower case key are simultaneously pressed by the stuttering discrimination means, the kana character key and A) The roaring character specified by the key code of the lower case key, or the key code of the kana character key and the lower case key. In addition, by detecting the state in which the kana character key and the tab row lowercase key are pressed at the same time by the syllable with syllable discrimination means, the syllable character with the prompt specified by the key code of the kana character key and the tab row lowercase key is detected. Determine.

そして、音声合成手段によって、清音、撥音、濁音、半濁音、拗音および促音付き音節からなる各音節の音声波形を予め記憶する音声波形記憶手段から、清音撥音判別手段、濁音判別手段、半濁音判別手段、拗音判別手段および促音付き音節判別手段からなる各判別手段によって判別された清音文字、撥音文字、濁音文字、半濁音文字、拗音文字および促音付き音節文字からなる各音節文字に対応する音声波形を抽出することで音声を合成する。   Then, the voice synthesizer, the muddy sound discrimination means, the muddy sound discrimination means, the muddy sound discrimination means, from the voice waveform storage means for storing in advance the speech waveform of each syllable consisting of clear sound, repellent sound, muddy sound, semi-turbid sound, stuttering and syllable with prompt sound. Speech waveform corresponding to each syllable character composed of a clear sound character, a sound-repelling character, a muddy character, a semi-voice character, a stuttering character, and a syllable character with a sound The speech is synthesized by extracting.

このように、音声合成装置は、各判別手段によって、文字入力装置のキー入力状況を常時監視する。そして、音声合成装置は、操作者(ユーザ)によって文字入力装置のいずれかのキーが押され、当該キーに対応するキーコードが入力されると、各判別手段によって、そのキーコードに対応する音節文字を判別するとともに、音声合成手段によって、判別した音節文字に対応する音声を逐次合成する。   In this way, the speech synthesizer constantly monitors the key input status of the character input device by each discrimination means. Then, when any key of the character input device is pressed by the operator (user) and a key code corresponding to the key is input by the operator (user), the speech synthesizer is syllable corresponding to the key code by each determination means. In addition to discriminating characters, the speech synthesis means sequentially synthesizes speech corresponding to the discriminated syllable characters.

この際、音声合成装置は、繰り返し信号出力手段によって、文字入力装置から、メイクコードおよびブレイクコードが入力されたか否かを監視するとともに、メイクコードが入力された場合は、繰り返し開始信号を生成して音声合成手段に出力し、ブレイクコードが入力された場合は、繰り返し終了信号を生成して音声合成手段に出力する。 At this time , the speech synthesizer monitors whether the make code and the break code are input from the character input device by the repeat signal output means, and generates a repeat start signal when the make code is input. When the break code is input, the repetitive end signal is generated and output to the speech synthesizer.

そして、音声合成手段によって、音声波形記憶手段から、各音節文字に対応する音声波形を抽出し、かつ、繰り返し信号出力手段から繰り返し開始信号が入力された場合は、各音節の音声波形のうち、母音に相当する区間における一定周期分の波形を示す繰り返し波形を記憶する繰り返し波形記憶手段から、各音節文字に対応する繰り返し波形を抽出し、繰り返し信号出力手段から繰り返し終了信号が入力されるまで、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで音声を合成する。   Then, when the speech synthesizer extracts the speech waveform corresponding to each syllable character from the speech waveform storage means, and when the repeated start signal is input from the repeated signal output means, among the speech waveforms of each syllable, From a repetitive waveform storage means for storing a repetitive waveform indicating a waveform for a certain period in a section corresponding to a vowel, extracting a repetitive waveform corresponding to each syllable character, until a repetitive end signal is input from the repetitive signal output means, Speech is synthesized by repeatedly connecting repetitive waveforms in a repetitive section of a speech waveform.

このように、音声合成装置は、繰り返し信号出力手段によって、文字入力装置からのメイクコードおよびブレイクコードの入力を常時監視することで、操作者が文字入力装置のいずれかのキーを押している状態であるか、あるいは離している状態であるか、を認識する。そして、音声合成装置は、操作者によって文字入力装置のいずれかのキーが押されてから(メイクコードが入力されてから)、当該いずれかのキーが離されるまで(ブレイクコードが入力されるまで)、音声合成手段によって、音声波形の繰り返し区間で繰り返し波形を繰り返し連結することで、操作者が文字入力装置のキーを押している間だけ、長音化した音声を合成する。   In this way, the speech synthesizer constantly monitors the input of the make code and break code from the character input device by the repeated signal output means, so that the operator is pressing any key of the character input device. Recognize whether it is present or separated. The voice synthesizer then operates after any key of the character input device is pressed by the operator (after the makeup code is input) until the key is released (until the break code is input). ) By repeatedly connecting the repetitive waveforms in the repetitive sections of the sound waveform by the sound synthesizing means, the sound with longer sound is synthesized only while the operator is pressing the key of the character input device.

さらに、音声合成装置は、アクセント信号出力手段によって、文字入力装置から、各文字キーのキーコードの前に、アクセント下降キーのキーコード、アクセント上昇キーのキーコードまたはアクセント区切りキーのキーコードが入力されたか否かを監視するとともに、アクセント下降キーのキーコードが入力された場合は、アクセント下降信号を生成して音声合成手段に出力し、アクセント上昇キーのキーコードが入力された場合は、アクセント上昇信号を生成して音声合成手段に出力し、アクセント区切りキーのキーコードが入力された場合は、アクセント区切り信号を生成して音声合成手段に出力する。 Furthermore , the voice synthesizer inputs the key code of the accent lowering key, the key code of the accent rising key, or the key code of the accent delimiter key from the character input device by the accent signal output means before the key code of each character key. If the key code for the accent-decreasing key is input, an accent-decreasing signal is generated and output to the speech synthesizer. If the key code for the accent-rising key is input, An ascending signal is generated and output to the speech synthesizer. When a key code of an accent delimiter key is input, an accent delimiter signal is generated and output to the speech synthesizer.

そして、アクセント信号出力手段からアクセント下降信号が入力された場合は、音声合成手段によって、各音節の低アクセントの音声波形を示す低音声波形を記憶する低音声波形記憶手段から、当該アクセント下降信号が入力された後に各判別手段によって判別された各音節文字に対応する低音声波形を抽出することで音声を合成する。また、アクセント信号出力手段からアクセント上昇信号が入力された場合は、音声合成手段によって、各音節の高アクセントの音声波形を示す高音声波形を記憶する高音声波形記憶手段から、当該アクセント上昇信号が入力された後に各判別手段によって判別された各音節文字に対応する高音声波形を抽出することで音声を合成する。また、アクセント信号出力手段からアクセント区切り信号が入力された場合は、低音声記憶手段から、当該アクセント区切り信号が入力された後に各判別手段によって判別された一文字目の各音節文字に対応する低音声波形を抽出し、高音声記憶手段から、当該アクセント区切り信号が入力された後に各判別手段によって判別された二文字目以降の各音節文字に対応する高音声波形を抽出することで音声を合成する。   When the accent drop signal is input from the accent signal output means, the accent drop signal is received from the low speech waveform storage means for storing the low speech waveform indicating the low accent speech waveform of each syllable by the speech synthesis means. A voice is synthesized by extracting a low speech waveform corresponding to each syllable character determined by each determination means after being input. Further, when an accent increase signal is input from the accent signal output means, the accent increase signal is received from the high speech waveform storage means for storing the high speech waveform indicating the high accent speech waveform of each syllable by the speech synthesis means. A speech is synthesized by extracting a high speech waveform corresponding to each syllable character that has been input and determined by each determination means. Further, when an accent delimiter signal is input from the accent signal output means, the low sound corresponding to each syllable character of the first character determined by each determination means after the accent delimiter signal is input from the low sound storage means Extract a waveform and synthesize speech by extracting a high speech waveform corresponding to each syllable character after the second character discriminated by each discriminating unit after the accent separation signal is input from the high speech storage unit .

このように、音声合成装置は、アクセント信号出力手段によって、文字入力装置のアクセント下降キー、アクセント上昇キーまたはアクセント区切りキーの入力状況を常時監視する。そして、音声合成装置は、操作者によって文字入力装置のアクセント下降キー、アクセント上昇キーまたはアクセント区切りキーが押され、当該キーに対応するキーコードが入力されると、音声合成手段によって、当該キーコードに従って低音声波形または高音声波形を抽出し、アクセントを加えた音声を逐次合成する。   In this way, the speech synthesizer constantly monitors the input status of the accent lowering key, accent increasing key or accent delimiter key of the character input device by the accent signal output means. When the operator presses the accent lowering key, accent rising key, or accent delimiter key of the character input device and the key code corresponding to the key is input, the voice synthesizing unit performs the key code. To extract a low speech waveform or a high speech waveform, and sequentially synthesize an accented speech.

そして、請求項に係る音声合成プログラムは、コンピュータを、請求項1に記載の音声合成装置として機能させるためのプログラムとした。 Then, the speech synthesis program according to claim 2, the computer, and a program for functioning as a voice synthesizing apparatus according to claim 1.

請求項1および請求項に係る発明によれば、文字入力装置の入力内容に対応した音声を逐次合成するため、従来の音声合成装置が備える入力完了ボタンが不要となり、かつ、音声を合成して再生するまでの時間も短縮させることができる。また、請求項1および請求項に係る発明によれば、文字入力装置からかな文字キーのキーコードと濁点キー等のキーコードとが同時に入力された場合のみ、濁音等の音節を合成するため、濁音等の音声が誤って合成されることがなく、音声合成の精度を向上させることができ、操作者が文字入力装置のいずれかのキーを継続して押している場合、当該キーに対応する音節を長音化させて合成することができるため、音声合成のバリエーションを増やすことができるとともに、操作者が文字入力装置のアクセント下降キー、アクセント上昇キーまたはアクセント区切りキーを押した場合、音節のアクセントを変えることができるため、音声合成のバリエーションをさらに増やすことができる。 According to the first and second aspects of the invention, since the speech corresponding to the input content of the character input device is sequentially synthesized, the input completion button provided in the conventional speech synthesizer becomes unnecessary, and the speech is synthesized. The time until playback can be shortened. According to the first and second aspects of the invention, only when a key code of a kana character key and a key code of a dakuten key are input simultaneously from a character input device, a syllable such as muddy sound is synthesized. Voices such as muddy sounds are not mistakenly synthesized and the accuracy of voice synthesis can be improved , and when the operator continues to press any key of the character input device, it corresponds to the key. Synthesize syllables with longer syllabes, which can increase the number of voice synthesis variations, and if the operator presses the accent down key, accent up key, or accent separator key on the character input device, the syllable accent Therefore, variations in speech synthesis can be further increased.

本発明の第1実施形態に係る音声合成装置の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a speech synthesizer according to a first embodiment of the present invention. 本発明の第1実施形態に係る音声合成装置に用いられる文字入力装置のキー配置の一例を示す概略図である。It is the schematic which shows an example of the key arrangement | positioning of the character input device used for the speech synthesizer which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る音声合成装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the speech synthesizer which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係る音声合成装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the speech synthesizer which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る音声合成装置による音声合成の一例を示す概略図であり、(a)は、「か」の音声波形の一例を示す波形図、(b)は、文字入力装置における「か」のかな文字キーが1000msec押された場合の音声合成の結果を示す波形図である。It is the schematic which shows an example of the speech synthesis by the speech synthesizer concerning 2nd Embodiment of this invention, (a) is a waveform diagram which shows an example of the speech waveform of "ka", (b) is a character input device. It is a wave form diagram which shows the result of the speech synthesis when the kana character key of "K" is pressed for 1000 msec. 本発明の第2実施形態に係る音声合成装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the speech synthesizer which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係る音声合成装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the speech synthesizer which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係る音声合成装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the speech synthesizer which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係る音声合成装置に用いられる文字入力装置のキー配置の一例を示す概略図である。It is the schematic which shows an example of the key arrangement | positioning of the character input device used for the speech synthesizer which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係る音声合成装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the speech synthesizer which concerns on 4th Embodiment of this invention. 本発明の第5実施形態に係る音声合成装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the speech synthesizer which concerns on 5th Embodiment of this invention.

本発明の実施形態に係る音声合成装置および音声合成プログラムについて、図面を参照しながら説明する。なお、以下の説明において、同一の構成については同一の名称及び符号を付し、詳細説明を省略する。   A speech synthesizer and a speech synthesis program according to an embodiment of the present invention will be described with reference to the drawings. In the following description, the same configuration is given the same name and symbol, and detailed description is omitted.

[第1実施形態]
以下、第1実施形態に係る音声合成装置1について、図1〜図3を参照しながら詳細に説明する。音声合成装置1は、文字入力装置2の入力内容に対応した音声を合成するものである。音声合成装置1は、具体的には、図1に示すように、文字入力装置2の入力内容に対応した音声をリアルタイムで合成し、合成した音声を音声出力装置3に出力する。
[First Embodiment]
Hereinafter, the speech synthesizer 1 according to the first embodiment will be described in detail with reference to FIGS. The speech synthesizer 1 synthesizes speech corresponding to the input content of the character input device 2. Specifically, as shown in FIG. 1, the speech synthesizer 1 synthesizes speech corresponding to the input content of the character input device 2 in real time, and outputs the synthesized speech to the speech output device 3.

ここで、文字入力装置2は、音声合成装置1に対して、合成すべき音声に対応する文字を入力するものである。文字入力装置2は、ここでは図2に示すように、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行(あ行)小文字キー2d、ヤ行(や行)小文字キー2eおよびタ行(た行)小文字キー2f、のキー配列を備えるキーボード等を装置を想定している。但し、当該文字入力装置2のキー配列は、図2に示すものに限られない。   Here, the character input device 2 inputs characters corresponding to the speech to be synthesized to the speech synthesizer 1. Here, as shown in FIG. 2, the character input device 2 includes a kana character key 2a, a dakuten key 2b, a semi-dakuten key 2c, a line (a line) small letter key 2d, a line (or line) small letter key 2e, and a key. The apparatus is assumed to be a keyboard or the like having a key arrangement of line (ta line) lowercase keys 2f. However, the key arrangement of the character input device 2 is not limited to that shown in FIG.

文字入力装置2は、音声を合成しようとする操作者によって、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2eおよびタ行小文字キー2fのいずれかのキーが押されると、対応するキーコードを音声合成装置1に出力する。ここで、キーコードとは、操作者によって押された文字入力装置2のキーを識別するためのコードであり、例えば、「あ=1」、「い=2」、「う=3」等の数字で表わされるものである。   The character input device 2 is one of the kana character key 2a, the dakuten key 2b, the semi-dakuten key 2c, the a lower case key 2d, the yaw lower case key 2e, and the ta row lower case key 2f, depending on the operator who wants to synthesize speech. When the key is pressed, the corresponding key code is output to the speech synthesizer 1. Here, the key code is a code for identifying the key of the character input device 2 pressed by the operator. For example, “A = 1”, “I = 2”, “U = 3”, etc. It is represented by numbers.

また、音声出力装置3は、音声合成装置1が合成した音声を再生するものである。音声出力装置3は、ここでは音声を再生できるスピーカー等の装置を想定している。音声出力装置3には、音声合成装置1から、合成した音声の音声波形が入力される。そして、音声出力装置3は、当該音声波形を出力することで、合成音声を再生する。   The voice output device 3 reproduces the voice synthesized by the voice synthesizer 1. Here, the sound output device 3 is assumed to be a device such as a speaker capable of reproducing sound. The speech output device 3 receives the speech waveform of the synthesized speech from the speech synthesizer 1. Then, the voice output device 3 reproduces the synthesized voice by outputting the voice waveform.

音声合成装置1は、ここでは図1に示すように、清音撥音判別手段11と、濁音判別手段12と、半濁音判別手段13と、拗音判別手段14と、促音付き音節判別手段15と、を備えている。以下、音声合成装置1を構成する各要素について、詳細に説明する。   Here, as shown in FIG. 1, the speech synthesizer 1 includes a clear sound repelling discrimination means 11, a muddy sound discrimination means 12, a semi-turbid sound discrimination means 13, a stuttering sound discrimination means 14, and a syllable discrimination syllable discrimination means 15. I have. Hereinafter, each element which comprises the speech synthesizer 1 is demonstrated in detail.

清音撥音判別手段11は、文字入力装置2から入力されたキーコードから、清音文字または撥音文字を判別するものである。すなわち、清音撥音判別手段11は、文字入力装置2から、かな文字キー2a(図2参照)のキーコードが入力されたか否かを監視し、かな文字キー2aが押下されている状態を検出することで、当該かな文字キー2aのキーコードで特定される清音文字または撥音文字を判別する。   The clear sound and sound repellent determination means 11 is for determining a clear sound or sound repellent character from the key code input from the character input device 2. In other words, the clear sound repellent determination means 11 monitors whether or not the key code of the kana character key 2a (see FIG. 2) is input from the character input device 2, and detects the state where the kana character key 2a is pressed. As a result, the clear sound character or the sound-repellent character specified by the key code of the kana character key 2a is determined.

清音撥音判別手段11は、具体的には、文字入力装置2からキーコードが入力されると、当該キーコードの数が1つであるか否かを判別する。そして、清音撥音判別手段11は、キーコードの数が1つである場合、文字入力装置2に配列されたキーと、キーコードと、の対応関係が記述された図示しない対応表を参照し、入力されたキーコードがかな文字キー2aに対応するものであるかを判別する。   Specifically, when the key code is input from the character input device 2, the clear sound / repellent determination unit 11 determines whether or not the number of the key code is one. Then, when the number of key codes is one, the clear sound and repelling determination means 11 refers to a correspondence table (not shown) in which the correspondence between the keys arranged in the character input device 2 and the key codes is described, It is determined whether the input key code corresponds to the kana character key 2a.

そして、清音撥音判別手段11は、キーコードがかな文字キー2aに対応する場合、当該かな文字キー2aが示す清音文字または撥音文字を前記した対応表を用いて特定し、これを音節情報として音声合成手段17に出力する。なお、前記した対応表は、図示しない記憶手段に予め記憶されている。   Then, when the key code corresponds to the kana character key 2a, the clear sound / patter recognizing means 11 specifies the clear character or the sound repellent character indicated by the kana character key 2a using the correspondence table, and uses this as the syllable information. The result is output to the combining means 17. The correspondence table described above is stored in advance in storage means (not shown).

一方、清音撥音判別手段11は、文字入力装置2から入力されたキーコードが2つ以上である場合、すなわち、複数のキーコードが同時に入力された場合、そこで処理を終了する。また、清音撥音判別手段11は、文字入力装置2から、かな文字キー2aに対応するキーコードが入力されていない場合も、処理を終了する。   On the other hand, when the number of key codes input from the character input device 2 is two or more, that is, when a plurality of key codes are simultaneously input, the clear sound / repellent discrimination means 11 ends the processing there. Further, the clear sound / repellent discrimination means 11 also ends the process when the key code corresponding to the kana character key 2a is not input from the character input device 2.

清音撥音判別手段11には、図1に示すように、文字入力装置2から、キーコードが入力される。そして、清音撥音判別手段11は、前記した手法によって清音文字または撥音文字の音節情報を生成し、これを音声合成手段17に出力する。   As shown in FIG. 1, a key code is input from the character input device 2 to the clean sound / repeat sound discrimination means 11. Then, the clear sound and sound recognizing means 11 generates the syllable information of the clear sound or the sound repellent character by the above-described method and outputs it to the speech synthesis means 17.

濁音判別手段12は、文字入力装置2から入力されたキーコードから、濁音文字を判別するものである。すなわち、濁音判別手段12は、文字入力装置2からかな文字キー2a(図2参照)のキーコードと濁点キー2bのキーコードとが入力されたか否かを監視し、かな文字キー2aのキーコードと濁点キー2bのキーコードとが同時に押下されている状態を検出することで、これらのキーコードで特定される濁音文字を判別する。   The muddy sound discriminating means 12 discriminates muddy sound characters from the key code input from the character input device 2. That is, the muddy sound discrimination means 12 monitors whether or not the key code of the kana character key 2a (see FIG. 2) and the key code of the muddy point key 2b are input from the character input device 2, and the key code of the kana character key 2a. And the key code of the dakuten key 2b are detected at the same time, the muddy character specified by these key codes is discriminated.

濁音判別手段12は、具体的には、文字入力装置2からキーコードが入力されると、当該キーコードの数が2つであるか否か、および、当該2つのキーコードが同時に入力されたか否かを判別する。そして、濁音判別手段12は、キーコードの数が2つであり、かつ、これらが同時に入力された場合、前記した図示しない対応表を参照し、入力された2つのキーコードが、「か行、さ行、た行、は行」のかな文字キー2aおよび濁点キー2bに対応するものであるか否かを判別する。そして、濁音判別手段12は、キーコードが「か行、さ行、た行、は行」のかな文字キー2aおよび濁点キー2bに対応する場合、これらのキーが示す濁音文字を特定し、これを音節情報として音声合成手段17に出力する。   Specifically, when the key code is input from the character input device 2, the muddy sound discrimination means 12 determines whether the number of the key code is two and whether the two key codes are input simultaneously. Determine whether or not. Then, when the number of key codes is two and these are simultaneously input, the muddy sound discrimination means 12 refers to the correspondence table (not shown), and the two key codes input are It is determined whether or not it corresponds to the kana character key 2a and the dakuten key 2b. When the key code corresponds to the kana character key 2a and the dakuten key 2b whose key code is “Kara line, Sa line, Ta line, Ha line”, the muddy sound discrimination means 12 identifies the muddy character indicated by these keys, Is output to the speech synthesizer 17 as syllable information.

濁音判別手段12は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、濁点キー2bに対応するキーコードと、が同時に入力された場合、濁音文字の「び」を特定し、これを音節情報として音声合成手段17に出力する。   For example, when the key code corresponding to the “Hi” kana character key 2 a and the key code corresponding to the cloud key 2 b are simultaneously input from the character input device 2, the muddy sound discrimination means 12 Is specified and output to the speech synthesizer 17 as syllable information.

一方、濁音判別手段12は、文字入力装置2から入力されたキーコードが1つのみであるか3つ以上である場合、あるいは、文字入力装置2から2つのキーコードが同時に入力されなかった場合、そこで処理を終了する。また、濁音判別手段12は、文字入力装置2から、「か行、さ行、た行、は行」のかな文字キー2aまたは濁点キー2bに対応するキーコードが入力されていない場合も、処理を終了する。   On the other hand, the muddy sound discriminating means 12 is used when only one key code or three or more key codes are input from the character input device 2, or when two key codes are not input simultaneously from the character input device 2. Then, the process ends. The muddy sound discriminating means 12 performs the processing even when the key code corresponding to the kana character key 2a or the muddy key 2b is not inputted from the character input device 2. Exit.

濁音判別手段12には、図1に示すように、文字入力装置2から、キーコードが入力される。そして、濁音判別手段12は、前記した手法によって濁音文字の音節情報を生成し、これを音声合成手段17に出力する。   As shown in FIG. 1, a key code is input from the character input device 2 to the muddy sound discrimination means 12. Then, the muddy sound discriminating means 12 generates syllable information of muddy character by the above-described method, and outputs it to the voice synthesizing means 17.

半濁音判別手段13は、文字入力装置2から入力されたキーコードから、半濁音文字を判別するものである。すなわち、半濁音判別手段13は、文字入力装置2からかな文字キー2a(図2参照)のキーコードと半濁点キー2cのキーコードとが入力されたか否かを監視し、当該かな文字キー2aのキーコードと半濁点キー2cのキーコードとが同時に押下されている状態を検出することで、これらのキーコードで特定される半濁音文字を判別する。   The semi-turbid sound discrimination means 13 discriminates a semi-voice sound character from the key code input from the character input device 2. That is, the semi-turbid sound discrimination means 13 monitors whether or not the key code of the kana character key 2a (see FIG. 2) and the key code of the semi-turbid key 2c are input from the character input device 2, and the kana character key 2a. By detecting a state in which the key code of the semi-voice point key 2c and the key code of the semi-voice point key 2c are pressed at the same time, the semi-voice character specified by these key codes is discriminated.

半濁音判別手段13は、具体的には、文字入力装置2からキーコードが入力されると、当該キーコードの数が2つであるか否か、および、当該2つのキーコードが同時に入力されたか否かを判別する。そして、半濁音判別手段13は、キーコードの数が2つであり、かつ、これらが同時に入力された場合、前記した図示しない対応表を参照し、入力された2つのキーコードが、「は行」のかな文字キー2aおよび半濁点キー2cに対応するものであるか否かを判別する。そして、半濁音判別手段13は、キーコードが「は行」のかな文字キー2aおよび半濁点キー2cに対応する場合、これらのキーが示す半濁音文字を特定し、これを音節情報として音声合成手段17に出力する。   More specifically, when the key code is input from the character input device 2, the semi-turbid sound discrimination means 13 determines whether or not the number of the key code is two, and the two key codes are input simultaneously. It is determined whether or not. When the number of key codes is two and these are input simultaneously, the semi-turbid sound discrimination means 13 refers to the correspondence table (not shown), and the two key codes input are It is determined whether or not the key corresponds to the kana character key 2a and the semi-voice point key 2c. When the key code corresponds to the kana character key 2a and the semi-turbid point key 2c, the semi-turbid sound discriminating means 13 specifies the semi-turbid sound character indicated by these keys, and synthesizes the voice as the syllable information. Output to means 17.

半濁音判別手段13は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、半濁点キー2cに対応するキーコードと、が同時に入力された場合、半濁音文字の「ぴ」を特定し、これを音節情報として音声合成手段17に出力する。   For example, when the key code corresponding to the “hi” kana character key 2 a and the key code corresponding to the semi-voice point key 2 c are simultaneously input from the character input device 2, "Pi" is identified and output to the speech synthesizer 17 as syllable information.

一方、半濁音判別手段13は、文字入力装置2から入力されたキーコードが1つのみであるか3つ以上である場合、あるいは、文字入力装置2から2つのキーコードが同時に入力されなかった場合、そこで処理を終了する。また、半濁音判別手段13は、文字入力装置2から、「は行」のかな文字キー2aまたは半濁音キー2cに対応するキーコードが入力されていない場合も、処理を終了する。   On the other hand, the semi-turbid sound discrimination means 13 has only one key code or three or more key codes inputted from the character input device 2, or two key codes are not inputted simultaneously from the character input device 2. If so, the process ends there. Moreover, the semi-turbid sound discrimination means 13 also ends the process even when the key code corresponding to the kana character key 2a or the semi-turbid sound key 2c of "ha line" is not input from the character input device 2.

半濁音判別手段13には、図1に示すように、文字入力装置2から、キーコードが入力される。そして、半濁音判別手段13は、前記した手法によって半濁音文字の音節情報を生成し、これを音声合成手段17に出力する。   As shown in FIG. 1, a key code is input to the semi-turbid sound discrimination means 13 from the character input device 2. Then, the semi-turbid sound discrimination means 13 generates syllable information of the semi-turbid sound character by the above-described method, and outputs it to the speech synthesis means 17.

拗音判別手段14は、文字入力装置2から入力されたキーコードから、拗音文字を判別するものである。すなわち、拗音判別手段14は、文字入力装置から、少なくともかな文字キー2a(図2参照)のキーコードとア行小文字キー2dのキーコードとが入力されたか否かを監視し、かな文字キー2aのキーコードとア行小文字キー2dとが同時に押下されている状態を検出することで、これらのキーコードで特定される拗音文字を判別する。また、拗音判別手段14は、文字入力装置から、少なくともかな文字キー2aのキーコードとヤ行小文字キー2eのキーコードとが入力されたか否かを監視するとともに、かな文字キー2aのキーコードとヤ行小文字キー2eとが同時に押下されている状態を検出することで、これらのキーコードで特定される拗音文字を判別する。   The stuttering discrimination means 14 discriminates stuttering characters from the key code input from the character input device 2. That is, the stuttering discrimination means 14 monitors whether or not at least the key code of the kana character key 2a (see FIG. 2) and the key code of the lower case key 2d are input from the character input device, and the kana character key 2a. By detecting a state in which the key code and the row-lower-case key 2d are simultaneously pressed, the stuttering character specified by these key codes is determined. The stuttering discrimination means 14 monitors whether or not at least the key code of the kana character key 2a and the key code of the yaw small letter key 2e are input from the character input device, and the key code of the kana character key 2a. By detecting a state in which the YA row lowercase key 2e is simultaneously pressed, the stuttering character specified by these key codes is determined.

拗音判別手段14は、具体的には、文字入力装置2からキーコードが入力されると、当該キーコードの数が2つ以上であるか否か、および、当該2つ以上のキーコードが同時に入力されたか否かを判別する。そして、拗音判別手段14は、キーコードの数が2つ以上であり、かつ、これらが同時に入力された場合、前記した図示しない対応表を参照し、入力された2つ以上のキーコードが、少なくとも「か行、さ行、た行、な行、は行、ま行、ら行」のかな文字キー2aおよびア行小文字キー2dに対応するものであるか否か、あるいは、少なくとも「か行、さ行、た行、な行、は行、ま行、ら行」のかな文字キー2aおよびヤ行小文字キー2eに対応するものであるか否かを判別する。そして、拗音判別手段14は、キーコードが少なくとも「か行、さ行、た行、な行、は行、ま行、ら行」のかな文字キー2aおよびア行小文字キー2dに対応するか、あるいは、少なくとも「か行、さ行、た行、な行、は行、ま行、ら行」のかな文字キー2aおよびヤ行小文字キー2eに対応する場合、これらのキーが示す拗音文字を特定し、これを音節情報として音声合成手段17に出力する。   Specifically, when the key code is input from the character input device 2, the stuttering determination unit 14 determines whether or not the number of the key code is two or more, and the two or more key codes are simultaneously received. It is determined whether or not it has been input. Then, when the number of key codes is two or more and these are simultaneously input, the roaring determination means 14 refers to the correspondence table (not shown), and the two or more input key codes are Whether or not it corresponds to the kana character key 2a and the a-line lower-case key 2d of at least "ka line, sa line, ta line, na line, ha line, ma line, la line", or at least "ka line" It is determined whether or not it corresponds to the kana character key 2a and the yaw lowercase key 2e. The stuttering discrimination means 14 corresponds to the kana character key 2a and the a-line lowercase key 2d whose key code is at least “ka line, sa line, ta line, na line, ha line, ma line, la line”, Alternatively, if at least “K”, “S”, “T”, “N”, “H”, “M”, “R” are corresponding to the Kana character key 2a and the Ya-line lowercase key 2e, the roaring characters indicated by these keys are specified. This is output to the speech synthesizer 17 as syllable information.

拗音判別手段14は、例えば、文字入力装置2から「ふ」のかな文字キー2aに対応するキーコードと、「ぃ」のア行小文字キー2dに対応するキーコードと、が同時に入力された場合、拗音文字の「ふぃ」を特定し、これを音節情報として音声合成手段17に出力する。また、拗音判別手段14は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、が同時に入力された場合、拗音文字の「ひゃ」を特定し、これを音節情報として音声合成手段17に出力する。また、拗音判別手段14は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、濁点キー2bに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、が同時に入力された場合、拗音文字の「びゃ」を特定し、これを音節情報として音声合成手段17に出力する。また、拗音判別手段14は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、半濁点キー2cに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、が同時に入力された場合、拗音文字の「ぴゃ」を特定し、これを音節情報として音声合成手段17に出力する。   The stuttering discrimination means 14, for example, when the key code corresponding to the “F” kana character key 2 a and the key code corresponding to the “A” lowercase key 2 d are simultaneously input from the character input device 2. Then, the “F” of the roaring character is specified, and this is output to the speech synthesizer 17 as syllable information. The stuttering discrimination means 14 receives, for example, a key code corresponding to the “hi” kana character key 2 a and a key code corresponding to the “ya” lowercase key 2 e from the character input device 2 at the same time. In the case, the stuttering character “Hya” is specified, and this is output to the speech synthesizer 17 as syllable information. Further, the roaring determination means 14 receives, for example, a key code corresponding to the “hi” kana character key 2a, a key code corresponding to the dakuten key 2b, and a “ya” yaw small letter key 2e from the character input device 2. When the corresponding key code is input at the same time, the stuttering character “Bya” is identified and output to the speech synthesizer 17 as syllable information. Further, the roaring determination means 14 may, for example, enter a key code corresponding to the “hi” kana character key 2a from the character input device 2, a key code corresponding to the semi-voice key 2c, and a “ya” yaw small letter key 2e. When the key code corresponding to is input at the same time, the stuttering character “Pya” is specified and output to the speech synthesizer 17 as syllable information.

一方、拗音判別手段14は、文字入力装置2から入力されたキーコードが1つのみである場合、あるいは、文字入力装置2から2つ以上のキーコードが同時に入力されなかった場合、そこで処理を終了する。また、拗音判別手段14は、文字入力装置2から、「か行、さ行、た行、な行、は行、ま行、ら行」のかな文字キー2a、ア行小文字キー2dまたはヤ行小文字キー2eに対応するキーコードが入力されていない場合も、処理を終了する。   On the other hand, when the number of key codes input from the character input device 2 is one, or when two or more key codes are not input simultaneously from the character input device 2, the stuttering discrimination means 14 performs processing there. finish. Further, the roaring determination means 14 receives from the character input device 2 the kana character key 2a, a-line lower-case key 2d or ya-line of “ka line, sa line, ta line, na line, ha line, ma line, la line”. The process is also terminated when the key code corresponding to the lowercase key 2e is not input.

拗音判別手段14には、図1に示すように、文字入力装置2から、キーコードが入力される。そして、拗音判別手段14は、前記した手法によって拗音文字の音節情報を生成し、これを音声合成手段17に出力する。   As shown in FIG. 1, a key code is input from the character input device 2 to the stuttering determination unit 14. The stuttering discriminating unit 14 generates the syllable information of the stuttering character by the above-described method and outputs it to the voice synthesizing unit 17.

促音付き音節判別手段15は、文字入力装置2から入力されたキーコードから、促音付き音節文字を判別するものである。すなわち、促音付き音節判別手段15は、文字入力装置2から少なくともかな文字キー2a(図2参照)のキーコードとタ行小文字キー2fのキーコードとが入力されたか否かを監視し、かな文字キー2aのキーコードとタ行小文字キー2fとが同時に押下されている状態を検出することで、これらのキーコードで特定される促音付き音節文字を判別する。なお、促音付き音節文字とは、「ひっ」等の促音が付いた清音文字、「びっ」等の促音が付いた濁音文字、「ぴっ」等の促音が付いた半濁音文字、「ひゃっ、びゃっ、ぴゃっ」等の促音が付いた拗音文字等を含む音節文字のことを意味している。   The syllable character with prompting determination means 15 determines a syllable character with a prompting sound from the key code input from the character input device 2. That is, the syllable-with-prompting syllable discriminating means 15 monitors whether or not at least the key code of the kana character key 2a (see FIG. 2) and the key code of the tab line lowercase key 2f are input from the character input device 2, By detecting a state in which the key code of the key 2a and the lowercase key 2f are simultaneously pressed, the syllable character with prompting sound specified by these key codes is determined. Note that the syllable character with a prompt sound is a clear sound character with a prompt sound such as “hi”, a cloudy character character with a prompt sound such as “bi”, a semi-voice character character with a prompt sound such as “pi”, It means a syllable character including a stuttering character with a prompting sound such as “, Bya, Pyat”.

促音付き音節判別手段15は、具体的には、文字入力装置2からキーコードが入力されると、当該キーコードの数が2つ以上であるか否か、および、当該2つ以上のキーコードが同時に入力されたか否かを判別する。そして、促音付き音節判別手段15は、キーコードの数が2つ以上であり、かつ、これらが同時に入力された場合、前記した図示しない対応表を参照し、入力された2つ以上のキーコードが、少なくとも「を、ん」以外のかな文字キー2aおよびタ行小文字キー2fに対応するものであるか否かを判別する。そして、促音付き音節判別手段15は、キーコードが少なくとも「を、ん」以外のかな文字キー2aおよびタ行小文字キー2fに対応する場合、これらのキーが示す促音付き音節文字を特定し、これを音節情報として音声合成手段17に出力する。   Specifically, when the key code is input from the character input device 2, the syllable-with-prompting syllable discrimination means 15 determines whether the number of the key code is two or more, and the two or more key codes. It is determined whether or not are simultaneously input. Then, when the number of key codes is two or more and these are simultaneously input, the syllable-with-sound syllable discrimination means 15 refers to the correspondence table (not shown) and inputs two or more key codes. Is determined to correspond to at least the kana character key 2a and the tab row lowercase key 2f other than "O, N". Then, when the key code corresponds to at least the kana character key 2a and the tab row lowercase key 2f other than “O, N”, the syllable with phonic sound identifying means 15 identifies the syllable character with phonation indicated by these keys, Is output to the speech synthesizer 17 as syllable information.

促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き清音文字の「ひっ」を特定し、これを音節情報として音声合成手段17に出力する。また、促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、濁音キー2bに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き濁音文字の「びっ」を特定し、これを音節情報として音声合成手段17に出力する。また、促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、半濁音キー2cに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き半濁音文字の「ぴっ」を特定し、これを音節情報として音声合成手段17に出力する。   The syllable-with-sound syllable discrimination means 15 receives, for example, a key code corresponding to the “Hi” kana character key 2 a and a key code corresponding to the “T” lower-case key 2 f simultaneously from the character input device 2. In the case, the “hi” of the clear sound with prompting sound is specified, and this is output to the speech synthesizer 17 as syllable information. Further, the syllable-with-sound syllable discriminating means 15 includes, for example, a key code corresponding to the “Hi” kana character key 2 a from the character input device 2, a key code corresponding to the muddy key 2 b, When the key code corresponding to 2f is input at the same time, the voiced muffled character “bi” is identified and output to the speech synthesizer 17 as syllable information. Further, the syllable-with-sound syllable discriminating means 15 includes, for example, a key code corresponding to the “Hi” kana character key 2 a from the character input device 2, a key code corresponding to the semi-voiced sound key 2 c, and “ When the key code corresponding to the key 2f is input at the same time, the semi-voice character with prompt sound is identified and output to the speech synthesizer 17 as syllable information.

また、促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き拗音文字の「ひゃっ」を特定し、これを音節情報として音声合成手段17に出力する。また、促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、濁音キー2bに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き拗音文字の「びゃっ」を特定し、これを音節情報として音声合成手段17に出力する。また、促音付き音節判別手段15は、例えば、文字入力装置2から「ひ」のかな文字キー2aに対応するキーコードと、半濁音キー2cに対応するキーコードと、「ゃ」のヤ行小文字キー2eに対応するキーコードと、「っ」のタ行小文字キー2fに対応するキーコードと、が同時に入力された場合、促音付き拗音文字の「ぴゃっ」を特定し、これを音節情報として音声合成手段17に出力する。   In addition, the syllable-with-sound syllable discrimination means 15 includes, for example, a key code corresponding to the “hi” kana character key 2 a from the character input device 2, a key code corresponding to the “ya” YA row lowercase key 2 e, When the key code corresponding to the two-line lowercase key 2f is input at the same time, the “hya” of the stuttering stuttering character is specified and output to the speech synthesizer 17 as syllable information. The syllable-with-sound syllable discriminating means 15 is, for example, a key code corresponding to the “Hi” kana character key 2 a from the character input device 2, a key code corresponding to the muddy sound key 2 b, When the key code corresponding to 2e and the key code corresponding to the lower case key 2f of “” are input at the same time, the stuttering character “Byan” with the sound prompt is specified and this is used as the syllable information. The result is output to the combining means 17. Further, the syllable-with-sound syllable discriminating means 15 includes, for example, a key code corresponding to the “Hi” kana character key 2 a from the character input device 2, a key code corresponding to the semi-voice key 2 c, and a “ya” lowercase letter. When the key code corresponding to the key 2e and the key code corresponding to the lower case key 2f of “tsu” are input at the same time, the stuttering stuttering character “Pyat” is identified, and this is used as the syllable information. The result is output to the combining means 17.

一方、促音付き音節判別手段15は、文字入力装置2から入力されたキーコードが1つのみである場合、あるいは、文字入力装置2から2つ以上のキーコードが同時に入力されなかった場合、そこで処理を終了する。また、促音付き音節判別手段15は、文字入力装置2から、「を、ん」以外のかな文字キー2aまたはタ行小文字キー2fに対応するキーコードが入力されていない場合も、処理を終了する。   On the other hand, when the syllable-with-sound syllable discrimination means 15 has only one key code input from the character input device 2 or when two or more key codes have not been input simultaneously from the character input device 2, End the process. Further, the syllable-with-sound syllable discrimination means 15 also ends the process even when the key input corresponding to the kana character key 2a or the tab line lowercase key 2f other than “O,” is not input from the character input device 2. .

促音付き音節判別手段15には、図1に示すように、文字入力装置2から、キーコードが入力される。そして、促音付き音節判別手段15は、前記した手法によって促音付き音節文字の音節情報を生成し、これを音声合成手段17に出力する。   As shown in FIG. 1, a key code is input from the character input device 2 to the syllable-with-prompt syllable discrimination means 15. Then, the syllable-with-prompting discrimination unit 15 generates syllable information of the syllable character with prompting sound by the above-described method, and outputs it to the speech synthesis unit 17.

音声波形記憶手段16は、清音、撥音、半濁音、拗音および促音付き音節からなる各音節の音声波形を予め記憶するものである。音声波形記憶手段16は、具体的には、データを記憶することができるメモリ、ハードディスク等で具現される。音声波形記憶手段16は、図1に示すように、音声合成手段17に対して、清音、撥音、半濁音、拗音および促音付き音節からなる各音節の音声波形を出力する。   The voice waveform storage means 16 stores in advance the voice waveform of each syllable consisting of clear sound, sound repellent, semi-turbid sound, stuttering, and syllable with prompt sound. Specifically, the voice waveform storage means 16 is implemented by a memory, a hard disk or the like that can store data. As shown in FIG. 1, the speech waveform storage unit 16 outputs a speech waveform of each syllable including a clean sound, a sound repellent, a semi-turbid sound, a stuttering sound, and a syllable with a prompt sound to the speech synthesis unit 17.

音声合成手段17は、前記した各判別手段の判別結果に従って、音声を合成するものである。すなわち、音声合成手段17は、音声波形記憶手段16から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15からなる各判別手段によって判別された清音文字、撥音文字、半濁音文字、拗音文字および促音付き音節文字からなる各音節文字に対応する音声波形を抽出することで、音声を合成する。   The voice synthesizing means 17 synthesizes voice according to the discrimination results of the above-mentioned discrimination means. That is, the speech synthesizing means 17 is discriminated from the speech waveform storing means 16 by each discriminating means comprising the clear sound repelling discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14 and the syllable discrimination syllable discrimination means 15. A voice is synthesized by extracting a speech waveform corresponding to each syllable character composed of a clear sound character, a repellent character, a semi-voice character, a stuttering character, and a syllable character with a prompt sound.

音声合成手段17は、例えば、清音撥音判別手段11から、清音文字の「は」の音節情報が入力された場合、音声波形記憶手段16から、「は」の音声波形を抽出し、音声出力装置3に出力する。また、音声合成手段17は、例えば、濁音判別手段12から、濁音文字の「び」の音節情報が入力された場合、音声波形記憶手段16から、「び」の音声波形を抽出し、音声出力装置3に出力する。また、音声合成手段17は、例えば、半濁音判別手段13から、半濁音文字の「ぴ」の音節情報が入力された場合、音声波形記憶手段16から、「ぴ」の音声波形を抽出し、音声出力装置3に出力する。   For example, when the syllable information of the voice “ha” is input from the voice sound recognizing means 11, the voice synthesizer 17 extracts the voice waveform “ha” from the voice waveform storage means 16, and the voice output device 3 is output. Further, for example, when the syllable information of the muddy character “bi” is input from the muddy sound discriminating unit 12, the voice synthesizing unit 17 extracts the sound waveform of “bi” from the sound waveform storage unit 16 and outputs the sound. Output to device 3. For example, when the syllable information of the semi-voice character “pi” is input from the semi-turbid sound discrimination means 13, the speech synthesizer 17 extracts the speech waveform of “pi” from the speech waveform storage means 16. Output to the audio output device 3.

また、音声合成手段17は、例えば、拗音判別手段14から、拗音文字の「ふぃ」の音節情報が入力された場合、音声波形記憶手段16から、「ふぃ」の音声波形を抽出し、音声出力装置3に出力する。また、音声合成手段17は、例えば、促音付き音節判別手段15から、促音つき清音文字の「ひっ」の音節情報が入力された場合、音声波形記憶手段16から、「ひっ」の音声波形を抽出し、音声出力装置3に出力する。このように、音声合成手段17は、文字入力装置2のキーが押されたタイミングで音声を合成する。そして、音声出力装置3は、音声合成手段17から入力された音声波形に基づいて、逐次音声を再生する。   For example, when the syllable information of the stuttering character “Fi” is input from the stuttering discrimination unit 14, the voice synthesis unit 17 extracts the voice waveform of “Fi” from the voice waveform storage unit 16. Output to the audio output device 3. For example, when the syllable information of “hi” is input from the syllable discriminating unit 15 with the prompt sound, the voice synthesizing unit 17 extracts the voice waveform of “hi” from the voice waveform storage unit 16. And output to the audio output device 3. As described above, the speech synthesizer 17 synthesizes speech at the timing when the key of the character input device 2 is pressed. Then, the voice output device 3 sequentially reproduces the voice based on the voice waveform input from the voice synthesizer 17.

音声合成手段17には、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15から、音節情報が入力される。そして、音声合成手段17は、前記した手法によって音声を合成し、これを音声出力装置3に出力する。   Syllable information is input to the speech synthesizer 17 from the clear sound repellent discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14, and the syllable discrimination syllable discrimination means 15. Then, the voice synthesizer 17 synthesizes the voice by the method described above and outputs it to the voice output device 3.

以上のような構成を備える音声合成装置1は、前記したように、各判別手段によって、文字入力装置2のキー入力状況を常時監視する。そして、音声合成装置1は、操作者によって文字入力装置2のいずれかのキーが押され、当該キーに対応するキーコードが入力されると、各判別手段によって、そのキーコードに対応する音節文字を判別するとともに、音声合成手段17によって、判別した音節文字に対応する音声を逐次合成する。   As described above, the speech synthesizer 1 having the above-described configuration constantly monitors the key input status of the character input device 2 by each determination unit. Then, when any key of the character input device 2 is pressed by the operator and a key code corresponding to the key is input by the operator, the speech synthesizer 1 is syllable characters corresponding to the key code by each determining means. And the speech synthesizer 17 sequentially synthesizes speech corresponding to the determined syllable characters.

従って、音声合成装置1によれば、文字入力装置2の入力内容に対応した音声を逐次合成するため、従来の音声合成装置が備える入力完了ボタンが不要となり、かつ、音声を合成して再生するまでの時間も短縮させることができる。また、音声合成装置1によれば、文字入力装置2からかな文字キー2aのキーコードと濁点キー2b等のキーコードとが同時に入力された場合のみ、濁音等の音節を合成するため、濁音等の音声が誤って合成されることがなく、音声合成の精度を向上させることができる。   Therefore, according to the speech synthesizer 1, since the speech corresponding to the input content of the character input device 2 is sequentially synthesized, the input completion button provided in the conventional speech synthesizer becomes unnecessary, and the speech is synthesized and reproduced. Can be shortened. Also, according to the speech synthesizer 1, only when the key code of the kana character key 2a and the key code of the dakuten key 2b or the like are simultaneously input from the character input device 2, the syllable such as muddy sound is synthesized. The speech synthesis is not erroneously synthesized, and the accuracy of speech synthesis can be improved.

[音声合成出プログラム]
ここで、音声合成装置1は、一般的なコンピュータを、前記した各手段および各部として機能させるプログラムにより動作させることで実現することができる。このプログラムは、通信回線を介して配布することも可能であるし、CD−ROM等の記録媒体に書き込んで配布することも可能である。
[Speech synthesis output program]
Here, the speech synthesizer 1 can be realized by operating a general computer with a program that causes each of the above-described units and units to function. This program can be distributed via a communication line, or can be written on a recording medium such as a CD-ROM for distribution.

[音声合成装置1の動作]
以下、音声合成装置1の動作について、図3を参照しながら簡単に説明する。ここで、以下で説明する音声合成装置1の動作は、操作者が文字入力装置2のいずれかのキーを1回のみ押した場合における音声合成装置1側の動作を示している。
[Operation of Speech Synthesizer 1]
Hereinafter, the operation of the speech synthesizer 1 will be briefly described with reference to FIG. Here, the operation of the speech synthesizer 1 described below indicates the operation of the speech synthesizer 1 when the operator presses any key of the character input device 2 only once.

まず、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15が、文字入力装置2から、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2eおよびタ行小文字キー2fのキーコードの入力があるか否かを監視する(ステップS1)。   First, the clear sound repellent discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14, and the syllable discrimination syllable discrimination means 15 are sent from the character input device 2 to the kana character key 2 a, the dakuten key 2 b, and the semi-dakuten key. It is monitored whether or not there is an input of the key codes of 2c, A-line lower-case key 2d, Y-line lower-case key 2e, and 2-line lower-case key 2f (step S1).

次に、文字入力装置2から、操作者が押したキーに対応するキーコードが清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15のそれぞれに入力されると、各判別手段が、入力されたキーコードが清音文字、撥音文字、濁音文字、半濁音文字、拗音文字または促音付き音節文字のいずれの音節文字に対応するものであるかを判別する(ステップS2)。   Next, the key code corresponding to the key pressed by the operator is sent from the character input device 2 to the clear sound / acoustic sound discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14 and the syllable discrimination syllable discrimination means 15. When each is entered, each discriminating means corresponds to the syllable character of the input key code, which is a clear character, repellent character, muddy character, semi-voiced character, stuttering character or syllable character with prompt sound. Is determined (step S2).

次に、音声合成手段17が、音声波形記憶手段16から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14または促音付き音節判別手段15が判別した前記音節文字に対応する音声波形を抽出し、これを音声出力装置3に出力する(ステップS3)。   Next, the speech synthesizer 17 determines the syllable character determined by the clear sound repellent determination unit 11, the muddy sound determination unit 12, the semi-turbid sound determination unit 13, the stuttering determination unit 14, or the syllable determination unit 15 with prompt sound from the speech waveform storage unit 16. Is extracted and output to the audio output device 3 (step S3).

[第2実施形態]
以下、第2実施形態に係る音声合成装置1Aについて、図4〜図6を参照しながら詳細に説明する。第2実施形態に係る音声合成装置1Aは、図4に示す繰り返し信号出力手段18と、繰り返し波形記憶手段19と、を備え、かつ、文字入力装置2の代わりに文字入力装置2Aを用いること以外は、前記した第1実施形態に係る音声合成装置1と同様の構成を備えている。従って、前記した音声合成装置1と重複する構成については、同じ符号を付して説明を省略する。
[Second Embodiment]
Hereinafter, the speech synthesizer 1A according to the second embodiment will be described in detail with reference to FIGS. The speech synthesizer 1A according to the second embodiment includes the repetitive signal output unit 18 and the repetitive waveform storage unit 19 shown in FIG. 4 and uses the character input device 2A instead of the character input device 2. Has the same configuration as the speech synthesizer 1 according to the first embodiment described above. Therefore, the same components as those in the speech synthesizer 1 described above are denoted by the same reference numerals and description thereof is omitted.

文字入力装置2Aは、音声合成装置1Aに対して、前記したキーコードの他に、メイクコードとブレイクコードとを出力することを特徴としている。ここで、メイクコードとは、操作者が文字入力装置2Aのキーを押した時に出力されるコードであり、操作者が文字入力装置2Aのいずれかのキーを押したことを示すものである。また、ブレイクコードとは、操作者が文字入力装置2Aのキーを離した時に出力されるコードであり、操作者が文字入力装置2Aのいずれかのキーを離したことを示すものである。すなわち、文字入力装置2Aからメイクコードが入力されてからブレイクコードが入力されるまでの間は、操作者によっていずれかのキーが継続して押されている状態(押しっぱなしの状態)であることを意味している。   The character input device 2A is characterized by outputting a make code and a break code to the speech synthesizer 1A in addition to the key code described above. Here, the makeup code is a code that is output when the operator presses a key of the character input device 2A, and indicates that the operator has pressed any key of the character input device 2A. The break code is a code that is output when the operator releases the key of the character input device 2A, and indicates that the operator has released any key of the character input device 2A. That is, during the period from when the make code is input from the character input device 2A to when the break code is input, one of the keys is continuously pressed by the operator (the state where the key is pressed). It means that.

繰り返し信号出力手段18は、所定の条件下において、音声合成手段17に対して繰り返し開始信号または繰り返し終了信号を出力するものである。繰り返し信号出力手段18は、具体的には、文字入力装置2Aからメイクコードおよびブレイクコードが入力されたか否かを監視することで、操作者が文字入力装置2Aのキーを押したタイミングと、操作者が文字入力装置2Aのキーを離したタイミングと、を認識する。   The repetitive signal output means 18 outputs a repetitive start signal or a repetitive end signal to the speech synthesizer 17 under a predetermined condition. Specifically, the repeat signal output means 18 monitors whether or not a make code and a break code have been input from the character input device 2A, so that the timing when the operator presses the key of the character input device 2A and the operation And the timing when the user releases the key of the character input device 2A.

そして、繰り返し信号出力手段18は、文字入力装置2Aからメイクコードが入力された場合は、繰り返し開始信号を生成し、これを音声合成手段17に出力する。ここで、繰り返し開始信号とは、文字入力装置2Aからメイクコードが入力された場合(操作者が文字入力装置2Aのいずれかのキーを押した場合)に、音声合成手段17に対して、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結する旨を指示するための信号である。   When the make code is input from the character input device 2 </ b> A, the repetition signal output unit 18 generates a repetition start signal and outputs it to the speech synthesis unit 17. Here, the repeat start signal is a voice to the voice synthesizer 17 when a makeup code is input from the character input device 2A (when an operator presses any key of the character input device 2A). It is a signal for instructing to repeatedly connect the repeated waveforms in the waveform repetition section.

また、繰り返し信号出力手段18は、文字入力装置2Aからブレイクコードが入力された場合は、繰り返し終了信号を生成し、これを音声合成手段17に出力する。ここで、繰り返し終了信号とは、文字入力装置2Aからブレイクコードが入力された場合(操作者が文字入力装置2Aのいずれかのキーを離した場合)に、音声合成手段17に対して、音声波形に繰り返し波形を連結することを終了する旨を指示するための信号である。   When the break code is input from the character input device 2 </ b> A, the repetitive signal output unit 18 generates a repetitive end signal and outputs it to the speech synthesis unit 17. Here, the repeat end signal means that the voice synthesizing unit 17 is voiced when a break code is input from the character input device 2A (when the operator releases any key of the character input device 2A). This is a signal for instructing to end the connection of the repeated waveform to the waveform.

繰り返し信号出力手段18には、図4に示すように、文字入力装置2Aから、メイクコードおよびブレイクコードが入力される。そして、繰り返し信号出力手段18は、前記した手法によって繰り返し開始信号および繰り返し終了信号を生成し、これを音声合成手段17に出力する。   As shown in FIG. 4, the repeat signal output means 18 receives a make code and a break code from the character input device 2A. Then, the repetitive signal output unit 18 generates a repetitive start signal and a repetitive end signal by the above-described method, and outputs them to the speech synthesis unit 17.

繰り返し波形記憶手段19は、清音、撥音、濁音、半濁音、拗音および促音付き音節からなる各音節の音声波形のうち、母音に相当する区間における数周期分の波形を示す繰り返し波形を予め記憶するものである。以下、繰り返し波形について、図5(a)を参照しながら簡単に説明する。なお、図5(a)の音声波形は、説明の便宜上、波形の縮尺を誇張して示している。また、図5(a)に示す音声波形はあくまでも一例であり、波形の振幅、周期および長さは図5(a)に示すものに限定されない。   The repetitive waveform storage means 19 stores in advance a repetitive waveform indicating a waveform for several cycles in a section corresponding to a vowel among speech waveforms of syllables including clear sound, repellent sound, muddy sound, semi-turbid sound, stuttering, and syllable with prompt sound. Is. Hereinafter, the repeated waveform will be briefly described with reference to FIG. Note that the audio waveform of FIG. 5A is exaggerated for the sake of convenience. Further, the voice waveform shown in FIG. 5A is merely an example, and the amplitude, period, and length of the waveform are not limited to those shown in FIG.

例えば、図5(a)に示す清音の「か」の音声波形(100msec)は、子音の「k」に相当する部分の波形(30msec)と、母音の「a」に相当する部分の波形(70msec)と、で構成される。そして、図5(a)に示すように、この母音の「a」に相当する部分の波形(70msec)は、類似した振幅および基本周期を有する波形(5msec)が複数集まって構成され、その数周期分の波形のことを、ここでは繰り返し波形と呼んでいる。   For example, the voice waveform (100 msec) of the clear sound “ka” shown in FIG. 5A includes a waveform corresponding to the consonant “k” (30 msec) and a waveform corresponding to the vowel “a” ( 70 msec). As shown in FIG. 5A, the waveform (70 msec) of the portion corresponding to “a” of this vowel is composed of a plurality of waveforms (5 msec) having similar amplitudes and fundamental periods. A waveform corresponding to a period is called a repetitive waveform here.

繰り返し波形記憶手段19は、具体的には、データを記憶することができるメモリ、ハードディスク等で具現される。繰り返し波形記憶手段19は、図4に示すように、音声合成手段17に対して、清音、撥音、半濁音、拗音および促音付き音節からなる各音節の繰り返し波形を出力する。   Specifically, the repetitive waveform storage means 19 is implemented by a memory, a hard disk or the like that can store data. As shown in FIG. 4, the repetitive waveform storage unit 19 outputs a repetitive waveform of each syllable composed of a clear sound, a sound repellent, a semi-turbid sound, a stuttering sound, and a syllable with a prompt sound, to the speech synthesis unit 17.

このような繰り返し信号出力手段18および繰り返し波形記憶手段19を備える音声合成装置1Aでは、音声合成手段17が、各判別手段から入力された音節情報に従って、音声波形記憶手段16から音声波形を抽出し、かつ、繰り返し信号出力手段18からの繰り返し開始信号に従って、繰り返し波形記憶手段19から前記した音声波形に対応する繰り返し波形を抽出する。そして、音声合成手段17は、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで、音声を合成する。   In the speech synthesizer 1A including the repetitive signal output means 18 and the repetitive waveform storage means 19, the speech synthesizer 17 extracts a speech waveform from the speech waveform storage means 16 in accordance with the syllable information input from each discrimination means. And, in accordance with the repetition start signal from the repetition signal output means 18, the repetition waveform corresponding to the speech waveform described above is extracted from the repetition waveform storage means 19. Then, the speech synthesizer 17 synthesizes the speech by repeatedly connecting the repetitive waveforms in the repetitive sections of the speech waveform until the repetitive end signal is input from the repetitive signal output unit 18.

音声合成手段17は、例えば、図5(b)に示すように、操作者が文字入力装置2Aの「か」のキーを1000msecの間継続して押した場合、音声波形記憶手段16から清音文字の「か」の音声波形を抽出するとともに、繰り返し波形記憶手段19から、清音文字の「か」の繰り返し波形を抽出する。そして、音声合成手段17は、70msecの「か」の音声波形の後に、5msecの「か」の繰り返し波形を186回連結することで、音声を合成する。このような処理を経た「か」の合成音声は、母音の「a」が長音化され、音声出力装置3によって出力すると、「かー」と再生されることになる。なお、1000msecの時点で操作者が文字入力装置2Aの「か」のキーを離すと、音声合成手段17は、図5(b)に示すように、繰り返し区間の残りである30msec分の波形を前記した繰り返し波形の後にさらに連結する。但し、この場合は、当該繰り返し区間の残りの波形の振幅を−20dbのレベルまで急激に減少させ、50msecで打ち切る。   For example, as shown in FIG. 5B, the voice synthesizing unit 17 reads the voice character from the voice waveform storage unit 16 when the operator continuously presses the “ka” key of the character input device 2A for 1000 msec. The voice waveform of “ka” is extracted, and the repeated waveform of the “ka” of the clear character is extracted from the repeated waveform storage means 19. Then, the voice synthesizer 17 synthesizes the voice by connecting the “m” repeated waveform of 5 msec 186 times after the “m” voice waveform of 70 msec. The synthesized voice of “ka” having undergone such processing is reproduced as “ka” when the vowel “a” is lengthened and output by the voice output device 3. When the operator releases the “ka” key of the character input device 2A at 1000 msec, the speech synthesizer 17 generates a waveform corresponding to the remaining 30 msec of the repetitive section as shown in FIG. Further connection is made after the repetitive waveform described above. However, in this case, the amplitude of the remaining waveform in the repetitive section is rapidly reduced to the level of −20 db, and is terminated at 50 msec.

以上のような構成を備える音声合成装置1Aは、繰り返し信号出力手段18によって、文字入力装置2Aからのメイクコードおよびブレイクコードの入力を常時監視することで、操作者が文字入力装置2Aのいずれかのキーを押している状態であるか、あるいは離している状態であるか、を認識する。そして、音声合成装置1Aは、操作者によって文字入力装置2Aのいずれかのキーが押されてから(メイクコードが入力されてから)、当該いずれかのキーが離されるまで(ブレイクコードが入力されるまで)、音声合成手段17によって、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで、操作者が文字入力装置2Aのキーを押している間だけ、長音化した音声を合成する。   In the speech synthesizer 1A having the above-described configuration, the repeat signal output unit 18 constantly monitors the input of the make code and the break code from the character input device 2A, so that the operator can select one of the character input devices 2A. It is recognized whether the key is pressed or released. The voice synthesizer 1A then waits for the break code to be input after any key of the character input device 2A is pressed by the operator (after the make code is input) until the key is released. Until the operator presses the key of the character input device 2A, the voice synthesizing unit 17 synthesizes the voice having a longer sound length by repeatedly connecting the repeated waveforms in the repeated section of the voice waveform.

従って、音声合成装置1Aによれば、操作者が文字入力装置2Aのいずれかのキーを継続して押している場合、当該キーに対応する音節を長音化させて合成することができるため、音声合成のバリエーションを増やすことができる。   Therefore, according to the speech synthesizer 1A, when the operator continues to press any key of the character input device 2A, the syllable corresponding to the key can be synthesized with a longer syllable. The variation of can be increased.

[音声合成装置1Aの動作]
以下、音声合成装置1Aの動作について、図6を参照しながら簡単に説明する。ここで、以下で説明する音声合成装置1Aの動作は、操作者が文字入力装置2Aのいずれかのキーを1回のみ押した場合における音声合成装置1A側の動作を示している。
[Operation of Speech Synthesizer 1A]
Hereinafter, the operation of the speech synthesizer 1A will be briefly described with reference to FIG. Here, the operation of the speech synthesizer 1A described below indicates the operation of the speech synthesizer 1A when the operator presses any key of the character input device 2A only once.

まず、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15が、文字入力装置2Aから、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2e、および、タ行小文字キー2fのキーコードの入力があるか否かを監視する(ステップS11)。また、繰り返し信号出力手段18が、文字入力装置2Aから、メイクコードとブレイクコードの入力があるか否かを監視する(ステップS12)。   First, the clear sound repelling sound discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14, and the syllable discrimination syllable discrimination means 15 are sent from the character input device 2A to the kana character key 2a, the muddy point key 2b, and the semi-sound mark key. It is monitored whether or not there is an input of the key codes of 2c, A-line lower-case key 2d, Y-line lower-case key 2e, and 2-line lower-case key 2f (step S11). Further, the repetition signal output means 18 monitors whether or not a make code and a break code are input from the character input device 2A (step S12).

次に、文字入力装置2Aから、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15のそれぞれに対して、操作者が押したキーに対応するキーコードが入力されると、各判別手段が、入力されたキーコードが清音文字、撥音文字、濁音文字、半濁音文字、拗音文字または促音付き音節文字のいずれの音節文字に対応するものであるかを判別する(ステップS13)。   Next, from the character input device 2A, the keys pressed by the operator to the clear sound repellent determination means 11, the muddy sound determination means 12, the semi-turbid sound determination means 13, the stuttering sound determination means 14, and the syllable determination syllable determination means 15 respectively. When the corresponding key code is input, each discriminating means corresponds to the syllable character of the clear key character, the sound-repellent character, the muddy character, the semi-voiced character, the stuttering character, or the syllable character with prompting sound. (Step S13).

また、文字入力装置2Aから、繰り返し信号出力手段18に対して、操作者がキーを押したことを示すメイクコードが入力されると(ステップS14においてYes)、当該繰り返し信号出力手段18が、繰り返し開始信号を生成して音声合成手段17に出力する(ステップS15)。一方、文字入力装置2Aから、繰り返し信号出力手段18に対して、前記したメイクコードが入力されない場合は、ステップS12に戻って監視を継続する。   When a make code indicating that the operator has pressed a key is input from the character input device 2A to the repeat signal output means 18 (Yes in step S14), the repeat signal output means 18 repeats. A start signal is generated and output to the speech synthesizer 17 (step S15). On the other hand, if the above-described make code is not input from the character input device 2A to the repetitive signal output means 18, the process returns to step S12 to continue monitoring.

次に、音声合成手段17が、音声波形記憶手段16から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14または促音付き音節判別手段15が判別した前記音節文字に対応する音声波形を抽出する(ステップS16)。また、音声合成手段17が、繰り返し波形記憶手段19から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14または促音付き音節判別手段15が判別した前記音節文字に対応する繰り返し波形を抽出する(ステップS17)。   Next, the speech synthesizer 17 determines the syllable character determined by the clear sound repellent determination unit 11, the muddy sound determination unit 12, the semi-turbid sound determination unit 13, the stuttering determination unit 14, or the syllable determination unit 15 with prompt sound from the speech waveform storage unit 16. A speech waveform corresponding to is extracted (step S16). Further, the speech synthesizer 17 applies the syllable character determined by the repetitive waveform storage unit 19 by the clear sound repellent determination unit 11, the muddy sound determination unit 12, the semi-turbid sound determination unit 13, the stuttering determination unit 14, or the syllable determination unit 15 with prompt sound A corresponding repeated waveform is extracted (step S17).

次に、音声合成手段17が、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結する(ステップS18)。次に、文字入力装置2Aから、繰り返し信号出力手段18に対して、操作者がキーを離したことを示すブレイクコードが入力されると(ステップS19においてYes)、当該繰り返し信号出力手段18が、繰り返し終了信号を生成して音声合成手段17に出力する(ステップS20)。一方、文字入力装置2Aから、繰り返し信号出力手段18に対して、前記したブレイクコードが入力されない場合は、ステップS18に戻って監視を継続する(ステップS19においてNo)。次に、音声合成手段17が、繰り返し波形の連結を終了し、合成した音声を音声出力装置3に出力する(ステップS21)。   Next, the speech synthesizer 17 repeatedly connects the repetitive waveforms in the repetitive section of the speech waveform (step S18). Next, when a break code indicating that the operator has released the key is input from the character input device 2A to the repeat signal output means 18 (Yes in step S19), the repeat signal output means 18 A repeat end signal is generated and output to the speech synthesizer 17 (step S20). On the other hand, if the break code is not input from the character input device 2A to the repetitive signal output means 18, the process returns to step S18 to continue monitoring (No in step S19). Next, the speech synthesizer 17 ends the connection of the repeated waveforms, and outputs the synthesized speech to the speech output device 3 (step S21).

[第3実施形態]
以下、第3実施形態に係る音声合成装置1Bについて、図7を参照しながら詳細に説明する。第3実施形態に係る音声合成装置1Bは、繰り返し波形記憶手段19の代わりに、図7に示す繰り返し波形生成手段20を備えること以外は、前記した第2実施形態に係る音声合成装置1Aと同様の構成を備えている。従って、前記した音声合成装置1Aと重複する構成については、同じ符号を付して説明を省略する。また、音声合成装置1Bの動作についても、説明を省略する。
[Third Embodiment]
Hereinafter, the speech synthesizer 1B according to the third embodiment will be described in detail with reference to FIG. The speech synthesizer 1B according to the third embodiment is the same as the speech synthesizer 1A according to the second embodiment described above except that it includes the repetitive waveform generating means 20 shown in FIG. It has the composition of. Therefore, about the structure which overlaps with above-described speech synthesis apparatus 1A, the same code | symbol is attached | subjected and description is abbreviate | omitted. The description of the operation of the speech synthesizer 1B is also omitted.

繰り返し波形生成手段20は、音声波形記憶手段16に記憶された音声波形から、繰り返し波形を生成するものである。繰り返し波形生成手段20は、まず、特開2003−122380「ピッチマーク付与装置およびその処理方法ならびに記憶媒体」の手法を用いて記憶された音声波形に対してピッチマークを付与することで基本周期単位に分割する。次に、分割された基本周期単位全てに対して、前後の基本周期単位との相互相関の計算を行う。そして最後に、前後の相互相関の和が最も高くなる基本周期単位を抽出し、その部分を繰り返し波形と決定する。   The repetitive waveform generating means 20 generates a repetitive waveform from the speech waveform stored in the speech waveform storage means 16. First, the repetitive waveform generating means 20 applies a pitch mark to a speech waveform stored using the technique disclosed in Japanese Patent Application Laid-Open No. 2003-122380 “Pitch Mark Appending Device, Processing Method Therefor, and Storage Medium”. Divide into Next, the cross-correlation with the preceding and following fundamental cycle units is calculated for all the divided fundamental cycle units. Finally, a basic period unit having the highest sum of the cross correlations before and after is extracted, and that portion is determined as a repetitive waveform.

繰り返し波形生成手段20は、例えば、図5(a)における「か」の母音の「a」に相当する部分の波形(70msec)に対して15個のピッチマークが付与できた場合、14個の基本周期単位全てに対して前後の相関の計算を行い、相関が最も高い部分を繰り返し波形として抽出する。このように、相関が最も高い部分、すなわち安定した波形を繰り返し波形として用いることで、音声出力装置3において安定した出力が可能となる。   For example, the repetitive waveform generation means 20 can generate 14 pitch marks when 15 pitch marks can be added to the waveform (70 msec) corresponding to “a” of the vowel “a” in FIG. The correlation before and after is calculated for all the basic period units, and the portion with the highest correlation is extracted as a repeated waveform. In this way, by using a portion having the highest correlation, that is, a stable waveform as a repetitive waveform, the audio output device 3 can output stably.

繰り返し波形生成手段20には、図7に示すように、音声合成手段17から、繰り返し波形を生成する旨の指示である繰り返し波形生成指示が入力されるとともに、音声波形記憶手段16から音声波形が入力される。そして、繰り返し波形生成手段20は、前記した手法によって繰り返し波形を生成し、これを音声合成手段17に出力する。   As shown in FIG. 7, the repetitive waveform generation means 20 receives a repetitive waveform generation instruction, which is an instruction to generate a repetitive waveform, from the speech synthesis means 17, and a speech waveform from the speech waveform storage means 16. Entered. Then, the repetitive waveform generation means 20 generates a repetitive waveform by the method described above and outputs it to the speech synthesis means 17.

このような繰り返し波形生成手段20を備える音声合成装置1Bでは、音声合成手段17は、各判別手段からの音節情報に従って、音声波形記憶手段16から音声波形を抽出し、かつ、繰り返し信号出力手段18からの繰り返し開始信号に従って、繰り返し波形生成手段20に対して、前記した音声波形に対応する繰り返し波形の生成する旨の指示である繰り返し波形生成指示を出力する。そして、音声合成手段17は、繰り返し波形生成手段20から繰り返し波形を受け取り、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで、音声を合成する。   In the speech synthesizer 1B including the repetitive waveform generating unit 20 as described above, the speech synthesizing unit 17 extracts a speech waveform from the speech waveform storing unit 16 according to the syllable information from each determining unit, and the repetitive signal output unit 18. Is output to the repetitive waveform generation means 20 in accordance with the repetitive start signal from the above. The speech synthesizer 17 receives the repetitive waveform from the repetitive waveform generator 20 and repeatedly connects the repetitive waveforms in the repetitive section of the speech waveform until the repetitive end signal is input from the repetitive signal output unit 18. Synthesize speech.

以上のような構成を備える音声合成装置1Bは、繰り返し信号出力手段18によって、文字入力装置2Aからのメイクコードおよびブレイクコードの入力を常時監視することで、操作者が文字入力装置2Aのいずれかのキーを押している状態であるか、あるいは離している状態であるか、を認識する。そして、音声合成装置1Bは、操作者によって文字入力装置2Aのいずれかのキーが押されてから(メイクコードが入力されてから)、当該いずれかのキーが離されるまで(ブレイクコードが入力されるまで)、音声合成手段17によって、音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで、操作者が文字入力装置2Aのキーを押している間だけ、長音化した音声を合成する。   In the speech synthesizer 1B having the above-described configuration, the repeat signal output unit 18 constantly monitors the input of the make code and the break code from the character input device 2A, so that the operator can select one of the character input devices 2A. It is recognized whether the key is pressed or released. The voice synthesizer 1B then waits for the break code to be input after any key of the character input device 2A is pressed by the operator (after the makeup code is input) until the key is released. Until the operator presses the key of the character input device 2A, the voice synthesizing unit 17 synthesizes the voice having a longer sound length by repeatedly connecting the repeated waveforms in the repeated section of the voice waveform.

従って、音声合成装置1Bによれば、操作者が文字入力装置2Aのいずれかのキーを継続して押している場合、当該キーに対応する音節を長音化させて合成することができるため、音声合成のバリエーションを増やすことができる。   Therefore, according to the speech synthesizer 1B, when the operator continues to press any key of the character input device 2A, the syllable corresponding to the key can be synthesized with a longer syllable. The variation of can be increased.

[第4実施形態]
以下、第4実施形態に係る音声合成装置1Cについて、図8〜図10を参照しながら詳細に説明する。第4実施形態に係る音声合成装置1Cは、図8に示すアクセント信号出力手段21を備え、かつ、音声波形記憶手段16の代わりに図8に示す低音声波形記憶手段22と、高音声波形記憶手段23と、を備え、文字入力装置2Aの代わりに文字入力装置2Bを用いること以外は、前記した第2実施形態に係る音声合成装置1Aと同様の構成を備えている。従って、前記した音声合成装置1Aと重複する構成については、同じ符号を付して説明を省略する。
[Fourth Embodiment]
The speech synthesizer 1C according to the fourth embodiment will be described in detail below with reference to FIGS. The speech synthesizer 1C according to the fourth embodiment includes the accent signal output means 21 shown in FIG. 8, and instead of the speech waveform storage means 16, the low speech waveform storage means 22 shown in FIG. And a configuration similar to that of the speech synthesizer 1A according to the second embodiment described above except that the character input device 2B is used instead of the character input device 2A. Therefore, about the structure which overlaps with above-described speech synthesis apparatus 1A, the same code | symbol is attached | subjected and description is abbreviate | omitted.

文字入力装置2Bは、図9に示すように、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2eおよびタ行小文字キー2fの他に、アクセント下降キー2gと、アクセント上昇キー2hと、アクセント区切りキー2iと、をさらに備えることを特徴としている。   As shown in FIG. 9, the character input device 2B has an accent descending function in addition to a kana character key 2a, a dakuten key 2b, a semi-dakuten key 2c, a line lowercase key 2d, a line lowercase key 2e, and a line lowercase key 2f. A key 2g, an accent raising key 2h, and an accent delimiter key 2i are further provided.

アクセント信号出力手段21は、所定の条件下において、音声合成手段17に対してアクセント下降信号、アクセント上昇信号またはアクセント区切り信号を出力するものである。アクセント信号出力手段21は、具体的には、文字入力装置2Bから、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2eおよびタ行小文字キー2fからなる各文字キーのキーコードの前に、アクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iのキーコードが入力されたか否かを監視する。   The accent signal output means 21 outputs an accent fall signal, an accent rise signal, or an accent delimiter signal to the speech synthesizer 17 under predetermined conditions. Specifically, the accent signal output means 21 is supplied from the character input device 2B, from the kana character key 2a, the dakuten key 2b, the semi-dakuten key 2c, the a lower case key 2d, the yaw lower case key 2e, and the ta row lower case key 2f. It is monitored whether the key code of the accent lowering key 2g, the accent rising key 2h, or the accent delimiter key 2i is input before the key code of each character key.

そして、アクセント信号出力手段21は、文字入力装置2Bからアクセント下降キー2gのキーコードが入力された場合は、アクセント下降信号を生成し、これを音声合成手段17に出力する。ここで、アクセント下降信号とは、音声合成手段17が合成する音声のアクセントを下げるための信号である。すなわち、アクセント下降信号が音声合成手段17に入力された場合、音声合成手段17は、後記する低音声波形記憶手段22から、当該アクセント下降信号が入力された後に各判別手段によって判別された音節文字に対応する低音声波形を抽出する。   Then, when the key code of the accent lowering key 2g is input from the character input device 2B, the accent signal output means 21 generates an accent lowering signal and outputs it to the speech synthesizer 17. Here, the accent lowering signal is a signal for lowering the voice accent synthesized by the voice synthesizing means 17. That is, when an accent lowering signal is input to the speech synthesizing means 17, the speech synthesizing means 17 receives a syllable character determined by each determining means after the accent decreasing signal is input from the low-speech waveform storage means 22 described later. A low speech waveform corresponding to is extracted.

例えば、操作者が文字入力装置2Bによって、「さ」、「く」、「ら」の文字を入力する場合において、「さ」のかな文字キー2aを押す前にアクセント下降キー2gを押すと、音声合成手段17は、「さ」、「く」、「ら」のそれぞれの音節文字に対応する低音声波形を低音声波形記憶手段22から抽出する。すなわち、「さ(低)」、「く(低)」、「ら(低)」という、全て低アクセントの音声が合成される。   For example, when the operator inputs the characters “sa”, “ku”, and “ra” with the character input device 2B, if the operator presses the accent lowering key 2g before pressing the “sa” kana character key 2a, The speech synthesizer 17 extracts the low speech waveform corresponding to the syllable characters “sa”, “ku”, and “ra” from the low speech waveform storage 22. That is, low accent sounds such as “sa (low)”, “ku (low)”, and “ra (low)” are synthesized.

また、アクセント信号出力手段21は、文字入力装置2Bからアクセント上昇キー2hのキーコードが入力された場合は、アクセント上昇信号を生成し、これを音声合成手段17に出力する。ここで、アクセント上昇信号とは、音声合成手段17が合成する音声のアクセントを上げるための信号である。すなわち、アクセント上昇信号が音声合成手段17に入力された場合、音声合成手段17は、後記する高音声波形記憶手段23から、当該アクセント上昇信号が入力された後に各判別手段によって判別された音節文字に対応する高音声波形を抽出する。   The accent signal output means 21 generates an accent increase signal when the key code of the accent increase key 2h is input from the character input device 2B, and outputs this to the speech synthesizer 17. Here, the accent increase signal is a signal for increasing the accent of the voice synthesized by the voice synthesizing means 17. That is, when an accent increase signal is input to the speech synthesizer 17, the speech synthesizer 17 receives the syllable character determined by each determination unit after the accent increase signal is input from the high speech waveform storage unit 23 described later. Extract high speech waveform corresponding to.

例えば、操作者が文字入力装置2Bによって、「さ」、「く」、「ら」の文字を入力する場合において、「さ」のかな文字キー2aを押す前にアクセント上昇キー2hを押すと、音声合成手段17は、「さ」、「く」、「ら」のそれぞれの音節文字に対応する高音声波形を高音声波形記憶手段23から抽出する。すなわち、「さ(高)」、「く(高)」、「ら(高)」という、全て高アクセントの音声が合成される。   For example, when the operator inputs the characters “sa”, “ku”, and “ra” with the character input device 2B, if the accent up key 2h is pressed before the character key 2a of “sa” is pressed, The speech synthesizer 17 extracts a high speech waveform corresponding to each syllable character of “sa”, “ku”, and “ra” from the high speech waveform storage unit 23. That is, high accent sounds such as “sa (high)”, “ku (high)”, and “ra (high)” are synthesized.

また、アクセント信号出力手段21は、文字入力装置2Bからアクセント区切りキー2iのキーコードが入力された場合は、アクセント区切り信号を生成し、これを音声合成手段17に出力する。ここで、アクセント区切り信号とは、音声合成手段17が合成する音声のアクセントを、例えばアクセント句ごとに区切るための信号である。すなわち、アクセント下降信号が音声合成手段17に入力された場合、音声合成手段17は、低音声記憶手段22から、当該アクセント区切り信号が入力された後に各判別手段によって判別された一文字目の音節文字に対応する低音声波形を抽出する。そして、高音声記憶手段23から、当該アクセント区切り信号が入力された後に各判別手段によって判別された二文字目以降の音節文字に対応する高音声波形を抽出する。   The accent signal output means 21 generates an accent delimiter signal when the key code of the accent delimiter key 2i is input from the character input device 2B, and outputs this to the speech synthesizer 17. Here, the accent delimiter signal is a signal for delimiting the accent of the speech synthesized by the speech synthesizer 17 for each accent phrase, for example. That is, when an accent descending signal is input to the speech synthesizer 17, the speech synthesizer 17 receives the first syllable character determined by each determining unit after the accent delimiter signal is input from the low speech storage unit 22. A low speech waveform corresponding to is extracted. Then, a high speech waveform corresponding to the second and subsequent syllable characters discriminated by each discriminating unit after the accent delimiter signal is input is extracted from the high speech storage unit 23.

例えば、操作者が文字入力装置2Bによって、「さ」、「く」、「ら」の文字を入力する場合において、「さ」のかな文字キー2aを押す前にアクセント区切りキー2iを押すと、音声合成手段17は、「さ」の音節文字に対応する低音声波形を低音声波形記憶手段22から抽出し、「く」、「ら」のそれぞれの音節文字に対応する高音声波形を高音声波形記憶手段23から抽出する。すなわち、「さ(低)」、「く(高)」、「ら(高)」という、低アクセントと高アクセントとが混合された音声が合成される。   For example, when the operator inputs the characters “sa”, “ku”, and “ra” using the character input device 2B, if the accent delimiter key 2i is pressed before pressing the “s” kana character key 2a, The voice synthesizing unit 17 extracts a low voice waveform corresponding to the syllable character “sa” from the low voice waveform storage unit 22, and outputs a high voice waveform corresponding to each syllable character “ku” and “ra” to the high voice. Extracted from the waveform storage means 23. That is, voices in which low accent and high accent are mixed, such as “sa (low)”, “ku (high)”, and “ra (high)” are synthesized.

低音声波形記憶手段22は、清音、撥音、濁音、半濁音、拗音および促音付き音節からなる各音節の低アクセントの音声波形を示す低音声波形を記憶するものである。低音声波形記憶手段22は、具体的には、データを記憶することができるメモリ、ハードディスク等で具現される。低音声波形記憶手段22は、図8に示すように、音声合成手段17に対して、清音、撥音、半濁音、拗音および促音付き音節のそれぞれの低音声波形を出力する。   The low speech waveform storage means 22 stores a low speech waveform indicating a low accent speech waveform of each syllable composed of clear sound, repellent sound, muddy sound, semi-turbid sound, stuttering, and syllable with prompt sound. Specifically, the low audio waveform storage means 22 is implemented by a memory, a hard disk, or the like that can store data. As shown in FIG. 8, the low speech waveform storage unit 22 outputs low speech waveforms of clean sound, sound repellent, semi-turbid sound, stuttering, and syllable with phonation to the speech synthesis unit 17.

高音声波形記憶手段23は、清音、撥音、濁音、半濁音、拗音および促音付き音節からなる各音節の高アクセントの音声波形を示す高音声波形を記憶するものである。高音声波形記憶手段23は、具体的には、データを記憶することができるメモリ、ハードディスク等で具現される。高音声波形記憶手段23は、図8に示すように、音声合成手段17に対して、清音、撥音、半濁音、拗音および促音付き音節のそれぞれの高音声波形を出力する。   The high speech waveform storage means 23 stores a high speech waveform indicating a high accent speech waveform of each syllable consisting of clear sound, repellent sound, muddy sound, semi-turbid sound, stuttering, and syllable with prompt sound. Specifically, the high speech waveform storage means 23 is implemented by a memory, a hard disk or the like that can store data. As shown in FIG. 8, the high speech waveform storage unit 23 outputs high speech waveforms of clean sound, repellent sound, semi-turbid sound, stuttering sound, and syllable with prompt sound to the speech synthesis unit 17.

このようなアクセント信号出力手段21、低音声波形記憶手段22および高音声波形記憶手段23を備える音声合成装置1Cでは、音声合成手段17は、各判別手段からの音節情報と、アクセント信号出力手段21からのアクセント下降信号、アクセント上昇信号またはアクセント区切り信号に従って、低音声波形記憶手段22または高音声波形記憶手段23から低音声波形または高音声波形を抽出する。また、音声合成手段17は、繰り返し信号出力手段18からの繰り返し開始信号に従って、繰り返し波形記憶手段19から前記した低音声波形または高音声波形に対応する繰り返し波形を抽出する。そして、音声合成手段17は、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、低音声波形または高音声波形の繰り返し区間で、繰り返し波形を繰り返し連結することで、音声を合成する。   In the speech synthesizer 1C including the accent signal output means 21, the low speech waveform storage means 22 and the high speech waveform storage means 23, the speech synthesizer 17 includes the syllable information from each determination means and the accent signal output means 21. A low speech waveform or a high speech waveform is extracted from the low speech waveform storage means 22 or the high speech waveform storage means 23 in accordance with the accent fall signal, accent rise signal or accent delimiter signal. Further, the speech synthesizer 17 extracts a repetitive waveform corresponding to the low speech waveform or the high speech waveform from the repetitive waveform storage unit 19 in accordance with the repetitive start signal from the repetitive signal output unit 18. Then, the speech synthesizer 17 synthesizes the speech by repeatedly connecting the repetitive waveforms in the repetitive sections of the low speech waveform or the high speech waveform until the repetitive end signal is input from the repetitive signal output unit 18.

なお、音声合成装置1Cでは、アクセント信号出力手段21から音声合成手段17に対して、アクセント下降信号、アクセント上昇信号またはアクセント区切り信号のいずれの信号も入力されなかった場合は、音声合成手段17は、一文字目は、低音声波形記憶手段22から、各判別手段が判別した音節文字に対応する低音声波形を抽出し、二文字目以降は、高音声波形記憶手段23から、各判別手段が判別した音節文字に対応する高音声波形を抽出する。このように、音声合成装置1Cでは、音声合成手段17が、各判別手段が判別した音節文字の数を図示しない計数手段によってカウントしている。また、音声合成装置1Cでは、前記したように、繰り返し波形記憶手段19が、低音声波形と高音声波形の両方の繰り返し波形を予め記憶している。   Note that in the speech synthesizer 1C, if any signal of the accent lowering signal, the accent rising signal or the accent delimiter signal is not input from the accent signal output unit 21 to the speech synthesizing unit 17, the speech synthesizing unit 17 For the first character, the low speech waveform corresponding to the syllable character determined by each determination means is extracted from the low speech waveform storage means 22, and after the second character, each determination means is determined from the high speech waveform storage means 23. A high speech waveform corresponding to the syllable character is extracted. As described above, in the speech synthesizer 1C, the speech synthesizer 17 counts the number of syllable characters determined by each determining unit by a counting unit (not shown). Moreover, in the speech synthesizer 1C, as described above, the repetitive waveform storage unit 19 stores in advance repetitive waveforms of both the low speech waveform and the high speech waveform.

以上のような構成を備える音声合成装置1Cは、アクセント信号出力手段21によって、文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iの入力状況を常時監視する。そして、音声合成装置1Cは、操作者によって文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iが押され、当該キーに対応するキーコードが入力されると、音声合成手段17によって、当該キーコードに従って低音声波形または高音声波形を抽出し、アクセントを加えた音声を逐次合成する。   The speech synthesizer 1C having the above configuration constantly monitors the input status of the accent lowering key 2g, accent increasing key 2h, or accent delimiter key 2i of the character input device 2B by the accent signal output means 21. When the operator presses the accent lowering key 2g, accent rising key 2h, or accent delimiter key 2i of the character input device 2B and the key code corresponding to the key is input, the voice synthesizing unit 1C 17 extracts a low speech waveform or a high speech waveform according to the key code, and sequentially synthesizes speech with accents.

従って、音声合成装置1Cによれば、操作者が文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iを押した場合、音節のアクセントを変えることができるため、音声合成のバリエーションをさらに増やすことができる。   Therefore, according to the speech synthesizer 1C, when the operator presses the accent lowering key 2g, accent rising key 2h or accent delimiter key 2i of the character input device 2B, the syllable accent can be changed. Variations can be further increased.

[音声合成装置1Cの動作]
以下、音声合成装置1Cの動作について、図10を参照しながら簡単に説明する。ここで、以下で説明する音声合成装置1Cの動作は、操作者が文字入力装置2Bのいずれかのキーを1回のみ押した場合における音声合成装置1C側の動作を示している。
[Operation of Speech Synthesizer 1C]
Hereinafter, the operation of the speech synthesizer 1C will be briefly described with reference to FIG. Here, the operation of the speech synthesizer 1C described below indicates the operation of the speech synthesizer 1C when the operator presses any key of the character input device 2B only once.

まず、アクセント信号出力手段21が、文字入力装置2Bから、アクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iのキーコードの入力があるか否かを監視するとともに、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15が、文字入力装置2Bから、かな文字キー2a、濁点キー2b、半濁点キー2c、ア行小文字キー2d、ヤ行小文字キー2eおよびタ行小文字キー2fのキーコードの入力があるか否かを監視する(ステップS21)。また、繰り返し信号出力手段18が、文字入力装置2Bから、メイクコードとブレイクコードの入力があるか否かを監視する(ステップS22)。   First, the accent signal output means 21 monitors whether or not the key code of the accent lowering key 2g, the accent raising key 2h or the accent delimiter key 2i is input from the character input device 2B, and the clear sound and sound repelling judgment means 11, The muddy sound discriminating means 12, the semi-turbid sound discriminating means 13, the stuttering sound discriminating means 14 and the syllable discriminating means 15 with the prompt sound are sent from the character input device 2B to the kana character key 2a, the dakuten key 2b, the semi-dakuten key 2c, It is monitored whether or not there is an input of the key codes of the YA row lower case key 2e and the TA row lower case key 2f (step S21). Further, the repeat signal output means 18 monitors whether or not a make code and a break code are input from the character input device 2B (step S22).

次に、文字入力装置2Bから、アクセント信号出力手段21に対して、操作者が押したアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iのキーコードが入力されると、アクセント信号出力手段21が、アクセント下降信号、アクセント上昇信号またはアクセント区切り信号を生成してこれを音声合成手段17に出力する(ステップS23)。   Next, when the key code of the accent lowering key 2g, the accent increasing key 2h or the accent delimiter key 2i pressed by the operator is input from the character input device 2B to the accent signal output means 21, the accent signal output means 21 generates an accent drop signal, an accent rise signal, or an accent delimiter signal and outputs it to the speech synthesizer 17 (step S23).

次に、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14および促音付き音節判別手段15のそれぞれに対して、操作者が押したキーに対応するキーコードが入力されると、各判別手段が、入力されたキーコードが清音文字、撥音文字、濁音文字、半濁音文字、拗音文字または促音付き音節文字のいずれの音節文字に対応するものであるかを判別する(ステップS24)。   Next, a key code corresponding to the key pressed by the operator is input to each of the clear sound repellent determination means 11, the muddy sound determination means 12, the semi-turbid sound determination means 13, the stuttering sound determination means 14, and the syllable determination syllable determination means 15. Then, each discrimination means discriminates whether the input key code corresponds to a syllable character of a clear sound character, a sound-repellent character, a cloudy character, a semi-voiced character, a stuttering character, or a syllable character with a prompt sound. (Step S24).

また、文字入力装置2Bから、繰り返し信号出力手段18に対して、操作者がキーを押したことを示すメイクコードが入力されると(ステップS25においてYes)、当該繰り返し信号出力手段18が、繰り返し開始信号を生成して音声合成手段17に出力する(ステップS26)。一方、文字入力装置2Bから、繰り返し信号出力手段18に対して、前記したメイクコードが入力されない場合は、ステップS22に戻って監視を継続する。   When a make code indicating that the operator has pressed a key is input from the character input device 2B to the repeat signal output means 18 (Yes in step S25), the repeat signal output means 18 repeats. A start signal is generated and output to the speech synthesizer 17 (step S26). On the other hand, if the above-described make code is not input from the character input device 2B to the repetitive signal output means 18, the process returns to step S22 and monitoring is continued.

次に、音声合成手段17が、低音声波形記憶手段22または高音声波形記憶手段23から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14または促音付き音節判別手段15からなる各判別手段によって判別された音節文字に対応する低音声波形または高音声波形を抽出する(ステップS27)。また、音声合成手段17が、繰り返し波形記憶手段19から、清音撥音判別手段11、濁音判別手段12、半濁音判別手段13、拗音判別手段14または促音付き音節判別手段15からなる各判別手段によって判別された音節文字に対応する低音声波形または高音声波形の繰り返し波形を抽出する(ステップS28)。   Next, the speech synthesizer 17 receives the clear sound repellent discrimination means 11, the muddy sound discrimination means 12, the semi-turbid sound discrimination means 13, the stuttering sound discrimination means 14, or the syllable discrimination with prompt sound from the low voice waveform storage means 22 or the high voice waveform storage means 23. A low speech waveform or a high speech waveform corresponding to the syllable character discriminated by each discriminating means comprising means 15 is extracted (step S27). Further, the speech synthesizer 17 is discriminated from the repetitive waveform storage unit 19 by each discriminating unit consisting of the clear sound repellent discriminating unit 11, the muddy sound discriminating unit 12, the semi-turbid sound discriminating unit 13, the stuttering sound discriminating unit 14, or the syllable discriminating unit 15 with prompt sound. A repeated waveform of a low speech waveform or a high speech waveform corresponding to the syllable character is extracted (step S28).

次に、音声合成手段17が、低音声波形または高音声波形の繰り返し区間で、繰り返し波形を繰り返し連結する(ステップS29)。次に、文字入力装置2Bから、繰り返し信号出力手段18に対して、操作者がキーを離したことを示すブレイクコードが入力されると(ステップS30においてYes)、当該繰り返し信号出力手段18が、繰り返し終了信号を生成して音声合成手段17に出力する(ステップS31)。一方、文字入力装置2Bから、繰り返し信号出力手段18に対して、前記したブレイクコードが入力されない場合は、ステップS29に戻って監視を継続する(ステップS30においてNo)。次に、音声合成手段17が、繰り返し波形の連結を終了し、合成した音声を音声出力装置3に出力する(ステップS32)。   Next, the speech synthesizer 17 repeatedly connects the repetitive waveforms in the repetitive section of the low speech waveform or the high speech waveform (step S29). Next, when a break code indicating that the operator has released the key is input from the character input device 2B to the repetitive signal output means 18 (Yes in step S30), the repetitive signal output means 18 A repeat end signal is generated and output to the speech synthesizer 17 (step S31). On the other hand, if the break code is not input from the character input device 2B to the repetitive signal output means 18, the process returns to step S29 and continues monitoring (No in step S30). Next, the speech synthesizer 17 ends the repetitive waveform connection and outputs the synthesized speech to the speech output device 3 (step S32).

[音声合成装置1Cを用いた音声合成の具体例]
以下、音声合成装置1Cを用いた音声合成の具体例について、簡単に説明する。以下の例では、音声合成装置1Cを用いて、「い(低)ら(高)しゃ(高)い(低)」というアクセントの音声を合成する場合について、説明する。
[Specific example of speech synthesis using speech synthesizer 1C]
Hereinafter, a specific example of speech synthesis using the speech synthesizer 1C will be briefly described. In the following example, a case where the speech synthesizer 1C is used to synthesize an accent voice of “I (low), (high), (high), (low)” will be described.

この場合、まず操作者が、文字入力装置2Bの「い」のかな文字キー2a(図9参照)を押す。すると、文字入力装置2Bが、各判別手段に対して、「い」のかな文字キー2aのキーコードを出力するとともに、繰り返し信号出力手段18に対して、メイクコードを出力する。次に、清音撥音判別手段11が、当該キーコードが清音文字の「い」であることを判別し、これを音節情報として音声合成手段17に出力する。また、繰り返し信号出力手段18が、メイクコードに従って、繰り返し開始信号を生成し、これを音声合成手段17に出力する。   In this case, the operator first presses the “I” kana character key 2a (see FIG. 9) of the character input device 2B. Then, the character input device 2 </ b> B outputs the key code of the “I” kana character key 2 a to each determination unit and also outputs the make code to the repetitive signal output unit 18. Next, the clean sound repellent determination means 11 determines that the key code is “i” of the clear sound character, and outputs this to the speech synthesis means 17 as syllable information. The repeat signal output means 18 generates a repeat start signal according to the make code and outputs it to the speech synthesizer 17.

次に、音声合成手段17が、当該音節情報に従って、低音声波形記憶手段22から「い」の低音声波形を抽出し、かつ、繰り返し開始信号に従って、繰り返し波形記憶手段19から「い」の低音声波形の繰り返し波形を抽出する。そして、音声合成手段17が、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、「い」の低音声波形の繰り返し区間で、前記した繰り返し波形を連結する。   Next, the voice synthesizing unit 17 extracts the low voice waveform of “I” from the low voice waveform storage unit 22 according to the syllable information, and the low level of “I” from the repeated waveform storage unit 19 according to the repetition start signal. Extract repeated waveforms of speech waveform. Then, the speech synthesizer 17 connects the repetitive waveforms described above in the repetitive section of the low speech waveform “I” until the repetitive end signal is input from the repetitive signal output unit 18.

次に、操作者が、文字入力装置2Bの「っ」のタ行小文字キー2fと「ら」のかな文字キー2aを同時に押す。すると、文字入力装置2Bが、各判別手段に対して、「っ」のタ行小文字キー2fのキーコードと「ら」のかな文字キー2aのキーコードとをそれぞれ出力するとともに、繰り返し信号出力手段18に対して、メイクコードを出力する。次に、促音付き音節判別手段15が、当該キーコードが促音付き清音文字の「らっ」であることを判別し、これを音節情報として音声合成手段17に出力する。また、繰り返し信号出力手段18が、メイクコードに従って、繰り返し開始信号を生成し、これを音声合成手段17に出力する。   Next, the operator simultaneously presses the “t” row lowercase key 2f and the “ra” kana character key 2a of the character input device 2B. Then, the character input device 2B outputs the key code of the “t” row lowercase key 2f and the key code of the “ra” kana character key 2a to each discriminating means, and the repeated signal output means. For 18, the make code is output. Next, the syllable-with-sound syllable determination unit 15 determines that the key code is “Raku” as a clear sound character with a prompt sound, and outputs this to the speech synthesis unit 17 as syllable information. The repeat signal output means 18 generates a repeat start signal according to the make code and outputs it to the speech synthesizer 17.

次に、音声合成手段17が、当該音節情報に従って、高音声波形記憶手段23から「らっ」の高音声波形を抽出し、かつ、繰り返し開始信号に従って、繰り返し波形記憶手段19から「らっ」の高音声波形の繰り返し波形を抽出する。そして、音声合成手段17が、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、「らっ」の高音声波形の繰り返し区間で、前記した繰り返し波形を連結する。   Next, the speech synthesizer 17 extracts the high speech waveform of “Raku” from the high speech waveform storage device 23 according to the syllable information, and “Rak” from the repeated waveform storage device 19 according to the repetition start signal. Extract repeated waveform of high voice waveform. Then, the speech synthesizer 17 connects the repetitive waveforms described above in the repetitive section of “Raku” high speech waveform until the repetitive end signal is input from the repetitive signal output unit 18.

次に、操作者が、文字入力装置2Bの「ゃ」のヤ行小文字キー2eと「し」のかな文字キー2aを同時に押す。すると、文字入力装置2Bが、各判別手段に対して、「ゃ」のヤ行小文字キー2eのキーコードと「し」のかな文字キー2aのキーコードとをそれぞれ出力するとともに、繰り返し信号出力手段18に対して、メイクコードを出力する。次に、拗音判別手段14が、当該キーコードが拗音文字の「しゃ」であることを判別し、これを音節情報として音声合成手段17に出力する。また、繰り返し信号出力手段18が、メイクコードに従って、繰り返し開始信号を生成し、これを音声合成手段17に出力する。   Next, the operator simultaneously presses the YA row lower case key 2e and the “K” character key 2a of “YA” of the character input device 2B. Then, the character input device 2B outputs the key code of the character key 2e and the key code of the character key 2a of "Shi" to each discrimination means, and the repeated signal output means. For 18, the make code is output. Next, the stuttering discrimination means 14 discriminates that the key code is a stuttering character “sha” and outputs it to the speech synthesis means 17 as syllable information. The repeat signal output means 18 generates a repeat start signal according to the make code and outputs it to the speech synthesizer 17.

次に、音声合成手段17が、当該音節情報に従って、高音声波形記憶手段23から「しゃ」の高音声波形を抽出し、かつ、繰り返し開始信号に従って、繰り返し波形記憶手段19から「しゃ」の高音声波形の繰り返し波形を抽出する。そして、音声合成手段17が、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、「しゃ」の高音声波形の繰り返し区間で、前記した繰り返し波形を連結する。   Next, the voice synthesizing means 17 extracts the high voice waveform of “sha” from the high voice waveform storage means 23 according to the syllable information, and the high value of “sha” from the repeated waveform storage means 19 according to the repetition start signal. Extract repeated waveforms of speech waveform. Then, the speech synthesizer 17 connects the repetitive waveforms described above in the repetitive section of the high speech waveform of “sha” until the repetitive end signal is input from the repetitive signal output unit 18.

次に、操作者が、文字入力装置2Bのアクセント下降キー2gを押す。すると、アクセント信号出力手段21が、アクセント下降信号を音声合成手段17に出力する。   Next, the operator presses the accent lowering key 2g of the character input device 2B. Then, the accent signal output means 21 outputs an accent lowering signal to the speech synthesis means 17.

次に、操作者が、文字入力装置2Bの「い」のかな文字キー2aを押す。すると、文字入力装置2Bが、各判別手段に対して、「い」のかな文字キー2aのキーコードを出力するとともに、繰り返し信号出力手段18に対して、メイクコードを出力する。次に、清音撥音判別手段11が、当該キーコードが清音文字の「い」であることを判別し、これを音節情報として音声合成手段17に出力する。また、繰り返し信号出力手段18が、メイクコードに従って、繰り返し開始信号を生成し、これを音声合成手段17に出力する。   Next, the operator presses the character key 2a of “I” on the character input device 2B. Then, the character input device 2 </ b> B outputs the key code of the “I” kana character key 2 a to each determination unit and also outputs the make code to the repetitive signal output unit 18. Next, the clean sound repellent determination means 11 determines that the key code is “i” of the clear sound character, and outputs this to the speech synthesis means 17 as syllable information. The repeat signal output means 18 generates a repeat start signal according to the make code and outputs it to the speech synthesizer 17.

次に、音声合成手段17が、当該音節情報および前記したアクセント下降信号に従って、低音声波形記憶手段22から「い」の低音声波形を抽出し、かつ、繰り返し開始信号に従って、繰り返し波形記憶手段19から「い」の低音声波形の繰り返し波形を抽出する。そして、音声合成手段17が、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、「い」の低音声波形の繰り返し区間で、前記した繰り返し波形を連結する。   Next, the speech synthesizer 17 extracts the low voice waveform of “I” from the low voice waveform storage unit 22 according to the syllable information and the accent lowering signal, and the repeated waveform storage unit 19 according to the repetition start signal. To extract a repeated waveform of the low voice waveform of “I”. Then, the speech synthesizer 17 connects the repetitive waveforms described above in the repetitive section of the low speech waveform “I” until the repetitive end signal is input from the repetitive signal output unit 18.

以上のように、音声合成装置1Cは、操作者が文字入力装置2Bのキー(図9参照)を、「い」、「っ」+「ら」、「ゃ」+「し」、アクセント下降キー2g、「い」、の順番で押すことにより、「い(低)ら(高)しゃ(高)い(低)」というアクセントの音声を適切に合成することができる。なお、音声合成装置1Cによって、例えば「い(高)ら(低)しゃ(低)い(低)」というアクセントの音声を合成した場合は、操作者は、文字入力装置2Bのキー(図9参照)を、アクセント上昇キー2h、「い」、アクセント下降キー2g、「っ」+「ら」、「ゃ」+「し」、「い」、の順番で押せばよい。   As described above, in the speech synthesizer 1C, the operator uses the keys of the character input device 2B (see FIG. 9) as “I”, “tsu” + “ra”, “nya” + “shi”, and the accent lowering key. By pressing in the order of 2 g and “I”, it is possible to appropriately synthesize an accented voice of “I (low), (high), (high), (low)”. Note that when the speech synthesizer 1C synthesizes speech with an accent such as “I (high), (low), (low), low (low)”, the operator uses the keys of the character input device 2B (FIG. 9). Reference) may be pressed in the order of the accent up key 2h, “i”, accent down key 2g, “tsu” + “ra”, “nya” + “shi”, “i”.

[第5実施形態]
以下、第5実施形態に係る音声合成装置1Dについて、図11を参照しながら詳細に説明する。第5実施形態に係る音声合成装置1Dは、繰り返し波形記憶手段19の代わりに、図7に示す繰り返し波形生成手段20を備えること以外は、前記した第4実施形態に係る音声合成装置1Cと同様の構成を備えている。従って、前記した音声合成装置1Cと重複する構成については、同じ符号を付して説明を省略する。また、音声合成装置1Dの動作についても、説明を省略する。
[Fifth Embodiment]
Hereinafter, a speech synthesizer 1D according to the fifth embodiment will be described in detail with reference to FIG. The speech synthesizer 1D according to the fifth embodiment is the same as the speech synthesizer 1C according to the fourth embodiment described above except that it includes the repetitive waveform generation means 20 shown in FIG. It has the composition of. Therefore, about the structure which overlaps with above-described speech synthesis apparatus 1C, the same code | symbol is attached | subjected and description is abbreviate | omitted. The description of the operation of the speech synthesizer 1D is also omitted.

繰り返し波形生成手段20は、低音声波形記憶手段22に記憶された低音声波形または、高音声波形記憶手段23に記憶された高音声波形から、低音声波形の繰り返し波形または、高音声波形の繰り返し波形を生成するものである。例えば、図5(a)における「か」の母音の「a」に相当する部分の波形(70msec)に対して、ピッチマークが付与できた基本周期単位の前後の波形をそれぞれ比較し、相関が最も高い部分を繰り返し波形として抽出する。このように、相関が最も高い部分、すなわち安定した波形を繰り返し波形として用いることで、音声出力装置3において安定した出力が可能となる。   The repetitive waveform generating unit 20 repeats a low speech waveform or a high speech waveform from a low speech waveform stored in the low speech waveform storage unit 22 or a high speech waveform stored in the high speech waveform storage unit 23. A waveform is generated. For example, the waveform (70 msec) corresponding to “a” of the vowel “ka” in FIG. 5A is compared with the waveforms before and after the basic period unit in which the pitch mark can be added, and the correlation is obtained. The highest part is extracted as a repeated waveform. In this way, by using a portion having the highest correlation, that is, a stable waveform as a repetitive waveform, the audio output device 3 can output stably.

繰り返し波形生成手段20には、図11に示すように、音声合成手段17から、繰り返し波形を生成する旨の指示である繰り返し波形生成指示が入力されるとともに、低音声波形記憶手段22または高音声波形記憶手段23から、低音声波形または高音声波形が入力される。そして、繰り返し波形生成手段20は、前記した手法によって低音声波形または高音声波形の繰り返し波形を生成し、これを音声合成手段17に出力する。   As shown in FIG. 11, the repetitive waveform generation means 20 receives a repetitive waveform generation instruction, which is an instruction to generate a repetitive waveform, from the speech synthesizer 17, and the low sound waveform storage means 22 or high sound. A low speech waveform or a high speech waveform is input from the waveform storage means 23. Then, the repetitive waveform generation means 20 generates a low speech waveform or a high speech waveform repetitive waveform by the method described above, and outputs this to the speech synthesis means 17.

このような繰り返し波形生成手段20を備える音声合成装置1Dでは、音声合成手段17は、各判別手段からの音節情報に従って、低音声波形記憶手段22または高音声波形記憶手段23から、低音声波形または高音声波形を抽出し、かつ、繰り返し信号出力手段18からの繰り返し開始信号に従って、繰り返し波形生成手段20に対して、前記した低音声波形または高音声波形に対応する繰り返し波形を指示する旨の指示である繰り返し波形生成指示を出力する。そして、音声合成手段17は、繰り返し波形生成手段20から低音声波形または高音声波形の繰り返し波形を受け取り、繰り返し信号出力手段18から繰り返し終了信号が入力されるまで、低音声波形または高音声波形の繰り返し区間で、低音声波形または高音声波形の繰り返し波形を繰り返し連結することで、音声を合成する。   In the speech synthesizer 1D provided with such a repetitive waveform generating means 20, the speech synthesizer 17 receives the low speech waveform or the low speech waveform from the low speech waveform storage means 22 or the high speech waveform storage means 23 according to the syllable information from each discrimination means. An instruction to extract a high speech waveform and to instruct the repetitive waveform generation unit 20 to indicate the low speech waveform or the repetitive waveform corresponding to the high speech waveform in accordance with the repetitive start signal from the repetitive signal output unit 18 A repetitive waveform generation instruction is output. The speech synthesizer 17 receives the low speech waveform or the high speech waveform repetitive waveform from the repetitive waveform generator 20, and the low speech waveform or high speech waveform until the repetitive end signal is input from the repetitive signal output unit 18. A speech is synthesized by repeatedly connecting a low speech waveform or a high speech waveform in a repetitive section.

以上のような構成を備える音声合成装置1Dは、繰り返し信号出力手段18によって、文字入力装置2Bからのメイクコードおよびブレイクコードの入力を常時監視することで、操作者が文字入力装置2Bのいずれかのキーを押している状態であるか、あるいは離している状態であるか、を認識する。また同時に、音声合成装置1Dは、アクセント信号出力手段21によって、文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iの入力状況を常時監視する。   The speech synthesizer 1D having the above configuration constantly monitors the input of the make code and break code from the character input device 2B by the repetitive signal output means 18, so that the operator can select either of the character input devices 2B. It is recognized whether the key is pressed or released. At the same time, the speech synthesizer 1D constantly monitors the input status of the accent lowering key 2g, accent increasing key 2h or accent delimiter key 2i of the character input device 2B by the accent signal output means 21.

そして、音声合成装置1Dは、操作者によって文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iが押され、当該キーに対応するキーコードが入力されると、音声合成手段17によって、当該キーコードに従って低音声波形または高音声波形を抽出する。また同時に、音声合成装置1Dは、操作者によって文字入力装置2Bのいずれかのキーが押されてから(メイクコードが入力されてから)、当該いずれかのキーが離されるまで(ブレイクコードが入力されるまで)、音声合成手段17によって、低音声波形または高音声波形の繰り返し区間で、低音声波形または高音声波形の繰り返し波形を繰り返し連結する。このようにして、音声合成装置1Dは、操作者が文字入力装置2Bのキーを押している間だけ、長音化させるとともに、アクセントを加えた音声を逐次合成する。   When the operator presses the accent lowering key 2g, the accent rising key 2h, or the accent delimiter key 2i of the character input device 2B and the key code corresponding to the key is input, the voice synthesizing unit 1D 17 extracts a low voice waveform or a high voice waveform according to the key code. At the same time, the speech synthesizer 1D is configured so that any one of the keys of the character input device 2B is pressed by the operator (after the make code is input) until any one of the keys is released (the break code is input). Until it is done, the speech synthesis means 17 repeatedly connects the low speech waveform or the high speech waveform repetitive waveform in the repetitive section of the low speech waveform or the high speech waveform. In this way, the speech synthesizer 1D synthesizes the accented speech sequentially while making the sound longer only while the operator is pressing the key of the character input device 2B.

従って、音声合成装置1Dによれば、操作者が文字入力装置2Bのアクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iを押した場合、音節のアクセントを変えることができるとともに、操作者が文字入力装置2Bのいずれかのキーを継続して押している場合、当該キーに対応する音節を長音化させて合成することができるため、音声合成のバリエーションを増やすことができる。   Therefore, according to the speech synthesizer 1D, when the operator presses the accent lowering key 2g, the accent increasing key 2h or the accent delimiter key 2i of the character input device 2B, the syllable accent can be changed and the operator can When one of the keys of the character input device 2B is continuously pressed, the syllable corresponding to the key can be synthesized with a longer sound, so that variations in speech synthesis can be increased.

以上、本発明に係る音声合成装置および音声合成プログラムについて、発明を実施するための形態により具体的に説明したが、本発明の趣旨はこれらの記載に限定されるものではなく、特許請求の範囲の記載に基づいて広く解釈されなければならない。また、これらの記載に基づいて種々変更、改変等したものも本発明の趣旨に含まれることはいうまでもない。   The speech synthesizer and the speech synthesizer program according to the present invention have been specifically described above by the embodiments for carrying out the invention. However, the gist of the present invention is not limited to these descriptions, and the scope of the claims Should be interpreted broadly based on the description. Needless to say, various changes and modifications based on these descriptions are also included in the spirit of the present invention.

例えば、前記した音声合成装置1,1A,1B,1C,1Dでは、操作者によって、文字入力装置2,2A,2Bのかな文字キー2aと、濁音キー2b、半濁音キー2c、ア行小文字キー2d、ヤ行小文字キー2eまたはタ行小文字キー2fと、が同時に押された場合に音声を合成する構成としているが、かな文字キー2aの前に、濁音キー2b、半濁音キー2c、ア行小文字キー2d、ヤ行小文字キー2eまたはタ行小文字キー2fが押された場合に音声を合成する構成としてもよい。   For example, in the above-described speech synthesizer 1, 1A, 1B, 1C, 1D, the operator uses the kana character key 2a of the character input devices 2, 2A, 2B, the muddy sound key 2b, the semi-sound sound key 2c, and the lower-case key. 2d, YA row lowercase key 2e, or TA row lowercase key 2f are combined to synthesize a voice, but before kana character key 2a, muddy sound key 2b, semi-turbid sound key 2c, a line A configuration may be adopted in which speech is synthesized when the lowercase key 2d, the lowercase key 2e, or the lowercase key 2f is pressed.

また、前記した音声合成装置1,1A,1B,1C,1Dでは、操作者によって、文字入力装置2,2A,2Bのかな文字キー2a、濁音キー2b、半濁音キー2c、ア行小文字キー2d、ヤ行小文字キー2eまたはタ行小文字キー2fの前に、アクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iが押された場合にアクセントを加えた音声を合成する構成としているが、かな文字キー2a、濁音キー2b、半濁音キー2c、ア行小文字キー2d、ヤ行小文字キー2eまたはタ行小文字キー2fと、アクセント下降キー2g、アクセント上昇キー2hまたはアクセント区切りキー2iと、が同時に押された場合にアクセントを加えた音声を合成する構成としてもよい。   Further, in the speech synthesizer 1, 1A, 1B, 1C, 1D, the operator uses the kana character key 2a, the muddy sound key 2b, the semi-sound key 2c, and the lowercase letter key 2d of the character input devices 2, 2A, 2B. , The accented voice is synthesized when the accent lowering key 2g, the accent raising key 2h, or the accent delimiter key 2i is pressed before the YA row lowercase key 2e or the TA row lowercase key 2f. The character key 2a, the muddy sound key 2b, the semi-voiced sound key 2c, the a-line lower-case key 2d, the ya-line lower-case key 2e or the t-line lower-case key 2f, the accent-decreasing key 2g, the accent-rising key 2h, or the accent-separating key 2i It is good also as a structure which synthesize | combines the audio | voice which added the accent, when pressed.

1,1A,1B,1C,1D 音声合成装置
2,2A,2B 文字入力装置
2a かな文字キー
2b 濁点キー
2c 半濁点キー
2d ア行小文字キー
2e ヤ行小文字キー
2f タ行小文字キー
2g アクセント下降キー
2h アクセント上昇キー
2i アクセント区切りキー
3 音声出力装置
11 清音撥音判別手段
12 濁音判別手段
13 半濁音判別手段
14 拗音判別手段
15 促音付き音節判別手段
16 音声波形記憶手段
17 音声合成手段
18 繰り返し信号出力手段
19 繰り返し波形記憶手段
20 繰り返し波形生成手段
21 アクセント信号出力手段
22 低音声波形記憶手段
23 高音声波形記憶手段
1, 1A, 1B, 1C, 1D Speech synthesizer 2, 2A, 2B Character input device 2a Kana character key 2b Cloud point key 2c Half cloud point key 2d A line lower case key 2e Ya line lower case key 2f Ta line lower case key 2g 2h Accent rise key 2i Accent break key 3 Voice output device 11 Clear sound repellent discrimination means 12 Muddy sound discrimination means 13 Semi-turbid sound discrimination means 14 Stuttering sound discrimination means 15 Stimulus syllable discrimination means 16 Speech waveform storage means 17 Speech synthesis means 18 Repeat signal output means 19 Repetitive waveform storage means 20 Repetitive waveform generation means 21 Accent signal output means 22 Low speech waveform storage means 23 High speech waveform storage means

Claims (2)

かな文字キー、濁点キー、半濁点キー、ア行小文字キー、ヤ行小文字キーおよびタ行小文字キーからなる各文字キーを備える文字入力装置の入力内容に対応した音声を合成する音声合成装置であって、
前記かな文字キーが押下されている状態を検出することで、前記かな文字キーのキーコードで特定される清音文字または撥音文字を判別する清音撥音判別手段と、
前記かな文字キーおよび前記濁点キーが同時に押下されている状態を検出することで、前記かな文字キーおよび前記濁点キーのキーコードで特定される濁音文字を判別する濁音判別手段と、
前記かな文字キーおよび前記半濁点キーが同時に押下されている状態を検出することで、前記かな文字キーおよび前記半濁点キーのキーコードで特定される半濁音文字を判別する半濁音判別手段と、
前記かな文字キーおよび前記ア行小文字キーが同時に押下されている状態、または、前記かな文字キーおよび前記ヤ行小文字キーが同時に押下されている状態を検出することで、前記かな文字キーおよび前記ア行小文字キーのキーコード、または、前記かな文字キーおよび前記ヤ行小文字キーのキーコードで特定される拗音文字を判別する拗音判別手段と、
前記かな文字キーおよび前記タ行小文字キーが同時に押下されている状態を検出することで、前記かな文字キーおよび前記タ行小文字キーのキーコードで特定される促音付き音節文字を判別する促音付き音節判別手段と、
、撥、濁、半濁音、拗音および促音付き音節からなる各音節の音声波形を記憶する音声波形記憶手段と、
前記音声波形記憶手段から、前記清音撥音判別手段、前記濁音判別手段、前記半濁音判別手段、前記拗音判別手段および前記促音付き音節判別手段からなる各判別手段によって判別された前記清音文字、前記撥音文字、前記濁音文字、前記半濁音文字、前記拗音文字および前記促音付き音節文字からなる各音節文字に対応する前記音声波形を抽出することで音声を合成する音声合成手段と、備え
前記文字入力装置から、前記キーコードの他に、それぞれのキーが押されたことを示すメイクコードと、それぞれのキーが離されたことを示すブレイクコードと、が入力される場合において、
前記文字入力装置から、前記メイクコードおよび前記ブレイクコードが入力されたか否かを監視するとともに、前記メイクコードが入力された場合は、繰り返し開始信号を生成して前記音声合成手段に出力し、前記ブレイクコードが入力された場合は、繰り返し終了信号を生成して前記音声合成手段に出力する繰り返し信号出力手段と、
前記各音節の音声波形のうち、母音に相当する区間における一定周期分の波形を示す繰り返し波形を記憶する繰り返し波形記憶手段と、を備え、
前記音声合成手段は、前記音声波形記憶手段から、前記各音節文字に対応する前記音声波形を抽出し、かつ、前記繰り返し信号出力手段から前記繰り返し開始信号が入力された場合は、前記繰り返し波形記憶手段から、前記各音節文字に対応する前記繰り返し波形を抽出し、前記繰り返し信号出力手段から前記繰り返し終了信号が入力されるまで、前記音声波形の繰り返し区間で前記繰り返し波形を繰り返し連結することで音声を合成するとともに、
前記文字入力装置がアクセント下降キーと、アクセント上昇キーと、アクセント区切りキーと、をさらに備える場合において、
前記文字入力装置から、前記各文字キーのキーコードの前に、前記アクセント下降キーのキーコード、前記アクセント上昇キーのキーコードまたは前記アクセント区切りキーのキーコードが入力されたか否かを監視するとともに、前記アクセント下降キーのキーコードが入力された場合は、アクセント下降信号を生成して前記音声合成手段に出力し、前記アクセント上昇キーのキーコードが入力された場合は、アクセント上昇信号を生成して前記音声合成手段に出力し、前記アクセント区切りキーのキーコードが入力された場合は、アクセント区切り信号を生成して前記音声合成手段に出力するアクセント信号出力手段を備え、
前記音声波形記憶手段は、
前記各音節の低アクセントの音声波形を示す低音声波形を記憶する低音声波形記憶手段と、
前記各音節の高アクセントの音声波形を示す高音声波形を記憶する高音声波形記憶手段と、からなり、
前記音声合成手段は、
前記アクセント信号出力手段から前記アクセント下降信号が入力された場合は、前記低音声波形記憶手段から、当該アクセント下降信号が入力された後に前記各判別手段によって判別された前記各音節文字に対応する前記低音声波形を抽出することで音声を合成し、
前記アクセント信号出力手段から前記アクセント上昇信号が入力された場合は、前記高音声波形記憶手段から、当該アクセント上昇信号が入力された後に前記各判別手段によって判別された前記各音節文字に対応する前記高音声波形を抽出することで音声を合成し、
前記アクセント信号出力手段から前記アクセント区切り信号が入力された場合は、前記低音声波形記憶手段から、当該アクセント区切り信号が入力された後に前記各判別手段によって判別された一文字目の前記各音節文字に対応する前記低音声波形を抽出し、前記高音声波形記憶手段から、当該アクセント区切り信号が入力された後に前記各判別手段によって判別された二文字目以降の前記各音節文字に対応する前記高音声波形を抽出することで音声を合成することを特徴とする音声合成装置。
This is a speech synthesizer that synthesizes speech corresponding to the input contents of a character input device having character keys consisting of a kana character key, a cloud point key, a semi-cloud point key, a line lowercase key, a line lowercase key, and a line lowercase key. And
By detecting a state in which the kana character key is pressed, a sound and sound recognizing means for determining a sound character or a sound repellent character specified by a key code of the kana character key;
A muddy sound discriminating means for determining a muddy character identified by a key code of the kana character key and the dakuten key by detecting a state in which the kana character key and the dakuten key are simultaneously pressed;
A semi-turbid sound discriminating means for discriminating a semi-turbid character identified by a key code of the kana character key and the semi-turbid point key by detecting a state in which the kana character key and the semi-turbid point key are simultaneously pressed;
By detecting the state in which the kana character key and the lowercase letter key are simultaneously pressed, or the state in which the kana character key and the lowercase key are simultaneously pressed, the kana character key and the arrow key are detected. A stuttering discriminating means for discriminating a stuttering character specified by a key code of a row lowercase key or the key code of the kana character key and the yaw lowercase key;
A syllable with a timbre that discriminates a syllable character with a timbre identified by the key code of the kana character key and the lowercase letter key by detecting a state in which the kana letter key and the lowercase letter key are simultaneously pressed. Discrimination means;
Kiyoshi sound, repellent sound, turbid sound, semi-dull sound, sound waveform storage means for storing voice waveform of each syllable consisting screw sound and prompting audio-syllable,
From the speech waveform storage means, the clear sound repellent discrimination means, the muddy sound discrimination means, the semi-turbid sound discrimination means, the stuttering sound discrimination means, and the singing syllable discrimination means, the clear sound characters and the sound repellent includes characters, the voiced character, the semi-voiced character, and a speech synthesis means for synthesizing speech by extracting the voice waveform corresponding to each syllable character consisting of the contracted sound character and the double consonant with syllabary,
In addition to the key code, a make code indicating that each key has been pressed and a break code indicating that each key has been released are input from the character input device.
Whether or not the make code and the break code are input from the character input device is monitored, and when the make code is input, a repeat start signal is generated and output to the speech synthesizer, When a break code is input, a repetition signal output unit that generates a repetition end signal and outputs the signal to the speech synthesis unit;
Repetitive waveform storage means for storing a repetitive waveform indicating a waveform of a certain period in a section corresponding to a vowel among speech waveforms of each syllable,
The speech synthesis means extracts the speech waveform corresponding to each syllable character from the speech waveform storage means, and when the repetition start signal is input from the repetition signal output means, the repetition waveform storage The repetitive waveform corresponding to each syllable character is extracted from the means, and the repetitive waveform is repeatedly connected in the repetitive section of the speech waveform until the repetitive end signal is input from the repetitive signal output means. As well as
In the case where the character input device further includes an accent lowering key, an accent increasing key, and an accent delimiter key,
Whether or not the key code of the accent lowering key, the key code of the accent rising key or the key code of the accent delimiter key is input from the character input device before the key code of each character key; When the key code of the accent descending key is input, an accent descending signal is generated and output to the speech synthesizer, and when the key code of the accent increasing key is input, an accent increasing signal is generated. Output to the speech synthesizer, and when the key code of the accent separator key is input, the system includes an accent signal output unit that generates an accent separator signal and outputs it to the speech synthesizer.
The voice waveform storage means includes
Low speech waveform storage means for storing a low speech waveform indicating a low accent speech waveform of each syllable;
A high voice waveform storage means for storing a high voice waveform indicating a high accent voice waveform of each syllable;
The speech synthesis means
When the accent lowering signal is input from the accent signal output means, the syllable characters corresponding to the syllable characters determined by the determining means after the accent lowering signal is input from the low speech waveform storage means. Synthesize speech by extracting low speech waveform,
When the accent increase signal is input from the accent signal output means, the syllable characters corresponding to the syllable characters determined by the determination means after the accent increase signal is input from the high speech waveform storage means. Synthesize speech by extracting high speech waveform,
When the accent separation signal is input from the accent signal output means, the first syllable character determined by the determination means after the accent separation signal is input from the low speech waveform storage means The corresponding low speech waveform is extracted, and the high speech corresponding to the second and subsequent syllable characters determined by the determination means after the accent delimiter signal is input from the high speech waveform storage means A speech synthesizer characterized by synthesizing speech by extracting a waveform .
コンピュータを、請求項1に記載の音声合成装置として機能させるための音声合成プログラム。A speech synthesis program for causing a computer to function as the speech synthesizer according to claim 1.
JP2010225787A 2010-10-05 2010-10-05 Speech synthesis apparatus and speech synthesis program Expired - Fee Related JP5503484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010225787A JP5503484B2 (en) 2010-10-05 2010-10-05 Speech synthesis apparatus and speech synthesis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010225787A JP5503484B2 (en) 2010-10-05 2010-10-05 Speech synthesis apparatus and speech synthesis program

Publications (2)

Publication Number Publication Date
JP2012078708A JP2012078708A (en) 2012-04-19
JP5503484B2 true JP5503484B2 (en) 2014-05-28

Family

ID=46239006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010225787A Expired - Fee Related JP5503484B2 (en) 2010-10-05 2010-10-05 Speech synthesis apparatus and speech synthesis program

Country Status (1)

Country Link
JP (1) JP5503484B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195326A (en) * 1992-12-25 1994-07-15 Canon Inc Method and device for inputting document
JP3277616B2 (en) * 1993-05-31 2002-04-22 カシオ計算機株式会社 Tone generator
JP2003084899A (en) * 2001-09-14 2003-03-19 Hirokazu Maeda Method for inputting other character including control signal by simultaneous keying of only normal character key in keyboard
JP2003157139A (en) * 2002-02-27 2003-05-30 Tominari Sato Simultaneous keying type japanese sentence input device

Also Published As

Publication number Publication date
JP2012078708A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
US6778962B1 (en) Speech synthesis with prosodic model data and accent type
US5915237A (en) Representing speech using MIDI
JP4038211B2 (en) Speech synthesis apparatus, speech synthesis method, and speech synthesis system
JP5198046B2 (en) Voice processing apparatus and program thereof
WO2023276539A1 (en) Voice conversion device, voice conversion method, program, and recording medium
JP5398295B2 (en) Audio processing apparatus, audio processing method, and audio processing program
US20080109225A1 (en) Speech Synthesis Device, Speech Synthesis Method, and Program
JP2020012855A (en) Device and method for generating synchronization information for text display
US20220044662A1 (en) Audio Information Playback Method, Audio Information Playback Device, Audio Information Generation Method and Audio Information Generation Device
JP6167503B2 (en) Speech synthesizer
JP5560769B2 (en) Phoneme code converter and speech synthesizer
JP6291808B2 (en) Speech synthesis apparatus and method
JP5360489B2 (en) Phoneme code converter and speech synthesizer
JP5503484B2 (en) Speech synthesis apparatus and speech synthesis program
JPH08335096A (en) Text voice synthesizer
JP5471138B2 (en) Phoneme code converter and speech synthesizer
JP5098932B2 (en) Lyric data display device, lyrics data display method, and lyrics data display program
JP3081300B2 (en) Residual driven speech synthesizer
JP4318188B2 (en) Telop display device
JP3870583B2 (en) Speech synthesizer and storage medium
JP5481958B2 (en) Phoneme code converter and speech synthesizer
JP5233737B2 (en) Phoneme code correction device, phoneme code database, and speech synthesizer
JP5481957B2 (en) Speech synthesizer
JP4839058B2 (en) Speech synthesis apparatus and speech synthesis program
JP2573585B2 (en) Speech spectrum pattern generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140314

R150 Certificate of patent or registration of utility model

Ref document number: 5503484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees