JPH0210959B2 - - Google Patents

Info

Publication number
JPH0210959B2
JPH0210959B2 JP57005896A JP589682A JPH0210959B2 JP H0210959 B2 JPH0210959 B2 JP H0210959B2 JP 57005896 A JP57005896 A JP 57005896A JP 589682 A JP589682 A JP 589682A JP H0210959 B2 JPH0210959 B2 JP H0210959B2
Authority
JP
Japan
Prior art keywords
address
audio data
memory
audio
word
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
Application number
JP57005896A
Other languages
Japanese (ja)
Other versions
JPS58123594A (en
Inventor
Toshinori Watanabe
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP57005896A priority Critical patent/JPS58123594A/en
Publication of JPS58123594A publication Critical patent/JPS58123594A/en
Publication of JPH0210959B2 publication Critical patent/JPH0210959B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

技術分野の説明 本発明は人間の声を単語または文節等の単位に
分割してあらかじめ録音した記憶装置から必要な
編集文章を構成させるための命令を受けて、音声
を再生出力する音声データ出力方法に関する。 発明の技術的背景およびその問題点 音声出力装置は音声応答あるいは音声案内とし
て、いろいろの分野に実用化されてきている。例
えば、自動販売機の操作に関する音声応答、エレ
ベータ運転に関する音声案内や工場設備等の監視
制御装置における操作に関する音声案内と設備の
事故の警報に関する音声応答などがある。音声出
力は人間にとつて理解が容易であり、誤りが少な
く一定時間に多量の情報を伝えることができる
等、速報性に優れている。また、人間に対する指
示的情報や警告的情報は文字図形よりも音声の方
が得策である。 従来の音声応答あるいは、音声案内に使用され
ている音声出力装置は、できるだけ多種類の音声
情報(単語単位や文節単位の音声)を記憶し、外
部からの命令により、短時間(数秒以内)に、目
的とする文章に編集して、再生出力をするような
装置をめざして改良されてきた。 例えば、各種単語や文節毎の音声データ単位は
第1図で示すようにメモリーに記憶されている。
すなわちa0番地から長さlの間には音声“1号”
をデイジタル化した音声データ単位をバイト単位
に順次に格納してある。同様にb0番地から長さm
の間には音声“2号”のデータ単位を格納し、全
体としては図示のように種々の音声データ単位を
順次に記憶している。 このような構成のメモリに対し従来、外部から
の命令により単語を組合せて、文章に編集する場
合は、第1表のようなテーブルを設け、外部から
文章番号を入力することにより該当文章を編集し
再生出力している。
Description of the Technical Field The present invention is an audio data output method for reproducing and outputting a human voice in response to an instruction to compose a necessary edited sentence from a storage device in which a human voice is divided into units such as words or phrases and recorded in advance. Regarding. Technical background of the invention and its problems Voice output devices have been put to practical use in various fields as voice response or voice guidance. For example, there are voice responses regarding the operation of a vending machine, voice guidance regarding the operation of an elevator, voice guidance regarding the operation of a supervisory control device for factory equipment, etc., and voice responses regarding a warning of an accident in the equipment. Voice output is easy for humans to understand, has few errors, and can convey a large amount of information in a certain amount of time, making it excellent for prompt reporting. Also, it is better to use audio rather than text and graphics for instructive information or warning information for humans. Conventional voice output devices used for voice response or voice guidance store as many types of voice information as possible (word-by-word or phrase-by-phrase sounds) and output them in a short time (within a few seconds) based on an external command. , has been improved with the aim of creating a device that can edit text into the desired text and reproduce it. For example, audio data units for various words and phrases are stored in memory as shown in FIG.
In other words, there is a voice “No. 1” between address a 0 and length l.
digitized audio data units are stored sequentially in byte units. Similarly, length m from address b
A data unit of voice "No. 2" is stored in between, and as a whole, various voice data units are sequentially stored as shown in the figure. Conventionally, when a memory with such a configuration is to be edited into a sentence by combining words according to an external command, a table like Table 1 is set up, and the corresponding sentence is edited by inputting the sentence number from the outside. and is output for playback.

【表】 すなわち、文章番号1の文章を出力するときに
は第1表に示すように文章1の組合せ単語番号リ
ストテーブルから単語番号を読み出し、さらにそ
の単語番号に対応する音声データ単位の先頭アド
レスとその長さ、すなわちメモリサイズを読み出
す。そして該当する音声データ単位の先頭アドレ
スからメモリサイズ分のデータを音声波形に変換
して出力する。例えば初めに単語番号0の先頭ア
ドレスa0とサイズlによつてデータ単位“1号”
を読み出して再生出力し、次に単語番号3の先頭
アドレスd0とサイズnによつてデータ単位“ポン
プ”を読み出して再生出力するというように順次
各単語を再生出力し、“1号ポンプが起動しまし
た”という文章番号1の文章を出力する。 このように、各単語の音声データ単位を読出す
ためにメモリの先頭アドレス(a0,b0……)の格
納テーブルと各メモリサイズ(l,m,……)の
格納テーブルが必要であつた。先頭アドレスは音
声データを読み出すためには不可欠であるが、こ
のほかにメモリサイズテーブルを必要とするた
め、そのテーブルの作成や、そのテーブル処理の
ためのプログラムが複雑になり、さらにそのテー
ブル分のROM4のスペースが余分に必要になる
などの欠点がある。このために、メモリサイズを
必要としない方法として、各単語の音声データの
最後に「終了符号」を挿入することが考えられ
る。しかしこの方法でも音声データ(例えばバイ
ト単位としたときのデータ)の中に存在しない符
号がある場合のみ「終了符号」として区別するこ
とができるが、もし音声データとしてバイト単位
に見るとき16進数で00からFF迄全部存在すると
きはこの方法は不可能である。 発明の目的 本発明の目的は、データサイズのテーブルを設
けることなしに対応する音声データ単位の読み出
しを可能にしてテーブル作成等を容易化し、かつ
メモリスペースを縮少させることができる音声デ
ータ出力方法を提供することにある。 発明の概要 本発明は、単語または文節毎の音声データ単位
を順次メモリーに記憶させ、このメモリから音声
出力指令の内容に対応した音声データ単位を読み
出すに当り、この音声データ単位の前記メモリー
における先頭アドレスを指定し、この先頭アドレ
ス以降のデータをアドレスをインクリメントしな
がら順次読み出し、かつこのアドレスインクリメ
ント毎に、このアドレスが、前記メモリーにおけ
る現在読出し中の音声データ単位の次に記憶され
ている音声データ単位の先頭アドレスと一致する
か否かを判定し、一致すればデータの読み出しを
停止することを特徴とする音声データ出力方法に
ある。 発明の実施例 以下本発明の一実施例を図面を参照して説明す
る。第2図は本発明方法を実行する音声再生出力
装置の構成を示した図である。図において、1は
中央演算素子(以下CPUと称す)で、アドレス
データおよびコントロールバス(以下単にバスと
いう)2を介してランダムアクセスメモリ(以下
RAMと称す)3、リードオンリーメモリ(以下
ROMと称す)4、音声データROM5、パラレ
ルーシリアル変換器(以下P―S変換器と称す)
6、入力ポート10及び出力ポート11とそれぞ
れ接続する。7は音声再生器で、P―S変換器6
からの信号を受け、アンプ8を介してスピーカ9
を動作させる。 ここでCPU1は前述のようにバス2を通して
RAM3,ROM4などと接続されそれらとのデ
ータの受渡しを行う。すなわち、CPU1はROM
4に記憶されているプログラムに従つて演算を実
行し、必要に応じて入力ポート10を介して外部
からの音声出力指令を入力し、その入力データに
対応して出力しようとする音声データを、音声デ
ータROM5からバイト単位で読み出す。そして
そのデータをP―S変換器6を介して、一定週期
のシリアルデータに変換し、音声再生器7で音声
波形に再生し、アンプ8で増巾してスピーカ9よ
り音声の出力を行う。上記音声データROM5に
は第3図に示すような順で種々の音声データが記
憶されている。すなわち第3図に示すようにa0
地からal番地には音声“1号”をデイジタル化し
たデータ単位がバイト単位に順々に格納してあ
る。同様にb0番地からbm番地には音声“2号”
のデータ単位が格納され、全体としては、従来で
説明した第1図で示したものと同様に種々の音声
データ単位を順々に記憶している。 また音声再生器7はCVSD(Continuously
Uariable Slope Delta Modulatar)デコーダ
と、フイルタ回路とで構成し、シリアルのデイジ
タルデータをアナログ波形(音声波形)に再生す
る。再生された音声波形はアンプ8で増巾され、
スピーカ9から音声出力される。 上記構成において、音声データ単位を読み出す
に当つては、ROM4内に第2表に示すテーブル
を構成し、外部から文章番号を入力することによ
り該当文章を編集し再生出力する。
[Table] That is, when outputting the sentence with sentence number 1, the word number is read from the combination word number list table of sentence 1 as shown in Table 1, and the start address of the audio data unit corresponding to that word number and its Read the length, that is, the memory size. Then, data corresponding to the memory size from the start address of the corresponding audio data unit is converted into an audio waveform and output. For example, at the beginning, the data unit "No. 1" is determined by the start address a 0 of word number 0 and the size l.
is read and reproduced, and then the data unit "pump" is read and reproduced according to the start address d 0 and size n of word number 3, and each word is sequentially reproduced and output. Outputs the sentence number 1 “It has started.” In this way, in order to read out the audio data unit of each word, a storage table for the memory start address (a 0 , b 0 ...) and a storage table for each memory size (l, m, ...) are required. Ta. The start address is essential for reading the audio data, but since a memory size table is also required, the creation of that table and the program for processing the table become complicated, and the table's worth of data becomes more complicated. There are drawbacks such as the need for extra space in ROM4. To this end, one possible method that does not require a large memory size is to insert an "end code" at the end of the audio data of each word. However, even with this method, if there is a code that does not exist in the audio data (for example, data in bytes), it can be distinguished as an "end code", but if you look at the audio data in bytes, it is expressed in hexadecimal. This method is not possible if all numbers from 00 to FF exist. OBJECT OF THE INVENTION An object of the present invention is an audio data output method that enables reading of corresponding audio data units without providing a data size table, facilitates table creation, etc., and reduces memory space. Our goal is to provide the following. SUMMARY OF THE INVENTION The present invention sequentially stores sound data units for each word or phrase in a memory, and when reading out a sound data unit corresponding to the content of a sound output command from this memory, reads the sound data unit at the beginning of the sound data unit in the memory. Specify an address, and sequentially read the data after this first address while incrementing the address, and each time this address is incremented, this address becomes the audio data stored next to the audio data unit currently being read in the memory. The audio data output method is characterized in that it is determined whether or not the first address of the unit matches, and if they match, the reading of data is stopped. Embodiment of the Invention An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing the configuration of an audio reproduction/output device that executes the method of the present invention. In the figure, 1 is a central processing element (hereinafter referred to as CPU), and a random access memory (hereinafter referred to as CPU) is connected via an address data and control bus (hereinafter simply referred to as bus) 2.
3. Read-only memory (hereinafter referred to as RAM) 3. Read-only memory (hereinafter referred to as
ROM) 4, audio data ROM 5, parallel-to-serial converter (hereinafter referred to as P-S converter)
6. Connect to input port 10 and output port 11, respectively. 7 is an audio reproducer, and P-S converter 6
receives the signal from the speaker 9 via the amplifier 8.
make it work. Here, CPU1 passes through bus 2 as mentioned above.
It is connected to RAM3, ROM4, etc. and exchanges data with them. In other words, CPU1 is ROM
4, inputs an external audio output command via the input port 10 as necessary, and outputs audio data corresponding to the input data. The audio data is read from the ROM 5 in bytes. Then, the data is converted into serial data for a fixed period via a P-S converter 6, reproduced into an audio waveform by an audio reproducer 7, amplified by an amplifier 8, and outputted as audio from a speaker 9. The audio data ROM 5 stores various audio data in the order shown in FIG. That is, as shown in FIG. 3, from address a0 to address al, data units obtained by digitizing voice "1" are sequentially stored in byte units. Similarly, from address b 0 to address bm, the voice “No. 2”
data units are stored, and as a whole, various audio data units are sequentially stored in the same manner as that shown in FIG. 1 described in the prior art. In addition, the audio player 7 is a CVSD (Continuously
It consists of a Uariable Slope Delta Modulatar) decoder and a filter circuit, and reproduces serial digital data into an analog waveform (audio waveform). The reproduced audio waveform is amplified by amplifier 8,
Audio is output from the speaker 9. In the above configuration, when reading out an audio data unit, a table shown in Table 2 is constructed in the ROM 4, and by inputting a sentence number from the outside, the corresponding sentence is edited and reproduced.

【表】 ここで第2表と第1表(従来例)の違いは、メ
モリサイズテーブルを省略したことである。すな
わち、本発明はメモリサイズを必要とせずに同じ
効果を得るため第4図に示すように、単語毎の音
声データ単位格納順に、それぞれ単語番号をつ
け、その順番に該当単語の先頭アドレスを格納す
るようにした先頭アドレステーブルをもうける。
このようにすればある単語番号(例えば単語番号
0)の音声データ単位はその音声データ格納先頭
アドレスから始まり、その次の単語番号(単語番
号1)の音声データ格納先頭アドレスの1つ前で
終ることになる。 この場合の音声データ単位の読み出し動作を第
5図のフローチヤートにより説明する。この場
合、前述のある単語番号とその次の単語番号の各
音声データ単位の先頭アドレスを使つてその単語
の音声データを出力する。例えば単語番号0の単
語“1号”を出力する場合は、先づその単語に対
応する音声データ単位の先頭アドレス(a0)を第
4図に示す先頭アドレステーブルから読出してセ
ツトする(ステツプ51)。次にそのアドレス(a0
から音声データを読み出して出力する(ステツプ
52,53)。またこの出力毎にアドレスインクリメ
ントを行う(ステツプ54)。さらに、このアドレ
スインクリメント毎に、そのインクリメントされ
たアドレスが次の単語すなわち単語番号1の先頭
アドレス(b0)と一致するか否かを比較して、a0
+x=b0(ここでx=1,2,3…)になる迄音
声データの読み出し出力をくり返す(ステツプ
55)。したがつて音声データの出力は次の単語の
先頭アドレスの1つ手前すなわちその単語に対応
する音声データ単位の最終アドレス迄行われる。 上記説明は、1つの単語の出力に関してである
が、ある文章を出力する場合も同様で各単語の出
力を第2表に示すような順序で行えばよい。 発明の効果 以上のように本発明によればテーブル用の
ROMが少なくてすみ、プログラムも簡単な音声
出力装置を得ることができる。
[Table] The difference between Table 2 and Table 1 (conventional example) is that the memory size table is omitted. That is, in order to obtain the same effect without requiring a memory size, the present invention assigns a word number to each word in the order in which audio data units are stored, and stores the start address of the corresponding word in that order, as shown in FIG. Create a starting address table that looks like this.
In this way, the audio data unit of a certain word number (for example, word number 0) will start from the audio data storage start address and end one place before the audio data storage start address of the next word number (word number 1). It turns out. The readout operation in units of audio data in this case will be explained with reference to the flowchart shown in FIG. In this case, the audio data of the word is output using the start address of each audio data unit of the word number and the next word number. For example, when outputting the word "No. 1" with word number 0, the start address (a 0 ) of the audio data unit corresponding to the word is first read out from the start address table shown in FIG. 4 and set (step 51). ). Then that address (a 0 )
Read and output audio data from (step
52, 53). Also, the address is incremented for each output (step 54). Furthermore, each time this address is incremented, it is compared whether the incremented address matches the next word, that is, the first address (b 0 ) of word number 1, and a 0
+ x = b 0 (Here, x = 1, 2, 3...) Repeat reading and outputting the audio data (step
55). Therefore, the audio data is output until one address before the start address of the next word, that is, the final address of the audio data unit corresponding to that word. The above explanation relates to the output of one word, but the same applies when outputting a certain sentence, and the output of each word may be performed in the order shown in Table 2. Effects of the Invention As described above, according to the present invention, the
It is possible to obtain an audio output device that requires less ROM and is easy to program.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は従来方法におけるメモリの記憶内容を
示す図、第2図は本発明方法を実行する音声出力
装置の構成例を示すブロツク図、第3図,第4図
は本発明方法に用いるメモリの記憶内容を示す説
明図、第5図は本発明による音声データ出力方法
の一実施例を示すフローチヤートである。 1…中央演算素子、2…アドレス.データおよ
びコントロールバス、4…プログラムおよびテー
ブル用のROM、5…音声データROM、7…音
声再生器。
Fig. 1 is a diagram showing the stored contents of the memory in the conventional method, Fig. 2 is a block diagram showing an example of the configuration of an audio output device for carrying out the method of the present invention, and Figs. 3 and 4 are the memories used in the method of the present invention. FIG. 5 is a flowchart showing an embodiment of the audio data output method according to the present invention. 1...Central processing element, 2...Address. data and control bus, 4...ROM for programs and tables, 5...audio data ROM, 7...audio reproducer.

Claims (1)

【特許請求の範囲】[Claims] 1 単語または文節毎の音声データ単位を順次メ
モリーに記憶させ、このメモリから音声出力指令
の内容に対応した音声データ単位を読み出すに当
り、この音声データ単位の前記メモリーにおける
先頭アドレスを指定し、この先頭アドレス以降の
データをアドレスをインクリメントしながら順次
読み出し、かつこのアドレスインクリメント毎
に、このアドレスが、前記メモリーにおける現在
読出し中の音声データ単位の次に記憶されている
音声データ単位の先頭アドレスと一致するか否か
を判定し、一致すればデータの読み出しを停止す
ることを特徴とする音声データ出力方法。
1. Sequentially store voice data units for each word or phrase in memory, and when reading a voice data unit corresponding to the content of a voice output command from this memory, specify the start address of this voice data unit in the memory, and The data after the first address is sequentially read while incrementing the address, and each time this address is incremented, this address matches the first address of the audio data unit stored next to the audio data unit currently being read in the memory. 1. An audio data output method characterized by determining whether or not they match, and stopping reading of data if they match.
JP57005896A 1982-01-20 1982-01-20 Outputting of voice data Granted JPS58123594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57005896A JPS58123594A (en) 1982-01-20 1982-01-20 Outputting of voice data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57005896A JPS58123594A (en) 1982-01-20 1982-01-20 Outputting of voice data

Publications (2)

Publication Number Publication Date
JPS58123594A JPS58123594A (en) 1983-07-22
JPH0210959B2 true JPH0210959B2 (en) 1990-03-12

Family

ID=11623650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57005896A Granted JPS58123594A (en) 1982-01-20 1982-01-20 Outputting of voice data

Country Status (1)

Country Link
JP (1) JPS58123594A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60135998A (en) * 1983-12-26 1985-07-19 株式会社日立製作所 Voice synthesization system
JPS62139596A (en) * 1985-12-13 1987-06-23 沖電気工業株式会社 Voice synthesizer
JP2570687B2 (en) * 1986-04-02 1997-01-08 日本電気株式会社 Digital message recording and playback system
JPS63144700U (en) * 1987-03-13 1988-09-22
JPS63191400U (en) * 1987-05-28 1988-12-09

Also Published As

Publication number Publication date
JPS58123594A (en) 1983-07-22

Similar Documents

Publication Publication Date Title
US5787399A (en) Portable recording/reproducing device, IC memory card recording format, and recording/reproducing mehtod
JPS58123594A (en) Outputting of voice data
JPS58205196A (en) Automatic editting of voice information for voice processor
KR101349797B1 (en) Apparatus and method for voice file playing in electronic device
JPH05282371A (en) Multi-medium reproduction system
JPH0258639B2 (en)
JP3321578B2 (en) Voice synthesis guidance device
JPS58123595A (en) Outputting of voice data
JPS6199198A (en) Voice analyzer/synthesizer
JPH0368399B2 (en)
JPS6161399B2 (en)
JPH0481198B2 (en)
KR950009105Y1 (en) Multifunctional language practicing device combined with a computer
JP2527393Y2 (en) Speech synthesizer
JPH01163800A (en) Digital voice service apparatus
JP2829923B2 (en) Playback device
JPH0438399Y2 (en)
JPS60238929A (en) Outputting method of sound data
JPH0413200A (en) Karaoke recorded instrumental accompaniment) device provided with voicing function
JPH0119160B2 (en)
JPH02244096A (en) Voice recognizing device
JPS6295595A (en) Voice response method
JPH0121517B2 (en)
JPH0455898A (en) Voice reproducing device
JPH01197793A (en) Speech synthesizer