JPH0357000A - Voice recorder - Google Patents

Voice recorder

Info

Publication number
JPH0357000A
JPH0357000A JP1194734A JP19473489A JPH0357000A JP H0357000 A JPH0357000 A JP H0357000A JP 1194734 A JP1194734 A JP 1194734A JP 19473489 A JP19473489 A JP 19473489A JP H0357000 A JPH0357000 A JP H0357000A
Authority
JP
Japan
Prior art keywords
memory
variable length
code
fixed length
encoding
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
JP1194734A
Other languages
Japanese (ja)
Inventor
Kimiharu Kataoka
公治 片岡
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP1194734A priority Critical patent/JPH0357000A/en
Publication of JPH0357000A publication Critical patent/JPH0357000A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the tone quality and to store a large quantity of voice information in a memory by converting a variable length code of a voice into a fixed length code and curtailing a bit rate, and also, converting the variable length code into the fixed length code and storing it in the memory. CONSTITUTION:An encoding/converting means 6 is provided with a variable length encoding circuit 25, a fixed length encoding circuit 26 and a converting circuit 27 for converting variable length into fixed length, respectively, and their outputs are provided to a memory 8 through a line 7. Subsequently, a sound signal is encoded by variable length and stored in the memory 8, and also, and in this case, when a store area of the memory 8 is small, a voice is encoded by fixed length, and many voice information is recorded by a small memory capacity. Also, a variable length code stored already is read out and converted into a fixed length code, and converted information is stored again in the memory 8. In such a way, many voices can be recorded in a small number of store areas without sacrificing the tone quality to the utmost.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、音声を音声情報処理技術を用いて符号化して
メモリにストアする音声記録装置に関する. 従来の技術 音声を音声情報処理技術を用いて符号化し、こhによっ
て録音再生を行う録音再生@置に用いられている符号化
方式には、ビットレートの固定された固定長の符号化方
式とビットレートの固定されていない可変長符号化方式
がある。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an audio recording device that encodes audio using audio information processing technology and stores it in a memory. Conventional technology There are two types of encoding methods used for recording and playback, in which audio is encoded using audio information processing technology and recorded and played back using a fixed length encoding method with a fixed bit rate. There is a variable length encoding method in which the bit rate is not fixed.

このうち可変長符号化方式はビノトレートが固定でない
ため、これを用いた録音再生装置では録音終了時まで記
録媒体(例・半導体メモリ〉の消費量が確定できない。
Among these, the variable length encoding method does not have a fixed binotrate, so in a recording/playback device using this method, the consumption amount of the recording medium (eg, semiconductor memory) cannot be determined until the end of recording.

可変長符号化方式による録音再生方式を用いた録音再生
装置は、符号化周期毎に出力する符号が固定でない.そ
の結果、ビットレーl・が一定でない.符号を可変長に
する理由は、固定長では符号化対象情報に対して効率面
で十分な符号化が達成できないことによる.すなわち、
該情報に対して固定長が短すぎる場合は符号の持つ情報
が不足し,歪みの多い再生音声となり、長すぎれば、符
号の持つ情報が該情報に対して冗長となる。この点、符
号化対象情報に適応して符号を出力する可変長符号化方
式は該情報に対して効率の良い符号化を達成している。
Recording and playback devices that use a recording and playback system based on variable-length encoding do not output a fixed code for each coding cycle. As a result, the bit rate l is not constant. The reason for using variable length codes is that with fixed length codes, it is not possible to achieve sufficient coding efficiency for the information to be coded. That is,
If the fixed length is too short with respect to the information, the information contained in the code will be insufficient, resulting in reproduced audio with a lot of distortion; if the fixed length is too long, the information contained in the code will be redundant with respect to the information. In this respect, a variable length encoding method that outputs a code in accordance with the information to be encoded achieves efficient encoding of the information.

その一方、可変長n号化方式はビットレートが固定でな
いため、この方式による録音再生装置においては録音終
了時まで記録媒体(例・半導体メモリ)の消費量が確定
でなく、符号化対象情報によっではビットレートが非常
に高くなり予恵以上に録音時間が短くなることがある。
On the other hand, since the bit rate of the variable-length n-encoding method is not fixed, in recording/playback devices using this method, the consumption of the recording medium (e.g. semiconductor memory) is not determined until the end of recording, and the information to be encoded is In this case, the bit rate may become very high and the recording time may become shorter than expected.

これに対してビントレートに上限を与える目的で、可変
長符号の上限を定める等の工夫がなされてきた。
In response to this, efforts have been made to set an upper limit on variable length codes in order to set an upper limit on the bin rate.

しかしながらこれまでの方法による録音再生装置では、
録音内容に対してビットレートをきめ細かく変化させる
ことができず、また一旦録音が終了してしまえばその後
でビットレートを削減する二とができないという問題点
があった.このような従来からの録音再生装置をさらに
、留守番電話機に組み込んだJ%きを例として説明する
。録音再生装置を留守番電話機に組み込んだ場合、複数
の人間からのメッセージを録音することが想定されてい
る。たとえばAさんがa秒、Bさんがb秒、CさんがC
秒、・・・とメモリが無くなるまで録音が行われる。こ
こで後になるほど録音可能時間が当然短くなる。また可
変長符号化方式のために予想以上に録音時間が短くなる
こともある.これを回避する目的で、従来では、各回の
録音時間の最大を制限する等の工夫がなされているが、
メモリが有限である以上、本質的解決にはならない。し
たがって、もし可変長符号化によって符号化を行ってい
なければ、さらに何秒か録音可能であったが、それがで
きないという問題が生じる。
However, with conventional recording and playback devices,
The problem was that it was not possible to precisely change the bit rate depending on the recorded content, and once the recording had finished, there was no way to reduce the bit rate afterwards. Such a conventional recording/reproducing device will be further explained by taking as an example a built-in answering machine. When a recording/playback device is incorporated into an answering machine, it is assumed that messages from multiple people will be recorded. For example, Mr. A has a seconds, Mr. B has b seconds, and Mr. C has C.
Recording continues for seconds until the memory runs out. Naturally, the later you go, the shorter the available recording time becomes. Also, because of the variable length encoding method, the recording time may be shorter than expected. In order to avoid this, conventional methods have been taken such as limiting the maximum recording time for each session.
As long as memory is limited, there is no real solution. Therefore, if variable length encoding had not been used, it would have been possible to record several more seconds, but this is not possible.

発明が解決しようとする課題 本発明の目的は、音質を可及的に犠牲にすることなく、
少ないストア領域で多くの音声を記録することができる
ようにした音声記録装置を提供することである。
Problems to be Solved by the Invention The purpose of the present invention is to solve the problem without sacrificing sound quality as much as possible.
To provide an audio recording device capable of recording a large amount of audio with a small storage area.

課題を解決するための手段 本発明は、音声を可変長で符号化し、もしくは固定長で
符号化し・、または可変長符号を固定長符号に変換する
符号化/変換手段と、 符号化/変換手段の出力をストアするメモリとを含むこ
とを特徴とする音声記録装置である。
Means for Solving the Problems The present invention provides: encoding/converting means for encoding speech in variable length or fixed length; or converting a variable length code into a fixed length code; and encoding/converting means. and a memory for storing the output of the audio recording device.

作  用 本発明に従えば、音声信号を可変長で符号化してメモリ
にストアすることによって、その音声の音質の向上を図
ることができ、このときそのメモリのストア領域が少な
いときには、音声を固定長で符号化し、これによって少
ないメモリ容量で多くの音声情報の記録を行うことが可
能である。またこのメモリに既にストアしてある可変長
符号を読出して固定長符号に変換し、その固定長符号に
変換した情報をメモリに再びストアする.このようにし
て、音質を犠牲にしても、多量の音声情報をメモリにス
トアする必要があるときに,有利である。
According to the present invention, the sound quality of the voice can be improved by encoding the voice signal in a variable length and storing it in the memory. At this time, when the storage area of the memory is small, the voice can be encoded in a fixed length. It is possible to record a large amount of audio information with a small memory capacity. Also, the variable length code already stored in this memory is read out, converted to a fixed length code, and the information converted to the fixed length code is stored again in the memory. This is advantageous when large amounts of audio information need to be stored in memory, even at the expense of sound quality.

実施例 第1図は、本発明の一実施例の全体のブロック図で、留
守番電話機lでは、相手側からのアナログ音声信号がラ
イン2を介して処理回路3に与えられ、その音声信号は
ライン4からアナログ/デジタル変換器5によってデジ
タル信号に変換され、符号化/変換千段6によって可変
長または固定長で符号化され、その信号はライン7から
半導体集積回路などによって実現されるメモリ8にスト
アされる.メモリ8にストアされているデジタルの1声
信号はライン9から復号化回路10によって復号化され
、デジタル,/アナログ変換器11によっでアナログ音
声信号に変換され、処理回路3を介して増幅回路および
スビーカなどを備える音響化手段12によって音響化さ
れ、聴取することができる.符号化/変換千段6では、
スイッチ千段l3が設けられ、このスイッチ千段13は
、切換えスイッチ14と、もう1つの切換えスインチ手
段15とを有する.アナログ/デジタル変換器5からの
デジタル音声信号は、切換えスイッチ14の個別接点1
6に与えられる。もう1つの個別接点17には、ライン
9からのメモリ再生信号が切換えスイッチ19を介して
ライン20から与えられる。切換えスイッチ14の共通
接点18の出力は、切換えスイッチ15の共通接点21
に与えられ、涸別接点22.23.24をそれぞれ介し
て、可変長符号化回路25、固定長符号化回路26およ
び可変長から固定長に変換する変換回路27にそれぞれ
与えられる.これらの回路25,26,27からの出力
は、前述のライン7を介してメモリ8に与えられる。
Embodiment FIG. 1 is an overall block diagram of an embodiment of the present invention. In an answering machine 1, an analog voice signal from the other party is given to a processing circuit 3 via a line 2; 4 is converted into a digital signal by an analog/digital converter 5, encoded in a variable length or fixed length by an encoding/conversion stage 6, and the signal is sent from a line 7 to a memory 8 realized by a semiconductor integrated circuit or the like. Stored. The digital one-voice signal stored in the memory 8 is decoded by the decoding circuit 10 from the line 9, converted into an analog audio signal by the digital/analog converter 11, and sent to the amplifier circuit via the processing circuit 3. The sound is made into sound by the sound-making means 12 including a speaker and the like, and can be heard. In encoding/conversion 1000 steps 6,
A switch stage 13 is provided, which switch stage 13 has a changeover switch 14 and another changeover switch means 15. The digital audio signal from the analog/digital converter 5 is sent to the individual contact 1 of the changeover switch 14.
given to 6. The memory playback signal from line 9 is applied to another individual contact 17 from line 20 via changeover switch 19 . The output of the common contact 18 of the changeover switch 14 is the output of the common contact 21 of the changeover switch 15.
are applied to the variable length encoding circuit 25, the fixed length encoding circuit 26, and the conversion circuit 27 for converting from variable length to fixed length, respectively, through the respective contact points 22, 23, and 24. The outputs from these circuits 25, 26, 27 are provided to the memory 8 via the line 7 mentioned above.

可変長符号化回路25は、音声情報処理方式の一種であ
る波形符号1ヒ方式のうち、符号化を行う周期籠に固定
長の符号を出力せずに、或る規則に従って一定の長さで
はない符号を出力する、いわゆる可変長符号波形符号化
方式でアナログ音声信号を符号化する。このような方式
は、可変長符号D P C M ( Differen
Lial pulse code modulatio
n)方式ともまた呼ばれている。可変長符号DPCMは
、本実施例では可変長符号波形符号化方式の一例として
用いるものとする. 第2図に、可変長符号化回路25によって実行される可
変長符号DPCM方式の一例を示す.ここでは、第11
におけるアナログ/デジタル変換器5以降から復号化回
路10までを説明する。なれ、DPCMの符号化は2ビ
ットで行われるものとし、可変長符号の方法は「オーバ
ーレンジの時にさt,に一度だけ2ビットを割り当てる
」という方法をとるものとする. 音声信号X ( rl)は、時刻t = r+でサンプ
リングされデジタル化されていることを示す,すなわち
nは、サンプリング周期毎にr+,r++1.・・・と
増える。時刻t = r+ − 1でサンプリングされ
た信号X(r+1>は、符号2に符号1ヒされる。杵号
fヒされた?!kX ( rr − 1 >は、X−(
r+−1)に丸められ〈代表され〉る。以下、このこと
を量子化と呼ぶことにする。X(r+1)の量子化後x
゛( n − 1 >は、次の時刻nでサンプリングさ
れたX ( r+ )と比較される。X ( ri >
はX−(r+1)を中心にして、ある一定値を単位とし
て符号化が行われる。この一定値のことをステップ幅と
呼ぶことにする。第2図中の目盛りの1目盛りがステッ
プ幅である。X ( rs )は、X”(n−1>を中
心にして上方へX目怒り目に入るため符号2に符号化さ
れる。X ( rl)はX−(n)に量子1ヒされ、次
のX ( n + 1 )と比較される。ここでX (
 n +1〉に対しては一旦符号3が出力されるが、オ
ーバーレンジのため、さらにもう2ビソト費やして符号
2が出力される。したがってX < n + 1 >に
対しては、3と2の計4ビットで符号化が行われる,オ
ーバーレンジの判定は、符号Oおよび3のときに、そう
判定するものとする。
The variable length encoding circuit 25 uses a waveform code 1hi method, which is a type of audio information processing method, to output a code of a fixed length according to a certain rule without outputting a fixed length code to a periodic cage for encoding. The analog audio signal is encoded using a so-called variable-length code waveform encoding method that outputs a unique code. Such a method uses a variable length code D PCM (Differen
Real pulse code modulation
n) method. The variable length code DPCM is used in this embodiment as an example of a variable length code waveform encoding method. FIG. 2 shows an example of the variable length code DPCM method executed by the variable length encoding circuit 25. Here, the 11th
The steps from the analog/digital converter 5 onwards to the decoding circuit 10 will be explained. Assume that DPCM encoding is performed using 2 bits, and that the variable length code method is to ``allocate 2 bits only once to t when there is an overrange''. The audio signal X (rl) is sampled and digitized at time t = r+, ie, n is r+, r++1 . ...and increases. The signal X(r+1> sampled at time t = r+ − 1 is changed to code 2 by 1.KX (rr − 1> is
r+-1). Hereinafter, this will be referred to as quantization. x after quantization of X(r+1)
゛( n − 1 > is compared with X ( r + ) sampled at the next time n. X ( ri >
is encoded in units of a certain constant value with X-(r+1) as the center. This constant value will be called the step width. One division of the scale in FIG. 2 is the step width. X (rs) is encoded as code 2 because it enters the X-th point upwards with X''(n-1> as the center. It is compared with the next X (n + 1), where X (
For n+1>, code 3 is output once, but due to overrange, another two bits are spent and code 2 is output. Therefore, for X < n + 1 >, encoding is performed using a total of 4 bits, 3 and 2. Overrange is determined when the codes are O and 3.

こうして音声X ( r+−1 > 、X ( n )
 、X ( r++1)は2、2、3、2と符号化され
る.このようにして符号化された結果は、符号化系列と
してメモリ8に書込まれる.メモリ8に書込まれたデー
タを再生するときは、符号とステップ幅を元に逆の演算
を行って音声が再生される. このような留守番電話filでは、符号化する変換千段
6の可変長から固定長に変換する回路27は、録音終了
後、必要に応じて可変長で記録された符号化系列、また
はその一部を固定長に変換する機能を有している.この
機能は、たとえば録音再生装置において通常ソフトウエ
アで実現している符号化・復号化を行う部分(第1図の
25.10)と同様、ソフトウエアで実現できる。
In this way, the voice X (r+-1 > , X (n)
, X (r++1) is encoded as 2, 2, 3, 2. The result encoded in this way is written into the memory 8 as an encoded sequence. When reproducing the data written in the memory 8, the reverse calculation is performed based on the code and step width, and the audio is reproduced. In such an answering machine fil, a circuit 27 for converting from variable length to fixed length in 1,000 conversion steps 6 converts the encoded sequence recorded in variable length or a part thereof as necessary after recording is completed. It has a function to convert to a fixed length. This function can be realized by software, for example, similar to the encoding/decoding part (25.10 in FIG. 1) which is usually realized by software in a recording/reproducing device.

第3図にそのフローチャートの一例を示し、第4121
に記憶容量が減少することを示す。変換処理が開始され
るとまず、ステップn2で対象となる可変長符号化系列
の格納されたメモリ8の先頭アドレスADSTの1つ前
のアドレスがアドレスボイ,ンタADPI,ADP2に
入れられる.ADST,ADENDは予め与えられた値
であり、ある録音内容が納められているメモリ8の先頭
アドレス、最終アドレスを示すものとする。今の例では
ADEND=ADST+9とする。
An example of the flowchart is shown in FIG.
indicates that storage capacity is reduced. When the conversion process is started, first, in step n2, the address immediately before the start address ADST of the memory 8 in which the target variable-length coded sequence is stored is entered into the address registers ADPI, ADP2. It is assumed that ADST and ADEND are values given in advance and indicate the start address and end address of the memory 8 in which certain recorded content is stored. In the present example, ADEND=ADST+9.

ステンプr+ 3では、ADPI,ADP2は1ずつ足
される。ここでADP1=ADP2=ADSTとなる。
At step r+3, ADPI and ADP2 are added by 1. Here, ADP1=ADP2=ADST.

ステップrr 4では、対象となる可¥:長符号化系列
のf&終アドレスADENDとADP 1が比較される
。ここでADPI≠ADENDのため、ステップr+ 
5に移り、ADPIの示すアドレスすなわちADSTi
!:tt!!の内容(ADPI)−1が一旦、変数DA
TAに入れられる。ここで、0はその変数が示すアドレ
スの内容を示すものとする.その{矢、ステツアn 6
では、DATAの1直1がADP2の示すアドレスすな
わちADST番地に格納される。ステップn7では、次
にDATAが3または0と比較される。ここでDATA
=1のため、ステップn3に戻る.ステップrl3では
、再びADPI,ADP2にlが足され、ADPI=A
DP2=ADST+−1となる。同様にしてステップn
 4 , n 5 , n 6 , n 7と進み、再
びステップrl3に戻りADP1=ADP2=ADST
+2となる。ステップn 4 , n 5 , n 6
 , n 7と進んだ後、DATA=3が戒立し、こん
どはステップr110でADP 1=ADST+3、ス
テップrl3でADP1=ADST+4、ADP2=A
DST+3となる。ステップn4,n5と進み、DAT
Aには(ADST+4>の2が入れられる.ステップn
6では、DATAの値2はアドレスADST+3番地に
格納される。この結果、可変長符号は固定長符号に変換
される。
In step rr4, the f&end address ADEND and ADP1 of the target possible\:long coded sequence are compared. Here, since ADPI≠ADEND, step r+
5, the address indicated by ADPI, that is, ADSTi
! :tt! ! The contents of (ADPI)-1 are once changed to variable DA
You can be put in TA. Here, 0 indicates the contents of the address indicated by the variable. That {arrow, stetsua n 6
Then, DATA 1/1 is stored at the address indicated by ADP2, that is, the ADST address. In step n7, DATA is then compared with 3 or 0. Here DATA
=1, so return to step n3. In step rl3, l is added to ADPI and ADP2 again, and ADPI=A
DP2=ADST+-1. Similarly, step n
4, n5, n6, n7, then return to step rl3 again and ADP1=ADP2=ADST
It becomes +2. Steps n 4 , n 5 , n 6
, n 7, DATA=3 is set, and then ADP 1=ADST+3 in step r110, ADP1=ADST+4, ADP2=A in step rl3.
It becomes DST+3. Proceed to steps n4 and n5, and DAT
2 of (ADST+4> is entered in A. Step n
6, the value 2 of DATA is stored at address ADST+3. As a result, the variable length code is converted to a fixed length code.

以下同様にして処理は進行し、ADPIがADENDに
一致するまで続く。ADP1=ADENDが戊立すると
、ステップn8に移り,ADENDが処理前のADST
+−9からADSTM−7に更新されて処理は経了する
The process proceeds in the same manner until ADPI matches ADEND. When ADP1=ADEND is established, the process moves to step n8, and ADEND is set to ADST before processing.
+-9 is updated to ADSTM-7 and the process ends.

可変長符号化の方式は、この例の他にも考えられるが、
符号化の際に符号化対象信号にビットを割り当てる規則
(本例の可変長符号化方式では符号化結果がOおよび3
のときオーバーレンジと判定し、もう2ビン■〜割り当
てている規則〉を利用して、基本となるビッl・、それ
以外を識別し、本実施例と同様にして可変長符号から固
定長符号への変換を行えばよい。
Other variable length encoding methods are possible besides this example, but
Rules for allocating bits to the signal to be encoded during encoding (in the variable length encoding method in this example, the encoding results are O and 3).
, it is determined that there is an overrange, and using the rules for assigning two more bins, identify the basic bits and others, and convert the variable-length code to the fixed-length code in the same way as in this embodiment. All you have to do is convert to .

また変換は録音内容全体にわたって実施してもよいし、
一部にのみ実施することも可能である。
Also, the conversion may be performed on the entire recording content,
It is also possible to implement it only partially.

実施する部分を適当に調整することで、きめ細がいビ・
ソトレートの削減が可能となる。
By appropriately adjusting the parts to be implemented, fine-grained reinforcement can be achieved.
It is possible to reduce sotorate.

二の留守番電話機1では、メモリ8の消費量が少なく、
録音可能な残り時間が充分であれば、音質を重視した録
音を行い、もしも録音可能な残り時間が少ない1%身に
、録音の必要が生じたときにはメモリ8にストアされて
いる可変長符号をライン9を介して読出して、可変長か
ら固定長の符号に変換回路27によって変換し、メモリ
8の空き領域を増加させ、その後固定長符号化を行って
縁音をし、こうして音質が若干犠牲になるが、より多く
の録音時間を確保することができる。このような動作を
第5図を参照して説明する。判断回路30はメモリ8の
空きストア領域の容量を検出し、ステノプb2にijい
てメモリ8の残り容量が予め定める値以上であるものと
判断したときには、スイッチ手段13の切換えスイッチ
14の共通接点l8を個別接点16に接続し、また切換
えスイッチ15の共通接点2lを個別接点22に接続し
、こうしてアナログ/デジタル変換器5からの信号可変
長符号化回路25にあたって可変長符号化してメモリ8
にストアする。こうして音質の向上を図ることができる
。このメモリ8へのストア可能な残り容量が予め定める
値未満となったときには、ステップb2からステップb
4に移り、メモリ8にストアされている可変長符号化さ
れたストア内容を読出してライン9に導出し、この信号
は切換えスK ンチ19からライン20を経て、切換え
スイッチ14の個別接点17に与えられる。切換えスイ
ッチl4の共通接点18は個別接点17に導通され、ま
た切換えスイッチ15の共通接点21は個別接点24に
導通される。したがって、この可変長符号化゛されたス
トア内容は可変長から固定長に変換する回路27に与え
られ、ステップb5において固定長符号に変換され、録
音に必要なストア領域が小さくてもすむようにされる。
The second answering machine 1 consumes less memory 8,
If there is enough remaining recording time, recording is performed with emphasis on sound quality, and if the remaining recording time is 1% and the need for recording arises, the variable length code stored in memory 8 is used. It is read out via line 9, converted from a variable length code to a fixed length code by a conversion circuit 27, increasing the free space in the memory 8, and then fixed length encoding is performed to produce edge tones, thus slightly sacrificing sound quality. However, you can secure more recording time. Such an operation will be explained with reference to FIG. The judgment circuit 30 detects the capacity of the free storage area of the memory 8, and when it judges that the remaining capacity of the memory 8 is greater than or equal to a predetermined value by turning the steno knob b2 on, the common contact l8 of the changeover switch 14 of the switch means 13 is activated. is connected to the individual contact 16, and the common contact 2l of the changeover switch 15 is connected to the individual contact 22. In this way, the signal from the analog/digital converter 5 is input to the variable length encoding circuit 25, and is variable length encoded and stored in the memory 8.
Store in. In this way, it is possible to improve the sound quality. When the remaining capacity that can be stored in this memory 8 becomes less than a predetermined value, step b2 to step b
4, the variable-length encoded stored contents stored in the memory 8 are read out and led out to the line 9, and this signal is passed from the switch 19 to the line 20 to the individual contact 17 of the changeover switch 14. Given. The common contact 18 of the changeover switch l4 is electrically connected to the individual contact 17, and the common contact 21 of the changeover switch 15 is electrically connected to the individual contact 24. Therefore, this variable-length encoded store content is given to the variable-length to fixed-length conversion circuit 27, and is converted into a fixed-length code in step b5, so that the storage area required for recording can be reduced. Ru.

この変換回路27によって変換された固定長符号は、ス
テップb6においてライン7からメモリ8に与えられ、
再びストアされる。こうしてメモリ8にストアされてい
る可変長符号の信号の全てを、または一部を固定長に変
換してストアしなおした後に、ステッ7b7に移り、ア
ナログ/′デジタル変換器5からの新たな音声信号を切
換えスイッチ14の個別接点16および共通接点18を
経て、切換えスイッチ15の共通接点21から個別接点
23を経て固定長符号化回路26に与える。これによっ
て新たな音声信号が固定長で符号化され、ライン7を介
してメモリ8にストアされる。こうして長時間に亘る録
音が可能になる。
The fixed length code converted by this conversion circuit 27 is given to the memory 8 from the line 7 in step b6,
It will be stored again. After converting all or part of the variable-length code signal stored in the memory 8 into a fixed-length signal and storing it again, the process moves to step 7b7, where a new audio signal from the analog/'digital converter 5 is converted. The signal is applied to the fixed length encoding circuit 26 via the individual contact 16 and the common contact 18 of the changeover switch 14, and from the common contact 21 to the individual contact 23 of the changeover switch 15. This causes a new audio signal to be coded to a fixed length and stored in memory 8 via line 7. In this way, recording over a long period of time becomes possible.

メモリ8にストアされた内容は,ライン9を経て続出し
て前述のように切換えスインチ19から復号化回路10
に与えて復号化し、デジタル/アナログ変換器11にお
いてアナログ音声信号に変換し、音響化千段12によっ
て音響化する。
The contents stored in the memory 8 are sequentially output via line 9 from the switching switch 19 to the decoding circuit 10 as described above.
The digital/analog converter 11 converts the signal into an analog audio signal, which is then converted into sound by the 1,000-stage sonification stage 12.

第6Il2Iは、本発明の池の実施ρjのプロノク図で
ある。この実施例は前述の実施例にM似し、対応する部
分には同一の参照符を1+す。処理回路32はアナログ
,/デジタル変換器5からのデジタル化された音声信号
に応答し、可変長に符号化し、或はまた固定長に符号化
してライン7を介してメモリ8にストアする。
No. 6 Il2I is a Pronoc diagram of the pond implementation ρj of the present invention. This embodiment is similar to the previous embodiment and corresponding parts have the same reference numerals 1+. Processing circuitry 32 is responsive to the digitized audio signal from analog to digital converter 5 and stores it in memory 8 via line 7 in either variable length or fixed length encoding.

第7図は、第6図に示される処理回路32の動作を説明
するた♂)のフローチャートである.ステ・ソブa 1
からステップa2に移り、メモリ8のストア可能な残り
容量が予め定める値以上であるときにはステソ7 a 
3に移り、アナログ/デジタル変換器5からのデジタル
化された音声信号を可変長で符号化し、音質を重視した
録音を行うことができる。このメモリ8の録音可能な残
り容量が前記予め定める値未満となって少なくなったと
きにはステップa4に移り、アナログ/デジタル変換器
5からのデジタル音声信号を固定長で符号化してライン
7からメモリ8に与えてストアする.こうして長時間に
亘る録音が可能になる。このような実施例もまた、本発
明の精神に含まれる。
FIG. 7 is a flowchart for explaining the operation of the processing circuit 32 shown in FIG. 6. Ste Sob a 1
The process moves to step a2, and if the remaining storage capacity of the memory 8 is equal to or greater than a predetermined value, the Steso 7 a
Moving on to step 3, the digitized audio signal from the analog/digital converter 5 is encoded with variable length, and recording can be performed with emphasis on sound quality. When the remaining recordable capacity of the memory 8 becomes less than the predetermined value, the process moves to step a4, where the digital audio signal from the analog/digital converter 5 is encoded in a fixed length and transmitted from the line 7 to the memory 8. Give it to and store it. In this way, recording over a long period of time becomes possible. Such embodiments are also within the spirit of the invention.

本発明の他の実施例として、可変長符号化を行うために
、前述の可変長符号化回路25!5よび処理回路32は
、音声情報処理方式の一種であるパラメータn号化方式
の内、分析、符号化を行う周期海に、固定長の符号を出
力せずに、或る規則に従って一定の長さではない符号を
出力する可変長符号パラメータ符号化方式を行うように
携或してもよい。可変長で符号化するための方式として
、その他の方式を行うようにしてもよい。
As another embodiment of the present invention, in order to perform variable length encoding, the variable length encoding circuit 25!5 and the processing circuit 32 perform a parameter n encoding method, which is a type of audio information processing method. It is also possible to implement a variable-length code parameter encoding method that outputs a code with a non-fixed length according to a certain rule instead of outputting a fixed-length code in the periodic sea that performs analysis and encoding. good. Other methods may be used as the variable length encoding method.

本発明は、留守番電話機に関連して実施されるだけでな
く、その他音声を録音するために、広範囲に実施するこ
とができる。
The present invention can be widely implemented not only in conjunction with answering machines, but also for recording voice in other ways.

発明の効果 以上のように本発明によれば、音声の可変長符号を固定
長符号に変換することによってきめ細かくビットレート
の削減を行い、あるいはまた、メモリにストアされてい
る可変長符号を固定長符号に変換してメモリにストアし
、こうして可及的に音質を向上して、多量の音声情報を
メモリにストアすることが可能になる.
Effects of the Invention As described above, according to the present invention, the bit rate is finely reduced by converting the variable length code of audio into a fixed length code, or alternatively, the variable length code stored in the memory is converted into a fixed length code. By converting it into a code and storing it in memory, it becomes possible to improve the sound quality as much as possible and store a large amount of audio information in memory.

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

第1図は本発明の一実施例の全体のブロック図、第2図
は可変長符号化DPCM方式を説明するための図、第3
図は可変長符号を固定長符号に変換する回路27の動作
を説明するためのフローチャーl・、第4図はその回路
27の動作を説明するための図、第5図は第1図に示さ
れる符号化/変換手fl 6の動作を説明するためのフ
ローチャート、第6l2Iは本発明の他の実施例の一部
のブロック図、第7図は第6図に示される実施例の動作
を説明するためのフローチャートである。 1・・・留守番電話機、5・・・アナログ/デジタル変
換器、6・・・符号化/変換手段、8・・・メモリ、1
0・・・復号化回路、11・・・デジタル/アナログ変
換器、12・・・音響化手段、13・・・スイッチ手段
、25・・・可変艮符号化回路、26・・・固定長符号
化回路、27・・・可変長から固定長に変換する回路、
30・・・判断回路
FIG. 1 is an overall block diagram of an embodiment of the present invention, FIG. 2 is a diagram for explaining the variable length coding DPCM system, and FIG.
The figure is a flowchart for explaining the operation of the circuit 27 that converts a variable length code into a fixed length code, FIG. 4 is a flowchart for explaining the operation of the circuit 27, and FIG. A flowchart for explaining the operation of the encoder/converter shown in FIG. 6, No. 6l2I is a block diagram of a part of another embodiment of the present invention, and FIG. It is a flow chart for explanation. DESCRIPTION OF SYMBOLS 1... Answering machine, 5... Analog/digital converter, 6... Encoding/conversion means, 8... Memory, 1
0...Decoding circuit, 11...Digital/analog converter, 12...Soundizing means, 13...Switching means, 25...Variable encoder circuit, 26...Fixed length code conversion circuit, 27...circuit for converting from variable length to fixed length,
30... Judgment circuit

Claims (1)

【特許請求の範囲】 音声を可変長で符号化し、もしくは固定長で符号化し、
または可変長符号を固定長符号に変換する符号化/変換
手段と、 符号化/変換手段の出力をストアするメモリとを含むこ
とを特徴とする音声記録装置。
[Claims] Audio is encoded in variable length or fixed length,
Alternatively, an audio recording device comprising: encoding/converting means for converting a variable length code into a fixed length code; and a memory for storing the output of the encoding/converting means.
JP1194734A 1989-07-26 1989-07-26 Voice recorder Pending JPH0357000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1194734A JPH0357000A (en) 1989-07-26 1989-07-26 Voice recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1194734A JPH0357000A (en) 1989-07-26 1989-07-26 Voice recorder

Publications (1)

Publication Number Publication Date
JPH0357000A true JPH0357000A (en) 1991-03-12

Family

ID=16329346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1194734A Pending JPH0357000A (en) 1989-07-26 1989-07-26 Voice recorder

Country Status (1)

Country Link
JP (1) JPH0357000A (en)

Similar Documents

Publication Publication Date Title
JP3134392B2 (en) Signal encoding apparatus and method, signal decoding apparatus and method, signal recording apparatus and method, and signal reproducing apparatus and method
US6480550B1 (en) Method of compressing an analogue signal
US5206851A (en) Cross interleaving circuit
JPH0738437A (en) Codec device
JPH0357000A (en) Voice recorder
JP3227929B2 (en) Speech encoding apparatus and decoding apparatus for encoded signal
US6373421B2 (en) Voice recording/reproducing device by using adaptive differential pulse code modulation method
JPS6122370B2 (en)
JP2905215B2 (en) Recording and playback device
JPH0715519A (en) Voice storage device
JP2582762B2 (en) Silence compression sound recording device
JP3237374B2 (en) Digital signal recording device, digital signal reproducing device, and digital signal recording / reproducing device
KR0141237B1 (en) Audio signal recording/reproducing method
JPH07287600A (en) Voice storage device
JPS61103200A (en) Voice storage reproducer
JPH0411421A (en) Pulse code modulation transmitter
JPS6251534B2 (en)
JP3117236B2 (en) Information storage device
JPS59132227A (en) Analog-digital converter
JPS6011896A (en) Voice recorder
JPS5926040B2 (en) speech synthesizer
JPH01197793A (en) Speech synthesizer
JPH0279549A (en) Voice signal encoding storing device
JPS60202570A (en) Double-structure storage system of sound information
JPS63271400A (en) Voice synthesization output device