JPH0392100A - Sound field processing device - Google Patents

Sound field processing device

Info

Publication number
JPH0392100A
JPH0392100A JP1229840A JP22984089A JPH0392100A JP H0392100 A JPH0392100 A JP H0392100A JP 1229840 A JP1229840 A JP 1229840A JP 22984089 A JP22984089 A JP 22984089A JP H0392100 A JPH0392100 A JP H0392100A
Authority
JP
Japan
Prior art keywords
circuit
output
value
input
holding
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
JP1229840A
Other languages
Japanese (ja)
Inventor
Akihiro Kajikawa
梶川 明宏
Michito Nozokido
道人 莅戸
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.)
ZUUMU KK
Original Assignee
ZUUMU KK
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 ZUUMU KK filed Critical ZUUMU KK
Priority to JP1229840A priority Critical patent/JPH0392100A/en
Publication of JPH0392100A publication Critical patent/JPH0392100A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stereophonic System (AREA)

Abstract

PURPOSE:To relieve the load of the software handling a modulation control system by employing a multiplier provided with an interpolation circuit. CONSTITUTION:An interpolation circuit 2 consists of a latch circuit 3 latching a present value, a discrimination circuit 4 comparing the content of the latch circuit 3 with an object value (control data being an input of the interpolation circuit 2) and discriminating the quantity of an object with respect to the present value, and an adder circuit 5 making the present value close to the object (control data) and adding the result to the content of the latch circuit 3 based on the result of discrimination of the discrimination circuit 4. When the control data is rapidly changed, the change is traced gradually. As a result, a voice waveform being one input of a multiplier 1 is changed continuously regardless of a rapid change in the control data. Thus, the load of the software handling the modulation control system is relieved.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は音堝処理装置に関するものである.[従来の
技術コ 一般に、音堝処理装置においては、種々の音声変調処理
を行わなければならない. そのため、音堝処理装置は,音声信号を直接取り扱う音
声信号系と、音声信号系に対しその取り扱う音声信号の
変調要素をコントロールする変調制御系とから構成され
ている. [発明が解決しようとする課題コ しかしながら、従来の音場処理装置は、変調制御系を取
り扱うソフトウエアの負担が非常に大きく、そのため、
全体が大かがりで,非常に高価で1 ある等の問題点があった. この発明は上記従来のもののもつ問題点を解決して、変
調制御系を取り扱うソフトウェアの負担を軽減させるこ
とのできる音場処理装置を提供することを目的とするも
のである. [課題を解決するための手段] この発明は上記目的を達或するため、種々の音声変調用
処理手段を具えたものである.[作用] この発明は上記手段を採用したことにより、変調制御系
を取り扱うソフトウェアの負担が軽減することとなる. [実施例] 以下、図面に示すこの発明の実施例について説明する. 〈第1実施例〉 第1図は演算装置としての機能に着目したこの発明の第
1実施例を示し、1は乗算器であって、乗算器1の一方
の入力には入力波形が適用され、他方の入力には、前記
入力波形の制御データが入力されるようになっている. 2は乗算器1の前記他方の入力に設けられたインターボ
ーレイシヲン回路であって、インターボーレイション回
路2は、前記制御データが急激に変化したとき、その変
化分を徐々に追従させるようになっている. 第2図はインターボーレイション回路2の一例を示し、
3は現在値を保持する保持回路、4は保持回路3の内容
と目標値(すなわちインターボーレイション回路2の入
力である制御データ〉とを比較して、現在値に対する目
標値(制御データ)の大小を判別する判別回路、5は判
別回路4の判別結果に基づいて、保持回路3の内容に、
現在値を目標値〈制御データ〉に近づけるあらかじめ決
められた単位量を加算して再び保持回路3に入力する加
算回路であり、加算回路5の出力がインターボーレイシ
ョン回路2の出力となる.すなわち、判別回路4が、現
在値よりも目標値(制御データ〉が大きいことを判別し
たとき、加算回路5は、保持回路3の内容にプラスの単
位lを加算した新たな現在値を出力する. また、判別回路4が、現在値よりも目標値(制御データ
)が小さいことを判別したとき、加算回路5は、保持回
路3の内容にマイナスの単位量を加算した新たな現在値
を出力する. さらに、判別回路4が、現在値と目標値(制御データ)
とが同一であることを判別したとき、加算回路5は、保
持回路3の内容にゼロを加算して出力するようになって
いる. つぎに上記のものの作用について説明する.いま、乗算
器1の一方の入力に、たとえば音声波形が入力され、他
方の入力に,前記音声波形のf/IIa4データが入力
されていて、しかもその制御データが急激に大きくなっ
たとする. この場合、まず、判別回路4は、保持回路3に保持され
ているそれまでの制御データ〈現在値)よりも目標値(
変化後の制御データ)が大きいことを判別する.そのた
め、加算回路5は、保持回路3の内容にプラスの単位I
を加算して新たな現在値を出力する. この出力は、インターポーレイション回路2の出力とし
て乗算器1に入力されるとともに、保持回路3に入力さ
れて現在値が書き換えられる.つぎに、判別回路4は、
保持回路3の書き換えられた新現在値(制御データ〉よ
りも目標値(変化後の制御データ)が依然として大きけ
れば、.それを判別する.そのため、加算回路5は、保
持回路3の内容にプラスの単位量を再び加算して新たな
現在値を出力する. この出力は、インターボーレイション回路2の出力とし
て乗算器1に再び入力されるとともに、保持回路3に入
力されて現在値が再び書き換えられる. 以下同様にして、保持回路3の書き換えられた新現在値
(制御データ)よりも目標値(変化後の制御データ)が
大きい限り、加算回路5は、保持回路3の内容にプラス
の単位量を何度でも加算して、その都、インターポーレ
イション回路2の出力として乗算器1に入力する. つぎに、乗算器1の一方の入力に、たとえば音声波形が
入力され、他方の入力に、前記音声波形の制御データが
入力されていて、しかもその制御データが急激に小さく
なったとする. この場合、まず、判別回路4は、保持回路3に保持され
ているそれまでの制御データ(現在値)よりも目標値(
変化後の制御データ)が小さいことを判別する.そのた
め、加算回路5は、保持回路3の内容にマイナスの単位
量を加算して新たな現在値を出力する. この出力は、インターボーレイション回路2の出力とし
て乗算器1に入力されるとともに、保持回路3に入力さ
れて現在値が書き換えられる.つぎに、判別回路4は、
保持回路3の書き換えられた新現在値(制御データ)よ
りも目標値(変化後の制御データ)が依然として小さけ
れば、それを判別する.そのため、加算回路5は、保持
回路3の内容にマイナスの単位量を再び加算して新たな
現在値を出力する. この出力は、インターボーレイション回路2の出力とし
て乗算器1に再び入力されるとともに、保持回路3に入
力されて現在値が再び書き換えられる. 以下同様にして、保持回路3の書き換えられた新現在値
(制御データ〉よりも目標値(変化後の制御データ)が
小さい限り、加算回路5は、保持回路3の内容にマイナ
スの単位量を何度でも加算して、その都、インターボー
レイション回路2の出力として乗算器1に入力する. その結果、乗算器1の一方の入力である音声波形は,制
御データの急激な変化にもかかわらず、インターボーレ
イション回路2のはたらきにより、緩やかに変化する制
御データにしたがって、連続的に変化されることとなる
. 上記のようなインターボーレイション回路2を具えた乗
算器1は、つぎのような種々の機能を実現することがで
きる. l)音量を制御する際、制御用CPUは目標値を直接書
き込むだけでよい. 2)低周波発振器の発振周波数制御入力に、積和演算器
の出力を入力することができる.また、積和演算器の被
乗数入力に正の最大値を選択することができる.したが
って、I)の機能との併用で、変調用低周波信号の周波
数を連続的に変化させることができる. 3)積和演算器の入力に変調用低周波信号を選ぶことが
できる.したがって、l)の機能との併用で、変調用低
周波信号の振幅を連続的に変化させることができる. 4)インターボーレイション回路2の目標値入力それ自
体は書き換えずに、その出力を強制的にOにすることが
できる.したがって、音声変調処理において重要なミュ
ート処理が容易となる.5)インターボーレイション回
路2における保持回路3の保持レジスタを複数設けるこ
とにより、その数だけ同時変化に対応することができる
.6)以上のように、制御データのインターボーレイシ
ョンと、積和演算器に対する入力および出力の選択の範
囲をひろく採ることにより、音声変調処理に必要な変調
要素の更新をすべて連続的に行うことができる. なお、上記第1実施例では、乗算器1を例示したが、こ
れに代えて、適宜の演算器を使用することができる. また、上記第1実施例では、インターボーレイション回
路2として、第2図に示す回路を例示したが、これに限
定するものでない. 上記第1実施例の演算装置は、音声変調処理において、
入力される変調要素の制御用データの目標値は現在値と
の連続性が全くなくても,その変調要素を現在値から目
標値まで連続的に更新させることができ、そのため、制
御用CPUが目標値を直接書き込むだけで、各種の音声
変調処理を円滑に、しかも自動的に行うことができ、そ
の結果、デジタル信号処理装置その他の音場処理装置に
適用して、きわめて好適なものである. 〈第2実施例〉 第3図はピークホールド回路としての機能に着目したこ
の発明の第2実施例を示し、1は入力波形を絶対値処理
する絶対値回路、2は絶対値処理された波形が入力され
る入力レジスタ、3はピーク値保持レジスタ、4は入カ
レジスタ2の内容とピーク値保持レジスタ3の内容とを
比較して、入力レジスタ2の内容がピーク値保持レジス
タ3の内容より大きいとき、入力レジスタ2の内容をピ
ーク値保持レジスタ3に転送する比較回路、5はピーク
値保持レジスタ3の内容が外部から読み出されたとき、
ピーク値保持レジスタ3をリセットするリセット回d各
である。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to a sound chamber processing device. [Conventional technology] In general, a sound chamber processing device must perform various types of audio modulation processing. Therefore, the sound chamber processing device consists of an audio signal system that directly handles audio signals, and a modulation control system that controls the modulation elements of the audio signal handled by the audio signal system. [Problems to be Solved by the Invention] However, in conventional sound field processing devices, the burden on the software that handles the modulation control system is extremely heavy.
There were problems such as the overall construction was large-scale and extremely expensive. The purpose of this invention is to provide a sound field processing device that can solve the problems of the conventional devices mentioned above and reduce the burden on software that handles the modulation control system. [Means for Solving the Problems] In order to achieve the above object, the present invention includes various processing means for audio modulation. [Operation] By adopting the above-mentioned means, this invention reduces the burden on the software that handles the modulation control system. [Example] Hereinafter, an example of the present invention shown in the drawings will be described. <First Embodiment> FIG. 1 shows a first embodiment of the present invention focusing on the function as an arithmetic device. 1 is a multiplier, and an input waveform is applied to one input of the multiplier 1. , the control data of the input waveform is input to the other input. Reference numeral 2 denotes an intervolation circuit provided at the other input of the multiplier 1, and the intervolation circuit 2 is configured to gradually follow the change when the control data changes suddenly. It has become. FIG. 2 shows an example of the interboration circuit 2,
3 is a holding circuit that holds the current value, and 4 is a holding circuit that compares the contents of the holding circuit 3 with the target value (i.e., control data that is input to the interboration circuit 2), and calculates the target value (control data) with respect to the current value. A discrimination circuit 5 determines the size of the content of the holding circuit 3 based on the discrimination result of the discrimination circuit 4.
This is an adder circuit that adds a predetermined unit amount to bring the current value closer to the target value (control data) and inputs it again to the holding circuit 3, and the output of the adder circuit 5 becomes the output of the interboration circuit 2. That is, when the determination circuit 4 determines that the target value (control data) is larger than the current value, the addition circuit 5 outputs a new current value obtained by adding a positive unit l to the contents of the holding circuit 3. .Furthermore, when the discrimination circuit 4 discriminates that the target value (control data) is smaller than the current value, the addition circuit 5 outputs a new current value obtained by adding a negative unit amount to the contents of the holding circuit 3. Further, the discrimination circuit 4 determines the current value and target value (control data).
When determining that these are the same, the adder circuit 5 adds zero to the contents of the holding circuit 3 and outputs the result. Next, we will explain the effects of the above. Suppose that, for example, a voice waveform is input to one input of the multiplier 1, f/IIa4 data of the voice waveform is input to the other input, and the control data suddenly increases. In this case, first, the discrimination circuit 4 determines that the target value (
(control data after change) is large. Therefore, the addition circuit 5 adds a plus unit I to the content of the holding circuit 3.
Adds and outputs the new current value. This output is input to the multiplier 1 as the output of the interpolation circuit 2, and is also input to the holding circuit 3, where the current value is rewritten. Next, the discrimination circuit 4
If the target value (control data after change) is still larger than the rewritten new current value (control data) of the holding circuit 3, it is determined. Therefore, the addition circuit 5 adds the content of the holding circuit 3 The unit quantity of is added again to output a new current value. This output is input again to the multiplier 1 as the output of the intervolation circuit 2, and is also input to the holding circuit 3 to rewrite the current value again. Similarly, as long as the target value (control data after change) is larger than the rewritten new current value (control data) of the holding circuit 3, the addition circuit 5 adds a positive unit to the contents of the holding circuit 3. The amounts are added as many times as necessary and then input to the multiplier 1 as the output of the interpolation circuit 2.Next, for example, an audio waveform is input to one input of the multiplier 1, and the other input is input to the multiplier 1. , the control data of the audio waveform has been input, and the control data has suddenly become smaller. In this case, first, the discrimination circuit 4 selects the previous control data (currently target value (
(control data after change) is small. Therefore, the adder circuit 5 adds a negative unit amount to the contents of the holding circuit 3 and outputs a new current value. This output is input to the multiplier 1 as the output of the intervolation circuit 2, and is also input to the holding circuit 3, where the current value is rewritten. Next, the discrimination circuit 4
If the target value (control data after change) is still smaller than the new current value (control data) that has been rewritten in the holding circuit 3, it is determined. Therefore, the adder circuit 5 again adds a negative unit quantity to the contents of the holding circuit 3 and outputs a new current value. This output is input again to the multiplier 1 as the output of the intervolation circuit 2, and is also input to the holding circuit 3, where the current value is rewritten. Similarly, as long as the target value (control data after change) is smaller than the new current value (control data) of the holding circuit 3, the addition circuit 5 adds a negative unit amount to the contents of the holding circuit 3. It is added as many times as necessary and then input to the multiplier 1 as the output of the intervolation circuit 2. As a result, the audio waveform that is one input of the multiplier 1 remains constant despite sudden changes in the control data. First, due to the function of the intervolation circuit 2, the control data changes continuously in accordance with the slowly changing control data. l) When controlling the volume, the control CPU only needs to directly write the target value. 2) The output of the product-sum calculator can be input to the oscillation frequency control input of the low-frequency oscillator. Also, the maximum positive value can be selected for the multiplicand input of the product-sum calculator. Therefore, in combination with the function I), the frequency of the modulation low frequency signal can be changed continuously. 3) A low frequency signal for modulation can be selected as the input of the product-sum calculator. Therefore, in combination with the function l), the amplitude of the modulation low frequency signal can be changed continuously. 4) The output of the interboration circuit 2 can be forced to O without rewriting the target value input itself. Therefore, muting processing, which is important in audio modulation processing, becomes easier. 5) By providing a plurality of holding registers in the holding circuit 3 in the interboration circuit 2, simultaneous changes can be handled by the number of holding registers. 6) As described above, all modulation elements necessary for audio modulation processing can be continuously updated by interborating control data and widening the selection range of inputs and outputs to the product-sum calculator. Can be done. In the first embodiment, the multiplier 1 is used as an example, but any suitable arithmetic unit may be used instead. Further, in the first embodiment, the interboration circuit 2 is illustrated as the circuit shown in FIG. 2, but the present invention is not limited to this. In the audio modulation process, the arithmetic device of the first embodiment has the following functions:
Even if the target value of the control data of the input modulation element has no continuity with the current value, the modulation element can be updated continuously from the current value to the target value. By simply writing target values directly, various audio modulation processes can be performed smoothly and automatically, and as a result, it is extremely suitable for application to digital signal processing devices and other sound field processing devices. .. <Second Embodiment> Fig. 3 shows a second embodiment of the present invention focusing on the function as a peak hold circuit, in which 1 is an absolute value circuit that processes an input waveform by absolute value, and 2 is a waveform subjected to absolute value processing. 3 is the peak value holding register, 4 is the input register that compares the contents of input register 2 with the contents of peak value holding register 3, and the contents of input register 2 are greater than the contents of peak value holding register 3. A comparison circuit 5 transfers the contents of the input register 2 to the peak value holding register 3 when the contents of the peak value holding register 3 are read from the outside.
The peak value holding register 3 is reset each time d.

比較回路4は、入カレジスタ2に入力される波形がサン
プリング周期を有するものの場合、入力レジスタ2の内
容とピーク値保持レジスタ3の内容とを比較する比較処
理と、入力レジスタ2の内容がピーク値保持レジスタ3
の内容より大きいとき、入力レジスタ2の内容をピーク
値保持レジスタ3に転送する転送処理とを、いずれも、
各サンプリング周期ごとに少なくとも1回ずつ行うよう
になっている. つぎに上記のものの作用を、第4図に破線で示すような
サンプリング周期と波高値とを有する波形が入力される
場合について説明する.まず、1サンプリング目の波形
が入力レジスタ2に入力されると、比較回路4がその波
高値と、ピーク値保持レジスタ3の内容とを比較するが
、ピーク値保持レジスタ3の内容は初期値Oであるため
、1サンプリング目の波高値をそのままピーク値保持レ
ジスタ3に転送し、それにより、ピーク値保持レジスタ
3の内容は1サンプリング目の波高値となる. つぎに、2サンプリング目の波形が入力レジスタ2に入
力されると、比較回路4がその波高値と、ピーク値保持
レジスタ3の内容とを比較して、ピーク値保持レジスタ
3の内容である1サンプリング目の波高値より大きい2
サンプリング目の波高値を、ピーク値保持レジスタ3に
転送し、それにより、ピーク値保持レジスタ3の内容は
2サンプリング目の波高値となる. 以下同様にして、入力波形の波高値が、サンプリング周
期ごとに大きくなっていく限り、各波高値が順次転送さ
れてピーク値保持レジスタ3の内容となる. また、8サンプリング目の波形が入力レジスタ2に入力
されると,比較回路4がその波高値と、ピーク値保持レ
ジスタ3の内容とを比較するが、この場合、入力波形の
波高値は、ピーク値保持レジスタ3の内容である7サン
プリング目の波高値より小さいため、8サンプリング目
の波高値はピーク値保持レジスタ3に転送されず、それ
により、ピーク値保持レジスタ3の内容は7サンプリン
グ目の波高値のままに保持される. つぎに、9サンプリング目の波形が入力レジスタ2に入
力されると、比較回路4がその波高値と、ピーク値保持
レジスタ3の内容とを比較して、ピーク値保持レジスタ
3の内容である7サンプリング目の波高値より小さい9
サンプリング目の波高値はピーク値保持レジスタ3に転
送せず、それにより、ピーク値保持レジスタ3の内容は
7サンプリング目の波高値のままに保持される.以下同
様にして、入力波形の波高値が、サンプリング周期ごと
に小さくなっていく限り、各波高値は全く転送されず、
ピーク値保持レジスタ3の内容はそれまで最大の7サン
プリング目の波高値に保持される, したがって、ピーク値保持レジスタ3の内容は、入力波
形のそれまでの各サンプリングごとの波高値のうちで、
つねに最大値に保持されることとなる. そして、外部(たとえば制御用CPU)からピーク値保
持レジスタ3の内容が読み出されると,それと同時にリ
セット回路5が作動して、ピーク値保持レジスタ3の内
容をOにリセットする.したがって、前回の読み出しか
ら今回の読み出しまでの間の入力データのうち、つねに
その最大値がピーク値保持レジスタ3に保持され、かつ
、外部からの読み出しに応じて読み出されることとなる
. く第3実施例〉 第5図は第2実施例と同様、ピークホールド回路として
の機能に着目したこの発明の第3実施例を示し、11は
複数の入力波形を絶対値処理する絶対値回路、12は絶
対値処理された波形が入力される入力レジスタ、13は
ピーク値保持レジスタ、14は入力レジスタ12の内容
とピーク値保持レジスタ13の内容とを比較して、入力
レジスタ12の内容がピーク値保持レジスタ13の内容
より大きいとき、入力レジスタ12の内容をピーク値保
持レジスタ13に転送する比較回路、15はピーク値保
持レジスタ13の内容が外部から読み出されたとき、ピ
ーク値保持レジスタ13をリセットするリセット回路で
ある. 比較回路14は、入力レジスタ12に入力される複数の
波形がそれぞれサンプリング周期を有するものの場合、
入力レジスタ12の内容とピーク値保持レジスタ13の
内容とを比較する比較処理と、入力レジスタ12の内容
がピーク値保持レジスタ13の内容より大きいとき、入
力レジスタ12の内容をピーク値保持レジスタ13に転
送する転送処理とを、いずれも、複数の波形のおのおの
につき、各サンプリング周期ごとに少なくとも1回ずつ
行うようになっている. つぎに上記のものの作用を、それぞれ第6図a〜Cに示
すようなサンプリング周期と波高値とを有する3種類の
波形が入力される場合について説明する. 最初に、波形a〜Cの1サンプリング目の波高値が入力
レジスタ12に入力されると、比較回路14が、まず、
波形aの1サンプリング目の波高値と、ピーク値保持レ
ジスタ13の内容とを比較して、ピーク値保持レジスタ
13の内容が初期値Oであるため、波形aの1サンプリ
ング目の波高値をそのままピーク値保持レジスタ13に
転送する. 比較回路14は、つぎに、波形bの1サンプリング目の
波高値と、ピーク値保持レジスタ13の内容とを比較し
て、ピーク値保持レジスタ13の内容である波形aの1
サンプリング目の波高値より大きい波形bの1サンプリ
ング目の波高値を、ピーク値保持レジスタ13に転送す
る.比較回路14は、つぎに、波形Cの1サンプリング
目の波高値と、ピーク値保持レジスタ13の内容とを比
較して、波形Cの1サン1リング目の波高値が、ピーク
値保持レジスタ13の内容である波形bの1サンプリン
グ目の波高値より小さいため、波形Cの1サンプリング
目の波高値はピーク値保持レジスタ13に転送されず、
それにより、ピーク値保持レジスタ13の内容は波形b
の1サンプリング目の波高値のままに保持される.比較
回路14によるこの比較処理および転送処理の順序は、
波形a,b,cの順に限らず、いがなる順序で処理して
も、1サンプリング目の処理が終了するときには、同一
の結果が得られる.つぎに、波形a % Cの2サンプ
リング目の波形が入力レジスタ12に入力されると、比
較回路14が、1サンプリング目のときと同様に作動し
て、波形a〜Cの2サンプリング目の波高値を、ピーク
値保持レジスタ13の内容と順次比較して、ピーク値保
持レジスタ13の内容である波形bの1サンプリング目
の波高値より大きい2サンプリング目の波高値を、ピー
ク値保持レジスタ13に転・送し、それにより、ピーク
値保持レジスタ13の内容は波形bの2サンプリング目
の波高値となる.以下同様にして、入力波形a % C
の任意の波高値が、サンプリング周期ごとにいずれか1
つでも大きくなっていく限り、その波高値が順次転送さ
れてピーク値保持レジスタ13の内容となり、また、入
力波形a〜Cの任意の波高値が、サンプリング周期ごと
にすべてが小さくなっていく限り、その波高値は全く転
送されず、ピーク値保持レジスタ13の内容はそれまで
最大の波高値に保持される. したがって、ピーク値保持レジスタ13の内容は、第6
図dに実線で示すように、入力波形a〜Cのそれまでの
各サンプリングごとの波高値のうちで、つねに最大値に
保持されることとなる.そして、外部(たとえば制御用
CPU)からピーク値保持レジスタ13の内容が読み出
されると、それと同時にリセット回路15が作動して、
ピーク値保持レジスタ13の内容をOにリセットする.
したがって、前回の読み出しから今回の読み出しまでの
間の入力データのうち、つねにその最大値がピーク値保
持レジスタ13に保持され、かつ、外部からの読み出し
に応じて読み出されることとなる. なお、上記第2、3実施例では、絶対値回路1、11を
設けたが、これらは、場合によっては省略することも可
能である. また、上記第2、3実施例では、入カレジスタ2、12
およびピーク値保持レジスタ3、13を例示したが、こ
れに代えて、たとえば、適宜の入力回路およびピーク値
保持回路を使用することができる. さらに、上記第2、3実施例では、入力波形が1つの場
合(第3、4図)および3つの場合(第5、6図)につ
いて説明したが、これに限定するものでない. 上記第2、3実施例のピークホールド回路は、音声変調
処理において、各波高値の持続時間がきわめて短くても
、つねにそのピーク値を確実に保持することができ、し
かも、前回の読み出しから今回の読み出しまでの間の入
力データのうち、つねにその最大値をピーク値保持回路
に保持して、外部からの読み出しに応じて読み出すこと
ができ、その結果、デジタル信号処理装置その他の音場
処理装置に適用して、きわめて好適なものである.く第
4実施例〉 第7図はサンプル・ホールド回路としての機能に着目し
たこの発明の第4実施例を示し、1は入力波形の波高値
があらかじめ決められた境界を超えるか、または,その
境界と一致したとき、それを検出する検出回路、2は検
出回路1の検出動作中、入力波形のあらかじめ決められ
た最大値を出力するクリップ回路、3は検出回路1の非
検出動作中、クリップ回路2をリセットするリセット回
路、4は演算回路である. 演算回路4は、入力波形の波高値の最大値があらかじめ
決められた境界未満であるとき、その波高値があらかじ
め決められた境界を超えるか,または、その境界と一致
するように、あらかじめ設定された定数レジスタの値を
加算するようになっている. つぎに上記のものの作用について説明する.まず、第8
図aに示すように、最大値がOレベルと最大ダイナミッ
クレンジとの間に位置する三角波があった場合、演算回
路4は、その三角波の正の最大値が最大ダイナミックレ
ンジに一致するか、またはそれを超えるように、あらか
じめ設定された定数レジスタの値を加算する. そのため、演算回路4を介して検出回路1に入力される
波形は、第8図bに示すようになる.すると、検出回路
lは、演算回路4を介して入力される入力波形の波高値
が、あらかじめ決められた境界と少なくとも一致したこ
とを検出して、検出動作に切り換わる. これを受けて、クリップ回路2は、検出回路1の検出動
作中、入力波形のあらかじめ決められた最大値、すなわ
ち最大ダイナミックレンジに一致した三角波の正の最大
値を出力する一方、検出回路1の非検出動作中、リセッ
ト回路3はクリップ回路2をリセットして、その出力を
Oレベルとする. そのため、入力波形は、クリップ・リセット処理後、第
8図Cに示すようになる. したがって、第8図aに示すような三角波から、第8図
Cに示すようなパルス波形が得られるとともに、このパ
ルス波形をサンプル・ホールド波形として利用すること
によって、第8図dに示すような音声入力を、第8図a
に示す三角波が正の最大値に達するたびに、サンプル・
ホールドすることができることとなる. なお、上記第4実施例では、三角波が正の最大値に達す
るたびに、音声入力をサンプル・ホールドするようにし
たが、これに限定するものでなく、たとえば、三角波が
負の最大値に達するたびに、音声入力をサンプル・ホー
ルドするようにしてもよいし、または、三角波が正の最
大値および負の最大値に達するたびに、それぞれ音声入
力をサンプル・ホールドするようにしてもよい.また、
上記第4実施例では、演算回路4が、三角波の最大値が
最大ダイナミックレンジに一致するか、またはそれを超
えるように、あらかじめ設定された定数レジスタの値を
加算するように構或したが、これに限定するものでなく
、適宜の手段によって、三角波の最大値を最大ダイナミ
ックレンジに一致させ,またはそれを超えさせるように
することができるし、また、三角波の最大値が、最初か
ら最大ダイナミックレンジと一致するか、または,それ
を超えている場合は、演算回路4を省略して、その三角
波をそのまま、検出回路1の入力波形として利用するこ
とができる.さらに、上記第4実施例では、入力波形と
して、三角波を例示したが、これに限定するものでなく
、適宜の波形を入力波形とすることができる.上記第4
実施例のサンプル・ホールド回路は、クリップ機能を利
用して、サンプル・ホールド機能を得ることができ、そ
のため、従来のサンプル・ホールド回路のように、専用
のレジスタを含む専用の回路,および,それに専用の指
令を与える制御指令信号がいずれも不要であり、したが
って、簡便かつ手軽にサンプル・ホールド機能を実現す
ることができ、その結果、デジタル信号処理装置その他
の音場処理装置に適用して、きわめて好適なもめである
. く第5実株例〉 第9図はゲート信号発生回路としての機能に着目したこ
の発明の第5実施例を示し、1はインパルス信号を積分
するデジタル積分回路、2はデジタル積分回路1の出力
に直流分を加えるシフトアップ回路、3はシフトアップ
回路2の出力があらかじめ決められた範囲を超えたとき
それを検出する検出回路、4は検出回路3の検出動作中
、シフトアップ回路2の出力のあらかじめ決められた最
大値を出力するクリップ回路、5は検出回路3の非検出
動作中Jクリップ回路4をリセットするリセット回路で
ある. つぎに上記のものの作用について説明する.まず、第1
0図aに示すようなインパルス信号が適用された場合、
デジタル積分回路1はそれを積分して,第10図bに示
すような出力波形を得る. つぎに、シフトアップ回路2は、デジタル積分回路1の
出力のうち所定幅の部分が、あらかじめ決められた壺大
値を超えるように、必要な直流分Lを加えて、第10図
Cに示すような出力波形を得る. すると、検出回路3は、シフトアップ回路2の出力があ
らかじめ決められた範囲を超えたことを検出して、検出
動作に切り換わる. これを受けて、クリップ回路4は,検出回路3の検出動
作中、シフトアップ回路2の出力のあらかじめ決められ
た最大値を出力する一方、検出回路3の非検出動作中、
リセット回路5はクリップ回路4をリセットして、その
出力をOレベルとする. そのため、第10図dに示すような所要の時間幅Tを有
するゲート信号が得られることとなる.このようなゲー
ト信号は、たとえば、第11図aに示すような原音から
得られる第11図bに示すようなリバープ音すなわち反
響音を、第11図Cに示すように所定の持続時間経通し
たら遮断する、いわゆるリバーブゲートとして利用する
ことができる. また、ゲート信号は、たとえば、エレキギターの出力の
ようにハイインピーダンスノイズが乗りやすい第12図
aに示すような原音から、第12図bに示すようにノイ
ズを除去した出力波形を得る、いわゆるノイズゲートと
して利用することもできる. そして、そもそも、ゲート信号発生回路の第10図aに
示すようなインパルス信号を、第13図に示すような音
声入力波形から得る場合、その音声入力波形を、ゲート
信号発生回路の検出回路3に入力して、検出回路3を瞬
間的に検出動作に切り換えれば、クリップ回路4および
リセット回路5のはたらきによって、第10図aに示す
ようなインパルス信号が、きわめて容易に得られること
となる. また、第13図に示すような音声入力波形を、第10図
aに示すようなインパルス信号に変換したのち、デジタ
ル積分回路1に入力する代わりに、第13図に示すよう
な音声入力波形を、そのまま直接デジタル積分回路1に
入力しても、ほぼ同様の結果が得られることとなる. なお、上記第5実施例では、ゲート信号発生回路のゲー
ト信号の利用例として、リバーブゲートとしての利用、
および、ノイズゲートとしての利用を例示したが、これ
に限定するものでなく、適宜の用途に利用することがで
きる. 上記第5実81例のゲート信号発生回路は、クリップ機
能を利用して、ゲート・信号を得ることができるうえ、
従来のゲート信号発生回路のように、専用のソフトウエ
アまたは専用のハードウェアが不要であり、そのため、
構造が簡単で取り扱いが容易であり、しかも、入力信号
の絶対値をそのまま使用して、ゲート信号発生回路を実
現することができ、その結果、デジタル信号処理装置そ
の他の音場処理装置に適用して、きわめて好適なもので
ある. 〈第6実施例〉 第14図はサイン波発生器としての機能に着目したこの
発明の第6実施例を示し、1は三角波発生回路、2は保
持回路、3は三角波発生回路1の出力と保持回路2の出
力とを加算する加算回路、4は三角波発生回路1の出力
三角波が最大値のとき保持回路2にゼロを入力して初期
化する初期化回路であり、保持回路2は、初期化回路4
によって初期化されたのち、加算回路3の出力を保持し
てサイン波を発生するようになっている.つぎに上記の
ものの作用について、第15図を参照して説明する. いま、三角波発生回路1から、第15図aに示すような
三角波が出力されているとする.この場合、まず、三角
波発生回路1の出力三角波が正または負の最大値になる
と、初期化回路4は保持回路2にOを入力して初期化す
る.すると、加算回路3が、あらかじめ決められたサン
プリング周期にしたがって加算を開始する.すなわち、
たとえば三角波の正の最大値から加算を開始したとする
と、1サンプリング目の三角波発生回路1の出力レベル
は正の最大値Mであり、一方,保持回路2の出力は初期
値Oであるから、加算回路3の出力はM+O″C″Mと
なり、この値が保持回路2に保持されるとともに、保持
回路2から出力される. つぎに、2サンプリング目の三角波発生回路1の出力レ
ベルはMより単位量aだけ小さいM−aであり、一方、
保持回路2の出力はMであるから、加算回路3の出力は
(M−a)+Mで2M−aとなり、Mの2倍よりaだけ
小さいこの値が保持回路2に保持されるとともに、保持
回路2から出力される. つぎに、3サンプリング目の三角波発生回路1の出力レ
ベルはM−aより単位量aだけ小さいM−2aであり、
一方、保持回路2の出力は2M−aであるから、加算回
路3の出力は(M−2a)+(2M−a)で3M−3a
となり、Mの3倍より3aだけ小さいこの値が保持回路
2に保持されるとともに、保持回路2から出力される.
つぎに、4サンプリング目の三角波発生回路1の出力レ
ベルはM−2aより単位量aだけ小さいM−3aであり
、一方、保持回路2の出力は3M−3aであるから、加
算回路3の出力は〈M−3a ) + ( 3 M −
 3 a )で4M−6aとなり、Mの4倍より6aだ
け小さいこの値が保持回路2に保持されるとともに、保
持回路2から出力される.以下同様にして、三角波発生
回路1の出力レベルがOになるまで、保持回路2の出力
は、第15図bに示すように、上昇率が次第に減少しな
がら上昇し続ける. 三角波発生回路1の出力レベルがOになると、保持回路
2の出力は、正の最大値Nとなる.これから数えて1サ
ンプリング目の三角波発生回路1の出力レベルは、Oよ
り単位量aだけ小さい−aであり、一方、保持回路2の
出力は正の最大値Nであるから、加算回路3の出力はー
a+NでN−aとなり、この値が保持回路2に保持され
るとともに、保持回路2から出力される.つぎに、2サ
ンプリング目の三角波発生回路1の出力レベルはーaよ
り単位量aだけ小さい−2aであり、一方、保持回路2
の出力はN−aであるから、加算回路3の出力は−2a
+ (N−a)でN−3aとなり、この値が保持回路2
に保持されるとともに、保持回路2から出力される.つ
ぎに、3サンプリング目の三角波発生回路1の出力レベ
ルは−2aより単位量aだけ小さい一3aであり、一方
、保持回路2の出力はN−3aであるから、加算回路3
の出力は−3a+(N−3a)でN−6aとなり、この
値が保持回路2に保持されるとともに、保持回路2から
出力される.以下同様にして、三角波発生回路1の出力
レベルが負の最大値になるまで、保持回路2の出力は、
第15図bに示すように、下降率が次第に増加しながら
下降し続ける. 三角波発生回路1の出力レベルが負の最大値一Mになる
と、保持回路2の出力はOとなる.すなわち、この1サ
ンプリング目の三角波発生回路1の出力レベルは負の最
大値一Mであり,一方、保持回路2の出力はOであるか
ら、加算回路3の出力は−M+Oで一Mとなり、この値
が保持回路2に保持されるとともに、保持回路2から出
力される. つぎに、2サンプリング目の三角波発生回路1の出力レ
ベルは一Mより単位量aだけ大きい一M+aであり、一
方、保持回路2の出力は一Mであるから、加算回路3の
出力は(−M+a)+(−M)で−2M+aとなり、一
Mの2倍よりaだけ大きいこの値が保持回路2に保持さ
れるとともに、保持回路2から出力される. つぎに、3サンプリング目の三角波発生回路1の出力レ
ベルは一M + aより単位量aだけ大きい−M+2a
であり、一方、保持回路2の出力は−2M+aであるか
ら、加算回路3の出力は(−M+2a)+ ( −2M
+a)で−3M+3aとなり、一Mの3倍より3aだけ
大きいこの値が保持回路2に保持されるとともに、保持
回路2から出力される. つぎに、4サンプリング目の三角波発生回路1の出力レ
ベルは一M+2aより単位量aだけ大きいーM+3aで
あり、一方、保持回路2の出力は−3M+3aであるか
ら、加算回路3の出力は( 一M+3a)+ (−3M
+3a)で−4M+6aとなり、一Mの4倍より6aだ
け大きいこの値が保持回路2に保持されるとともに、保
持回路2から出力される. 以下同様にして、三角波発生回路1の出力レベルが0に
なるまで,保持回路2の出力は、第15図bに示すよう
に、下降率が次第に減少しながら下降し続ける. 三角波発生回路1の出力レベルが0になると、保持回路
2の出力は、負の最大値一Nとなる.これから数えて1
サンプリング目の三角波発生回路1の出力レベルは、O
より単位量aだけ大きいaであり、一方、保持回路2の
出力は負の最大値一Nであるから、加算回路3の出力は
a+(一N)で一N+aとなり、この値が保持回路2に
保持されるとともに、保持回路2から出力される.つぎ
に、2サンプリング目の三角波発生回路1の出力レベル
はaより単位量aだけ大きい2aであり、一方、保持回
路2の出力は−N+aであるから、加算回路3の出力は
2a+ ( 一N+a)で一N+3aとなり、この値が
保持回路2に保持されるとともに、保持回路2から出力
される.つぎに、3サンプリング目の三角波発生回路1
の出力レベルは2aより単位量aだけ大きい3aであり
、一方、保持回路2の出力は一N+3aであるから、加
算回路3の出力は3a+ (−N+3a)で一N+6a
となり、この値が保持回路2に保持されるとともに、保
持回路2から出力される.以下同様にして、三角波発生
回路1の出力レベルが正の最大値になるまで、保持回路
2の出力は、第15図bに示すように、上昇率が次第に
増加しながら上昇し続ける. 三角波発生回路1の出力レベルが正の最大値になると、
保持回路2の出力はOとなる.したがって、三角波発生
回路1から第15図aに示すような三角波が発生すると
、保持回路2からは、第15図bに示すようなサイン波
(厳密には疑似サイン波)が発生することとなる.なお
、上記第6実施例では、初期化回路4を、三角波発生回
路1および保持回路2から独立して別途設けたが、これ
に限定するものでない.上記第6実施例のサイン波発生
器は、従来のもののように、サイン波のサンプリング周
期ごとの各レベル値を記録したROMが不要であるし、
CPUがサンプリング周期ごとにROMの読み出し動作
を行う必要もなく、そのため、簡単な構成できわめて容
易にサイン波を発生させることができ、その結果、デジ
タル信号処理装置その他の音場処理装置に適用して、き
わめて好適なものである.く第7実施例〉 第16図は第6実施例と同様、サイン波発生器としての
機能に着目したこの発明の第7実施例を示し、1は三角
波発生回路、2は三角波発生回路1の出力をその中間レ
ベルで折り返す反転回路であって、正方向に折り返すた
め、絶対値回路によって構威されている. また、3は反転回路2の出力に定数を加算して、三角波
発生回路Iの最大値および最小値に対応した反転回路2
の出力の最小値を最大値の半分以上にする演算回路であ
る. すなわち、演算回路3は、定数Aを出力する定数回路4
と、定数回路4の出力Aの172以下の数に負号をつけ
た数B (−0.5A≦Boo)を出力する補助回路5
と、反転回路(絶対値回路)2の出力と補助回路5の出
力Bとを乗算して、反転回路(絶対値回路)2の出力の
最大値と最小値とのレベル差を、定数Aの半分以下にす
る乗算回路6と,乗算回路6の出力と定数回路4の出力
Aとを加算して、反転回路(絶対値回路〉2の出力の最
小値を最大値の半分以上にする加算回路7とによって構
成されている. さらに、8は三角波発生回路1の出力と演算回路3の出
力とを乗算する乗算回路である.つぎに上記のものの作
用について、第17図を参照して説明する. いま、三角波発生回路1から、第17図aに示すような
三角波が出力されているとする.この場合、まず、反転
回路(絶対値回路〉2が、三角波発生回路1の出力をそ
の中間レベルで正方向に折り返すため、第17図bに示
すような波形となる. つぎに、演算回路3における乗算回路6が、反転回路(
絶対値回路)2の出力と補助回路5の出力B(たとえば
B=−0.5A>とを乗算するため、反転回路(絶対値
回路)2の出力の最大値と最小値とのレベル差は、定数
Aのちょうど半分になる. これとともに、加算回路7が、乗算回路6の出力と定数
回路4の出力Aとを加算するため、反転回路《絶対値回
路〉2の出力の最小値は最大値のちょうど半分になって
、第17図Cに示すような波形となる. つぎに、乗算回路8が、三角波発生回路1の出力(第1
7図a)と、演算回路3の出力、すなわち加算回路7の
出力(第17図C〉とを乗算する。
When the waveform input to the input register 2 has a sampling period, the comparison circuit 4 performs a comparison process to compare the contents of the input register 2 and the contents of the peak value holding register 3, and performs a comparison process to compare the contents of the input register 2 with the peak value. Holding register 3
, the transfer process of transferring the contents of the input register 2 to the peak value holding register 3 is performed as follows.
This is done at least once in each sampling period. Next, the operation of the above will be explained in the case where a waveform having a sampling period and peak value as shown by the broken line in FIG. 4 is input. First, when the first sampling waveform is input to the input register 2, the comparator circuit 4 compares its peak value with the contents of the peak value holding register 3, but the contents of the peak value holding register 3 are the initial value O Therefore, the peak value of the first sampling is transferred as is to the peak value holding register 3, and as a result, the contents of the peak value holding register 3 become the peak value of the first sampling. Next, when the second sampling waveform is input to the input register 2, the comparator circuit 4 compares its peak value with the contents of the peak value holding register 3, Greater than the wave height value of the sampling point 2
The peak value of the second sampling is transferred to the peak value holding register 3, so that the content of the peak value holding register 3 becomes the peak value of the second sampling. Similarly, as long as the peak value of the input waveform increases with each sampling period, each peak value is sequentially transferred and becomes the contents of the peak value holding register 3. Furthermore, when the 8th sampling waveform is input to the input register 2, the comparator circuit 4 compares its peak value with the contents of the peak value holding register 3. In this case, the peak value of the input waveform is Since the peak value of the 8th sampling is smaller than the peak value of the 7th sampling, which is the content of the value holding register 3, the peak value of the 8th sampling is not transferred to the peak value holding register 3, and as a result, the content of the peak value holding register 3 is The peak value is maintained as it is. Next, when the ninth sampling waveform is input to the input register 2, the comparator circuit 4 compares its peak value with the contents of the peak value holding register 3, and compares the waveform with the contents of the peak value holding register 3. 9 smaller than the wave height value of the sampling point
The peak value of the 7th sampling is not transferred to the peak value holding register 3, so that the contents of the peak value holding register 3 are held as the peak value of the 7th sampling. Similarly, as long as the peak value of the input waveform becomes smaller with each sampling period, each peak value is not transferred at all.
The contents of the peak value holding register 3 are held at the maximum peak value of the 7th sampling up to that point. Therefore, the contents of the peak value holding register 3 are the peak values of the input waveform for each sampling up to that point.
It will always be held at the maximum value. Then, when the contents of the peak value holding register 3 are read out from the outside (for example, a control CPU), the reset circuit 5 is activated at the same time to reset the contents of the peak value holding register 3 to O. Therefore, among the input data from the previous readout to the current readout, the maximum value is always held in the peak value holding register 3, and is read out in response to external readout. 3rd Embodiment> FIG. 5 shows a third embodiment of the present invention which focuses on the function as a peak hold circuit, similar to the second embodiment, and 11 is an absolute value circuit that processes a plurality of input waveforms into absolute values. , 12 is an input register into which the waveform subjected to absolute value processing is input, 13 is a peak value holding register, and 14 is a comparison between the contents of the input register 12 and the contents of the peak value holding register 13, and the contents of the input register 12 are A comparison circuit 15 transfers the contents of the input register 12 to the peak value holding register 13 when the contents are larger than the contents of the peak value holding register 13, and 15 is a peak value holding register when the contents of the peak value holding register 13 are read from the outside. This is a reset circuit that resets 13. When the plurality of waveforms input to the input register 12 each have a sampling period, the comparison circuit 14
Comparison processing that compares the contents of the input register 12 and the contents of the peak value holding register 13, and when the contents of the input register 12 are larger than the contents of the peak value holding register 13, the contents of the input register 12 are transferred to the peak value holding register 13. The transfer processing is performed at least once in each sampling period for each of the plurality of waveforms. Next, the operation of the above will be explained for the case where three types of waveforms having sampling periods and peak values as shown in FIGS. 6A to 6C are input. First, when the peak values of the first sampling of waveforms a to C are input to the input register 12, the comparison circuit 14 first performs the following steps.
The peak value of the first sampling of waveform a is compared with the contents of the peak value holding register 13, and since the content of the peak value holding register 13 is the initial value O, the peak value of the first sampling of waveform a is unchanged. Transfer to peak value holding register 13. The comparison circuit 14 then compares the peak value of the first sampling of the waveform b with the contents of the peak value holding register 13, and compares the peak value of the waveform a which is the contents of the peak value holding register 13.
The peak value of the first sampling of waveform b, which is larger than the peak value of the sampling, is transferred to the peak value holding register 13. The comparator circuit 14 then compares the peak value of the first sampling of the waveform C with the contents of the peak value holding register 13, and determines that the peak value of the first sampling and the first ring of the waveform C is the peak value of the peak value holding register 13. Since the peak value of the first sampling of waveform C is smaller than the peak value of the first sampling of waveform B, which is the content of
As a result, the contents of the peak value holding register 13 become waveform b.
The peak value of the first sampling is maintained. The order of this comparison processing and transfer processing by the comparison circuit 14 is as follows:
Even if the processing is performed not only in the order of waveforms a, b, and c, but also in the order in which they occur, the same result will be obtained when the processing of the first sampling is completed. Next, when the second sampling of the waveform a%C is input to the input register 12, the comparator circuit 14 operates in the same way as the first sampling, and the second sampling of the waveform a to C is input to the input register 12. The high value is sequentially compared with the contents of the peak value holding register 13, and the peak value of the second sampling which is higher than the peak value of the first sampling of waveform b, which is the contents of the peak value holding register 13, is stored in the peak value holding register 13. As a result, the contents of the peak value holding register 13 become the peak value of the second sampling of waveform b. Similarly, input waveform a % C
An arbitrary peak value of
As long as the peak values of the input waveforms a to C become larger, the peak values are sequentially transferred and become the contents of the peak value holding register 13, and as long as the arbitrary peak values of the input waveforms a to C all become smaller with each sampling period. , the peak value is not transferred at all, and the contents of the peak value holding register 13 are held at the maximum peak value up to that point. Therefore, the contents of the peak value holding register 13 are as follows:
As shown by the solid line in Figure d, the peak value of the input waveforms a to C is always held at the maximum value for each sampling up to that point. Then, when the contents of the peak value holding register 13 are read from the outside (for example, a control CPU), the reset circuit 15 is activated at the same time.
Reset the contents of the peak value holding register 13 to O.
Therefore, among the input data from the previous readout to the current readout, the maximum value is always held in the peak value holding register 13, and is read out in response to external readout. Although the absolute value circuits 1 and 11 are provided in the second and third embodiments, these may be omitted depending on the case. In addition, in the second and third embodiments described above, input registers 2 and 12
Although the peak value holding registers 3 and 13 are illustrated, for example, an appropriate input circuit and peak value holding circuit may be used instead. Further, in the second and third embodiments described above, the case where there is one input waveform (FIGS. 3 and 4) and the case where there are three input waveforms (FIGS. 5 and 6) have been explained, but the present invention is not limited to this. The peak hold circuits of the second and third embodiments described above can always reliably hold the peak value even if the duration of each peak value is extremely short in audio modulation processing, and can also Of the input data until the readout, the maximum value is always held in the peak value holding circuit and can be read out in response to external readout. It is extremely suitable for application to 4th Embodiment> FIG. 7 shows a fourth embodiment of the present invention focusing on the function as a sample-and-hold circuit. 2 is a clipping circuit that outputs a predetermined maximum value of the input waveform when the detection circuit 1 is in a detection operation, and 3 is a clipping circuit that outputs a predetermined maximum value of the input waveform when the detection circuit 1 is in a non-detection operation. A reset circuit resets circuit 2, and 4 is an arithmetic circuit. The arithmetic circuit 4 is set in advance so that when the maximum value of the peak value of the input waveform is less than the predetermined boundary, the peak value exceeds the predetermined boundary or coincides with the predetermined boundary. The value of the constant register is added. Next, we will explain the effects of the above. First, the 8th
As shown in Figure a, if there is a triangular wave whose maximum value is located between the O level and the maximum dynamic range, the arithmetic circuit 4 determines whether the positive maximum value of the triangular wave matches the maximum dynamic range or Add the value of a preset constant register so that it exceeds that value. Therefore, the waveform input to the detection circuit 1 via the arithmetic circuit 4 becomes as shown in FIG. 8b. Then, the detection circuit 1 detects that the peak value of the input waveform input via the arithmetic circuit 4 coincides with at least a predetermined boundary, and switches to a detection operation. In response to this, the clip circuit 2 outputs the predetermined maximum value of the input waveform, that is, the positive maximum value of the triangular wave that matches the maximum dynamic range, during the detection operation of the detection circuit 1. During non-detection operation, the reset circuit 3 resets the clip circuit 2 and sets its output to O level. Therefore, the input waveform becomes as shown in FIG. 8C after the clip/reset process. Therefore, from the triangular wave shown in FIG. 8a, a pulse waveform as shown in FIG. Voice input in Figure 8a
Each time the triangle wave shown in
This means that it can be held. Note that in the fourth embodiment, the audio input is sampled and held each time the triangular wave reaches the maximum positive value, but the invention is not limited to this; for example, when the triangular wave reaches the maximum negative value. The audio input may be sampled and held each time the triangular wave reaches its maximum positive value and the maximum negative value, respectively. Also,
In the fourth embodiment, the arithmetic circuit 4 is configured to add the values of the constant register set in advance so that the maximum value of the triangular wave matches or exceeds the maximum dynamic range. The maximum value of the triangular wave can be made to match or exceed the maximum dynamic range by appropriate means, and the maximum value of the triangular wave can be set to the maximum dynamic range from the beginning. If it matches or exceeds the range, the arithmetic circuit 4 can be omitted and the triangular wave can be used as it is as the input waveform of the detection circuit 1. Further, in the fourth embodiment, a triangular wave is used as an example of the input waveform, but the present invention is not limited to this, and any appropriate waveform can be used as the input waveform. 4th above
The sample-and-hold circuit of the embodiment can obtain the sample-and-hold function by using the clip function. Therefore, like a conventional sample-and-hold circuit, it requires a dedicated circuit including a dedicated register, and a dedicated circuit including a dedicated register. There is no need for any control command signal to give a dedicated command, and therefore the sample-and-hold function can be realized simply and easily.As a result, it can be applied to digital signal processing equipment and other sound field processing equipment. This is a very suitable conflict. 5th Practical Example> FIG. 9 shows a fifth embodiment of the present invention focusing on the function as a gate signal generation circuit, in which 1 is a digital integration circuit that integrates an impulse signal, and 2 is an output of the digital integration circuit 1. 3 is a detection circuit that detects when the output of the shift-up circuit 2 exceeds a predetermined range; 4 is the output of the shift-up circuit 2 during the detection operation of the detection circuit 3; A clip circuit 5 outputs a predetermined maximum value of . 5 is a reset circuit that resets the J clip circuit 4 during non-detection operation of the detection circuit 3. Next, we will explain the effects of the above. First, the first
When an impulse signal as shown in Figure 0a is applied,
The digital integration circuit 1 integrates this to obtain an output waveform as shown in Figure 10b. Next, the shift-up circuit 2 adds the necessary DC component L so that a predetermined width portion of the output of the digital integration circuit 1 exceeds a predetermined pot size value, as shown in FIG. 10C. Obtain an output waveform like this. Then, the detection circuit 3 detects that the output of the shift-up circuit 2 exceeds a predetermined range, and switches to a detection operation. In response to this, the clip circuit 4 outputs the predetermined maximum value of the output of the shift-up circuit 2 during the detection operation of the detection circuit 3, while during the non-detection operation of the detection circuit 3,
The reset circuit 5 resets the clip circuit 4 and sets its output to O level. Therefore, a gate signal having the required time width T as shown in FIG. 10d is obtained. Such a gate signal may, for example, cause a reverb or echo sound as shown in FIG. 11b obtained from an original sound as shown in FIG. 11a to pass for a predetermined duration as shown in FIG. 11C. It can be used as a so-called reverb gate. Furthermore, the gate signal can be used to obtain an output waveform from which noise is removed, as shown in FIG. 12b, from the original sound as shown in FIG. It can also be used as a noise gate. In the first place, when an impulse signal as shown in FIG. 10a of the gate signal generation circuit is obtained from an audio input waveform as shown in FIG. If the input signal is input and the detection circuit 3 is instantaneously switched to the detection operation, an impulse signal as shown in FIG. Furthermore, instead of converting the audio input waveform as shown in FIG. 13 into an impulse signal as shown in FIG. 10a and inputting it to the digital integration circuit 1, the audio input waveform as shown in FIG. If , is directly input to the digital integration circuit 1 as it is, almost the same result will be obtained. In the fifth embodiment, examples of the use of the gate signal of the gate signal generation circuit include use as a reverb gate,
Although the use as a noise gate is illustrated, the present invention is not limited to this and can be used for any appropriate purpose. The gate signal generation circuit of the fifth example 81 can obtain a gate signal by using the clip function, and
Unlike conventional gate signal generation circuits, no dedicated software or hardware is required;
The structure is simple and easy to handle, and the absolute value of the input signal can be used as is to realize a gate signal generation circuit.As a result, it can be applied to digital signal processing equipment and other sound field processing equipment. Therefore, it is extremely suitable. <Sixth Embodiment> FIG. 14 shows a sixth embodiment of the present invention focusing on the function as a sine wave generator. 1 is a triangular wave generating circuit, 2 is a holding circuit, and 3 is an output of the triangular wave generating circuit 1. 4 is an initialization circuit that initializes the holding circuit 2 by inputting zero when the triangular wave output from the triangular wave generation circuit 1 is at its maximum value; conversion circuit 4
After initialization, the output of the adder circuit 3 is held and a sine wave is generated. Next, the operation of the above will be explained with reference to FIG. Assume that the triangular wave generating circuit 1 is outputting a triangular wave as shown in FIG. 15a. In this case, first, when the output triangular wave of the triangular wave generating circuit 1 reaches the maximum positive or negative value, the initializing circuit 4 inputs O to the holding circuit 2 to initialize it. Then, the addition circuit 3 starts addition according to a predetermined sampling period. That is,
For example, if the addition is started from the maximum positive value of the triangular wave, the output level of the triangular wave generating circuit 1 at the first sampling is the maximum positive value M, while the output of the holding circuit 2 is the initial value O. The output of the adder circuit 3 becomes M+O''C''M, and this value is held in the holding circuit 2 and output from the holding circuit 2. Next, the output level of the triangular wave generating circuit 1 at the second sampling is M-a, which is smaller than M by a unit amount a, and on the other hand,
Since the output of the holding circuit 2 is M, the output of the adding circuit 3 is (M-a)+M, which is 2M-a, and this value, which is smaller by a than twice M, is held in the holding circuit 2, and Output from circuit 2. Next, the output level of the triangular wave generation circuit 1 at the third sampling is M-2a, which is smaller than M-a by a unit amount a,
On the other hand, since the output of the holding circuit 2 is 2M-a, the output of the addition circuit 3 is (M-2a)+(2M-a), which is 3M-3a.
This value, which is 3a smaller than 3 times M, is held in the holding circuit 2 and output from the holding circuit 2.
Next, the output level of the triangular wave generating circuit 1 at the fourth sampling is M-3a, which is smaller than M-2a by a unit amount a, and on the other hand, the output of the holding circuit 2 is 3M-3a, so the output level of the adding circuit 3 is is〈M-3a) + (3M-
3a) becomes 4M-6a, and this value, which is 6a smaller than four times M, is held in the holding circuit 2 and output from the holding circuit 2. Thereafter, in the same manner, the output of the holding circuit 2 continues to rise at a gradually decreasing rate until the output level of the triangular wave generating circuit 1 reaches O, as shown in FIG. 15b. When the output level of the triangular wave generation circuit 1 becomes O, the output of the holding circuit 2 becomes the maximum positive value N. The output level of the triangular wave generating circuit 1 at the first sampling counting from now is −a, which is smaller than O by the unit amount a, and on the other hand, the output of the holding circuit 2 is the maximum positive value N, so the output level of the adding circuit 3 is -a+N becomes N-a, and this value is held in the holding circuit 2 and output from the holding circuit 2. Next, the output level of the triangular wave generating circuit 1 at the second sampling is -2a, which is smaller than -a by the unit amount a, while the holding circuit 2
Since the output of is N-a, the output of adder circuit 3 is -2a
+ (N-a) becomes N-3a, and this value is the holding circuit 2
is held and output from the holding circuit 2. Next, the output level of the triangular wave generation circuit 1 at the third sampling is -3a, which is smaller than -2a by a unit amount a, and on the other hand, the output level of the holding circuit 2 is N-3a, so the adder circuit 3
The output of -3a+(N-3a) becomes N-6a, and this value is held in the holding circuit 2 and output from the holding circuit 2. Similarly, until the output level of the triangular wave generation circuit 1 reaches the negative maximum value, the output of the holding circuit 2 is as follows.
As shown in Figure 15b, the rate of decline continues to increase gradually. When the output level of the triangular wave generation circuit 1 reaches the negative maximum value 1M, the output of the holding circuit 2 becomes O. That is, the output level of the triangular wave generation circuit 1 at the first sampling is the negative maximum value 1M, while the output of the holding circuit 2 is O, so the output of the addition circuit 3 is -M+O, which is 1M. This value is held in the holding circuit 2 and output from the holding circuit 2. Next, the output level of the triangular wave generation circuit 1 at the second sampling is 1M+a, which is greater than 1M by a unit amount a, and on the other hand, the output of the holding circuit 2 is 1M, so the output of the addition circuit 3 is (- M+a)+(-M) becomes -2M+a, and this value, which is larger by a than twice 1M, is held in the holding circuit 2 and output from the holding circuit 2. Next, the output level of the triangular wave generation circuit 1 at the third sampling is -M+2a greater than 1M+a by a unit amount a.
On the other hand, since the output of the holding circuit 2 is -2M+a, the output of the adding circuit 3 is (-M+2a)+ (-2M
+a) becomes -3M+3a, and this value, which is 3a larger than 3 times 1M, is held in the holding circuit 2 and output from the holding circuit 2. Next, the output level of the triangular wave generation circuit 1 at the fourth sampling is -M+3a, which is larger by a unit amount a than -M+2a, and on the other hand, the output of the holding circuit 2 is -3M+3a, so the output level of the adder circuit 3 is (1) M+3a)+ (-3M
+3a) becomes -4M+6a, and this value, which is 6a larger than 4 times 1M, is held in the holding circuit 2 and output from the holding circuit 2. Thereafter, in the same manner, the output of the holding circuit 2 continues to fall at a gradually decreasing rate until the output level of the triangular wave generating circuit 1 reaches 0, as shown in FIG. 15b. When the output level of the triangular wave generation circuit 1 becomes 0, the output of the holding circuit 2 becomes the maximum negative value -N. Counting from now on, 1
The output level of the triangular wave generation circuit 1 at the sampling point is O
On the other hand, the output of the holding circuit 2 is the negative maximum value 1N, so the output of the adding circuit 3 is a+(1N), which is 1N+a, and this value is the value of the holding circuit 2. is held and output from the holding circuit 2. Next, the output level of the triangular wave generating circuit 1 at the second sampling is 2a, which is greater than a by the unit amount a, and on the other hand, the output of the holding circuit 2 is -N+a, so the output level of the adding circuit 3 is 2a+ (-N+a ) becomes -N+3a, and this value is held in the holding circuit 2 and output from the holding circuit 2. Next, the third sampling triangular wave generation circuit 1
The output level of is 3a, which is greater than 2a by a unit amount a, and on the other hand, the output of holding circuit 2 is -N+3a, so the output of adder circuit 3 is 3a+ (-N+3a), which is -N+6a.
This value is held in the holding circuit 2 and output from the holding circuit 2. Thereafter, in the same manner, the output of the holding circuit 2 continues to rise at a gradually increasing rate, as shown in FIG. 15b, until the output level of the triangular wave generating circuit 1 reaches its maximum positive value. When the output level of triangular wave generation circuit 1 reaches the maximum positive value,
The output of holding circuit 2 becomes O. Therefore, when the triangular wave generating circuit 1 generates a triangular wave as shown in FIG. 15a, the holding circuit 2 generates a sine wave (strictly speaking, a pseudo sine wave) as shown in FIG. 15b. .. In the sixth embodiment, the initialization circuit 4 is provided separately from the triangular wave generation circuit 1 and the holding circuit 2, but the present invention is not limited to this. The sine wave generator of the sixth embodiment does not require a ROM that records each level value for each sampling period of the sine wave, unlike conventional ones.
There is no need for the CPU to read out the ROM at every sampling period, so it is possible to generate a sine wave extremely easily with a simple configuration, and as a result, it can be applied to digital signal processing devices and other sound field processing devices. Therefore, it is extremely suitable. Seventh Embodiment> FIG. 16 shows a seventh embodiment of the present invention which focuses on the function as a sine wave generator, similar to the sixth embodiment. It is an inverting circuit that folds the output back at its intermediate level, and since it folds back in the positive direction, it is composed of an absolute value circuit. In addition, 3 adds a constant to the output of the inverting circuit 2, and the inverting circuit 2 corresponds to the maximum value and minimum value of the triangular wave generating circuit I.
This is an arithmetic circuit that makes the minimum value of the output more than half of the maximum value. That is, the arithmetic circuit 3 is a constant circuit 4 that outputs a constant A.
and an auxiliary circuit 5 that outputs a number B (-0.5A≦Boo), which is a number equal to or less than 172 of the output A of the constant circuit 4 with a negative sign added.
The output of the inverting circuit (absolute value circuit) 2 is multiplied by the output B of the auxiliary circuit 5, and the level difference between the maximum value and the minimum value of the output of the inverting circuit (absolute value circuit) 2 is calculated by the constant A. A multiplier circuit 6 that increases the output by half or less, and an adder circuit that adds the output of the multiplier circuit 6 and the output A of the constant circuit 4 to increase the minimum value of the output of the inverting circuit (absolute value circuit) 2 to more than half of the maximum value. Furthermore, 8 is a multiplication circuit that multiplies the output of the triangular wave generation circuit 1 and the output of the arithmetic circuit 3.Next, the operation of the above circuit will be explained with reference to FIG. Assume that the triangular wave generating circuit 1 is outputting a triangular wave as shown in FIG. Since the waveform turns back in the positive direction at the level, the waveform becomes as shown in FIG.
Since the output of the absolute value circuit (absolute value circuit) 2 is multiplied by the output B of the auxiliary circuit 5 (for example, B=-0.5A>), the level difference between the maximum and minimum values of the output of the inverting circuit (absolute value circuit) 2 is , becomes exactly half of the constant A. At the same time, since the adder circuit 7 adds the output of the multiplier circuit 6 and the output A of the constant circuit 4, the minimum value of the output of the inverting circuit (absolute value circuit) 2 is the maximum The value becomes exactly half, resulting in a waveform as shown in FIG.
7a) is multiplied by the output of the arithmetic circuit 3, that is, the output of the adder circuit 7 (FIG. 17C).

すなわち,たとえば三角波が原点Oにあるときは、三角
波発生回路1の出力レベルは0であり、一方、演算回路
3の出力は最大値Aであるから、乗算回路8の出力はO
XAでOとなる.つぎに、三角波発生回路1の出力レベ
ルが最大値Mの175に相当する0.2Mであるとき、
演算回路3の出力は最大値Aより、最大値Aと最小値0
.5Aとの差0.5Aの1/5だけ小さい0.9Aであ
るから、乗算回路8の出力は0. 2Mx0.9Ar0
.18MAとなる. つぎに、三角波発生回路1の出力レベルが最大値Mの2
75に相当する0.4Mであるとき、演算回路3の出力
は最大値Aより、最大値Aと最小値0.5Aとρ差0.
5Aの2/5だけ小さい0.8Aであるから、乗算回路
8の出力は0.4Mx0.8Ar0.32MAとなる. つぎに、三角波発生回路1の出力レベルが最大値Mの3
/5に相当する0.6Mであるとき、演算回路3の出力
は最大値Aより、最大値Aと最小値0.5Aとの差0.
5Aの3/5だけ小さい0.7Aであるから、乗算回路
8の出力は0.6MX0.7Aで0.42MAとなる。
That is, for example, when the triangular wave is at the origin O, the output level of the triangular wave generating circuit 1 is 0, and on the other hand, the output of the arithmetic circuit 3 is the maximum value A, so the output of the multiplier circuit 8 is O.
XA becomes O. Next, when the output level of the triangular wave generation circuit 1 is 0.2M, which corresponds to the maximum value M of 175,
The output of the arithmetic circuit 3 is from the maximum value A to the maximum value A and the minimum value 0.
.. 5A is 0.9A, which is 1/5 smaller than the difference of 0.5A, so the output of the multiplier circuit 8 is 0.9A. 2Mx0.9Ar0
.. It will be 18 MA. Next, the output level of the triangular wave generating circuit 1 is 2, which is the maximum value M.
When it is 0.4M corresponding to 75, the output of the arithmetic circuit 3 is from the maximum value A, and the difference in ρ between the maximum value A and the minimum value 0.5A is 0.
Since it is 0.8A, which is 2/5 of 5A, the output of the multiplier circuit 8 is 0.4Mx0.8Ar0.32MA. Next, the output level of the triangular wave generation circuit 1 is 3, which is the maximum value M.
/5, the output of the arithmetic circuit 3 is the maximum value A, and the difference between the maximum value A and the minimum value 0.5A is 0.
Since it is 0.7A, which is 3/5 of 5A, the output of the multiplier circuit 8 is 0.6MX0.7A, which is 0.42MA.

さらに、三角波発生回路1の出力レベルが最大値Mの4
/5に相当する0.8Mであるとき、演算回路3の出力
は最大値Aより、最大値Aと最小値0.5Aとの差0.
5Aの4/5だけ小さい0.6Aであるから、乗算回路
8の出力は0.8MX0.6Aで0.48MAとなる. そして、三角波発生回路1の出力レベルが最大値Mにな
ると、演算回路3の出力は最小値0.5Aになるから、
乗算回路8の出力はMXO.ラAで0.5MAとなる. したがって、この間、乗算回路8の出力は、第17図d
に示すように、上昇率が次第に減少しながら上昇し続け
る. また、三角波発生回路1の出力レベルが最大値MからO
まで低下するときは、上記の経過を逆にたどるため、そ
の間、乗算回路8の出力は、第17図dに示すように、
下降率が次第に増加しながら下降し続ける. 一方、三角波発生回路1の出力レベルが最小値一Mの1
/5に相当する−0.2Mであるとき、演算回路3の出
力は最大値Aより、最大値Aと最小値0.5Aとの差0
.5Aの1/5だけ小さい0、9Aであるから、乗算回
路8の出力は一0.2MX0.9Aで−0.18MAと
なる.つぎに、三角波発生回路1の出力レベルが最小値
一Mの2/5に相当する−0.4Mであるとき、演算回
路3の出力は最大fit!Aより、最大値Aと最小値0
,5Aとの差0.5Aの2/5だけ小さい0.8Aであ
るから、乗算回路8の出力は一0.4MXO.8Aで−
0.32MAとなる.つぎに、三角波発生回路1の出力
レベルが最小値Mの3/5に相当する0.6Mであると
き、演算回路3の出力は最大値Aより、最大値Aと最小
値0.5Aとの差0.5Aの3/5だけ小さい0.7A
であるから、乗算回路8の出力は一〇.6MX0.7A
で−0.42MAとなる.さらに、三角波発生回路1の
出力レベルが最小値Mの475に相当する−0.8Mで
あるとき、演算回路3の出力は最大値Aより、最大値A
と最小値0.5Aとの差0.5Aの4/5だけ小さい0
.6Aであるから、乗算回路8の出力は−0.8MX0
.6Aで−0.48MAとなる.そして、三角波発生回
路1の出力レベルが最小値一Mになると、演算回路3の
出力は最小値0.5Aになるから、乗算回路8の出力は
一M×0.5Aで−0.5MAとなる. したがって、この間、乗算回路8の出力は、第17図d
に示すように、下降率が次第に減少しながら下降し続け
る. また、三角波発生回路1の出力レベルが最小値一Mから
0まで増加するときは、上記の経過を逆にたどるため、
その間、乗算回路8の出力は、第17図dに示すように
、上昇率が次第に増加しながら上昇し続ける. したがって、三角波発生回路1から第17図aに示すよ
うな三角波が発生すると、乗算回路8からは、第17図
dに示すようなサイン波(M密には疑似サイン波〉が発
生することとなる.なお、上記第7実施例では、反転回
路2を、絶対値回路によって構成したが、これに限定す
るものでなく、たとえば、三角波発生回路1の出力をそ
の中間レベルで負方向に折り返すようにしてもよい. また、上記第7実施例では、演算回路3を、定数Aを出
力する定数回路4と、定数回路4の出力Aの1/2以下
の数に負号をつけた数B(−0.5A≦Boo)を出力
する補助回路5と、反転回路(絶対値回路)2の出力と
補助回路5の出力Bとを乗算して、反転回路(絶対値回
路)2の出力の最大値と最小値とのレベル差を、定数A
の半分以下にする乗算回路6と、乗算回路6の出力と定
数回路4の出力Aとを加算して、反転回路(絶対値回路
)2の出力の最小値を最大値の半分以上にする加算回路
7とによって構成したが、これに限定するものでない. 上記第7実施例のサイン波発生器は、三角波発生回路の
出力に、反転、演算および乗算の処理を施すだけで、サ
イン波を発生させることができ、そのため、従来のもの
のように、サイン波のサンプリング周期ごとの各レベル
値を記録したROMが不要であるし、CPUがサンプリ
ング周期ごとにROMの読み出し動作を行う必要もなく
、したがって、簡単な構成できわめて容易にサイン波を
発生させることができ、その結果、デジタル信号処理装
置その他の音場処理装置に適用して、きわめて好適なも
のである. く第8実施例〉 第18図はA/Dコンバータの補正装置としての機能に
着目したこの発明の第8実施例を示し、1はA/Dコン
バータ、2はA/Dコンバータに、通常の音声入力とは
切り換えてゼロレベルの直流を入力するゼロ入力回路、
3はA/Dコンバータ1がゼロ入力回路2によりゼロレ
ベルの直流を入力されているとき、A/Dコンバータ1
の出力から実質的なレベルを有する直流分Kを検出する
検出回路、4は検出回路3により検出された直流分Kの
逆相に相当する定数一Kを発生する定数回路、5はゼロ
入力回路2がゼロレベルの直流を入力しない通常の音声
入力時に、A/Dコンバータ1の出力と定数回路4の出
力とを加算して、A/Dコンバータの出力に現れるはず
の直流分Kを,定数一Kによって相殺、除去する加算回
路である.つぎに上記のものの作用について説明する.
まず、通常の音声入力が全くないか、または、瞬間的に
A/Dコンバータ1への音声入力が遮断されても支障の
ないとき、ゼロ入力回路2が、通常の音声入力とは切り
換えて、A/Dコンバータ1にゼロレベルの直流を入力
する. このとき、A/Dコンバータ1が、その自身により、実
質的なレベルを有する直流分Kを生じると、この直流分
Kは、A/Dコンバータ1の出力に現れることとなる. すると、検出回路3が、A/Dコンバータ1の出力に現
れたその直流分Kを検出し、これを受けて、定数回路4
が5検出回路3により検出された直流分Kの逆相に相当
する定数一Kを発生する.以上の動作が終了したのち、
ゼロ入力回路2が、ゼロ入力から通常の音声入力に切り
換えると、入力される音声信号はA/Dコンバータ1に
よってA/D変換されたうえ、出力されることとなるが
,その出力に含まれるA/Dコンバータ1自身によって
生じた直流分Kは、加算回路5によって、定数回路4か
ら発生する定数一Kと加算されて相殺、除去される. したがって、加算回路5の出力は、A/Dコンバータ1
の出力から直流分Kが完全に除去されたもの、すなわち
、入力音声信号の純粋な意味でのA/D変換データのみ
となる. その結果、A/Dコンバータ1から加算回路5を介して
A/D変換データを受け取る図示しない適宜の音声処理
装宣は、A/Dコンバータ1自身によって生じる直流分
Kを全く含まない純然たるA/D変換データを受け取っ
て、所要の処理を行うことができることとなる. なお、上記第8実施例では、定数回路4を、検出回路3
および加算回路5とは別に独立して設けたが、これに限
定するものでなく、検出回路3または加算回路5に付属
して設けることもできる.また、上記第8実施例では、
検出回路3および加算回路5を、A/Dコンバータ1が
らA/D変換データを受け取る図示しない適宜の音声処
理装置とは別に独立して設けたが、これに限定するもの
でなく、音声処理装置自身の機能を使って、検出回路3
または加算回路5の役割を実行するようにしてもよい. さらに、上記第8実施例では、ゼロ入力回路2および定
数回路4についても、A/Dコンバータ1からA/D変
換データを受け取る図示しない適宜の音声処理装置とは
別に独立して設けたが、これに限定するものでなく、音
声処理装置自身、または、もともと音声処理装置と組み
合わせて使用される装置類の機能を使って、ゼロ入力回
路2または定数回路4の役割を実行するようにしてもよ
い. 上記第8実施例のA/Dコンバータの補正装置は、A/
Dコンバータの出力に現れるはずの直流分を、ゼロ入力
時に検出された直流分の逆相に相当する定数によって相
殺、除去することができ、そのため、従来のもののよう
に、半固定スイッチ等による調整を行わずに、A/Dコ
ンバータの出力に現れる直流分を除去して、音声にとっ
て本来有害な直流分の影響を未然に防止することができ
、その結果、たとえば第l9図(こ示すようなデジタル
フィルタ等のデジタル信号処理装置をはじめ、その他の
音堝処理装置に適用して、きわめて好適なものである. 〈第9実腫例〉 第20図はメモリ書き換え回路としての機能に着目した
この発明の第9実施例を示し、1は制御用CPU (中
央処理装置)、2はプログラムメモリ、3はプログラム
メモリ2の内容にしたがって動作する演算器、4は演算
器3の所要の値を保持する演算用メモリ、5は制御用C
PUIによってプログラムメモリ2の内容が書き換えら
れるとき、それと同時に、制御用CPUIの指示により
、演算用メモリ4の内容をクリアするクリア回路である
. プログラムメモリ2は、RAM (ランダム・アクセス
・メモリ)になっていて、書き換えができるため、プロ
グラムメモリ2の内容を書き換えることにより,ハード
ウェアを変更しないで、複数の異なる処理を実行できる
ようになっている.また、演算用メモリ4は、演算器3
による演算の途中の値を一時保持したり、または、値を
長期保持(遅延)したりするようになっている.さらに
、クリア回路5は、演算用メモリ4のクリアが終了する
と、そのことを制御用CPUIに伝えるようになってい
る. つぎに上記のものの作用について説明する.プログラム
メモリ2の内容を書き換えるときは、演算用メモリ4の
内容はそれまでのプログラムによる保持値であって、新
たなプログラムにとっては関係のないノイズとなってし
まうため、演算用メモリ4の内容はクリアされなければ
ならないが、このようなプログラムメモリ2の書き換え
および演算用メモリ4のクリアは、つぎのようにして行
う. すなわち、第21図に示すように、まず、プログラムメ
モリ2の内容を更新前のソフトAのままで出力(音量)
を徐々に下げる. つぎに、出力が0になったところで、制御用CPUIに
よってプログラムメモリ2の内容をAからB(更新すべ
き新たなソフト)に直接書き換える一方、これと同時に
、WI御用CPUIの指示により、クリア回路5が演算
用メモリ4の内容を直接クリアさせる. つぎに、プログラムメモリ2の書き換えおよび演算用メ
モリ4のクリアが終了すると、出力(音量)を徐々に上
げる. したがって、プログラムメモリ2の書き換えと、演算用
メモリ4のクリアとが、同時に並行して行われること.
どなる, なお、上記第9実施例では、IIN御用CPUIによっ
てプログラムメモυ2の内容が書き換えられるとき、そ
れと同時に、制御用CPUIの指示により、演算用メモ
リ4の内容をクリアするように楕戒したが、これに限定
するものでなく、たとえば,制御用CPUIによってプ
ログラムメモリ2の内容が書き換えられるときであって
も、演算用メモリ4の内容を必要な部分はクリアしない
ように構成することができるし,また、プログラムメモ
リ2の内容が書き換えられないときであっても、演算用
メモリ4の内容を必要な部分はクリアするように構成す
ることもできる。
Furthermore, the output level of the triangular wave generating circuit 1 is 4, which is the maximum value M.
/5, the output of the arithmetic circuit 3 is determined by the maximum value A, and the difference between the maximum value A and the minimum value 0.5A is 0.5A.
Since it is 0.6A, which is 4/5 of 5A, the output of the multiplier circuit 8 is 0.8MX0.6A, which is 0.48MA. Then, when the output level of the triangular wave generation circuit 1 reaches the maximum value M, the output of the arithmetic circuit 3 becomes the minimum value 0.5A.
The output of the multiplier circuit 8 is MXO. La A becomes 0.5 MA. Therefore, during this period, the output of the multiplier circuit 8 is
As shown in , the rate of increase continues to increase while gradually decreasing. Also, the output level of the triangular wave generation circuit 1 changes from the maximum value M to O.
During this period, the output of the multiplier circuit 8 is as shown in FIG.
It continues to fall while the rate of decline gradually increases. On the other hand, the output level of the triangular wave generation circuit 1 is 1 of the minimum value 1M.
/5, the output of the arithmetic circuit 3 is the maximum value A, so the difference between the maximum value A and the minimum value 0.5A is 0.
.. Since 0.9A is smaller by 1/5 of 5A, the output of the multiplier circuit 8 is -0.2MX0.9A, which is -0.18MA. Next, when the output level of the triangular wave generation circuit 1 is -0.4M, which corresponds to 2/5 of the minimum value 1M, the output of the arithmetic circuit 3 reaches the maximum fit! From A, maximum value A and minimum value 0
, 5A is 0.8A, which is smaller by 2/5 of the difference of 0.5A, so the output of the multiplier circuit 8 is -0.4MXO. At 8A-
It becomes 0.32 MA. Next, when the output level of the triangular wave generation circuit 1 is 0.6M, which corresponds to 3/5 of the minimum value M, the output of the arithmetic circuit 3 is calculated from the maximum value A. 0.7A, which is 3/5 smaller than the difference of 0.5A
Therefore, the output of the multiplication circuit 8 is 10. 6MX0.7A
Therefore, it becomes -0.42MA. Furthermore, when the output level of the triangular wave generation circuit 1 is -0.8M, which corresponds to the minimum value M of 475, the output level of the arithmetic circuit 3 is lower than the maximum value A.
0, which is smaller by 4/5 of the difference 0.5A between and the minimum value 0.5A
.. 6A, the output of the multiplier circuit 8 is -0.8MX0
.. At 6A, it becomes -0.48MA. When the output level of the triangular wave generation circuit 1 reaches the minimum value 1M, the output of the arithmetic circuit 3 becomes the minimum value 0.5A, so the output of the multiplier circuit 8 becomes 1M x 0.5A, which is -0.5MA. Become. Therefore, during this period, the output of the multiplier circuit 8 is
As shown in , the rate of decline continues to decrease gradually. Also, when the output level of the triangular wave generation circuit 1 increases from the minimum value 1M to 0, the above process is reversed, so
Meanwhile, the output of the multiplier circuit 8 continues to rise at a gradually increasing rate, as shown in FIG. 17d. Therefore, when the triangular wave generator circuit 1 generates a triangular wave as shown in FIG. In the seventh embodiment, the inverting circuit 2 is constituted by an absolute value circuit, but the invention is not limited to this. In addition, in the seventh embodiment, the arithmetic circuit 3 is composed of a constant circuit 4 that outputs the constant A, and a number B that is equal to or less than 1/2 of the output A of the constant circuit 4 with a negative sign. (-0.5A≦Boo), the output of the inverting circuit (absolute value circuit) 2 and the output B of the auxiliary circuit 5 are multiplied together, and the output of the inverting circuit (absolute value circuit) 2 is The level difference between the maximum value and the minimum value is expressed as a constant A
A multiplication circuit 6 which adds the output of the multiplication circuit 6 and the output A of the constant circuit 4 to make the minimum value of the output of the inverting circuit (absolute value circuit) 2 less than half of the maximum value. Although the configuration is made up of circuit 7, it is not limited to this. The sine wave generator of the seventh embodiment can generate a sine wave by simply performing inversion, calculation, and multiplication on the output of the triangular wave generation circuit. There is no need for a ROM that records each level value for each sampling period, and there is no need for the CPU to read out the ROM for each sampling period. Therefore, a sine wave can be generated extremely easily with a simple configuration. As a result, it is extremely suitable for application to digital signal processing devices and other sound field processing devices. 8th Embodiment> Fig. 18 shows an eighth embodiment of the present invention, which focuses on the function of the A/D converter as a correction device. A zero input circuit that switches from the audio input and inputs zero level direct current,
3 indicates that when the A/D converter 1 is receiving zero level direct current from the zero input circuit 2, the A/D converter 1
4 is a constant circuit that generates a constant 1K corresponding to the opposite phase of the DC component K detected by the detection circuit 3; 5 is a zero input During normal audio input when circuit 2 does not input zero-level DC, the output of A/D converter 1 and the output of constant circuit 4 are added to calculate the DC component K that should appear at the output of the A/D converter. This is an addition circuit that cancels and eliminates by a constant 1K. Next, we will explain the effects of the above.
First, when there is no normal audio input or when there is no problem even if the audio input to the A/D converter 1 is momentarily cut off, the zero input circuit 2 switches from the normal audio input. Input zero level DC to A/D converter 1. At this time, if the A/D converter 1 itself generates a DC component K having a substantial level, this DC component K will appear at the output of the A/D converter 1. Then, the detection circuit 3 detects the DC component K appearing at the output of the A/D converter 1, and upon receiving this, the constant circuit 4
generates a constant 1K corresponding to the opposite phase of the DC component K detected by the 5 detection circuit 3. After the above operations are completed,
When the zero input circuit 2 switches from zero input to normal audio input, the input audio signal is A/D converted by the A/D converter 1 and then output, but it is included in the output. The DC component K generated by the A/D converter 1 itself is added to the constant 1K generated from the constant circuit 4 by the adding circuit 5, and is canceled out and removed. Therefore, the output of the adder circuit 5 is the output of the A/D converter 1
The DC component K is completely removed from the output of , that is, the output is only A/D conversion data in the pure sense of the input audio signal. As a result, an appropriate audio processing device (not shown) that receives A/D converted data from the A/D converter 1 via the adder circuit 5 is a pure A/D converter that does not include any DC component K generated by the A/D converter 1 itself. /D converted data can be received and required processing can be performed. In the eighth embodiment, the constant circuit 4 is replaced by the detection circuit 3.
Although the detection circuit 3 and the addition circuit 5 are provided independently, the present invention is not limited to this, and the detection circuit 3 or the addition circuit 5 may also be provided. Furthermore, in the eighth embodiment,
Although the detection circuit 3 and the addition circuit 5 are provided independently from an appropriate audio processing device (not shown) that receives A/D conversion data from the A/D converter 1, the present invention is not limited to this. Using its own function, the detection circuit 3
Alternatively, it may be configured to perform the role of the adder circuit 5. Furthermore, in the eighth embodiment, the zero input circuit 2 and the constant circuit 4 are also provided independently from the appropriate audio processing device (not shown) that receives A/D conversion data from the A/D converter 1. However, the present invention is not limited to this, and the role of the zero input circuit 2 or the constant circuit 4 may be performed by using the functions of the audio processing device itself or devices originally used in combination with the audio processing device. good. The A/D converter correction device of the eighth embodiment is an A/D converter correction device according to the eighth embodiment.
The DC component that should appear in the output of the D converter can be canceled out and removed by a constant corresponding to the opposite phase of the DC component detected at zero input. By removing the DC component that appears in the output of the A/D converter without performing any It is extremely suitable for application to digital signal processing devices such as digital filters, as well as other sound chamber processing devices. <Ninth Actual Tumor Example> Figure 20 shows this device focusing on its function as a memory rewriting circuit. A ninth embodiment of the invention is shown, in which 1 is a control CPU (central processing unit), 2 is a program memory, 3 is an arithmetic unit that operates according to the contents of the program memory 2, and 4 holds required values of the arithmetic unit 3. memory for calculation, 5 is C for control.
When the contents of the program memory 2 are rewritten by the PUI, this clear circuit simultaneously clears the contents of the calculation memory 4 according to instructions from the control CPUI. Program memory 2 is RAM (random access memory) and is rewritable, so by rewriting the contents of program memory 2, you can execute multiple different processes without changing the hardware. ing. In addition, the calculation memory 4 is connected to the calculation unit 3.
It is possible to temporarily hold the value in the middle of an operation, or to hold the value for a long time (delay). Further, when the clearing of the calculation memory 4 is completed, the clear circuit 5 is configured to notify the control CPU of the same. Next, we will explain the effects of the above. When rewriting the contents of the program memory 2, the contents of the calculation memory 4 are the values held by the previous program, and become noise irrelevant to the new program. The rewriting of the program memory 2 and the clearing of the calculation memory 4 are performed in the following manner. That is, as shown in FIG. 21, first, the contents of program memory 2 are output (volume) as they are in software A before the update.
Gradually lower. Next, when the output becomes 0, the content of the program memory 2 is directly rewritten from A to B (new software to be updated) using the control CPU, and at the same time, the clear circuit is 5 directly clears the contents of the calculation memory 4. Next, after rewriting the program memory 2 and clearing the calculation memory 4, the output (volume) is gradually increased. Therefore, rewriting the program memory 2 and clearing the calculation memory 4 must be performed in parallel.
Furthermore, in the ninth embodiment, when the contents of the program memo υ2 are rewritten by the IIN official CPU, at the same time, the contents of the calculation memory 4 are instructed to be cleared by the instruction of the control CPU. However, the present invention is not limited to this; for example, even when the contents of the program memory 2 are rewritten by the control CPU, the contents of the calculation memory 4 may be configured so as not to clear necessary portions. Furthermore, even when the contents of the program memory 2 are not rewritten, a necessary portion of the contents of the calculation memory 4 can be cleared.

上記第9実施例のメモリ書き換え回路は、プロダラムメ
モリの書き換えと、演算用メモリのクリアとを、同時に
並行して行うことができ、しかも、プログラムメモリの
書き換えは、第22図に示す 4,従来のもののように
、更新前のソフトAから一旦、演算用メモリクリア用の
ソフトCに書き換えて、演算用メモリの内容をクリアし
たのち、このソフトCから更新すべき新たなソフトBに
書き換えるのではなく、更新前のソフトから更新すべき
新たなソフトに、直接、1度だけ行えばよく、そのため
、プログラムメモリの書き換えに時間がかからないうえ
、その書き換え時間を演算用メモリのクリアに利用する
ことができ、したがって、プログラムメモリの書き換え
および演算用メモリのクリアを、短時間で効率的に処理
することができ、その結果、デジタル信号処理装置その
他の音堝処理装置に適用して、きわめて好適なものであ
る.[発明の効果] この発明は上記のように構戊したので、変調制御系を取
り扱うソフトウェアの負担を軽減させることができ、そ
のため、価格の低減を図ることができて、音堝処理装置
の普及にきわめて有効である等のすぐれた効果を有する
ものである.
The memory rewriting circuit of the ninth embodiment described above can rewrite the program memory and clear the calculation memory at the same time, and the rewriting of the program memory is shown in FIG. 22.4. As with the conventional version, you must first rewrite the software A before the update to the software C for clearing the calculation memory, clear the contents of the calculation memory, and then rewrite the software C to the new software B that should be updated. Instead, it only needs to be done once, directly from the old software to the new software to be updated. Therefore, it does not take much time to rewrite the program memory, and the rewriting time can be used to clear the calculation memory. Therefore, it is possible to rewrite the program memory and clear the calculation memory in a short time and efficiently.As a result, it is extremely suitable for application to digital signal processing devices and other sound chamber processing devices. It is something. [Effects of the Invention] Since the present invention is structured as described above, it is possible to reduce the burden on the software that handles the modulation control system, thereby reducing the cost and increasing the popularity of sound chamber processing devices. It has excellent effects such as being extremely effective.

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

第1図はこの発明の第1実施例を示すブロック図、第2
図はインターボーレイション回路の一例を示すブロック
図である。 1・・・乗算器 2・・・インターボーレイション回路 3・・・保持回路     4・・・判別回路5・・・
加算回路 第3図はこの発明の第2実施例を示すブロック図、第4
図は第3図のものの入力波形およびピークホールド波形
の一例を示す説明図、第5図はこの発明の第3実施例を
示すブロック図、第6図は第5図のものの各入力波形お
よびピークホールド波形の一例を示す説明図である. 1・・・絶対値回路    2・・・入力レジスタ3・
・・ピーク値保持レジスタ 4・・・比較回路     5・・・リセット回路11
・・・絶対値回路   l2・・・入力レジスタ13・
・・ピーク値保持レジスタ 14・・・比較回路    15・・・リセット回路第
7図はこの発明の第4実施例を示すブロック図、第8図
は第7図のものの各部の波形の一例を示す説明図である
. 1・・・検出回路     2・・・クリップ回路3・
・・リセット回路   4・・・演算回路第9図はこの
発明の第5実施例を示すブロック図、第10図は第9図
のものの各部の波形の一例を示す説明図、第11図はゲ
ート信号の利用の一例を示す説明図、第12図はゲート
信号の利用の他の例を示す説明図、第13図は音声入力
波形の一例を示す説明図である. 1・・・デジタル積分回路 2・・・シフトアップ回路
3・・・検出回路     4・−・クリップ回路5・
・・リセット回路 第14図はこの発明の第6実施例を示すブロック図、第
15図は第14図のものの各部の波形の一例を示す説明
図である. 1・・・三角波発生回路  2・・・保持回路3・・・
加算回路     4・・・初期化回路第16図はこの
発明の第7実施例を示すブロック図、第17図は第16
図のものの各部の波形の一例を示す説明図である. 1・・・三角波発生回路 2・・・反転回路(絶対値回路) 3・・・演算回路     4・・・定数回路5・・・
補助回路     6・・・乗算回路7・・・加算回路
     8・・・乗算回路第18図はこの発明の第8
実施例を示すブロック図、第19図はデジタルフィルタ
の一例を示すブロック図である. 1・・・A/Dコンバータ 2・・・ゼロ入力回路3・
・・検出回路     4・・・定数回路5・・・加算
回路 第20図はこの発明の第9実施例を示すブロック図、第
21図は第20図のもののプログラムメモリの書き換え
を示す説明図、第22図は従来のもののプログラムメモ
リの書き換えを示す説明図である. 1・・・制御用CPU 2・・・プログラムメモリ 3・・・演算器 4・・・演算用メモリ 5・・・クリア回路
FIG. 1 is a block diagram showing a first embodiment of the present invention, and FIG.
The figure is a block diagram showing an example of an intervolation circuit. 1... Multiplier 2... Interboration circuit 3... Holding circuit 4... Discrimination circuit 5...
Adding circuit FIG. 3 is a block diagram showing a second embodiment of the present invention, and FIG.
The figure is an explanatory diagram showing an example of the input waveform and peak hold waveform of the one shown in FIG. 3, FIG. 5 is a block diagram showing the third embodiment of the present invention, and FIG. FIG. 3 is an explanatory diagram showing an example of a hold waveform. 1... Absolute value circuit 2... Input register 3.
...Peak value holding register 4...Comparison circuit 5...Reset circuit 11
... Absolute value circuit l2 ... Input register 13.
...Peak value holding register 14...Comparison circuit 15...Reset circuit FIG. 7 is a block diagram showing a fourth embodiment of the present invention, and FIG. 8 shows an example of waveforms of each part of the one shown in FIG. This is an explanatory diagram. 1...Detection circuit 2...Clip circuit 3.
...Reset circuit 4...Arithmetic circuit FIG. 9 is a block diagram showing the fifth embodiment of the present invention, FIG. 10 is an explanatory diagram showing an example of waveforms of each part of the circuit in FIG. 9, and FIG. 11 is a gate FIG. 12 is an explanatory diagram showing an example of the use of a signal, FIG. 12 is an explanatory diagram showing another example of the use of a gate signal, and FIG. 13 is an explanatory diagram showing an example of an audio input waveform. 1... Digital integration circuit 2... Shift up circuit 3... Detection circuit 4... Clip circuit 5.
...Reset circuit FIG. 14 is a block diagram showing a sixth embodiment of the present invention, and FIG. 15 is an explanatory diagram showing an example of waveforms of each part of the circuit shown in FIG. 1...Triangular wave generation circuit 2...Holding circuit 3...
Addition circuit 4...Initialization circuit FIG. 16 is a block diagram showing a seventh embodiment of the present invention, and FIG. 17 is a block diagram showing the seventh embodiment of the invention.
It is an explanatory diagram showing an example of the waveform of each part of the figure. 1... Triangular wave generation circuit 2... Inverting circuit (absolute value circuit) 3... Arithmetic circuit 4... Constant circuit 5...
Auxiliary circuit 6 Multiplying circuit 7 Adding circuit 8 Multiplying circuit FIG.
FIG. 19 is a block diagram showing an example of a digital filter. 1... A/D converter 2... Zero input circuit 3.
...Detection circuit 4...Constant circuit 5...Addition circuit FIG. 20 is a block diagram showing the ninth embodiment of the present invention, FIG. 21 is an explanatory diagram showing rewriting of the program memory of the one in FIG. 20, FIG. 22 is an explanatory diagram showing how to rewrite the program memory of a conventional device. 1... Control CPU 2... Program memory 3... Arithmetic unit 4... Arithmetic memory 5... Clear circuit

Claims (1)

【特許請求の範囲】[Claims] 1 種々の音声変調用処理手段を具えた音場処理装置。1. Sound field processing device equipped with various sound modulation processing means.
JP1229840A 1989-09-05 1989-09-05 Sound field processing device Pending JPH0392100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1229840A JPH0392100A (en) 1989-09-05 1989-09-05 Sound field processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1229840A JPH0392100A (en) 1989-09-05 1989-09-05 Sound field processing device

Publications (1)

Publication Number Publication Date
JPH0392100A true JPH0392100A (en) 1991-04-17

Family

ID=16898507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1229840A Pending JPH0392100A (en) 1989-09-05 1989-09-05 Sound field processing device

Country Status (1)

Country Link
JP (1) JPH0392100A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8802269B2 (en) 2009-11-27 2014-08-12 Hitachi Maxell, Ltd. Flat nonaqueous secondary battery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8802269B2 (en) 2009-11-27 2014-08-12 Hitachi Maxell, Ltd. Flat nonaqueous secondary battery

Similar Documents

Publication Publication Date Title
JPH04152716A (en) A/d converter
JPS6243199B2 (en)
EP0405915B1 (en) Audio signal data processing system
JPH0392100A (en) Sound field processing device
JP2680483B2 (en) Digital signal processor
JPH0140525B2 (en)
US4638710A (en) Periodic waveform generation by nonrecyclically reading lower frequency audio samples and recyclically reading higher frequency audio samples
EP0299537B1 (en) Apparatus and Method for processing digital signal
KR100236786B1 (en) Sound source device
US5475627A (en) Digital wave synthesizer with address conversion for reducing memory capacity
JP3136735B2 (en) Effect adding device
JPS6022733Y2 (en) Receiver for vehicle control equipment
JPH0740191B2 (en) Envelope generator
JPH05249954A (en) Effect giving device
JP2555882B2 (en) Signal processor
JPH0221774Y2 (en)
JPH0690637B2 (en) Interpolation method
JPH08292764A (en) Signal changeover device
JPH0391074A (en) Arithmetic unit
JP2940384B2 (en) Electronic musical instrument
KR100551458B1 (en) Digital signal processing operation method and digital signal processor
JP2525979Y2 (en) Simple digital filter
JP3617921B2 (en) Electronic musical instrument effect imparting device
JP3159774B2 (en) Digital attenuator
JP2006139321A (en) Digital signal processor