JPH10256857A - Sound quality correction device - Google Patents

Sound quality correction device

Info

Publication number
JPH10256857A
JPH10256857A JP5652697A JP5652697A JPH10256857A JP H10256857 A JPH10256857 A JP H10256857A JP 5652697 A JP5652697 A JP 5652697A JP 5652697 A JP5652697 A JP 5652697A JP H10256857 A JPH10256857 A JP H10256857A
Authority
JP
Japan
Prior art keywords
sound quality
filter
filter coefficients
evaluation
frequency
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
JP5652697A
Other languages
Japanese (ja)
Inventor
Masaichiro Maeda
雅一郎 前田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5652697A priority Critical patent/JPH10256857A/en
Publication of JPH10256857A publication Critical patent/JPH10256857A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the capacity of a coefficient table. SOLUTION: A filter arithmetic section 10 obtains sets of filter coefficients in response to an input parameter and they are fed to an evaluation section 14 and a selector switch 15 via a revision section 11. The evaluation section 14 evaluates whether or not desired sound quality is obtained (proper or improper) from the filter coefficients of the set obtained through an arithmetic operation based on the input parameters stored in each evaluation item memory 12 such as a level of a center frequency, a frequency sharpness, and a cut-off frequency. When the sound quality is proper, a selector switch 15 is controlled to be closed and a sound quality correction section 16 uses the set of the filter coefficients decided tentatively as they are to correct the sound quality. When improper, the coefficient revision section 11 adjusts the filter coefficients of the set obtained by the arithmetic operation so as to obtain desired sound quality and a sound quality correction section 16 corrects the sound quality by using the set of the adjusted filter coefficients.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば音声情報の
低域及び高域の音質を変化させるトーンコントローラ
や、音声情報の各周波数帯域の音質をそれぞれ変化させ
るグラフィックイコライザ等に設けて好適な音質補正装
置に関し、特に音質補正用に必要とするフィルタ係数の
数を削減し、フィルタ係数を記憶しておくメモリ(係数
テーブル)の記憶容量の削減等を図った音質補正装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a tone controller which changes the sound quality of low frequency and high frequency of audio information, and a graphic equalizer which changes the sound quality of each frequency band of audio information. More particularly, the present invention relates to a sound quality correction device in which the number of filter coefficients required for sound quality correction is reduced and the storage capacity of a memory (coefficient table) for storing the filter coefficients is reduced.

【0002】[0002]

【従来の技術】従来の音質補正装置としては、いわゆる
IIRフィルタ(Infinite Impulse Responce )を用い
て中心周波数のレベルや周波数尖鋭度(Q)を制御する
トーンコントローラやグラフィックイコライザ等が知ら
れている。
2. Description of the Related Art As a conventional sound quality correction device, a tone controller and a graphic equalizer for controlling the level of a center frequency and a frequency sharpness (Q) using a so-called IIR filter (Infinite Impulse Response) are known.

【0003】このIIRフィルタは、フィードバックル
ープが存在するため、少ない演算手段で所望の周波数特
性を得ることができる反面、信号成分の語長や、フィル
タ係数の語長によっては、所望のフィルタ特性を得られ
ない場合がある。
Since the IIR filter has a feedback loop, a desired frequency characteristic can be obtained with a small amount of calculation means. However, depending on the word length of a signal component and the word length of a filter coefficient, a desired filter characteristic can be obtained. May not be obtained.

【0004】特に、トーンコントローラやグラフィック
イコライザは、フィルタ係数を変更することで周波数特
性を変化させるのであるが、その都度、最適なフィルタ
係数を演算により求めていたのでは、このための演算量
が増加し時間を要する。このため、予め所望の周波数特
性を満足するフィルタ係数の組を求めて係数テーブルに
記憶しておき、これらを選択して用いるようになってい
る。
In particular, tone controllers and graphic equalizers change frequency characteristics by changing filter coefficients. However, if an optimum filter coefficient is calculated by calculation each time, the amount of calculation for this is reduced. It takes more time. For this reason, a set of filter coefficients satisfying a desired frequency characteristic is obtained in advance and stored in a coefficient table, and these are selected and used.

【0005】具体的には、グラフィックイコライザをI
IRフィルタで構成する場合、図6に示すように遅延素
子,乗算器及び加算器からなる2次IIRフィルタを多
段に接続して構成される。
Specifically, a graphic equalizer is
When using an IR filter, as shown in FIG. 6, a second-order IIR filter including a delay element, a multiplier and an adder is connected in multiple stages.

【0006】図7に示すようにフィルタ係数(αn0〜β
n2)の組は、係数テーブルに予め記憶されており、必要
に応じてこの係数テーブルからフィルタ係数を読出し各
乗算器に供給することにより、伝達関数を変化させ所望
の周波数特性の音声情報を得るようになっている。
As shown in FIG. 7, filter coefficients (α n0n
The set of n2 ) is stored in the coefficient table in advance, and the filter function is read out from this coefficient table as necessary and supplied to each multiplier, thereby changing the transfer function to obtain audio information of a desired frequency characteristic. It has become.

【0007】[0007]

【発明が解決しようとする課題】しかし、従来の音質補
正装置は、図7に示したようなフィルタ係数の組を、各
中心周波数,各レベル,各周波数尖鋭度(Q)及び各サ
ンプリング周波数に対して求め、これら全てを係数テー
ブルに記憶するようにしていたため、膨大な容量の係数
テーブルを必要とし、記憶素子の増加からコスト高とな
る問題があった。
However, the conventional sound quality correcting apparatus converts a set of filter coefficients as shown in FIG. 7 into each center frequency, each level, each frequency sharpness (Q) and each sampling frequency. However, since all of them are stored in the coefficient table, an enormous capacity coefficient table is required, and there is a problem that the cost increases due to the increase in the number of storage elements.

【0008】本発明は、上述の課題に鑑みてなされたも
のであり、必要なフィルタ係数を少なくすることがで
き、少容量の記憶素子で係数テーブルを構成することを
可能として、ローコスト化を図ることができるような音
質補正装置の提供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and can reduce the required filter coefficients, and can configure a coefficient table with a small-capacity storage element, thereby achieving low cost. It is an object of the present invention to provide a sound quality correction device capable of performing the above.

【0009】[0009]

【課題を解決するための手段】本発明に係る音質補正装
置は、上述の課題を解決するために、フィルタ演算手段
により求められたフィルタ係数の組を、所望の音質を得
るのに「適性」なものであるか「不適性」なものである
かを評価する評価手段と、この評価手段により不適性の
評価がなされた場合、所望の音質が得られるように、前
記フィルタ演算手段により求められた組の各フィルタ係
数を調整するフィルタ係数調整手段と、評価手段により
「適性」と判断されたフィルタ係数の組、或いはフィル
タ係数調整手段により調整されたフィルタ係数の組を用
いて外部から供給される音声情報をフィルタリング処理
することで音声情報の音質を補正して出力するフィルタ
手段とを有する構成とする。
In order to solve the above-mentioned problems, the sound quality correcting apparatus according to the present invention uses a set of filter coefficients obtained by the filter operation means as "suitable" for obtaining a desired sound quality. Evaluation means for evaluating whether the sound is appropriate or "inappropriate"; and when the evaluation is performed by this evaluation means, the filter operation means is used to obtain a desired sound quality. Filter coefficient adjustment means for adjusting each set of filter coefficients, and a set of filter coefficients determined to be "suitable" by the evaluation means, or a set of filter coefficients adjusted by the filter coefficient adjustment means, supplied from outside. Filter means for correcting the sound quality of the audio information by filtering the audio information to be output.

【0010】このような音質補正装置は、フィルタ演算
手段により求められたフィルタ係数の組を、評価手段に
より所望の音質が得られるか否か評価し、所望の音質が
得られない評価の場合(不適性)に、この組のフィルタ
係数をフィルタ係数調整手段で所望の音質が得られるよ
うに調整して外部から供給される音声情報のフィルタリ
ング処理に用いる。
In such a sound quality correcting apparatus, a set of filter coefficients obtained by the filter operation means is evaluated by the evaluation means as to whether or not a desired sound quality can be obtained. Inadequately), this set of filter coefficients is adjusted by filter coefficient adjusting means so as to obtain a desired sound quality, and is used for filtering audio information supplied from the outside.

【0011】このため、例えば基本的ないくつかのフィ
ルタ係数の組のみをフィルタ係数記憶手段に記憶してお
き、これらを評価結果に応じて調整して用いることがで
き、フィルタ係数記憶手段に記憶しておくフィルタ係数
を削減することができる。従って、フィルタ係数記憶手
段として少容量のものを用いることを可能とすることが
でき、これによる当該音質補正装置のローコスト化を図
ることができる。
For this reason, for example, only a set of some basic filter coefficients can be stored in the filter coefficient storage means, and these can be adjusted and used according to the evaluation result, and stored in the filter coefficient storage means. It is possible to reduce the number of filter coefficients to be set. Therefore, it is possible to use a small-capacity filter coefficient storage means, thereby reducing the cost of the sound quality correction device.

【0012】[0012]

【発明の実施の形態】以下、本発明に係る音質補正装置
の好ましい実施の形態について図面を参照しながら詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a sound quality correcting apparatus according to the present invention will be described below in detail with reference to the drawings.

【0013】本発明の第1の実施の形態に係る音質補正
装置は、図1に示すように外部からのデジタルデータで
ある音声データが供給される入力端子1と、所望の音質
に補正された音声データが出力される出力端子2と、デ
ジタルシグナルプロセッサ3(DSP)と、マイクロコ
ンピュータ(マイコン)4とで構成されている。
In the sound quality correcting apparatus according to the first embodiment of the present invention, as shown in FIG. 1, an input terminal 1 to which audio data as external digital data is supplied, and a sound quality corrected to a desired sound quality. It comprises an output terminal 2 for outputting audio data, a digital signal processor 3 (DSP), and a microcomputer (microcomputer) 4.

【0014】デジタルシグナルプロセッサ3は、主とし
てマイコン4からのフィルタ係数の組を用いて音声デー
タの音質補正を行う音質補正回路16により構成されて
いる。
The digital signal processor 3 is mainly composed of a sound quality correction circuit 16 for correcting the sound quality of audio data using a set of filter coefficients from the microcomputer 4.

【0015】マイコン4は、所定の入力パラメータに応
じて、音質補正を行うためのフィルタ係数の組を後に説
明する演算により求めるフィルタ演算部10と、ユーザ
により入力された入力パラメータをそれぞれ記憶する評
価項目メモリ12と、フィルタ演算部10により求めら
れた組のフィルタ係数を、各評価項目メモリ12に記憶
された入力パラメータ(評価項目)に基づいて、所望の
音質が得られるか(適性)否か(不適性)評価する評価
部14とを有している。
The microcomputer 4 calculates a set of filter coefficients for performing sound quality correction in accordance with predetermined input parameters by a calculation described later, and an evaluation unit that stores input parameters input by a user. The set of filter coefficients obtained by the item memory 12 and the filter operation unit 10 is used to determine whether desired sound quality can be obtained (suitability) based on the input parameters (evaluation items) stored in each evaluation item memory 12. (Inappropriateness).

【0016】また、マイコン4は、評価部14により不
適性の評価がなされた場合に、フィルタ演算部10によ
り求められた組のフィルタ係数を、所望の音質が得られ
る値に調整する係数変更部11と、評価部14により適
性の評価がなされた場合は、フィルタ演算部10により
求められたフィルタ係数の組をDSP3の音質補正回路
16に供給し、評価部14により不適性の評価がなされ
た場合は、係数変更部11により調整されたフィルタ係
数の組を音質補正回路16に供給する選択スイッチ15
とを有している。
Further, when the evaluation unit 14 evaluates the inappropriateness, the microcomputer 4 adjusts the set of filter coefficients obtained by the filter operation unit 10 to a value that provides a desired sound quality. When the suitability is evaluated by the evaluation unit 11 and the evaluation unit 14, the set of filter coefficients obtained by the filter operation unit 10 is supplied to the sound quality correction circuit 16 of the DSP 3, and the evaluation is performed by the evaluation unit 14. In this case, the selection switch 15 that supplies the set of filter coefficients adjusted by the coefficient changing unit 11 to the sound quality correction circuit 16
And

【0017】DSP3及びマイコン4の全体的な構成は
図2に示すようになっており、このDSP3及びマイコ
ン4は、マイコン4からの制御データをDSP3に供給
するための制御バスライン5で接続されている。
The overall configuration of the DSP 3 and the microcomputer 4 is as shown in FIG. 2. The DSP 3 and the microcomputer 4 are connected by a control bus line 5 for supplying control data from the microcomputer 4 to the DSP 3. ing.

【0018】DSP3は、入力データバッファ3a,マ
ルチプライヤ3b,論理演算ユニット3c,ROM3
d,出力データバッファ3e,RAM3f,データRA
M3g,係数RAM3hを、それぞれデータバスライン
3i及び制御バスライン3jを介して相互に接続するこ
とにより構成されている。
The DSP 3 comprises an input data buffer 3a, a multiplier 3b, a logical operation unit 3c, a ROM 3
d, output data buffer 3e, RAM 3f, data RA
M3g and coefficient RAM 3h are connected to each other via a data bus line 3i and a control bus line 3j, respectively.

【0019】そして、外部からの音声データが入力端子
1を介して入力データバッファ3aに供給されると、各
部3a〜3hが、ROM3d或いはRAM3fに記憶さ
れているデータ処理アルゴリズムのプログラムに基づい
て有機的に制御され、マイコン4からのフィルタ係数の
組を用いて音声データのフィルタリング処理を実行する
ようになっている。
When audio data from the outside is supplied to the input data buffer 3a via the input terminal 1, each of the sections 3a to 3h operates according to a data processing algorithm program stored in the ROM 3d or the RAM 3f. , And performs filtering processing of audio data using a set of filter coefficients from the microcomputer 4.

【0020】マイコン4は、このDSP3の各部3a〜
3hを制御するようになっている。具体的には、ユーザ
が操作部6を操作すると、この操作内容を示す操作デー
タがマイコン4の入力ポート4aに供給される。入力ポ
ート4aに操作データが供給されると、この操作データ
により演算処理部4b(CPU)が起動状態となる。演
算処理部4bは、ROM4dに記憶されているプログラ
ム、或いは必要に応じてRAM4cに記憶された演算プ
ログラムに基づいて、操作データに応じたデータ処理を
実行するように出力ポート4e及び制御バスライン5を
介してDSP3に制御データを供給し、DSP3で行わ
れるフィルタリング処理を制御する。
The microcomputer 4 includes various parts 3a to 3a of the DSP 3.
3h. Specifically, when the user operates the operation unit 6, operation data indicating the contents of the operation is supplied to the input port 4 a of the microcomputer 4. When operation data is supplied to the input port 4a, the operation processing unit 4b (CPU) is activated by the operation data. The arithmetic processing unit 4b includes an output port 4e and a control bus line 5 that execute data processing according to operation data based on a program stored in the ROM 4d or an arithmetic program stored in the RAM 4c as necessary. The control data is supplied to the DSP 3 via the DSP 3, and the filtering process performed by the DSP 3 is controlled.

【0021】次に、マイコン4のROM4d(或いはR
AM4c)に記憶されているプログラムに基づいて実行
される当該音質補正装置の音質補正動作を説明する。
Next, the ROM 4d (or R
The sound quality correcting operation of the sound quality correcting device executed based on the program stored in AM4c) will be described.

【0022】この音質補正動作は、図3に示すフローチ
ャートに従って実行されるようになっている。すなわ
ち、このフローチャートは、当該音質補正装置がグラフ
ィックイコライザである場合、ユーザが図2に示す操作
部6を操作して所望の周波数ゲイン特性,所望の中心周
波数の値,所望の中心周波数のレベル,所望の周波数尖
鋭度等を入力パラメータとして入力することによりスタ
ートとなりステップS1に進む。或いは、当該音質補正
装置がトーンコントローラである場合、所望の周波数特
性の平坦な部分のレベル,所望の遮断周波数等を入力パ
ラメータとして入力することによりスタートとなりステ
ップS1に進む。
This sound quality correcting operation is executed according to the flowchart shown in FIG. That is, when the sound quality correction device is a graphic equalizer, the user operates the operation unit 6 shown in FIG. 2 to operate the operation unit 6 shown in FIG. 2 to obtain a desired frequency gain characteristic, a desired center frequency value, a desired center frequency level, The process is started by inputting a desired frequency sharpness or the like as an input parameter, and the process proceeds to step S1. Alternatively, when the sound quality correction device is a tone controller, the process is started by inputting a level of a flat portion of a desired frequency characteristic, a desired cutoff frequency, and the like as input parameters, and the process proceeds to step S1.

【0023】ステップS1では、図2に示す演算処理部
4b(CPU)が、ROM4dに記憶されているプログ
ラムによる以下の数1−1式に基づいて前記入力パラメ
ータのS関数を求めることにより安定した伝達関数を求
めてステップS2に進む。
In step S1, the arithmetic processing unit 4b (CPU) shown in FIG. 2 obtains the S function of the input parameter based on the following equation 1-1 based on the program stored in the ROM 4d, thereby stabilizing the operation. The process proceeds to step S2 after obtaining the transfer function.

【0024】ステップS2では、演算処理部4bが、こ
のS関数に双一次S/Z変換処理を施すことによりS関
数をZ関数に変換して有限語長化する。そして、この値
をフィルタ係数の組として仮決定してステップS3に進
む。
In step S2, the arithmetic processing unit 4b performs a bilinear S / Z conversion process on the S function to convert the S function into a Z function to make it a finite word length. Then, this value is provisionally determined as a set of filter coefficients, and the process proceeds to step S3.

【0025】具体的には、伝達関数のパラメータを整理
し、フィルタ係数の組との関係式を示すと以下の数1式
に示すようになる。
Specifically, the parameters of the transfer function are arranged and the relational expression with the set of filter coefficients is shown by the following equation (1).

【0026】[0026]

【数1】 すなわち、数1式の1−1式に示すS関数に、1−2式
を用いて双一次S/Z変換処理を施すことで1−3式に
示すZ関数を得て有限語長化する。なお、1−1式〜1
−3式中のフィルタ係数α0 ,α1 ,α2 ,β1 ,β2
はそれぞれ1−4式〜1−8式で定義される。
(Equation 1) That is, by performing bilinear S / Z conversion processing on the S function shown in Equation 1-1 of Equation 1 using Equation 1-2, the Z function shown in Equation 1-3 is obtained, and the word length is made finite. . In addition, 1-1 formula-1
-3 filter coefficients α0, α1, α2, β1, β2
Is defined by formulas 1-4 to 1-8, respectively.

【0027】ここで、シェルピング型のグラフィックイ
コライザのフィルタリング動作は、数1式の1−9式で
表すことができる。
Here, the filtering operation of the shelving type graphic equalizer can be expressed by the following equation (1-9).

【0028】1−4式〜1−8式中のa0 ,a1 ,a2
,b0 ,b1 ,b2 は、以下の数2式に示す2−1式
〜2−6式で定義される。
A 0, a 1, a 2 in the equations 1-4 to 1-8
, B0, b1, and b2 are defined by the following equations (2-1) to (2-6).

【0029】[0029]

【数2】 このため、この2−1式〜2−6式で定義されるa0 ,
a1 ,a2 ,b0 ,b1 ,b2 を1−4式〜1−8式に
代入するとZ関数の係数値、すなわちデジタルフィルタ
のフィルタ係数を求めることができる。
(Equation 2) For this reason, a0 defined by the formulas 2-1 to 2-6,
By substituting a1, a2, b0, b1, and b2 into equations 1-4 to 1-8, the coefficient value of the Z function, that is, the filter coefficient of the digital filter can be obtained.

【0030】2−1式と2−4式、及び、2−3式と2
−6式からa0 =b0 =1,a2 =b2 である。また、
これらと、1−5式と1−6式からα1 =β1 となる。
さらに、2−2式と2−5式からKa1 =b1 となる。
Equations 2-1 and 2-4, and equations 2-3 and 2
It is a 0 = b 0 = 1, a2 = b2 -6 expression. Also,
From these, Equations 1-5 and 1-6, α 1 = β 1 .
Further, Ka 1 = b 1 is obtained from the expressions 2-2 and 2-5.

【0031】有限語長化する関数をT(x)とおくと、
各フィルタ係数α0 ,α1 ,α2 ,β1 ,β2 は、以下
の数3式の3−1式〜3−4式に示すようになる。
Assuming that the function for finite word length is T (x),
The filter coefficients α0, α1, α2, β1, β2 are as shown in the following equations (3-1) to (3-4).

【0032】[0032]

【数3】 ここで、α0 とα2 の関係に着目し、以下の数4式に示
すようにAT 及びBTをおくと、
(Equation 3) Here, paying attention to the relationship between α 0 and α 2 , A T and B T are set as shown in the following Expression 4, and

【数4】 α0 ≒AT +BT α2 ≒AT +BT となる。(Equation 4) α 0 ≒ A T + B T α 2 ≒ A T + B T

【0033】これは、有限語長化した値として「α0
α2 =2BT 」となる関係が保持されていないと所望の
フィルタ特性が得られないことを示す。
This is because the value of the finite word length is “α 0
This indicates that a desired filter characteristic cannot be obtained unless the relationship of α 2 = 2B T is maintained.

【0034】このため、α0 ,α2 を、それぞれ α0 =AT +BT α2 =AT −BT とすれば所望のフィルタ特性を得ることができる。Therefore, if α 0 and α 2 are respectively set as α 0 = A T + B T α 2 = A T -B T , desired filter characteristics can be obtained.

【0035】なお、前記1−9式は、ブースト型を示し
ているのであるが、この数式の分子と分母を入替えるこ
とで、アッテネート型のフィルタを構成することができ
る。
The above expression 1-9 indicates the boost type, but by replacing the numerator and denominator of this expression, an attenuate type filter can be formed.

【0036】次に、トーンコントローラを考えると、高
域増幅型の場合は以下の数5式の5−1式に示すように
なり、低域増幅型の場合は数5式の5−2式に示すよう
になる。
Next, considering the tone controller, in the case of the high-frequency amplification type, the following expression (5-1) is used, and in the case of the low-frequency amplification type, the expression 5-2 of the expression (5) is used. It becomes as shown in.

【0037】[0037]

【数5】 なお、5−1式及び5−2式の分子と分母を入替えるこ
とで、減衰型のトーンコントローラを実現することがで
きる。
(Equation 5) Note that by replacing the numerator and denominator of Equations 5-1 and 5-2, an attenuated tone controller can be realized.

【0038】そして、5−1式及び5−2式を1−1式
と比較し、a0 ,a1 ,a2 ,b0,b1 ,b2 を求
め、1−4式から1−8式に代入することにより、Z関
数の係数値、すなわちデジタルフィルタのフィルタ係数
を求めることができる。
Then, the expressions 5-1 and 5-2 are compared with the expression 1-1, and a 0 , a 1 , a 2 , b 0 , b 1 , and b 2 are obtained. By substituting into equation 8, the coefficient value of the Z function, that is, the filter coefficient of the digital filter can be obtained.

【0039】ここで、DSP3(或いは論理回路)でフ
ィルタリング処理の演算を行えるようにするには、各フ
ィルタ係数を一定の語長で表す必要がある。この際、誤
差を生ずるため、一定語長で表現されたフィルタ係数に
対して所望の特性(所望の音質)が得られるか否かを評
価する必要がある。
Here, in order for the DSP 3 (or the logic circuit) to be able to perform the operation of the filtering process, it is necessary to represent each filter coefficient with a certain word length. At this time, since an error occurs, it is necessary to evaluate whether or not desired characteristics (desired sound quality) can be obtained with respect to the filter coefficient represented by a fixed word length.

【0040】このため、当該音質補正装置は、マイコン
4が、図3のフローチャートに示すステップS2におい
て求められたフィルタ係数の組をステップS3において
所望の音質が得られるか(適性か)否か(不適性か)評
価してステップS4に進む。
Therefore, in the sound quality correcting apparatus, the microcomputer 4 determines whether the desired sound quality is obtained (suitable) in step S3 based on the set of filter coefficients obtained in step S2 shown in the flowchart of FIG. Whether it is inappropriate) is evaluated, and the process proceeds to step S4.

【0041】ステップS4では、マイコン4が、ステッ
プS3により「適性」の評価がなされたか否かを判別
し、Yesの場合はステップS5に進み、Noの場合は
ステップS6に進む。
In step S4, the microcomputer 4 determines whether or not the evaluation of "appropriateness" has been made in step S3. If Yes, the process proceeds to step S5, and if No, the process proceeds to step S6.

【0042】ステップS6では、ステップS3において
なされた評価が「不適性」を示すものであるため、マイ
コン4が、ステップS2において求められた組の各フィ
ルタ係数を、所望の音質が得られるような値に調整して
ステップS3に戻り、この調整したフィルタ係数の組に
対して再度評価を行う。そして、ステップS4におい
て、Yesと判別されるまで(所望の音質が得られると
いう評価がなされるまで)このステップS3,ステップ
S4,ステップS6の各ルーチンを繰り返し実行する。
In step S6, since the evaluation made in step S3 indicates "inappropriateness", the microcomputer 4 converts each filter coefficient of the set obtained in step S2 into a signal for obtaining a desired sound quality. The value is adjusted to a value, the process returns to step S3, and the set of adjusted filter coefficients is evaluated again. Then, in step S4, the respective routines of steps S3, S4, and S6 are repeatedly executed until the determination is Yes (until it is determined that the desired sound quality is obtained).

【0043】次に、ステップS4においてYesの判別
がなされた場合はステップS5において、マイコン4が
そのフィルタ係数の組をDSP3に供給する。そして、
DSP3が、ステップS2において求められた(仮決定
された)フィルタ係数の組を用いて、或いはステップS
6において調整されたフィルタ係数の組を用いて入力端
子1から供給される音声データのフィルタリング処理を
行い、これを出力端子2を介して、例えばスピーカ装置
等の外部機器に供給して当該図3に示すフローチャート
の全ルーチンを終了する。
Next, if Yes is determined in step S4, the microcomputer 4 supplies the set of filter coefficients to the DSP 3 in step S5. And
The DSP 3 uses the (tentatively determined) set of filter coefficients obtained in step S2, or
The filter processing of the audio data supplied from the input terminal 1 is performed by using the set of filter coefficients adjusted in step 6, and this is supplied to an external device such as a speaker device through the output terminal 2 to obtain the data shown in FIG. All the routines in the flowchart shown in FIG.

【0044】ステップS3〜ステップS6の具体的な動
作を説明すると、当該音質補正装置がグラフィックイコ
ライザである場合にユーザにより入力パラメータとして
入力された所望の周波数ゲイン特性,所望の中心周波数
の値,所望の中心周波数のレベル,所望の周波数尖鋭度
は、図1に示す各評価項目メモリ12に記憶される。或
いは、当該音質補正装置がトーンコントローラである場
合にユーザにより入力パラメータとして入力された所望
の周波数特性の平坦な部分のレベル,所望の遮断周波数
は、各評価項目メモリ12に記憶される。
The specific operations of steps S3 to S6 will be described. When the sound quality correction device is a graphic equalizer, a desired frequency gain characteristic, a desired center frequency value, and a desired center frequency value input as input parameters by a user. Is stored in each evaluation item memory 12 shown in FIG. Alternatively, when the sound quality correction device is a tone controller, the level of the flat portion of the desired frequency characteristic and the desired cutoff frequency, which are input as input parameters by the user, are stored in each evaluation item memory 12.

【0045】一方、フィルタ演算部10によりフィルタ
係数の組が仮決定されると、この仮決定されたフィルタ
係数の組は、係数変更部11を介して評価部14及び選
択スイッチ15に供給される。
On the other hand, when the set of filter coefficients is provisionally determined by the filter operation unit 10, the provisionally determined set of filter coefficients is supplied to the evaluation unit 14 and the selection switch 15 via the coefficient change unit 11. .

【0046】評価部14は、この仮決定されたフィルタ
係数の組が供給されると、切換えスイッチ13を介して
各評価項目メモリ12に記憶されている所望の周波数ゲ
イン特性,所望の中心周波数の値等を順番に取り込み、
これらに基づいてフィルタ係数の組を評価し、この評価
結果を係数変更部11及び選択スイッチ15に供給す
る。
When the provisionally determined set of filter coefficients is supplied, the evaluation unit 14 receives the desired frequency gain characteristic and the desired center frequency stored in each evaluation item memory 12 via the changeover switch 13. Import the values etc. in order,
Based on these, a set of filter coefficients is evaluated, and the evaluation result is supplied to the coefficient changing unit 11 and the selection switch 15.

【0047】すなわち、前記フィルタ係数の組の「所望
の周波数ゲイン特性」に対する評価は、前述の数1式の
1−3式に示す伝達関数をZ=ejw(ω=2πf)とお
き、この絶対値をとることで求める。この演算は、各評
価尺度毎に、あるωについてゲイン特性を求めればよい
ので、比較的少ない演算量で評価を行うことができる。
That is, the evaluation of the set of filter coefficients with respect to the “desired frequency gain characteristic” is performed by setting the transfer function expressed by the above-described expression (1) to Z = e jw (ω = 2πf). It is determined by taking the absolute value. In this calculation, since a gain characteristic may be obtained for a certain ω for each evaluation scale, evaluation can be performed with a relatively small amount of calculation.

【0048】また、「所望の周波数ゲイン特性」として
「所望の上端周波数、及び(又は)下端周波数でのゲイ
ン特性」が入力された場合における前記評価は、ω=0
(下端周波数)、ωがfs/2近傍でのゲイン特性を求
めて評価する。
In the case where "desired gain characteristics at desired upper frequency and / or lower frequency" are input as "desired frequency gain characteristics", ω = 0
(Lower end frequency), and gain characteristics when ω is around fs / 2 are evaluated.

【0049】この評価は、グラフィックイコライザの場
合、結果が0dBを中心にある範囲内に収まっていれば
そのフィルタ係数の組を「適性」と評価し、前記ある範
囲内に収まっていない場合はそのフィルタ係数の組を
「不適性」と評価する。また、トーンコントローラの場
合は、所望のゲインを中心にしてある範囲内に収まって
いればそのフィルタ係数の組を「適性」と評価し、前記
ある範囲内に収まっていない場合はそのフィルタ係数の
組を「不適性」と評価する。
In the case of a graphic equalizer, if the result falls within a certain range centered on 0 dB, the set of filter coefficients is evaluated as “appropriate”, and if the result does not fall within the certain range, it is evaluated. The set of filter coefficients is evaluated as “unsuitable”. Further, in the case of a tone controller, a set of filter coefficients is evaluated as “appropriate” if the gain is within a certain range around the desired gain, and if not within the certain range, the filter coefficient is evaluated. Evaluate the set as "Inappropriate".

【0050】前述のように、この評価部14からの評価
結果は、係数変更部11に供給される。係数変更部11
は、「不適性」の評価結果が供給されると、その組の各
フィルタ係数を、有限語長の最小単位毎に増減して調整
し、これを評価部14及び選択スイッチ15に供給す
る。評価部14は、この調整されたフィルタ係数の組を
再度評価する。そして、このようなフィルタ係数の組の
「評価」及び「調整」が評価部14において「適性」と
評価されるまで繰り返し行われる。
As described above, the evaluation result from the evaluation unit 14 is supplied to the coefficient changing unit 11. Coefficient changing unit 11
When the evaluation result of “inappropriate” is supplied, each filter coefficient of the set is adjusted by increasing or decreasing the minimum unit of the finite word length, and is supplied to the evaluation unit 14 and the selection switch 15. The evaluation unit 14 evaluates the adjusted set of filter coefficients again. Then, “evaluation” and “adjustment” of such a set of filter coefficients are repeatedly performed until the evaluation unit 14 evaluates “suitability”.

【0051】次に、グラフィックイコライザの場合にお
ける前記フィルタ係数の組の「所望の中心周波数」に対
する評価は、「中心周波数の所望の値からのズレ量」を
検出することにより評価する。
Next, the evaluation for the "desired center frequency" of the set of filter coefficients in the case of the graphic equalizer is performed by detecting "the amount of deviation of the center frequency from the desired value".

【0052】これは、fc近傍の数点のωのゲイン特性
を求め、ゲイン値の大小を比較し、中心周波数を検出す
る。この中心周波数が所望の中心周波数を中心にしてあ
る範囲内に収まっていれば「適性」の評価をし、収まっ
ていない場合は「不適性」の評価をし、各フィルタ係数
を有限語長の最小単位毎に増減して前述の「調整」を行
う。
In this method, the gain characteristics of ω at several points near fc are obtained, the magnitudes of the gain values are compared, and the center frequency is detected. If the center frequency falls within a certain range around the desired center frequency, the “appropriateness” is evaluated. If the center frequency is not within the range, the “inappropriateness” is evaluated. The above-mentioned “adjustment” is performed by increasing or decreasing the minimum unit.

【0053】次に、グラフィックイコライザの場合にお
ける前記フィルタ係数の組の「所望の中心周波数のレベ
ル」に対する評価は、「中心周波数におけるレベルの所
望の値からのズレ量」を検出することにより評価する。
Next, the evaluation of the set of filter coefficients for the "desired center frequency level" in the case of a graphic equalizer is performed by detecting "the amount of deviation of the level at the center frequency from a desired value". .

【0054】これは、前述の中心周波数でのゲインが、
所望の値を中心としてある範囲内に収まっていれば「適
性」の評価をし、収まっていない場合は「不適性」の評
価をし、各フィルタ係数を有限語長の最小単位毎に増減
して前述の「調整」を行う。次に、グラフィックイコラ
イザの場合における前記フィルタ係数の組の「所望の周
波数尖鋭度」に対する評価は、「周波数尖鋭度の所望の
値からのズレ量」を検出することにより評価する。
This is because the gain at the center frequency is
If it is within a certain range around the desired value, it is evaluated as “approved”. If not, it is evaluated as “unsuitable”, and each filter coefficient is increased or decreased by the minimum unit of finite word length. The above-mentioned “adjustment” is performed. Next, the evaluation for the "desired frequency sharpness" of the set of filter coefficients in the case of a graphic equalizer is performed by detecting "the amount of deviation of the frequency sharpness from a desired value".

【0055】これは、fc近傍の数点のωのゲイン特性
を求め、中心周波数のゲイン値と、ゲイン値が一定値離
れたωとを検出し、中心周波数とこのωとの差が、所望
の差と比較してある範囲内に収まっていれば「適性」の
評価をし、収まっていない場合は「不適性」の評価を
し、各フィルタ係数を有限語長の最小単位毎に増減して
前述の「調整」を行う。
In this method, the gain characteristics of ω at several points near fc are obtained, the gain value at the center frequency and ω at which the gain value is separated by a fixed value are detected, and the difference between the center frequency and this ω is determined as desired. If it is within a certain range compared to the difference, it is evaluated as “fitness”. If not, it is evaluated as “inappropriate”, and each filter coefficient is increased or decreased by the minimum unit of finite word length. The above-mentioned “adjustment” is performed.

【0056】次に、トーンコントローラの場合における
前記フィルタ係数の組の「所望の周波数特性の平坦な部
分のレベル」に対する評価は、「所望の周波数特性の平
坦な部分のレベルからのズレ量」を検出することにより
評価する。このズレ量がある範囲内に収まっていれば
「適性」の評価をし、収まっていない場合は「不適性」
の評価をし、各フィルタ係数を有限語長の最小単位毎に
増減して前述の「調整」を行う。
Next, the evaluation of the set of filter coefficients for the "level of the flat portion of the desired frequency characteristic" in the case of the tone controller is based on the "deviation from the level of the flat portion of the desired frequency characteristic". Evaluate by detecting. If this deviation is within a certain range, it is evaluated as “appropriate”.
Is evaluated, and each filter coefficient is increased or decreased for each minimum unit of a finite word length, and the above-mentioned “adjustment” is performed.

【0057】次に、トーンコントローラの場合における
前記フィルタ係数の組の「所望の遮断周波数」に対する
評価は、「所望の遮断周波数からのズレ量」を検出する
ことにより評価する。このズレ量がある範囲内に収まっ
ていれば「適性」の評価をし、収まっていない場合は
「不適性」の評価をし、各フィルタ係数を有限語長の最
小単位毎に増減して前述の「調整」を行う。
Next, the evaluation of the set of filter coefficients for the "desired cutoff frequency" in the case of the tone controller is performed by detecting the "deviation from the desired cutoff frequency". If this deviation is within a certain range, it is evaluated as “appropriate”; if it is not, it is evaluated as “inappropriate”, and each filter coefficient is increased or decreased by the minimum unit of finite word length. Perform "adjustment".

【0058】次に、評価部14は、このように各評価項
目に基づいて評価及び調整を行い、調整することなく
「適性」評価結果を得た場合には、選択スイッチ15を
オン制御してフィルタ演算部10からのフィルタ係数の
組をそのままDSP3の音質補正回路16に供給する。
また、フィルタ係数の組の調整を行った場合は、当該評
価部14において「適性」の評価が得られた段階で選択
スイッチ15をオン制御し、係数変更部11で調整され
たフィルタ係数の組をDSP3の音質補正回路16に供
給する。
Next, the evaluation section 14 performs evaluation and adjustment based on each evaluation item as described above, and when the “suitability” evaluation result is obtained without adjustment, the evaluation section 14 controls the selection switch 15 to be turned on. The set of filter coefficients from the filter operation unit 10 is supplied to the sound quality correction circuit 16 of the DSP 3 as it is.
When the set of filter coefficients is adjusted, the selection switch 15 is turned on when the evaluation of the “suitability” is obtained in the evaluation unit 14, and the set of filter coefficients adjusted by the coefficient changing unit 11 is adjusted. Is supplied to the sound quality correction circuit 16 of the DSP 3.

【0059】音質補正回路16は、図6で説明したよう
な2次IIRフィルタを多段接続した構成を有してお
り、フィルタ係数の組が供給されると、この組の各フィ
ルタ係数を用いて入力端子1から供給される音声データ
をフィルタリング処理して音質の補正を行う。
The sound quality correction circuit 16 has a configuration in which the secondary IIR filters as shown in FIG. 6 are connected in multiple stages. When a set of filter coefficients is supplied, the sound quality correction circuit 16 uses each filter coefficient of this set. The audio data supplied from the input terminal 1 is filtered to correct the sound quality.

【0060】この際、音質補正回路16は、当該音質補
正装置がグラフィックイコライザの場合は中心周波数が
高域の場合は単精度演算によるフィルタリング処理を行
い、中心周波数が低域の場合は有限語長を長くする倍精
度演算によるフィルタリング処理を行う。或いは、当該
音質補正装置がトーンコントローラの場合はカットオフ
周波数が高域の場合に単精度演算によるフィルタリング
処理を行い、カットオフ周波数が低域の場合に有限語長
を長くする倍精度演算によるフィルタリング処理を行
う。
At this time, when the sound quality correcting device is a graphic equalizer, the sound quality correcting circuit 16 performs a filtering process by a single precision operation when the center frequency is in a high frequency range, and performs a finite word length when the center frequency is in a low frequency range. Is performed by a double-precision operation to lengthen. Alternatively, when the sound quality correction device is a tone controller, filtering is performed by a single precision operation when the cutoff frequency is high, and filtering is performed by a double precision operation that lengthens a finite word length when the cutoff frequency is low. Perform processing.

【0061】そして、このように単精度演算及び倍精度
演算を切換えてフィルタリング処理した音声データを、
出力端子2を介してスピーカ装置等の外部機器に供給す
る。これにより、所望の音質の音響出力等を得ることが
できる。
Then, the audio data which has been subjected to the filtering processing by switching between the single precision operation and the double precision operation is
The signal is supplied to an external device such as a speaker device via the output terminal 2. As a result, it is possible to obtain a sound output or the like having a desired sound quality.

【0062】以上の説明から明らかなように、当該第1
の実施に形態に係る音質補正装置は、フィルタ演算部1
0により求められたフィルタ係数の組を、評価部14に
より所望の音質が得られるか否か評価し、所望の音質が
得られない評価の場合(不適性)に、この組のフィルタ
係数を係数変更部11で所望の音質が得られるように調
整して音質補正回路16のフィルタリング処理に用いる
ようになっている。
As is clear from the above description, the first
The sound quality correction apparatus according to the embodiment is a filter operation unit 1
The evaluation unit 14 evaluates whether or not a desired sound quality can be obtained. The evaluation unit 14 evaluates whether the desired sound quality can not be obtained (inappropriateness). The changing unit 11 adjusts the sound quality to obtain a desired sound quality and uses the adjusted sound quality in the filtering process of the sound quality correction circuit 16.

【0063】すなわち、フィルタ係数の組を演算により
求めるようになっているため、係数テーブルとして少容
量のものを用いることを可能とすることができ、これに
よる当該音質補正装置のローコスト化を図ることができ
る。
That is, since a set of filter coefficients is obtained by calculation, it is possible to use a small-capacity coefficient table as a coefficient table, thereby reducing the cost of the sound quality correction apparatus. Can be.

【0064】また、実時間処理が必要なフィルタリング
処理はDSP3(或いは論理回路)で実行し、ユーザの
指示に依存するフィルタ係数の組の決定はマイコン4で
実行する等のように、フィルタリング処理に必要な一纏
まりの仕事をDSP3及びマイコン4で分担するように
なっているため、ハードウエア処理及びソフトウエア処
理を使い分けることができ、ハードコストを下げ、当該
音質補正装置のローコスト化を図ることができる。
The filtering process requiring real-time processing is executed by the DSP 3 (or logic circuit), and the determination of the set of filter coefficients depending on the user's instruction is executed by the microcomputer 4. Since the necessary set of work is shared by the DSP 3 and the microcomputer 4, the hardware processing and the software processing can be selectively used, the hardware cost can be reduced, and the sound quality correction device can be reduced in cost. it can.

【0065】さらに、DSP3の音質補正回路16にお
いては、中心周波数,カットオフ周波数に応じて単精度
演算及び倍精度演算を切換えてフィルタリング処理を行
うようにしているため、全体のハードウエア規模を削減
することができ、当該音質補正装置のさらなるローコス
ト化を図ることができる。
Further, in the sound quality correction circuit 16 of the DSP 3, the filtering process is performed by switching between the single precision operation and the double precision operation in accordance with the center frequency and the cutoff frequency. This can further reduce the cost of the sound quality correction device.

【0066】なお、上述の第1の実施の形態の説明で
は、DSP3及びマイコン4は別々に設けられているこ
ととしたが、DSP3及びマイコン4は共にプログラム
制御による演算回路であるため、両者は一体的に構成す
るようにしてもよい。
In the above description of the first embodiment, the DSP 3 and the microcomputer 4 are provided separately. However, since the DSP 3 and the microcomputer 4 are both arithmetic circuits under program control, they are both provided. You may make it comprise integrally.

【0067】次に、本発明の第2の実施の形態に係る音
質補正装置の説明をする。
Next, a sound quality correcting apparatus according to a second embodiment of the present invention will be described.

【0068】なお、この第2の実施の形態に係る音質補
正装置の説明において、上述の第1の実施の形態に係る
音質補正装置と同じ動作を示す箇所には同符号を付し、
重複説明を避けることとする。
In the description of the sound quality correcting apparatus according to the second embodiment, the same reference numerals are given to the parts which exhibit the same operations as those of the sound quality correcting apparatus according to the first embodiment.
Duplicate explanations will be avoided.

【0069】すなわち、この第2の実施の形態に係る音
質補正装置は、図4に示すように上述の第1の実施の形
態に係る音質補正装置の構成に加え、入力端子1を介し
て供給された音声データの1サンプリング期間を検出す
る1サンプリング期間検出部20と、フィルタ係数の組
を記憶するバッファ回路21(バッファ)とを有してい
る。
That is, the sound quality correcting device according to the second embodiment is supplied through an input terminal 1 in addition to the configuration of the sound quality correcting device according to the first embodiment as shown in FIG. A one-sampling-period detection unit 20 that detects one sampling period of the extracted audio data, and a buffer circuit 21 (buffer) that stores a set of filter coefficients.

【0070】このような音質補正装置は、評価部14
が、フィルタ演算部10により仮決定されたフィルタ係
数の組をそのままバッファ21に供給するように選択ス
イッチ15をオン制御すると共に、この仮決定されたフ
ィルタ係数の組が係数変更部11で調整された場合で
も、その調整毎にフィルタ係数の組をバッファ21に供
給するように選択スイッチ15をオン制御する。
Such a sound quality correction device is provided by the evaluation unit 14
However, the selection switch 15 is turned on so that the set of filter coefficients provisionally determined by the filter operation unit 10 is supplied to the buffer 21 as it is, and the set of filter coefficients temporarily determined is adjusted by the coefficient change unit 11. In this case, the selection switch 15 is turned on so that a set of filter coefficients is supplied to the buffer 21 for each adjustment.

【0071】一方、1サンプリング期間検出部20は、
入力端子1を介して供給された音声データの1サンプリ
ング期間を検出し、この検出出力をバッファ21に供給
する。
On the other hand, one sampling period detecting section 20
One sampling period of the audio data supplied via the input terminal 1 is detected, and this detection output is supplied to the buffer 21.

【0072】バッファ21は、まず、仮決定されたフィ
ルタ係数の組を記憶するが、係数変更部11でこの仮決
定されたフィルタ係数の組の調整がなされると、1サン
プリング期間検出部20からの検出出力をトリガにし
て、現在記憶している仮決定されたフィルタ係数の組
を、調整がなされた新たなフィルタ係数の組に、1サン
プリング期間内に同時に記憶し直す(更新する)。
The buffer 21 first stores the tentatively determined set of filter coefficients. When the tentatively determined set of filter coefficients is adjusted by the coefficient changing unit 11, the one sampling period detecting unit 20 , The currently stored tentatively determined set of filter coefficients is simultaneously re-stored (updated) within one sampling period with the new set of adjusted filter coefficients.

【0073】バッファ21は、前記調整により最終的な
フィルタ係数の組が形成するまでこのような更新動作を
行い、最終的に調整されたフィルタ係数の組を記憶する
と、このフィルタ係数の組を、1サンプリング期間検出
部20からの検出出力に基づいて、1サンプリング期間
毎にDSP3の音質補正回路16に供給する。
The buffer 21 performs such an updating operation until a final set of filter coefficients is formed by the above-described adjustment, and stores the finally adjusted set of filter coefficients. Based on the detection output from the one sampling period detection unit 20, the signal is supplied to the sound quality correction circuit 16 of the DSP 3 every one sampling period.

【0074】これにより、実時間でフィルタ係数の組の
変更(調整)を行うことを可能とすることができる他、
上述の第1の実施の形態に係る音質補正装置と同じ効果
を得ることができる。
As a result, it is possible to change (adjust) the set of filter coefficients in real time.
The same effects as those of the sound quality correction device according to the first embodiment can be obtained.

【0075】次に、本発明の第3の実施の形態に係る音
質補正装置の説明をする。
Next, a sound quality correcting device according to a third embodiment of the present invention will be described.

【0076】なお、この第3の実施の形態に係る音質補
正装置の説明において、上述の第2の実施の形態に係る
音質補正装置と同じ動作を示す箇所には同符号を付し、
重複説明を避けることとする。
In the description of the sound quality correcting apparatus according to the third embodiment, the same reference numerals are given to the parts which exhibit the same operations as those of the sound quality correcting apparatus according to the second embodiment.
Duplicate explanations will be avoided.

【0077】すなわち、この第3の実施の形態に係る音
質補正装置は、図5に示すように上述の第2の実施の形
態に係る音質補正装置の構成に加え、入力端子1を介し
て供給された音声データがゼロレベルとなるタイミング
(ゼロクロスポイント)を検出し、この検出出力をバッ
ファ21に供給するゼロクロス判定部22を有してい
る。
That is, the sound quality correcting device according to the third embodiment is supplied through an input terminal 1 in addition to the configuration of the sound quality correcting device according to the second embodiment as shown in FIG. It has a zero-crossing determination unit 22 that detects a timing (zero-crossing point) at which the obtained audio data becomes a zero level and supplies the detection output to the buffer 21.

【0078】このような音質補正装置は、前述のように
バッファ21に記憶されたフィルタ係数の組が、1サン
プリング期間内に同時に変更され、最終的に調整された
フィルタ係数の組が記憶されると、このフィルタ係数の
組を、バッファ21が、ゼロクロス判定部22からの検
出出力に基づいて、入力された音声データがゼロクロス
するタイミングでDSP3の音質補正回路16に供給す
る。
In such a sound quality correcting device, as described above, the set of filter coefficients stored in the buffer 21 is simultaneously changed within one sampling period, and the finally adjusted set of filter coefficients is stored. The buffer 21 supplies the set of filter coefficients to the sound quality correction circuit 16 of the DSP 3 at the timing when the input audio data crosses zero based on the detection output from the zero cross determination unit 22.

【0079】これにより、音質補正回路16におけるフ
ィルタ係数の変更に伴う出力音声データの変化を少なく
することができ、より自然かつ良好なフィルタリング処
理を可能とすることができる他、上述の第1,第2の実
施の形態に係る音質補正装置と同じ効果を得ることがで
きる。
As a result, it is possible to reduce the change in the output audio data due to the change in the filter coefficient in the sound quality correction circuit 16, to enable a more natural and favorable filtering process, and to perform the above-described first and second filtering processes. The same effect as that of the sound quality correction device according to the second embodiment can be obtained.

【0080】なお、上述の各実施の形態は本発明のほん
の一例であり、この他、本発明に係る技術的思想を逸脱
しない範囲であれば設計等に応じて種々の変更が可能で
あることは勿論である。
The above embodiments are merely examples of the present invention, and various changes can be made according to the design and the like within a range not departing from the technical idea of the present invention. Of course.

【0081】[0081]

【発明の効果】本発明に係る音質補正装置は、フィルタ
係数記憶手段に記憶しておくフィルタ係数を削減するこ
とができる。このため、フィルタ係数記憶手段として少
容量のものを用いることを可能とすることができ、これ
による当該音質補正装置のローコスト化を図ることがで
きる。
The sound quality correcting apparatus according to the present invention can reduce the filter coefficients stored in the filter coefficient storage means. For this reason, it is possible to use a small-capacity filter coefficient storage means, thereby reducing the cost of the sound quality correction device.

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

【図1】本発明に係る音質補正装置の第1の実施の形態
の要部のブロック図である。
FIG. 1 is a block diagram of a main part of a sound quality correction device according to a first embodiment of the present invention.

【図2】前記第1の実施の形態に係る音質補正装置のブ
ロック図である。
FIG. 2 is a block diagram of a sound quality correction device according to the first embodiment.

【図3】前記第1の実施の形態に係る音質補正装置の音
質補正動作を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining a sound quality correction operation of the sound quality correction device according to the first embodiment.

【図4】本発明に係る音質補正装置の第2の実施の形態
の要部のブロック図である。
FIG. 4 is a block diagram of a main part of a second embodiment of the sound quality correction apparatus according to the present invention.

【図5】本発明に係る音質補正装置の第3の実施の形態
の要部のブロック図である。
FIG. 5 is a block diagram of a main part of a third embodiment of the sound quality correction apparatus according to the present invention.

【図6】2次IIRフィルタを多段接続して形成したグ
ラフィックイコライザを示すブロック図である。
FIG. 6 is a block diagram showing a graphic equalizer formed by connecting secondary IIR filters in multiple stages.

【図7】前記グラフィックイコライザの信号処理のアル
ゴリズムを示すシグナルフローチャートである。
FIG. 7 is a signal flowchart showing an algorithm of signal processing of the graphic equalizer.

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

1…入力端子,2…出力端子,3…DSP(デジタルシ
グナルプロセッサ) 4…マイコン(マイクロコンピュータ),10…フィル
タ演算部 11…係数変更部,12…評価項目メモリ,13…切換
えスイッチ 14…評価部,15…選択スイッチ,16…音質補正回
路 20…1サンプリング期間検出部,21…バッファ,2
2…ゼロクロス判定部
DESCRIPTION OF SYMBOLS 1 ... Input terminal, 2 ... Output terminal, 3 ... DSP (digital signal processor) 4 ... Microcomputer (microcomputer), 10 ... Filter operation part 11 ... Coefficient change part, 12 ... Evaluation item memory, 13 ... Changeover switch 14 ... Evaluation Unit, 15 selection switch, 16 sound quality correction circuit 20 sampling period detection unit, 21 buffer, 2
2… Zero cross judgment section

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 所定の入力パラメータに応じて、音声情
報のフィルタリング処理に用いられるフィルタ係数の組
を演算により求めるフィルタ演算手段と、 前記フィルタ演算手段により求められたフィルタ係数の
組が、前記所定の入力パラメータに応じた音質を得るの
に適性なものであるか不適性なものであるかを評価する
評価手段と、 前記評価手段により不適性の評価がなされた場合、前記
所定の入力パラメータに応じた音質が得られるように、
前記フィルタ演算手段により求められた組の各フィルタ
係数を調整するフィルタ係数調整手段と、 前記評価手段により適性の評価がなされた場合は、前記
フィルタ演算手段により求められたフィルタ係数の組を
用いて、外部から供給される音声情報をフィルタリング
処理して出力し、前記評価手段により不適性の評価がな
された場合は、前記フィルタ係数調整手段により調整さ
れたフィルタ係数の組を用いて、外部から供給される音
声情報をフィルタリング処理して出力するフィルタ手段
とを有する音質補正装置。
1. A filter calculating means for calculating a set of filter coefficients used for filtering audio information in accordance with a predetermined input parameter, and a set of filter coefficients obtained by the filter calculating means is set to the predetermined value. Evaluation means for evaluating whether the sound quality is appropriate or unsuitable for obtaining the sound quality according to the input parameter of the input parameter, when the evaluation of the inappropriateness is performed by the evaluation means, the predetermined input parameter In order to obtain the appropriate sound quality,
A filter coefficient adjusting unit that adjusts each filter coefficient of the set obtained by the filter operation unit; and if the evaluation unit evaluates aptitude, the filter coefficient set obtained by the filter operation unit is used. The audio information supplied from outside is filtered and output, and when the inappropriateness is evaluated by the evaluation means, the audio information is supplied from outside using the set of filter coefficients adjusted by the filter coefficient adjustment means. Filter means for filtering and outputting the processed audio information.
【請求項2】 前記フィルタ手段は、グラフィックイコ
ライザであることを特徴とする請求項1記載の音質補正
装置。
2. The sound quality correcting device according to claim 1, wherein said filter means is a graphic equalizer.
【請求項3】 前記所定の入力パラメータは、所望の周
波数ゲイン特性、及び/又は、所望の中心周波数の値、
及び/又は、所望の中心周波数のレベル、及び/又は、
所望の周波数尖鋭度であり、 前記評価手段は、前記所望の周波数ゲイン特性のずれ
量、及び/又は、所望の中心周波数の値からのずれ量、
及び/又は、所望の中心周波数のレベルからのずれ量、
及び/又は、所望の周波数尖鋭度からのずれ量に基づい
て、前記フィルタ演算手段により求められたフィルタ係
数の組の評価を行うことを特徴とする請求項2記載の音
質補正装置。
3. The predetermined input parameter may include a desired frequency gain characteristic and / or a desired center frequency value,
And / or the level of the desired center frequency, and / or
A desired frequency sharpness, and the evaluation means includes a deviation amount of the desired frequency gain characteristic and / or a deviation amount from a desired center frequency value,
And / or the amount of deviation from the desired center frequency level,
3. The sound quality correction device according to claim 2, wherein a set of filter coefficients obtained by said filter calculation means is evaluated based on a deviation amount from a desired frequency sharpness.
【請求項4】 前記フィルタ手段は、トーンコントロー
ラであることを特徴とする請求項1記載の音質補正装
置。
4. The sound quality correction device according to claim 1, wherein said filter means is a tone controller.
【請求項5】 前記所定の入力パラメータは、所望の周
波数特性の平坦な部分のレベル、及び/又は、所望の遮
断周波数であり、 前記評価手段は、所望の周波数特性の平坦な部分のレベ
ルからのずれ量、及び/又は、所望の遮断周波数からの
ずれ量に基づいて、前記フィルタ演算手段により求めら
れたフィルタ係数の組の評価を行うことを特徴とする請
求項4記載の音質補正装置。
5. The predetermined input parameter is a level of a flat part of a desired frequency characteristic and / or a desired cutoff frequency, and the evaluation unit determines a level of the flat part of the desired frequency characteristic from the level of the flat part of the desired frequency characteristic. 5. The sound quality correction apparatus according to claim 4, wherein a set of filter coefficients obtained by said filter calculation means is evaluated based on a shift amount of the filter coefficient and / or a shift amount from a desired cutoff frequency.
【請求項6】 前記フィルタ係数調整手段は、前記音声
情報の1サンプリング期間内に各フィルタ係数の調整を
行うことを特徴とする請求項1乃至請求項5のいずれか
1項記載の音質補正装置。
6. The sound quality correcting apparatus according to claim 1, wherein said filter coefficient adjusting means adjusts each filter coefficient within one sampling period of said audio information. .
【請求項7】 前記フィルタ係数調整手段は、外部から
供給される音声情報のレベルがゼロクロスするタイミン
グで各フィルタ係数の調整を行うことを特徴とする請求
項1乃至請求項6のいずれか1項記載の音質補正装置。
7. The filter coefficient adjustment unit according to claim 1, wherein the filter coefficient adjustment unit adjusts each filter coefficient at a timing when a level of audio information supplied from the outside crosses zero. The sound quality correction device as described.
JP5652697A 1997-03-11 1997-03-11 Sound quality correction device Pending JPH10256857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5652697A JPH10256857A (en) 1997-03-11 1997-03-11 Sound quality correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5652697A JPH10256857A (en) 1997-03-11 1997-03-11 Sound quality correction device

Publications (1)

Publication Number Publication Date
JPH10256857A true JPH10256857A (en) 1998-09-25

Family

ID=13029562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5652697A Pending JPH10256857A (en) 1997-03-11 1997-03-11 Sound quality correction device

Country Status (1)

Country Link
JP (1) JPH10256857A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085923A (en) * 2006-09-28 2008-04-10 Yamaha Corp Digital filter
WO2008090822A1 (en) 2007-01-23 2008-07-31 Ishida Co., Ltd. Noise removing device, weight measuring device, noise removing method, and digital filter designing method
JP2010521107A (en) * 2007-03-09 2010-06-17 エスアールエス・ラブス・インコーポレーテッド Frequency warp audio equalizer
US7844452B2 (en) 2008-05-30 2010-11-30 Kabushiki Kaisha Toshiba Sound quality control apparatus, sound quality control method, and sound quality control program
US7856354B2 (en) 2008-05-30 2010-12-21 Kabushiki Kaisha Toshiba Voice/music determining apparatus, voice/music determination method, and voice/music determination program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085923A (en) * 2006-09-28 2008-04-10 Yamaha Corp Digital filter
WO2008090822A1 (en) 2007-01-23 2008-07-31 Ishida Co., Ltd. Noise removing device, weight measuring device, noise removing method, and digital filter designing method
EP2012429A1 (en) * 2007-01-23 2009-01-07 Ishida Co., Ltd. Noise removing device, weight measuring device, noise removing method, and digital filter designing method
EP2012429A4 (en) * 2007-01-23 2013-06-19 Ishida Seisakusho Noise removing device, weight measuring device, noise removing method, and digital filter designing method
JP2010521107A (en) * 2007-03-09 2010-06-17 エスアールエス・ラブス・インコーポレーテッド Frequency warp audio equalizer
US8428276B2 (en) 2007-03-09 2013-04-23 Dts Llc Frequency-warped audio equalizer
US7844452B2 (en) 2008-05-30 2010-11-30 Kabushiki Kaisha Toshiba Sound quality control apparatus, sound quality control method, and sound quality control program
US7856354B2 (en) 2008-05-30 2010-12-21 Kabushiki Kaisha Toshiba Voice/music determining apparatus, voice/music determination method, and voice/music determination program

Similar Documents

Publication Publication Date Title
US8583717B2 (en) Signal processing circuit
WO1993011647A1 (en) Device for correcting frequency characteristic of sound field
US6219392B1 (en) Filter device and method of acquiring filter coefficients
JPH10256857A (en) Sound quality correction device
JP2007537630A (en) Digital filter design system and method
EP0571635B1 (en) Frequency characteristic compensation apparatus
EP0422809B1 (en) Adaptive apparatus
JPH0895577A (en) Noise controller
JP2953851B2 (en) Reverberation device
JP3340763B2 (en) Apparatus and method for controlling equalizer characteristics in sound field correction
JPS58202619A (en) Digital filter device
JP4901416B2 (en) Digital filter device
JP2011109283A (en) Digital filter
JP2517702B2 (en) Equalizer device
JPH0611631Y2 (en) Digital equalizer
JP5703944B2 (en) Equalizer, equalizer adjustment method, and program
JPH0527804A (en) Optimum process controller
JP2003227854A (en) Frequency estimation device and frequency estimation method
JP4706189B2 (en) Digital filter coefficient adjustment circuit
SU1319295A1 (en) Adaptive correlator
TW202249424A (en) Adaptive filter and control method thereof
JPH06222779A (en) Noise controller
JPH11122065A (en) Automatic equalizer of dsp constitution
JP2001203551A (en) Equalizer and adjustment method for equalizer
JPH02250421A (en) Filter coefficient revision system for digital filter