JPH04283471A - Silent processor - Google Patents

Silent processor

Info

Publication number
JPH04283471A
JPH04283471A JP3048031A JP4803191A JPH04283471A JP H04283471 A JPH04283471 A JP H04283471A JP 3048031 A JP3048031 A JP 3048031A JP 4803191 A JP4803191 A JP 4803191A JP H04283471 A JPH04283471 A JP H04283471A
Authority
JP
Japan
Prior art keywords
value
silence
audio data
sound
audio
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
JP3048031A
Other languages
Japanese (ja)
Inventor
Takashi Otsuki
隆志 大槻
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3048031A priority Critical patent/JPH04283471A/en
Publication of JPH04283471A publication Critical patent/JPH04283471A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To operate an optimal processing according to a situation by comparing the number of voice data obtained by adding an additional value to a reference value with reference voice data, and using the sum of the additional number and the minimum value as a threshold value. CONSTITUTION:A D/A converting processing is operated by an audio block 2, and the compressing and extending processing of voice information, and silence detection are operated by an ADPCM block 10. The compressed and extended voice information are stored in a buffer 11 and a host memory 12. The threshold value is set at the time of receiving a voice signal, and used as the reference of the judgement of the sound and silence of sampling data. Then, the voice data are stored through the memory 12 in an RAM 13. Then, a CPU 14 reads out the voice data from the RAM 13, and retrieves the minimum data from among the voice data having sound. Moreover, the CPU 14 calculates the number of the added voice data obtained by adding a prescribed number to the minimum value, and compared it with the minimum value. A control part uses the sum of the minimum value and the additional value as the threshold value from this compared result. Thus, the optimal silent processing can be attained according to the situation.

Description

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

【0001】0001

【産業上の利用分野】本発明は、デジタル化された音声
情報を符号化して記録する装置であって、無音処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for encoding and recording digitized audio information, and more particularly to a silence processing apparatus.

【0002】0002

【従来の技術】音声情報を符号化して例えばCD(コン
パクトディスク)−i,CD−ROM等の記録媒体に記
録する場合、従来、必要とする音声情報を含まない無音
状態における情報についても符号化し上記記録媒体に記
録していた。よって、上記記録媒体の記録容量は無音状
態の情報によっても消費され上記記憶容量が効率的に使
用されていないという問題点があった。
2. Description of the Related Art When audio information is encoded and recorded on a recording medium such as a CD (compact disc)-i or CD-ROM, conventionally, information in a silent state that does not include the necessary audio information is also encoded. It was recorded on the above recording medium. Therefore, there is a problem in that the recording capacity of the recording medium is consumed even by information in a silent state, and the storage capacity is not used efficiently.

【0003】このような問題点を解決するために、本願
出願人は以下に示すような無音処理装置を提案した。図
7に示すように、マイクロフォン等にて電気信号に変換
された音声情報は、入力端子1を介してオーディオブロ
ック2に供給され、オーディオブロック2にてデジタル
変換され符号化器3に送出される。デジタル変換された
音声信号の情報量を削減し、さらにノイズシェイピング
することでノイズが減少され、さらに量子化器6にて音
声信号のまるめが行なわれ、符号化器3の出力信号とし
て、記録媒体管理回路7へ送出される。又、オーディオ
ブロック2の出力信号は、符号化器3を構成する有音無
音判定部5に送出され、有音無音判定部5はオーディオ
ブロック2の出力信号を1サウンドユニット単位で監視
し、1サウンドユニット内にしきい値を越える振幅値を
有する上記出力信号が少なくとも一つあればそのサウン
ドユニットは有音のサウンドユニットと判定し、その旨
の信号をシステム制御部4へ送出する。尚、1サウンド
ユニット内にしきい値を越える振幅値を有する出力信号
が存在しない場合にはそのサウンドユニットは無音のサ
ウンドユニットと判定され、その旨の信号がシステム制
御部4へ送出される。尚、上記サウンドユニットとは、
音声信号を符号化するため入力音声情報のサンプリング
が所定数行なわれたものの集合を表す単位であり、例え
ば28回のサンプリングに対応する情報が1サウンドユ
ニットの情報となる。又、上記サウンドユニットの集合
単位をセクタと言い、N個のサウンドユニットにて1セ
クタとするものであり、1セクタに無音のサウンドユニ
ットが何個存在するかを無音率にて表す。例えば、1セ
クタでM個の無音サウンドユニットが計数された場合に
は無音率はM/Nとなる。システム制御部4は、供給さ
れるサウンドユニットの信号に基づき無音のサウンドユ
ニットの計数を行い、その計数値より無音率を算出しそ
の算出結果を予め設定されている所定値αと比較する。 そして上記無音率値が所定値α以上である場合には、シ
ステム制御部4は、そのセクタを無音のセクタと判定し
その旨の信号を記録媒体管理回路7へ送出する。尚、無
音率が所定値α以下の場合にはシステム制御部4は有音
のセクタと判定し、その旨の信号を記録媒体管理回路7
へ送出する。記録媒体管理回路7は、システム制御部4
より無音の旨の信号が供給された場合には、符号化器3
より送出される符号化データを記録媒体であるディスク
に記録せず、無音を表すフラグのみをディスクのヘッダ
情報、あるいは該ディスクとは別設されるセクタ情報収
納部に記録し、一方、システム制御部4より有音の旨の
信号が供給された場合には、符号化器3より送出される
符号化データ及び有音のフラグをディスクあるいは上記
セクタ情報収納部に記録する。又、上述のようにしてC
D−ROM等に記録された音声情報を再生する場合には
、記録媒体管理回路7は、記録時に予め各セクタ毎にそ
のセクタの有音あるいは無音を表す信号が格納されたセ
クタ情報格納部にアクセスし有音のセクタ情報に該当す
る音声情報を上記ディスクより読み出す。このように本
実施例の無音処理装置によれば、マイクロフォンより送
出される信号が無音状態にあるときには、その情報を記
録媒体に記録しないので、記録媒体の記録容量を効率的
に使用することができる。尚、上記実施例では、記録媒
体としてCD−ROMあるいはCD−iを使用している
が、これに限るものではなくデジタル信号にて処理され
た信号を記録する媒体、例えばRAM等の半導体メモリ
であっても良い。
[0003] In order to solve these problems, the applicant of the present application has proposed a silence processing device as shown below. As shown in FIG. 7, audio information converted into an electrical signal by a microphone or the like is supplied to an audio block 2 via an input terminal 1, where it is digitally converted and sent to an encoder 3. . Noise is reduced by reducing the amount of information in the digitally converted audio signal and performing noise shaping.The quantizer 6 rounds the audio signal, and the output signal from the encoder 3 is sent to the recording medium. It is sent to the management circuit 7. Further, the output signal of the audio block 2 is sent to the utterance/non-sound determination section 5 that constitutes the encoder 3, and the utterance/non-sound determination section 5 monitors the output signal of the audio block 2 in units of one sound unit. If there is at least one output signal having an amplitude value exceeding the threshold value in a sound unit, that sound unit is determined to be a sound unit, and a signal to that effect is sent to the system control section 4. Note that if there is no output signal having an amplitude value exceeding the threshold within one sound unit, that sound unit is determined to be a silent sound unit, and a signal to that effect is sent to the system control section 4. In addition, the above sound unit is
It is a unit representing a set of input audio information sampled a predetermined number of times in order to encode an audio signal, and for example, information corresponding to 28 samplings becomes information of one sound unit. Further, the collective unit of the sound units is called a sector, and one sector is made up of N sound units, and the number of silent sound units in one sector is expressed by the silence rate. For example, if M silent sound units are counted in one sector, the silent rate is M/N. The system control unit 4 counts silent sound units based on the supplied sound unit signals, calculates a silence rate from the counted value, and compares the calculation result with a predetermined value α. If the silence rate value is equal to or greater than the predetermined value α, the system control unit 4 determines that the sector is a silent sector and sends a signal to that effect to the recording medium management circuit 7. Note that if the silent rate is less than or equal to the predetermined value α, the system control unit 4 determines that the sector is a sound sector, and sends a signal to that effect to the recording medium management circuit 7.
Send to. The recording medium management circuit 7 is connected to the system control unit 4
If a signal indicating silence is supplied, the encoder 3
The encoded data sent by the system is not recorded on the disk as a recording medium, but only a flag indicating silence is recorded in the header information of the disk or in a sector information storage section installed separately from the disk.On the other hand, the system control When a signal indicating that there is a sound is supplied from the section 4, the encoded data sent from the encoder 3 and the sound presence flag are recorded on the disk or the sector information storage section. Also, as described above, C
When reproducing audio information recorded on a D-ROM or the like, the recording medium management circuit 7 stores information for each sector in advance in a sector information storage section in which a signal indicating whether the sector is sound or silent is stored. The audio information corresponding to the accessed and audio sector information is read from the disk. As described above, according to the silence processing device of this embodiment, when the signal sent from the microphone is in a silent state, that information is not recorded on the recording medium, so that the recording capacity of the recording medium can be used efficiently. can. In the above embodiments, a CD-ROM or a CD-i is used as the recording medium, but the present invention is not limited to this, and a medium for recording signals processed as digital signals, such as a semiconductor memory such as a RAM, may also be used. It's okay to have one.

【0004】0004

【発明が解決しようとする課題】ところが、上記サウン
ドユニットの有音無音の判断基準となるサンプリングし
た音声情報における有音無音の判断基準である上述した
しきい値は従来の無音処理装置においては固定された値
であった。しかし上記しきい値は、本無音処理装置を応
用するシステム、例えば電話回線や通常の会話の記録等
によって適切な値に設定しなければ、実際には記録に必
要な音声情報であるのに拘わらず無音と判断されるおぞ
れがある。又、同じシステムであってもそのときの情況
に応じて上記しきい値を変化させる必要がある。例えば
電話回線においては通話者の周囲の騒音が大きい場合と
小さい場合とでは上記しきい値を適切に変化させなけれ
ば適切な無音処理が行えない。
[Problems to be Solved by the Invention] However, the above-mentioned threshold value, which is the criterion for determining whether the sound unit is uttered or not, is fixed in the conventional silence processing device. was the value given. However, if the above threshold value is not set to an appropriate value in a system to which this silence processing device is applied, such as recording a telephone line or a normal conversation, the sound information may actually be recorded. There is a sleet that is considered silent. Furthermore, even in the same system, it is necessary to change the threshold value depending on the situation at that time. For example, in a telephone line, appropriate silence processing cannot be performed unless the threshold value is appropriately changed depending on whether the noise around the caller is loud or low.

【0005】又、上述のようにCD−ROM等に記録さ
れた音声情報を再生する場合には、上記セクタ情報格納
部にアクセスする必要があるが、その際、無音を表すセ
クタ情報のみが連続して記録されていると無音を示すセ
クタ情報の読み出しが連続することになり、再生時間が
長くなるという問題点もある。本発明はこのような点を
考慮し、情況に応じて適切な無音処理がなされる無音処
理装置を提供することを目的とする。
[0005] Furthermore, when reproducing audio information recorded on a CD-ROM or the like as described above, it is necessary to access the sector information storage section, but at this time, only sector information representing silence is continuous. If the sector information is recorded as such, sector information indicating silence will have to be read out continuously, resulting in a problem that the playback time will become longer. The present invention takes these points into consideration, and an object of the present invention is to provide a silence processing device that can perform appropriate silence processing depending on the situation.

【0006】[0006]

【課題を解決するための手段とその作用】本発明は、デ
ジタル信号にてなる音声データの有音無音をしきい値を
基準に判断し、有音と判断された音声データのみを記録
する無音処理装置において、有音と判断されたときから
一定時間に供給される音声データを格納する格納部と、
上記格納部に格納された音声データ内より基準値を有す
る音声データの数である基準音声データ数を計数し、上
記基準値に加算値を加算した被加算値を有する音声デー
タの数である被加算音声データ数を計数し、上記基準音
声データ数と被加算音声データ数との計数値を比較した
比較結果が所定値以上あるいは所定値以下となったとき
上記基準値と上記加算値とを加算した値を上記しきい値
に設定する制御部と、を備えたことを特徴とする。
[Means for Solving the Problems and Their Effects] The present invention provides a method for determining the presence or absence of sound in audio data consisting of digital signals based on a threshold value, and recording only the audio data that is determined to be sound. In the processing device, a storage unit that stores audio data supplied for a certain period of time from when it is determined that there is a sound;
The number of reference audio data, which is the number of audio data having a reference value, is counted from among the audio data stored in the storage unit, and the number of audio data, which is the number of audio data having an augend value obtained by adding an additive value to the reference value, is counted. Count the number of audio data to be added, and when the comparison result of the counted value between the reference number of audio data and the number of audio data to be added is greater than or equal to a predetermined value, add the reference value and the additional value. and a control unit that sets the value as the threshold value.

【0007】このように構成することで、制御部は格納
部に格納された音声データ群より例えば最小値を有する
音声データの個数を基準音声データ数として計数する。 さらに制御部は、上記最小値に1を加算した値を有する
音声データの個数を上記格納された音声データ群より第
1の個数として計数する。そして例えば上記基準音声デ
ータ数の1/2の個数が上記第1の個数より大きければ
演算を終了し、小さければ上記最小値に2を加算した値
を有する音声データの個数を上記格納された音声データ
群より第2の個数として計数する。そして制御部は上記
第1の個数の1/2の個数が上記第2の個数より大きい
か否かを判断し、以後同様に演算が進行する。そして制
御部は、演算が終了した時点で、上記最小値に加算した
加算数と上記最小値との加算結果値をしきい値に設定す
る。このように制御部は適切なしきい値を設定可能なよ
うに作用する。
[0007] With this configuration, the control section counts, for example, the number of audio data having the minimum value from the audio data group stored in the storage section as the reference audio data number. Further, the control unit counts the number of audio data having a value obtained by adding 1 to the minimum value as a first number from the stored audio data group. For example, if 1/2 of the reference number of audio data is larger than the first number, the calculation is terminated, and if it is smaller, the number of audio data having the value obtained by adding 2 to the minimum value is calculated as the number of audio data in the stored audio. It is counted as the second number from the data group. Then, the control unit determines whether 1/2 of the first number is larger than the second number, and the calculation proceeds in the same manner thereafter. Then, when the calculation is completed, the control section sets the addition result value of the addition number added to the minimum value and the minimum value as a threshold value. In this way, the control section operates so that an appropriate threshold value can be set.

【0008】さらに本発明は、デジタル信号にてなる音
声データの有音無音を予め設定したしきい値を基準に判
断し、有音と判断された音声データのみを記録する無音
処理装置において、有音と判断されたときから一定時間
に供給される音声データを格納する格納部と、上記格納
部に格納される音声データが有する値の内から最小値を
検出し、上記最小値と予め設定されたしきい値との差分
を求め該差分に応じて無音処理を行う入力音声情報の入
力レベルを変化させる制御部と、を備えたことを特徴と
する。
Furthermore, the present invention provides a silence processing device that determines the presence/absence of audio data in the form of a digital signal based on a preset threshold and records only the audio data determined to be audio. A storage section that stores audio data supplied for a certain period of time from the time when it is determined to be a sound, and a minimum value among the values of the audio data stored in the storage section, and a minimum value that is set in advance as the minimum value. The present invention is characterized by comprising: a control unit that changes the input level of input audio information that calculates the difference between the input audio information and the threshold value and performs silence processing according to the difference.

【0009】このように構成することで、制御部は入力
する音声情報が有する信号レベルと予め設定されている
しきい値の信号レベルとの相対関係が適切となるように
入力する音声情報の信号レベルを適宜変化させるように
作用する。
With this configuration, the control unit adjusts the signal of the input audio information so that the relative relationship between the signal level of the input audio information and the preset threshold signal level is appropriate. It acts to change the level appropriately.

【0010】さらに本発明は、デジタル変換された音声
情報の有音無音を判定し、無音情報の計数を行い記録媒
体への音声情報の読み書きの最小単位における無音数の
計数結果に基づき上記最小単位毎に有音あるいは無音の
旨の信号を有音無音信号格納部へ送出するとともに、無
音の旨の信号を送出している間は記録媒体への音声信号
の記録を行わず、一方、上記有音無音信号格納部に格納
された有音無音信号に基づき上記記録媒体に記録された
音声信号の再生を行う無音処理装置において、無音を示
す信号が連続して複数供給される場合には一つの無音を
示す信号のみを格納する有音無音信号格納部を備えたこ
とを特徴とする。
Furthermore, the present invention determines the utterance or silence of digitally converted audio information, counts the silence information, and calculates the number of silences in the minimum unit based on the result of counting the number of silences in the minimum unit of reading and writing audio information to a recording medium. At the same time, a signal indicating whether there is a sound or no sound is sent to the sound/silence signal storage section, and while a signal indicating no sound is being sent, no audio signal is recorded on the recording medium. In the silence processing device that reproduces the audio signal recorded on the recording medium based on the sound/silence signal stored in the sound/silence signal storage section, when a plurality of signals indicating silence are continuously supplied, one The present invention is characterized in that it includes a voice/silence signal storage section that stores only signals indicating silence.

【0011】このように構成することで有音無音信号格
納部に格納される無音を示す信号の数が減少し信号の読
み出しに要する時間の短縮に作用する。
[0011] With this configuration, the number of signals indicating silence stored in the utterance/silence signal storage section is reduced, and the time required to read out the signals is shortened.

【0012】0012

【実施例】本発明の無音処理装置の一実施例を示す図1
において、マイクロフォン等にて検出された音声情報の
アンチエイリアシングフィルタ処理、スムージングフィ
ルタ処理、A/D変換処理、又、CD−i等から読み出
されたデジタル信号にてなる音声情報のD/A変換処理
を行うオーディオブロック2は、デジタル信号にてなる
音声情報の圧縮、伸張処理及び無音検出を行うADPC
Mブロック10に接続される。ADPCMブロック10
は、圧縮、伸張された音声情報を格納するバッファ11
、及びホストメモリ12に接続される。ホストメモリ1
2は、後述するセクタ情報等を一時記憶するメモリであ
り、RAM(ランダム アクセス メモリ)13に接続
され、又、ホストメモリ12はバッファ11とRAM1
3間のDMAC(ダイレクト メモリ アクセス コン
トロール)動作も行う。
[Embodiment] FIG. 1 shows an embodiment of the silence processing device of the present invention.
, anti-aliasing filter processing, smoothing filter processing, A/D conversion processing of audio information detected by a microphone etc., and D/A conversion of audio information made of digital signals read from CD-i etc. The audio block 2 that performs processing is an ADPC that performs compression and decompression processing of audio information in the form of digital signals, and silence detection.
Connected to M block 10. ADPCM block 10
is a buffer 11 that stores compressed and expanded audio information.
, and the host memory 12. host memory 1
2 is a memory for temporarily storing sector information, etc., which will be described later, and is connected to a RAM (random access memory) 13, and the host memory 12 is connected to a buffer 11 and a RAM 1.
It also performs DMAC (direct memory access control) operations between 3 memory cells.

【0013】上述したADPCMブロック10、ホスト
メモリ12及びRAM13は、それぞれアドレスバス及
びデータバスを介してCPU(中央演算処理装置)14
に接続され、又、該アドレスバス及びデータバスは例え
ばCD−iに音声情報を書き込むための不図示の書込回
路に接続される。
The ADPCM block 10, host memory 12 and RAM 13 described above are connected to a CPU (central processing unit) 14 via an address bus and a data bus, respectively.
Further, the address bus and data bus are connected to a write circuit (not shown) for writing audio information to, for example, a CD-i.

【0014】このように構成される無音処理装置におけ
る動作を以下に説明する。本実施例における無音処理装
置では、サウンドユニットを構成する各サンプリングデ
ータの有音無音の判断基準となるしきい値を音声情報を
受信後にまず設定する。このしきい値の設定について以
下に説明する。オーディオブロック2は、マイクロフォ
ン等を介して入力した音声情報を上記フィルタ処理した
後、A/D変換したデジタル信号の音声データをADP
CMブロック10へ送出する。尚、オーディオブロック
2より送出される音声データのビットデータがすべて0
である、いわゆる無音以外のいわゆる有音が検出された
時点から約1,2秒間にオーディオブロック2が送出す
る音声データは、無音データ及び有音データを問わずす
べてバッファ11に格納される。
The operation of the silence processing apparatus constructed as described above will be explained below. In the silence processing device of this embodiment, a threshold value, which is a criterion for determining the presence or absence of each sampling data constituting a sound unit, is first set after receiving audio information. The setting of this threshold value will be explained below. The audio block 2 performs the above-mentioned filter processing on audio information input via a microphone, etc., and then converts the audio data of the A/D-converted digital signal into an ADP.
It is sent to the CM block 10. Note that all bit data of audio data sent from audio block 2 is 0.
All audio data sent by the audio block 2 for about 1 to 2 seconds from the time when so-called sound other than so-called silence is detected is stored in the buffer 11, regardless of whether it is silent data or sound data.

【0015】次に、バッファ11に格納された上記音声
データは、ホストメモリ12内のDMACを介してRA
M13に記憶された後、CPU14はRAM13に記憶
された音声データをデータバスを介して読み出し、有音
である音声データの中から最も値が小さい音声データを
検索し、検索された音声データの有する値、即ち最小値
をホストメモリ12に記憶する。尚、説明上、上記最小
値は「a」とする。又、図2に示すステップ(図内では
Sにて示す)1においては「α」に相当するのが上記「
a」である。
Next, the audio data stored in the buffer 11 is transferred to the RA via the DMAC in the host memory 12.
After being stored in the M13, the CPU 14 reads out the audio data stored in the RAM 13 via the data bus, searches for the audio data with the smallest value from among the audio data that has sound, and searches The value, ie the minimum value, is stored in host memory 12. Incidentally, for the sake of explanation, the above minimum value is assumed to be "a". In addition, in step 1 shown in FIG. 2 (indicated by S in the figure), the above “α” corresponds to “α”.
a”.

【0016】次に、CPU14は、RAM13より音声
データを読み出し、読み出した音声データの中からホス
トメモリ12に記憶した上記最小値「a」と同じ値を有
する音声データを検索し、検索された音声データ数を計
数しその計数値をホストメモリ12に記憶する。尚、説
明上のこの計数値を「A」とする。又、上記ステップ1
においては「X」に相当するのが上記「A」である。
Next, the CPU 14 reads the audio data from the RAM 13, searches for audio data having the same value as the above-mentioned minimum value "a" stored in the host memory 12 from among the read audio data, and searches the retrieved audio data. The number of data is counted and the counted value is stored in the host memory 12. Note that this count value for purposes of explanation will be referred to as "A". Also, step 1 above
In this case, the above "A" corresponds to "X".

【0017】次に、CPU14は、ホストメモリ12か
ら上記最小値「a」を読み出し上記最小値「a」に1を
加えた後、RAM13より上記音声データを読み出し、
最小値+1の値である「a+1」の値を有する音声デー
タを検索し検索された音声データの数を計数しその計数
値をホストメモリ12に記憶する。尚、説明上この計数
値を「B」とする。又、図2に示すステップ2において
は「Y」に相当するのが上記「B」である。
Next, the CPU 14 reads the minimum value "a" from the host memory 12 and adds 1 to the minimum value "a", and then reads the audio data from the RAM 13.
The voice data having the value "a+1" which is the value of the minimum value +1 is searched, the number of searched voice data is counted, and the counted value is stored in the host memory 12. For the sake of explanation, this count value will be referred to as "B". Further, in step 2 shown in FIG. 2, the above-mentioned "B" corresponds to "Y".

【0018】次に、ステップ3に示すようにCPU14
は、ホストメモリ12から計数値「A」及び計数値「B
」を読み出し、計数値「B」が計数値「A」の1/2以
下、即ち計数値「A/2」 ≧ 計数値「B」であるか
否かを判断する。
Next, as shown in step 3, the CPU 14
is the count value “A” and the count value “B” from the host memory 12.
'' is read out, and it is determined whether the count value "B" is less than or equal to 1/2 of the count value "A", that is, the count value "A/2" ≧ the count value "B".

【0019】判断した結果、計数値「B」が計数値「A
」の1/2以下であればしきい値設定の動作を終了し、
上記最小値「a」と該最小値に加算した1とを加えた「
a+1」の値をしきい値に設定する。
As a result of the judgment, the count value "B" is equal to the count value "A".
”, the threshold setting operation is finished,
The sum of the above minimum value “a” and 1 added to the minimum value is “
a+1" is set as the threshold value.

【0020】判断した結果、計数値「B」が計数値「A
」の1/2以下でない場合には、CPU14は、上記(
a+1)の値を新たにaに設定する。即ち、一般的には
ステップ4に示すように(α+1)の値を新たなαの値
とする。そして再度ステップ1に戻り、以下同様にステ
ップ1ないしステップ4を繰り返す。詳説すると、ステ
ップ2に示すように、「a+1」の値に再度1を加え、
「(a+1)+1」  即ち 「a+2」の値を有する
音声データをRAM13より検索し、検索した音声デー
タの数を計数する。説明上この計数値を「C」とする。 そしてCPU14は、計数値「C」が上記計数値「B」
の1/2以下か否かを判断し、この条件を満たした場合
には最小値に加算値を加えた値をしきい値に設定する。 今の場合、最小値は「a」であり、加算値は1を2回加
えたことより2であるので、しきい値は「a+2」とな
る。
As a result of the judgment, the count value “B” is the count value “A”.
'', the CPU 14 executes the above (
a+1) is newly set to a. That is, generally, as shown in step 4, the value (α+1) is set as the new value of α. Then, return to step 1 again, and repeat steps 1 to 4 in the same manner. To explain in detail, as shown in step 2, add 1 to the value of "a+1" again,
Audio data having a value of "(a+1)+1", ie, "a+2" is retrieved from the RAM 13, and the number of retrieved audio data is counted. For the sake of explanation, this count value will be referred to as "C". Then, the CPU 14 determines that the count value "C" is the above count value "B".
If this condition is satisfied, a value obtained by adding an additional value to the minimum value is set as the threshold value. In this case, the minimum value is "a" and the added value is 2 since 1 is added twice, so the threshold value is "a+2".

【0021】計数値「C」についてもまだB/2以下で
ない場合には、CPU14はさらに上記最小値「a」に
1を加え、「a+3」の値を有する音声データの数を計
数し、この計数値について上述したと同様の動作を行う
。以下同様に演算を繰り返ししきい値を設定する。
[0021] If the count value "C" is still not less than B/2, the CPU 14 further adds 1 to the minimum value "a", counts the number of audio data having the value "a+3", and calculates this value. The same operation as described above for the count value is performed. Thereafter, the calculation is repeated in the same manner to set the threshold value.

【0022】このようにしてしきい値を設定することで
、入力する音声情報内にバックグランド的に存在する、
ある一定レベルのノイズは無音と判断され、当該レベル
を越える音声情報のみを有音として記録することができ
る。例えば電話による会話を記録する場合、上述したよ
うな無音処理方法を利用することで電話回線に元来存在
する雑音を無音化することができ、より有効な無音化処
理を行うことができる。
[0022] By setting the threshold in this way, it is possible to eliminate
Noise at a certain level is determined to be silent, and only audio information exceeding the certain level can be recorded as sound. For example, when recording a telephone conversation, by using the above-mentioned silencing method, it is possible to silence the noise that originally exists in the telephone line, making it possible to perform more effective silencing processing.

【0023】尚、上記説明ではしきい値のレベルを変化
するようにしたが、しきい値レベルは変化させず、入力
音声信号のレベルを変化させるようにしても良い。即ち
、しきい値レベルは予めある値、説明上eレベル値、に
設定されている。上述した方法と同様に、CPU14は
RAM13に記憶した音声データより有音の音声データ
内から最小値「a」を検出する。そしてCPU14は、
例えば上記しきい値レベルeから上記最小値aを減算す
ることでこれらの値の差分を求め、該差分がプラスの場
合、即ち上記しきい値の方が上記最小値よりも大きい場
合には入力音声情報のすべての信号レベルを上記差分に
相当する電圧分上昇させ、一方、該差分がマイナスの場
合、即ち上記しきい値の方が上記最小値よりも小さい場
合には入力音声情報のすべての信号レベルを上記差分に
相当する電圧分下降させる。
In the above description, the threshold level is changed, but the level of the input audio signal may be changed instead of changing the threshold level. That is, the threshold level is set in advance to a certain value, which is the e-level value for purposes of explanation. Similar to the method described above, the CPU 14 detects the minimum value "a" from among the voice data stored in the RAM 13. And the CPU 14 is
For example, find the difference between these values by subtracting the minimum value a from the threshold level e, and if the difference is positive, that is, if the threshold value is greater than the minimum value, input The signal level of all the audio information is increased by the voltage corresponding to the above difference. On the other hand, if the difference is negative, that is, when the above threshold is smaller than the above minimum value, all the signal levels of the input audio information are increased by the voltage corresponding to the above difference. The signal level is lowered by a voltage corresponding to the above difference.

【0024】このような方法をとることで、入力音声信
号レベルとしきい値レベルとの相対的関係を適切に設定
することができるので、より有効な無音化処理を行うこ
とができる。
[0024] By adopting such a method, the relative relationship between the input audio signal level and the threshold level can be appropriately set, so that more effective silencing processing can be performed.

【0025】以上のような方法にてしきい値がADPC
Mブロック10に設定され、ADPCMブロック10は
、以後オーディオブロック2より供給される音声データ
を従来例における動作と同様に各サウンドユニット毎に
有音無音を判断し、144個のサウンドユニットの集合
である1セクタ分において無音と判断されたサウンドユ
ニットの個数を計数し、計数結果をCPU14へ送出す
る。尚、該計数結果をCPU14へ送出するタイミング
は1セクタ分のADPCMブロック10におけるエンコ
ードが完了した後である。
[0025] By the above method, the threshold value is set to ADPC.
The ADPCM block 10 then determines the presence or absence of sound for each sound unit in the same manner as in the conventional example, and divides the audio data supplied from the audio block 2 into a set of 144 sound units. The number of sound units determined to be silent in one sector is counted, and the counting result is sent to the CPU 14. Incidentally, the timing at which the counting result is sent to the CPU 14 is after the encoding in the ADPCM block 10 for one sector is completed.

【0026】CPU14は、予めCPU14に設定され
ている計数値とADPCMブロック10から供給される
、上述した無音サウンドユニット数とを比較し、上記設
定値よりも上記無音サウンドユニット数の方が大きい場
合には無音セクタと判断し“1”のデータをADPCM
ブロック10、ホストメモリ12へ送出し、上記設定値
よりも上記無音サウンドユニット数の方が小さい場合に
は有音セクタと判断し“0”のデータをADPCMブロ
ック10、ホストメモリ12へ送出する。
[0026] The CPU 14 compares the count value set in advance in the CPU 14 with the above-mentioned number of silent sound units supplied from the ADPCM block 10, and if the number of silent sound units is larger than the set value, is determined to be a silent sector and sends data of “1” to ADPCM.
If the number of silent sound units is smaller than the set value, it is determined that the sector is a sound sector, and data of "0" is sent to the ADPCM block 10 and host memory 12.

【0027】ADPCMブロック10は、無音セクタ、
有音セクタに拘わらずADPCMブロック10にてエン
コードされた音声データをバッファ11に送出しており
、バッファ11に格納されている音声データをRAM1
3に記憶するか否かをCPU14が送出する上記有音、
無音セクタ情報に基づき判断する。尚、CPU14は上
記有音、無音セクタ情報の送出とともに、ADPCMブ
ロック10にてエンコードされた音声データがバッファ
11のいずれのページに格納されたかを示すページ情報
もホストメモリ12へ送出する。
[0027] The ADPCM block 10 includes a silent sector,
The audio data encoded by the ADPCM block 10 is sent to the buffer 11 regardless of the sound sector, and the audio data stored in the buffer 11 is transferred to the RAM 1.
The CPU 14 sends out whether or not to store the sound in 3.
Judgment is made based on silent sector information. In addition to sending out the sound/non-sound sector information, the CPU 14 also sends page information indicating in which page of the buffer 11 the audio data encoded in the ADPCM block 10 is stored to the host memory 12.

【0028】即ち、図3に示すようにCPU14から無
音セクタであることを示す“1”のセクタ情報が送出さ
れた場合、図3ステップ2に示すようにCPU14が指
示したバッファ11のページに格納されている音声デー
タのRAM13への書き込みは行わず図3ステップ4へ
移行する。ステップ4では、上例の場合では“1”であ
るセクタ情報がホストメモリ12に記憶される。一方、
ステップ2においてCPU14から有音セクタであるこ
とを示す“0”のセクタ情報が送出された場合、ステッ
プ3にて図4に示すようにCPU14が指示したバッフ
ァ11のページに格納されている音声データのRAM1
3への書き込みが行われ、ステップ4にて上例の場合で
は“0”であるセクタ情報もホストメモリ12に記憶さ
れる。
That is, when sector information of "1" indicating a silent sector is sent from the CPU 14 as shown in FIG. 3, it is stored in the page of the buffer 11 designated by the CPU 14 as shown in step 2 of FIG. The current audio data is not written into the RAM 13 and the process moves to step 4 in FIG. In step 4, sector information, which is "1" in the above example, is stored in the host memory 12. on the other hand,
If the CPU 14 sends sector information of "0" indicating that it is a sound sector in step 2, then in step 3 the audio data stored in the page of the buffer 11 specified by the CPU 14 as shown in FIG. RAM1 of
3, and in step 4, the sector information, which is "0" in the above example, is also stored in the host memory 12.

【0029】このように無音セクタと判断されたセクタ
に相当する、ADPCMブロック10にてエンコードさ
れた音声データはRAM13に記憶されないので、その
分データの圧縮が行なわれる。
Since the audio data encoded in the ADPCM block 10 corresponding to the sector determined to be a silent sector in this way is not stored in the RAM 13, the data is compressed accordingly.

【0030】又、上述したようにホストメモリ12にC
PU14からセクタ情報が供給されセクタ情報が格納さ
れるとき、図5に示すように無音を示す“1”のデータ
が連続して格納される場合、セクタ番号1ないし3に格
納された3つの“1”のデータを1つに圧縮してホスト
メモリ12内の新セクタ情報格納領域に格納するように
しても良い。このように動作させることでセクタ情報の
数を減らすことができる。
[0030] Furthermore, as mentioned above, the host memory 12
When sector information is supplied from the PU 14 and the sector information is stored, if data of "1" indicating silence is stored continuously as shown in FIG. 1'' data may be compressed into one piece of data and stored in the new sector information storage area in the host memory 12. By operating in this way, the number of sector information can be reduced.

【0031】上述したようにデータが圧縮されてRAM
13に記憶された音声データをホストメモリ12に記憶
された上記セクタ情報及びADPCMブロックにおける
エンコード音声データに基づき再生する場合を図6を参
照し以下に説明する。CPU14は、音声データをバッ
ファ11のいずれのページへ送出するかを示すページ情
報をRAM13へ送出する。ホストメモリ12は、ステ
ップ1にてまずセクタ情報を読み取り、ステップ2及び
3に示すようにその内容が無音セクタを示す“1”であ
るならば、1セクタすべて“0”のデータをCPU14
にて指示されたバッファ11のページへ書き込む。一方
、上記セクタ情報の内容が有音セクタを示す“0”であ
るならば、そのセクタ番号のADPCMブロックにおけ
るエンコード音声データが格納されているRAM13を
アクセスし、CPU14が指示したバッファ11内のペ
ージへ読み出した音声データを格納する。尚、図5に示
すような上記新セクタ情報格納領域に新セクタ情報を格
納した場合であってもホストメモリ12は新セクタ情報
に基づいて音声データをバッファ11へ送出する。
As mentioned above, the data is compressed and stored in the RAM.
A case in which the audio data stored in the host memory 13 is reproduced based on the sector information stored in the host memory 12 and the encoded audio data in the ADPCM block will be described below with reference to FIG. The CPU 14 sends page information indicating to which page of the buffer 11 the audio data is sent to the RAM 13. The host memory 12 first reads sector information in step 1, and if the content is "1" indicating a silent sector as shown in steps 2 and 3, the data of all "0" in one sector is sent to the CPU 14.
Write to the page of the buffer 11 specified by . On the other hand, if the content of the sector information is "0" indicating a sound sector, the RAM 13 in which encoded audio data in the ADPCM block of that sector number is stored is accessed, and the page in the buffer 11 specified by the CPU 14 is accessed. Store the read audio data to. Note that even when new sector information is stored in the new sector information storage area as shown in FIG. 5, the host memory 12 sends audio data to the buffer 11 based on the new sector information.

【0032】このようにADPCMブロック10はサン
プリング周期毎にバッファ11をアクセスし、図6ステ
ップ4に示すように読み出した音声データのADPCM
デコードを行うだけでよい。無音セクタの再生に関して
はADPCMブロック10は一切関与する必要がない。
In this way, the ADPCM block 10 accesses the buffer 11 every sampling period, and as shown in step 4 of FIG.
All you have to do is decode it. There is no need for the ADPCM block 10 to be involved in the reproduction of silent sectors.

【0033】ADPCMブロック10にてADPCMデ
コードされた8ビットからなる音声データは、ステップ
5にてオーディオブロック2へ送出され、ステップ6に
てオーディオブロック2にてD/A変換され、フィルタ
処理がなされ音声情報となる。
[0033] The 8-bit audio data ADPCM-decoded in the ADPCM block 10 is sent to the audio block 2 in step 5, and is subjected to D/A conversion and filter processing in the audio block 2 in step 6. This becomes audio information.

【0034】このように無音セクタの再生においては“
無音セクタ検出”、“無音セクタ圧縮”によって得られ
た情報“セクタ情報”、“有音セクタデータ”を基にホ
ストメモリ12にて処理されるのでADPCMブロック
10は無音セクタ再生に関しては何等考慮することなく
ADPCMデコードを行うことができる。又、図5に示
すような新セクタ情報を使用し無音セクタ情報の圧縮処
理を行うことで、例えば会話等における無音部分をカッ
トできるため、情報をより速く得ることができる。
In this way, in reproducing a silent sector, “
The ADPCM block 10 does not give any consideration to silent sector reproduction because the information is processed in the host memory 12 based on "sector information" and "voice sector data" obtained by "silent sector detection" and "silent sector compression". In addition, by compressing silent sector information using new sector information as shown in Figure 5, it is possible to cut out silent parts, such as in conversations, so information can be decoded faster. Obtainable.

【0035】[0035]

【発明の効果】以上詳述したように本発明によれば、入
力音声情報の有音あるいは無音を判断する基準となるし
きい値あるいは入力音声情報の信号レベルを変化させる
ようにしたことより、周囲の雑音が多いような場合にお
いても適切な無音処理を行うことができる。又、本発明
によれば、連続して無音情報が供給される場合には有音
無音情報格納部は一つの無音情報のみ格納することより
、記録媒体を再生する場合、無音部分の再生に要する時
間を短縮することができる。
As described in detail above, according to the present invention, by changing the threshold value or the signal level of the input audio information, which is the standard for determining whether there is a sound or no sound in the input audio information, Appropriate silence processing can be performed even when there is a lot of ambient noise. Further, according to the present invention, when silence information is continuously supplied, the voice/silence information storage section stores only one piece of silence information, so that when reproducing a recording medium, the time required to reproduce the silence portion is reduced. It can save time.

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

【図1】  本発明の無音処理装置の一実施例における
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a silence processing device of the present invention.

【図2】  図1に示す無音処理装置におけるしきい値
設定の動作を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a threshold setting operation in the silence processing device shown in FIG. 1;

【図3】  図1に示す無音処理装置における無音圧縮
動作を説明するためのフローチャートである。
3 is a flowchart for explaining a silence compression operation in the silence processing device shown in FIG. 1. FIG.

【図4】  図1に示す無音処理装置における無音圧縮
動作を説明するための図である。
4 is a diagram for explaining a silence compression operation in the silence processing device shown in FIG. 1. FIG.

【図5】  図1に示す無音処理装置においてセクタ情
報を圧縮する動作を説明するための図である。
5 is a diagram for explaining the operation of compressing sector information in the silence processing device shown in FIG. 1. FIG.

【図6】  図1に示す無音処理装置において処理され
た音声データの再生動作を説明するためのフローチャー
トである。
6 is a flowchart for explaining the reproduction operation of audio data processed by the silence processing device shown in FIG. 1. FIG.

【図7】  従来の無音処理装置の構成を示すブロック
図である。
FIG. 7 is a block diagram showing the configuration of a conventional silence processing device.

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

2…オーディオブロック、10…ADPCMブロック、
11…バッファ、12…ホストメモリ、13…RAM、
14…CPU。
2...Audio block, 10...ADPCM block,
11...Buffer, 12...Host memory, 13...RAM,
14...CPU.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  デジタル信号にてなる音声データの有
音無音をしきい値を基準に判断し、有音と判断された音
声データのみを記録する無音処理装置において、有音と
判断されたときから一定時間に供給される音声データを
格納する格納部と、上記格納部に格納された音声データ
内より基準値を有する音声データの数である基準音声デ
ータ数を計数し、上記基準値に加算値を加算した被加算
値を有する音声データの数である被加算音声データ数を
計数し、上記基準音声データ数と被加算音声データ数と
の計数値を比較した比較結果が所定値以上あるいは所定
値以下となったとき上記基準値と上記加算値とを加算し
た値を上記しきい値に設定する制御部と、を備えたこと
を特徴とする無音処理装置。
Claim 1: When a sound is determined to be present in a silence processing device that determines the presence or absence of sound in digital signal audio data based on a threshold value and records only the audio data that is determined to be sound. A storage section for storing audio data supplied from the storage section for a certain period of time, and a reference audio data number, which is the number of audio data having a reference value, from among the audio data stored in the storage section, and is added to the reference value. The number of audio data to be added, which is the number of audio data having the augend value obtained by adding the values, is counted, and the comparison result of the counted value of the reference audio data number and the number of audio data to be added is equal to or greater than a predetermined value or a predetermined value. A silence processing device comprising: a control unit that sets the threshold value to a value obtained by adding the reference value and the additional value when the threshold value is equal to or less than the threshold value.
【請求項2】  デジタル信号にてなる音声データの有
音無音を予め設定したしきい値を基準に判断し、有音と
判断された音声データのみを記録する無音処理装置にお
いて、有音と判断されたときから一定時間に供給される
音声データを格納する格納部と、上記格納部に格納され
る音声データが有する値の内から最小値を検出し、上記
最小値と予め設定されたしきい値との差分を求め該差分
に応じて無音処理を行う入力音声情報の入力レベルを変
化させる制御部と、を備えたことを特徴とする無音処理
装置。
Claim 2: A silence processing device that determines the presence or absence of voice data in digital signals based on a preset threshold and records only the voice data that is determined to be voiced. A storage unit that stores audio data supplied for a certain period of time from the time when the storage unit detects the minimum value from among the values of the audio data stored in the storage unit, and detects the minimum value from among the values that the audio data stored in the storage unit has, 1. A silence processing device comprising: a control unit that changes the input level of input audio information that calculates a difference between the input audio information and the input audio information and performs silence processing according to the difference.
【請求項3】  デジタル変換された音声情報の有音無
音を判定し、無音情報の計数を行い記録媒体への音声情
報の読み書きの最小単位における無音数の計数結果に基
づき上記最小単位毎に有音あるいは無音の旨の信号を有
音無音信号格納部へ送出するとともに、無音の旨の信号
を送出している間は記録媒体への音声信号の記録を行わ
ず、一方、上記有音無音信号格納部に格納された有音無
音信号に基づき上記記録媒体に記録された音声信号の再
生を行う無音処理装置において、無音を示す信号が連続
して複数供給される場合には一つの無音を示す信号のみ
を格納する有音無音信号格納部を備えたことを特徴とす
る無音処理装置。
Claim 3: Determine the presence or absence of utterances in the digitally converted audio information, count the silence information, and calculate the number of silences for each minimum unit based on the result of counting the number of silences in the minimum unit of reading and writing audio information to a recording medium. A signal indicating sound or silence is sent to the sound/silence signal storage section, and while the signal indicating silence is being sent, no audio signal is recorded on the recording medium; In the silence processing device that reproduces the audio signal recorded on the recording medium based on the sound/silence signal stored in the storage unit, when a plurality of signals indicating silence are continuously supplied, one silence is indicated. A silence processing device comprising a voice/silence signal storage section that stores only signals.
JP3048031A 1991-03-13 1991-03-13 Silent processor Pending JPH04283471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3048031A JPH04283471A (en) 1991-03-13 1991-03-13 Silent processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3048031A JPH04283471A (en) 1991-03-13 1991-03-13 Silent processor

Publications (1)

Publication Number Publication Date
JPH04283471A true JPH04283471A (en) 1992-10-08

Family

ID=12791946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3048031A Pending JPH04283471A (en) 1991-03-13 1991-03-13 Silent processor

Country Status (1)

Country Link
JP (1) JPH04283471A (en)

Similar Documents

Publication Publication Date Title
US6112171A (en) Methods of efficiently recording and audio signal in semiconductor memory
JP3145358B2 (en) Silence period compression method
US5404315A (en) Automatic sound gain control device and a sound recording/reproducing device including arithmetic processor conducting a non-linear conversion
JP3784583B2 (en) Audio storage device
JP4990375B2 (en) Recording / playback device
JPH04283471A (en) Silent processor
JPH08146985A (en) Speaking speed control system
JP2002258900A (en) Device and method for reproducing voice
JP2965788B2 (en) Audio gain control device and audio recording / reproducing device
JPS6122370B2 (en)
JPH09138698A (en) Sound recording/reproducing device
JP2905215B2 (en) Recording and playback device
JPH0774650A (en) Audio encoder and decoder for encoding signal thereof
JP3189587B2 (en) Audio time base converter
JPH0854895A (en) Reproducing device
JPH08211894A (en) Voice-grade communication equipment and voice-grade communication system
JPH0793892A (en) Semiconductor memory audio recording and reproducing device
JPH08147874A (en) Speech speed conversion device
JP2001189659A (en) Device and method for decoding compressed data
KR930002585B1 (en) Voiceless period compression and decompression method
JPH0816199A (en) Sound recording device
KR100776432B1 (en) Apparatus for writing and playing audio and audio coding method in the apparatus
JPH08115098A (en) Method and device for editing voice
JPH03224177A (en) Soundless processor
KR0141237B1 (en) Audio signal recording/reproducing method