JPS58215696A - Real time voice coder - Google Patents

Real time voice coder

Info

Publication number
JPS58215696A
JPS58215696A JP9750982A JP9750982A JPS58215696A JP S58215696 A JPS58215696 A JP S58215696A JP 9750982 A JP9750982 A JP 9750982A JP 9750982 A JP9750982 A JP 9750982A JP S58215696 A JPS58215696 A JP S58215696A
Authority
JP
Japan
Prior art keywords
encoding
data
digital signal
period
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9750982A
Other languages
Japanese (ja)
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP9750982A priority Critical patent/JPS58215696A/en
Publication of JPS58215696A publication Critical patent/JPS58215696A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は実時間音声符号化装置に関し、よシ詳しくは、
実時間で音声データの符号化および合成を行うLSI(
大規模集積回路)を用いて、音声の符号化の開始及び音
声の符号化の終了を決定する実時間音声符号化装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical field of the invention The present invention relates to a real-time speech encoding device, and more specifically,
An LSI that encodes and synthesizes audio data in real time (
The present invention relates to a real-time speech encoding device that uses a large-scale integrated circuit to determine the start and end of speech encoding.

(2)発明の背景 近年、各種の音声合成LSIが開発されて来た。(2) Background of the invention In recent years, various speech synthesis LSIs have been developed.

音声合成方式としては、PAItCORADPCM方式
方式、音素片方式などが知られている。PACOR方式
および音素片方鴨では、音声の分析に非常に煩雑な割算
が必要であるため、音声の分析に時間と費用がかかりす
ぎるので、現在のところ合成のみを行うLSIが発表さ
れておシ、実時間符号化を行うLSIは知られていない
。この場合、符合化はLSI外部のハードウェアを用い
て行っている。
As speech synthesis methods, PAItCORADPCM method, phoneme one-sided method, etc. are known. In the PACOR method and the phoneme unilateral method, very complicated division is required to analyze speech, which takes too much time and money, so at present LSIs that only perform synthesis have been announced. , no LSI that performs real-time encoding is known. In this case, encoding is performed using hardware external to the LSI.

これに対し、ADPCM方式(適応差分PCM方式)で
は、音声の分析および音声データの圧縮が比較的簡単で
あるため、短時間にかつ低価格で音声の符号化が出来、
また、符号化されてから合成された音の質が自然音に近
いという特色があるため、実時間音声符号化・合成LS
 I’tADPcM方式で実現した例は知られているー 本発明は、上記ADPCM方式における如く、実時間で
音声データを符号化してメモリに格納する装置に関する
On the other hand, in the ADPCM method (adaptive differential PCM method), audio analysis and audio data compression are relatively simple, so audio can be encoded in a short time and at a low cost.
In addition, since the quality of the sound synthesized after encoding is close to that of natural sounds, real-time speech coding and synthesis LS
Examples implemented using the I'tADPcM method are known.The present invention relates to an apparatus for encoding audio data in real time and storing it in a memory, as in the above-mentioned ADPCM method.

(3)従来技術と問題点 従来の実時間音声符号化・合成LSIは、マイクロフォ
ン或いはテープレコーダ等から入力された音声データ’
eA−D変換器によシデジタルデータに変換したものを
サンプリングすると同時に、そのデジタルデータを圧縮
し符号化する機能と、圧縮・省号化されたデータから音
声デジタルデータを復号(合成)して音声データを再生
する機能とを有している。圧縮・符号化されたデータは
メモリに格納されている。
(3) Conventional technology and problems Conventional real-time audio encoding/synthesis LSIs cannot process audio data input from a microphone or tape recorder, etc.
It has the function of sampling digital data converted by the eA-D converter, compressing and encoding the digital data, and decoding (synthesizing) audio digital data from the compressed and omitted data. It also has a function to play audio data. The compressed and encoded data is stored in memory.

入力音声データは通常、有音期間と無音期間を繰ヤ返し
ている。例えば「おはよう」という発音の前後は無音期
間でt)す、発音中は有音期間である。
Input audio data usually includes repeating sound periods and silent periods. For example, the period before and after the pronunciation of "good morning" is a silent period, and the period during which it is being pronounced is a sound period.

従来は、有音期間と無音期間の区別なく、サンプリング
したデータをすべて符号化してメモリに格納していた1
、このため、メモリには無音期間のデータも格納され、
メモリの使用効率が悪いという問題があった。
Previously, all sampled data was encoded and stored in memory, regardless of whether it was a sound period or a silent period1.
, Therefore, the data of the silent period is also stored in the memory,
There was a problem with inefficient memory usage.

(4)発明の目的 本発明の目的は、前述の従来技術における問題にかんが
み、実時間音声符号化装置において、入力音声データの
有音期間のデータのみを圧縮し、符号化してメモリに格
納するという構想に基づき、メモリの有効利用あるいは
必要メモリ容量の縮小を図ることにある。
(4) Purpose of the Invention In view of the problems in the prior art described above, the purpose of the present invention is to compress, encode, and store in a memory only the data of the sound period of input audio data in a real-time audio encoding device. Based on this concept, the aim is to make effective use of memory or reduce the required memory capacity.

(5)発明の構成 上記の目的を達成するための本発明の要旨Uま、入力音
声データをデジタル信号に変換するA−D変換器、該A
−D変換器から出力されるデジタル信号をサンプリング
して入力音声データの有音期間を検出する有音期間検出
部、該有音期間の開始時から該デジタル信号の符号化を
開始し、該有音期間の終了時から所定時間の後または予
め定められた符号化ビット数のデジタル信号の符号化の
終了時に該デジタル信号の符号化を終了する符号器、該
符号器から出力される符号化データを計数して書込みア
ドレスを出力するカラ/り、および該書込みアドレスに
応じて該符号化データを格納するメモIJ Th具備す
る実時間音声符号化装置にある。
(5) Structure of the Invention Summary of the present invention for achieving the above objects: An A-D converter for converting input audio data into a digital signal;
- a sound period detection unit that samples the digital signal output from the D converter to detect a sound period of input audio data; starts encoding the digital signal from the start of the sound period; An encoder that finishes encoding a digital signal after a predetermined time from the end of a sound period or at the end of encoding a digital signal having a predetermined number of encoded bits, and encoded data output from the encoder. The real-time audio encoding device includes a memory IJ Th for counting the write address and outputting the write address, and a memory IJ Th for storing the encoded data according to the write address.

(6)発明の実施例 以下、本発明の実施例を図面によって説明する。(6) Examples of the invention Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例による実時間音声符号化・合
成装置を示すブロック回路図であり、第2図は第1図の
マイクロフォン1に例えば「あいうえお」という音声を
入力させた場合の、入力音声を示す波形図である。第2
図に示されるように時刻t1とt、の間の有音期間の前
後は無音期間となっている。マイクロフォン1から出力
される音声アナログ信号は低域フィルタ2によって高域
がカットされてA−D変換器3に入力される。A−D変
換器3の動作は制御部4によって制御される。
FIG. 1 is a block circuit diagram showing a real-time speech encoding/synthesizing device according to an embodiment of the present invention, and FIG. 2 is a block circuit diagram illustrating a real-time speech encoding/synthesizing device according to an embodiment of the present invention. FIG. , is a waveform diagram showing input audio. Second
As shown in the figure, there is a silent period before and after the sound period between times t1 and t. The audio analog signal output from the microphone 1 has its high frequency cut by a low-pass filter 2 and is input to an A-D converter 3 . The operation of the A-D converter 3 is controlled by a control section 4.

すなわち、時刻to (第2図)において制御部4にス
タート信号St−与えるとこれに応じて、制御部4から
A−D変換器3にA−D変換開始信号aが与えられ、そ
れによ、りA−D変換器3は低域フィルタ2からのアナ
ログ信号を無音期間と有音期間にわたって、例えば8ビ
ツトのデジタル信号に変換する。A−D変換器3からの
8ビツトのデジタル信号はデータ・パス5を介してAD
PCM符号器6および有音期間検出部7に入力される。
That is, when a start signal St- is given to the control section 4 at time to (FIG. 2), an A-D conversion start signal a is given from the control section 4 to the A-D converter 3 in response to this, and thereby, The A/D converter 3 converts the analog signal from the low-pass filter 2 into, for example, an 8-bit digital signal over the silent period and the sound period. The 8-bit digital signal from the A/D converter 3 is passed through the data path 5 to the A/D converter 3.
The signal is input to a PCM encoder 6 and a sound period detector 7.

有音期間検出部7は入力された8ビットデジタル信号を
サンプリングすると共に、そのサンプリング結果から入
力音声データの有音期間を検出し、有音期間の開始時に
は符号化開始信号すを、有音期間の終了時には符号化終
了信号e k Al)PCM符号器6に与える。ADP
CM符号器6は、符号化開始信号b’l受は取ると、8
ビットディジタル信号を例えば4ビツトのデータに、周
知のADPCM方式により圧縮・符号化する。ADPC
M方式によるデータの圧縮は、例えば、連続する2つの
8ビツトデータを01113100と01001100
とすると、その差は00110000となるが、この数
値の下位3ビツトから上位に4ビツトを取ると、圧縮さ
れた4ビツトのデータ1100が得られる。圧縮・符号
化された4ビツトのデータはパス8fc介してアドレス
カウンタ9および音声メモリ10に入力される。
The sound period detection unit 7 samples the input 8-bit digital signal, detects the sound period of the input audio data from the sampling result, and outputs an encoding start signal at the start of the sound period. At the end of the encoding process, an encoding end signal e k Al) is given to the PCM encoder 6 . ADP
When the CM encoder 6 receives the encoding start signal b'l, the CM encoder 6 receives the encoding start signal b'l.
A bit digital signal is compressed and encoded into, for example, 4-bit data using the well-known ADPCM method. ADPC
For example, when compressing data using the M method, two consecutive 8-bit data are compressed into 01113100 and 01001100.
Then, the difference is 00110000, but if we take the upper 4 bits from the lower 3 bits of this numerical value, compressed 4-bit data 1100 is obtained. The compressed and encoded 4-bit data is input to the address counter 9 and the audio memory 10 via the path 8fc.

アドレスカウンタ9は入力された4ビツトデータをカウ
ントしてパス11を介してメモリ10に書込みアドレス
を与える。メモリ10には書込みアドレスに応じて4ビ
ツトデータが書込まれる。
Address counter 9 counts input 4-bit data and provides a write address to memory 10 via path 11. 4-bit data is written into the memory 10 according to the write address.

こうして、第1図に示した装置によれば、入力音声が実
時間で符号化され、しかも実質的に有音期1141のみ
のデータがメモリに格納される。
Thus, according to the apparatus shown in FIG. 1, the input speech is encoded in real time, and substantially only the data of the sound period 1141 is stored in the memory.

なお、メモリ10に格納されたデータは、ADPCM復
号器12、D−A変換器13、および低域フィルタ14
を介してスピーカー15に合声音声として出力される、 有音期間中にも無音期間が瞬間的に存在することがあル
得るので、有音期間の終了時の判定は実際には次の2通
シの手法のいずれかで行う。
Note that the data stored in the memory 10 is processed by the ADPCM decoder 12, the DA converter 13, and the low-pass filter 14.
Since it is possible that a silent period momentarily exists even during a sound period that is output as a synchronized voice to the speaker 15 via Do it using one of the traditional methods.

第1の手法によれば、音声データの圧縮符号化に用いる
符号化ビット総数を前もって指定しておき、カウンタ9
がその符号化ビット総数をカウントした時に音声符号化
終了信号deカウンタ9からADP(、’M n号器6
に与えて符号化を終了させる。
According to the first method, the total number of encoding bits used for compression encoding of audio data is specified in advance, and the counter 9
When the total number of encoded bits is counted, the voice encoding end signal de counter 9 outputs ADP(,'M n encoder 6
to end the encoding.

第2の手法によれば、音声が終了すると通常は無音状態
がある一定時間以上続くことを利用して、有音期間検出
部7がある一定時間以上無音期区間を検出した後に符号
化終了信号c k ADPCM符号器7に与える。
According to the second method, by utilizing the fact that a silent state usually continues for a certain period of time or more after the end of speech, the voiced period detecting section detects a silent period section for a certain period of time or more, and then generates an encoding end signal. c k Provided to the ADPCM encoder 7.

なお、第1図に示した制御部4、ADPCM符号器6、
有音期間検出部7、ADPCM復号器12は1つの実時
間音声符号化・合成LSIで実現される。
Note that the control unit 4, ADPCM encoder 6, and
The sound period detecting section 7 and the ADPCM decoder 12 are realized by one real-time speech encoding/synthesizing LSI.

以上に述べた実施例では、ADPCM方式による実時間
音声符号化について8ピツトのデータを4ピツトの圧縮
符号化データに変換する場合を例にしたが、本発明はこ
れに限るものではなく、実時間音声符号化方式である限
シ任意の方式、任意のビットデータの圧縮・符号化にも
適用できる、(力 発明の効果 以上の説明から明らかなように、本発明によれば、実時
間音声符号化装置において、入力音声データの実質的に
鳴音期間のデータのみを圧縮・符号化してメモリに格納
したことにより、無音期間のデータtまメモリに格納さ
れないので、メモリ容h1金大幅に節約できる。
In the embodiments described above, the case where 8-pit data is converted to 4-pit compressed encoded data for real-time audio encoding using the ADPCM method is used as an example, but the present invention is not limited to this, and the present invention is not limited to this. Effects of the InventionAs is clear from the above explanation, according to the present invention, real-time audio In the encoding device, only the sound period data of the input audio data is compressed and encoded and stored in the memory, so that the silent period data is not stored in the memory, resulting in a significant saving in memory capacity and money. can.

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

第1図は本発明の一実施例による実時間音声符号化・合
成装置を示すブロック回路図、第2図は第1図のマイク
ロフォン1に入力される入力音声の一例を示す波形図で
ある。 1・・・マイクロフォン、2・・・低域フィルタ、3・
・・A・■)変換器、4・−・制御部、6・・ADPC
M符号器、7・・・有音期間検出部、9・・・アドレス
カウンタ、10・・・音声メモリ。 特許出願人 富士通株式会社 特許出願代理人 弁理士 宵 木    朗 弁理士 西 舘 和 之 弁理士  内  1) 幸  男 弁理士 山 口  昭 之
FIG. 1 is a block circuit diagram showing a real-time speech encoding/synthesizing apparatus according to an embodiment of the present invention, and FIG. 2 is a waveform diagram showing an example of input speech input to the microphone 1 of FIG. 1. 1...Microphone, 2...Low pass filter, 3.
...A.■) Converter, 4.-.Control unit, 6..ADPC
M encoder, 7...Speech period detection section, 9...Address counter, 10...Audio memory. Patent applicant Fujitsu Ltd. Patent attorney Akira Yoiki Patent attorney Kazuyuki Nishidate (1) Yukio Patent attorney Akira Yamaguchi

Claims (1)

【特許請求の範囲】[Claims] 1、入力音声データ金デジタル信号に変換するA−D変
換器、該A−D変換器から出力されるデジタル信号をサ
ンプリングして入力音声データの有音期間を検出する有
音期間検出部、該有音期間の開始時から該デジタル信号
の符号化を開始し、該廟音期間の終了時から所定時間の
後または予め定められた符号化ビット数のデジタル信号
の符号化の終了時に該デジタル信号の符号化を終了する
符号器、該符号器から出力される符号化データを組数し
て書込みアドレスを出力するカウンタ、および該l込み
アドレスに応じて該符号化データを格納するメモIJ 
を具備する実時間音声符号化装置。
1. An A-D converter that converts input audio data into a gold digital signal; a sound period detection unit that samples the digital signal output from the A-D converter to detect a sound period of the input audio data; The encoding of the digital signal is started from the start of the sound period, and the digital signal is encoded after a predetermined time from the end of the sound period or at the end of encoding the digital signal with a predetermined number of encoded bits. an encoder that completes the encoding of the encoder, a counter that outputs the number of sets of encoded data output from the encoder and outputs a write address, and a memory IJ that stores the encoded data according to the write address.
A real-time speech encoding device comprising:
JP9750982A 1982-06-09 1982-06-09 Real time voice coder Pending JPS58215696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9750982A JPS58215696A (en) 1982-06-09 1982-06-09 Real time voice coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9750982A JPS58215696A (en) 1982-06-09 1982-06-09 Real time voice coder

Publications (1)

Publication Number Publication Date
JPS58215696A true JPS58215696A (en) 1983-12-15

Family

ID=14194222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9750982A Pending JPS58215696A (en) 1982-06-09 1982-06-09 Real time voice coder

Country Status (1)

Country Link
JP (1) JPS58215696A (en)

Similar Documents

Publication Publication Date Title
US5216744A (en) Time scale modification of speech signals
JPS62194296A (en) Voice coding system
KR20030031936A (en) Mutiple Speech Synthesizer using Pitch Alteration Method
JP2001053869A (en) Voice storing device and voice encoding device
JPH10247093A (en) Audio information classifying device
JP3226711B2 (en) Compressed information reproducing apparatus and compressed information reproducing method
JPS58215696A (en) Real time voice coder
JP3227929B2 (en) Speech encoding apparatus and decoding apparatus for encoded signal
JPH0235320B2 (en)
JP2706255B2 (en) Silence compression sound recording device
JP2860991B2 (en) Audio storage and playback device
JP2582762B2 (en) Silence compression sound recording device
JP2602641B2 (en) Audio coding method
KR0141237B1 (en) Audio signal recording/reproducing method
KR920002861B1 (en) Lpc voice syndisizing apparatus and thereof method
JPH01197793A (en) Speech synthesizer
JPH0376480B2 (en)
JPS58113992A (en) Voice signal compression system
JPS5919000A (en) Voice analyzer/synthesizer
JPH0287199A (en) System and device for sounding actuation for voice
TW535140B (en) Phoneme decoder
JPS60500A (en) Voice analyzer/synthesizer
JPS5915299A (en) Voice analyzer
JPH04213500A (en) Method and device for encoding voice
JPS58113999A (en) Voice record reproducer