JP2011112815A - Sound effect attaching device and electronic musical instrument - Google Patents
Sound effect attaching device and electronic musical instrument Download PDFInfo
- Publication number
- JP2011112815A JP2011112815A JP2009268341A JP2009268341A JP2011112815A JP 2011112815 A JP2011112815 A JP 2011112815A JP 2009268341 A JP2009268341 A JP 2009268341A JP 2009268341 A JP2009268341 A JP 2009268341A JP 2011112815 A JP2011112815 A JP 2011112815A
- Authority
- JP
- Japan
- Prior art keywords
- sound
- waveform data
- sound effect
- data
- periodic component
- 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
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、楽音に効果音を付与する効果音付与装置および電子楽器に関する。 The present invention relates to a sound effect imparting device and an electronic musical instrument that impart sound effects to musical sounds.
音声データの生成、或いは、音声データの復号において、複数の波形データを混合する技術が知られている。たとえば、特許文献1には、所定の帯域ごとにピッチ周期情報に音づき発生されるピッチパルスと白色雑音を混合する際の混合比を決定して、決定された混合比に基づいて、帯域ごとの混合信号を生成し、かつ、全帯域の混合信号を加算することで、音声を再生する音声データの復号方法が開示されている。
A technique for mixing a plurality of waveform data in generation of audio data or decoding of audio data is known. For example,
また、特許文献2には、マイク音声の音量レベルに対する、BGM(Background Music)の音量レベルを、マイク音声の音量レベルに応じて変化させる技術が開示されている。 Patent Document 2 discloses a technique for changing the volume level of BGM (Background Music) relative to the volume level of microphone sound in accordance with the volume level of microphone sound.
電子楽器においても、自然楽器の楽音に相当する楽音を発生するために、楽音を周期成分と非周期成分とに分けて、それらを混合させる技術が知られている。たとえば、ピアノの楽音では、ハンマノイズや打弦音などが非周期成分に該当し、弦振動による楽音が周期成分に該当する。周期成分の楽音と非周期成分の楽音の混合比は、楽音を特徴付ける重要な要素である。したがって、混合比が不適切な場合には、発生する楽音は不自然なものとなってしまう。 Also in an electronic musical instrument, in order to generate a musical sound corresponding to a musical sound of a natural musical instrument, a technique for dividing a musical sound into a periodic component and an aperiodic component and mixing them is known. For example, in the musical sound of a piano, hammer noise, stringing sound, etc. correspond to non-periodic components, and musical sound due to string vibration corresponds to periodic components. The mixing ratio of the musical sound of the periodic component and the musical sound of the non-periodic component is an important element characterizing the musical sound. Therefore, when the mixing ratio is inappropriate, the generated musical sound becomes unnatural.
また、電子楽器においては、発生されたデータ(楽音波形データ)に所定の効果を与える種々の効果音付与装置が知られている。たとえば、残響音を付与する残響音発生回路(リバーブ)、音に広がりをつけるコーラス、ピアノのダンパペダル(図示せず)のオンに応じてピアノの弦共鳴や筐体の共鳴による共鳴音を、楽音波形データに付与する共鳴音発生回路、楽音波形を遅延させるディレイなどが、効果音付与装置として知られている。 In addition, in an electronic musical instrument, various sound effect applying devices that give a predetermined effect to generated data (musical sound waveform data) are known. For example, a reverberation sound generating circuit (reverb) that adds reverberation sound, a chorus that broadens the sound, and a resonance sound due to piano string resonance or housing resonance depending on the turn-on of a piano damper pedal (not shown) A resonance sound generating circuit to be added to waveform data, a delay for delaying a musical sound waveform, and the like are known as sound effect applying devices.
効果音付与装置は、電子楽器における楽音波形データを受け入れて、所定の効果を与える。楽音波形データには、上述したように、周期成分の楽音波形データと非周期成分の楽音波形データとが混合された場合が多い。ここで、非周期成分は、発音における初期、つまり、アタック時に発生することが多い。したがって、非周期成分の楽音波形データに、残響や遅延を含むイフェクトを与えると、非周期成分が不自然に長時間にわたって残ってしまい、聴感上望ましくない状態が生じるおそれがある。 The sound effect applying device accepts musical sound waveform data in the electronic musical instrument and gives a predetermined effect. As described above, the musical tone waveform data is often a mixture of the periodic component musical tone waveform data and the non-periodic component musical tone waveform data. Here, the non-periodic component is often generated in the initial stage of sound generation, that is, during an attack. Therefore, if an effect including reverberation or delay is given to the musical sound waveform data of the non-periodic component, the non-periodic component remains unnaturally for a long time, which may cause an undesirable state of hearing.
本発明は、周期成分の楽音波形データと非周期成分の楽音波形データとを混合した楽音波形データに、聴感上自然な効果音を付与することができる効果音付与装置および当該効果音付与装置を備えた電子楽器を提供することを目的とする。 The present invention relates to a sound effect applying device and a sound effect applying device capable of providing a sound effect natural sound to music sound waveform data obtained by mixing musical sound waveform data of periodic components and musical sound waveform data of non-periodic components. An object is to provide a provided electronic musical instrument.
本発明の目的は、楽音波形データに効果音を付与する効果音付与装置であって、
前記楽音波形データは、周期成分の楽音波形データおよび非周期成分の楽音波形データから構成され、
前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データを受け入れ、前記楽音波形データに付与する効果の度合いが大きくなるのにしたがって、前記周期成分の楽音波形データに対する、前記非周期成分の楽音波形データの比が小さくなるように、前記周期成分の楽音波形データと前記非周期成分の楽音波形データとの混合比を決定して、前記周期成分の楽音波形データと前記非周期成分の楽音波形データとを加算する混合比調整手段と、
前記周期成分の楽音波形データと前記非周期成分の楽音波形データとの加算データに所定の効果を与える効果音発生手段と、を備えたことを特徴とする効果音付与装置により達成される。
An object of the present invention is a sound effect imparting device for imparting sound effects to musical sound waveform data,
The musical sound waveform data is composed of musical sound waveform data of periodic components and musical sound waveform data of non-periodic components,
Accepting the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component, and increasing the degree of the effect imparted to the musical tone waveform data, the non-periodic component of the periodic component with respect to the musical tone waveform data The mixing ratio of the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component is determined so that the ratio of the musical tone waveform data is reduced, and the musical tone waveform data of the periodic component and the musical tone of the non-periodic component are determined. Mixing ratio adjusting means for adding waveform data;
This is achieved by a sound effect applying device comprising sound effect generating means for giving a predetermined effect to the sum data of the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component.
好ましい実施態様においては、前記混合比調整手段が、前記効果音発生手段において前記加算データに付与する効果の設定レベルに基づいて、前記混合比を決定するように構成されている。 In a preferred embodiment, the mixing ratio adjusting means is configured to determine the mixing ratio based on a setting level of an effect imparted to the addition data in the sound effect generating means.
また、別の好ましい実施態様においては、前記効果音発生手段が、複数の効果音発生要素を有し、
前記混合比調整手段が、前記複数の効果音発生要素ごとの効果の設定レベルと、効果音発生要素に対応付けられた重み付け係数とに基づいて、前記混合比を決定するように構成されている。
In another preferred embodiment, the sound effect generating means has a plurality of sound effect generating elements,
The mixing ratio adjusting unit is configured to determine the mixing ratio based on a setting level of an effect for each of the plurality of sound effect generating elements and a weighting coefficient associated with the sound effect generating element. .
好ましい実施態様においては、前記混合比調整手段は、前記混合比に基づいて、前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データに、それぞれ、第1のレベル調整係数および第2のレベル調整係数を乗じて、これらを加算して加算データを得て、前記加算データを前記効果音発生手段に出力し、
前記効果音発生手段は、前記加算データに所定の効果を与えた効果音データを発生して、前記効果音データと、前記加算データとを加算して出力する。
In a preferred embodiment, the mixing ratio adjusting means applies a first level adjustment coefficient and a second level to the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component based on the mixing ratio, respectively. Multiply by the level adjustment coefficient, add these to obtain addition data, and output the addition data to the sound effect generating means,
The sound effect generation means generates sound effect data that gives a predetermined effect to the addition data, adds the sound effect data and the addition data, and outputs the result.
別の好ましい実施態様においては、前記混合比調整手段は、前記混合比に基づいて、前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データに、それぞれ、第1のレベル調整係数および第2のレベル調整係数を乗じて、これらを加算して、第1の加算データを生成して前記効果音発生手段に出力するとともに、前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データを加算して第2の加算データを生成して前記効果音発生手段に出力し、
前記効果音発生手段は、前記第1の加算データに所定の効果を与えた効果音データを発生して、前記効果音データと、前記第2の加算データとを加算して出力するように構成されている。
In another preferred embodiment, the mixing ratio adjusting means applies the first level adjustment coefficient and the first to the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component based on the mixing ratio, respectively. Multiplying the level adjustment coefficients of 2 and adding them to generate first addition data and outputting it to the sound effect generating means, and the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component Are added to generate second added data and output to the sound effect generating means,
The sound effect generating means generates sound effect data that gives a predetermined effect to the first addition data, adds the sound effect data and the second addition data, and outputs the result. Has been.
また、本発明の目的は、上記効果音付与装置と、
鍵盤と、
前記鍵盤を構成する鍵において、押鍵された鍵の音高の、前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データから構成される楽音波形データを生成する発音手段と、を備えたことを特徴とする電子楽器により達成される。
Another object of the present invention is to provide the sound effect applying device described above,
The keyboard,
Sound generation means for generating musical tone waveform data composed of the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component of the pitch of the depressed key in the key constituting the keyboard, This is achieved by an electronic musical instrument characterized by that.
本発明によれば、周期成分の楽音波形データと非周期成分の楽音波形データとを混合した楽音波形データに、聴感上自然な効果音を付与することができる効果音付与装置および当該効果音付与装置を備えた電子楽器を提供することが可能となる。 ADVANTAGE OF THE INVENTION According to this invention, the sound effect provision apparatus which can provide a natural sound effect on an auditory sense, and the said sound effect provision to the musical sound waveform data which mixed the musical sound waveform data of the periodic component and the musical sound waveform data of the non-periodic component An electronic musical instrument provided with the device can be provided.
以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、本発明の実施の形態にかかる電子楽器の構成を示すブロックダイヤグラムである。本実施の形態においては、効果音付与回路25を電子楽器10に組み込んでいる。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration of an electronic musical instrument according to an embodiment of the present invention. In the present embodiment, the sound
図1に示すように、本実施の形態にかかる電子楽器10は、鍵盤12、CPU14、ROM16、RAM18、発音回路20、操作子群21、音響システム22、および、効果音付与回路25を有する。鍵盤12、CPU14、ROM16、RAM18、発音回路20、操作子群21および効果音付与回路25は、バスを介して接続される。効果音付与回路25は、混合比調整回路26および効果音発生回路27を有する。本実施の形態にかかる電子楽器10は、たとえば、周期成分の楽音波形データおよび非周期成分の楽音波形データから構成される楽音、たとえば、ピアノ音色の楽音を生成するのに適している。
As shown in FIG. 1, the electronic musical instrument 10 according to the present embodiment includes a
鍵盤12は、複数の鍵を有し、演奏者の押鍵操作に応じて、押鍵された鍵を特定する情報および押鍵された鍵のベロシティを示す情報をCPU14に伝達することができる。
The
CPU14は、システム制御、押鍵された鍵に応じた音高の楽音波形データを生成するための発音回路20に与える発音指示信号の生成、効果音付与回路25に与える種々の制御信号の生成などを実行する。ROM16は、楽音波形データを生成するためのプログラム、効果音データの生成のためのプログラム、後に詳述する混合比調整回路26における混合比を算出するためのプログラム、プログラムの実行の際に使用される定数およびテーブルを格納する。また、ROM16は、発音回路20において生成される楽音波形データのもととなる波形データ、効果音発生回路27において用いられるフィルタ係数などを記憶する。後述する波形データ記憶部30はROM16に設けられる。RAM18は、プログラムの実行の過程で生成される変数、パラメータ、入力データ、出力データなどを一時的に記憶する。
The
図2は、発音回路20および発音回路20に関連する構成部分をより詳細に示すブロックダイヤグラムである。図2に示すように、本実施の形態にかかる発音回路20は、波形再生回路31、エンベロープ生成回路32および乗算回路33を有する。
FIG. 2 is a block diagram showing the sounding
波形データ記憶部30には、種々の音色の波形データが記憶されている。特に、本実施の形態においては、単一の音色に対して、楽音波形のうち、周期成分に相当する周期成分波形データ201、および、非周期成分に相当する非周期成分波形データ202とが含まれる。たとえば、ピアノ系の音色においては、ピアノのハンマノイズや打弦音の波形が、非周期成分に相当する。その一方、弦の振動による波形は周期成分に相当する。
The waveform
波形再生回路41は、波形データ記憶部30に記憶された波形データから、CPU14から与えられる発音指示信号に含まれる音色情報にしたがって、指定された音色の周期成分波形データ201および非周期成分波形データ202を、音高情報にしたがって読み出す。また、エンベロープ生成回路42は、発音指示信号に含まれるベロシティ情報にしたがったエンベロープデータを出力する。周期成分データ201のためのエンベロープと、非周期成分波形データ202のエンベロープとは別個であっても良いし、同一であっても良い。
The
周期成分波形データ201およびエンベロープデータ、並びに、非周期成分波形データ201およびエンベロープデータは、それぞれ、乗算回路33において乗算され、2つの楽音波形データ(CH1の周期成分楽音波形データ、および、CH2の非周期成分楽音波形データ)が出力される。
The periodic
発音指示信号に含まれる音高情報およびベロシティ情報は、鍵盤12からの押鍵情報に基づいて、CPU14により生成される。また、発音指示信号に含まれる音色情報は、演奏者による操作子群21における音色指定スイッチの操作にに基づいて、CPU14により生成される。
The pitch information and velocity information included in the sound generation instruction signal is generated by the
効果音付与回路25の混合比調整回路26は、CH1の周期成分楽音波形データ、および、CH2の非周期成分楽音波形データのそれぞれに、所定のレベル調整係数を乗算して、周期成分楽音波形データと非周期成分楽音波形データとの混合比を調整し、これらのデータを加算する。図3は、本実施の形態にかかる混合比調整回路の例を示すブロックダイヤグラムである。
The mixing
図3に示すように、本実施の形態にかかる混合比調整回路26は、周期成分楽音波形データとレベル調整係数aとを乗算する第1の乗算回路41と、非周期成分楽音波形データとレベル調整係数bとを乗算する第2の乗算回路42と、第1の乗算回路41の出力データと第2の乗算回路42の出力データとを加算する加算回路43とを備えている。加算回路43からの出力は分岐され、一方は、効果音発生回路27において効果音が付与される効果音付与データとして、他方は、そのまま出力される直接出力データとして、効果音発生装置27に与えられる。
As shown in FIG. 3, the mixing
効果音付与回路25の効果音発生回路27は、1以上の効果音発生要素を含む。効果音発生要素には、残響音発生回路(リバーブ)、ディレイ、コーラスなど種々のものが該当する。図4は、本実施の形態にかかる効果音発生回路27の例を示すブロックダイヤグラムである。この例では、単一の効果音発生要素として、リバーブが用いられている。
The sound
図4に示すように、効果音発生回路27は、リバーブ50と、リバーブ50による残響効果が付与された効果音の楽音波形データと、直接出力データとを加算する加算回路57と、を有している。たとえば、リバーブ50は、オールパスフィルタ51と、コムフィルタ52〜54を有している。また、リバーブ50は、CPU14から与えられるリバーブ制御信号に基づき、オールパスフィルタ52、コムフィルタ52〜54に与えるフィルタ係数を取得する係数取得部56を有している。
As shown in FIG. 4, the sound
図5(a)は、オールパスフィルタの構成例を示す図、図5(b)は、コムフィルタの構成例を示す図である。図5(a)に示すように、オールパスフィルタ500は、加減算回路501、遅延回路502、加算回路503、フィードフォワード用の乗算回路504、および、フィードバック用の乗算回路505を有する。フィードフォワード用の乗算回路504に与えられる係数RT1、遅延回路502に与えられる遅延量DL1、フィードバック用の乗算回路505に与えられる係数(帰還量)RT2が、係数取得部56から出力される。
FIG. 5A is a diagram illustrating a configuration example of an all-pass filter, and FIG. 5B is a diagram illustrating a configuration example of a comb filter. As shown in FIG. 5A, the all-
図5(b)に示すように、コムフィルタ510は、増幅回路511、加減算回路512、遅延回路513、フィードバック乗算回路514を有する。遅延回路513に与えられる遅延量DL2、フィードバック用の乗算回路514に与えられる係数(帰還量)RT3が、係数取得部56から出力される。また、コムフィルタ510に、加減算回路512から遅延回路516を経ずに出力される経路(符号516)が設けられていても良い。この場合には、遅延回路513の出力データと経路516を経たデータとを加算する加算回路515が設けられる。コムフィルタ510において、たとえば、帰還量RT3や遅延量DL2を増大させることにより、フィルタ効果がより高められる。
As shown in FIG. 5B, the
後述するイフェクトレベルEFLが大きくなるのにしたがって、フィルタ効果が高められる。したがって、本実施の形態においては、EFLが増大するのにしたがって、帰還量RT3、遅延量DL2が増大するように、CPU14からリバーブ50に、リバーブ制御信号が出力される。フィルタ効果が高められるのにしたがって、リバーブ50によるイフェクト効果、つまり、残響時間や残響音のレベルを含む残響レベルが大きくなる。
As the effect level EFL described later increases, the filter effect is enhanced. Therefore, in the present embodiment, a reverberation control signal is output from the
図6は、本実施の形態にかかる電子楽器において実行される処理を概略的に示すフローチャートである。図6に示すように、電子楽器10のCPU14は、たとえば、RAM18に記憶されたデータのクリアを含むイニシャライズ処理を行う(ステップ601)。
FIG. 6 is a flowchart schematically showing processing executed in the electronic musical instrument according to the present embodiment. As shown in FIG. 6, the
イニシャライズ処理(ステップ601)が終了すると、CPU14は、操作子群21の各スイッチの操作を検出し、検出された操作にしたがった処理を実行するスイッチ処理を実行する(ステップ602)。スイッチ処理においては、音色指定スイッチ、効果音による効果の度合い、つまり、効果の大きさ(深さ)を設定する種々の効果音設定スイッチ、効果音発生要素を指定する効果音指定スイッチなどの操作が検出される。スイッチ処理で検出されたスイッチ状態を示す情報は、RAM18の所定の領域に格納される。スイッチ状態を示す情報には、たとえば、効果音設定スイッチにより設定された、効果のレベルを示す設定レベル、動作する効果音発生要素の種別、効果音発生要素の数(決定要素数)が含まれる。
When the initialization process (step 601) is completed, the
なお、効果音設定スイッチは、効果音発生要素の種別ごとに複数存在し得る。たとえば、効果音発生要素がリバーブであれば、効果音設定スイッチはリバーブ効果を設定するリバーブ効果設定スイッチとなる。また、効果音発生要素がコーラスであれば、効果音設定スイッチは、コーラスのデプスを設定するコーラスデプス設定スイッチとなる。効果音設定スイッチにより入力された設定レベルは、たとえば、「0」〜「127」の値をとり、設定レベルの値が大きくなるのにしたがって、効果音による効果のレベルが大きく(深く)なる。 Note that a plurality of sound effect setting switches may exist for each type of sound effect generating element. For example, if the sound effect generating element is a reverb, the sound effect setting switch is a reverb effect setting switch for setting a reverb effect. If the sound effect generating element is chorus, the sound effect setting switch is a chorus depth setting switch for setting the chorus depth. The setting level input by the sound effect setting switch takes a value of “0” to “127”, for example, and the level of the effect by the sound effect increases (deepens) as the value of the setting level increases.
次いで、CPU14は、鍵盤12の各鍵のオン・オフ状態を検出する(ステップ603)。CPU14は、新たにオンされた鍵については、オン状態となった時刻を、RAM18に格納する。本実施の形態においては、鍵は2つスイッチを有し、鍵の押下に伴って2つのスイッチが順次オンされるようになっている。したがって、CPU14は、各鍵について2つのスイッチのそれぞれのオン時刻をRAM18に格納する。この2つのオン時刻の時間差に基づいて、いわゆるベロシティが算出される。また、CPU14は、新たにオフ状態となったスイッチについても、オフ状態となった時刻をRAM18に格納する。
Next, the
押鍵検出処理(ステップ603)が終了すると、CPU14は、混合比算出処理を実行する(ステップ604)。図7は、本実施の形態にかかる混合比算出処理の例を示すフローチャートである。図7に示すように、CPU14は、RAM18中の設定レベルおよび決定要素数を取得して(ステップ701)、設定レベル、決定要素数に変化があったかを判断する(ステップ702)。ステップ702でNoと判断された場合には処理を終了する。
When the key press detection process (step 603) ends, the
その一方、ステップ702でYesと判断された場合には、CPU14は、決定要素数が「1」であるか否かを判断する(ステップ703)。図4に示す効果音発生回路27においては、単一の効果音発生要素のみであるため、決定要素数は「1」となる。決定要素数が「2」以上、つまり、「2」以上の効果音発生要素を含む効果音発生回路27の例については後述する。
On the other hand, if it is determined Yes in
ステップ703でYesと判断された場合には、イフェクトレベルEFLを、RAM18に格納されていた設定レベルLとする(ステップ704)。次いで、CPU14は,ROM16に格納されたイフェクトレベル・係数テーブルを参照して、イフェクトレベルEFLに対応付けられた混合比Ratioを取得する(ステップ705)。混合比Ratioは、図3における周期成分楽音波形データに乗算する係数aに対する、非周期成分楽音波形データに乗算する係数bの割合(b/a)に相当する。本実施の形態においては、効果音発生回路における効果の大きさ(深さ)が増大するのにしたがって、非周期成分楽音波形データの割合が小さくなる。
If YES is determined in
非周期成分の楽音波形は、基本的には、アタック時に発生する楽音波形から構成される。たとえば、ピアノのハンマノイズや打弦音は、押鍵の直後に短時間だけ生じる。たとえば、楽音波形の遅延や帰還による効果音において、非周期成分の楽音波形が長時間にわたって残存することは聴感上望ましくない。そこで、本実施の形態においては、遅延量や帰還量の増大を伴う、効果の大きさ(深さ)の増大にしたがって、周期成分の楽音波形に対する非周期成分の楽音波形の割合を小さくすることで、不自然な効果音の発生を抑制している。 The musical sound waveform of a non-periodic component is basically composed of a musical sound waveform generated during an attack. For example, a hammer noise or a stringing sound of a piano is generated only for a short time immediately after a key is pressed. For example, it is not desirable from the viewpoint of hearing that a musical sound waveform of a non-periodic component remains for a long time in a sound effect due to delay or feedback of a musical sound waveform. Therefore, in the present embodiment, the ratio of the non-periodic musical tone waveform to the periodic component musical tone shape is reduced in accordance with the increase in the magnitude (depth) of the effect accompanying an increase in the delay amount and the feedback amount. Therefore, the generation of unnatural sound effects is suppressed.
図8は、本実施の形態にかかるイフェクトレベル・係数テーブルの構成例を示す図である。本実施の形態においては、設定レベルLは、「0」〜「127」の何れかの値をとり得る。したがって、イフェクトレベルEFLも「0」〜「127」の何れかの値をとる。また、混合比Ratioは、イフェクトレベルEFLが「0」、つまり、効果の大きさ(深さ)が最小であるときに、「1」となる。つまり、効果の大きさ(深さ)が最小であるときには、非周期成分楽音波形データは、周期成分楽音波形データと同じレベルで出力される。その一方、混合比Ratioは、イフェクトレベルEFLが「127」、つまり、効果の大きさ(深さ)が最大であるときには、最小値である「0・5」となる。つまり、非周期成分楽音データは、周期成分波形データの半分のレベルとなる。 FIG. 8 is a diagram showing a configuration example of the effect level / coefficient table according to the present embodiment. In the present embodiment, the setting level L can take any value from “0” to “127”. Therefore, the effect level EFL also takes any value from “0” to “127”. The mixing ratio Ratio is “1” when the effect level EFL is “0”, that is, when the magnitude (depth) of the effect is minimum. That is, when the magnitude (depth) of the effect is minimum, the non-periodic component musical sound waveform data is output at the same level as the periodic component musical sound waveform data. On the other hand, the mixture ratio Ratio is “0.5” which is the minimum value when the effect level EFL is “127”, that is, when the magnitude (depth) of the effect is the maximum. That is, the non-periodic component musical sound data has a level half that of the periodic component waveform data.
図8に示す例では、混合比Ratioは、設定レベルが増大するのにしたがって、最高値「1」から最小値「0.5」まで、指数関数的に減少している。無論、これに限定されず、リニアに減少するように構成されていても良いし、設定レベルが増大するのにしたがって混合比Ratioが一様に減少するような他の関数を用いても良い。 In the example shown in FIG. 8, the mixing ratio Ratio decreases exponentially from the maximum value “1” to the minimum value “0.5” as the set level increases. Of course, the present invention is not limited to this, and it may be configured to decrease linearly, or another function that uniformly decreases the mixing ratio Ratio as the set level increases may be used.
CPU14は、取得された混合比Ratioに基づいて、レベル調整係数a、bを算出して、混合比調整回路26に出力する(ステップ706)。たとえば、周期成分波形データに乗じるレベル調整係数aを、「1」のまま固定して、非周期成分波形データに乗じるレベル調整係数b=Ratioとしても良い。或いは、a+b=1となるように、混合比Ratioに基づいて、a、bが決定されても良い。
The
次に、ステップ703でNoと判断された場合について説明する。決定要素が「1」より大きいことは、効果音発生回路27に、複数の効果音発生要素が含まれる場合を示す。図9は、効果音発生要素が2つある効果音発生回路の他の例を示すブロックダイヤグラムである。図9に示すように、他の例にかかる効果音発生装置27は、効果音発生要素として、残響音発生回路であるリバーブ901と、コーラス902とを有する。リバーブ901とコーラス902とは直列に接続され、リバーブ901の出力が、コーラス902に与えられる。コーラス902の出力は、加算回路903に与えられ、加算回路903は、コーラス902の出力と、直接出力データとを加算して出力する。
Next, the case where No is determined in
リバーブ901には、CPU14からリバーブ制御信号が与えられる。リバーブ制御信号は、図4に示すリバーブ制御信号と同様である。また、コーラス902には、CPU14からコーラスデプスを含むコーラス制御信号が出力される。リバーブ制御信号およびコーラス制御信号は、それぞれ、効果音設定スイッチのリバーブ効果設定スイッチおよびコーラスデプス設定スイッチに入力された設定レベルに基づいて決定される。設定レベルの値が大きくなるのにしたがって、リバーブ効果、および、コーラス効果はより大きく(深く)なる。
The
ステップ703でNoと判断された場合には、CPU14は、効果音発生要素ごとの重み付け値Wnを取得する(ステップ707)。図9に示す例については、CPU14は、リバーブ(効果音発生要素0)についての重み付け値W0およびコーラス(効果音発生要素1)についての重み付け値W1を取得する。重み付け値Wnは、効果音発生回路27に設けられる効果音発生要素の組み合わせごとに予め定められ、たとえば、ROM16に格納されている。
When it is determined No in
次いで、CPU14は、イフェクトレベルEFLとして、効果音発生要素のそれぞれの設定レベルLnと、対応する重み付けWnとの積の総和Σ(Wn・Ln)を算出する(ステップ708)。ステップ708により、効果音発生要素ごとの重みを考慮した設定レベルに基づいて、イフェクトレベルEFLを得ることができる。EFLが最大値(本実施の形態においては、127)を超えていれば(ステップ709でYes)、CPU14は、EFLを最大値に設定する(ステップ710)。その後、ステップ705に進み、CPU14は,ROM16に格納されたイフェクトレベル・係数テーブルを参照して、イフェクトレベルEFLに対応付けられた混合比Ratioを取得する。
Next, the
混合比算出処理(ステップ604)が終了すると、CPU14は発音処理を実行する(ステップ605)。発音処理においては、CPU14は、押鍵された鍵にしたがって、所定の音高、音色およびベロシティで楽音波形データを生成させるための、発音指示信号を発音回路20に出力する。発音回路20は、CPU14から発音指示信号を受理すると、音色情報にしたがった所定の波形データ(周期成分波形データ201および非周期成分波形データ202)をROM16の波形データ記憶部30から、音高情報にしたがった速度で読み出し、かつ、ベロシティにしたがったレベルの楽音波形データを生成する。また、発音処理において、CPU14は、離鍵された鍵について消音を指示する消音指示信号を発音回路20に出力する。
When the mixture ratio calculation process (step 604) ends, the
発音処理により生成された周期成分楽音波形データおよび非周期成分楽音波形データは、混合比調整回路26に出力され、混合比調整回路26において、それぞれレベル調整係数が乗じられる。
The periodic component musical sound waveform data and the non-periodic component musical sound waveform data generated by the sound generation process are output to the mixing
その後、CPU14は、その他、電子楽器10を作動させるための他の必要な処理を実行して(ステップ606)、ステップ602に戻る。ステップ606で実行される処理には、たとえば、表示装置(図示せず)の画面上に表示すべき画像データを生成および表示するや、LED(図示せず)のオン・オフが含まれる。
Thereafter, the
本実施の形態においては、混合比調整回路26は、楽音波形データに付与する効果の度合い、たとえば、効果の大きさや深さが大きくなるのにしたがって、周期成分の楽音波形データに対する、非周期成分の楽音波形データの比が小さくなるように、周期成分の楽音波形データと非周期成分の楽音波形データとの混合比を決定して、混合比に基づいて周期成分の楽音波形データと非周期成分の楽音波形データとを加算する。したがって、楽音波形データに付与する効果の度合いが大きくなったときに、非周期成分の楽音波形の割合を小さくすることで、非周期成分の楽音波形が長時間にわたって残存することを防止し、聴感上好ましい楽音を出力することが可能となる。
In the present embodiment, the mixing
また、本実施の形態においては、混合比調整回路26は、効果音発生回路27において周期成分の楽音波形データと非周期成分の加算データに付与する効果の設定レベルに基づいて、混合比を決定する。たとえば、設定レベルと混合比とを対応付けたテーブルを、ROMなどのメモリに記憶しておき、テーブルを参照することにより混合比を求めるように構成すれば良い。設定レベルと混合比とを対応付けることにより、複雑な演算を経ることなく適切な混合比を得ることが可能となる。
In the present embodiment, the mixing
また、本実施の形態においては、効果音発生回路が複数の効果音発生要素を有する場合には、混合比調整回路26は、複数の効果音発生要素ごとの効果の設定レベルと、効果音発生要素に対応付けられた重み付け係数とに基づいて、混合比を決定する。これにより、効果音複数要素が複数存在する場合、たとえば、効果音発生回路27にリバーブとコーラスとが含まれる場合にも、効果音発生要素の種別ごとの重み付け係数を考慮して、適切な混合比を取得することができる。
In the present embodiment, when the sound effect generating circuit has a plurality of sound effect generating elements, the mixing
また、本実施の形態においては、混合比調整回路26は、混合比に基づいて、周期成分の楽音波形データおよび非周期成分の楽音波形データに、それぞれ、第1のレベル調整係数aおよび第2のレベル調整係数bを乗じて、これらを加算して加算データを得て、加算データを効果音を付与するための効果音付与データおよび直接出力データとして効果音発生手段に出力する。効果音発生回路27は、効果音付与データに所定の効果を与えて効果音データを生成し、当該効果音データと、直接出力データとを加算して出力する。これにより、直接音に相当する直接出力データについても、混合比を考慮することが可能となる。
Further, in the present embodiment, the mixing
本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.
たとえば、前記実施の形態において、効果音発生回路27が、単一の効果音発生要素を含む例(図4)および2つの効果音発生要素を含む例(図9)を示したが、効果音発生要素は3以上であっても良い。図10は、本発明の他の実施の形態にかかる効果音発生回路を示すブロックダイヤグラムである。図10に示すように、本実施の形態において、効果音発生回路27は、4つの効果音発生要素(効果音発生要素0(符号1000)〜効果音発生要素3(符号1003))を含み、任意の効果音発生要素を、直列或いは並列に接続して、楽音波形データに所望の効果を付与することが可能となる。効果音発生要素0〜3(符号1000〜1003)の何れかを経た出力は、加算回路1031において、直接出力データと加算されて、最終的に出力される。
For example, in the above-described embodiment, the sound
図10に示すように、たとえば、効果音発生要素0(符号1000)の出力は、出力選択機能付きのバッファ1011を経て、効果音発生要素1(符号1001)の出力と加算される加算回路1021、効果音発生要素2(符号1002)の出力と加算される加算回路1032、効果音発生要素3(符号1003)の出力と加算される加算回路1033を順次経ることになる。すなわち、バッファ1011を通る経路は、センドラインとなり、他の効果音発生要素の出力と加算されることで、他の効果音発生要素の出力と並列して出力される。
As shown in FIG. 10, for example, the output of the sound effect generating element 0 (reference numeral 1000) is added to the output of the sound effect generating element 1 (reference numeral 1001) via the
その一方、効果音発生要素0(符号1000)の出力選択機能付きのバッファ1012を通る経路は、加算回路1022、1023を介して、効果音発生要素2(符号1002)に入力される。バッファ1013を通る経路は、加算回路1024〜1026を介して、効果音発生要素3(符号1003)に入力される。バッファ1014を通る経路は、加算回路1027を介して、効果音発生要素1(符号1001)に入力される。すなわち、バッファ1012、1013、1014を通る経路は、それぞれ、リターンラインとなり、その経路を経た出力は、他の効果音発生要素に直列に入力される。
On the other hand, the path through the
図10に示す効果音発生回路においては、所望の経路をアクティブにするように、出力選択機能付きのバッファを選択することで、所望の効果音発生要素をアクティブにして、直列或いは並列に使用することができる。この例では、アクティブとなった効果音発生要素の数が、決定要素数となる。 In the sound effect generating circuit shown in FIG. 10, a desired sound effect generating element is activated by selecting a buffer with an output selection function so as to activate a desired path, and used in series or in parallel. be able to. In this example, the number of active sound effect generating elements is the number of determining elements.
効果音発生要素として、残響音発生回路(リバーブ)、コーラス、ディレイ、ピアノのダンパペダル(図示せず)のオンに応じてピアノの弦共鳴や筐体の共鳴による共鳴音を楽音波形データに付与する共鳴音発生回路などを適用することができる。 As a sound effect generation element, a resonance sound due to piano string resonance or casing resonance is added to musical sound waveform data in response to reverberation sound generation circuit (reverb), chorus, delay, and piano damper pedal (not shown) being turned on. A resonance generation circuit or the like can be applied.
また、前記実施の形態において、混合比調整回路26は、周期成分楽音波形データおよび非周期成分楽音波形データのそれぞれに、レベル調整係数を乗じてそれらを加算し、加算された楽音波形データを、効果音付与データおよび直接出力データとして、効果音発生回路27に出力している。しかしながら、このような構成に限定されるものではない。たとえば、効果音付与データとして出力する楽音波形データのセンド量を調整するような形態であっても良い。
In the embodiment, the mixing
図11は、本発明の他の実施の形態にかかる混合比調整回路を示すブロックダイヤグラムである。図11に示すように、混合比調整回路26は、加算回路141を有し、加算回路141は、周期成分楽音波形データと非周期成分楽音波形データとを加算して、加算された波形データを、直接出力データとして、効果音発生回路27に出力する。また、混合比調整回路26は、周期成分楽音波形データを、レベル調整係数aにて乗算する乗算回路142、非周期成分楽音波形データを、レベル係数bにて乗算する乗算回路143、および、乗算回路142の出力データと乗算回路143の出力データとを加算する加算回路144を有する。加算回路144において加算されたデータは、効果音付与データとして、効果音発生回路27に出力される。
FIG. 11 is a block diagram showing a mixing ratio adjusting circuit according to another embodiment of the present invention. As shown in FIG. 11, the mixing
他の実施の形態にかかる混合比調整回路では、直接出力データのレベルは一定にして、効果音付与データにおける混合比およびレベルのみが変更される。したがって、そのまま出力される直接出力データは、混合比の変化に影響されない。したがって、直接音については元のレベルのまま出力したい場合に好適である。 In the mixing ratio adjustment circuit according to another embodiment, the level of the direct output data is kept constant, and only the mixing ratio and level in the sound effect applying data are changed. Therefore, the direct output data output as it is is not affected by the change in the mixing ratio. Therefore, the direct sound is suitable when it is desired to output the original level as it is.
また、前記実施の形態において、混合比Ratioの最小値は「0・5」としているがこれに限定されるものではなく、それより小さい値或いは大きい値としても良いことは言うまでもない。また、混合比調整回路において、周期成分楽音波形データのレベルが一定であれば、レベル調整係数は「1」で固定できるため、第1の乗算回路(たとえば、図3の符号41)を省略することもできる。
Moreover, in the said embodiment, although the minimum value of mixing ratio Ratio is set to "0.5", it is not limited to this, and it cannot be overemphasized that it may be a smaller value or a larger value. In the mixing ratio adjustment circuit, if the level of the periodic component musical sound waveform data is constant, the level adjustment coefficient can be fixed at “1”, and therefore the first multiplication circuit (for example,
10 電子楽器
12 鍵盤
14 CPU
16 ROM
18 RAM
20 発音回路
21 操作子群
22 音響システム
25 効果音付与回路
26 混合比調整回路
27 効果音発生回路
10 Electronic
16 ROM
18 RAM
DESCRIPTION OF
Claims (6)
前記楽音波形データは、周期成分の楽音波形データおよび非周期成分の楽音波形データから構成され、
前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データを受け入れ、前記楽音波形データに付与する効果の度合いが大きくなるのにしたがって、前記周期成分の楽音波形データに対する、前記非周期成分の楽音波形データの比が小さくなるように、前記周期成分の楽音波形データと前記非周期成分の楽音波形データとの混合比を決定して、前記周期成分の楽音波形データと前記非周期成分の楽音波形データとを加算する混合比調整手段と、
前記周期成分の楽音波形データと前記非周期成分の楽音波形データとの加算データに所定の効果を与える効果音発生手段と、を備えたことを特徴とする効果音付与装置。 A sound effect imparting device for imparting sound effects to musical sound waveform data,
The musical sound waveform data is composed of musical sound waveform data of periodic components and musical sound waveform data of non-periodic components,
Accepting the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component, and increasing the degree of the effect imparted to the musical tone waveform data, the non-periodic component of the periodic component with respect to the musical tone waveform data The mixing ratio of the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component is determined so that the ratio of the musical tone waveform data is reduced, and the musical tone waveform data of the periodic component and the musical tone of the non-periodic component are determined. Mixing ratio adjusting means for adding waveform data;
A sound effect applying device, comprising: sound effect generating means for giving a predetermined effect to the addition data of the musical sound waveform data of the periodic component and the musical sound waveform data of the non-periodic component.
前記混合比調整手段が、前記複数の効果音発生要素ごとの効果の設定レベルと、効果音発生要素に対応付けられた重み付け係数とに基づいて、前記混合比を決定するように構成されたことを特徴とする請求項1または2に記載の効果音付与装置。 The sound effect generating means has a plurality of sound effect generating elements,
The mixing ratio adjusting unit is configured to determine the mixing ratio based on a setting level of an effect for each of the plurality of sound effect generating elements and a weighting coefficient associated with the sound effect generating element. The sound effect applying device according to claim 1, wherein:
前記効果音発生手段は、前記加算データに所定の効果を与えた効果音データを発生して、前記効果音データと、前記加算データとを加算して出力するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載の効果音付与装置。 The mixing ratio adjusting means multiplies the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component based on the mixing ratio by a first level adjustment coefficient and a second level adjustment coefficient, respectively. , Adding these to obtain added data, outputting the added data to the sound effect generating means,
The sound effect generating means is configured to generate sound effect data that gives a predetermined effect to the addition data, add the sound effect data, and the addition data, and output the result. The sound effect imparting device according to any one of claims 1 to 3.
前記効果音発生手段は、前記第1の加算データに所定の効果を与えた効果音データを発生して、前記効果音データと、前記第2の加算データとを加算して出力するように構成されたことを特徴とする請求項1ないし3の何れか一項に記載の効果音付与装置。 The mixing ratio adjusting means multiplies the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component based on the mixing ratio by a first level adjustment coefficient and a second level adjustment coefficient, respectively. These are added to generate first addition data and output to the sound effect generating means, and the second addition is performed by adding the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component Generate data and output to the sound effect generating means,
The sound effect generating means generates sound effect data that gives a predetermined effect to the first addition data, adds the sound effect data and the second addition data, and outputs the result. The sound effect applying device according to claim 1, wherein the sound effect applying device is provided.
鍵盤と、
前記鍵盤を構成する鍵において、押鍵された鍵の音高の、前記周期成分の楽音波形データおよび前記非周期成分の楽音波形データから構成される楽音波形データを生成する発音手段と、を備えたことを特徴とする電子楽器。 The sound effect applying device according to any one of claims 1 to 5,
The keyboard,
Sound generation means for generating musical tone waveform data composed of the musical tone waveform data of the periodic component and the musical tone waveform data of the non-periodic component of the pitch of the depressed key in the key constituting the keyboard, An electronic musical instrument characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009268341A JP2011112815A (en) | 2009-11-26 | 2009-11-26 | Sound effect attaching device and electronic musical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009268341A JP2011112815A (en) | 2009-11-26 | 2009-11-26 | Sound effect attaching device and electronic musical instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011112815A true JP2011112815A (en) | 2011-06-09 |
Family
ID=44235197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009268341A Pending JP2011112815A (en) | 2009-11-26 | 2009-11-26 | Sound effect attaching device and electronic musical instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011112815A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000148137A (en) * | 1998-11-05 | 2000-05-26 | Roland Corp | Effect adding device |
JP2007193130A (en) * | 2006-01-19 | 2007-08-02 | Kawai Musical Instr Mfg Co Ltd | Resonance sound generating device |
-
2009
- 2009-11-26 JP JP2009268341A patent/JP2011112815A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000148137A (en) * | 1998-11-05 | 2000-05-26 | Roland Corp | Effect adding device |
JP2007193130A (en) * | 2006-01-19 | 2007-08-02 | Kawai Musical Instr Mfg Co Ltd | Resonance sound generating device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4905284B2 (en) | Resonance addition device for keyboard instruments | |
JP4716422B2 (en) | Resonant sound generator | |
JP6391265B2 (en) | Electronic keyboard instrument | |
CN108242232B (en) | Musical sound generation device, electronic musical instrument, musical sound generation method, and storage medium | |
JP2008102365A (en) | Musical sound generator | |
JP6819309B2 (en) | Resonance signal generator, electronic music device, resonance signal generation method and program | |
JP2018106006A (en) | Musical sound generating device and method, and electronic musical instrument | |
JP4702392B2 (en) | Resonant sound generator and electronic musical instrument | |
JPH027078B2 (en) | ||
JP5257950B2 (en) | Resonant sound generator | |
US11893968B2 (en) | Electronic musical instrument, electronic keyboard musical instrument, and method of generating musical sound | |
JP2008033112A (en) | Resonance sound generator | |
JPH06195075A (en) | Musical tone generating device | |
JP3149708B2 (en) | Music synthesizer | |
JP2004317615A (en) | Apparatus and method for resonance, and computer program for resonance | |
WO2021049424A1 (en) | Sound signal generation method, sound signal generation device, sound signal generation program, and electronic music apparatus | |
JP2009025589A (en) | Resonance sound adding device of electronic musical instrument and electronic musical instrument | |
JP2003208182A (en) | Musical sound generator | |
JP5169753B2 (en) | Resonance sound adding device and electronic musical instrument | |
JP2011112815A (en) | Sound effect attaching device and electronic musical instrument | |
US5712439A (en) | Musical tone signal producing apparatus for simulating the effect of a vibrating element of a wind instrument | |
JP5035388B2 (en) | Resonant sound generator and electronic musical instrument | |
JP2009058636A (en) | Effect-imparting apparatus | |
JP3782150B2 (en) | Stereo sound control device | |
JP3085696B2 (en) | Music synthesizer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140311 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140508 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20141209 |