[go: up one dir, main page]

JP2004364125A - Acoustic digital filter - Google Patents

Acoustic digital filter Download PDF

Info

Publication number
JP2004364125A
JP2004364125A JP2003162299A JP2003162299A JP2004364125A JP 2004364125 A JP2004364125 A JP 2004364125A JP 2003162299 A JP2003162299 A JP 2003162299A JP 2003162299 A JP2003162299 A JP 2003162299A JP 2004364125 A JP2004364125 A JP 2004364125A
Authority
JP
Japan
Prior art keywords
coefficient
systems
filter
digital filter
digital
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
JP2003162299A
Other languages
Japanese (ja)
Inventor
Yukio Ishikawa
幸男 石川
Hidenori Mitsunaga
英典 満永
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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2003162299A priority Critical patent/JP2004364125A/en
Publication of JP2004364125A publication Critical patent/JP2004364125A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stereophonic System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a coefficient calculation time and a transfer time required for calculation processing as a digital filter in the case of correcting the frequency characteristic of an acoustic signal. <P>SOLUTION: In the case of dividing a frequency band as a channel divider 3, the frequencies to be divided become the same between right and left, and filter coefficients are also the same. The channel divider electrically performs frequency division so as to divide speakers for reproducing sound into a frequency bands, such as into speakers for low-pitched sound and high-pitched sound, or for low-pitched sound, middle-pitched sound and high-pitched sound to respectively drive the speakers with different power amplifiers. Since the speakers and amplifiers to be used are basically similar between right and left, characteristics required as the channel divider 3 become similar between right and left. In other words, when a digital filter is used as the channel divider 3, the same coefficient data is written in a right coefficient memory 4 and a left coefficient memory 5 being coefficient memories for both right and left systems. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、FIR(Finite Impulse Response)フィルタなどを用いて音響特性補正を行う音響用デジタルフィルタ装置に関する。
【0002】
【従来の技術】
従来から、音響再生の際には、電気的な調整によって、音響効果の補正などが行われている。周波数特性などの補正は、積分回路や微分回路、フィルタ回路などのアナログ回路で行われているけれども、近年、DSP(Digital Signal Processor)などを用いて、デジタル演算処理によるものも広く用いられている。音響再生では、通常、左右に分けて立体的な音響再生が行われるので、DSPを用いる場合も、左右に分けて各種の音響信号処理が行われている。デジタルフィルタとしては、FIR型やIIR(Infinite Impulse Response)型のフィルタが利用される。周波数特性などの音響特性の補正では、位相特性が良好なFIR型フィルタが用いられることが多い。
【0003】
本件出願人は、デジタルフィルタ、特にFIRフィルタを用いて、残響音を付加する音響付加装置について開示している(たとえば、特許文献1参照)。特許文献1では、音楽演奏会場の残響音を付加するために、ステレオの左右それぞれでFIR型フィルタによる残響音形成を行う。なお、残響音形成は、複数の区間で順次的に残響音のエネルギを減少させる動作、および各区間内で残響パターンをそれぞれ変化させる動作に分けて行い、残響パターン変化用のFIRフィルタの係数は、左右共通に与えたり、FIRフィルタ自体を左右で共通化して、構成の簡単化を図っている。
【0004】
また、ヘッドホン等を通す再生音場で、スピーカ等からの再生音場と同等な立体的音響効果が得られるように、左右一方からの再生音響信号を、線形予測係数を用いて他方にも付加する線形合成フィルタ処理を、左右に共通な特性に対するものと、固有な特性に対するものとに分けて行い、共通な特性に対する係数は左右同時に与えて演算処理量を削減する先行技術も提案されている(たとえば、特許文献2参照)。
【0005】
【特許文献1】
特開平5−165485号公報
【特許文献2】
特開平9−84199号公報
【0006】
【発明が解決しようとする課題】
FIR型フィルタを用いて音響特性を補正する場合、演算に必要となるFIR係数を設定する必要がある。たとえば補正特性をユーザの好みに合わせて変更するような場合、再度FIR係数を算出して設定する必要がある。FIR型フィルタでは、演算に多くのFIR係数を必要とし、特に低音域での補正を行う場合、16000個以上の係数を設定する必要がある。算出したFIR係数は、フィルタの係数メモリに転送しなければならず、転送にも時間がかかる。たとえば100MIPS相当の演算能力を有するDSPを用いると、2048個の係数の演算に約40ms、係数メモリへの転送に約1msの時間がかかる。前述の16000個以上の係数の転送には、この時間の約8倍の時間、すなわち、約8msの時間がかかる。このため、音楽再生中などに補正特性を変更すると、係数メモリへの転送時間中は、FIR演算途中で係数が変更となり、演算結果が予期せぬものとなったり、ポップ音等の耳障りな異音が発生する。
【0007】
特許文献1や特許文献2には、時間的な残響や空間的な立体感の付加のために左右の音響信号に対するデジタルフィルタ処理に用いる係数を、共通に演算で求めて同時に与えたり、左右のデジタルフィルタ処理自体を共通化する考え方が示されている。しかしながら、いずれも係数の設定を音響再生中に変更することは考えられていない。また、いずれもFIR演算器を削減する目的で、一部のFIRフィルタを共通化し、係数メモリ、データメモリおよび演算器からなるFIR回路の削減を図っている。共通化の結果、係数の演算と転送時間が短くなる効果とを期待することはできる。しかし、左右でFIRフィルタ回路を共通化しても、入出力されるデータ自体は左右で異なるため、演算も左右独立に行う必要があり、演算回数は減らない。さらに、出力を左右で分けなければならないので、処理が複雑化する。また、フィルタ全体として、係数メモリやデータメモリおよび演算器を減少させることができても、フィルタ構成を変更する場合の自由度に制約を受ける。
【0008】
本発明の目的は、音響信号の周波数特性を補正する場合に、デジタルフィルタとしての演算処理に必要な係数の演算時間や転送時間を削減することができる音響用デジタルフィルタ装置を提供することである。
【0009】
【課題を解決するための手段】
本発明は、複数系統の音響信号の周波数特性を、各系統毎にそれぞれ変更するデジタルフィルタとしての演算処理を行うために、各系統毎に設けられ、係数メモリおよびデータメモリを備え、係数メモリに記憶される係数に基づき、データメモリに記憶されるデータに該演算処理を施す演算器を有するフィルタ手段と、該複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、演算結果を該複数系統のフィルタ手段の係数メモリにそれぞれ記憶させる係数演算手段とを含むことを特徴とする音響用デジタルフィルタ装置である。
【0010】
本発明に従えば、音響用デジタルフィルタ装置は、フィルタ手段と、係数演算手段とを含む。フィルタ手段は、複数系統の音響信号の周波数特性を、各系統毎にそれぞれ変更するデジタルフィルタとしての演算処理を行うために、各系統毎に設けられ、係数メモリおよびデータメモリを備え、係数メモリに記憶される係数に基づき、データメモリに記憶されるデータに該演算処理を施す演算器を有する。フィルタ手段は、複数系統の各系統にそれぞれ設けられるので、各系統の音響信号に対するデジタルフィルタとしての演算処理を独立して、簡易に行うことができる。演算手段は、複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、演算結果を該複数系統のフィルタ手段の係数メモリにそれぞれ記憶させるので、係数の演算に必要な時間と転送に必要な時間とを、複数系統で共通化し、短縮を図ることができる。周波数特性の切換えに必要な時間が短縮されるので、切換えの前後の比較も、印象が鮮明なうちに行うことができ、ユーザなどが好ましい周波数特性などに補正しやすくすることができる。
【0011】
また本発明で、前記フィルタ手段は、前記複数系統の各系統毎に複数個設けられ、外部からの設定で、接続状態を変更可能であることを特徴とする。
【0012】
本発明に従えば、複数系統の各系統毎に複数のフィルタ手段が設けられ、各系統毎に、外部からの設定で複数のフィルタ手段間の接続状態を変更可能である。複数のフィルタ手段は、系統間で共通化されることはなく、各系統毎に設けられているので、接続状態の変更に自由度が高く、多様な構成を実現することができる。
【0013】
また本発明は、前記係数メモリへの演算結果の記憶、および前記接続状態の変更を、前記複数系統に対して同時に実行可能であることを特徴とする。
【0014】
本発明に従えば、複数のフィルタ手段に対する係数の設定や接続状態の変更を、複数の系統に対して同時に実行可能であるので、係数や接続状態の変更による周波数特性の変更を、迅速に行うことができる。
【0015】
また本発明で、前記複数系統は、立体的音響再生のための左右の両系統と、周波数帯域分割による周波数帯域別の処理系統とを含み、
前記係数演算手段は、左右の両系統で、同じ周波数帯域の系統に対しては、同一の係数を記憶させることを特徴とする。
【0016】
本発明に従えば、チャネルデバイダなど、周波数帯域分割による周波数帯域別の処理系等を、立体音響再生のための左右の両系統で、同時に変更し、係数演算時間と係数の転送時間とを削減することができる。
【0017】
また本発明で、前記フィルタ手段は、前記デジタル演算処理でFIR型フィルタとして動作することを特徴とする。
【0018】
本発明に従えば、周波数特性の変更に、多くの係数データの演算と転送とが必要なFIR型フィルタを、複数の系統で演算と転送とを共通化し、時間の短縮を図ることができる。
【0019】
【発明の実施の形態】
図1は、本発明の実施の一形態である音響用デジタルフィルタ装置1の基本的な概念を示す。音響用デジタルフィルタ装置1は、左右2チャネルでステレオ再生を行うオーディオ装置で、係数演算部2で演算して求められる係数を使用するデジタルフィルタ処理で、各チャネルを複数の周波数帯域に分割するチャネルデバイダ3として機能する。係数演算部2は、ユーザなどの所望するクロスオーバ周波数で周波数帯域を分割するように、低音部、中音部および高音部などの複数の周波数帯域に分割するための係数データをチャネルデバイダ3に転送する。チャネルデバイダ3では、左右の両チャネルにそれぞれローパスフィルタ、バンドパスフィルタおよびハイパスフィルタを組合わせた帯域分割用フィルタが形成される。フィルタの周波数特性は、係数演算部2で算出されて転送される係数データをRight係数メモリ4とLeft係数メモリ5とにそれぞれ記憶しておき、デジタル演算処理に使用する。
【0020】
音響装置にて、部屋などの特性に合わせて左右の周波数特性を補正するような場合は、音楽データの左右に対してそれぞれ別の補正特性を与える場合が多い。その場合はフィルタ係数も左右で異なるように算出して与えなければならない。チャネルデバイダ3として周波数帯域を分割する場合、その分割すべき周波数は、左右で同一となり、フィルタ係数も同一のものとなる。チャネルデバイダは、音響再生するスピーカを低音用と高温用、または低音用、中音用および高音用など、複数の周波数帯域に分けてそれぞれ別個のパワーアンプで駆動するように、電気的に周波数分割を行う。使用するスピーカやアンプは、左右で基本的に同一のものとなるので、チャネルデバイダ3として要求される特性も、左右同一となる。つまり、デジタルフィルタをチャネルデバイダ3として使用する場合は、左右の両系統の係数メモリであるRight係数メモリ4およびLeft係数メモリ5に、同じ係数データを書込むことになる。
【0021】
図2は、図1の音響用デジタルフィルタ装置1の等価的な電気的構成を示す。左右のチャネルでは、それぞれ複数のRight係数メモリ4a,4b、Left係数メモリ5a,5b、Rightデータメモリ6a,6b、Leftデータメモリ7a,7b、Right演算器8a,8bおよびLeft演算器9a,9bが設けられ、複数段にわたるデジタル演算処理を行う。なお、本実施形態では、各係数メモリ、データメモリおよび演算器の組合せで、FIRフィルタ10を構成している。
【0022】
係数演算部2は、外部から所望の周波数特性などを入力し、対応するFIR係数を演算し、その結果を係数メモリに転送して格納する。データメモリには、処理対象となる音響信号がデジタル変換されて入力される。演算器は、FIRフィルタ10として演算処理を、クロック信号に同期して行う。
【0023】
すなわち、フィルタ手段であるFIRフィルタ10は、左右2チャネルなど、複数系統の音響信号の周波数特性を、各系統毎にそれぞれ変更するデジタルフィルタとしての演算処理を行うために、各系統毎に設けられ、係数メモリ4a,4b;5a,5bおよびデータメモリ6a,6b;7a,7bを備え、係数メモリに4a,4b;5a,5b記憶される係数に基づき、データメモリ6a,6b;7a,7bに記憶されるデータに演算処理を施す演算器8a,8b;9a,9bを有する。係数演算部2は、複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、演算結果をその複数系統のフィルタ手段の係数メモリ4a,4b;5a,5bにそれぞれ記憶させる係数演算手段として機能する。
【0024】
フィルタ手段であるFIRフィルタ10は、複数系統の各系統にそれぞれ設けられるので、各系統の音響信号に対するデジタルフィルタとしての演算処理を独立して、簡易に行うことができる。係数演算手段である係数演算部2は、複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、演算結果を該複数系統のフィルタ手段の係数メモリ4a,4b;5a,5bおよびデータメモリ6a,6b;7a,7bを備え、係数メモリに4a,4b;5a,5bにそれぞれ記憶させるので、係数の演算に必要な時間と転送に必要な時間とを、複数系統で共通化し、短縮を図ることができる。周波数特性の切換えに必要な時間が短縮されるので、切換えの前後の比較も、印象が鮮明なうちに行うことができ、ユーザなどが好ましい周波数特性などに補正しやすくすることができる。
【0025】
図3は、図2のFIRフィルタ10についてのシグナル・フローを示す。フィルタの次数に対応して、複数段の遅延素子11,12,13,…,1nおよび乗算器20,21,22,23,…,2nが設けられる。各乗算器20,21,22,23,…,2nは、係数メモリから与えられる係数A0,A1,A2,A3,…,Anを、入力データ、遅延素子11,12,13,…,1nの出力にそれぞれ乗算し、加算器30で合計値を加算する。次数は、たとえば4000であり、4000の係数A0,A1,A2,A3,…,Anを設定する必要がある。係数A0,A1,A2,A3,…,Anの計算は、所望の周波数特性に、所定の窓関数を掛けた曲線がえられるように連立方程式を立てて行われる。
【0026】
図4は、本発明の実施の他の形態である音響用デジタルフィルタ装置31の概略的な電気的構成を示す。音響用デジタルフィルタ装置31では、CPU32から設定される接続データに基づいて、デジタルフィルタ40を構成する複数のFIRフィルタ41,42,43,44,45,46;51,52,53,54,55,56の接続状態を変更することができる。デジタルフィルタ40は、左右のデジタルフィルタ処理を、FIRフィルタ41,42,43,44,45,46と、FIRフィルタ51,52,53,54,55,56とに分けてそれぞれ行う。ただし、FIRフィルタ41,42,43,44,45,46と、FIRフィルタ51,52,53,54,55,56とに対する係数の設定や接続状態の変更は、左右のチャネルで同時に行い、切換え時間の短縮を図ることができる。
【0027】
図5は、一方のチャネルのFIRフィルタ41,42,43,44,45,46について、接続状態を変更した例を示す。他のチャネルのFIRフィルタ51,52,53,54,55,56についても同様である。外部からのデータ入力バスとFIRフィルタ41,42,43,44,45,46の出力を1つのバスにまとめ、そのバスを全てのFIRフィルタ41,42,43,44,45,46の入力とする。各FIRフィルタ41,42,43,44,45,46の入力部分には、それらのバスの中から1つの信号をデータメモリに格納するように選択するマルチプレクサ部を設ける。CPU32などの外部からのレジスタ設定等により、それぞれのマルチプレクサのセレクト信号を任意の値に設定し、FIRフィルタ41,42,43,44,45,46の縦列や並列接続を可能とする。このような自由な接続は、FIRフィルタ41,42,43,44,45,46;51,52,53,54,55,56を左右に分けて設けることによって可能となる。
【0028】
このようにフィルタ手段であるFIRフィルタ41,42,43,44,45,46;51,52,53,54,55,56は、複数系統の各系統毎に複数個設けられ、外部からの設定で、接続状態を変更可能である。複数のFIRフィルタ41,42,43,44,45,46;51,52,53,54,55,56は、系統間で共通化されることはなく、各系統毎に設けられているので、接続状態の変更に自由度が高く、多様な構成を実現することができる。複数のFIRフィルタ41,42,43,44,45,46;51,52,53,54,55,56を縦列や並列にフレキシブルに接続することによって、様々なTAP長を持つFIR型フィルタを実現することができる。
【0029】
図6は、本発明の実施のさらに他の形態である音響用デジタルフィルタ装置61の概略的な構成を示す。本実施形態では、各フィルタ手段の係数メモリ71,72,73,74,85,76,77,78に係数演算部2で演算して求める係数を同時に格納するか否かを、スイッチ81,82,83,84,85,86,87,88のON/OFFで個別に設定可能となる。各係数メモリ71,72,73,74,85,76,77,78は、それぞれFIRフィルタに備えられ、図4の実施形態と同様に、接続状態は自由に変更可能である。多様な構成のFIR型フィルタを実現し、可能な場合は共通化した係数を同時に設定することによって、構成の変更に要する時間を短縮することができる。
【0030】
なお、以上で説明している実施の各形態では、デジタルフィルタとしてFIR型フィルタを使用しているけれども、IIR型フィルタを使用する場合も本発明を同様に適用することができる。
【0031】
【発明の効果】
以上のように本発明によれば、複数系統の音響信号の周波数特性を、各系統毎にそれぞれ変更するデジタルフィルタとしての演算処理を行うためのフィルタ手段を各系統毎に設け、各系統の音響信号に対するデジタルフィルタとしての演算処理を独立して、簡易に行うことができる。複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、係数の演算に必要な時間と転送に必要な時間とを、複数系統で共通化し、短縮を図ることができる。周波数特性の切換えに必要な時間が短縮されるので、切換えの前後の比較も、印象が鮮明なうちに行うことができ、ユーザなどが好ましい周波数特性などに補正しやすくすることができる。
【0032】
また本発明によれば、複数系統の各系統毎に複数のフィルタ手段が設けられ、系統間で共通化されることはなく、各系統毎に設けられているので、接続状態の変更の自由度を高くすることができる。
【0033】
また本発明によれば、複数のフィルタ手段に対する係数の設定や接続状態の変更を、複数の系統に対して同時に実行して、係数や接続状態の変更による周波数特性の変更を、迅速に行うことができる。
【0034】
また本発明によれば、チャネルデバイダなどの周波数特性を、立体音響再生のための左右の両系統で同時に変更し、係数演算時間と係数の転送時間とを削減することができる。
【0035】
また本発明によれば、FIR型フィルタによる周波数特性の変更に多くの係数データの演算と転送とが必要になっても、複数の系統で共通化し、時間の短縮を図ることができる。
【図面の簡単な説明】
【図1】本発明の実施の一形態である音響用デジタルフィルタ装置1の概要を示すブロック図である。
【図2】図1の音響用デジタルフィルタ装置1の概略的な電気的構成を示すブロック図である。
【図3】図2のFIR型フィルタ10のシグナル・フロー図である。
【図4】本発明の実施の他の形態である音響用デジタルフィルタ装置31の概略的な電気的構成を示すブロック図である。
【図5】図4の音響用デジタルフィルタ装置31のデジタルフィルタ40で、接続状態を変更した例を示すブロック図である。
【図6】本発明の実施のさらに他の形態である音響用デジタルフィルタ装置61の概略的な電気的構成を示すブロック図である。
【符号の説明】
1,31,61 音響用デジタルフィルタ装置
2 係数演算部
3 チャネルデバイダ
4,4a,4b Right係数メモリ
5,5a,5b Left係数メモリ
6a,6b Rightデータメモリ
7a,7b Leftデータメモリ
8a,8b Right演算器
9a,9b Left演算器
10 FIR型フィルタ
11,12,13,…,1n 遅延素子
20,21,22,23,…,2n 乗算器
30 加算器
32 CPU
40 デジタルフィルタ
41,42,43,44,45,46;561,52,53,54,55,56 FIRフィルタ
71,72,73,74,75,76,77,78 係数メモリ
81,82,83,84,85,86,87,88 スイッチ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an acoustic digital filter device that performs acoustic characteristic correction using a FIR (Finite Impulse Response) filter or the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, at the time of sound reproduction, correction of sound effects and the like have been performed by electrical adjustment. Although the correction of the frequency characteristic and the like is performed by an analog circuit such as an integrating circuit, a differentiating circuit, and a filter circuit, in recent years, digital circuit processing using a DSP (Digital Signal Processor) or the like has been widely used. . In sound reproduction, three-dimensional sound reproduction is usually performed separately on the left and right. Therefore, even when a DSP is used, various kinds of sound signal processing are performed on the left and right. As the digital filter, an FIR type or IIR (Infinite Impulse Response) type filter is used. In correcting acoustic characteristics such as frequency characteristics, an FIR filter having good phase characteristics is often used.
[0003]
The present applicant has disclosed a sound adding device that adds a reverberant sound using a digital filter, particularly an FIR filter (for example, see Patent Document 1). In Patent Literature 1, in order to add reverberation sound in a music performance hall, reverberation sound formation is performed by an FIR filter on each of the left and right sides of the stereo. The reverberation is formed in two steps: an operation of sequentially reducing the energy of the reverberation in a plurality of sections, and an operation of changing the reverberation pattern in each section. The coefficient of the FIR filter for changing the reverberation pattern is , And the FIR filter itself is shared between the left and right to simplify the configuration.
[0004]
Also, in the playback sound field through headphones, etc., a playback sound signal from one of the left and right is added to the other using a linear prediction coefficient so that a three-dimensional sound effect equivalent to the playback sound field from a speaker or the like is obtained. Prior art techniques have been proposed in which linear synthesis filter processing is performed separately for the right and left common characteristics and for the unique characteristics, and the coefficients for the common characteristics are simultaneously given to the left and right to reduce the amount of arithmetic processing. (For example, see Patent Document 2).
[0005]
[Patent Document 1]
JP-A-5-165485 [Patent Document 2]
JP-A-9-84199
[Problems to be solved by the invention]
When sound characteristics are corrected using an FIR filter, it is necessary to set FIR coefficients required for calculation. For example, when the correction characteristic is changed according to the user's preference, it is necessary to calculate and set the FIR coefficient again. The FIR filter requires a large number of FIR coefficients for calculation, and in particular, when performing correction in a low-tone range, it is necessary to set 16,000 or more coefficients. The calculated FIR coefficients have to be transferred to the coefficient memory of the filter, and the transfer takes time. For example, if a DSP having an operation capability equivalent to 100 MIPS is used, it takes about 40 ms to calculate 2048 coefficients and about 1 ms to transfer the coefficients to the coefficient memory. The transfer of the above 16,000 or more coefficients takes about eight times this time, that is, about 8 ms. For this reason, if the correction characteristic is changed during music playback, for example, during the transfer time to the coefficient memory, the coefficient is changed during the FIR calculation, and the calculation result becomes unexpected or annoying noise such as pop noise. A sound is generated.
[0007]
Patent Literatures 1 and 2 disclose that a coefficient used for digital filter processing on left and right audio signals to add temporal reverberation and spatial three-dimensionality is obtained by common calculation and given simultaneously, The idea of sharing the digital filter processing itself is shown. However, none of them consider changing the coefficient setting during sound reproduction. In addition, in order to reduce the number of FIR calculators, some FIR filters are shared, and the FIR circuit including the coefficient memory, the data memory, and the calculator is reduced. As a result of the sharing, it is possible to expect the effect of calculating the coefficient and shortening the transfer time. However, even if the FIR filter circuit is shared between the left and right, since the input / output data itself differs between the left and right, it is necessary to perform the calculations independently for the left and right, and the number of calculations does not decrease. Further, since the output must be divided into left and right, processing becomes complicated. Further, even if the number of coefficient memories, data memories, and arithmetic units can be reduced for the entire filter, the degree of freedom in changing the filter configuration is limited.
[0008]
SUMMARY OF THE INVENTION An object of the present invention is to provide a digital filter device for audio which can reduce the operation time and transfer time of coefficients required for arithmetic processing as a digital filter when correcting the frequency characteristics of an audio signal. .
[0009]
[Means for Solving the Problems]
The present invention provides a coefficient filter and a data memory provided for each system to perform arithmetic processing as a digital filter that changes the frequency characteristics of a plurality of systems of acoustic signals for each system, and includes a coefficient memory and a data memory. Based on the stored coefficients, filter means having an arithmetic unit for performing the arithmetic processing on the data stored in the data memory, and coefficients required for digital arithmetic processing performed by the plurality of systems of filter means are commonly operated, And a coefficient calculating means for storing the results in the coefficient memories of the filter means of the plurality of systems, respectively.
[0010]
According to the present invention, the acoustic digital filter device includes a filter unit and a coefficient calculation unit. The filter means is provided for each system to perform arithmetic processing as a digital filter for changing the frequency characteristics of the audio signals of the plurality of systems for each system, and includes a coefficient memory and a data memory. An arithmetic unit for performing the arithmetic processing on the data stored in the data memory based on the stored coefficients; Since the filter means is provided in each of the plurality of systems, the arithmetic processing as a digital filter for the audio signals of each system can be independently and easily performed. The arithmetic means commonly calculates the coefficients required for digital arithmetic processing performed by the plurality of systems of filter means, and stores the arithmetic results in the coefficient memories of the plurality of systems of filter means. The time required for the transfer can be shared by a plurality of systems, and the time can be reduced. Since the time required for switching the frequency characteristics is shortened, the comparison before and after the switching can be performed while the impression is clear, and the user and the like can easily correct the frequency characteristics and the like to be preferable.
[0011]
Further, in the present invention, a plurality of the filter means are provided for each of the plurality of systems, and a connection state can be changed by an external setting.
[0012]
According to the present invention, a plurality of filter means are provided for each of the plurality of systems, and the connection state between the plurality of filter means can be changed for each system by an external setting. The plurality of filter means are not shared among the systems, and are provided for each system, so that there is a high degree of freedom in changing the connection state, and various configurations can be realized.
[0013]
Further, the present invention is characterized in that the storage of the operation result in the coefficient memory and the change of the connection state can be executed simultaneously for the plurality of systems.
[0014]
According to the present invention, it is possible to simultaneously set a coefficient for a plurality of filter means and change a connection state for a plurality of systems, so that a change in a frequency characteristic due to a change in a coefficient or a connection state is quickly performed. be able to.
[0015]
In the present invention, the plurality of systems include both left and right systems for three-dimensional sound reproduction, and a processing system for each frequency band by frequency band division,
The coefficient calculation means stores the same coefficient in the systems of the same frequency band in both the left and right systems.
[0016]
According to the present invention, the processing system for each frequency band by frequency band division, such as a channel divider, is simultaneously changed by both the left and right systems for stereophonic sound reproduction, thereby reducing the coefficient calculation time and the coefficient transfer time. can do.
[0017]
Further, in the present invention, the filter means operates as an FIR filter in the digital operation processing.
[0018]
According to the present invention, it is possible to reduce the time by using a common FIR filter that requires a large number of coefficient data calculations and transfers to change the frequency characteristics, by using a plurality of systems for the calculations and transfers.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a basic concept of an acoustic digital filter device 1 according to an embodiment of the present invention. The acoustic digital filter device 1 is an audio device that performs stereo reproduction with two channels on the left and right. The digital filter process uses a coefficient calculated by the coefficient calculator 2 to divide each channel into a plurality of frequency bands. It functions as the divider 3. The coefficient calculator 2 transmits coefficient data for dividing the frequency band into a plurality of frequency bands such as a bass part, a middle part, and a treble part to the channel divider 3 so as to divide the frequency band at a desired crossover frequency such as a user. Forward. In the channel divider 3, a band dividing filter is formed by combining a low-pass filter, a band-pass filter, and a high-pass filter on both the left and right channels. The frequency characteristics of the filter are stored in the Right coefficient memory 4 and the Left coefficient memory 5, respectively, for the coefficient data calculated and transferred by the coefficient calculation unit 2, and used for digital calculation processing.
[0020]
When an audio device corrects left and right frequency characteristics in accordance with characteristics of a room or the like, different correction characteristics are often given to the left and right of music data in many cases. In that case, the filter coefficients must also be calculated and given differently for the left and right. When dividing the frequency band as the channel divider 3, the frequencies to be divided are the same on the left and right, and the filter coefficients are also the same. The channel divider is electrically frequency-divided so that the speakers that reproduce sound are divided into multiple frequency bands, such as for low and high frequencies, or for low, medium and high frequencies, and driven by separate power amplifiers. I do. Since the left and right speakers and amplifiers are basically the same, the characteristics required for the channel divider 3 are also the same for the left and right. That is, when the digital filter is used as the channel divider 3, the same coefficient data is written to the Right coefficient memory 4 and the Left coefficient memory 5 which are the coefficient memories of the left and right systems.
[0021]
FIG. 2 shows an equivalent electrical configuration of the acoustic digital filter device 1 of FIG. In the left and right channels, a plurality of Right coefficient memories 4a and 4b, Left coefficient memories 5a and 5b, Right data memories 6a and 6b, Left data memories 7a and 7b, Right calculators 8a and 8b, and Left calculators 9a and 9b are provided. It is provided and performs digital arithmetic processing over a plurality of stages. In the present embodiment, the FIR filter 10 is configured by a combination of each coefficient memory, data memory, and arithmetic unit.
[0022]
The coefficient calculation unit 2 inputs a desired frequency characteristic or the like from the outside, calculates a corresponding FIR coefficient, and transfers and stores the result to a coefficient memory. A sound signal to be processed is digitally converted and input to the data memory. The arithmetic unit performs arithmetic processing as the FIR filter 10 in synchronization with a clock signal.
[0023]
That is, the FIR filter 10 as a filter unit is provided for each system in order to perform arithmetic processing as a digital filter that changes the frequency characteristics of a plurality of systems of audio signals, such as left and right two channels, for each system. , Coefficient memories 4a, 4b; 5a, 5b and data memories 6a, 6b; 7a, 7b. Based on the coefficients stored in the coefficient memories 4a, 4b; 5a, 5b, the data memories 6a, 6b; Computing units 8a, 8b; 9a, 9b for performing arithmetic processing on the stored data. The coefficient calculation unit 2 commonly calculates coefficients required for digital calculation processing performed by a plurality of filters, and stores the calculation results in the coefficient memories 4a, 4b; 5a, 5b of the plurality of filters. Functions as arithmetic means.
[0024]
Since the FIR filter 10 serving as a filter unit is provided in each of a plurality of systems, it is possible to independently and easily perform arithmetic processing as a digital filter on the audio signals of each system. The coefficient calculation unit 2 as a coefficient calculation means commonly calculates coefficients required for digital calculation processing performed by a plurality of systems of filter means, and stores calculation results in coefficient memories 4a, 4b; 5a, 5b of the plurality of systems of filter means. And data memories 6a and 6b; 7a and 7b, which are stored in the coefficient memories 4a and 4b; 5a and 5b, respectively, so that the time required for calculating the coefficients and the time required for the transfer can be shared by a plurality of systems. , Can be shortened. Since the time required for switching the frequency characteristics is shortened, the comparison before and after the switching can be performed while the impression is clear, and the user and the like can easily correct the frequency characteristics and the like to be preferable.
[0025]
FIG. 3 shows the signal flow for the FIR filter 10 of FIG. A plurality of stages of delay elements 11, 12, 13,..., 1n and multipliers 20, 21, 22, 23,. Each of the multipliers 20, 21, 22, 23,..., 2n converts the coefficients A0, A1, A2, A3,. The outputs are multiplied, respectively, and the adder 30 adds the total value. The order is, for example, 4000, and 4000 coefficients A0, A1, A2, A3,..., An need to be set. The calculation of the coefficients A0, A1, A2, A3,..., An is performed by establishing simultaneous equations so as to obtain a curve obtained by multiplying a desired frequency characteristic by a predetermined window function.
[0026]
FIG. 4 shows a schematic electrical configuration of an acoustic digital filter device 31 according to another embodiment of the present invention. In the acoustic digital filter device 31, a plurality of FIR filters 41, 42, 43, 44, 45, 46; 51, 52, 53, 54, 55 constituting the digital filter 40 based on connection data set from the CPU 32. , 56 can be changed. The digital filter 40 performs left and right digital filter processing separately on FIR filters 41, 42, 43, 44, 45, 46 and FIR filters 51, 52, 53, 54, 55, 56, respectively. However, the setting of the coefficients for the FIR filters 41, 42, 43, 44, 45, 46 and the FIR filters 51, 52, 53, 54, 55, 56 and the change of the connection state are performed simultaneously on the left and right channels, and are switched. Time can be reduced.
[0027]
FIG. 5 shows an example in which the connection state of the FIR filters 41, 42, 43, 44, 45, and 46 of one channel is changed. The same applies to the FIR filters 51, 52, 53, 54, 55, 56 of the other channels. The data input bus from the outside and the outputs of the FIR filters 41, 42, 43, 44, 45, 46 are combined into one bus, and the bus is connected to the inputs of all the FIR filters 41, 42, 43, 44, 45, 46. I do. A multiplexer section is provided at the input portion of each of the FIR filters 41, 42, 43, 44, 45, 46 so as to select one signal from those buses to be stored in the data memory. The select signal of each multiplexer is set to an arbitrary value by setting a register from the outside of the CPU 32 or the like, so that the FIR filters 41, 42, 43, 44, 45, 46 can be connected in cascade or in parallel. Such a free connection is made possible by providing FIR filters 41, 42, 43, 44, 45, 46; 51, 52, 53, 54, 55, 56 separately on the left and right.
[0028]
As described above, a plurality of FIR filters 41, 42, 43, 44, 45, and 46; 51, 52, 53, 54, 55, and 56 are provided for each of a plurality of systems, and are set from outside. Can change the connection state. The plurality of FIR filters 41, 42, 43, 44, 45, 46; 51, 52, 53, 54, 55, 56 are not shared among the systems, and are provided for each system. The degree of freedom in changing the connection state is high, and various configurations can be realized. FIR filters having various TAP lengths are realized by connecting a plurality of FIR filters 41, 42, 43, 44, 45, 46; 51, 52, 53, 54, 55, 56 in a cascade or in a flexible manner. can do.
[0029]
FIG. 6 shows a schematic configuration of an acoustic digital filter device 61 according to still another embodiment of the present invention. In this embodiment, the switches 81 and 82 determine whether or not the coefficients calculated by the coefficient calculator 2 are simultaneously stored in the coefficient memories 71, 72, 73, 74, 85, 76, 77 and 78 of the respective filter means. , 83, 84, 85, 86, 87, 88 can be individually set by ON / OFF. Each of the coefficient memories 71, 72, 73, 74, 85, 76, 77, 78 is provided in the FIR filter, and the connection state can be freely changed as in the embodiment of FIG. By realizing FIR filters having various configurations and simultaneously setting common coefficients when possible, the time required for changing the configuration can be reduced.
[0030]
In each of the embodiments described above, the FIR filter is used as the digital filter. However, the present invention can be similarly applied to the case where the IIR filter is used.
[0031]
【The invention's effect】
As described above, according to the present invention, filter means for performing arithmetic processing as a digital filter for changing the frequency characteristics of the audio signals of a plurality of systems for each system is provided for each system, Arithmetic processing as a digital filter on a signal can be performed independently and easily. Coefficients required for digital arithmetic processing performed by a plurality of systems of filter means are commonly operated, and the time required for calculating the coefficients and the time required for transfer can be shared by a plurality of systems, thereby shortening the time. Since the time required for switching the frequency characteristics is shortened, the comparison before and after the switching can be performed while the impression is clear, and the user and the like can easily correct the frequency characteristics and the like to be preferable.
[0032]
Further, according to the present invention, a plurality of filter means are provided for each of the plurality of systems and are not shared among the systems, but are provided for each of the systems. Can be higher.
[0033]
Further, according to the present invention, setting of coefficients for a plurality of filter means and change of connection state are simultaneously executed for a plurality of systems, and change of frequency characteristics due to change of coefficients and connection state is quickly performed. Can be.
[0034]
Further, according to the present invention, it is possible to simultaneously change the frequency characteristics of the channel divider and the like in both the left and right systems for stereophonic sound reproduction, thereby reducing the coefficient calculation time and the coefficient transfer time.
[0035]
Further, according to the present invention, even if a large amount of coefficient data needs to be calculated and transferred for changing the frequency characteristic by the FIR filter, it can be shared by a plurality of systems and the time can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an outline of an acoustic digital filter device 1 according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a schematic electric configuration of the acoustic digital filter device 1 of FIG. 1;
FIG. 3 is a signal flow diagram of the FIR type filter 10 of FIG.
FIG. 4 is a block diagram showing a schematic electrical configuration of an acoustic digital filter device 31 according to another embodiment of the present invention.
FIG. 5 is a block diagram showing an example in which the connection state is changed in the digital filter 40 of the acoustic digital filter device 31 in FIG.
FIG. 6 is a block diagram showing a schematic electrical configuration of an acoustic digital filter device 61 according to still another embodiment of the present invention.
[Explanation of symbols]
1, 31, 61 Sound digital filter device 2 Coefficient operation unit 3 Channel divider 4, 4a, 4b Right coefficient memory 5, 5a, 5b Left coefficient memory 6a, 6b Right data memory 7a, 7b Left data memory 8a, 8b Right operation , 9b Left calculator 10 FIR filters 11, 12, 13,..., 1n Delay elements 20, 21, 22, 23,..., 2n Multiplier 30 Adder 32 CPU
40 Digital filters 41, 42, 43, 44, 45, 46; 561, 52, 53, 54, 55, 56 FIR filters 71, 72, 73, 74, 75, 76, 77, 78 Coefficient memories 81, 82, 83 , 84,85,86,87,88 switch

Claims (5)

複数系統の音響信号の周波数特性を、各系統毎にそれぞれ変更するデジタルフィルタとしての演算処理を行うために、各系統毎に設けられ、係数メモリおよびデータメモリを備え、係数メモリに記憶される係数に基づき、データメモリに記憶されるデータに該演算処理を施す演算器を有するフィルタ手段と、
該複数系統のフィルタ手段で施すデジタル演算処理に必要な係数を共通に演算し、演算結果を該複数系統のフィルタ手段の係数メモリにそれぞれ記憶させる係数演算手段とを含むことを特徴とする音響用デジタルフィルタ装置。
In order to perform arithmetic processing as a digital filter for changing the frequency characteristics of a plurality of systems of acoustic signals for each system, a coefficient memory and a data memory are provided for each system, and coefficients stored in the coefficient memory are provided. Filter means having an arithmetic unit for performing the arithmetic processing on the data stored in the data memory based on
A coefficient operation means for commonly operating coefficients required for digital operation processing performed by the plurality of systems of filter means, and for storing the operation results in coefficient memories of the plurality of systems of filter means. Digital filter device.
前記フィルタ手段は、前記複数系統の各系統毎に複数個設けられ、外部からの設定で、接続状態を変更可能であることを特徴とする請求項1記載の音響用デジタルフィルタ装置。2. The acoustic digital filter device according to claim 1, wherein a plurality of said filter means are provided for each of said plurality of systems, and a connection state can be changed by an external setting. 前記係数メモリへの演算結果の記憶、および前記接続状態の変更を、前記複数系統に対して同時に実行可能であることを特徴とする請求項2記載の音響用デジタルフィルタ装置。3. The acoustic digital filter device according to claim 2, wherein the storage of the operation result in the coefficient memory and the change of the connection state can be executed simultaneously for the plurality of systems. 前記複数系統は、立体的音響再生のための左右の両系統と、周波数帯域分割による周波数帯域別の処理系統とを含み、
前記係数演算手段は、左右の両系統で、同じ周波数帯域の系統に対しては、同一の係数を記憶させることを特徴とする請求項1〜3のいずれかに記載の音響用デジタルフィルタ装置。
The plurality of systems include both left and right systems for three-dimensional sound reproduction, and a processing system for each frequency band by frequency band division,
4. The acoustic digital filter device according to claim 1, wherein the coefficient calculation unit stores the same coefficient in a system having the same frequency band in both the left and right systems. 5.
前記フィルタ手段は、前記デジタル演算処理でFIR型フィルタとして動作することを特徴とする請求項1〜4のいずれかに記載の音響用デジタルフィルタ装置。The acoustic digital filter device according to any one of claims 1 to 4, wherein the filter unit operates as an FIR filter in the digital operation processing.
JP2003162299A 2003-06-06 2003-06-06 Acoustic digital filter Withdrawn JP2004364125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003162299A JP2004364125A (en) 2003-06-06 2003-06-06 Acoustic digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003162299A JP2004364125A (en) 2003-06-06 2003-06-06 Acoustic digital filter

Publications (1)

Publication Number Publication Date
JP2004364125A true JP2004364125A (en) 2004-12-24

Family

ID=34054486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003162299A Withdrawn JP2004364125A (en) 2003-06-06 2003-06-06 Acoustic digital filter

Country Status (1)

Country Link
JP (1) JP2004364125A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065232A (en) * 2006-09-11 2008-03-21 Fujitsu Ten Ltd Digital signal processing apparatus
US7953229B2 (en) 2008-12-25 2011-05-31 Kabushiki Kaisha Toshiba Sound processor, sound reproducer, and sound processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065232A (en) * 2006-09-11 2008-03-21 Fujitsu Ten Ltd Digital signal processing apparatus
US7953229B2 (en) 2008-12-25 2011-05-31 Kabushiki Kaisha Toshiba Sound processor, sound reproducer, and sound processing method

Similar Documents

Publication Publication Date Title
JP4726875B2 (en) Audio signal processing method and apparatus
JP4732807B2 (en) Audio signal processing
WO2000024226A1 (en) Surround-sound system
JP3557177B2 (en) Stereophonic device for headphone and audio signal processing program
JPH10271600A (en) Frequency selectivity spatial sense enhancement system
US8817997B2 (en) Stereophonic sound output apparatus and early reflection generation method thereof
JPH10136497A (en) Sound image localizing device
WO1999035886A1 (en) Pseudo-stereophony device
JP2005167381A (en) Digital signal processor, digital signal processing method, and headphone device
JP6737597B2 (en) Audio digital signal processing device and vehicle-mounted audio device and electronic equipment using the same
JP2004364125A (en) Acoustic digital filter
JP2007336080A (en) Sound compensation device
KR20100114334A (en) Directional stereo speaker system
EP2101517B1 (en) Audio processor for converting a mono signal to a stereo signal
WO2007108301A1 (en) Stereophonic sound reproducing apparatus and stereophonic sound reproducing program
JP2010233198A (en) Audio signal processing circuit, filter circuit, and audio system using the filter circuit
JP3368835B2 (en) Sound signal processing circuit
JP2003111198A (en) Voice signal processing method and voice reproducing system
JP2001128299A (en) Signal processor, and headphone system and loudspeaker system each using the processor
JPH10108300A (en) Sound field reproduction device
JP3311701B2 (en) Pseudo-stereo device
JPH1188994A (en) Sound image localization device and sound image control method
JP3879559B2 (en) Stereo microphone device
JP2004201109A (en) Bandpass filter
JP2976573B2 (en) Sound image position control device

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: 20060905