JP4075768B2 - Audio signal processing device - Google Patents

Audio signal processing device Download PDF

Info

Publication number
JP4075768B2
JP4075768B2 JP2003369329A JP2003369329A JP4075768B2 JP 4075768 B2 JP4075768 B2 JP 4075768B2 JP 2003369329 A JP2003369329 A JP 2003369329A JP 2003369329 A JP2003369329 A JP 2003369329A JP 4075768 B2 JP4075768 B2 JP 4075768B2
Authority
JP
Japan
Prior art keywords
channel
state
signal processing
audio
data
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 - Fee Related
Application number
JP2003369329A
Other languages
Japanese (ja)
Other versions
JP2005136625A (en
Inventor
直俊 西岡
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2003369329A priority Critical patent/JP4075768B2/en
Priority to US10/976,117 priority patent/US7590460B2/en
Priority to KR1020040086740A priority patent/KR100682444B1/en
Priority to TW093133062A priority patent/TWI282217B/en
Priority to CN2004100896720A priority patent/CN1612205B/en
Publication of JP2005136625A publication Critical patent/JP2005136625A/en
Application granted granted Critical
Publication of JP4075768B2 publication Critical patent/JP4075768B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

この発明は、オーディオ信号に対して各種の音響処理を施すオーディオ信号処理装置に関する。   The present invention relates to an audio signal processing apparatus that performs various kinds of acoustic processing on an audio signal.

複数チャネルの音声データに各種の信号処理を施すことが可能なオーディオ信号処理装置が普及している。この種のオーディオ信号処理装置は、信号処理のための構成に着目すると、2種類に大別することができる。第1のオーディオ信号処理装置は、図4に示すように、信号処理のためのデータパスを各チャネル毎に持ち、各チャネルの音声データに対する信号処理をパラレルに実行する。第2のオーディオ信号処理装置は、図5に示すように、各チャネルに共通する単一のデータパスを持ち、この単一のデータパスを使用し、各チャネルの音声データに対する信号処理を時分割制御により順次実行する。なお、第2のオーディオ信号処理装置を開示した技術文献として、例えば特許文献1がある。
特開2000−122650号公報
Audio signal processing apparatuses that can perform various types of signal processing on audio data of a plurality of channels have become widespread. This type of audio signal processing apparatus can be broadly divided into two types when focusing on the configuration for signal processing. As shown in FIG. 4, the first audio signal processing apparatus has a data path for signal processing for each channel, and performs signal processing on audio data of each channel in parallel. As shown in FIG. 5, the second audio signal processing apparatus has a single data path common to each channel, and uses this single data path to time-divide signal processing for audio data of each channel. Sequentially executed under control. As a technical document disclosing the second audio signal processing apparatus, there is, for example, Patent Document 1.
JP 2000-122650 A

上述した第1のオーディオ信号処理装置によると、使用しないチャネルのデータパスを停止させることで消費電力を低下させることができる。しかしながら、このオーディオ信号処理装置は、各チャネル毎にデータパスを設けなければならないので、装置が大規模になり、LSIにより実現する場合にはチップ面積が大きくなるという問題があった。第2のオーディオ信号処理装置によれば、単一のデータパスのみを設ければよいので、装置が小規模で済み、LSIにより実現する場合にはチップ面積を小さくすることができる。しかしながら、このオーディオ信号処理装置は、一部のチャネルの音声データしか入力されなくても常にすべてのチャネルの演算を行うため、本来であれば必要のない演算を行い、無駄な電力を消費してしまうという問題があった。   According to the first audio signal processing device described above, power consumption can be reduced by stopping data paths of unused channels. However, since this audio signal processing apparatus must be provided with a data path for each channel, there is a problem that the apparatus becomes large-scale and the chip area becomes large when realized by an LSI. According to the second audio signal processing apparatus, since only a single data path needs to be provided, the apparatus can be small-scaled, and the chip area can be reduced when realized by an LSI. However, since this audio signal processing device always performs operations on all channels even if only some channels of audio data are input, it performs operations that are not necessary and consumes unnecessary power. There was a problem that.

この発明は、以上説明した事情に鑑みてなされたものであり、小規模な構成とすることができると共に、消費電力を低く抑えることが可能な複数チャネルのオーディオ信号処理装置を提供することを目的とする。   The present invention has been made in view of the circumstances described above, and it is an object of the present invention to provide a multi-channel audio signal processing apparatus that can be configured in a small scale and can reduce power consumption. And

上記課題を解決するため、この発明は、複数チャネルの音声データを各々受け取る複数のインターフェースと、前記複数のインターフェースを介して入力される複数チャネルの音声データから、各チャネルが起動状態にあるか停止状態にあるかを検出し、各チャネルが起動状態であるか停止状態であるかを示すチャネル状態信号を出力する検出部と、前記複数チャネルの音声データを一時記憶するためのメモリと、前記メモリから読み出される前記複数チャネルの音声データに対する信号処理を時分割制御により実行する手段であり、前記検出部によって出力されたチャネル状態信号に基づいて各チャネルの状態を特定し、起動状態であるチャネルの音声データに対する信号処理のみを実行し、停止状態であるチャネルの音声データに対する信号処理を停止するオーディオ信号処理部とを具備するオーディオ信号処理装置を提供する。
本発明によれば、各チャネルが起動状態であるか停止状態であるかが検出部により検出され、オーディオ信号処理部は、起動状態であるチャネルの音声データに対する信号処理のみを実行し、停止状態であるチャネルの音声データに対する信号処理を停止する。従って、無駄な信号処理を回避し、信号処理に伴う電力消費を低く抑えることができる。
好ましい態様において、前記検出部は、1つのチャネルの音声データが所定時間以上に亙って途絶えた場合に当該チャネルが停止状態にある旨のチャネル状態信号を出力する。
かかる態様によれば、残響処理などの遅延系の信号処理がオーディオ信号処理部において実行されているときに、あるチャネルの音声データが途絶えた場合、その所定時間経過後の適正なタイミングにおいて、そのチャネルの信号処理が停止する。従って、残響処理などがその実行途中において中断されるという不具合を回避することができる。
他の好ましい態様において、前記検出部は、1つのチャネルの音声データが途絶えた状態が第1の時間以上継続した場合に第1のチャネル状態信号を出力するとともに、該音声データの途絶えた状態が第1の時間より長い第2の時間以上継続した場合に第2のチャネル状態信号を出力し、前記オーディオ信号処理部は、あるチャネルについて第1のチャネル状態信号が前記検出部から出力されたときには、当該チャネルに対応した信号処理のうち所定の種類の信号処理を停止し、第2のチャネル状態信号が出力されたときには、当該チャネルに対応した信号処理全体の実行を停止する。
かかる態様によれば、音声データが途絶えた時点で中断しても構わないような所定の種類の信号処理については、音声データが途絶えて第1のチャネル状態信号が出力した時点で信号処理が停止され、それ以外の信号処理については音声データの途絶えた状態が所定時間以上続いたときに停止される。従って、先に述べた態様よりも、消費電力をさらに低く抑えることができる。
In order to solve the above problems, the present invention is based on a plurality of interfaces each receiving a plurality of channels of audio data, and a plurality of channels of audio data input via the plurality of interfaces. A detection unit that detects whether each channel is in an activated state or a stopped state, and outputs a channel state signal, a memory for temporarily storing audio data of the plurality of channels, and the memory Means for performing signal processing on the audio data of the plurality of channels read out from the time-division control, specifying the state of each channel based on the channel state signal output by the detection unit, and for the channel in the activated state Performs only signal processing on audio data, and on audio data of channels that are stopped Providing an audio signal processing apparatus having an audio signal processing unit for stopping the issue process.
According to the present invention, the detection unit detects whether each channel is in the activated state or the stopped state, and the audio signal processing unit performs only signal processing on the audio data of the channel in the activated state, The signal processing for the audio data of the channel is stopped. Therefore, useless signal processing can be avoided and power consumption associated with signal processing can be kept low.
In a preferred aspect, the detection unit outputs a channel state signal indicating that the channel is in a stopped state when the audio data of one channel is interrupted for a predetermined time or more.
According to such an aspect, when audio signal processing of a certain channel is interrupted when delay-type signal processing such as reverberation processing is performed in the audio signal processing unit, at the appropriate timing after the predetermined time has elapsed, Channel signal processing stops. Therefore, it is possible to avoid the problem that the reverberation process or the like is interrupted during the execution.
In another preferred aspect, the detection unit outputs a first channel state signal when the state where the sound data of one channel is interrupted continues for a first time or more, and the state where the sound data is interrupted When the audio signal processing unit outputs a second channel state signal when continuing for a second time longer than the first time, the audio signal processing unit outputs a first channel state signal for the certain channel from the detection unit. The predetermined type of signal processing among the signal processing corresponding to the channel is stopped, and when the second channel state signal is output, execution of the entire signal processing corresponding to the channel is stopped.
According to this aspect, for the predetermined type of signal processing that may be interrupted when the audio data is interrupted, the signal processing is stopped when the audio data is interrupted and the first channel state signal is output. The other signal processing is stopped when the voice data has been interrupted for a predetermined time or longer. Accordingly, the power consumption can be further reduced as compared with the aspect described above.

<第1実施形態>
以下、図面を参照して、本発明の第1の実施形態について説明する。
図1は、この発明の第1の実施形態に係るオーディオ信号処理装置10の構成を示すブロック図である。このオーディオ信号処理装置10は、図示された各部に相当する回路を半導体チップ上に形成してなるLSIであり、エフェクタ機能、ミキシング機能などの機能を必要とする各種のオーディオ機器に搭載される。
<First Embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of an audio signal processing apparatus 10 according to the first embodiment of the present invention. The audio signal processing apparatus 10 is an LSI formed by forming circuits corresponding to the respective components shown in the figure on a semiconductor chip, and is mounted on various audio devices that require functions such as an effector function and a mixing function.

本実施形態に係るオーディオ信号処理装置10は、音声データを装置内部に入力するためのインターフェースとして、チャネル0に対応したCH0インターフェース70、チャネル1に対応したCH1インターフェース71およびチャネル2に対応したCH2インターフェース72をそれぞれ備えている。これら各インターフェース70〜72は、すべてが同一のソースから出力されるデータを受け取ってもよいし、異なるソースから出力されるデータを受け取ってもよい。また、これらの各インターフェース70〜72は、同一フォーマットのデータを取り扱うものであってもよいし、異なるフォーマットのデータを取り扱うものであってもよい。例えば、あるインターフェースは、音声波形のサンプルデータである音声データを受け取って出力するものであり、他のインターフェースは、MIDIなどの演奏データを受け取り、これに従って音声データを生成して出力するものである、という態様もあり得る。   The audio signal processing apparatus 10 according to the present embodiment has a CH0 interface 70 corresponding to channel 0, a CH1 interface 71 corresponding to channel 1, and a CH2 interface corresponding to channel 2 as interfaces for inputting audio data into the apparatus. 72 respectively. Each of these interfaces 70 to 72 may receive data output from the same source, or may receive data output from different sources. Each of these interfaces 70 to 72 may handle data in the same format or may handle data in different formats. For example, one interface receives and outputs audio data that is sample data of an audio waveform, and the other interface receives performance data such as MIDI, and generates and outputs audio data according to the performance data. There can also be an aspect of.

チャネル起動・停止検出回路50は、各チャネルのインターフェース70〜72を介して入力される音声データから、それぞれのチャネルが起動状態にあるかそれとも停止状態にあるかを検出し、その結果を示すチャネル状態信号を出力する。   The channel activation / deactivation detection circuit 50 detects whether each channel is activated or deactivated from the audio data input via the interfaces 70 to 72 of each channel, and indicates the result. Output a status signal.

ここで、このチャネル起動・停止検出回路50は、無音であることを示す音声データの入力後直ちにそのチャネルが停止状態になったと判断するのでなく、無音であることを示す音声データが入力された後、音声データが入力されない状態が予め設定された所定期間継続したときにそのチャネルが停止状態に至ったと判断する。これは、停止状態を示すチャネル状態信号を直ちに出力してしまうと、それ以前のサンプリング周期で既に入力された音声データに対して実行されている信号処理まで途中で中止されてしまうおそれがあるからである。停止状態に至ったと判断する目安となる期間をどの程度に設定するのが最も望ましいかについては後に詳述する。   Here, the channel start / stop detection circuit 50 does not determine that the channel is in a stopped state immediately after the voice data indicating silence is input, but receives voice data indicating silence. Thereafter, when the state in which no audio data is input continues for a predetermined period, it is determined that the channel has reached a stop state. This is because if the channel state signal indicating the stop state is immediately output, the signal processing that has been performed on the voice data that has already been input in the previous sampling cycle may be interrupted. It is. How much it is most desirable to set a period that serves as a standard for determining that the stop state has been reached will be described in detail later.

オーディオ信号処理部20は、各インターフェース70〜72を介して入力される音声データに対する信号処理を行い、その処理結果であるL、R2チャネルのディジタル信号を出力する装置である。アナログ部60は、D/A変換器を主要な構成要素としており、オーディオ信号処理部20から出力されるL、R2チャネル分のディジタル信号をアナログ信号に各々変換し、左右のスピーカ(図示略)に出力する。   The audio signal processing unit 20 is a device that performs signal processing on audio data input via each of the interfaces 70 to 72 and outputs digital signals of L and R2 channels, which are the processing results. The analog unit 60 includes a D / A converter as a main component, converts the digital signals for L and R2 channels output from the audio signal processing unit 20 into analog signals, and outputs left and right speakers (not shown). Output to.

図1に示すように、オーディオ信号処理部20は、データパス部30と、ステートマシン部40とを有している。そしてデータパス部30は、テンポラリデータ格納用メモリ31と演算部32とを有している。   As shown in FIG. 1, the audio signal processing unit 20 includes a data path unit 30 and a state machine unit 40. The data path unit 30 includes a temporary data storage memory 31 and a calculation unit 32.

テンポラリデータ格納用メモリ31は、処理対象である音声データや信号処理の途中のディジタルデータを一時記憶するための一時記憶領域として用いられる。ここで、オーディオ信号処理装置10により実行される信号処理にはいわゆる遅延系の信号処理も含まれるので、テンポラリデータ格納用メモリ31には、音声データをn個記憶するだけの格納領域を有したFIFO(first-in first-out)が確保されている。FIFOに記憶可能な音声データの個数nは、最長遅延時間とサンプリング周期との比率に応じて予め設定される。   The temporary data storage memory 31 is used as a temporary storage area for temporarily storing audio data to be processed and digital data in the middle of signal processing. Here, since the signal processing executed by the audio signal processing apparatus 10 includes so-called delayed signal processing, the temporary data storage memory 31 has a storage area for storing n pieces of audio data. FIFO (first-in first-out) is secured. The number n of audio data that can be stored in the FIFO is preset according to the ratio between the longest delay time and the sampling period.

上述したように、チャネル起動・停止検出回路50は、無音であることを示す音声データが入力された後、音声データが入力されない状態が所定期間継続したときにはじめて停止状態と判断するが、停止状態と判断するための目安となる期間は上述の最長遅延時間よりも長く設定されることが最も望ましい。残響付与などの遅延系の信号処理においては、テンポラリデータ格納用メモリ31の特定のエリアを、音声データを遅延させるFIFO(First-In First-Out)として使用し、サンプリング周期が経過する毎にFIFO内の音声データを順次後方の記憶領域へシフトさせながら、FIFO内の音声データを用いた演算を逐次行うため、音声データの入力が途絶えても、信号処理がすべて終了するまでに一定のタイムラグが発生する。従って、停止状態と判断する期間をテンポラリデータ格納用メモリ31の音声データがすべてクリアされるまでの時間よりも幾分長く設定することで、既に入力された音声データに対する信号処理が途中で中止されてしまうといった事態を回避できる。   As described above, the channel activation / deactivation detection circuit 50 determines that the channel is in the stopped state only when the voice data indicating that there is no sound is input and the state in which the voice data is not input continues for a predetermined period. It is most desirable that the period serving as a standard for determining the state is set longer than the above-described longest delay time. In delay system signal processing such as reverberation, a specific area of the temporary data storage memory 31 is used as a FIFO (First-In First-Out) for delaying audio data, and the FIFO is used every time the sampling period elapses. Since the calculation using the audio data in the FIFO is sequentially performed while sequentially shifting the audio data in the storage area to the rear, even if the input of the audio data is interrupted, there is a certain time lag until all the signal processing is completed. appear. Therefore, by setting the period for determining the stop state as slightly longer than the time until all the audio data in the temporary data storage memory 31 is cleared, the signal processing for the already input audio data is stopped halfway. You can avoid such a situation.

演算部32は、テンポラリデータ格納用メモリ31から読み出されるデータに対して演算処理を施す装置であり、乗算器33と、累算器34と、演算係数生成回路35とを有している。ここで、乗算器33は、テンポラリデータ格納用メモリ31から読み出されるデータに対して演算係数を乗算する回路であり、演算係数生成回路35は、その演算係数を生成する回路である。累算器34は、乗算器33から乗算結果が出力される度にその累算を行う回路である。演算係数生成回路35が如何なる演算係数を生成するか、乗算器33および累算器34により如何なる演算を行うか、テンポラリデータ格納用メモリ31内のどの領域のデータを演算対象にするか、および演算結果をどこに出力するかはステートマシン部40(詳しくはその演算処理用ステートマシン)から供給される制御信号によりすべて決定される。   The arithmetic unit 32 is a device that performs arithmetic processing on the data read from the temporary data storage memory 31, and includes a multiplier 33, an accumulator 34, and an arithmetic coefficient generation circuit 35. Here, the multiplier 33 is a circuit that multiplies the data read from the temporary data storage memory 31 by a calculation coefficient, and the calculation coefficient generation circuit 35 is a circuit that generates the calculation coefficient. The accumulator 34 is a circuit that performs accumulation every time a multiplication result is output from the multiplier 33. What calculation coefficient is generated by the calculation coefficient generation circuit 35, what calculation is performed by the multiplier 33 and the accumulator 34, which region in the temporary data storage memory 31 is subject to calculation, and calculation Where to output the result is all determined by the control signal supplied from the state machine unit 40 (specifically, the state machine for arithmetic processing).

ステートマシン部40は、データパス部30の状態遷移のための制御を行う装置である。ステートマシン部40には、データパス部30の内部状態を示す状態信号が供給され、この状態信号に基づいてデータパス部30の内部状態の変化を監視する。そして、この監視結果に基づいた制御信号をデータパス部30へ出力することにより、各種の信号処理を行わせる。   The state machine unit 40 is a device that performs control for state transition of the data path unit 30. A state signal indicating the internal state of the data path unit 30 is supplied to the state machine unit 40, and a change in the internal state of the data path unit 30 is monitored based on the state signal. Then, by outputting a control signal based on the monitoring result to the data path unit 30, various signal processes are performed.

図1に示すように、ステートマシン部40は、チャネル0〜2にそれぞれ対応する各演算処理用ステートマシン41〜43と、これらの演算処理用ステートマシンを総括するメインステートマシン44とを有している。ここで、各演算処理用ステートマシン41〜43は、チャネル0〜2の各音声データの信号処理を行わせるためのデータパス部30の制御を各々行うステートマシンである。さらに詳述すると、演算処理用ステートマシン41〜43は、メインステートマシン44によって起動されると、演算係数生成回路35で生成されるべき演算係数や、演算対象となるデータを格納したテンポラリデータ格納用メモリ31のアドレス、乗算器33および累算器34により実行させる演算内容、演算結果の出力先などを指定する一連の制御信号を予め設定された手順に従って順次出力する。なお、これら一連の信号は、オーディオ信号処理部20内部で生成されるメインクロックと同期して順次出力される。   As shown in FIG. 1, the state machine unit 40 includes arithmetic processing state machines 41 to 43 respectively corresponding to channels 0 to 2, and a main state machine 44 that generalizes these arithmetic processing state machines. ing. Here, the arithmetic processing state machines 41 to 43 are state machines that respectively control the data path unit 30 for performing signal processing of the audio data of the channels 0 to 2. More specifically, the arithmetic processing state machines 41 to 43, when activated by the main state machine 44, store temporary data that stores arithmetic coefficients to be generated by the arithmetic coefficient generation circuit 35 and data to be calculated. A series of control signals for designating the address of the memory 31, the calculation contents to be executed by the multiplier 33 and the accumulator 34, the output destination of the calculation result, etc. are sequentially output according to a preset procedure. These series of signals are sequentially output in synchronization with the main clock generated in the audio signal processing unit 20.

メインステートマシン44は、各サンプリング周期において、これらの演算処理用ステートマシン41〜43を所定の順序に従って順次起動する。ただし、あるサンプリング周期において特定のチャネルが停止状態となったことを示すチャネル状態信号がチャネル起動・停止検出回路50から出力されると、その次のサンプリング周期においてメインステートマシン44は、そのチャネルに対応した演算処理用ステートマシンの起動をスキップし、ステートマシン部40を次の状態へ遷移させる。この停止状態にあるチャネルに対応した信号処理の制御をスキップさせる動作は、そのチャネルが起動状態に戻ったことを示すチャネル状態信号がチャネル起動・停止検出回路50から出力されるまで繰り返される。   The main state machine 44 sequentially starts up these arithmetic processing state machines 41 to 43 in a predetermined order in each sampling period. However, when a channel state signal indicating that a specific channel has been stopped in a certain sampling period is output from the channel activation / deactivation detection circuit 50, the main state machine 44 transmits to that channel in the next sampling period. The activation of the corresponding arithmetic processing state machine is skipped, and the state machine unit 40 is shifted to the next state. The operation of skipping the signal processing control corresponding to the channel in the stopped state is repeated until a channel state signal indicating that the channel has returned to the activated state is output from the channel activation / deactivation detection circuit 50.

ステートマシン部40の状態遷移と演算部32による処理との関係を図2および図3を参照して説明する。図2(a)は、すべてのチャネルが起動状態にあるサンプリング周期におけるステートマシン部40の状態遷移を示す図、図2(b)は、チャネル1が停止状態にあるサンプリング周期におけるメインステートマシン44の状態遷移を示す図である。これらの図において、「CH0」は、チャネル0の音声データの信号処理が行われるように演算処理用ステートマシン41がデータパス部30を制御している状態、「CH1」は、チャネル1の音声データの信号処理が行われるように演算処理用ステートマシン42がデータパス部30を制御している状態、「CH2」は、チャネル2の音声データの信号処理が行われるように演算処理用ステートマシン43がデータパス部30を制御している状態を示す。また、「IDLE」は、いずれの演算処理用ステートマシンも起動されておらず、データパス部30において何も信号処理が行われていない状態を示す。   The relationship between the state transition of the state machine unit 40 and the processing by the calculation unit 32 will be described with reference to FIGS. FIG. 2A is a diagram showing state transition of the state machine unit 40 in a sampling cycle in which all channels are in an activated state, and FIG. 2B is a main state machine 44 in a sampling cycle in which channel 1 is in a stopped state. It is a figure which shows the state transition of. In these drawings, “CH0” indicates a state in which the arithmetic processing state machine 41 controls the data path unit 30 so that the signal processing of the audio data of channel 0 is performed, and “CH1” indicates the audio of channel 1 A state machine 42 that controls the data path unit 30 so that signal processing of data is performed, “CH2” is a state machine for processing so that signal processing of audio data of channel 2 is performed 43 shows a state in which the data path unit 30 is controlled. Further, “IDLE” indicates a state in which no arithmetic processing state machine is activated and no signal processing is performed in the data path unit 30.

すべてのチャネルが起動状態にある場合、図2(a)に示すように、ステートマシン部40の状態は、サンプリング周期の開始により、「IDLE」状態から「CH0」状態に移行し、その後、「CH1」→「CH2」と遷移した後に「IDLE」状態に戻る。従って、このサンプリング周期では、図3(a)に示すように、CH0、CH1、CH2のすべてのサンプルデータに対する信号処理が実行される。   When all the channels are in the activated state, as shown in FIG. 2A, the state of the state machine unit 40 shifts from the “IDLE” state to the “CH0” state at the start of the sampling period. After the transition from “CH1” to “CH2”, the state returns to the “IDLE” state. Therefore, in this sampling period, as shown in FIG. 3A, signal processing is performed on all sample data of CH0, CH1, and CH2.

チャネル1が停止状態にある場合、図2(b)に示すように、ステートマシン部40の状態遷移は、「CH1」状態がスキップされるため、「IDLE」→「CH0」→「CH2」と遷移した後に「IDLE」に戻る。従って、このサンプリング周期では、図3(b)に示すように、チャネル0、チャネル2の音声データに対する信号処理が実行される一方で、チャネル1の音声データに対する信号処理は行われない。そして、チャネル1の音声データに対する信号処理がスキップされるために、「IDLE」状態の期間が長くなり、その分、消費電力が少なくなる。   When channel 1 is in a stopped state, as shown in FIG. 2B, the state transition of the state machine unit 40 is “IDLE” → “CH0” → “CH2” because the “CH1” state is skipped. After the transition, return to “IDLE”. Therefore, in this sampling period, as shown in FIG. 3B, signal processing is performed on the audio data of channel 0 and channel 2, while signal processing is not performed on the audio data of channel 1. Since the signal processing for the audio data of channel 1 is skipped, the period of the “IDLE” state is lengthened, and the power consumption is reduced accordingly.

チャネル0やチャネル2が停止状態となったことを示すチャネル状態信号がチャネル起動・停止検出回路50から出力されたときも同様であり、メインステートマシン44は、停止状態であるチャネルに対応した演算処理用ステートマシンの起動をスキップする。これにより、停止状態にあるチャネルの演算を行なわないで済むため、信号処理演算に要する消費電力を少なくすることができる。従って、例えば携帯電話など、低消費電力であることが要求される携帯型電子機器への搭載も可能であり、これらの機器において高品質のオーディオ信号処理機能を提供することが可能になる。   The same applies when a channel state signal indicating that channel 0 or channel 2 has been stopped is output from the channel start / stop detection circuit 50, and the main state machine 44 performs an operation corresponding to the channel in the stopped state. Skips the processing state machine startup. As a result, it is not necessary to perform computation on the channel in the stopped state, so that power consumption required for signal processing computation can be reduced. Therefore, it can be mounted on a portable electronic device that requires low power consumption, such as a mobile phone, and a high-quality audio signal processing function can be provided in these devices.

<第2実施形態>
第1実施形態では、あるチャネルの音声データの途絶えた状態が所定時間以上継続したときにそのチャネルの信号処理の実行を停止した。これに対し、本実施形態では、次のような動作が行われる。まず、チャネル起動・停止検出回路50は、あるチャネルについて無音を示す音声データの入力が第1の時間以上継続したとき、第1のチャネル状態信号を出力する。そして、同チャネルについて無音を示す音声データの入力が第1の時間よりも長い第2の時間以上継続したとき、第2のチャネル状態信号を出力する。この第2の時間は、上記第1実施形態においてチャネルが停止状態になったと判断するときの無音状態の継続時間と同じ時間である。ステートマシン部40の演算処理用ステートマシン41〜43は、上記第1実施形態と同様、チャネル状態信号に応じて信号処理のスキップを行うが、その態様は、第1のチャネル状態信号が出力されたときと第2のチャネル状態信号が出力されたときとで異なる。
Second Embodiment
In the first embodiment, the execution of the signal processing for a channel is stopped when the state in which the audio data of a certain channel is interrupted continues for a predetermined time or longer. On the other hand, in the present embodiment, the following operation is performed. First, the channel activation / deactivation detection circuit 50 outputs a first channel state signal when input of audio data indicating silence for a certain channel continues for a first time or more. Then, when input of audio data indicating silence for the same channel continues for a second time longer than the first time, a second channel state signal is output. This second time is the same time as the duration of the silent state when it is determined that the channel has been stopped in the first embodiment. The arithmetic processing state machines 41 to 43 of the state machine unit 40 skip signal processing in accordance with the channel state signal as in the first embodiment, but the aspect is that the first channel state signal is output. And when the second channel state signal is output.

例えばチャネル0が起動状態であるときに、メインステートマシン44は、そのチャネル0に対応した演算処理用ステートマシン41を起動する。この演算処理用ステートマシン41が、チャネル0の信号処理を行わせるべく、データパス部30の状態を「処理1」→「処理2」→「処理3」→「処理4」→「IDLE」と遷移させるものとする。この状態において、チャネル0に対応した第1のチャネル状態信号が出力されると、演算処理用ステートマシン41は、例えば遅延処理を含まない「処理2」をスキップする。その後、同チャネル0について第2のチャネル状態信号が出力されると、メインステートマシン44は、チャネル0に対応した演算処理用ステートマシン41の起動をスキップする。この結果、チャネル0に対応した全信号処理が停止される。その後、有音を示すチャネル0の音声データが入力され、その旨を示すチャネル状態信号が出力されると、以後のサンプリング周期においてメインステートマシン44は、演算処理用ステートマシン41を起動し、チャネル0に対応した信号処理を再開させる。   For example, when the channel 0 is in the activated state, the main state machine 44 activates the arithmetic processing state machine 41 corresponding to the channel 0. In order for this arithmetic processing state machine 41 to perform signal processing of channel 0, the state of the data path unit 30 changes from “processing 1” → “processing 2” → “processing 3” → “processing 4” → “IDLE”. Shall be transitioned. In this state, when the first channel state signal corresponding to channel 0 is output, the arithmetic processing state machine 41 skips, for example, “processing 2” not including delay processing. Thereafter, when the second channel state signal is output for the channel 0, the main state machine 44 skips the activation of the arithmetic processing state machine 41 corresponding to the channel 0. As a result, all signal processing corresponding to channel 0 is stopped. After that, when channel 0 audio data indicating sound is input and a channel state signal indicating that is output, the main state machine 44 activates the arithmetic processing state machine 41 in the subsequent sampling period, and the channel The signal processing corresponding to 0 is resumed.

このように、本実施形態では、演算処理用ステートマシン41〜43の制御の下に実行される個々の処理単位で、起動と停止とを切り替える構成としたので、例えばイコライザ処理のように無音の音声データが入力された後直ちに停止してもよい処理については、第1のチャネル状態信号が出力された時点で直ちに停止し、遅延系処理のようにテンポラリデータ格納用メモリ31に格納されたデータがすべてクリアされるのを待ってから停止することが望ましい処理については、それより後に第2のチャネル状態信号が出力されたときに停止するといった動作を行わせることができる。これにより、不要な演算をより細かな時分解能でスキップさせることができ、信号処理に要する消費電力をより低く抑えることができる。   Thus, in this embodiment, since it was set as the structure which switches starting and a stop in each processing unit performed under control of the arithmetic processing state machines 41-43, for example, it is silent like an equalizer process. The processing that may be stopped immediately after the audio data is input is stopped immediately when the first channel state signal is output, and the data stored in the temporary data storage memory 31 as in the delay system processing. For a process in which it is desired to stop after waiting for all of them to be cleared, an operation such as stopping when a second channel state signal is output after that can be performed. As a result, unnecessary calculations can be skipped with a finer time resolution, and the power consumption required for signal processing can be further reduced.

この発明の第1実施形態であるオーディオ信号処理装置10の構成を示すブロック図である。1 is a block diagram showing a configuration of an audio signal processing device 10 according to a first embodiment of the present invention. 同装置の状態遷移を示す図である。It is a figure which shows the state transition of the apparatus. 同装置における演算部の振舞いを示す図である。It is a figure which shows the behavior of the calculating part in the same apparatus. 従来技術の回路構成を示す図である。It is a figure which shows the circuit structure of a prior art. 従来技術の回路構成を示す図である。It is a figure which shows the circuit structure of a prior art.

符号の説明Explanation of symbols

10:オーディオ信号処理装置,20:オーディオ信号処理部,30:データパス部,31:テンポラリデータ格納用メモリ,32:演算部,33:乗算器,34:累算器,35:演算係数生成回路,40:ステートマシン部,41〜43:演算処理用ステートマシン,44:メインステートマシン,50:チャネル起動・停止検出回路,60:アナログ部 10: Audio signal processing device, 20: Audio signal processing unit, 30: Data path unit, 31: Temporary data storage memory, 32: Calculation unit, 33: Multiplier, 34: Accumulator, 35: Calculation coefficient generation circuit 40: State machine section, 41-43: State machine for arithmetic processing, 44: Main state machine, 50: Channel start / stop detection circuit, 60: Analog section

Claims (3)

複数チャネルの音声データを各々受け取る複数のインターフェースと、
前記複数のインターフェースを介して入力される複数チャネルの音声データから、各チャネルの状態を示すチャネル状態信号を出力する検出部と、
前記複数チャネルの音声データを一時記憶するためのメモリと、
前記メモリから読み出される前記複数チャネルの音声データに対する信号処理を時分割制御により実行する手段であり、前記検出部によって出力された状態信号に基づいて各チャネルの状態を特定し、起動状態であるチャネルの音声データに対する信号処理のみを実行し、停止状態であるチャネルの音声データに対する信号処理を停止するオーディオ信号処理部と
を備えるオーディオ信号処理装置。
A plurality of interfaces each receiving multi-channel audio data;
A detection unit that outputs a channel state signal indicating a state of each channel from voice data of a plurality of channels input through the plurality of interfaces;
A memory for temporarily storing the audio data of the plurality of channels;
Channels that execute signal processing on the audio data of the plurality of channels read from the memory by time-sharing control, specify a state of each channel based on a state signal output by the detection unit, and are in an activated state An audio signal processing apparatus comprising: an audio signal processing unit that executes only signal processing on the audio data of the channel and stops signal processing on the audio data of the channel in the stopped state.
前記検出部は、1つのチャネルの音声データが所定時間以上に亙って途絶えた場合に当該チャネルが停止状態にある旨のチャネル状態信号を出力する請求項1記載のオーディオ信号処理装置。   The audio signal processing apparatus according to claim 1, wherein the detection unit outputs a channel state signal indicating that the channel is in a stopped state when audio data of one channel is interrupted for a predetermined time or more. 前記検出部は、1つのチャネルの音声データの途絶えた状態が第1の時間以上継続した場合に第1のチャネル状態信号を出力するとともに、該音声データの途絶えた状態が第1の時間より長い第2の時間以上継続した場合に第2のチャネル状態信号を出力し、
前記オーディオ信号処理部は、あるチャネルについて第1のチャネル状態信号が前記検出部から出力されたときには、当該チャネルに対応した信号処理のうち所定の種類の信号処理を停止し、第2のチャネル状態信号が出力されたときには、当該チャネルに対応した信号処理全体の実行を停止する請求項1記載のオーディオ信号処理装置。
The detection unit outputs a first channel state signal when the state where the sound data of one channel is interrupted continues for a first time or longer, and the state where the sound data is interrupted is longer than the first time. Outputs a second channel state signal if continued for a second time or more;
When the first channel state signal is output from the detection unit for a certain channel, the audio signal processing unit stops a predetermined type of signal processing in the signal processing corresponding to the channel, and the second channel state 2. The audio signal processing apparatus according to claim 1, wherein when the signal is output, execution of the entire signal processing corresponding to the channel is stopped.
JP2003369329A 2003-10-29 2003-10-29 Audio signal processing device Expired - Fee Related JP4075768B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2003369329A JP4075768B2 (en) 2003-10-29 2003-10-29 Audio signal processing device
US10/976,117 US7590460B2 (en) 2003-10-29 2004-10-28 Audio signal processor
KR1020040086740A KR100682444B1 (en) 2003-10-29 2004-10-28 Audio signal processor
TW093133062A TWI282217B (en) 2003-10-29 2004-10-29 Audio signal processor
CN2004100896720A CN1612205B (en) 2003-10-29 2004-10-29 Audio signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003369329A JP4075768B2 (en) 2003-10-29 2003-10-29 Audio signal processing device

Publications (2)

Publication Number Publication Date
JP2005136625A JP2005136625A (en) 2005-05-26
JP4075768B2 true JP4075768B2 (en) 2008-04-16

Family

ID=34646726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003369329A Expired - Fee Related JP4075768B2 (en) 2003-10-29 2003-10-29 Audio signal processing device

Country Status (1)

Country Link
JP (1) JP4075768B2 (en)

Also Published As

Publication number Publication date
JP2005136625A (en) 2005-05-26

Similar Documents

Publication Publication Date Title
CN105590620B (en) Processing device, processing method, and electronic musical instrument
KR100682444B1 (en) Audio signal processor
CN108600917B (en) Embedded multi-channel audio management system and management method
JP4075768B2 (en) Audio signal processing device
JP2003255945A (en) Mixing device, musical sound generating device and large- scale integrated circuit for mixing
JP2989938B2 (en) Digital signal processor
JP4494754B2 (en) Audio signal processing device
JP4894218B2 (en) Semiconductor integrated circuit
JP3693046B2 (en) Music generator
JP3693045B2 (en) Music generator
JP3755249B2 (en) Data storage device
JP2003202865A (en) Method and device for electronic sound generation and portable equipment using the same
JPH0561901A (en) Program control type processor
JP4434118B2 (en) Electronics
JP4561224B2 (en) Audio signal processing device
JP3736123B2 (en) Power control circuit
JP2009302784A (en) Cross fade device
JP2003255946A (en) Musical sound generating device
JP3364573B2 (en) Electronic tone generator
JP2008061053A (en) Signal processing apparatus
JP2004005520A (en) System, method and program for processing stream data, and computer-readable recording medium with the program stored thereon
JPH0328893A (en) Audio signal data processor
JPH0328899A (en) Audio signal data processor
JP2007241936A (en) Data transfer circuit
JP2008065718A (en) Digital signal processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080121

R150 Certificate of patent or registration of utility model

Ref document number: 4075768

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees