JPH0870225A - Output characteristic setting device and coefficient setting device - Google Patents

Output characteristic setting device and coefficient setting device

Info

Publication number
JPH0870225A
JPH0870225A JP6202987A JP20298794A JPH0870225A JP H0870225 A JPH0870225 A JP H0870225A JP 6202987 A JP6202987 A JP 6202987A JP 20298794 A JP20298794 A JP 20298794A JP H0870225 A JPH0870225 A JP H0870225A
Authority
JP
Japan
Prior art keywords
coefficient
gain
output
gain coefficient
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP6202987A
Other languages
Japanese (ja)
Inventor
Masanori Hoshino
政則 星野
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP6202987A priority Critical patent/JPH0870225A/en
Publication of JPH0870225A publication Critical patent/JPH0870225A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To control a dynamic range by setting a mixing output characteristic of plural input signals based on a gain coefficient by a coefficient setting means and a gain coefficient by a coefficient generating means in a way that no overflow nor underflow takes place to a digital arithmetic word tone. CONSTITUTION: At first, a sum output XM is fed to the device, in which an absolute value is detected and subject to envelope detection and an envelope signal Xe is outputted from an envelope detection section 38. A gain calculation section 39 calculates a gain coefficient by a prescribed function arithmetic operation based on the envelope signal Xe . A comparator 41 compares the envelope signal Xe with a reference value Xth . A gain coefficient calculated by the calculation section 39 is fed to a terminal 42a of a switch section 42 and a gain coefficient from a gain generating section 40 is fed to a terminal 42b, and the changeover of the connection terminals 42a, 42b is controlled depending on an output of the comparator 41. An output of the switch section 42 is fed to a multiplier 34 as a gain coefficient (g).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は入力されたデジタル信号
に対して係数演算処理を施して出力することで所定の入
出力特性を得る出力特性設定装置、及び係数演算処理に
用いる係数を得るための係数設定装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides an output characteristic setting device for obtaining a predetermined input / output characteristic by applying coefficient calculation processing to an input digital signal and outputting it, and a coefficient used for the coefficient calculation processing. And a coefficient setting device.

【0002】[0002]

【従来の技術】近年、オーディオ装置として音声信号を
デジタルデータ形態で記録した記録媒体を用いるものが
多くなり、例えばCDプレーヤ、DATプレーヤ、ミニ
ディスクプレーヤなどとして普及している。また、カセ
ットテーププレーヤやAM/FMラジオチューナなど、
音声信号をアナログ信号で出力するオーディオソースも
あり、これらが上記のデジタルソースとなる機器部と一
体的に設けられた複合型のオーディオ機器も多い。
2. Description of the Related Art In recent years, many audio devices use recording media in which audio signals are recorded in the form of digital data, and are widely used as, for example, CD players, DAT players, mini disk players and the like. Also, cassette tape players, AM / FM radio tuners, etc.
There is also an audio source that outputs an audio signal as an analog signal, and in many cases there is a composite type audio device in which these are integrated with the device section that serves as the digital source.

【0003】ここで、音声信号に関する各種処理を一括
してデジタル演算で行なうようにすることによりアナロ
グ信号処理回路を構成する場合に比べて部品点数の削
減、基板面積の縮小などの利点が生ずる。さらに、アナ
ログ信号では困難であったリバーブやコンプレスなどの
音響効果についても、デジタル信号処理では比較的容易
に実現できる。
Here, various processes relating to the audio signal are collectively performed by digital calculation, so that advantages such as reduction of the number of parts and reduction of the board area are produced as compared with the case where the analog signal processing circuit is constituted. Furthermore, acoustic effects such as reverb and compression, which were difficult with analog signals, can be realized relatively easily with digital signal processing.

【0004】このため、デジタルソースからの音声デー
タはデジタル段階で処理するようにし、また特に上記複
合型の機器などにおいてはアナログソースからの音声信
号を一旦デジタル化し、デジタルソースからの信号と同
様にデジタル信号処理部に供給するように構成すること
が考えられている。
For this reason, audio data from a digital source is processed in a digital stage, and particularly in the above-mentioned complex type equipment, an audio signal from an analog source is once digitized to be processed in the same manner as a signal from a digital source. It is considered that the digital signal processing unit is configured to supply the digital signal processing unit.

【0005】[0005]

【発明が解決しようとする課題】ところで、このように
デジタルソース、アナログソースに関わらず各種ソース
からの信号をデジタル信号処理部で処理できるようにす
る場合、デジタル信号処理部としては特に所定の演算語
長に対してオーバーフローやアンダーフローを起こさな
いようにすることが重要になる。即ち、従来アナログ信
号系でAGC回路などで知られていたダイナミックレン
ジコントロールに相当する処理を実行することが必要に
なる。
By the way, when the signals from various sources are processed by the digital signal processing section regardless of whether they are digital sources or analog sources, the digital signal processing section particularly performs a predetermined calculation. It is important not to cause overflow or underflow for the word length. That is, it is necessary to execute a process corresponding to the dynamic range control conventionally known in the AGC circuit or the like in the analog signal system.

【0006】例えばカラオケ再生音声とマイクロフォン
入力を同時にスピーカ出力させたいような場合には、デ
ジタル信号処理部は、デジタルデータで入力された2系
統の入力をミキシングして出力することになるが、この
とき、ミキシングを行なうために加算した値がオーバー
フローしてしまわないようにすることが必要である。ま
た、1系統の入力の処理であっても、同様にリミッタ処
理などでオーバーフローを防止することが必要となる。
また、さらにエキスパンド処理等を実行することも考え
られる。
For example, when it is desired to output the karaoke reproduction voice and the microphone input to the speaker at the same time, the digital signal processing section mixes the two systems of inputs inputted by digital data and outputs them. , It is necessary to prevent the added value from overflowing for mixing. Further, even in the case of the processing of one system of input, it is necessary to prevent the overflow by the limiter processing or the like.
Further, it is also possible to further execute an expanding process or the like.

【0007】いづれにしてもデジタル信号処理において
は、まず出力特性の制御が必要になり、このためには図
12に示すように入力値xに応じてゲイン算出部50で
ゲイン係数gを設定し、そのゲイン係数gを乗算器51
で入力値xに乗算することで所望の出力特性の出力yを
得るようにすることになる。
In any case, in the digital signal processing, it is first necessary to control the output characteristic. For this purpose, as shown in FIG. 12, the gain coefficient g is set in the gain calculating section 50 according to the input value x. , The gain coefficient g of the multiplier 51
By multiplying the input value x with, the output y having a desired output characteristic is obtained.

【0008】入力値xに応じてゲイン係数gを得る方式
としては主に次の2つのいづれかが取られてきた。ま
ず、入力に対して対数変換を施した上で所望のゲイン特
性を1次関数などで作り出し、さらにその値を逆対数変
換して得た値をゲイン係数とするものである。もう1つ
は、入力情報に対して所望のゲイン特性が一意に求まる
メモリテーブルを用意し、これを参照してゲイン係数を
定める方式である。
As a method of obtaining the gain coefficient g according to the input value x, either of the following two methods has been mainly taken. First, a desired gain characteristic is created by a linear function or the like after logarithmic transformation is applied to an input, and the value obtained by inverse logarithmic transformation is used as a gain coefficient. The other is a method in which a memory table in which a desired gain characteristic is uniquely obtained for input information is prepared and the gain coefficient is determined by referring to this.

【0009】対数変換でゲイン係数gを得る場合は、ゲ
イン算出部50として図13の構成をとることになる。
まず入力xを対数変換部52で対数変換を行ない、出力
Gを得る。例えば対数変換部52では入力値x及び定
数aN を用いて次の(数2)の演算で出力xG を算出す
る。
When the gain coefficient g is obtained by logarithmic conversion, the gain calculator 50 has the configuration shown in FIG.
First, the input x is logarithmically converted by the logarithmic converter 52 to obtain an output x G. For example, the logarithmic conversion unit 52 calculates the output x G by the following calculation using the input value x and the constant a N.

【数2】 [Equation 2]

【0010】このようにして得られた出力xG は関数演
算部53に入力され、関数演算部53は入力xG に対し
て例えば次の(数3)のような1次関数演算で出力Gを
得る。なお、c,dは所定の特性を得るために設定され
る定数である。
The output x G thus obtained is input to the function operation unit 53, and the function operation unit 53 performs output G on the input x G by a linear function operation such as the following (Equation 3). To get It should be noted that c and d are constants set to obtain a predetermined characteristic.

【数3】 (Equation 3)

【0011】さらに関数演算部43の出力Gは逆対数変
換部54に供給される。そして逆対数変換部54では入
力G及び定数bN を用いて、例えば次の(数4)の演算
で出力gを得る。
Further, the output G of the function computing section 43 is supplied to the antilogarithmic transformation section 54. Then, the inverse logarithmic conversion unit 54 uses the input G and the constant b N to obtain the output g by the following calculation of (Equation 4), for example.

【数4】 この出力gは即ちゲイン係数となり、図12の乗算器5
1に供給される。
[Equation 4] This output g becomes a gain coefficient, and the multiplier 5 of FIG.
1 is supplied.

【0012】ところが、このような方式では、対数変
換、関数演算、逆対数変換という演算処理のためにかな
りの演算量(演算ステップ)が必要となるという問題が
ある。このため、この方式を採用するとデジタル処理に
よる構成の簡易化という所期の目的に反することになっ
てしまう。
However, in such a system, there is a problem that a considerable amount of calculation (calculation step) is required for calculation processing such as logarithmic conversion, function calculation, and inverse logarithmic conversion. Therefore, if this method is adopted, it is against the intended purpose of simplifying the configuration by digital processing.

【0013】また、メモリテーブルを設ける方式の場合
は、ゲイン算出部50として例えばROMテーブルを備
えることになるが、或る程度分解能を上げるためには、
ROMなどのメモリ容量としてかなりの記憶領域を確保
しなければならないため、これもデジタル処理による構
成の簡易化という所期の目的に反する。また、逆に構成
の簡易化のためにメモリ領域が制限された場合は、特性
劣化を余儀なくされてしまう。
Further, in the case of the method of providing the memory table, a ROM table, for example, is provided as the gain calculating section 50, but in order to improve the resolution to some extent,
Since it is necessary to secure a considerable storage area as a memory capacity such as a ROM, this also goes against the intended purpose of simplifying the configuration by digital processing. On the contrary, if the memory area is limited to simplify the configuration, the characteristics will be deteriorated.

【0014】[0014]

【課題を解決するための手段】本発明はこのような問題
点に鑑みて、デジタル処理によるダイナミックレンジコ
ントロールとして好適な出力特性設定装置を提供すると
ともに、ダイナミックレンジコントロールを行なう係数
演算に用いるゲイン係数を容易な演算で得ることのでき
る係数設定装置を提供することを目的とする。
In view of such problems, the present invention provides an output characteristic setting device suitable for dynamic range control by digital processing, and a gain coefficient used for coefficient calculation for performing dynamic range control. It is an object of the present invention to provide a coefficient setting device that can obtain the value by a simple calculation.

【0015】このために、まず複数入力のミキサーとし
て好適な出力特性設定装置として、ミキサ手段と、包絡
線検出手段と、比較手段と、係数設定手段と、係数発生
手段と、選択手段と、ゲイン演算手段とを設ける。そし
てミキサ手段は複数の入力信号を加算して出力するよう
にする。包絡線検出手段は、ミキサ手段の出力について
の包絡線情報を得る。比較手段は、包絡線検出手段の出
力を所定値と比較する。係数設定手段は、包絡線検出手
段の出力に対して関数演算を行なってゲイン係数を得
る。係数発生手段は、固定のゲイン係数を発生させる。
選択手段は、比較手段の比較結果に応じて、係数設定手
段によるゲイン係数と係数発生手段によるゲイン係数の
いづれかを選択して出力する。ゲイン演算手段は、選択
手段から出力されたゲイン係数に基づいてミキサ手段の
出力にゲインを与えて出力する。このように構成して、
係数設定手段によるゲイン係数と係数発生手段によるゲ
イン係数が選択的に用いられて複数の入力信号の混合出
力特性が設定されるようにする。
To this end, first, as an output characteristic setting device suitable as a mixer having a plurality of inputs, a mixer means, an envelope detection means, a comparison means, a coefficient setting means, a coefficient generating means, a selecting means, and a gain. And a calculation means. The mixer means adds a plurality of input signals and outputs the added signals. The envelope detecting means obtains envelope information about the output of the mixer means. The comparing means compares the output of the envelope detecting means with a predetermined value. The coefficient setting means performs a function operation on the output of the envelope detection means to obtain a gain coefficient. The coefficient generating means generates a fixed gain coefficient.
The selecting means selects and outputs either the gain coefficient by the coefficient setting means or the gain coefficient by the coefficient generating means according to the comparison result of the comparing means. The gain calculating means gives a gain to the output of the mixer means based on the gain coefficient output from the selecting means, and outputs the gain. Configured like this,
The gain coefficient by the coefficient setting means and the gain coefficient by the coefficient generating means are selectively used to set the mixed output characteristics of a plurality of input signals.

【0016】また、リミッタとして好適な出力特性設定
装置として、包絡線検出手段と、比較手段と、係数設定
手段と、係数発生手段と、選択手段と、ゲイン演算手段
とを設ける。そして包絡線検出手段は、入力信号の包絡
線情報を得る。比較手段は、包絡線検出手段の出力を所
定値と比較する。係数設定手段は、包絡線検出手段の出
力に対して関数演算を行なってゲイン係数を得る。係数
発生手段は、固定のゲイン係数を発生させる。選択手段
は、比較手段の比較結果に応じて、係数設定手段による
ゲイン係数と係数発生手段によるゲイン係数のいづれか
を選択して出力する。ゲイン演算手段は、選択手段から
出力されたゲイン係数に基づいて入力信号にゲインを与
えて出力する。このように構成して、係数設定手段によ
るゲイン係数と係数発生手段によるゲイン係数が選択的
に用いられて信号の入出力特性が設定されるようにす
る。
Further, an envelope characteristic detecting means, a comparing means, a coefficient setting means, a coefficient generating means, a selecting means, and a gain calculating means are provided as an output characteristic setting device suitable as a limiter. Then, the envelope detecting means obtains envelope information of the input signal. The comparing means compares the output of the envelope detecting means with a predetermined value. The coefficient setting means performs a function operation on the output of the envelope detection means to obtain a gain coefficient. The coefficient generating means generates a fixed gain coefficient. The selecting means selects and outputs either the gain coefficient by the coefficient setting means or the gain coefficient by the coefficient generating means according to the comparison result of the comparing means. The gain calculation means gives a gain to the input signal based on the gain coefficient output from the selection means, and outputs the input signal. With this configuration, the gain coefficient by the coefficient setting means and the gain coefficient by the coefficient generating means are selectively used to set the input / output characteristics of the signal.

【0017】また、エキスパンダとして好適な出力特性
設定装置として、包絡線検出手段と、第1,第2の比較
手段と、係数設定手段と、第1,第2の係数発生手段
と、選択手段と、ゲイン演算手段とを設ける。そして、
包絡線検出手段は入力信号の包絡線情報を得る。第1の
比較手段は、包絡線検出手段の出力を第1の所定値と比
較する。第2の比較手段は、包絡線検出手段の出力を第
2の所定値と比較する。係数設定手段係数設定手段は、
包絡線検出手段の出力に対して関数演算を行なってゲイ
ン係数を得る。第1の係数発生手段は第1の固定のゲイ
ン係数を発生させる。第2の係数発生手段は第2の固定
のゲイン係数を発生させる。選択手段は、第1、第2の
比較手段の比較結果に応じて、係数設定手段によるゲイ
ン係数と第1の係数発生手段によるゲイン係数と第2の
係数発生手段によるゲイン係数のいづれかを選択して出
力する。ゲイン演算手段は、選択手段から出力されたゲ
イン係数に基づいて入力信号にゲインを与えて出力す
る。このように構成して、係数設定手段によるゲイン係
数と第1の係数発生手段によるゲイン係数と第2の係数
発生手段によるゲイン係数が選択的に用いられて信号の
入出力特性が設定されるようにする。
Further, as an output characteristic setting device suitable as an expander, an envelope detecting means, first and second comparing means, coefficient setting means, first and second coefficient generating means, and selecting means. And gain calculation means. And
The envelope detecting means obtains envelope information of the input signal. The first comparing means compares the output of the envelope detecting means with a first predetermined value. The second comparing means compares the output of the envelope detecting means with a second predetermined value. Coefficient setting means Coefficient setting means
A function operation is performed on the output of the envelope detecting means to obtain a gain coefficient. The first coefficient generating means generates a first fixed gain coefficient. The second coefficient generating means generates a second fixed gain coefficient. The selecting means selects one of the gain coefficient by the coefficient setting means, the gain coefficient by the first coefficient generating means, and the gain coefficient by the second coefficient generating means according to the comparison result of the first and second comparing means. Output. The gain calculation means gives a gain to the input signal based on the gain coefficient output from the selection means, and outputs the input signal. With this configuration, the input / output characteristic of the signal is set by selectively using the gain coefficient by the coefficient setting means, the gain coefficient by the first coefficient generating means, and the gain coefficient by the second coefficient generating means. To

【0018】また入力信号値xに応じてゲイン係数gを
算出する係数設定装置としては、次の(数5)の関数演
算により入力信号に対するゲイン係数gを算出するよう
にする。
As the coefficient setting device for calculating the gain coefficient g according to the input signal value x, the gain coefficient g for the input signal is calculated by the following function calculation of (Equation 5).

【数5】 ただし、kn は係数、jは係数kn の最大値kmax につ
いて(1/kmax )≧2j が成立する値、CF は(1/
2)≦│CF │<1が満たされる固定値、nは固定値、
Mは演算次数、xF は入力信号値xについて(1/2)
≦xF <1を満足するためにxをシフトさせた値、mは
入力信号値xをxF とするためのシフト量とする。
(Equation 5) However, k n is a coefficient, j is a value that satisfies (1 / k max ) ≧ 2 j for the maximum value k max of the coefficient k n , and C F is (1 /
2) Fixed value satisfying ≦ │C F │ <1, n is a fixed value,
M is the operation order, x F is the input signal value x (1/2)
A value obtained by shifting x to satisfy ≦ x F <1, and m is a shift amount for setting the input signal value x to x F.

【0019】また、上記(数5)の演算を行なう係数設
定装置としては、入力信号値xについて(1/2)≦x
F <1を満足するためにmビットシフトを行ないxF
得る第1のシフタ手段と、係数kn を保持するレジスタ
手段と、係数kn とxF についてM次の演算を実行する
ために1又は複数の加算、及び1又は複数の乗算を行な
う演算手段と、演算手段の出力に対して(m+固定値)
ビットシフトを行ない、ゲイン係数gを出力する第2の
シフタ手段とを設ける。
Further, as a coefficient setting device for performing the calculation of (Equation 5), (1/2) ≤x for the input signal value x.
A first shifter means for obtaining a x F performs m-bit shift to satisfy F <1, a register means for holding the coefficient k n, to perform M following computation for the coefficients k n and x F An arithmetic means for performing one or more additions and one or more multiplications, and (m + fixed value) for the output of the arithmetic means
Second shifter means for performing a bit shift and outputting a gain coefficient g is provided.

【0020】[0020]

【作用】上記構成の出力特性設定装置により、デジタル
信号処理によるオーバーフローを解消することができ
る。即ち、複数入力の加算信号に対してゲイン演算手段
でダイナミックレンジコントロールを行なうことで、出
力がオーバーフローしないミキサーを提供できる。ま
た、同様に入力に対してゲイン演算手段でダイナミック
レンジコントロールを行なうことで、大入力レベルに対
するリミッタとして機能する。さらに、ゲイン演算手段
での係数特性を入力に応じて多様に制御することで、エ
キスパンダとして機能する。そして、ゲイン演算手段に
供給するゲイン係数としては、上記の係数設定装置によ
り簡易な演算処理で得られるため、構成の簡易化も実現
できる。
With the output characteristic setting device having the above structure, overflow due to digital signal processing can be eliminated. That is, by performing dynamic range control on the added signals of a plurality of inputs by the gain calculation means, it is possible to provide a mixer in which the output does not overflow. Further, similarly, by performing the dynamic range control on the input by the gain calculating means, it functions as a limiter for a large input level. Further, by controlling variously the coefficient characteristic in the gain calculation means according to the input, it functions as an expander. The gain coefficient supplied to the gain calculation means can be obtained by a simple calculation process by the coefficient setting device, so that the configuration can be simplified.

【0021】[0021]

【実施例】以下、本発明についての実施例として以下の
順序で説明する。 1.本発明を採用したオーディオ機器としての要部の構
成 2.デジタル処理によるミキサー 3.デジタル処理によるリミッタ 4.デジタル処理によるエキスパンダ 5.ゲイン係数設定装置
EXAMPLES Examples of the present invention will be described below in the following order. 1. 1. Configuration of essential parts as audio equipment adopting the present invention Digital processing mixer 3. Limiter by digital processing 4. Expander by digital processing 5. Gain coefficient setting device

【0022】<1.本発明を採用したオーディオ機器と
しての要部の構成>図1は実施例の出力特性設定装置及
び係数設定装置を搭載したオーディオ機器の要部のブロ
ック図である。この図において、IN1 〜INn は各種
音声信号ソースからのデジタル音声信号(DS1 〜DS
n )の入力端子である。各種音声信号ソースとはCDプ
レーヤ部、ミニディスクプレーヤ部、カセットテーププ
レーヤ部、ラジオチューナ部、マイクロフォン入力部等
が相当し、これらはこの図1のオーディオ機器内に一体
的に備えられているものであっても、また外部機器とし
て接続されて音声信号が供給される形態であってもよ
い。
<1. Configuration of Main Part as Audio Equipment Adopting the Present Invention> FIG. 1 is a block diagram of a main part of an audio equipment equipped with an output characteristic setting device and a coefficient setting device of an embodiment. In this figure, IN 1 to IN n are digital audio signals (DS 1 to DS) from various audio signal sources.
n ) input terminal. The various audio signal sources correspond to a CD player unit, a mini disk player unit, a cassette tape player unit, a radio tuner unit, a microphone input unit, etc., which are integrally provided in the audio device of FIG. Alternatively, the audio signal may be supplied by being connected as an external device.

【0023】これらの音声信号ソースとしてはデジタル
データとして音声信号を供給できるものと、アナログ音
声信号ソースとされるものがある。例えばCDプレーヤ
部、ミニディスクプレーヤ部などでは再生信号をデジタ
ルデータ形態で出力できるため、それが入力端子IN1
〜INn のいづれかに供給される。また、カセットテー
ププレーヤやラジオチューナ、マイクロフォン入力部な
どのアナログ音声信号ソースからの音声信号は、そのソ
ースから出力されたアナログ音声信号がA/D変換器に
よってデジタルデータ形態に変換された後、入力端子I
1 〜INn のいづれかに供給されることになる。
As these audio signal sources, there are one that can supply an audio signal as digital data and one that can be an analog audio signal source. For example, since the reproduction signal can be output in the form of digital data in the CD player section, the mini disk player section, etc., it is input terminal IN 1
~ IN n . Also, an audio signal from an analog audio signal source such as a cassette tape player, a radio tuner, or a microphone input unit is input after the analog audio signal output from the source is converted into a digital data form by an A / D converter. Terminal I
Any of N 1 to IN n will be supplied.

【0024】入力端子IN1 〜INn の前後におけるデ
ジタルデータの転送方式としては、いわゆる3線式の転
送方式やデジタルオーディオインターフェースの転送方
式など各種形態があるが、いづれであってもよい。3線
式の転送方式の場合は、LRCKといわれるサンプリン
グ周波数fS の周期を持つ信号と、BCKといわれる
(32〜64)×fS の周期を持つ信号と、実際の音声
データとが伝送されることになる。
There are various types of digital data transfer methods before and after the input terminals IN 1 to IN n , such as a so-called three-wire transfer method and a digital audio interface transfer method, but any method may be used. In the case of the three-wire transfer method, a signal having a cycle of a sampling frequency f S called LRCK, a signal having a period of (32 to 64) × f S called BCK, and actual voice data are transmitted. Will be.

【0025】1,2はセレクタであり、いづれも入力端
子IN1 〜INn に供給されるデジタル音声信号(DS
1 〜DSn )のうちから1つを選択して出力することが
できるようになされている。セレクタ1の出力は信号x
1 としてDSP(デジタルシグナルプロセッサ)3に入
力される。またセレクタ2の出力は信号x2 としてDS
P3に入力される。
Reference numerals 1 and 2 are selectors, each of which is a digital audio signal (DS) supplied to the input terminals IN 1 to IN n.
1 to DS n ), one of them can be selected and output. The output of the selector 1 is the signal x
1 is input to the DSP (digital signal processor) 3. The output of the selector 2 is DS as the signal x 2.
Input to P3.

【0026】なお、この実施例の場合、DSP3は信号
1 ,x2 として2系統の入力が可能とされているもの
とする。ただし、2系統以上の入力が可能とされるのは
後述するデジタル処理によるミキサーとしての機能をD
SP3が有する場合に必要なものであり、リミッタ、エ
キスパンダ等の機能についてはDSP3は1系統入力で
あっても構わない。また、DSPとしての実際のICで
は、セレクタ1,2の動作についても内部処理を行うこ
とができ、つまり図面上のセレクタ1,2及びDSP3
のブロックが1チップで構成できる。
In the case of this embodiment, it is assumed that the DSP 3 is capable of inputting the signals x 1 and x 2 in two systems. However, it is possible to input more than two systems by using the function as a mixer by digital processing described later.
This is necessary when the SP3 has, and the DSP3 may have one system input for functions such as a limiter and an expander. Further, in the actual IC as the DSP, the internal processing can be performed for the operations of the selectors 1 and 2, that is, the selectors 1 and 2 and the DSP 3 in the drawing.
Each block can be configured with one chip.

【0027】信号x1 ,x2 の両方又は一方はDSP3
で所定の信号処理が施され、D/A変換器4に出力され
る。D/A変換器4はDSP3の出力をアナログ化す
る。このアナログ音声信号はパワーアンプ5に供給され
て増幅されスピーカ6から音声出力される。
Both or one of the signals x 1 and x 2 is supplied to the DSP 3
Predetermined signal processing is performed by and output to the D / A converter 4. The D / A converter 4 converts the output of the DSP 3 into analog. This analog audio signal is supplied to the power amplifier 5, amplified, and output as audio from the speaker 6.

【0028】7はマイクロコンピュータにより構成され
るコントローラである。このコントローラ7はセレクタ
1,2の切換制御やDSP3で実行される各種処理の制
御を行なう。
Reference numeral 7 is a controller composed of a microcomputer. The controller 7 controls the switching of the selectors 1 and 2 and controls various processes executed by the DSP 3.

【0029】<2.デジタル処理によるミキサー>例え
ばこのような構成を有するオーディオ機器において、D
SP3が信号x1,x2 のミキサーとして機能する場合
の構成を図2に示す。なお、DSP3での信号処理とし
ては、いわゆる音響エフェクト処理としてエコー、リバ
ーブ、イコライジングなど各種の処理が実行されること
があるが、以下、ミキサー、リミッター、エキスパンダ
として説明する実施例においては、これらの音響効果に
ついての説明は省略する。
<2. Digital Processing Mixer> For example, in an audio device having such a configuration, D
FIG. 2 shows the configuration when the SP3 functions as a mixer for the signals x 1 and x 2 . As the signal processing in the DSP 3, various kinds of processing such as echo, reverb, and equalizing may be executed as so-called sound effect processing. The description of the sound effect of is omitted.

【0030】図2において31a,31bはDSP3の
入力部であり上述したように2系統の信号x1 ,x2
入力される。なお、DSP3の入力は、説明上2系統と
しているもので、3系統以上の入力が可能とされるもの
であってもよい。
In FIG. 2, reference numerals 31a and 31b are input sections of the DSP 3, and the signals x 1 and x 2 of two systems are input as described above. It should be noted that the input of the DSP 3 is two systems for the sake of explanation, and the inputs of three or more systems may be possible.

【0031】複数の入力信号x1 〜xn の最大振幅値を
|xMn|、各入力信号x1 〜xn に対するアッテネート
量をATTn とすると、全入力の加算値のとる最大値
は、
The plurality of input signals x 1 ~x n maximum amplitude value of | x Mn |, when the attenuation amount for each input signal x 1 ~x n and ATT n, the maximum value taken by the sum of all the inputs,

【数6】 となる。DSP3では、この値までをオーバーフローす
ることなく処理できる能力が要求される。このために、
デジタル処理によるミキサーとして本実施例では図2の
構成がとられている。以下、入力を2系統(x1 ,x
2 )として説明を進める。
(Equation 6) Becomes The DSP 3 is required to have the ability to process up to this value without overflowing. For this,
In this embodiment, the mixer shown in FIG. 2 is used as a digital mixer. Hereafter, input two systems (x 1 , x
2 ) and proceed with the explanation.

【0032】32aはアッテネータであり、信号x1
対して減衰処理を行なうことができる。また32bは信
号x2 に対して減衰処理を行なうことのできるアッテネ
ータである。33は加算器であり、アッテネータ32
a,32bの出力を加算して出力する。加算出力をxM
とする。34は加算出力xM とゲイン係数gを乗算する
乗算器であり、加算出力xM は乗算器34でゲイン係数
gによるゲインが与えられて出力され、増幅部35を介
して出力端子36に供給される。出力端子36の出力y
は、リバーブ等の音響処理が施された後、もしくは直接
図1のD/A変換器4に供給されることになる。
Reference numeral 32a is an attenuator, which can attenuate the signal x 1 . Reference numeral 32b is an attenuator capable of performing an attenuation process on the signal x 2 . 33 is an adder, attenuator 32
The outputs of a and 32b are added and output. Addition output is x M
And Reference numeral 34 denotes a multiplier that multiplies the addition output x M and the gain coefficient g. The addition output x M is provided with a gain by the gain coefficient g in the multiplier 34 and is output, and is supplied to the output terminal 36 via the amplification unit 35. To be done. Output y of output terminal 36
Will be supplied to the D / A converter 4 in FIG. 1 after being subjected to acoustic processing such as reverberation or directly.

【0033】ここで、Here,

【数7】 と定義すれば、D/A変換器4における変換可能範囲|
DAC |については、
(Equation 7) Defined as, the convertible range in the D / A converter 4 |
For x DAC |

【数8】 であり、DSP3の出力yについて、Y=20log y
(dB)として考えて、このYの値が(数8)を満足し
なければならない。ところが、加算器33の加算出力x
M は、
[Equation 8] And for the output y of the DSP3, Y = 20log y
Considering this as (dB), this value of Y must satisfy (Equation 8). However, the addition output x of the adder 33
M is

【数9】 (ただし、xM1は入力x1 の最大振幅値、xM2は入力x
2 の最大振幅値、ATT1 ≦1、ATT2 ≦1)とな
り、これをそのまま出力YとしてもD/A変換器4での
変換が正しく行なわれないことになる。
[Equation 9] (However, x M1 is the maximum amplitude value of input x 1 , x M2 is the input x
The maximum amplitude value of 2 is ATT 1 ≦ 1, ATT 2 ≦ 1), and even if these are directly used as the output Y, the conversion in the D / A converter 4 cannot be performed correctly.

【0034】そこで、本実施例では乗算器34における
演算処理によって、図3(a)のように加算出力xM
0dB以上となった場合に出力Yを0dBにリミットす
るような出力特性を得るようにしている。
Therefore, in the present embodiment, the output characteristic that limits the output Y to 0 dB when the added output x M becomes 0 dB or more is obtained by the arithmetic processing in the multiplier 34, as shown in FIG. 3A. I am trying.

【0035】このための構成として、まず絶対値検出部
37が設けられ、加算出力xM が供給されて絶対値検出
が行なわれる。38は包絡線検出部であり、絶対値検出
部37によって加算出力xM が絶対値化された信号が供
給される。そして包絡線検出部38でエンベロープ検波
がなされ、エンベロープ信号xe が出力される。
As a structure for this purpose, an absolute value detecting section 37 is first provided, and the addition output x M is supplied to detect the absolute value. Reference numeral 38 denotes an envelope detection unit, which is supplied with a signal in which the addition output x M is converted into an absolute value by the absolute value detection unit 37. Then, the envelope detection unit 38 performs envelope detection and outputs the envelope signal x e .

【0036】39はゲイン算出部であり、入力されたエ
ンベロープ信号xe に基づいて後述する関数演算でゲイ
ン係数を算出する。40はゲイン発生部であり固定のゲ
イン係数を発生させる。41は比較器であり、エンベロ
ープ信号xe と基準値xthを比較する。42はスイッチ
部であり、ゲイン算出部39で算出されたゲイン係数が
端子42aに、またゲイン発生部40からのゲイン係数
が端子42bに供給されている。そして、接続端子42
a,42bの切り換えは、比較器41の出力に応じて制
御される。このスイッチ部42の出力が乗算器34に対
してゲイン係数gとして供給されることになる。
Reference numeral 39 denotes a gain calculating section, which calculates a gain coefficient by a function calculation described later based on the input envelope signal x e . Reference numeral 40 denotes a gain generator that generates a fixed gain coefficient. Reference numeral 41 is a comparator, which compares the envelope signal x e with the reference value x th . A switch unit 42 supplies the gain coefficient calculated by the gain calculating unit 39 to the terminal 42a and the gain coefficient from the gain generating unit 40 to the terminal 42b. Then, the connection terminal 42
Switching between a and 42b is controlled according to the output of the comparator 41. The output of the switch unit 42 is supplied to the multiplier 34 as the gain coefficient g.

【0037】これらの、包絡線検出部38からスイッチ
部42までの各部によって、図3(b)のようなゲイン
G(ただしG=20log g,XM =20log xM )につ
いてゲイン特性を得ることにより、乗算器34の出力と
して図3(a)の出力特性を実現する。
The gain characteristic is obtained for the gain G (where G = 20log g, X M = 20log x M ) as shown in FIG. 3B by each of the parts from the envelope detection part 38 to the switch part 42. Thus, the output characteristic of FIG. 3A is realized as the output of the multiplier 34.

【0038】ゲイン算出部39ではG=−Xe の演算で
ゲイン係数を算出するものであり、これはつまり、ゲイ
ンgを、g=1/xe の関数演算で得るものである。こ
の関数演算については後述するが、多項式によって近似
することができ、演算量は対数変換、逆対数変換を行な
う従来方式よりかなり少ないものとなる。またゲイン発
生部40では固定のゲイン係数としてG=0、つまりg
=1というゲイン係数を出力する。
The gain calculator 39 calculates the gain coefficient by the calculation of G = -X e , that is, the gain g is obtained by the functional calculation of g = 1 / x e . Although this function calculation will be described later, it can be approximated by a polynomial, and the amount of calculation is considerably smaller than that in the conventional method of performing logarithmic conversion and inverse logarithmic conversion. Further, in the gain generator 40, G = 0 as a fixed gain coefficient, that is, g
The gain coefficient of = 1 is output.

【0039】そして、比較器41に対する基準値xth
しては0dBに相当する値となり、比較結果がXe <0
dBの場合は、スイッチ部42で端子42bが接続さ
れ、またXe ≧0dBの場合は、スイッチ部42で端子
42aが接続される。即ち、乗算器34に供給されるゲ
イン係数gとしては、加算出力xM について0dB以下
の場合はゲイン係数g=1とされ、また加算出力xM
0dBをこえる場合は、ゲイン算出部39で加算出力x
M に応じて算出されたゲイン係数gが供給されることに
なる。つまり図3(b)のゲイン特性となる。
Then, the reference value x th for the comparator 41 becomes a value corresponding to 0 dB, and the comparison result is X e <0.
In the case of dB, the switch 42 connects the terminal 42b, and in the case of X e ≧ 0 dB, the switch 42 connects the terminal 42a. That is, as the gain coefficient g supplied to the multiplier 34, when the addition output x M is 0 dB or less, the gain coefficient g = 1, and when the addition output x M exceeds 0 dB, the gain calculation unit 39 Addition output x
The gain coefficient g calculated according to M is supplied. That is, the gain characteristic shown in FIG.

【0040】これによって図3(a)の出力特性を得る
ことができ、従って本実施例では出力にオーバーフロー
を発生させないミキサーとして実現される。また、この
場合、出力yに対して単純に或るレベル以上をクリップ
するものではないため、信号波形が大きく変形されてし
まうことはなく、音質的にも好適である。
As a result, the output characteristic shown in FIG. 3A can be obtained. Therefore, in this embodiment, the output characteristic is realized as a mixer which does not generate an overflow. Further, in this case, since the output y is not simply clipped at a certain level or more, the signal waveform is not greatly deformed, which is also preferable in terms of sound quality.

【0041】なおゲイン算出に際して、加算出力xM
直接用いず、エンベロープ信号xeをゲイン算出部39
の入力パラメータとして用いるようにしたのは次の理由
による。加算出力xM を直接用いると、加算出力xM
急激な変化をした場合に、それに応じてゲイン係数gも
急激に変化してしまう。この場合、出力yについてスピ
ーカ6から出力される音声は、非常に違和感を感じさせ
るものとなる。これを防止するためエンベロープ信号x
e を用い、つまり急激なレベル変化の影響をキャンセル
するようにしている。
When calculating the gain, the addition output x M is not directly used, but the envelope signal x e is calculated by the gain calculating unit 39.
The reason why it is used as an input parameter of is as follows. If the addition output x M is directly used, when the addition output x M changes abruptly, the gain coefficient g also changes abruptly. In this case, the sound output from the speaker 6 with respect to the output y is very uncomfortable. To prevent this, the envelope signal x
e is used, that is, the effect of a sudden level change is canceled.

【0042】なお、2系統の入力のミキサーとして説明
したが、もちろん3系統以上の入力に対するミキサーと
して適用することも可能である。
It should be noted that although the description has been made with respect to a mixer having two input systems, it is of course possible to apply the present invention as a mixer for three or more input systems.

【0043】<3.デジタル処理によるリミッタ>次
に、図1のようなオーディオ機器において、DSP3が
入力信号に対するリミッタとして機能する場合の構成を
図4に示す。なお、図4において図2と同様の機能部位
は同一符号を付し、説明を省略する。31は入力端子で
あり、図2における入力端子31a,31bに相当す
る。ただし、1系統の入力に対応するものとし、図1の
ようにDSP3が2系統の入力対応とされている場合
は、図2における一方のアッテネータ(32a又は32
b)が一方の入力信号(x1 又はx2 )をゼロレベルま
で減衰させていると考えればよい。もちろんDSP3が
1系統入力とされる場合は、31はDSP3自体の入力
端子となる。
<3. Limiter by Digital Processing> Next, FIG. 4 shows a configuration in the case where the DSP 3 functions as a limiter for an input signal in the audio device as shown in FIG. In FIG. 4, the same functional parts as those in FIG. 2 are designated by the same reference numerals, and the description thereof will be omitted. Reference numeral 31 is an input terminal, which corresponds to the input terminals 31a and 31b in FIG. However, when it is assumed that one system input is supported and the DSP 3 is compatible with two system inputs as shown in FIG. 1, one attenuator (32a or 32a in FIG. 2 is used.
It can be considered that b) attenuates one input signal (x 1 or x 2 ) to the zero level. Of course, when the DSP 3 has one system input, 31 becomes an input terminal of the DSP 3 itself.

【0044】即ち、この図4では、図2の構成からミキ
サー部位を除いた構成となる。入力信号xは、乗算器3
4に供給されてゲイン係数gと乗算され、増幅部35を
介して出力端子36からの出力yとされる。そしてゲイ
ン係数gを得るために、入力信号xは絶対値検出部3
7、包絡線検出部38を介してエンベロープ信号xe
され、ゲイン算出部39に供給される。
That is, in FIG. 4, the mixer part is removed from the structure of FIG. The input signal x is the multiplier 3
4 is multiplied by the gain coefficient g to be output y from the output terminal 36 via the amplifier 35. Then, in order to obtain the gain coefficient g, the input signal x is input to the absolute value detection unit 3
7. The envelope signal x e is supplied via the envelope detector 38 and supplied to the gain calculator 39.

【0045】また、エンベロープ信号xe は比較器41
に供給され、基準値xthと比較される。そして、その比
較結果によりスイッチ部42の端子42a,42bが切
り換えられ、ゲイン発生部40からのゲイン係数又はゲ
イン算出部39で算出されたゲイン係数が乗算器34に
供給されることになる。
Further, the envelope signal x e is compared with the comparator 41.
And is compared with a reference value x th . Then, the terminals 42a and 42b of the switch unit 42 are switched according to the comparison result, and the gain coefficient from the gain generation unit 40 or the gain coefficient calculated by the gain calculation unit 39 is supplied to the multiplier 34.

【0046】今、入力xから出力yへの伝達関数が1
(y=x)の場合、入出力特性は図5(a)のようにな
る。これに対して、図5(b)のような入出力特性を得
たいとすると、ゲイン係数gとして図5(c)のような
特性を得るようにする。そして乗算器34で、このゲイ
ン係数gと入力信号xを乗じて図5(b)の破線で示す
ような入出力特性を得、これを実線のレベルまで調整
(ゲインアップ)すればよい。
Now, the transfer function from the input x to the output y is 1
When (y = x), the input / output characteristics are as shown in FIG. On the other hand, if it is desired to obtain the input / output characteristic shown in FIG. 5B, the gain coefficient g is obtained as shown in FIG. 5C. Then, in the multiplier 34, the gain coefficient g and the input signal x are multiplied to obtain the input / output characteristic as shown by the broken line in FIG. 5B, and this can be adjusted (gain up) to the level of the solid line.

【0047】図5(c)のゲイン特性を得るためには、
上記ミキサーとしての実施例と同様に、ゲイン係数gは
入力信号x(エンベロープ信号xe )のレベルによって
固定の値を使用する場合と、エンベロープ信号xe を用
いた関数演算で算出した値を用いる場合を切り換えるこ
とになる。つまり、エンベロープ信号xe と基準値xth
の比較結果によりゲイン発生部40とゲイン算出部39
の一方が選択される。
To obtain the gain characteristic of FIG. 5C,
As in the above embodiment as the mixer, the gain coefficient g uses a fixed value depending on the level of the input signal x (envelope signal x e ) and a value calculated by a function operation using the envelope signal x e. The case will be switched. That is, the envelope signal x e and the reference value x th
The gain generation unit 40 and the gain calculation unit 39
One is selected.

【0048】或る設定された基準値xth、エンベロープ
信号xe について対数領域でXth、Xe であらわすと
(Xe =20log xe 、Xth=20log xth)、Xe
thの場合は、ゲイン算出部39で算出されたゲインg
が乗算器34に供給される。このとき、
When a certain set reference value x th and envelope signal x e are represented by X th and X e in the logarithmic domain (X e = 20log x e , X th = 20log x th ), X e
In the case of X th , the gain g calculated by the gain calculator 39
Are supplied to the multiplier 34. At this time,

【数10】 となり、このように算出されたゲイン係数gが用いられ
る。
[Equation 10] Therefore, the gain coefficient g calculated in this way is used.

【0049】またXe <Xthの場合は、ゲイン発生部4
0で算出されたゲインgが乗算器34に供給される。こ
のとき、
If X e <X th , the gain generator 4
The gain g calculated at 0 is supplied to the multiplier 34. At this time,

【数11】 つまりゲイン発生部40から出力されるg=1の固定の
ゲイン係数が用いられる。以上のように、ゲインgが乗
算器34に供給されることで、図5(b)のような入出
力特性を得ることができる。
[Equation 11] That is, the fixed gain coefficient of g = 1 output from the gain generator 40 is used. As described above, by supplying the gain g to the multiplier 34, the input / output characteristic as shown in FIG. 5B can be obtained.

【0050】以上はXe ≧Xthの場合のゲイン特性が傾
き−1となる例である。ここで、ゲイン算出部39のゲ
イン算出動作については後述するが、ゲイン算出動作が
関数f(xe)を多項式で近似する処理であるため、例えば
図6(b)のようなゲイン特性を得、図6(a)のよう
な入出力特性を実現することもでき、入出力特性の設定
は各種柔軟に行なうことができる。この図6の場合で
は、Xe ≧Xthのとき、
The above is an example in which the gain characteristic has a slope of −1 when X e ≧ X th . Here, although the gain calculation operation of the gain calculation unit 39 will be described later, since the gain calculation operation is a process of approximating the function f (x e ) with a polynomial, for example, a gain characteristic as shown in FIG. 6B is obtained. The input / output characteristics shown in FIG. 6A can be realized, and the input / output characteristics can be set flexibly in various ways. In the case of FIG. 6, when X e ≧ X th ,

【数12】 となり、またXe <Xthのときは、上記(数11)によ
り同様にg=1となる。
[Equation 12] Further, when X e <X th , g = 1 similarly according to the above (Equation 11).

【0051】<4.デジタル処理によるエキスパンダ>
次に、図1のようなオーディオ機器において、DSP3
が入力信号に対するエキスパンダとして機能する場合の
構成を図7に示す。なお、図7において図2、図4と同
様の機能部位は同一符号を付し説明を省略する。
<4. Expander by digital processing>
Next, in the audio device as shown in FIG.
FIG. 7 shows a configuration in which the function as an expander for an input signal. Note that, in FIG. 7, the same functional parts as those in FIGS. 2 and 4 are denoted by the same reference numerals, and the description thereof will be omitted.

【0052】入力端子31からの入力信号xは、乗算器
34に供給されてゲイン係数gと乗算され、増幅部35
を介して出力端子36からの出力yとされる。そしてゲ
イン係数gを得るために、入力信号xは絶対値検出部3
7、包絡線検出部38を介してエンベロープ信号xe
され、ゲイン算出部39に供給される。また、エンベロ
ープ信号xe は比較器41と比較器44に供給される。
比較器41では基準値xthとエンベロープ信号xe の比
較がされ、また比較器44では設定最小値xmin とエン
ベロープ信号xe の比較がされる。
The input signal x from the input terminal 31 is supplied to the multiplier 34 to be multiplied by the gain coefficient g, and the amplifying section 35.
The output y is output from the output terminal 36 via. Then, in order to obtain the gain coefficient g, the input signal x is input to the absolute value detection unit 3
7. The envelope signal x e is supplied via the envelope detector 38 and supplied to the gain calculator 39. Further, the envelope signal x e is supplied to the comparator 41 and the comparator 44.
The comparator 41 compares the reference value x th with the envelope signal x e , and the comparator 44 compares the set minimum value x min with the envelope signal x e .

【0053】また、ゲイン発生部40のほかに固定のゲ
イン係数を発生させるゲイン発生部43が設けられる。
このゲイン発生部43からのゲイン係数gはスイッチ部
42の端子42cに供給されており、そのゲイン係数g
=0とされる。スイッチ部42の端子42a,42b,
42cの切り換えは、比較器41,44の各比較結果に
応じて実行され、ゲイン発生部40からのゲイン係数、
又はゲイン発生部43からのゲイン係数、又はゲイン算
出部39で算出されたゲイン係数が選択的に乗算器34
に供給されることになる。
In addition to the gain generating section 40, a gain generating section 43 for generating a fixed gain coefficient is provided.
The gain coefficient g from the gain generating section 43 is supplied to the terminal 42c of the switch section 42, and the gain coefficient g
= 0. Terminals 42a, 42b of the switch unit 42,
The switching of 42c is executed according to each comparison result of the comparators 41 and 44, and the gain coefficient from the gain generating unit 40,
Alternatively, the gain coefficient from the gain generator 43 or the gain coefficient calculated by the gain calculator 39 is selectively applied to the multiplier 34.
Will be supplied to.

【0054】この構成により、例えば図8(b)のよう
なゲイン特性を得、図8(a)のような入出力特性を実
現することができる。なお、図8においてXe =20lo
g xe 、Xth=20log xth、Xmin =20log xmin
である。
With this configuration, for example, the gain characteristic as shown in FIG. 8B can be obtained and the input / output characteristic as shown in FIG. 8A can be realized. In addition, in FIG. 8, X e = 20 lo
g x e , X th = 20 log x th , X min = 20 log x min
Is.

【0055】まず、比較器41によりXe ≧Xthの結果
が出力された場合は、入出力としてリニアな特性を得た
い領域であるため、スイッチ部42では端子42bが選
択され、ゲイン発生部40からのゲイン係数g=1が乗
算器34に供給される。
First, when the comparator 41 outputs the result of X e ≧ X th , it is the region where it is desired to obtain linear characteristics as input and output, so the switch 42 selects the terminal 42b and the gain generator. The gain coefficient g = 1 from 40 is supplied to the multiplier 34.

【0056】また、比較器44によりXe <Xmin の結
果が出力された場合は、スイッチ部42では端子42c
が選択され、ゲイン発生部43からのゲイン係数g=0
が乗算器34に供給される。デジタル演算処理における
演算語長が16ビットであれば、出力Yが−96dBよ
り小さくなればアンダーフローとなってしまうが、Xe
<Xmin の領域とは出力Yが−96dBより小さくなる
領域であり、この場合、入力Xについて強制的にゲイン
係数g=0とし、アンダーフローを防止するものであ
る。
When the comparator 44 outputs the result of X e <X min , the switch section 42 receives the terminal 42c.
Is selected, and the gain coefficient g = 0 from the gain generator 43.
Are supplied to the multiplier 34. If the operation word length in digital operation processing is 16 bits, underflow occurs if the output Y becomes smaller than -96 dB, but X e
The region of <X min is a region where the output Y is smaller than -96 dB, and in this case, the gain coefficient g = 0 is forcibly set for the input X to prevent underflow.

【0057】さらに、比較器41,44の出力からXth
>Xe ≧Xmin の結果が検出された場合は、スイッチ部
42では端子42aが選択され、ゲイン算出部39で算
出されたゲイン係数gが乗算器34に供給される。
Further, from the outputs of the comparators 41 and 44, X th
When the result of> X e ≧ X min is detected, the switch 42 selects the terminal 42 a, and the gain coefficient g calculated by the gain calculator 39 is supplied to the multiplier 34.

【0058】この場合、Xth>Xe ≧Xmin の領域の入
出力特性の直線は、X=Y=Xth、傾きをmとすると、
In this case, when the straight line of the input / output characteristic in the region of X th > X e ≧ X min is X = Y = X th and the inclination is m,

【数13】 となり、この入出力特性を得るためのゲイン特性の関数
式をG=AX+Bとすると、Y=X+Gより、Y=(1
+A)X+Bを導くことができる。
[Equation 13] Then, if the functional expression of the gain characteristic for obtaining this input / output characteristic is G = AX + B, then Y = (1
+ A) X + B can be derived.

【0059】そして(数13)より、A=m−1,B=
th(1−m)であるため、ゲイン係数gについては次
の(数14)により導くことができる。ただし、この
(数14)においてG=20log g、X=20log x、
th(1−m)=20log cとする。
From (Equation 13), A = m-1, B =
Since it is X th (1-m), the gain coefficient g can be derived by the following (Equation 14). However, in this (Equation 14), G = 20log g, X = 20log x,
Let X th (1-m) = 20 log c.

【数14】 従って、この(数14)内のゲイン係数gの演算がゲイ
ン算出部39によってなされることにより、Xth>Xe
≧Xmin の領域での入出力特性を図8(a)のように設
定することができる。
[Equation 14] Therefore, the calculation of the gain coefficient g in this (Equation 14) is performed by the gain calculation unit 39, so that X th > X e
The input / output characteristics in the region of ≧ X min can be set as shown in FIG.

【0060】<5.ゲイン係数設定装置>以上のように
ミキサー、リミッタ、エキスパンダとしてDSP3の処
理を実行させる例に付いて述べたが、次に、これらの構
成におけるゲイン算出部39として機能するゲイン係数
設定装置について説明する。
<5. Gain coefficient setting device> An example of executing the processing of the DSP 3 as the mixer, limiter, and expander has been described above. Next, the gain coefficient setting device that functions as the gain calculation unit 39 in these configurations will be described. To do.

【0061】今、図10のゲイン特性において、x≧x
thの領域における特性となるゲインカーブについて考
える。CG をゲインカーブのG軸切片とすると、ゲイ
ンカーブは、
Now, in the gain characteristic of FIG. 10, x ≧ x
Consider a gain curve that is a characteristic in the th region. If C G is the G axis intercept of the gain curve, the gain curve is

【数15】 となる。(Equation 15) Becomes

【0062】この対数領域による式を線形領域で表現す
るためにG=20log g、X=20log x、CG =20
log cとすると(数15)は、
In order to express the expression in the logarithmic domain in the linear domain, G = 20log g, X = 20log x, C G = 20.
If log c is (Equation 15),

【数16】 となり、従って、[Equation 16] And therefore,

【数17】 となる。なお、Cは、[Equation 17] Becomes Note that C is

【数18】 である。(Equation 18) Is.

【0063】従って、Therefore,

【数19】 を多項式近似でもとめることにより、g=C・g’でゲ
インを求めることができる。
[Formula 19] The gain can be obtained by g = C · g ′ by also solving the equation with polynomial approximation.

【0064】ここで、(数19)の近似も同様に近似で
きるため、g=(1/x)を取り上げて多項式近似の説
明をする。まずxについて次のように定義する。
Since the approximation of (Equation 19) can be similarly approximated, g = (1 / x) will be taken up to explain the polynomial approximation. First, x is defined as follows.

【数20】 すると、g=(1/x)については、[Equation 20] Then, for g = (1 / x),

【数21】 となる。ここで、gF =(1/xF )とし、また近似の
一般的制約からxF については、(1/2)≦xF <1
という条件が生ずる。
[Equation 21] Becomes Here, g F = (1 / x F) and then, also the x F from general constraint approximation, (1/2) ≦ x F < 1
The condition that occurs occurs.

【0065】用いる近似多項式は、−1<w<1のと
き、
The approximate polynomial used is -1 <w <1,

【数22】 である。近似多項式にあてはめるために、図11のよう
に、
[Equation 22] Is. To fit the approximate polynomial, as shown in FIG.

【数23】 とする。[Equation 23] And

【0066】gF =(1/xF )であり、またgは、G F = (1 / x F ) and g is

【数24】 より、次の(数25)を導くことができる。[Equation 24] From this, the following (Equation 25) can be derived.

【数25】 (Equation 25)

【0067】この(数25)における(イ)〜(チ)の
各式は次のように導かれる。 (ロ)式・・・・(イ)式を有限次数で打ち切り、wのべき
乗の係数an に直す (ハ)式・・・・近似精度を上げるためにチェビチェフ(Che
bychev) 多項式化する (ニ)式・・・・さらに次数を下げる (ホ)式・・・・再びwのべき乗の係数に戻す (ヘ)式・・・・xF べき級数に直す (ト)式・・・・kn'を正規化する ここで、kn'=2j ・kn であり、kn'を1で正規化し
た場合|Kn |≦1である。jは係数kn の最大値k
max で正規化した値であり、
The equations (a) to (h) in the equation (25) are derived as follows. Equation (b) ... (a) is truncated to a finite degree and is corrected to a power-law coefficient a n . (C) Equation ... To improve approximation accuracy, Chebychev (Che
bychev) Polynomialization (d) Equation ... Reducing the order (e) Equation ... Returning to a power-law coefficient of w (f) Equation ... x F Resolving to a power series (g) Normalize the expression ... K n 'here, k n ' = 2 j · k n , and when k n 'is normalized by 1, | K n | ≦ 1. j is the maximum value k of the coefficient k n
The value normalized by max ,

【数26】 が満たされる値となる。kn'を1で正規化する場合は、
j=5である(25 =32)。なお、この場合jについ
ては2j ≧(kn'の最大値)>2j-1 を満たし、またj
=5が算出された条件としてはgF =(1/xF )で次
数M=5を前提としている。このjを用いて(チ)式が
導かれる。そして(数25)から、
(Equation 26) Is a value that satisfies. To normalize k n 'by 1,
j = 5 (2 5 = 32). In this case, for j, 2 j ≧ (maximum value of k n ')> 2 j-1 is satisfied, and j
As a condition for calculating = 5, it is assumed that g F = (1 / x F ) and the order M = 5. Equation (h) is derived using this j. And from (Equation 25),

【数27】 が得られる。[Equation 27] Is obtained.

【0068】ここで、g=Cg’であり、またC=2-n
・CF 、(1/2)≦|CF |<1とすると、
Here, g = Cg 'and C = 2- n
・ C F , (1/2) ≦ | C F | <1,

【数28】 となる。[Equation 28] Becomes

【0069】即ち、本実施例のゲイン係数設定装置は、
(数28)の演算でゲイン係数gを求めることで、入力
に応じたゲイン係数gを近似多項式と定数の乗算で求め
ることができ、従来の方式である対数変換、関数演算、
逆対数変換を行なっていくことに比べて、処理演算量は
大幅に軽減され、またDSP内でのアルゴリズムの簡便
性が増す。そして上述したミキサー、リミッタ、エキス
パンダ等としてのDSP3に搭載されるゲイン算出部3
9としても非常に好適なものとなる。
That is, the gain coefficient setting device of this embodiment is
By obtaining the gain coefficient g by the operation of (Equation 28), the gain coefficient g according to the input can be obtained by multiplication of the approximate polynomial and the constant, and the logarithmic conversion, the function operation, and the
Compared to performing inverse logarithmic conversion, the amount of processing calculation is greatly reduced, and the simplicity of the algorithm in the DSP is increased. Then, the gain calculation unit 3 mounted on the DSP 3 as the mixer, the limiter, the expander, or the like described above.
9 is also very suitable.

【0070】以下、(数28)の方式に基づいてゲイン
係数gを得るゲイン係数設定装置の構成を図9で説明す
る。(数28)において、『j』『n』『CF 』及びk
n 即ち『k0 』『k1 』・・・・『kn 』の値は、ゲインカ
ーブを設計する段階で固定される値である。またmは入
力xに応じて変化する値である。さらにMは演算次数で
ある。
The configuration of the gain coefficient setting device for obtaining the gain coefficient g based on the method of (Equation 28) will be described below with reference to FIG. In (Equation 28), “j”, “n”, “ CF ” and k
The values of n, that is, “k 0 ”, “k 1 ” ... “K n ”, are fixed at the stage of designing the gain curve. Further, m is a value that changes according to the input x. Further, M is a calculation order.

【0071】そこで、(j−n)=mf とし、また演算
ステップ削減の意味からKn =CF・kn とすると、演
算次数M=5の場合、ゲイン係数gの算出演算は次の
(数29)のようになる。
Therefore, assuming that (j−n) = m f and K n = C F · k n for the purpose of reducing the number of calculation steps, when the calculation order M = 5, the calculation calculation of the gain coefficient g is as follows. It becomes like (Equation 29).

【数29】 [Equation 29]

【0072】そして、この(数29)の演算を実行する
ブロックは図9のようになる。11は入力信号xの入力
端子、12はバレルシフタ、13はテンポラリレジスタ
である。なお、このゲイン係数設定装置が上記図2、図
4、図7におけるゲイン算出部39として用いられる場
合、入力信号xとはエンベーロープ情報xe となる。
The block for executing the operation of (Equation 29) is as shown in FIG. Reference numeral 11 is an input terminal for the input signal x, 12 is a barrel shifter, and 13 is a temporary register. When the gain coefficient setting device is used as the gain calculating section 39 in FIGS. 2, 4, and 7, the input signal x is the envelope information x e .

【0073】バレルシフタ12はいわゆるリニア−フロ
ート変換を行なうもので、入力xについてmビットのシ
フトを行なうことで、入力信号xについて上述した(数
20)のように定義した場合に、xF が(1/2)≦x
F <1の条件を満たすようにするものである。そして、
そのシフト結果のxF を出力するとともに、mビットシ
フト動作におけるmの値をテンポラリレジスタ13に供
給して記憶させる。
The barrel shifter 12 performs so-called linear-float conversion. By shifting the input x by m bits, when the input signal x is defined as in the above (Equation 20), x F becomes ( 1/2) ≦ x
It satisfies the condition of F <1. And
The shift result x F is output, and the value of m in the m-bit shift operation is supplied to the temporary register 13 to be stored therein.

【0074】140 〜144 はそれぞれ係数K0 〜K4
を保持するレジスタである。また15a〜15dは乗算
器、16a〜16dは加算器である。各部の出力は以下
のとおりである。
14 0 to 14 4 are coefficients K 0 to K 4, respectively.
Is a register for holding. Further, 15a to 15d are multipliers, and 16a to 16d are adders. The output of each part is as follows.

【0075】バレルシフタ12の出力xF とレジスタ1
4 からの係数K4 が供給される乗算器15aの出力は
(xF4 )となる。乗算器15aの出力(xF4
とレジスタ143 からの係数K3 が供給される加算器1
6aの出力は(K3 +xF4 )となる。
Output x F of barrel shifter 12 and register 1
The output of the multiplier 15a to the coefficient K 4 is supplied from 4 4 becomes (x F K 4). Output of multiplier 15a (x F K 4 )
A register 14 adder 3 coefficients from K 3 is supplied 1
The output of 6a is (K 3 + x F K 4 ).

【0076】バレルシフタ12の出力xF と加算器16
aの出力(K3 +xF4 )が供給される乗算器15b
の出力は(xF (K3 +xF4 ))となる。乗算器1
5bの出力(xF (K3 +xF4 ))とレジスタ14
2 からの係数K2 が供給される加算器16bの出力は
(K2 +xF (K3 +xF4 ))となる。
Output x F of barrel shifter 12 and adder 16
Multiplier 15b to which the output (a) of (a) (K 3 + x F K 4 ) is supplied
Output is (x F (K 3 + x F K 4 )). Multiplier 1
5b output (x F (K 3 + x F K 4 )) and register 14
The output of the adder 16b to which the coefficient K 2 from 2 is supplied is (K 2 + x F (K 3 + x F K 4 )).

【0077】バレルシフタ12の出力xF と加算器16
bの出力(K2 +xF (K3 +xF4 ))が供給され
る乗算器15cの出力は(xF (K2 +xF (K3 +x
F4 )))となる。乗算器15cの出力(xF (K2
+xF (K3 +xF4 )))とレジスタ141 からの
係数K1 が供給される加算器16cの出力は(K1 +x
F (K2 +xF (K3 +xF4 )))となる。
Output x F of barrel shifter 12 and adder 16
The output of the multiplier 15c supplied with the output of b (K 2 + x F (K 3 + x F K 4 )) is (x F (K 2 + x F (K 3 + x
F K 4 ))). Output of multiplier 15c (x F (K 2
+ X F (K 3 + x F K 4))) and the output of the adder 16c to the coefficient K 1 is supplied from the register 14 1 (K 1 + x
F (K 2 + x F (K 3 + x F K 4 ))).

【0078】バレルシフタ12の出力xF と加算器16
cの出力(K1 +xF (K2 +xF(K3 +xF
4 )))が供給される乗算器15dの出力は(xF (K
1 +xF(K2 +xF (K3 +xF4 )))となる。
そして、乗算器15dの出力(xF (K1 +xF (K2
+xF (K3 +xF4 )))ととレジスタ140 から
の係数K0 が供給される加算器16dの出力gP は、g
P =(K0 +xF (K1 +xF (K2 +xF (K3 +x
F4 ))))となる。
Output x F of barrel shifter 12 and adder 16
c output (K 1 + x F (K 2 + x F (K 3 + x F K
4 ))) is supplied to the output of the multiplier 15d as (x F (K
1 + x F (K 2 + x F (K 3 + x F K 4 ))).
Then, the output of the multiplier 15d (x F (K 1 + x F (K 2
+ X F (K 3 + x F K 4 ))) and the output K P of the adder 16d supplied with the coefficient K 0 from the register 14 0 are g
P = (K 0 + x F (K 1 + x F (K 2 + x F (K 3 + x
F K 4 )))).

【0079】上記した(数29)からわかるように、ゲ
イン係数gはこのgP に2m+mfを乗じることで得られ
る。19はバレルシフタであり、gP と2m+mfの乗算は
このバレルシフタ19におけるビットシフト動作で行な
われる。
As can be seen from the above (Equation 29), the gain coefficient g is obtained by multiplying this g P by 2 m + mf . Reference numeral 19 is a barrel shifter, and multiplication of g P and 2 m + mf is performed by a bit shift operation in this barrel shifter 19.

【0080】ここで、上記のようにmf =(l−n)と
しており、このmf の値は固定値であって、レジスタ1
7に保持されている。テンポラリレジスタ13に保持さ
れていたmとレジスタ17に保持されているmf は加算
器18において加算され、S(=m+mf )としてバレ
ルシフタ19に供給される。
Here, m f = (l−n) is set as described above, and the value of this m f is a fixed value.
It is held at 7. The m held in the temporary register 13 and the m f held in the register 17 are added in the adder 18 and supplied to the barrel shifter 19 as S (= m + m f ).

【0081】そして、バレルシフタ19において加算器
16dの出力gP がSビットシフトされる。これは即
ち、g=2m+mf・gP の演算となり、出力端子20にお
いてゲイン係数gが得られることになる。
Then, in the barrel shifter 19, the output g P of the adder 16d is shifted by S bits. That is, the calculation is g = 2 m + mf · g P , and the gain coefficient g is obtained at the output terminal 20.

【0082】以上のように、この係数設定装置では、か
なり少ない演算量で、またROMテーブル等を必要とせ
ずに、入力xに応じたゲイン係数gを得ることができ
る。そして、この係数設定装置が上述したミキサー、リ
ミッター、エキスパンダ等におけるゲイン算出部39と
して用いられることで、DSP3における演算処理負
担、ハード構成負担を非常に軽減することができる。
As described above, in this coefficient setting device, the gain coefficient g corresponding to the input x can be obtained with a considerably small amount of calculation and without requiring a ROM table or the like. By using this coefficient setting device as the gain calculation unit 39 in the above-described mixer, limiter, expander, etc., it is possible to greatly reduce the calculation processing load and hardware configuration load in the DSP 3.

【0083】なお、この係数設定装置は演算次数M=5
の場合であり、演算次数を変更すれば、それに応じて構
成は変化することはいうまでもない。つまり、レジスタ
140 〜144 、乗算器15a〜15d、加算器16a
〜16dの部位における演算段数が増減するものとな
る。
This coefficient setting device has a calculation order M = 5.
Needless to say, if the calculation order is changed, the configuration changes accordingly. That is, the register 14 0-14 4, multipliers 15 a to 15 d, the adder 16a
The number of calculation steps in the region of 16d increases or decreases.

【0084】なお、出力特性設定装置の実施例として
は、その具体例としてミキサー、リミッター、エキスパ
ンダを上げたが、ゲイン特性を各種設定することで他の
信号処理装置として応用できる。例えば入力信号のコン
プレッサとして実現できる。また入力信号の帯域を制限
してコンプレッサを通したものを原入力信号と加算する
構成とすればいわゆるバスブースト装置としても実現で
きる。さらに、ノイズゲートにも利用でき、つまり本発
明はいわゆるダイナミックレンジコントロールを行なう
装置として有効なものとなる。そして、それらにおいて
ゲイン係数の設定に上述した係数設定装置を採用するこ
とで、構成の簡易化、デジタル処理負担の軽減を実現で
きる。
As an embodiment of the output characteristic setting device, a mixer, a limiter and an expander are used as specific examples. However, various kinds of gain characteristics can be set to be applied to other signal processing devices. For example, it can be realized as a compressor of an input signal. Further, if the band of the input signal is limited and the signal passed through the compressor is added to the original input signal, it can be realized as a so-called bass boost device. Further, it can be used for a noise gate, that is, the present invention is effective as a device for performing so-called dynamic range control. Then, by adopting the coefficient setting device described above for setting the gain coefficient in them, simplification of the configuration and reduction of the digital processing load can be realized.

【0085】[0085]

【発明の効果】以上説明したように本発明の出力特性設
定装置では、デジタル演算語調に対してオーバーフロ
ー、アンダーフローを発生させないようにダイナミック
レンジコントロールを行なうことができ、ミキサー、リ
ミッター、エキスパンダ等の装置として適用して好適で
あり、また、これにより音質の向上という効果を得るこ
とができる。
As described above, in the output characteristic setting device of the present invention, it is possible to perform dynamic range control so as not to cause overflow or underflow with respect to a digital operation tone, and a mixer, limiter, expander, etc. It is suitable to be applied as a device of the above, and by this, the effect of improving the sound quality can be obtained.

【0086】さらに本発明の係数設定装置により、ダイ
ナミックレンジコントロールのための係数算出処理負担
は著しく軽減され、またハード的な構成も簡易化される
という効果があり、各種音響機器などに非常に好適なも
のとなる。
Further, the coefficient setting device of the present invention has the effect of significantly reducing the coefficient calculation processing load for dynamic range control and simplifying the hardware configuration, and is very suitable for various audio equipment. It will be

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

【図1】本発明を適用したオーディオ装置のブロック図
である。
FIG. 1 is a block diagram of an audio device to which the present invention has been applied.

【図2】本発明の出力特性設定装置のミキサーとしての
実施例のブロック図である。
FIG. 2 is a block diagram of an embodiment as a mixer of the output characteristic setting device of the present invention.

【図3】ミキサーとしての実施例の出力特性及びゲイン
特性の説明図である。
FIG. 3 is an explanatory diagram of output characteristics and gain characteristics of an embodiment as a mixer.

【図4】本発明の出力特性設定装置のリミッタとしての
実施例のブロック図である。
FIG. 4 is a block diagram of an embodiment as a limiter of the output characteristic setting device of the present invention.

【図5】リミッタとしての実施例の出力特性及びゲイン
特性の説明図である。
FIG. 5 is an explanatory diagram of output characteristics and gain characteristics of the embodiment as a limiter.

【図6】リミッタとしての実施例の他の出力特性及びゲ
イン特性の説明図である。
FIG. 6 is an explanatory diagram of another output characteristic and gain characteristic of the embodiment as a limiter.

【図7】本発明の出力特性設定装置のエキスパンダとし
ての実施例のブロック図である。
FIG. 7 is a block diagram of an embodiment as an expander of the output characteristic setting device of the present invention.

【図8】エキスパンダとしての実施例の出力特性及びゲ
イン特性の説明図である。
FIG. 8 is an explanatory diagram of output characteristics and gain characteristics of the embodiment as an expander.

【図9】本発明の係数設定装置の実施例のブロック図で
ある。
FIG. 9 is a block diagram of an embodiment of a coefficient setting device of the present invention.

【図10】実施例の係数設定装置によるゲイン特性設定
動作の説明図である。
FIG. 10 is an explanatory diagram of a gain characteristic setting operation by the coefficient setting device of the embodiment.

【図11】実施例の係数設定装置による多項式近似に用
いる式の説明図である。
FIG. 11 is an explanatory diagram of an equation used for polynomial approximation by the coefficient setting device of the embodiment.

【図12】従来のダイナミックレンジコントロール方式
の説明図である。
FIG. 12 is an explanatory diagram of a conventional dynamic range control method.

【図13】従来の係数設定装置の説明図である。FIG. 13 is an explanatory diagram of a conventional coefficient setting device.

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

3 DSP 4 A/D変換器 11 入力端子 12,19 バレルシフタ 13 テンポラリレジスタ 141 〜144 レジスタ 15a〜15d 乗算器 16a〜16d 加算器 17 レジスタ 18 加算器 20 出力端子 31,31a,31b 入力端子 32a,32b アッテネータ 33 加算器 34 乗算器 35 増幅部 36 出力端子 37 絶対値検出部 38 包絡線検出部 39 ゲイン算出部 40,43 ゲイン発生部 41,44 比較器 42 スイッチ部3 DSP 4 A / D converter 11 input terminals 12, 19 barrel shifter 13 temporary registers 14 1 to 14 4 register 15a~15d multiplier 16a~16d adder 17 registers 18 the adder 20 the output terminal 31, 31a, 31b input terminal 32a , 32b Attenuator 33 Adder 34 Multiplier 35 Amplifying unit 36 Output terminal 37 Absolute value detecting unit 38 Envelope detecting unit 39 Gain calculating unit 40,43 Gain generating unit 41,44 Comparator 42 Switch unit

【数30】 [Equation 30]

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力信号に対するミキサ手段と、 前記ミキサ手段の出力についての包絡線情報を得る包絡
線検出手段と、 前記包絡線検出手段の出力を所定値と比較する比較手段
と、 前記包絡線検出手段の出力に対して関数演算を行なって
ゲイン係数を得る係数設定手段と、 固定のゲイン係数を発生させる係数発生手段と、 前記比較手段の比較結果に応じて、前記係数設定手段に
よるゲイン係数と前記係数発生手段によるゲイン係数の
いづれかを選択して出力する選択手段と、 前記選択手段から出力されたゲイン係数に基づいて前記
ミキサ手段の出力にゲインを与えて出力するゲイン演算
手段とを有し、 前記係数設定手段によるゲイン係数と前記係数発生手段
によるゲイン係数により複数の入力信号の混合出力特性
が設定されることを特徴とする出力特性設定装置。
1. A mixer means for a plurality of input signals, an envelope detecting means for obtaining envelope information about the output of the mixer means, a comparing means for comparing the output of the envelope detecting means with a predetermined value, and A coefficient setting means for performing a function operation on the output of the envelope detecting means to obtain a gain coefficient, a coefficient generating means for generating a fixed gain coefficient, and a coefficient setting means for changing the coefficient setting means according to the comparison result of the comparing means. Selecting means for selecting and outputting any one of the gain coefficient and the gain coefficient by the coefficient generating means; and a gain calculating means for applying a gain to the output of the mixer means based on the gain coefficient output from the selecting means and outputting the gain coefficient. And a mixed output characteristic of a plurality of input signals is set by the gain coefficient by the coefficient setting means and the gain coefficient by the coefficient generating means. Output characteristics setting apparatus characterized.
【請求項2】 入力信号の包絡線情報を得る包絡線検出
手段と、 前記包絡線検出手段の出力を所定値と比較する比較手段
と、 前記包絡線検出手段の出力に対して関数演算を行なって
ゲイン係数を得る係数設定手段と、 固定のゲイン係数を発生させる係数発生手段と、 前記比較手段の比較結果に応じて、前記係数設定手段に
よるゲイン係数と前記係数発生手段によるゲイン係数の
いづれかを選択して出力する選択手段と、 前記選択手段から出力されたゲイン係数に基づいて入力
信号にゲインを与えて出力するゲイン演算手段とを有
し、 前記係数設定手段によるゲイン係数と前記係数発生手段
によるゲイン係数により入出力特性が設定されることを
特徴とする出力特性設定装置。
2. An envelope detecting means for obtaining envelope information of an input signal, a comparing means for comparing the output of the envelope detecting means with a predetermined value, and a function operation for the output of the envelope detecting means. A coefficient setting means for obtaining a gain coefficient, a coefficient generating means for generating a fixed gain coefficient, and a gain coefficient by the coefficient setting means or a gain coefficient by the coefficient generating means according to the comparison result of the comparing means. A selecting means for selecting and outputting; and a gain calculating means for giving a gain to an input signal based on the gain coefficient output from the selecting means and outputting the gain, the gain coefficient by the coefficient setting means and the coefficient generating means The output characteristic setting device is characterized in that the input / output characteristic is set by the gain coefficient by the.
【請求項3】 入力信号の包絡線情報を得る包絡線検出
手段と、 前記包絡線検出手段の出力を第1の所定値と比較する第
1の比較手段と、 前記包絡線検出手段の出力を第2の所定値と比較する第
2の比較手段と、 前記包絡線検出手段の出力に対して関数演算を行なって
ゲイン係数を得る係数設定手段と、 第1の固定のゲイン係数を発生させる第1の係数発生手
段と、 第2の固定のゲイン係数を発生させる第2の係数発生手
段と、 前記第1、第2の比較手段の比較結果に応じて、前記係
数設定手段によるゲイン係数と前記第1の係数発生手段
によるゲイン係数と第2の係数発生手段によるゲイン係
数のいづれかを選択して出力する選択手段と、 前記選択手段から出力されたゲイン係数に基づいて入力
信号にゲインを与えて出力するゲイン演算手段とを有
し、 前記係数設定手段によるゲイン係数と前記第1の係数発
生手段によるゲイン係数と前記第2の係数発生手段によ
るゲイン係数により入出力特性が設定されることを特徴
とする出力特性設定装置。
3. An envelope detecting means for obtaining envelope information of an input signal, a first comparing means for comparing an output of the envelope detecting means with a first predetermined value, and an output of the envelope detecting means. Second comparing means for comparing with a second predetermined value; coefficient setting means for performing a function operation on the output of the envelope detecting means to obtain a gain coefficient; and a first fixed gain coefficient generating means. 1 coefficient generating means, a second coefficient generating means for generating a second fixed gain coefficient, and a gain coefficient by the coefficient setting means according to a comparison result of the first and second comparing means. Selecting means for selecting and outputting either the gain coefficient by the first coefficient generating means or the gain coefficient by the second coefficient generating means; and applying a gain to the input signal based on the gain coefficient output from the selecting means. Output gain performance Output characteristics, wherein the input / output characteristics are set by the gain coefficient by the coefficient setting means, the gain coefficient by the first coefficient generating means, and the gain coefficient by the second coefficient generating means. Setting device.
【請求項4】 入力信号値xに対して、次の(数1)の
関数演算により入力信号に対するゲイン係数gを算出す
ることを特徴とする係数設定装置。 【数1】 ただし、 kn ・・・・係数 j・・・・係数kn の最大値kmax 及び正規化する値Sにつ
いてS≧2j ×kmaxが成立する値 CF ・・・・(1/2)≦│CF │<1が満たされる固定値 n・・・・固定値 M・・・・演算次数 xF ・・・・入力信号値xについて(1/2)≦xF <1を
満足するためにxをシフトさせた値 m・・・・入力信号値xをxF とするためのシフト量 とする。
4. A coefficient setting device for calculating a gain coefficient g for an input signal by performing the following function operation of the following (Equation 1) on the input signal value x. [Equation 1] However, k n ... Coefficient j ... The value C F for which the maximum value k max of the coefficient k n and the normalized value S satisfy S ≧ 2 j × k max. ) ││C F │ <1 fixed value n ・ ・ ・ ・ Fixed value M ・ ・ ・ ・ Calculation order x F・ ・ ・ ・ for input signal value x satisfies (1/2) ≦ x F <1 A value obtained by shifting x in order to obtain the input signal value x is x F.
【請求項5】 入力信号値xについて(1/2)≦xF
<1を満足するためにmビットシフトを行ないxF を得
る第1のシフタ手段と、 係数kn を保持するレジスタ手段と、 係数kn とxF についてM次の演算を実行するために1
又は複数の加算、及び1又は複数の乗算を実行する演算
手段と、 前記演算手段の出力に対して(m+固定値)ビットシフ
トを行ない、ゲイン係数gを出力する第2のシフタ手段
と、 を有して構成されることを特徴とする請求項4に記載の
係数設定装置。
5. For input signal value x, (1/2) ≦ x F
<A first shifter means for obtaining a x F performs m-bit shift to satisfy one, a register means for holding the coefficient k n, to perform M following computation for the coefficients k n and x F 1
Or a plurality of additions and one or a plurality of multiplications; and a second shifter means for performing (m + fixed value) bit shift on the output of the calculation means and outputting a gain coefficient g. The coefficient setting device according to claim 4, wherein the coefficient setting device is configured to have.
JP6202987A 1994-06-21 1994-08-05 Output characteristic setting device and coefficient setting device Withdrawn JPH0870225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6202987A JPH0870225A (en) 1994-06-21 1994-08-05 Output characteristic setting device and coefficient setting device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP16074294 1994-06-21
JP6-160742 1994-06-21
JP6202987A JPH0870225A (en) 1994-06-21 1994-08-05 Output characteristic setting device and coefficient setting device

Publications (1)

Publication Number Publication Date
JPH0870225A true JPH0870225A (en) 1996-03-12

Family

ID=26487147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6202987A Withdrawn JPH0870225A (en) 1994-06-21 1994-08-05 Output characteristic setting device and coefficient setting device

Country Status (1)

Country Link
JP (1) JPH0870225A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008543194A (en) * 2005-06-02 2008-11-27 ソニー エリクソン モバイル コミュニケーションズ, エービー Audio signal gain control apparatus and method
JP2012065068A (en) * 2010-09-15 2012-03-29 Korg Inc Audio compressor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008543194A (en) * 2005-06-02 2008-11-27 ソニー エリクソン モバイル コミュニケーションズ, エービー Audio signal gain control apparatus and method
JP2012065068A (en) * 2010-09-15 2012-03-29 Korg Inc Audio compressor

Similar Documents

Publication Publication Date Title
US7602320B2 (en) Systems and methods for companding ADC-DSP-DAC combinations
US8160274B2 (en) System and method for digital signal processing
JP3185413B2 (en) Orthogonal transform operation and inverse orthogonal transform operation method and apparatus, digital signal encoding and / or decoding apparatus
EP2798737B1 (en) Bass enhancement system
JP3295440B2 (en) Signal processing circuit in audio equipment
EP2095513B1 (en) System and method for digital signal processing
US20080175409A1 (en) Bass enhancing apparatus and method
US7369906B2 (en) Digital audio signal processing
US20060153404A1 (en) Parametric equalizer method and system
AU2012202127A1 (en) System and method for digital signal processing
JPH06177688A (en) Audio signal processing unit
US20090266219A1 (en) Resonance tone generating apparatus and electronic musical instrument
JP2010109624A (en) Sound processing circuit, sound processor, and sound processing method
EP1117179B1 (en) Digital Graphic/Parametric Equalizer
JPH0870225A (en) Output characteristic setting device and coefficient setting device
JP4787316B2 (en) Digital signal processing apparatus and overtone generation method
JPH04365210A (en) On-vehicle sound reproducing device
JP2002345075A (en) Signal processing apparatus
JP3555887B2 (en) Automatic gain control device
JP3424193B2 (en) Volume compensator
JP3123052B2 (en) Acoustic signal compressor device
Klein et al. Externally linear time invariant digital signal processors
JP2006114998A (en) Digital signal processing system
JP3056815B2 (en) Digital variable compressor for audio signal
JP3110589B2 (en) A / D converter and D / A converter

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106