JPS61131032A - Voice data accumulating system - Google Patents
Voice data accumulating systemInfo
- Publication number
- JPS61131032A JPS61131032A JP59252522A JP25252284A JPS61131032A JP S61131032 A JPS61131032 A JP S61131032A JP 59252522 A JP59252522 A JP 59252522A JP 25252284 A JP25252284 A JP 25252284A JP S61131032 A JPS61131032 A JP S61131032A
- Authority
- JP
- Japan
- Prior art keywords
- audio data
- level
- adpcm
- circuit
- pcm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は音声データ蓄積方式に係り、特に音声信号をP
CM符号化し、更にADPCM符号化してメモリに蓄積
する音声データ蓄積方式に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an audio data storage method, and in particular, to
The present invention relates to an audio data storage method that encodes CM, further encodes ADPCM, and stores the encoded data in a memory.
音声信号を符号化して蓄積する音声データ蓄積方式に於
いては、其の所要メモリが膨大なものになるので、音声
信号の質を落とすことな(、より少ないメモリに格納出
来る方式の開発が以前から強く望まれていた。The audio data storage method that encodes and stores the audio signal requires a huge amount of memory. It was strongly desired by
従来の音声データ蓄積方式は音声信号をPCM符号化し
、更にPCM符号化された音声信号をADPCM符号化
して蓄積する方式を取っていた。Conventional audio data storage methods have adopted a method in which an audio signal is PCM encoded, and the PCM encoded audio signal is further ADPCM encoded and stored.
上記方式が採られている理由はPCM符号は極性を含め
て8ビツトであるが、ADPCM符号では4ビツトで済
むのでメモリ容量が半減すると云う利点がある為である
。The reason why the above method is adopted is that the PCM code has 8 bits including the polarity, but the ADPCM code only needs 4 bits, which has the advantage of halving the memory capacity.
本発明の目的は上記従来方式より更に少ないメモリ容量
で済む音声データ蓄積方式を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide an audio data storage method that requires a smaller memory capacity than the conventional method described above.
問題点を解決するための手段は、PCM符号化回路とA
DPCM符号化回路を備え、該PCM符号化回路と該A
DPCM符号化回路により音声信号を符号化してメモリ
に蓄積する音声データ蓄積装置に於いて、該ADPCM
符号化回路により符号化された音声データを複数バイト
のブロックに分割し、該PCM符号化回路により符号化
された音声データのレベルと基準レベルとを比較して該
基準レベルを越す回数を計数し、該計数値が或る基準回
数以上の時は分割された該音声データブロックが有効と
判定し、該基準回数以下の時は分割された該音声データ
ブロックが無効と判定し、有効と判定された該音声デー
タブロック、及び其の前後の該音声データブロックのみ
を蓄積することにより達成される。The means to solve the problem is the PCM encoding circuit and A
A DPCM encoding circuit is provided, the PCM encoding circuit and the A
In an audio data storage device that encodes an audio signal using a DPCM encoding circuit and stores it in a memory, the ADPCM
Divide the audio data encoded by the encoding circuit into blocks of multiple bytes, compare the level of the audio data encoded by the PCM encoding circuit with a reference level, and count the number of times the audio data exceeds the reference level. When the counted value is greater than or equal to a certain reference number of times, the divided audio data block is determined to be valid, and when it is less than or equal to the reference number of times, the divided audio data block is determined to be invalid and is determined to be valid. This is achieved by storing only the audio data block and the audio data blocks before and after it.
本発明に依るとPCM符号化された音声信号を複数バイ
トのブロックに分割し、此のブロック内に基準レベル以
上の信号が何個有るかを計数し、若し此の計数値が或る
値以上であれば該ブロックは有効として蓄積し、以下で
あれば無効として棄却pするので音声信号の内真に有効
なデータのみ蓄積するので従来方式に比し大幅に少ない
メモリ容量で済むと云う大きい効果が生まれる。According to the present invention, a PCM encoded audio signal is divided into blocks of multiple bytes, and the number of signals above a reference level is counted in this block. If it is above, the block is stored as valid, and if it is below, it is discarded as invalid, so only the truly valid data in the audio signal is stored, so it requires much less memory capacity than the conventional method. An effect is produced.
第1図は本発明に依る音声データ蓄積方式の一実施例を
示す図である。FIG. 1 is a diagram showing an embodiment of the audio data storage method according to the present invention.
第2図は第1図の動作の説明図である。FIG. 2 is an explanatory diagram of the operation of FIG. 1.
図中、1はPCM符号化回路、2はADPCM符号化回
路、3はレベル比較回路、4はデータバッファ、5は計
数回路、6はレベル設定回路、7はマイクロプロセッサ
、8はメモリである。In the figure, 1 is a PCM encoding circuit, 2 is an ADPCM encoding circuit, 3 is a level comparison circuit, 4 is a data buffer, 5 is a counting circuit, 6 is a level setting circuit, 7 is a microprocessor, and 8 is a memory.
■ 以下図に従って本発明の詳細な説明する。■ The present invention will be described in detail below with reference to the drawings.
音声信号はPCM符号化回路1に入り、A −D変換さ
れる。尚此の場合、極性ビットを含めて8ビツトに変換
するのが普通である。The audio signal enters the PCM encoding circuit 1 and is converted from A to D. In this case, it is normal to convert to 8 bits including the polarity bit.
此処で複数バイトmを1ブロツクとする。Here, a plurality of bytes m is defined as one block.
PCM符号化回路1によりPCM符号化された音声信号
は符号化される毎にレベル比較回路3に於いて基準レベ
ルLvと比較される。此の基準レベルLv (絶対値
)はレベル設定回路6がら供給される。The audio signal PCM encoded by the PCM encoding circuit 1 is compared with a reference level Lv in the level comparison circuit 3 every time it is encoded. This reference level Lv (absolute value) is supplied from the level setting circuit 6.
レベル比較回路3は基準レベルLvより大きい音声デー
タが入力した時に出力パルスを出す。The level comparison circuit 3 outputs an output pulse when audio data higher than the reference level Lv is input.
計数回路5は1ブロツク毎にリセットされ、1ブロツク
(mバイトのデータ)内に於ける前記出力パルスの回数
を計数する。The counting circuit 5 is reset every block and counts the number of output pulses in one block (m bytes of data).
又PCM符号化回路1によりPCM符号化された音声信
号は従来方式と同じ(ADPCM符号化回路2に入り、
ADPCM符号化されてデータバッファ4に一時記憶さ
れる。Also, the audio signal PCM encoded by the PCM encoding circuit 1 is the same as the conventional method (enters the ADPCM encoding circuit 2,
The data is ADPCM encoded and temporarily stored in the data buffer 4.
マイクロプロセッサ7は計数回路5のリセット前の時点
の計数値を読み、此の計数値が基準値Nより大きい時は
該ブロックの音声データが有効と判定してデータバッフ
ァ4の内容をメモリ8に格納する。若し計数値が基準(
tiNより小さい時は該ブロックの音声データが無効と
判定してデータバッファ4の内容を棄却する。The microprocessor 7 reads the count value of the counting circuit 5 at the time before the reset, and when this count value is greater than the reference value N, it determines that the audio data of the block is valid and stores the contents of the data buffer 4 in the memory 8. Store. If the count value is the standard (
When it is smaller than tiN, it is determined that the audio data of the block is invalid and the contents of the data buffer 4 are discarded.
第2図(a)は上記説明を図示するもので、Lvは基準
レベルである。第2図(a)に示す波形の音声信号(P
CM符号)がレベル比較回路3に入力すると、5(0)
の時は基準レベルLv以下であるのでレベル比較回路3
は出力パルスを出さず、5(1)の時は基準レベルLv
以上であるのでレベル比較回路3は出力パルスを出す。FIG. 2(a) illustrates the above explanation, and Lv is the reference level. The audio signal (P
CM code) is input to the level comparison circuit 3, 5(0)
When , the level comparison circuit 3 is lower than the reference level Lv.
does not output an output pulse, and when 5 (1), the reference level Lv
Since the above is the case, the level comparison circuit 3 outputs an output pulse.
此の様にして若し第2図(a)に示す波形が1ブロツク
と仮定すると、1ブロツク(S (01〜5(9))内
に7回出力パルスが出る。In this manner, assuming that the waveform shown in FIG. 2(a) is one block, output pulses are generated seven times within one block (S (01 to 5 (9)).
計数回路5は此れを計数し、マイクロプロセッサ7は計
数値の7が基準値Nより大きい時は有効、Nより小さい
時は無効とする。The counting circuit 5 counts this, and the microprocessor 7 makes it valid when the count value 7 is larger than the reference value N, and invalidated when it is smaller than N.
第2図(b)は一連の音声信号に対し本発明の処理を行
った場合を例示する図である。FIG. 2(b) is a diagram illustrating a case where the processing of the present invention is applied to a series of audio signals.
以上説明した様な処置を講することにより音声信号に含
まれる無音部、及び此れに近い部分を削除して真に有効
な音声信号のみ蓄積出来る。By taking the measures described above, silent parts included in the audio signal and parts close to this can be deleted, and only truly effective audio signals can be stored.
尚此の場合有効なブロックが継続して検出された時其の
前後の無効ブロックを特に有効と見做して蓄積すること
により忠実度を高めることも可能である。In this case, when valid blocks are continuously detected, it is also possible to increase the fidelity by considering invalid blocks before and after the valid blocks to be particularly valid and storing them.
以上詳細に説明した様に本発明によれば、従来方式に比
し大幅に少ないメモリで音声信号を蓄積出来る音声デー
タ蓄積方式を実現出来ると云う大きい効果がある。As described above in detail, the present invention has the great effect of realizing an audio data storage system that can store audio signals with significantly less memory than conventional systems.
第1図は本発明に依る音声データ蓄積方式の一実施例を
示す図である。
第2図は第1図の動作の説明図である。
図中、1はPCM符号化回路、2はADPCM符号化回
路、3はレベル比較回路、4はデータバッファ、5は計
数回路、6はレベル設定回路、7はマイクロプロセッサ
、8はメモリである。FIG. 1 is a diagram showing an embodiment of the audio data storage method according to the present invention. FIG. 2 is an explanatory diagram of the operation of FIG. 1. In the figure, 1 is a PCM encoding circuit, 2 is an ADPCM encoding circuit, 3 is a level comparison circuit, 4 is a data buffer, 5 is a counting circuit, 6 is a level setting circuit, 7 is a microprocessor, and 8 is a memory.
Claims (1)
CM符号化回路と該ADPCM符号化回路により音声信
号を符号化してメモリに蓄積する音声データ蓄積装置に
於いて、該ADPCM符号化回路により符号化された音
声データを複数バイトのブロックに分割し、該PCM符
号化回路により符号化された音声データのレベルと基準
レベルとを比較して該基準レベルを越す回数を計数し、
該計数値が或る基準回数以上の時は分割された該音声デ
ータブロックが有効と判定し、該基準回数以下の時は分
割された該音声データブロックが無効と判定し、有効と
判定された該音声データブロック、及び其の前後の該音
声データブロックのみを蓄積することを特徴とする音声
データ蓄積方式。The PCM encoding circuit and the ADPCM encoding circuit are provided.
In an audio data storage device that encodes an audio signal using a CM encoding circuit and the ADPCM encoding circuit and stores it in a memory, the audio data encoded by the ADPCM encoding circuit is divided into blocks of multiple bytes, Comparing the level of the audio data encoded by the PCM encoding circuit with a reference level and counting the number of times the level exceeds the reference level;
When the counted value is greater than or equal to a certain reference number of times, the divided audio data block is determined to be valid, and when it is less than or equal to the reference number of times, the divided audio data block is determined to be invalid and determined to be valid. An audio data storage method characterized in that only the audio data block and the audio data blocks before and after the audio data block are stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59252522A JPS61131032A (en) | 1984-11-29 | 1984-11-29 | Voice data accumulating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59252522A JPS61131032A (en) | 1984-11-29 | 1984-11-29 | Voice data accumulating system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61131032A true JPS61131032A (en) | 1986-06-18 |
Family
ID=17238539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59252522A Pending JPS61131032A (en) | 1984-11-29 | 1984-11-29 | Voice data accumulating system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61131032A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4827922A (en) * | 1987-03-05 | 1989-05-09 | L'air Liquide | Process and device for supplying respiratory oxygen |
-
1984
- 1984-11-29 JP JP59252522A patent/JPS61131032A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4827922A (en) * | 1987-03-05 | 1989-05-09 | L'air Liquide | Process and device for supplying respiratory oxygen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4586027A (en) | Method and system for data compression and restoration | |
JPS61131032A (en) | Voice data accumulating system | |
JPS5885629A (en) | Compression encoding system | |
JPS5816344A (en) | Data compression and storage device | |
JPS61173527A (en) | Compression system for image data | |
JPS5927502B2 (en) | encoding device | |
JP2003273746A (en) | Variable length code decoder | |
SU1129638A1 (en) | Device for compressing information | |
JPH04302598A (en) | Entropy encoding circuit | |
JPS6155686B2 (en) | ||
EP0222943B1 (en) | Variable word length encoder | |
JPS5875244A (en) | Data compressing and storing system | |
JPS62206600A (en) | Digital recording of analog signal | |
JPS5592938A (en) | Data transfer control system | |
SU1656574A1 (en) | Data compressor | |
JPS5917456B2 (en) | Buffer memory write control method | |
JPS5927501B2 (en) | encoding device | |
EP0222942B1 (en) | Variable word length decoder | |
JPH03104421A (en) | System and device for data compression and data decoder | |
JPH02302127A (en) | Data compressing and decoding system | |
JPS63181586A (en) | Variable length encoding circuit | |
KR920001962A (en) | Bit image data compression method and apparatus | |
JPS62145932A (en) | B8zs coding circuit | |
JPH0950365A (en) | Instruction history encoding device | |
JPH02306725A (en) | Method and apparatus for code conversion |