JPH0223050B2 - - Google Patents
Info
- Publication number
- JPH0223050B2 JPH0223050B2 JP56120494A JP12049481A JPH0223050B2 JP H0223050 B2 JPH0223050 B2 JP H0223050B2 JP 56120494 A JP56120494 A JP 56120494A JP 12049481 A JP12049481 A JP 12049481A JP H0223050 B2 JPH0223050 B2 JP H0223050B2
- Authority
- JP
- Japan
- Prior art keywords
- filter
- frequency
- cosω
- scale
- characteristic
- 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.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/02—Frequency selective networks
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Filters That Use Time-Delay Elements (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Description
【発明の詳細な説明】
この発明は任意の周波数(振幅)特性を非直線
周波数目盛上で近似できるデイジタルフイルタに
関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital filter that can approximate arbitrary frequency (amplitude) characteristics on a non-linear frequency scale.
従来、デイジタルフイルタの周波数特性を所望
の特性に近似する方法として直線位相有限インパ
ルス応答フイルタによる設計法やジヨンソンの方
法などが知られている。 Conventionally, methods for approximating the frequency characteristics of a digital filter to desired characteristics include a design method using a linear phase finite impulse response filter, Johnson's method, and the like.
しかしながら、これらの方法で得られるデイジ
タルフイルタはいずれも周波数特性を直線的な周
波数目盛上で近似するものであつた。 However, the digital filters obtained by these methods all approximate the frequency characteristics on a linear frequency scale.
ところで、最近、デイジタルフイルタの応用例
として音声や楽器音などの合成に用いられている
が、このような合成に際して良質の合成音を得る
ためには、人間の聴覚の特性に合つたメル
(MEL)尺度のような非直線周波数目盛上で所望
のスペクトルをよく近似できるものを利用するこ
とが望ましい。 Incidentally, recently, digital filters have been used to synthesize voices and musical instrument sounds, but in order to obtain high-quality synthesized sounds during such synthesis, it is necessary to use MEL, which is suitable for the characteristics of human hearing. ) It is desirable to use a scale that can closely approximate the desired spectrum on a non-linear frequency scale.
この発明は上記事情に鑑みてなされたもので、
所望の周波数(振幅)特性をメル尺度のような非
直線周波数目盛上で近似することができるデイジ
タルフイルタを提供することを目的とする。 This invention was made in view of the above circumstances,
It is an object of the present invention to provide a digital filter that can approximate desired frequency (amplitude) characteristics on a non-linear frequency scale such as the Mel scale.
以下、この発明の一実施例を図面に従い説明す
る。 An embodiment of the present invention will be described below with reference to the drawings.
まず、非直線周波数目盛上の特性近似法につい
て述べる。いま実現しようとするデイジタルフイ
ルタの伝達関数H(z)が適当な全域フイルタの
伝達関数HA(z)の多項式で、
H(Z)=Ho(ω)=M
〓m=0
gnωm ……(1)
ω=HA(z) ……(2)
のように与えられるものとする。 First, a method of approximating characteristics on a nonlinear frequency scale will be described. The transfer function H(z) of the digital filter that we are trying to realize now is a polynomial of the transfer function H A (z) of a suitable all-range filter, H(Z)=Ho(ω)= M 〓 m=0 g n ω m ...(1) ω=H A (z) ...(2) It is assumed that it is given as follows.
この全域通過のフイルタの周波数特性HA(ej〓)
〔但し、Ω=ω△t、ωは角周波数、△tはデイ
ジタルフイルタの単位遅延時間〕は
HA(ej〓)=e-j〓 ……(3)
Ω^=α(Ω)=−argHA(ej〓) ……(4)
である。 The frequency characteristic of this all-pass filter H A (e j 〓) [where Ω=ω△t, ω is the angular frequency, and △t is the unit delay time of the digital filter] is H A (e j 〓) = e - j 〓 ……(3) Ω^=α(Ω)=−argH A (e j 〓) ……(4).
したがつて、求めるフイルタの周波数特性H
(ej〓)は
H(ej〓)=HO(HA(ej〓))
=HO(e-j〓)
=M
〓m=0
gne-jm〓 ……(5)
となる。 Therefore, the desired frequency characteristic H of the filter is
(e j 〓) is H (e j 〓) = H O (H A (e j 〓)) = H O (e -j 〓) = M 〓 m=0 g n e -jm 〓 ……(5) becomes.
また、多項式HO(ω)の係数gnは非直線周波数
Ω^において与えられた希望周波数(振幅)特性G
(Ω^)を式(5)の値で近似できるものを選ぶ。 Also, the coefficient g n of the polynomial H O (ω) is the desired frequency (amplitude) characteristic G given at the nonlinear frequency Ω^
Choose one that can approximate (Ω^) with the value of equation (5).
このとき求めるデイジタルフイルタは第1図の
ように構成される。すなわち第1図中HA(z)は
全域通過フイルタ、gnは係数回路、ADは加算回
路である。 The digital filter obtained at this time is constructed as shown in FIG. That is, in FIG. 1, H A (z) is an all-pass filter, g n is a coefficient circuit, and AD is an adder circuit.
しかして、いま全域通過フイルタとして伝達関
数HA(z)が
HA(z)=z-1−a/1−az-1(a=0.375)……(6
)
で与えられるものと考えると
HA(z)=e-j〓−a/1−ae-j〓=cosΩ−j si
nΩ−a/1−a cosΩ+ja sinΩ
=(cosΩ−a)(1−a cosΩ)−a sin2Ω
−j〔cosΩ(cosΩ−a)+sin(1−a cosΩ)〕/
(1−a cosΩ)2+a2sin2Ω……(7)
となる。しかるに上式の偏角は
Ω^=tan-1a sinΩ(cosΩ−a)+sinΩ(1−
a cosΩ)/(cosΩ−a)(1−a cosΩ)−a s
in2Ω=tan-1(1−a2)sinΩ/(1+a2)cosΩ−2a…
…(8)
となり、これはフイルタの位相特性としてメル尺
度とよく近似することができる。 Now, the transfer function H A (z) as an all-pass filter is H A (z)=z -1 -a/1-az -1 (a=0.375)...(6
), H A (z)=e -j 〓−a/1−ae -j 〓=cosΩ−j si
nΩ-a/1-a cosΩ+ja sinΩ = (cosΩ-a) (1-a cosΩ)-a sin 2 Ω
-j[cosΩ(cosΩ-a)+sin(1-a cosΩ)]/
(1-a cosΩ) 2 +a 2 sin 2 Ω...(7) However, the argument angle in the above equation is Ω^=tan -1 a sinΩ(cosΩ-a)+sinΩ(1-
a cosΩ)/(cosΩ-a) (1-a cosΩ)-a s
in 2 Ω=tan -1 (1−a 2 )sinΩ/(1+a 2 )cosΩ−2a…
...(8), which can be well approximated to the Mel scale as the phase characteristic of the filter.
ちなみに(8)式を図示すると第2図中実線で示す
ようになり、これは破線に示すメル尺度と極めて
よく近似している。 Incidentally, when formula (8) is illustrated, it is shown as a solid line in Figure 2, which closely approximates the Mel scale shown as a broken line.
ところで、メル周波数目盛上の希望振幅特性G
(Ω^)のフーリエ係数
gn=1/2π∫〓-〓G(Ω^)ejm〓dΩ^ ……(9)
によつて、フイルタの伝達関数H(z)が
H(Z)=Ho(ω)=2M
〓m=0
gn-Mωm ……(10)
ω=HA(z) ……(11)
で与えられるものとする。 By the way, the desired amplitude characteristic G on the Mel frequency scale
(Ω^) Fourier coefficient g n = 1/2π∫〓 - 〓G(Ω^)e jm 〓dΩ^ ...(9) According to, the transfer function H(z) of the filter becomes H(Z)= Ho(ω)= 2M 〓 m=0 g nM ω m ……(10) ω=H A (z) ……(11) It is assumed that it is given by.
このフイルタの周波数特性H(ej〓)は
H(ej〓)=2M
〓m=0
gn-M(HA(ej〓))m
=2M
〓m=0
gn-Me-jm〓
=e-jM〓M
〓m=-M
gne-jm〓 ……(12)
となる。ここで
M
〓m=-M
はgne-j〓はG(Ω^)のフーリエ級数のM次
部分和であり、その値が特定の区間で負の値をと
る場合でも負をとる区間はわずかで値も小さいの
で振幅特性|H(ej〓)|はG(Ω^)を2乗平均誤差
最小の意味で最良に近似するものは極めて近い。 The frequency characteristic H (e j 〓) of this filter is H (e j 〓) = 2M 〓 m=0 g nM (H A (e j 〓)) m = 2M 〓 m=0 g nM e -jm 〓 =e -jM 〓 M 〓 m=-M g n e -jm 〓 ……(12). Here, M 〓 m=-M is g n e -j 〓 is the M-order partial sum of the Fourier series of G (Ω^), and even if the value takes a negative value in a specific interval, it is a negative interval. is small and has a small value, so the amplitude characteristic |H(e j 〓)| is extremely close to the one that best approximates G(Ω^) in the sense of minimizing the root mean square error.
したがつて、メル周波数目盛上の振幅特性G
(Ω^)を2乗平均誤差最小の意味でほぼ最良に近
似するフイルタとして伝達関数H(z)が(9)(10)(11)
式で与えられるものを考えることができる。 Therefore, the amplitude characteristic G on the Mel frequency scale
The transfer function H(z) is (9)(10)(11) as a filter that best approximates (Ω^) in the sense of minimizing the root mean square error.
You can consider what is given by the formula.
しかして、このようにすれば所望の周波数特性
をメル尺度のような非直線周波数目盛上で近似す
ることができるので、音声や楽器音などの合成に
際して人間の聴覚の特性に合つた良質の合成音を
得ることができる。 In this way, the desired frequency characteristics can be approximated on a non-linear frequency scale such as the Mel scale, so when synthesizing voices, musical instruments, etc., high-quality synthesis that matches the characteristics of human hearing can be achieved. You can get the sound.
第1図はこの発明の一実施例を示す概略的構成
図、第2図は同実施例を説明するための特性図で
ある。
HA(z)…全域通過フイルタ、gn…係数回路、
AD…加算回路。
FIG. 1 is a schematic configuration diagram showing an embodiment of the present invention, and FIG. 2 is a characteristic diagram for explaining the embodiment. H A (z)...All-pass filter, g n ...Coefficient circuit,
A D …Addition circuit.
Claims (1)
ぞれ同一の全域通過形フイルタで置き換え、 メル周波数目盛上の希望振幅特性G(Ω^)のフ
ーリエ係数 gn=1/2π∫〓-〓G(Ω^)ejm〓dΩ^ によつてフイルタの伝達関係H(z)が H(Z)=Ho(ω)=2M 〓m=0 gn-Mωm ω=HA(z) で与えられるようにし、任意の周波数(振幅)特
性を非直線周波数目盛上で近似可能にしたことを
特徴とするデイジタルフイルタ。[Claims] 1. Replace the plurality of delay elements of the non-recursive filter with the same all-pass filter, and set the Fourier coefficient g n = 1/2π of the desired amplitude characteristic G (Ω^) on the Mel frequency scale. ∫〓 - 〓G(Ω^)e jm 〓dΩ^, the filter transmission relation H(z) is H(Z)=Ho(ω)= 2M 〓 m=0 g nM ω m ω=H A ( z), and is characterized in that it is possible to approximate arbitrary frequency (amplitude) characteristics on a non-linear frequency scale.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12049481A JPS5821915A (en) | 1981-07-31 | 1981-07-31 | Digital filter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12049481A JPS5821915A (en) | 1981-07-31 | 1981-07-31 | Digital filter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5821915A JPS5821915A (en) | 1983-02-09 |
| JPH0223050B2 true JPH0223050B2 (en) | 1990-05-22 |
Family
ID=14787579
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12049481A Granted JPS5821915A (en) | 1981-07-31 | 1981-07-31 | Digital filter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5821915A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59148594A (en) * | 1983-02-12 | 1984-08-25 | Matsushita Electric Ind Co Ltd | vacuum cleaner |
| JPS59148595A (en) * | 1983-02-12 | 1984-08-25 | Matsushita Electric Ind Co Ltd | vacuum cleaner |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS52123152A (en) * | 1976-04-08 | 1977-10-17 | Enuefu Kairo Setsukei Burotsuk | Digital filter |
| JPS539450A (en) * | 1976-07-14 | 1978-01-27 | Nec Corp | Primary digital overall areas passing circuit |
-
1981
- 1981-07-31 JP JP12049481A patent/JPS5821915A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5821915A (en) | 1983-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100312636B1 (en) | Compensation Filter | |
| US5267095A (en) | Digital reconstructing of harmonics to extend band of frequency response | |
| JPS6190514A (en) | Music signal processor | |
| JPH06502023A (en) | Musical sound synthesis method | |
| JP2580774B2 (en) | Music synthesizer | |
| JP3582809B2 (en) | Effect device | |
| EP1463030A2 (en) | Reverberation sound generating apparatus | |
| JPH057130A (en) | Pcm digital audio signal reproduction device | |
| JPH06101683B2 (en) | Digital analog converter | |
| JPH0223050B2 (en) | ||
| JPH0247891B2 (en) | ||
| JPS642243B2 (en) | ||
| JPH0233206B2 (en) | ||
| JPH06266374A (en) | Noise cancellation system | |
| JPS6332196B2 (en) | ||
| JPH0681051B2 (en) | Digital-analog conversion method | |
| JP2757740B2 (en) | Distortion circuit | |
| JP2535808B2 (en) | Sound source waveform generator | |
| JP2655834B2 (en) | Reverberation device | |
| JPH0769702B2 (en) | Music synthesizer | |
| JP2764983B2 (en) | Tone control device for electric musical instruments | |
| JPS6194100A (en) | Voice synthesizer | |
| WO2023170756A1 (en) | Acoustic processing method, acoustic processing system, and program | |
| JPH0620169B2 (en) | Sound field correction equalizer | |
| JPH06141391A (en) | Acoustic reproduction equipment |