JPH07169291A - Voice recording device and voice reproducing device - Google Patents

Voice recording device and voice reproducing device

Info

Publication number
JPH07169291A
JPH07169291A JP5309366A JP30936693A JPH07169291A JP H07169291 A JPH07169291 A JP H07169291A JP 5309366 A JP5309366 A JP 5309366A JP 30936693 A JP30936693 A JP 30936693A JP H07169291 A JPH07169291 A JP H07169291A
Authority
JP
Japan
Prior art keywords
recording
voice
frame
information
recorded
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.)
Withdrawn
Application number
JP5309366A
Other languages
Japanese (ja)
Inventor
Takashi Onishi
孝史 大西
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP5309366A priority Critical patent/JPH07169291A/en
Publication of JPH07169291A publication Critical patent/JPH07169291A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To continuously record without degrading voice quality and to efficiently use a memory section by discriminating whether voice information of each frame is voiced or silent, storing the discriminated result information in a memory section, and recording voice information in a silent section again when capacity of the memory section reaches the maximum storing capacity. CONSTITUTION:Digital voice information by a microphone 1 and an A/D converter 3 is encoded by a encoding/decoding section 4, and frame voice information is stored in a voice memory section 9 and recorded. In this case, it is discriminated by a system control section 5 whether frame voice information is voiced or silent, the discriminated result 1 or 0 is recorded. And when capacity of the memory section 9 reaches the maximum storing capacity, frame voice information succeeding to a part of the memory section 9 in which silent discriminating information 0 is recorded is recorded again, the last address value recorded again is also stored. Thereby, continuous recording can be performed without degrading voice quality and the memory can be efficiently used. Furthermore, reproduction is performed in the same way.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音声記録装置及び音声
再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice recording device and a voice reproducing device.

【0002】[0002]

【従来の技術】音声記録装置の1つとして、マイクから
入力される音声信号を圧縮して符号化し、符号化された
データを半導体メモリに記録するデジタルレコーダがあ
る。特開平2−162954号公報は、このようなデジ
タルデコーダにおいて、半導体メモリの占有率を低下さ
せるために、半導体メモリの音声データ格納量が最大格
納容量に達した後にこの音声データを一旦抽出し、所定
の音声圧縮処理を施した後、再び記録する方法を開示し
ている。
2. Description of the Related Art As one of audio recording devices, there is a digital recorder that compresses and encodes an audio signal input from a microphone and records the encoded data in a semiconductor memory. JP-A-2-162954 discloses that in such a digital decoder, in order to reduce the occupation ratio of the semiconductor memory, the audio data is temporarily extracted after the audio data storage amount of the semiconductor memory reaches the maximum storage capacity. A method of recording again after performing a predetermined audio compression process is disclosed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
た特開平2−162954号公報に記載のものは、半導
体メモリが最大格納容量に達したときに、記録したデー
タの再圧縮を行うために一旦録音動作を中断するので、
連続した録音ができなくなると共に、全体的な録音時間
が長くなるという欠点があった。又、記録した音声デー
タを抽出して再度圧縮処理を施していたので、再生した
ときの音質が低下してしまうという問題があった。
However, the above-mentioned Japanese Patent Laid-Open Publication No. Hei 2-162954 discloses recording once in order to recompress recorded data when the semiconductor memory reaches the maximum storage capacity. Because it interrupts the operation,
It has the drawback that continuous recording is not possible and the overall recording time is long. Further, since the recorded audio data is extracted and the compression processing is performed again, there is a problem that the sound quality when reproduced is deteriorated.

【0004】本発明の音声記録装置及び音声再生装置は
このような課題に着目してなされたものであり、その目
的とするところは、音質を低下させずに連続した録音が
可能であり、かつ半導体メモリを効率よく使用すること
ができる音声記録装置及び音声再生装置を提供すること
にある。
The audio recording apparatus and the audio reproducing apparatus of the present invention have been made by paying attention to such a problem, and an object thereof is to enable continuous recording without deteriorating the sound quality, and An object of the present invention is to provide an audio recording device and an audio reproducing device that can efficiently use a semiconductor memory.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明は、入力される音声信号をデジタル信号に
変換し、音声分析合成系のフレーム単位で符号化を行
い、半導体メモリに記録する音声記録装置であって、各
フレームの音声情報が有音に係るものであるか、無音に
係るものであるかを判別する判別手段と、判別した各フ
レームの音声情報が有音に係るものであれば第1、無音
に係るものであれば第2の判別情報を記録する判別情報
記録手段と、半導体メモリの容量が最大格納容量に達し
たら所定の位置に戻り、第2の判別情報が付されたフレ
ームに音声情報を再記録すると共に、判別情報は第2の
ままに保持する再記録手段と、再記録した最後のフレー
ムのアドレス値を格納するアドレス値格納手段とを具備
する。
In order to achieve the above object, the present invention converts an input voice signal into a digital signal, encodes it in frame units of a voice analysis and synthesis system, and stores it in a semiconductor memory. An audio recording device for recording, wherein a determination unit determines whether the audio information of each frame is related to voice or silence, and the determined audio information of each frame is related to voice. If there is one, the first discriminating information recording means for recording the second discriminating information, and if the capacity of the semiconductor memory reaches the maximum storage capacity, it returns to a predetermined position, and the second discriminating information. The audio information is re-recorded in the frame marked with, and the discrimination information is retained as the second re-recording means, and the address value storage means for storing the address value of the last re-recorded frame.

【0006】又、本発明は、音声データがフレーム単位
で構成されると共に、記録された音声データが有音であ
るか無音であるかを示す情報と、一旦記録された音声デ
ータの無音フレームに音声データを再記録した場合の最
終アドレスが記録された半導体メモリから音声情報を再
生する音声再生装置であって、再記録に係る最終アドレ
ス情報の有無を検出する検出手段と、再記録に係る最終
アドレスが検出された場合、再記録に係る部分について
は有音フレームのみを順次再生し、半導体メモリの最終
アドレスに達したら無音フレームに再記録された音声情
報を、再記録に係る最終アドレスまで順次再生する再生
制御手段とを具備する。
Further, according to the present invention, the audio data is composed in units of frames, and information indicating whether the recorded audio data is voiced or silenced and a silence frame of the audio data once recorded are provided. A voice reproducing device for reproducing voice information from a semiconductor memory in which a final address when voice data is re-recorded is recorded. When the address is detected, only the voiced frames are sequentially reproduced for the part related to the re-recording, and when the final address of the semiconductor memory is reached, the audio information re-recorded in the silent frame is sequentially processed until the final address related to the re-recording. And a reproduction control means for reproducing.

【0007】[0007]

【作用】すなわち、本発明の音声記録装置は、音声分析
合成系のフレーム単位で音声信号を半導体メモリに記録
するにあたって、各フレームの音声情報が有音に係るも
のであるか、無音に係るものであるかを判別し、判別し
た各フレームの音声情報が有音に係るものであれば第
1、無音に係るものであれば第2の判別情報を記録す
る。そして、半導体メモリの容量が最大格納容量に達し
たら所定の位置に戻り、判別情報は第2のままに保持し
つつ第2の判別情報が付されたフレームに音声情報を再
記録すると共に、再記録した最後のフレームのアドレス
値を格納する。
That is, in the audio recording apparatus of the present invention, when the audio signal is recorded in the semiconductor memory in frame units of the audio analysis and synthesis system, the audio information of each frame is related to the presence or absence of sound. If the audio information of each frame that has been discriminated is voiced, the first discriminant information is recorded, and if it is voiceless, the second discrimination information is recorded. Then, when the capacity of the semiconductor memory reaches the maximum storage capacity, the semiconductor memory returns to a predetermined position, the discrimination information is held as it is while the voice information is re-recorded in the frame to which the second discrimination information is added, and The address value of the last recorded frame is stored.

【0008】又、本発明の音声再生装置は、音声データ
がフレーム単位で構成されると共に、記録された音声デ
ータが有音であるか無音であるかを示す情報と、一旦記
録された音声データの無音フレームに音声データを再記
録した場合の最終アドレスが記録された半導体メモリか
ら音声情報を再生するにあたって、再記録に係る最終ア
ドレス情報の有無を検出し、再記録に係る最終アドレス
が検出された場合、再記録に係る部分については有音フ
レームのみを順次再生し、半導体メモリの最終アドレス
に達したら無音フレームに再記録された音声情報を、再
記録に係る最終アドレスまで順次再生する。
In the audio reproducing apparatus of the present invention, the audio data is composed in units of frames, the recorded audio data indicates whether the recorded audio data is voiced or silent, and the audio data once recorded. When reproducing the audio information from the semiconductor memory in which the final address is recorded when the audio data is re-recorded in the silent frame, the presence or absence of the final address information related to the re-recording is detected, and the final address related to the re-recording is detected. In this case, only voiced frames are sequentially reproduced for the portion related to re-recording, and when the final address of the semiconductor memory is reached, the audio information re-recorded in the silent frame is sequentially reproduced up to the final address for re-recording.

【0009】[0009]

【実施例】以下、図面を参照して本発明の一実施例を詳
細に説明する。図1は、本発明が適用されるデジタルレ
コーダのブロック構成図である。同図において、マイク
1はマイクアンプ2とA/D変換器3とを介して符号/
復号化部4の第1端子に接続されている。また、スピー
カ12はパワーアンプ11とD/A変換器10とを介し
て符号/復号化部4の第2端子に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram of a digital recorder to which the present invention is applied. In the figure, the microphone 1 is coded via a microphone amplifier 2 and an A / D converter 3.
It is connected to the first terminal of the decoding unit 4. The speaker 12 is connected to the second terminal of the encoding / decoding unit 4 via the power amplifier 11 and the D / A converter 10.

【0010】この符号/復号化部4の第3端子はメモリ
制御部7を介して音声メモリ部9に接続されている。一
方、システム制御部5は各部の制御を行なうべく、録
音、再生、停止等の操作釦を有する操作入力部6と、符
号/復号化部4と、メモリ制御部7とに接続されると共
に、アドレスカウンタ8を介して音声メモリ部9に接続
されている。
The third terminal of the encoding / decoding unit 4 is connected to the audio memory unit 9 via the memory control unit 7. On the other hand, the system control unit 5 is connected to the operation input unit 6 having operation buttons for recording, playing, and stopping, the encoding / decoding unit 4, and the memory control unit 7 in order to control each unit. It is connected to the voice memory unit 9 via the address counter 8.

【0011】上記した構成において、録音時、入力音声
信号はマイク1によってアナログ電気信号に変換され、
マイクアンプ2によって増幅されてA/D変換器3に入
力される。A/D変換器3はアナログ電気信号をデジタ
ル信号に変換する。符号/復号化部4はこのデジタル信
号に対して音声分析合成系のフレーム単位で符号化を行
なう。符号化されたデジタル信号はメモリ制御部7を介
して音声メモリ部9に記憶される。この音声メモリ部9
にはメモリ制御部7から出力されるデータの他に、録音
内容の頭出し等に用いられるインデックスデータと、再
書き込み最終アドレスとが記憶される。アドレスカウン
タ8は、システム制御部5から与えられるアドレスデー
タに従ってカウント動作を行い、音声メモリ部9に対し
て、アドレス指定を行う。
In the above structure, the input voice signal is converted into an analog electric signal by the microphone 1 during recording,
It is amplified by the microphone amplifier 2 and input to the A / D converter 3. The A / D converter 3 converts an analog electric signal into a digital signal. The encoding / decoding unit 4 encodes the digital signal in frame units of a voice analysis / synthesis system. The encoded digital signal is stored in the audio memory unit 9 via the memory control unit 7. This voice memory unit 9
In addition to the data output from the memory control unit 7, the index data used for finding the beginning of the recorded contents and the rewriting final address are stored in the memory. The address counter 8 performs a counting operation in accordance with the address data given from the system control unit 5, and addresses the voice memory unit 9.

【0012】次に、再生時において、音声メモリ部9に
記憶されたデジタルデータが読み出され、メモリ制御部
7を介して符号/復号化部4に供給される。符号/復号
化部4は読み出されたデジタルデータに対して復号化を
行なう。復号化されたデジタルデータはD/A変換器1
0においてアナログ音声信号に戻され、パワーアンプ1
1によって増幅されてスピーカ12から出力される。
Next, during reproduction, the digital data stored in the audio memory unit 9 is read out and supplied to the encoding / decoding unit 4 via the memory control unit 7. The encoding / decoding unit 4 decodes the read digital data. The decoded digital data is the D / A converter 1
At 0, it is converted back to an analog audio signal and the power amplifier
It is amplified by 1 and output from the speaker 12.

【0013】システム制御部5は、上記した録音及び再
生動作中、符号/復号化回路4、メモリ制御部7、音声
メモリ部9、アドレスカウンタ8の動作を制御する。図
2は、上記音声メモリ部9の記録構成を示す図である。
即ちメモリ空間は、再書き込み最終フレームアドレス部
(以後RWEAD部と呼ぶ)9aと、インデックス部9
bと、音声データ部9cとに大きく3分されている。こ
こで、RWEAD部9aに対しては先頭アドレスが割り
当てられ、0の値が書き込まれている。このことより、
音声データ部9c及びこの音声データ部9cに含まれる
無音フレームは0番地以降のアドレスとなる。本実施例
では、音声メモリ部9が最大格納容量に達したとき所定
のアドレス値まで戻り、そこから無音フレーム部に新た
な音声データを再書き込みするが、その際に録音停止釦
が押圧されると、最後に書き込んだ無音フレーム部のア
ドレス値をRWEAD部9aに書き込む。この場合、R
WEAD部9aに書き込まれるアドレスは上記したこと
より0番地以降のアドレスとなる。逆に、音声メモリ部
9が最大格納容量に達せず無音フレーム部に新たな音声
データが再書き込みされない場合はRWEAD部9aに
は0が書き込まれたままである。したがって、RWEA
D部9aの値によって音声メモリ部9が最大格納容量に
達しているかどうかの判断が可能である。
The system control unit 5 controls the operations of the encoding / decoding circuit 4, the memory control unit 7, the audio memory unit 9, and the address counter 8 during the above-described recording and reproducing operations. FIG. 2 is a diagram showing a recording configuration of the voice memory unit 9.
That is, the memory space is composed of the rewriting final frame address portion (hereinafter referred to as the RWEAD portion) 9a and the index portion 9
It is roughly divided into b and the voice data section 9c. Here, a head address is assigned to the RWEAD unit 9a and a value of 0 is written. From this,
The voice data portion 9c and the silent frame included in the voice data portion 9c have addresses 0 and subsequent addresses. In this embodiment, when the voice memory unit 9 reaches the maximum storage capacity, the voice memory unit 9 returns to a predetermined address value, and new voice data is rewritten from there to the silent frame portion, but at that time, the recording stop button is pressed. Then, the last written address value of the silent frame portion is written in the RWEAD portion 9a. In this case, R
As described above, the address written in the WEAD section 9a is the address after address 0. On the contrary, when the voice memory unit 9 does not reach the maximum storage capacity and new voice data is not rewritten in the silent frame portion, 0 is still written in the RWEAD unit 9a. Therefore, RWEA
It is possible to judge whether or not the voice memory unit 9 has reached the maximum storage capacity based on the value of the D unit 9a.

【0014】インデックス部9bには、音声データ部9
cに記憶される複数の音声メッセージファイルそれぞれ
について操作開始位置情報と、操作終了位置情報が記録
される。
The index section 9b includes a voice data section 9
The operation start position information and the operation end position information are recorded for each of the plurality of voice message files stored in c.

【0015】次に本実施例に係るデジタルレコーダの動
作を録音モード時と再生モード時の2つの場合について
詳細に説明する。まず、録音モード時の動作を図5のフ
ローチャートを参照して説明する。まず、操作入力部9
の録音釦が押圧されるまで待ち状態にする(ステップS
1、S2)。録音釦が押圧されると、RWEAD部9a
の値がエンドアドレスか否かを判断してエンドアドレス
の場合は終了する(ステップS3)。エンドアドレスで
ない場合は、RWEAD部9aの値が0か否かを判断し
(ステップS4)、0である場合は、前述したように音
声メモリ9が最大格納容量に達していないと判別し、メ
モリ制御部7は、音声メモリ部9の音声データ部9cに
おける録音スタート位置を求め、そのスタート位置を示
すスタートアドレスをインデックス部9bに操作開始情
報として記憶させると共に、アドレスカウンタ8にもセ
ットする(ステップS6)。
Next, the operation of the digital recorder according to this embodiment will be described in detail in two cases of the recording mode and the reproduction mode. First, the operation in the recording mode will be described with reference to the flowchart of FIG. First, the operation input unit 9
Wait until the record button is pressed (step S
1, S2). When the record button is pressed, the RWEAD section 9a
Is determined to be the end address, and if the value is the end address, the process ends (step S3). If it is not the end address, it is determined whether or not the value of the RWEAD unit 9a is 0 (step S4). If it is 0, it is determined that the voice memory 9 has not reached the maximum storage capacity as described above, and the memory The control unit 7 obtains the recording start position in the voice data unit 9c of the voice memory unit 9, stores the start address indicating the start position in the index unit 9b as the operation start information, and sets it in the address counter 8 (step). S6).

【0016】その後はA/D変換器3よりの音声データ
を、符号/復号化部4により1フレーム分符号化し(ス
テップS7)、符号化したフレームが有音であるか、無
音であるかの判定を行う(ステップS8)。有音である
と判定した場合、有音か無音かの判別フラグであるVS
を1(ステップS10)に、無音と判定した場合は、V
Sを0(ステップS9)にセットする。次にアドレスカ
ウンタ8の値が、メモリのエンドアドレスか否かを判断
し(ステップS11)、エンドアドレスでなければ、符
号化データと、有音/無音の判別フラグVSとを、アド
レスカウンタ8の示すアドレス値に記憶し(ステップS
12)、アドレスカウンタ8の値を更新する(ステップ
S13)。そして、録音停止釦が押圧されているかを検
出し(ステップS14)、押圧されていれば、メモリが
格納量に達していないことを示す情報である0を、RW
EAD部9aに記憶し(ステップS15)、終了位置を
確定して、録音処理から抜け出る(ステップS16)。
また押圧されていなければステップS7へジャンプす
る。
After that, the audio data from the A / D converter 3 is encoded by the encoding / decoding unit 4 for one frame (step S7), and whether the encoded frame is voiced or silent. A determination is made (step S8). When it is determined that the voice is present, VS which is a flag for determining whether the voice is present or not.
To 1 (step S10), and when it is determined that there is no sound, V
S is set to 0 (step S9). Next, it is determined whether or not the value of the address counter 8 is the end address of the memory (step S11), and if it is not the end address, the encoded data and the voice / silent discrimination flag VS are set in the address counter 8. Store in the indicated address value (step S
12), the value of the address counter 8 is updated (step S13). Then, it is detected whether or not the recording stop button is pressed (step S14), and if pressed, 0, which is information indicating that the memory has not reached the storage amount, is set to RW.
It is stored in the EAD unit 9a (step S15), the end position is determined, and the recording process is exited (step S16).
If not pressed, the process jumps to step S7.

【0017】ステップS11において、アドレスカウン
タ8の値がメモリのエンドアドレスである場合、即ちメ
モリが最大格納容量に達した場合はインデックス部9b
に記憶した操作開始位置情報としてのスタートアドレス
をアドレスカウンタ8にセットする(ステップS1
7)。以下このスタートアドレスから再書き込みが実行
されるが、再書き込みされる部分は現在記憶している音
声メッセージファイルの無音部のみである。しかしなが
ら、アドレスカウンタ8にセットする値を音声データ部
9cの先頭アドレスとすれば、全ての音声メッセージフ
ァイルの無音部に記憶でき、最長時間の録音が可能とな
る。
In step S11, if the value of the address counter 8 is the end address of the memory, that is, if the memory reaches the maximum storage capacity, the index section 9b.
The start address as the operation start position information stored in step S1 is set in the address counter 8 (step S1).
7). After that, rewriting is executed from this start address, but the rewritten part is only the silent part of the voice message file currently stored. However, if the value set in the address counter 8 is used as the start address of the voice data section 9c, it can be stored in the silent section of all the voice message files, and the longest recording is possible.

【0018】そして、現在のアドレスカウンタ8の示し
ている音声データ部9cの有音/無音判定フラグを検出
し(ステップS18)、判別フラグVSが0即ち、無音
であれば、符号/復号化部4により1フレーム分の音声
データを符号化し(ステップS19)、この符号化デー
タを現在のアドレスカウンタ8の示している音声データ
部9cに再記憶する(ステップS20)。
Then, the voice / non-voice determination flag of the voice data portion 9c indicated by the current address counter 8 is detected (step S18). If the discrimination flag VS is 0, that is, no voice, the encoding / decoding portion is detected. 4, the voice data for one frame is encoded (step S19), and the encoded data is stored again in the voice data section 9c indicated by the current address counter 8 (step S20).

【0019】ここで、記憶する音声データは有音/無音
の両方の再記憶となるが、有音のみを記憶させたい場合
は、ステップS19において符号化の際に有音/無音の
判定をも行ない、ステップ20では有音のみを記憶する
ようにすればよい。次に、録音停止釦が押圧されていた
かどうかの検出をし(ステップS21)、押圧されてい
れば、現在のアドレスカウンタ8の値をRWEAD部9
aに記憶し(ステップS22)、終了位置を確定して録
音処理から抜け出る(ステップS23)。
Here, the voice data to be stored is to be re-stored for both voiced and silent voices. However, if it is desired to store only voiced voices, the determination of voiced voices / voiceless voices is also performed at the time of encoding in step S19. It suffices to store only the voice in step 20. Next, it is detected whether or not the recording stop button is pressed (step S21), and if it is pressed, the current value of the address counter 8 is read by the RWEAD unit 9
It is stored in a (step S22), the end position is determined, and the recording process is exited (step S23).

【0020】一方、押圧されていなければステップ24
へジャンプして現在のアドレスカウンタ8の値を更新
し、次にこの値がエンドアドレスか否かを判断する(ス
テップS25)。ここでアドレスカウンタ8の値がエン
ドアドレスであればステップ26へジャンプして終了す
る。また、エンドアドレスでなければステップ18へジ
ャンプする。
On the other hand, if not pressed, step 24
It jumps to and updates the current value of the address counter 8, and then determines whether or not this value is the end address (step S25). If the value of the address counter 8 is the end address, the process jumps to step 26 and ends. If it is not the end address, the process jumps to step 18.

【0021】なお、ステップ4においてRWEAD部9
aが0でない場合、即ちメモリが最大格納容量に達し無
音フレームに再書き込みがなされている時、RWEAD
部9aの内容を、アドレスカウンタ8にコピーし(ステ
ップS5)、ステップS24へジャンプする。
In step 4, the RWEAD unit 9
When a is not 0, that is, when the memory reaches the maximum storage capacity and rewriting is performed in a silent frame, RWEAD
The contents of the section 9a are copied to the address counter 8 (step S5) and the process jumps to step S24.

【0022】図3(a)はマイク1から入力された音声
波形を示しており、フレーム間隔t01 とtn-1n
は無音部である。図3(b)はこのような音声波形が音
声メモリ部9に記録された状態を示す図であり、音声メ
モリ部9が最大格納容量に達する前の状態を示してい
る。同図においてフレーム間隔t01 とtn-1n
対応する第1フレーム及び第nフレームは無音部なので
判別フラグVSは0にセットされ、フレーム間隔t1
2 に対応する第2フレームは有音なので判別フラグVS
は1にセットされている。
FIG. 3 (a) shows a voice waveform input from the microphone 1 and includes frame intervals t 0 t 1 and t n-1 t n.
Is a silent part. FIG. 3B is a diagram showing a state in which such a voice waveform is recorded in the voice memory unit 9, and shows a state before the voice memory unit 9 reaches the maximum storage capacity. In the figure, since the first frame and the n-th frame corresponding to the frame intervals t 0 t 1 and t n-1 t n are silent parts, the discrimination flag VS is set to 0, and the frame interval t 1 t
Since the second frame corresponding to 2 has sound, the discrimination flag VS
Is set to 1.

【0023】図4(b)は音声メモリ部9が最大格納容
量に達した後に、図4(a)に示すフレーム間隔t0
1 及びtn-1n に属する有音情報を音声メモリ部9に
再記憶した状態を示す図である。この場合、判別フラグ
VSは再記録された後も同じ状態が保持される。
FIG. 4B shows the frame interval t 0 t shown in FIG. 4A after the audio memory unit 9 reaches the maximum storage capacity.
It is a figure which shows the state which re-stored the voiced information which belongs to 1 and t n-1 t n in the audio | voice memory part 9. In this case, the discrimination flag VS is kept in the same state even after being re-recorded.

【0024】次に、図6のフローチャートを参照して再
生モード時の動作を詳細に説明する。まず、再生釦が押
圧されるまで待ち状態とする(ステップST1,ST
2)。そして再生釦が押圧されたとき、音声データ部9
cの読み出し位置をインデックス部9bの動作位置情報
より得、これをスタートアドレスとしてアドレスカウン
タ8にセットする(ステップST3)。そして、再書き
込みが行われているか否か、すなわちRWEAD部9a
の値が0であるか否かを検出し(ステップST4)、0
の場合は前記したように再書き込みが行われていないと
判定し、現在のアドレスカウンタ8の示している音声デ
ータ部9のアドレスより符号化データを読み出し、符号
/復号化部4において復号化し、D/A変換器10に復
号化されたデータを渡して再生を行う(ステップST
5)。次に、現在のアドレスカウンタ8の値がエンドア
ドレスであるか否かを検出し(ステップST6)、エン
ドアドレスであれば再生処理を抜け出して終了する(ス
テップST8)。又、エンドアドレスでない場合は現在
のアドレスカウンタ8を更新し(ステップST7)、ス
テップST5へジャンプする。
Next, the operation in the reproduction mode will be described in detail with reference to the flowchart of FIG. First, the state is kept waiting until the play button is pressed (steps ST1, ST
2). When the play button is pressed, the audio data section 9
The read position of c is obtained from the operation position information of the index portion 9b, and this is set as the start address in the address counter 8 (step ST3). Then, whether or not the rewriting is performed, that is, the RWEAD unit 9a
It is detected whether the value of 0 is 0 (step ST4), 0
In the case of, as described above, it is determined that the rewriting is not performed, the encoded data is read from the address of the audio data unit 9 currently indicated by the address counter 8, and is decoded by the encoding / decoding unit 4, The decrypted data is passed to the D / A converter 10 for reproduction (step ST
5). Next, it is detected whether or not the current value of the address counter 8 is the end address (step ST6), and if it is the end address, the reproducing process is exited and the process ends (step ST8). If it is not the end address, the current address counter 8 is updated (step ST7) and the process jumps to step ST5.

【0025】また、ステップST4でRWEAD部9a
の値が0でないときは再書き込みがなされていると判断
されるのでステップST9へジャンプし、現在のアドレ
スレジスタ8と、RWEAD部9aとの値を比較する。
ここで、ステップST9の条件が満たされない場合は再
生開始アドレスからRWEAD部9aのアドレスまでの
領域は再書き込みがなされているので判別フラグVSが
0か否かを判断する(ステップST10)。ここで判別
フラグVSが0でない場合は有音部であると判断される
のでこの領域に記憶されている音声データを読み出して
再生する。また、VSが0である場合は無音部と見なさ
れるのでアドレスカウンタ8を更新して(ステップST
11)、ステップST9に戻る。
In step ST4, the RWEAD unit 9a
If the value is not 0, it is determined that rewriting has been performed, so the process jumps to step ST9 to compare the current value of the address register 8 and the value of the RWEAD unit 9a.
If the condition of step ST9 is not satisfied, the area from the reproduction start address to the address of the RWEAD section 9a has been rewritten, so it is determined whether the determination flag VS is 0 (step ST10). If the determination flag VS is not 0 here, it is determined that the voiced portion is present, so the audio data stored in this area is read and reproduced. Further, when VS is 0, it is regarded as a silent portion, so the address counter 8 is updated (step ST
11), and returns to step ST9.

【0026】一方、アドレスカウンタ8の値がステップ
9の条件を満たす場合は再書き込みされた音声データが
存在しないのでステップST12にジャンプして通常の
再生が行われる。
On the other hand, when the value of the address counter 8 satisfies the condition of step 9, there is no rewritten audio data, so that the process jumps to step ST12 and normal reproduction is performed.

【0027】次にアドレスカウンタ8を更新して現在の
アドレスカウンタ8の値がエンドアドレスか否かを判断
し(ステップST13、ST14)、エンドアドレスで
ない場合はステップST9にジャンプする。また、エン
ドアドレスである場合はインデックス部9bの再生動作
位置情報をスタートアドレスとしてアドレスカウンタ8
にセットする(ステップST15)。そしてアドレスカ
ウンタ8を更新しながら無音部(VS=0)に記憶され
ている音声データを読み出して再生を行なう(ステップ
ST16、ステップST18、ステップST19、ステ
ップST21のループ)。ここで、ステップST18で
判別フラグVSが0でない場合はアドレスカウンタ8を
更新してステップST16にジャンプする(ステップS
T20)。
Next, the address counter 8 is updated to determine whether or not the current value of the address counter 8 is the end address (steps ST13 and ST14). If it is not the end address, the process jumps to step ST9. If it is the end address, the address counter 8 uses the reproduction operation position information of the index portion 9b as the start address.
(Step ST15). Then, while updating the address counter 8, the voice data stored in the silent portion (VS = 0) is read out and reproduced (loop of step ST16, step ST18, step ST19, step ST21). Here, if the determination flag VS is not 0 in step ST18, the address counter 8 is updated and the process jumps to step ST16 (step S16).
T20).

【0028】上記した処理をアドレスカウンタ8の値が
RWEAD部9aの値と一致するまで行ない、一致した
ときに再生処理を抜け出す(ステップST17)。以上
のように、本実施例の第1の構成に係る音声記録装置
は、入力される音声信号をデジタル信号に変換し、音声
分析合成系のフレーム単位で符号化を行い、半導体メモ
リ(音声メモリ部9)に記録するものであり、各フレー
ムの音声情報が有音に係るものであるか、無音に係るも
のであるかを判別する判別手段(システム制御部5)
と、判別した各フレームの音声情報が有音に係るもので
あれば第1の判別情報(VS=1)、無音に係るもので
あれば第2の判別情報(VS=0)を記録する判別情報
記録手段(音声データ部9c)と、半導体メモリの容量
が最大格納容量に達したら所定の位置、例えば、現在記
憶している音声メッセージファイルの先頭アドレスある
いは、音声データ部9cの先頭アドレス位置に戻り、第
2の判別情報が付されたフレームに音声情報を再記録す
ると共に、判別情報は第2のままに保持する再記録手段
(システム制御部5)と、再記録した最後のフレームの
アドレス値を格納するアドレス値格納手段(RWEAD
部9a)とを具備する。
The above-described processing is repeated until the value of the address counter 8 matches the value of the RWEAD section 9a, and when they match, the reproduction processing is exited (step ST17). As described above, the audio recording apparatus according to the first configuration of the present embodiment converts the input audio signal into a digital signal, performs the encoding on a frame-by-frame basis of the audio analysis / synthesis system, and converts it into a semiconductor memory (audio memory). Which is recorded in the section 9) and determines whether the audio information of each frame is related to voice or silence (system control section 5).
If the audio information of each of the determined frames is related to voice, the first determination information (VS = 1) is recorded, and if it is related to silence, the second determination information (VS = 0) is recorded. When the capacity of the information recording means (voice data section 9c) and the semiconductor memory reaches the maximum storage capacity, a predetermined position, for example, the start address of the currently stored voice message file or the start address position of the voice data section 9c is reached. Returning, the voice information is re-recorded in the frame to which the second discrimination information is added, and the discrimination information (system control unit 5) for holding the discrimination information in the second state and the address of the last frame re-recorded. Address value storage means (RWEAD) for storing a value
Section 9a).

【0029】また、本実施例の第2の構成では上記した
第1の構成において、再記録手段が有音のみを再記録す
る手段を含む。また、本実施例の第3の構成では上記し
た第1の構成又は第2の構成において、第2の判別情報
が付されたフレームが所定数以上連続する場合に、再記
録手段が当該フレームに音声情報を再記録する手段を含
む。従って、音声情報は連続した無音フレームのみに、
あるいは連続した無音フレームに優先的に再記録される
こととなる。
Further, in the second structure of the present embodiment, in the above-mentioned first structure, the re-recording means includes means for re-recording only voiced sound. In addition, in the third configuration of the present embodiment, in the first configuration or the second configuration described above, when the frames to which the second determination information is added continue for a predetermined number or more, the re-recording unit changes the frame to the frame. It includes means for rerecording audio information. Therefore, the audio information is only for consecutive silent frames,
Alternatively, the continuous silent frames are preferentially re-recorded.

【0030】また、本実施例の第4の構成に係る音声再
生装置は、音声データがフレーム単位で構成されると共
に、記録された音声データが有音であるか無音であるか
を示す情報と、一旦記録された音声データの無音フレー
ムに音声データを再記録した場合の最終アドレスが記録
された半導体メモリ(音声メモリ部9)から音声情報を
再生するものであり、再記録に係る最終アドレス情報の
有無を検出する検出手段(システム制御部5)と、再記
録に係る最終アドレスが検出された場合、再記録に係る
部分については有音フレームのみを順次再生し、半導体
メモリの最終アドレスに達したら無音フレームに再記録
された音声情報を、再記録に係る最終アドレスまで順次
再生する再生制御手段(システム制御部5)とを具備す
る。
Further, in the audio reproducing apparatus according to the fourth structure of the present embodiment, the audio data is composed in units of frames, and the information indicating whether the recorded audio data is voiced or silent. The final address information relating to the re-recording is to reproduce the voice information from the semiconductor memory (the voice memory unit 9) in which the final address when the voice data is re-recorded in the silent frame of the recorded voice data is recorded. If a detection means (system control unit 5) for detecting the presence or absence of the re-recording and a final address related to the re-recording are detected, only voiced frames are sequentially reproduced for the portion related to the re-recording, and the final address of the semiconductor memory is reached. Then, a reproduction control unit (system control unit 5) is provided which sequentially reproduces the voice information re-recorded in the silent frame up to the final address related to the re-recording.

【0031】また、本実施例の第5の構成では上記した
第4の構成において、再記録に係る最終アドレスからメ
モリの最終アドレスまでの間については、再生制御手段
は有音フレームとともに無音フレームも順次再生する手
段を含む。
Further, in the fifth configuration of the present embodiment, in the fourth configuration described above, between the final address relating to re-recording and the final address of the memory, the reproduction control means includes the voiced frame and the silent frame. It includes means for sequentially reproducing.

【0032】したがって、上記第1の構成によれば、半
導体メモリが最大格納容量に達しても無音部に新たな音
声データを再書き込みできるので、音質を低下させずに
連続して録音することができ、かつメモリを効率よく使
用することができる。
Therefore, according to the first configuration, even if the semiconductor memory reaches the maximum storage capacity, new voice data can be rewritten in the silent portion, so that continuous recording can be performed without degrading the sound quality. It is possible to use the memory efficiently.

【0033】また、上記第2の構成によれば、有音のみ
を再記録するので、メモリを有効に利用することが可能
となる。また、上記第3の構成によれば、無音フレーム
が分離されて存在している場合に比べて、各フレームの
つなぎがスムーズになるので、再生時の音質が良くな
る。
Further, according to the second configuration, since only voiced speech is re-recorded, the memory can be effectively used. Further, according to the third configuration, as compared with the case where silent frames are present separately, the connection of each frame becomes smoother, so that the sound quality at the time of reproduction is improved.

【0034】また、上記第4の構成によれば、記録順序
に従った自然な再生が可能となる。また、上記第5の構
成によれば、再記録に係らない部分については高品質の
再生が可能となる。
Further, according to the above-mentioned fourth structure, natural reproduction according to the recording order becomes possible. Further, according to the fifth configuration, it is possible to reproduce with high quality in the portion that is not related to re-recording.

【0035】[0035]

【発明の効果】以上詳述したように、本発明の音声記録
装置によれば、半導体メモリが最大格納容量に達しても
無音部に新たな音声データを再書き込みできるので、音
質を低下させずに連続して録音することができ、かつメ
モリを効率よく使用することができる。また、本発明の
音声再生装置によれば、記録順序に従った自然な再生が
可能となる。
As described above in detail, according to the voice recording apparatus of the present invention, even if the semiconductor memory reaches the maximum storage capacity, new voice data can be rewritten in the silent portion, so that the sound quality is not deteriorated. Can be continuously recorded, and the memory can be used efficiently. Further, according to the audio reproducing device of the present invention, natural reproduction according to the recording order is possible.

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

【図1】本発明が適用されるデジタルレコーダのブロッ
ク構成図である。
FIG. 1 is a block diagram of a digital recorder to which the present invention is applied.

【図2】音声メモリ部の記録構成を示す図である。FIG. 2 is a diagram showing a recording configuration of an audio memory unit.

【図3】(a)はマイクから入力された音声波形を示し
ており、(b)は音声メモリ部が最大格納容量に達する
前に、このような音声波形が音声メモリ部に記録された
状態を示す図である。
FIG. 3A shows a voice waveform input from a microphone, and FIG. 3B shows a state in which such a voice waveform is recorded in the voice memory unit before the voice memory unit reaches the maximum storage capacity. FIG.

【図4】(a)は、音声メモリ部が最大格納容量に達し
た後に無音部に再記録される音声波形を図3(a)に示
す音声波形に付加した場合の音声波形を示す図であり、
(b)は、音声メモリ部が最大格納容量に達した後に、
その無音部に音声波形を記録した状態を示す図である。
FIG. 4A is a diagram showing a voice waveform when a voice waveform rerecorded in a silent portion after the voice memory unit reaches the maximum storage capacity is added to the voice waveform shown in FIG. Yes,
(B) shows that after the voice memory unit reaches the maximum storage capacity,
It is a figure which shows the state which recorded the audio waveform in the silent part.

【図5】本実施例に係るデジタルレコーダの録音モード
時の動作を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of the digital recorder according to the present embodiment in a recording mode.

【図6】本実施例に係るデジタルレコーダの再生モード
時の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation in a reproduction mode of the digital recorder according to the present embodiment.

【符号の説明】[Explanation of symbols]

1…マイク、2…マイクアンプ、3…A/D変換器、4
…符号/復号化部、5…メモリ制御部、6…操作入力
部、7…メモリ制御部、8…アドレスカウンタ、9…音
声メモリ部。
1 ... Microphone, 2 ... Microphone amplifier, 3 ... A / D converter, 4
... encoding / decoding section, 5 ... memory control section, 6 ... operation input section, 7 ... memory control section, 8 ... address counter, 9 ... voice memory section.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力される音声信号をデジタル信号に変
換し、音声分析合成系のフレーム単位で符号化を行い、
半導体メモリに記録する音声記録装置であって、 各フレームの音声情報が有音に係るものであるか、無音
に係るものであるかを判別する判別手段と、 判別した各フレームの音声情報が有音に係るものであれ
ば第1、無音に係るものであれば第2の判別情報を記録
する判別情報記録手段と、 半導体メモリの容量が最大格納容量に達したら所定の位
置に戻り、第2の判別情報が付されたフレームに音声情
報を再記録すると共に、判別情報は第2のままに保持す
る再記録手段と、 再記録した最後のフレームのアドレス値を格納するアド
レス値格納手段と、を具備することを特徴とする音声記
録装置。
1. An input voice signal is converted into a digital signal and encoded in frame units of a voice analysis and synthesis system,
An audio recording device for recording in a semiconductor memory, wherein the audio information of each frame has a determination means for determining whether the audio information is related to voice or silence, and the audio information of each determined frame is present. Discrimination information recording means for recording the first discrimination information for sounds and second discrimination information for sounds, and returning to a predetermined position when the capacity of the semiconductor memory reaches the maximum storage capacity, and second Re-recording means for re-recording the voice information in the frame to which the discrimination information is attached, holding the discrimination information in the second state, and address value storing means for storing the address value of the last re-recorded frame, An audio recording device comprising:
【請求項2】 上記再記録手段は、有音のみを再記録す
ることを特徴とする請求項1記載の音声記録装置。
2. The voice recording apparatus according to claim 1, wherein the re-recording means re-records only voiced sound.
【請求項3】 上記再記録手段は、第2の判別情報が付
されたフレームが所定数以上連続する場合に、当該フレ
ームに音声情報を再記録することを特徴とする請求項1
又は2記載の音声記録装置。
3. The re-recording means re-records the audio information in the frame when the frame to which the second discrimination information is added continues for a predetermined number or more.
Or the voice recording device according to 2.
【請求項4】 音声データがフレーム単位で構成される
と共に、記録された音声データが有音であるか無音であ
るかを示す情報と、一旦記録された音声データの無音フ
レームに音声データを再記録した場合の最終アドレスが
記録された半導体メモリから音声情報を再生する音声再
生装置であって、 再記録に係る最終アドレス情報の有無を検出する検出手
段と、 再記録に係る最終アドレスが検出された場合、再記録に
係る部分については有音フレームのみを順次再生し、半
導体メモリの最終アドレスに達したら無音フレームに再
記録された音声情報を、再記録に係る最終アドレスまで
順次再生する再生制御手段と、を具備することを特徴と
する音声再生装置。
4. The audio data is composed on a frame-by-frame basis, and information indicating whether the recorded audio data is voiced or silenced, and the audio data is reproduced in a silent frame of the audio data once recorded. A voice reproducing device for reproducing voice information from a semiconductor memory in which a final address when recorded is recorded, the detecting means detecting presence / absence of final address information relating to re-recording, and a final address relating to re-recording being detected. In the case of the re-recording, only the voiced frames are sequentially played back, and when the final address of the semiconductor memory is reached, the audio information re-recorded in the silent frames is sequentially played back to the final address related to the re-recording. And a means for reproducing the sound.
【請求項5】 上記再生制御手段は、再記録に係る最終
アドレスから半導体メモリの最終アドレスまでの間につ
いては、有音フレームとともに無音フレームも順次再生
することを特徴とする請求項4記載の音声再生装置。
5. The audio according to claim 4, wherein the reproduction control means sequentially reproduces a voiced frame and a silent frame between the final address related to the re-recording and the final address of the semiconductor memory. Playback device.
JP5309366A 1993-12-09 1993-12-09 Voice recording device and voice reproducing device Withdrawn JPH07169291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5309366A JPH07169291A (en) 1993-12-09 1993-12-09 Voice recording device and voice reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5309366A JPH07169291A (en) 1993-12-09 1993-12-09 Voice recording device and voice reproducing device

Publications (1)

Publication Number Publication Date
JPH07169291A true JPH07169291A (en) 1995-07-04

Family

ID=17992142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5309366A Withdrawn JPH07169291A (en) 1993-12-09 1993-12-09 Voice recording device and voice reproducing device

Country Status (1)

Country Link
JP (1) JPH07169291A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0849924A2 (en) * 1996-12-20 1998-06-24 Nokia Mobile Phones Ltd. Method and arrangement for recording a call on a memory medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0849924A2 (en) * 1996-12-20 1998-06-24 Nokia Mobile Phones Ltd. Method and arrangement for recording a call on a memory medium
EP0849924A3 (en) * 1996-12-20 2003-06-04 Nokia Corporation Method and arrangement for recording a call on a memory medium

Similar Documents

Publication Publication Date Title
EP0536792B1 (en) Audio sound recording/reproducing apparatus using semiconductor memory
JPH07325600A (en) Portable recording and reproducing apparatus,ic-memory-card recording format and recording and reproducing method
JPH10187199A (en) Semiconductor storage medium recording device and semiconductor storage medium reproducing device
US5357595A (en) Sound recording and reproducing apparatus for detecting and compensating for recorded periods of silence during replay
JP3968206B2 (en) Playback device
JPH07169291A (en) Voice recording device and voice reproducing device
JP3889672B2 (en) Data recording / reproducing device
JP2582762B2 (en) Silence compression sound recording device
JPH06139705A (en) Information recording medium and reproducing device
JP2549105B2 (en) Information recording / playback method
JP4529859B2 (en) Audio playback device
JP2001117596A (en) Method and device for audio signal reproduction
JPH0368399B2 (en)
WO1994024667A1 (en) Apparatus for recording and reproducing voice
JPH0927189A (en) Voice information reproducing system
JP4164613B2 (en) Signal reproduction method and signal reproduction apparatus
JPS6011896A (en) Voice recorder
KR100212537B1 (en) Studying apparatus and studying method using video/cd system
JP3923594B2 (en) Audio recording / playback device
KR0150163B1 (en) Recording apparatus and method thereof
JP3368202B2 (en) Recording and playback device
JPH07121193A (en) Sound signal recorder
JPH07271398A (en) Audio recorder
JPH0785639A (en) Disk device
JPH0287199A (en) System and device for sounding actuation for voice

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306