JPH1124689A - Effective sound processing device - Google Patents

Effective sound processing device

Info

Publication number
JPH1124689A
JPH1124689A JP9187172A JP18717297A JPH1124689A JP H1124689 A JPH1124689 A JP H1124689A JP 9187172 A JP9187172 A JP 9187172A JP 18717297 A JP18717297 A JP 18717297A JP H1124689 A JPH1124689 A JP H1124689A
Authority
JP
Japan
Prior art keywords
ram
data
signal
register
time
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
JP9187172A
Other languages
Japanese (ja)
Inventor
Koichi Chiba
公一 千葉
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.)
New Japan Radio Co Ltd
Original Assignee
New Japan Radio Co 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 New Japan Radio Co Ltd filed Critical New Japan Radio Co Ltd
Priority to JP9187172A priority Critical patent/JPH1124689A/en
Publication of JPH1124689A publication Critical patent/JPH1124689A/en
Pending legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the generation of unnecessary signals, abrupt change in a signal level, sound cutoff, etc., in switching an input aural signal, by stopping the addition of readout data of a RAM for a prescribed time in a timing generation such as switching of the input aural signal and changing of effective sound processing mode. SOLUTION: A second register 4 between a RAM and an adding part 3 is provided with switch mechanism which is controlled by a time flag 7. A timer counter 8 sets a prescribed time in switching an input aural signal and changing a lag time so that the timer flag 7 prevents the readout data of the RAM 2 from being transmitted to the adding part 2 during the set time. That is to say, the input aural data of a first register 3 is outputted from a third register 6 via the adding part 2 during this interval. This constitution can eliminate any effects of the readout of the RAM 2 data which is irrelevant to the input signal so as to provide a superior aural signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル化され
た音声データに対して遅延による効果音処理を施す装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for performing sound effect processing on digitized audio data by delay.

【0002】[0002]

【従来の技術】音ににじみを出すディレー、山彦のよう
に音が連続して鳴るエコーやリバーブ、音の広がりを出
すサラウンド等の効果音処理(エフェクト処理)を行う
には、ディジタル音声データを所定時間分だけ遅延させ
ることが行われる。
2. Description of the Related Art In order to perform sound effect processing (effect processing) such as a delay that causes blurring of sound, an echo or reverb that produces continuous sound like Yamahiko, and a surround that expands sound, digital audio data is used. Delaying by a predetermined time is performed.

【0003】このような処理には、図5に示すように、
音声信号用のDSP(Digital Signal Processor)1に
RAM2を接続し(又は、内蔵RAMを使用し)て、こ
のRAM2に書き込んだ音声データを所定の時間が経過
した後に読み出すことによって、その音声データを遅延
させている。
[0005] In such a process, as shown in FIG.
A RAM 2 is connected to a DSP (Digital Signal Processor) 1 for an audio signal (or an internal RAM is used), and the audio data written in the RAM 2 is read out after a predetermined time has elapsed, so that the audio data is read out. Have been delayed.

【0004】図6はこの遅延処理を説明するためのRA
M2のアドレス空間を示す図である。この遅延処理で
は、音声データがアドレス「0000」から順に書き込
まれて[FFFF」まで書き込まれると再度「000
0」から上書きされるようにする一方で、読み出しを現
在の書き込みアドレスから所定アドレス分だけずらした
(遅れた)アドレスについて行うようにして、同一音声
データについて、読み出しタイミングを書き込みタイミ
ングよりも大きく(例えば、ディレーでは10〜40m
s、エコーでは50ms〜等)遅らせて、その時間差に
よりデータ遅延を行うものである。
FIG. 6 shows an RA for explaining the delay processing.
FIG. 3 is a diagram illustrating an address space of M2. In this delay processing, when audio data is written in order from the address “0000” and is written up to “FFFF”, “000” is again written.
On the other hand, reading is performed for an address shifted (delayed) by a predetermined address from the current writing address while the data is overwritten from “0”. For example, 10-40m in delay
s and echo are delayed by 50 ms or more), and data is delayed by the time difference.

【0005】例えば、現在の書き込みアドレスがA1
で、現在の読み出しアドレスがA2であれば(なお、書
き込みと読み出しは異なるタイミングで行われるが、そ
の時間差は音声データのサンプリング周期に比べて桁違
いに短いので、同時とみることができる。)、遅延時間
Tdは、 Td=(A1−A2)*t となる。tは音声データのサンプリング周期である。こ
のように書き込みと読み出しのアドレス差を設定するこ
とによって、遅延時間が設定される。
For example, if the current write address is A1
If the current read address is A2 (note that writing and reading are performed at different timings, but the time difference is significantly shorter than the sampling period of the audio data, so it can be regarded as simultaneous). , And the delay time Td is as follows: Td = (A1−A2) * t t is a sampling period of audio data. The delay time is set by setting the address difference between writing and reading in this way.

【0006】そして、これをディレー処理に適用した場
合には、そのシグナルフローは図7のように表すことが
できる。3は入力音声データを一時的に保持する第1レ
ジスタ、4はRAM2の読み出しデータを一時的に保持
する第2レジスタ、5はレジスタ3,4のデータの加算
処理を行う加算部、6は加算部5で加算されたデータを
一時的に保持して出力音声データとして出力する第3レ
ジスタである。第1〜第3レジスタ3,4,6にはDS
P1内のレジスタが利用される。また、加算部5はDS
P1において、ソフトウエアで実現される。
When this is applied to delay processing, the signal flow can be represented as shown in FIG. Reference numeral 3 denotes a first register for temporarily holding input audio data, 4 denotes a second register for temporarily holding read data from the RAM 2, 5 denotes an adder for adding data of the registers 3 and 4, and 6 denotes an adder. A third register that temporarily holds the data added by the unit 5 and outputs the data as output audio data; DS is stored in the first to third registers 3, 4, and 6.
The register in P1 is used. Further, the adder 5 is provided with a DS
At P1, it is realized by software.

【0007】図8は、1サンプリング周期当たりの効果
音処理を示すフローチャートである。ステップS1’で
は、図7に示したディレー、エコー、リバーブ、サラウ
ンド、その他の効果音処理を行う。ステップS2では、
RAM2のリフレシュ(RAM2がDRAMのとき必
要)や、その他の処理を行う。
FIG. 8 is a flowchart showing sound effect processing per sampling period. In step S1 ', delay, echo, reverb, surround, and other sound effect processing shown in FIG. 7 are performed. In step S2,
Refresh the RAM 2 (necessary when the RAM 2 is a DRAM) and perform other processing.

【0008】ところで、上記したような効果音処理装置
では、入力する音声信号を切り替え(ソース切り替え)
たり、また効果音処理の内容(ディレー、エコー、リバ
ーブ、サラウンド、その他)を切り替える効果音モード
の切り替えのために、RAMの読み出しアドレスを変更
して遅延時間を変更することが行われる。
By the way, in the above-described sound effect processing device, the input audio signal is switched (source switching).
To change the sound effect mode for switching the contents of the sound effect processing (delay, echo, reverb, surround, etc.), the read time of the RAM is changed to change the delay time.

【0009】そして、従来では、このような入力音声信
号切り替えや遅延時間変更に対しては、何らの処理を行
わなかったり、又は、RAM2に対してこの時だけ書き
込みと読み出しのアドレスの間のデータをクリアして対
応していた。
Conventionally, no processing is performed for such input voice signal switching or delay time change, or the data between the write and read addresses is written to the RAM 2 only at this time. Cleared and corresponded.

【0010】[0010]

【発明が解決しようとする課題】しかし、入力音声信号
の単なる切り替えのみでは、入力音声データに対して無
相関な遅延データが読み出されて加算されるので、不要
な信号(ノイズ)や急激な信号レベルの変化の原因にな
ったり、またRAM2のクリアを行う方式では、その期
間だけ音切れが発生する。また、RAMをクリアしてい
る間は、外部からの制御信号を受信できないため、DS
Pの制御用プログラムの作成が難しくなるという問題が
あった。
However, when the input audio signal is simply switched, uncorrelated delay data is read out and added to the input audio data, so that an unnecessary signal (noise) or a sudden In a system that causes a change in signal level or clears the RAM 2, a sound break occurs only during that period. Also, while the RAM is being cleared, no control signal can be received from the outside.
There is a problem that it is difficult to create a control program for P.

【0011】本発明は以上のような点に鑑みてなされた
ものであり、その目的は入力音声信号の切り替え時やR
AMの読み出しアドレスの変更時に、不要信号、信号レ
ベルの急激な変化、音切れ等が発生することを防止する
ことである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its object the purpose of switching input audio signals and changing
An object of the present invention is to prevent the occurrence of unnecessary signals, abrupt changes in signal level, and interruptions in sound when changing the read address of AM.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
の第1の発明は、RAMで遅延させた入力音声データを
現在の入力音声データに加算させることにより効果音処
理した出力音声データを得る効果音処理装置において、
入力音声信号の切り替え、効果音処理モードの変更等の
タイミング発生時に、所定時間だけ上記RAMの読み出
しデータの上記加算を停止する制御手段を設けて構成し
た。第2の発明は、第1の発明において、上記制御手段
が、上記タイミング発生時にタイマ時間がセットされる
タイマ手段と、該タイマ手段のタイマ時間セット中は上
記RAMの読み出しデータをゼロクリアするスイッチ手
段とを具備するように構成した。
According to a first aspect of the present invention, there is provided an output audio data subjected to sound effect processing by adding input audio data delayed by a RAM to current input audio data. In the sound effect processor,
A control means is provided for stopping the addition of the read data from the RAM for a predetermined time when a timing such as switching of the input audio signal or change of the sound effect processing mode occurs. According to a second aspect, in the first aspect, the control means includes a timer means for setting a timer time when the timing is generated, and a switch means for clearing data read from the RAM to zero while the timer time is set by the timer means. It was comprised so that it might have.

【0013】[0013]

【発明の実施の形態】図1は本発明のひとつの実施の形
態のディレー処理のシグナルフローを示す図である。本
実施の形態では、RAM2と加算部3との間の第2レジ
スタ4にスイッチ機能を持たせて、このスイッチ機能を
タイマフラグ7により制御するようにした。8はタイマ
フラグ7を制御するタイマカウンタである。タイマフラ
グ7やタイマカウンタ8は、DSP1内のものを使用
し、あるいはソフトウエアで実現する。
FIG. 1 is a diagram showing a signal flow of delay processing according to one embodiment of the present invention. In this embodiment, the second register 4 between the RAM 2 and the adder 3 has a switch function, and the switch function is controlled by the timer flag 7. Reference numeral 8 denotes a timer counter that controls the timer flag 7. The timer flag 7 and the timer counter 8 use those in the DSP 1 or are realized by software.

【0014】すなわち、本実施の形態では、前記した入
力音声信号切り替え時や、RAMの読み出しアドレス変
更による遅延時間変更時等のタイミング発生時に、「タ
イマフラグ=1」にセットするとともにタイマカウンタ
8に所定値をセットし、このタイマフラグ7のセット中
は、第2レジスタ4に「スイッチオフ機能」を発揮さ
せ、RAM2の読み出しデータが加算部5で加算されな
いようにした。
That is, in this embodiment, the timer flag is set to "1" and the timer counter 8 is set in the timer counter 8 when the input audio signal is switched or when the delay time is changed by changing the read address of the RAM. A predetermined value is set, and while the timer flag 7 is being set, the second register 4 has a "switch-off function" so that the read data of the RAM 2 is not added by the adder 5.

【0015】以下、詳しく説明する。図2はこのような
処理を行うために、上記したタイミングが発生したとき
の割り込みを行うフローチャートである。ここでは、入
力音声信号切り替え時や遅延時間変更時等のタイミング
発生時に制御信号が発生し、効果音処理ステップS1に
対して外部割り込みがかかる。これにより、ステップS
3において、タイマカウンタ8に前記図6で説明した書
き込みアドレスと読み出しアドレスの差分に相当する値
を「N」としてセットするとともに、「タイマフラグ=
1」にセットする。また、ステップS4では、上記制御
信号に応じた入力信号切り替えや効果音モード切り替え
の制御処理を行う。
The details will be described below. FIG. 2 is a flowchart for performing an interrupt when the above-mentioned timing occurs in order to perform such processing. Here, a control signal is generated when a timing occurs, such as when the input audio signal is switched or when the delay time is changed, and an external interrupt is applied to the sound effect processing step S1. Thereby, step S
In 3, the value corresponding to the difference between the write address and the read address described with reference to FIG.
Set to "1". In step S4, control processing of input signal switching and sound effect mode switching according to the control signal is performed.

【0016】図3は図8に示したフローチャートのステ
ップS1’を改良して、図4に示した処理を行うステッ
プS11を組み込んだステップS1としたものである。
以下、この図4のフローチャートに従って切り替えの処
理内容を説明する。「タイマフラグ=1」でないとき
は、ステップS111での判断はNであるので、第2レ
ジスタ4は「スイッチオン機能」の状態にあり、RAM
2の読み出しデータを加算部5に転送する通常の動作を
行う。
FIG. 3 is a modified version of step S1 'in the flowchart shown in FIG. 8, which is replaced with step S1 incorporating step S11 for performing the processing shown in FIG.
Hereinafter, the switching process will be described with reference to the flowchart of FIG. If the "timer flag is not 1", the determination in step S111 is N, and the second register 4 is in the "switch-on function" state,
The normal operation of transferring the read data of No. 2 to the adder 5 is performed.

【0017】図2のステップS3によって「タイマフラ
グ=1」がセットされると、ステップS111での判断
はYとなるので、次のステップS112において第2レ
ジスタ4の内容(RAMout)がクリアされる。この結
果、加算部5へのRAM2側からの転送データは「0」
(データ無し)となる。つまり、第2レジスタ4は「ス
イッチオフ機能」の状態となる。また、このときはステ
ップS113において、タイマカウンタ8にセットされ
ている「N」が1だけデクリメントされる。そして、こ
の結果が「N=0」でないときは、ステップS114で
の判断はNとなる。
If "timer flag = 1" is set in step S3 of FIG. 2, the determination in step S111 becomes Y, so that the content (RAMout) of the second register 4 is cleared in the next step S112. . As a result, the transfer data from the RAM 2 to the adder 5 is “0”.
(No data). That is, the second register 4 is in the state of the “switch-off function”. In this case, in step S113, "N" set in the timer counter 8 is decremented by one. If the result is not “N = 0”, the determination in step S114 is N.

【0018】以上の処理は、音声データのサンプリング
タイム毎に繰り返して行われ、タイマカウンタ8にセッ
トされている「N」のデクリメントが進行して、「N=
0」になると、ステップS114での判断がYとなるの
で、次のステップS115において、「タイマフラグ=
0」がセットされる。これ以降では、ステップS111
がNとなり、ステップS112の処理は行われないの
で、第2のレジスタ4が「スイッチオン機能」状態とな
り、RAM2の読み出しデータを加算部5に転送する通
常の動作を開始する。
The above processing is repeatedly performed for each sampling time of the audio data, and the decrement of “N” set in the timer counter 8 progresses, and “N = N”
When it becomes “0”, the determination in step S114 becomes Y, so in the next step S115, “timer flag =
"0" is set. After this, step S111
Becomes N, and the process of step S112 is not performed, so that the second register 4 enters the “switch-on function” state, and starts the normal operation of transferring the read data from the RAM 2 to the adding unit 5.

【0019】以上のように、この実施の形態では、入力
音声信号切り替え時や遅延時間変更時に、タイマカウン
タ8によって所定の時間を設定して、この設定時間中は
タイマフラグ7によってRAM2の読み出しデータを加
算部2に転送させない。すなわち、この期間中は第1レ
ジスタ3からの入力音声データのみが加算部2を経由し
て第3レジスタ6から出力されるので、RAM2の読み
出しデータによる影響を受けなくなる。
As described above, in this embodiment, when the input audio signal is switched or the delay time is changed, a predetermined time is set by the timer counter 8, and during this set time, the read data of the RAM 2 is set by the timer flag 7. Is not transferred to the adder 2. That is, during this period, only the input audio data from the first register 3 is output from the third register 6 via the adder 2, so that it is not affected by the data read from the RAM 2.

【0020】なお、上記した例では、タイマカウンタ8
に設定する「N」を、RAM2の読み出しアドレスと書
き込みアドレスの「差分」に応じて設定したが、この
「N」は入力信号の切り替え処理や遅延時間設定の変更
処理に要する時間以上に対応する値であればよい。
In the above example, the timer counter 8
Is set according to the "difference" between the read address and the write address of the RAM 2, but this "N" corresponds to a time longer than the time required for the input signal switching process and the delay time setting change process. Any value is acceptable.

【0021】[0021]

【発明の効果】以上から本発明によれば、遅延処理を行
っている最中に、入力信号の切り替えや、遅延処理モー
ドの変更を行った直後の、入力信号とは無相関なRAM
データの読み出しの影響をなくすことができるから、良
好な音声信号を得ることができる。また、DSPの処理
プログラムの作成も、コマンドのタイミングに関する制
限等を少なくすることができるので、簡単化できる。
As described above, according to the present invention, the RAM which is uncorrelated with the input signal immediately after switching the input signal or changing the delay processing mode during the delay processing.
Since the influence of data reading can be eliminated, a good audio signal can be obtained. Also, the creation of the DSP processing program can be simplified because restrictions on command timing and the like can be reduced.

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

【図1】 本発明の実施の形態のディレー処理のシグナ
ルフローの説明図である。
FIG. 1 is an explanatory diagram of a signal flow of delay processing according to an embodiment of the present invention.

【図2】 本実施の形態の効果音処理に対する割り込み
の説明のフローチャートである。
FIG. 2 is a flowchart for explaining an interrupt to the sound effect processing according to the embodiment;

【図3】 本実施の形態の効果音処理の概略のフローチ
ャートである。
FIG. 3 is a schematic flowchart of sound effect processing according to the embodiment.

【図4】 スイッチ制御のフローチャートである。FIG. 4 is a flowchart of switch control.

【図5】 DSPによる効果音処理のハードウエア構成
を示すブロック図である。
FIG. 5 is a block diagram illustrating a hardware configuration of sound effect processing by a DSP.

【図6】 遅延処理の説明のためのRAMのメモリ空間
の説明図である。
FIG. 6 is an explanatory diagram of a memory space of a RAM for explaining a delay process.

【図7】 従来のディレー処理のシグナルフローの説明
図である。
FIG. 7 is an explanatory diagram of a signal flow of conventional delay processing.

【図8】 従来の効果音処理の概略のフローチャートで
ある。
FIG. 8 is a schematic flowchart of conventional sound effect processing.

【符号の説明】 1:DSP、2:RAM、3:第1のレジスタ、4:第
2のレジスタ、5:加算部、6:第3のレジスタ、7:
タイマフラグ、8:タイマカウンタ。
[Description of References] 1: DSP, 2: RAM, 3: first register, 4: second register, 5: adder, 6: third register, 7:
Timer flag, 8: Timer counter.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】RAMで遅延させた入力音声データを現在
の入力音声データに加算させることにより効果音処理し
た出力音声データを得る効果音処理装置において、 入力音声信号の切り替え、効果音処理モードの変更等の
タイミング発生時に、所定時間だけ上記RAMの読み出
しデータの上記加算を停止する制御手段を設けたことを
特徴とする効果音処理装置。
1. A sound effect processing device for obtaining output sound data subjected to sound effect processing by adding input sound data delayed by a RAM to current input sound data. A sound effect processing device comprising a control means for stopping the addition of the read data from the RAM for a predetermined time when a timing such as a change occurs.
【請求項2】上記制御手段が、上記タイミング発生時に
タイマ時間がセットされるタイマ手段と、該タイマ手段
のタイマ時間セット中は上記RAMの読み出しデータを
ゼロクリアするスイッチ手段とを具備することを特徴と
する請求項1に記載の効果音処理装置。
2. The control means comprises: timer means for setting a timer time when the timing occurs; and switch means for clearing the data read from the RAM to zero during the timer time setting of the timer means. The sound effect processing device according to claim 1.
JP9187172A 1997-06-30 1997-06-30 Effective sound processing device Pending JPH1124689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9187172A JPH1124689A (en) 1997-06-30 1997-06-30 Effective sound processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9187172A JPH1124689A (en) 1997-06-30 1997-06-30 Effective sound processing device

Publications (1)

Publication Number Publication Date
JPH1124689A true JPH1124689A (en) 1999-01-29

Family

ID=16201377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9187172A Pending JPH1124689A (en) 1997-06-30 1997-06-30 Effective sound processing device

Country Status (1)

Country Link
JP (1) JPH1124689A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007047307A (en) * 2005-08-08 2007-02-22 D & M Holdings Inc Sound-effect generating apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007047307A (en) * 2005-08-08 2007-02-22 D & M Holdings Inc Sound-effect generating apparatus

Similar Documents

Publication Publication Date Title
JPH1124689A (en) Effective sound processing device
US5129094A (en) Microcomputer signal processor having first and second circuitry to control timing of instruction and data memory access
JPH04330561A (en) Digital signal processor
US7237216B2 (en) Clock gating approach to accommodate infrequent additional processing latencies
JP3088035B2 (en) Digital signal processor
US6266746B1 (en) Control apparatus for random access memories
JP3452147B2 (en) A microcomputer operable in emulation mode with internal and external peripherals
US5703956A (en) External memory control circuit for sound field processing digital signal processor
KR970004088B1 (en) Digital signal processor for simultaneously processing left and right signals
JP3755249B2 (en) Data storage device
JP3434713B2 (en) Register control device and register control method
JP2001134341A (en) Clock supply system
JPH0328899A (en) Audio signal data processor
JPH02110785A (en) Mask data processing system
JP3005987B2 (en) Digital signal processor
JP3597744B2 (en) Interrupt factor signal flag register device
JPH1011411A (en) Interruption control system
JP4232914B2 (en) Control circuit for single port RAM
JPH05334230A (en) Dual port memory access control circuit
JP3366235B2 (en) Data read control device
JP3082207B2 (en) LSI with built-in cache memory
JPH09128328A (en) Bus controller
JPH03250328A (en) Information processor
JPH0321998A (en) Audio signal data processor
JPH035863A (en) Digital system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061107

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070320