JP3745063B2 - Music generator - Google Patents

Music generator Download PDF

Info

Publication number
JP3745063B2
JP3745063B2 JP00425297A JP425297A JP3745063B2 JP 3745063 B2 JP3745063 B2 JP 3745063B2 JP 00425297 A JP00425297 A JP 00425297A JP 425297 A JP425297 A JP 425297A JP 3745063 B2 JP3745063 B2 JP 3745063B2
Authority
JP
Japan
Prior art keywords
waveform
signal
group
waveform data
phase lock
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
JP00425297A
Other languages
Japanese (ja)
Other versions
JPH10198367A (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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP00425297A priority Critical patent/JP3745063B2/en
Publication of JPH10198367A publication Critical patent/JPH10198367A/en
Application granted granted Critical
Publication of JP3745063B2 publication Critical patent/JP3745063B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、複数の波形信号を合成して1つの楽音信号を生成する楽音生成装置に関する。
【0002】
【従来の技術】
従来より、上述のような楽音生成装置において、複数の波形データ(波形信号)を順次に合成して1つの楽音信号を生成する方式の楽音生成装置と、複数の波形データを同時に合成して1つの楽音信号を生成する方式の楽音生成装置とが知られている。
【0003】
図6は、1つの楽音を構成する複数の波形データを示す図、図7は、従来の、複数の波形データを順次に合成して1つの楽音信号を生成する方式の楽音生成装置の原理説明図である。
ここでは、打楽器を模擬した打撃パッドが叩かれると、それに応じた打楽器音をあらわす楽音信号が生成されるものとする。
【0004】
図6には、図6(a)から図6(f)に示すような6種類の波形データ1,2,……,6が示されており、波形データ1,3,5はパッドが強く叩かれた場合のものであり、波形データ2,4,6はパッドが弱く叩かれた場合のものである。
図6(a)から図6(f)に示すような6種類の波形データ1,2,……,6から1つの楽音信号を生成するには、先ず図7に示す時刻t0で楽音信号生成指示をあらわすトリガ信号が入力される。すると、このトリガ信号の入力を受けて、ステップS71において、波形データ1のスタート・アドレスとエンド・アドレスを、図示しない波形読出部に書き込む。次にステップS72において、発音開始命令をその波形読出部に書き込む。すると、時刻t1で、1つの楽音信号Aを構成する波形データ1が生成される。以下同様にして、ステップS73,S74、ステップS75,S76、ステップS77,S78、ステップS79,S80、ステップS81,S82において、時刻t2,t3,t4,t5,t6で波形データ2,3,4,5,6が順次に生成される。このようにして6種類の波形データ1,2,……,6から1つの楽音信号Aが生成される。この楽音生成装置では、トリガ信号が入力された時刻t0から発音開始時刻t1までの時間が短かくて済む。
【0005】
図8は、従来の、複数の波形データを同時に合成して1つの楽音信号を生成する方式の楽音生成装置の原理説明図である。
この楽音生成装置で、図6(a)から図6(f)に示すような6種類の波形データ1,2,……,6から1つの楽音信号を生成するには、先ず図8に示す時刻t0でトリガ信号が入力される。すると、このトリガ信号の入力を受けて、ステップS91において、波形データ1から波形データ6までのすべてのスタート・アドレスとエンド・アドレスを波形読出部に書き込む。
【0006】
さらにステップS92において、発音開始命令をその波形読出部に書き込む。すると、時刻tpで6種類の波形データ1,2,……,6すべてが同時に合成され、これにより1つの楽音信号Bが生成される。この楽音生成装置では、6種類の波形データが同時に合成され1つの楽音信号Bが生成されるため、時刻tpで6種類の波形データの発音開始が同時に開始される。このように複数の波形データの発音開始時刻を合わせることをフェイズロックといい、フェイズロック処理を行なって発音することを「フェイズロックをかけて発音する」という。この楽音生成装置では、6種類の波形データの発音開始時刻が同時刻なため、聴感上アタック感が損なわれることはない。
【0007】
【発明が解決しようとする課題】
しかし、図7に示す、複数の波形データを順次に合成して1つの楽音信号を生成する楽音生成装置の技術では、各波形データ毎にスタート・アドレスとエンド・アドレスを波形読出部に書き込むものであるため、その都度処理時間が発生し、1つの楽音信号を構成する6種類の波形データそれぞれには、図7に示す時刻t1,t2,t3,t4,t5,t6で示されるように発音開始時刻のずれが生ずる。このため、トリガ信号が入力された時刻t0から発音開始時刻t1までの時間は短くて済むが、聴感上アタック感が損なわれてしまうという問題がある。
【0008】
一方、図8に示す、複数の波形データを同時に合成して1つの楽音信号を生成する楽音生成装置の技術では、複数の波形データすべてのスタート・アドレスとエンド・アドレスを波形読出部に同時に書き込むものであるため、長い処理時間が発生し、トリガ信号が入力された時刻t0から発音開始時刻tpまでの時間が長くかかる。一般に、電子楽器において、トリガ信号の入力から発音開始までの時間が長いと、特にパッドを強打した場合、発音の遅れが目立ち演奏に支障をきたすことがある。また、最近の電子楽器では、強打と弱打に分けてそれぞれ異なる波形データ群を持ち、入力されたトリガ信号の振幅の大きさ(パッドを叩く強さ)に応じて複数の波形データの合成比を変化させるものが多い。このようなものでは同時に多くの波形データにフェイズロックをかけて再生しているため、聴感上アタック感は損なわれないものの発音の遅れが問題視されるケースもでてきている。
【0009】
本発明は、上記事情に鑑み、聴感上アタック感を損なうことなく、発音開始時刻が早められた楽音生成装置を提供することを目的とする。
【0010】
【課題を解決するための手段】
上記目的を達成する本発明の楽音生成装置は、複数の波形信号を合成して1つの楽音信号を生成する楽音生成装置であって、
前記複数の波形信号を記憶した記憶手段と、
楽音信号生成指示を受け波形信号を前記記憶手段から読み出すための波形読み出しパラメータの設定を受け、さらに生成開始指示を受けることにより前記波形読み出しパラメータに対応した波形信号を前記記憶手段から読み出し生成する、複数の波形信号の生成を担う波形信号生成手段と、
1つの楽音を構成する複数の波形信号を第1のグループと、第2のグループに分けるために、1つの楽音波形に対して複数の波形データの発音開始時刻を合わせるフェイズロック・グループを設定したグループ分け情報を記憶するグループ分け情報記憶手段と、
楽音信号生成指示を受け、前記グループ分け情報記憶手段に記憶されたグループ分け情報に従って、前記波形信号生成手段に前記第1のフェイズロック・グループについて波形信号生成のための波形読み出しパラメータを設定するとともに、該波形読み出しパラメータの設定の終了した該グループを構成する全ての波形信号に対して発音開始時刻を合わせて読み出し生成開始を指示し、
次に前記第2のフェイズロック・グループについて波形信号生成のための波形読み出しパラメータを設定するとともに、該波形読み出しパラメータの設定の終了した該グループを構成する全ての波形信号に対して発音開始時刻を合わせて読み出し生成開始を指示する楽音信号生成制御手段とを備えたことを特徴とする。
【0011】
一般に、打楽器では叩く強さによって音色が異なり、強く叩くと高い周波数成分が多く含まれた波形信号が生成され、弱く叩くと高い周波数成分があまり含まれない波形信号が生成される。また強く叩くと早く発音が開始される。そこで、グループ分け情報記憶手段により、強く叩いた場合に生成される高い周波数成分が多く含まれた波形信号を生成する複数の波形信号どうし、弱く叩いた場合に生成される、高い周波数成分があまり含まれない波形信号を生成する複数の波形信号どうしをグループ分けしておき、楽音信号制御手段により、先ず強く叩いた場合における複数の波形信号を生成し、次に弱く叩いた場合における複数の波形信号を生成する。そして、生成したこれらの波形信号を叩いた強さに対応した割合で混合することによって、叩いた強さに対応した音色の波形信号を生成する。このようにすると、叩いた強さに対応した音色の波形信号を得ることができるとともに、強く叩いた場合から弱く叩いた場合までのいずれにおいても、聴感上アタック感を損なうことなく、かつ強く叩いた場合における発音の遅れが軽減される。また、強く叩いた場合における複数の波形どうしの位相のずれや、弱く叩いた場合いにおける複数の波形信号どうしの位相のずれが軽減される。従って、複数の波形信号の位相どうしが互いにずれ、それら位相関係によっては、ある周波数成分の波形信号どうしが弱めあったり消滅したり、あるいはある周波数成分の波形信号どうしが強調したりすることにより音色が変化するというようなことが防止される。
【0012】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
図1は、本発明の楽音生成装置の一実施形態を含む電子楽器のブロック図である。
尚、本実施形態では、図1に加えて、前述した図6に示す6種類の波形データをも参照して説明する。
【0013】
図1に示すCPU11は、ROM12に格納されたプログラムをデータ・バス17を経由して読み出し、RAM13を作業領域として種々の処理を実行する。ROM12には、この図1に示す電子楽器10全体の制御を行なうためのプログラムや、詳細は後述するが、1つの楽音を構成する6種類の波形データ(図6参照)を2つにグループ分け(フェイズロック・グループ分け)してなるグループ分け情報と、6種類の波形データのスタート・アドレス,エンド・アドレスから構成された楽音制御情報等が格納されている。
【0014】
RAM13には、楽音制御するにあたり、CPU11が種々の処理を実行するための作業領域が備えられている。
トリガ入力部14には、複数のパッド1,パッド2,……,パッドnからの、それらパットが叩かれたときに発生し楽音信号生成指示をあらわすトリガ信号を入力するための複数のパッド入力端子が装備されている。このトリガ入力部14では、そのトリガ信号を、データ・バス17を介してCPU11に送出する。
【0015】
波形メモリ15には、1つの楽音を構成する、図6に示す6種類の波形データ1,2,…,6が格納されている。
波形読出部16では、波形メモリ15に格納されている波形データを生成するためのパラメータであるスタート・アドレス,エンド・アドレス、および発音開始命令がCPU11から書き込まれることで、波形メモリ15に格納されている波形データを読み出す。
【0016】
このように構成された電子楽器10では、トリガ入力部14に入力されたトリガ信号を受けて、ROM12に格納された楽音制御情報に従って、波形メモリ15に格納されている6種類の波形データそれぞれのスタート・アドレス、エンド・アドレス、および発音開始命令を波形読出部16に書き込むことにより、それら6種類の波形データにフェイズロックをかけて楽音を生成する。以下、詳細に説明する。
【0017】
図2は、図1に示すROM12の、楽音制御情報が格納されている領域を示す模式図である。
ROM12の、図1に示す各パッド1,2,……,nに対応する各領域21,22,……,2nには、楽音番号順に楽音制御情報1,2,……,nが格納されている。これらの楽音制御情報1,2,……,nは、いずれかのパッド1,2,……,nからトリガ信号が検知されると、そのパッドの番号に対応する楽音番号の楽音制御情報がCPU11により読み出され、発音を指示する命令として波形読出部16に送出される。各楽音制御情報1,2,……,nは、図2の右側に示すようにフェイズロック・グループ1、フェイズロック・グループ2、スタート・アドレス1,エンド・アドレス1、スタート・アドレス2・エンド・アドレス2、スタート・アドレス3,エンド・アドレス3、スタート・アドレス4,エンド・アドレス4、スタート・アドレス5,エンド・アドレス5、スタート・アドレス6,エンド・アドレス6から構成されている。
【0018】
フェイズロック・グループには、詳細は後述するが、第1のフェイズロックをかける波形データの番号が格納され、フェイズロック・グループ2には、第2のフェイズロックをかける波形データの番号が格納されている。スタート・アドレス1およびエンド・アドレス1には、波形メモリ5に格納されている波形データ1の先頭アドレスおよび最終アドレスが格納されている。同様に、スタート・アドレス2以降およびエンド・アドレス2以降には、それらに相当する波形データの先頭アドレスおよび最終アドレスが格納されている。
【0019】
図3は、図2に示すフェイズロック・グループ1とフェイズロック・グループ2との波形データに、フェイズロックをかける様子を示す模式図である。
図3(a)に、各bitと、フェイズロックをかける波形データの番号との対応を示す。bitが1であればそれらの波形データどうしでフェイズロックをかける。本実施形態では6種類の波形データで説明しているので6bit構成となっているが、同時に再生されうる波形データの数が増えればそれに応じてbit数も増やすことになる。
【0020】
図3(b)に、フェイズロック・グループ1に格納されているbitデータを示す。ここでは、bit0,2,4が1(フェイズロック・グループ1の値は15H)になっている。このため、パッドが強く叩かれた場合の波形データ1,3,5にフェイズロックがかかり同時発音される。また図3(c)に、フェィズロック・グループ2に格納されているbitデータを示す。ここでは、bit1,3,5が1(フェイズロック・グループ2の値は2AH)になっている。このため、パッドが弱く叩かれた場合の波形データ2,4,6にフェイズロックがかかり同時発音される。
【0021】
図4は、図1に示す電子楽器のメインルーチンのフローチャートである。
図1に示す電子楽器10に電源が投入されると、このルーチンが起動する。まず、ステップS401において初期設定を行なう。次にステップS402に進む。ステップS402では、パッドn(nは叩かれたパッドの番号を表す)からトリガ信号の入力があるか否かが判断される。トリガ信号の入力があると判断された場合はステップS403に進む。一方、トリガ信号の入力がないと判断された場合は再度ステップS402に戻ることによりトリガ信号の入力を待つ。ステップS403では、楽音制御情報nのフェイズロック・グループ1の値を変数iに代入して、ステップS404に進む。ステップS404は、後述する図5に示すフェイズロック発音処理ルーチンであり、このルーチンによりフェイズロック・グループ1の波形データ1,3,5にフェイズロックをかけて発音処理を行なう。次にステップS405に進む。ステップS405では、楽音制御情報nのフェイズロック・グループ2の値を変数iに代入してステップS406に進む。ステップS406は、やはり後述するフェイズロック発音処理ルーチンであり、このルーチンによりフェイズロック・グループ2の波形データ2,4,6にフェイズロックをかけて発音処理を行ない、ステップS402に戻る。
【0022】
図5は、図4に示すフェイズロック発音処理ルーチンのフローチャートである。
まず、ステップS501において、1を変数j(カウンタ)に代入し、ステップS502に進む。ステップS502では、変数iの0bit目の値が1であるか否かが判断される。変数iは、図4に示すステップS403で代入されたフェイズロック・グループ1の値である。変数iの0bit目が1であると判断された場合はステップS503に進む。一方、変数iの0bit目が1でないと判断された場合はステップS505に進む。ステップS503では、スタート・アドレスj(j番目の波形データのスタート・アドレス)を波形読出部に書き込み、ステップS504に進む。ステップS504では、エンド・アドレスj(j番目の波形データのエンド・アドレス)を波形読出部に書き込みステップS505に進む。ステップS505では、変数iを右方向に1bit分ビットシフトし、ステップS506に進む。ステップS506では、変数jをインクリメントし、ステップS507に進む。ステップS507では、変数jがMAXWAVEの値より大きいか否かが判断される。MAXWAVEは定数であり、同時に再生されうる波形データの最大数に設定される。本実施形態では、波形データの最大数は6であるため、6に設定される。変数jがMAXWAVEより大きいと判断された場合は、ステップS508に進む。ステップS508では、先のステップS503およびS504でスタート・アドレス、エンド・アドレスを設定した波形データの発音開始命令を波形読出部に書き込みリターンする。一方、ステップS507において、変数jがMAXWAVE未満であると判断された場合は、ステップS502に戻る。
【0023】
このように本実施形態では、2つのフェイズロック・グループ1,2を設定し、フェイズロック・グループ1に強打したときの楽音を再生するための波形データ群を設定し、またフェイズロック・グループ2に弱打したときの楽音を再生するための波形データ群を設定し、先ずフェイズ・ロックグループ1の波形データ群を再生し、次にフェイズロック・グループ2の波形データ群を再生するものであるため、強打および弱打それぞれぞれの場合において聴感上アタック感を損なうことなく、また強打したときの発音の遅れも、従来の楽音生成装置の、すべての波形データにフェイズロックをかけた場合と比較し、軽減される。
【0024】
尚、本実施形態では、2つのフェイズロック・グループ1,2を設定して1つの楽音信号を生成したが、これに限られるものではなく、3つ以上のフェイズロック・グループを設定して1つの楽音信号を生成してもよい。
【0025】
【発明の効果】
以上説明したように、本発明によれば、複数の波形信号を合成して1つの楽音信号を生成するにあたり、聴感上アタック感を損なうことなく発音開始時刻を早めることができる。
【図面の簡単な説明】
【図1】本発明の楽音生成装置の一実施形態を含む電子楽器のブロック図である。
【図2】図1に示すROM12の、楽音制御情報が格納されている領域を示す模式図である。
【図3】図2に示すフェイズロック・グループ1とフェイズロック・グループ2との波形データに、フェイズロックをかける様子を示す模式図である。
【図4】図1に示す電子楽器のメインルーチンのフローチャートである。
【図5】図4に示すフェイズロック発音処理ルーチンのフローチャートである。
【図6】1つの楽音を構成する複数の波形データを示す図である。
【図7】従来の、複数の波形データを順次に合成して1つの楽音信号を生成する方式の楽音生成装置の原理説明図である。
【図8】従来の、複数の波形データを同時に合成して1つの楽音信号を生成する方式の楽音生成装置の原理説明図である。
【符号の説明】
10 楽音生成装置
11 CPU
12 ROM
13 RAM
14 トリガ入力部
15 波形メモリ
16 波形読出部
17 データ・バス
21,22,……,2n ROM領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a musical sound generating apparatus that generates a single musical sound signal by combining a plurality of waveform signals.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a musical tone generator as described above, a musical tone generator that generates a single musical tone signal by sequentially synthesizing a plurality of waveform data (waveform signals) and a plurality of waveform data that are synthesized simultaneously 1 2. Description of the Related Art Musical tone generators that generate two musical tone signals are known.
[0003]
FIG. 6 is a diagram showing a plurality of waveform data constituting one musical tone, and FIG. 7 is a diagram illustrating the principle of a conventional musical tone generating apparatus that synthesizes a plurality of waveform data sequentially to generate one musical tone signal. FIG.
Here, it is assumed that when a striking pad simulating a percussion instrument is hit, a musical sound signal representing a percussion instrument sound is generated.
[0004]
FIG. 6 shows six types of waveform data 1, 2,..., 6 as shown in FIGS. 6 (a) to 6 (f). The waveform data 2, 4 and 6 are obtained when the pad is tapped weakly.
In order to generate one musical tone signal from six types of waveform data 1, 2,..., 6 as shown in FIGS. 6 (a) to 6 (f), first, a musical tone signal is generated at time t0 shown in FIG. A trigger signal representing an instruction is input. Then, in response to the input of the trigger signal, the start address and end address of the waveform data 1 are written in a waveform reading unit (not shown) in step S71. In step S72, a sound generation start command is written in the waveform reading unit. Then, waveform data 1 constituting one musical tone signal A is generated at time t1. Similarly, in steps S73, S74, steps S75, S76, steps S77, S78, steps S79, S80, and steps S81, S82, waveform data 2, 3, 4, at times t2, t3, t4, t5, and t6. 5, 6 are generated sequentially. In this way, one musical sound signal A is generated from the six types of waveform data 1, 2,... In this musical tone generator, the time from the time t0 when the trigger signal is input to the sound generation start time t1 can be short.
[0005]
FIG. 8 is a diagram illustrating the principle of a conventional musical tone generating apparatus that generates a single musical tone signal by simultaneously synthesizing a plurality of waveform data.
In order to generate one musical tone signal from six types of waveform data 1, 2,..., 6 as shown in FIG. 6 (a) to FIG. A trigger signal is input at time t0. Then, in response to the input of this trigger signal, in step S91, all start addresses and end addresses from waveform data 1 to waveform data 6 are written into the waveform reading unit.
[0006]
In step S92, a sound generation start command is written in the waveform reading unit. Then, at the time tp, all six types of waveform data 1, 2,..., 6 are synthesized at the same time, thereby generating one musical sound signal B. In this musical tone generating apparatus, since six types of waveform data are synthesized simultaneously to generate one musical tone signal B, the start of sound generation of the six types of waveform data is started simultaneously at time tp. Synchronizing the sound generation start times of a plurality of waveform data in this way is called phase lock, and sounding by performing phase lock processing is called “sounding with phase lock”. In this musical sound generating device, since the sound generation start times of the six types of waveform data are the same time, the sense of attack is not impaired in terms of hearing.
[0007]
[Problems to be solved by the invention]
However, in the technique of the musical tone generation apparatus that generates a single musical tone signal by sequentially synthesizing a plurality of waveform data shown in FIG. 7, a start address and an end address are written to the waveform reading unit for each waveform data. Therefore, a processing time is generated each time, and each of the six types of waveform data constituting one musical tone signal is pronounced as indicated by times t1, t2, t3, t4, t5, and t6 shown in FIG. A start time shift occurs. For this reason, the time from the time t0 when the trigger signal is input to the sounding start time t1 can be short, but there is a problem that the sense of attack is impaired in terms of hearing.
[0008]
On the other hand, in the technique of the musical tone generating apparatus that simultaneously synthesizes a plurality of waveform data and generates one musical tone signal as shown in FIG. 8, the start address and the end address of all the plurality of waveform data are simultaneously written in the waveform reading unit. Therefore, a long processing time occurs, and it takes a long time from the time t0 when the trigger signal is input to the sound generation start time tp. In general, in an electronic musical instrument, if the time from the input of a trigger signal to the start of sound generation is long, particularly when the pad is struck, a delay in sound generation may stand out and hinder the performance. Moreover, recent electronic musical instruments have different waveform data groups for hard hits and weak hits, and the composition ratio of multiple waveform data according to the amplitude of the input trigger signal (strength of hitting the pad). There are many things that change In such a case, a large amount of waveform data is reproduced with a phase lock at the same time, and although there is no sense of attack for hearing, there is a case where delay in pronunciation is regarded as a problem.
[0009]
The present invention has been made in view of the above circumstances, and an object thereof is to provide a musical sound generation device whose sound generation start time is advanced without impairing the sense of attack on hearing.
[0010]
[Means for Solving the Problems]
A musical sound generation device of the present invention that achieves the above object is a musical sound generation device that generates a single musical sound signal by combining a plurality of waveform signals,
Storage means for storing the plurality of waveform signals;
Receiving a tone signal generation instruction, receiving a waveform read parameter setting for reading the waveform signal from the storage means, and further receiving a generation start instruction to read out and generate a waveform signal corresponding to the waveform read parameter from the storage means; Waveform signal generating means for generating a plurality of waveform signals;
In order to divide a plurality of waveform signals constituting one musical sound into a first group and a second group, a phase lock group for setting the sounding start times of a plurality of waveform data for one musical sound waveform is set. Grouping information storage means for storing grouping information;
In response to a music signal generation instruction, in accordance with the grouping information stored in the grouping information storage means, waveform read parameters for generating a waveform signal for the first phase-lock group are set in the waveform signal generation means. , Instructing to start reading and generating the sound generation start time for all the waveform signals constituting the group for which the setting of the waveform reading parameter has been completed,
Next, a waveform readout parameter for generating a waveform signal is set for the second phase lock group, and a sounding start time is set for all waveform signals constituting the group for which the setting of the waveform readout parameter has been completed. In addition, a musical tone signal generation control means for instructing the start of read generation is provided.
[0011]
In general, percussion instruments have different timbres depending on their tapping strength. When tapping hard, a waveform signal containing many high frequency components is generated, and when tapping weakly, a waveform signal containing little high frequency components is generated. If you hit it hard, it will begin to sound quickly. Therefore, the grouping information storage means that a plurality of waveform signals that generate a waveform signal that contains a lot of high frequency components that are generated when hitting strongly do not have much high frequency components that are generated when they are hit weakly. A plurality of waveform signals that generate waveform signals not included are grouped together, and a plurality of waveform signals are generated by firstly striking strongly with a tone signal control means, and then a plurality of waveforms when tapping weakly Generate a signal. Then, by mixing the generated waveform signals at a ratio corresponding to the hit strength, a tone color waveform signal corresponding to the hit strength is generated. In this way, it is possible to obtain a timbre waveform signal that corresponds to the strength of the strike, and to strike strongly without impairing the sense of attack in both the case of hitting strongly and the case of hitting weakly. This reduces the delay in pronunciation. Further, a phase shift between a plurality of waveforms when a strong strike is made, and a phase shift between a plurality of waveform signals when a weak strike is made are reduced. Therefore, the phases of the waveform signals are shifted from each other, and depending on the phase relationship, the waveform signals of a certain frequency component are weakened or disappeared, or the waveform signals of a certain frequency component are emphasized. Is prevented from changing.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
FIG. 1 is a block diagram of an electronic musical instrument including an embodiment of a musical sound generating apparatus according to the present invention.
In the present embodiment, description will be made with reference to the six types of waveform data shown in FIG. 6 in addition to FIG.
[0013]
The CPU 11 shown in FIG. 1 reads out the program stored in the ROM 12 via the data bus 17 and executes various processes using the RAM 13 as a work area. In the ROM 12, a program for controlling the entire electronic musical instrument 10 shown in FIG. 1, and six types of waveform data (see FIG. 6) constituting one musical tone, which will be described in detail later, are divided into two groups. Stored is grouping information formed by (phase lock grouping) and musical tone control information composed of start addresses and end addresses of six types of waveform data.
[0014]
The RAM 13 is provided with a work area for the CPU 11 to execute various processes when performing musical tone control.
The trigger input unit 14 has a plurality of pad inputs for inputting a trigger signal from the plurality of pads 1, pads 2,... The terminal is equipped. The trigger input unit 14 sends the trigger signal to the CPU 11 via the data bus 17.
[0015]
The waveform memory 15 stores six types of waveform data 1, 2,..., 6 shown in FIG.
In the waveform reading unit 16, the start address, end address, and sound generation start command, which are parameters for generating the waveform data stored in the waveform memory 15, are written from the CPU 11 and stored in the waveform memory 15. Read waveform data.
[0016]
In the electronic musical instrument 10 configured as described above, each of the six types of waveform data stored in the waveform memory 15 is received according to the musical tone control information stored in the ROM 12 in response to the trigger signal input to the trigger input unit 14. By writing a start address, an end address, and a sound generation start command to the waveform reading unit 16, the six types of waveform data are phase-locked to generate a musical sound. This will be described in detail below.
[0017]
FIG. 2 is a schematic diagram showing an area where the musical tone control information is stored in the ROM 12 shown in FIG.
In the ROM 12, in the areas 21, 22,..., 2n corresponding to the pads 1, 2,..., N shown in FIG. ing. When the trigger signal is detected from any one of the pads 1, 2,..., N, the tone control information of the tone number corresponding to the number of the pad is stored in the tone control information 1, 2,. The data is read by the CPU 11 and sent to the waveform reading unit 16 as a command for instructing sound generation. The musical tone control information 1, 2,..., N are phase lock group 1, phase lock group 2, start address 1, end address 1, start address 2 and end as shown on the right side of FIG. Address 2, Start address 3, End address 3, Start address 4, End address 4, Start address 5, End address 5, Start address 6, End address 6
[0018]
As will be described in detail later, the phase lock group stores the number of the waveform data to which the first phase lock is applied, and the phase lock group 2 stores the number of the waveform data to which the second phase lock is applied. ing. The start address 1 and the end address 1 store the start address and the end address of the waveform data 1 stored in the waveform memory 5. Similarly, after the start address 2 and after the end address 2, the start address and the end address of the waveform data corresponding to them are stored.
[0019]
FIG. 3 is a schematic diagram showing a state in which the phase lock is applied to the waveform data of the phase lock group 1 and the phase lock group 2 shown in FIG.
FIG. 3A shows the correspondence between each bit and the number of waveform data to be phase-locked. If bit is 1, phase lock is applied between those waveform data. In the present embodiment, since six types of waveform data are described, a 6-bit configuration is used. However, if the number of waveform data that can be reproduced simultaneously increases, the number of bits increases accordingly.
[0020]
FIG. 3B shows bit data stored in the phase lock group 1. Here, bits 0, 2, and 4 are 1 (the value of phase lock group 1 is 15H). For this reason, the phase lock is applied to the waveform data 1, 3 and 5 when the pad is strongly hit, and the sound is simultaneously generated. FIG. 3C shows bit data stored in the phase lock group 2. Here, bits 1, 3, and 5 are 1 (the value of phase lock group 2 is 2AH). For this reason, the phase lock is applied to the waveform data 2, 4, 6 when the pad is struck weakly, and the sound is simultaneously generated.
[0021]
FIG. 4 is a flowchart of the main routine of the electronic musical instrument shown in FIG.
When the electronic musical instrument 10 shown in FIG. 1 is turned on, this routine is started. First, initial setting is performed in step S401. Next, the process proceeds to step S402. In step S402, it is determined whether or not a trigger signal is input from the pad n (n represents the number of the hit pad). If it is determined that the trigger signal is input, the process proceeds to step S403. On the other hand, if it is determined that no trigger signal is input, the process returns to step S402 to wait for the trigger signal. In step S403, the value of phase lock group 1 of the musical tone control information n is substituted for the variable i, and the process proceeds to step S404. Step S404 is a phase-lock sound generation routine shown in FIG. 5, which will be described later. By this routine, the waveform data 1, 3, and 5 of the phase-lock group 1 are phase-locked to perform sound generation processing. Next, the process proceeds to step S405. In step S405, the value of phase lock group 2 of the musical tone control information n is substituted for variable i, and the flow proceeds to step S406. Step S406 is a phase-lock sound generation routine, which will be described later. With this routine, the phase lock is applied to the waveform data 2, 4, and 6 of the phase-lock group 2 to perform sound generation, and the process returns to step S402.
[0022]
FIG. 5 is a flowchart of the phase lock sound generation processing routine shown in FIG.
First, in step S501, 1 is substituted into a variable j (counter), and the process proceeds to step S502. In step S502, it is determined whether or not the value of the 0th bit of the variable i is 1. The variable i is the value of the phase lock group 1 substituted in step S403 shown in FIG. If it is determined that the 0th bit of the variable i is 1, the process proceeds to step S503. On the other hand, if it is determined that the 0th bit of the variable i is not 1, the process proceeds to step S505. In step S503, the start address j (start address of the jth waveform data) is written in the waveform reading unit, and the process proceeds to step S504. In step S504, the end address j (end address of the j-th waveform data) is written in the waveform reading unit, and the process proceeds to step S505. In step S505, the variable i is bit-shifted right by 1 bit, and the process proceeds to step S506. In step S506, the variable j is incremented, and the process proceeds to step S507. In step S507, it is determined whether the variable j is larger than the value of MAXWAVE. MAXWAVE is a constant and is set to the maximum number of waveform data that can be reproduced simultaneously. In the present embodiment, since the maximum number of waveform data is 6, it is set to 6. If it is determined that the variable j is larger than MAXWAVE, the process proceeds to step S508. In step S508, the waveform data generation start command for which the start address and end address have been set in the previous steps S503 and S504 is written to the waveform reading unit, and the process returns. On the other hand, if it is determined in step S507 that the variable j is less than MAXWAVE, the process returns to step S502.
[0023]
As described above, in the present embodiment, two phase lock groups 1 and 2 are set, a waveform data group for reproducing a musical sound when banging on phase lock group 1 is set, and phase lock group 2 is set. The waveform data group for reproducing the musical sound when hit softly is set, the waveform data group of the phase lock group 1 is reproduced first, and then the waveform data group of the phase lock group 2 is reproduced. Therefore, without damaging the sense of attack in each case of strong hit and weak hit, and the delay of pronunciation when hit hard, the case of applying phase lock to all waveform data of conventional musical sound generator Compared and reduced.
[0024]
In this embodiment, two phase lock groups 1 and 2 are set to generate one musical sound signal. However, the present invention is not limited to this, and three or more phase lock groups are set to 1 Two musical sound signals may be generated.
[0025]
【The invention's effect】
As described above, according to the present invention, when a single musical tone signal is generated by synthesizing a plurality of waveform signals, the sound generation start time can be advanced without impairing the sense of attack.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic musical instrument including an embodiment of a musical sound generating apparatus according to the present invention.
FIG. 2 is a schematic diagram showing an area of the ROM 12 shown in FIG. 1 in which musical tone control information is stored.
FIG. 3 is a schematic diagram showing a state in which phase lock is applied to waveform data of phase lock group 1 and phase lock group 2 shown in FIG. 2;
4 is a flowchart of a main routine of the electronic musical instrument shown in FIG.
5 is a flowchart of a phase-lock sound generation processing routine shown in FIG.
FIG. 6 is a diagram showing a plurality of waveform data constituting one musical sound.
FIG. 7 is a principle explanatory diagram of a conventional musical tone generation apparatus that generates a single musical tone signal by sequentially synthesizing a plurality of waveform data.
FIG. 8 is a diagram illustrating the principle of a conventional musical tone generating apparatus that generates a single musical tone signal by simultaneously synthesizing a plurality of waveform data.
[Explanation of symbols]
10 Musical sound generator 11 CPU
12 ROM
13 RAM
14 Trigger input section 15 Waveform memory 16 Waveform readout section 17 Data buses 21, 22,..., 2n ROM area

Claims (1)

複数の波形信号を合成して1つの楽音信号を生成する楽音生成装置であって、
前記複数の波形信号を記憶した記憶手段と、
楽音信号生成指示を受け波形信号を前記記憶手段から読み出すための波形読み出しパラメータの設定を受け、さらに生成開始指示を受けることにより前記波形読み出しパラメータに対応した波形信号を前記記憶手段から読み出し生成する、複数の波形信号の生成を担う波形信号生成手段と、
1つの楽音を構成する複数の波形信号を第1のグループと、第2のグループに分けるために、1つの楽音波形に対して複数の波形データの発音開始時刻を合わせるフェイズロック・グループを設定したグループ分け情報を記憶するグループ分け情報記憶手段と、
楽音信号生成指示を受け、前記グループ分け情報記憶手段に記憶されたグループ分け情報に従って、前記波形信号生成手段に前記第1のフェイズロック・グループについて波形信号生成のための波形読み出しパラメータを設定するとともに、該波形読み出しパラメータの設定の終了した該グループを構成する全ての波形信号に対して発音開始時刻を合わせて読み出し生成開始を指示し、
次に前記第2のフェイズロック・グループについて波形信号生成のための波形読み出しパラメータを設定するとともに、該波形読み出しパラメータの設定の終了した該グループを構成する全ての波形信号に対して発音開始時刻を合わせて読み出し生成開始を指示する楽音信号生成制御手段とを備えたことを特徴とする楽音生成装置。
A musical sound generation device that generates a single musical sound signal by combining a plurality of waveform signals,
Storage means for storing the plurality of waveform signals;
Receiving a tone signal generation instruction, receiving a waveform readout parameter setting for reading out a waveform signal from the storage means, and further receiving a generation start instruction to read out and generate a waveform signal corresponding to the waveform readout parameter from the storage means; Waveform signal generating means for generating a plurality of waveform signals;
In order to divide a plurality of waveform signals constituting one musical sound into a first group and a second group, a phase lock group is set to match the sound generation start times of a plurality of waveform data for one musical sound waveform. Grouping information storage means for storing grouping information;
In response to a music signal generation instruction, in accordance with the grouping information stored in the grouping information storage means, waveform read parameters for generating a waveform signal for the first phase lock group are set in the waveform signal generation means. , Instructing to start reading and generating the sound generation start time for all the waveform signals constituting the group for which the setting of the waveform reading parameter has been completed,
Next, a waveform readout parameter for generating a waveform signal is set for the second phase lock group, and a sounding start time is set for all waveform signals constituting the group for which the setting of the waveform readout parameter has been completed. A musical tone generation apparatus comprising musical tone signal generation control means for instructing the start of readout generation.
JP00425297A 1997-01-14 1997-01-14 Music generator Expired - Fee Related JP3745063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00425297A JP3745063B2 (en) 1997-01-14 1997-01-14 Music generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00425297A JP3745063B2 (en) 1997-01-14 1997-01-14 Music generator

Publications (2)

Publication Number Publication Date
JPH10198367A JPH10198367A (en) 1998-07-31
JP3745063B2 true JP3745063B2 (en) 2006-02-15

Family

ID=11579352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00425297A Expired - Fee Related JP3745063B2 (en) 1997-01-14 1997-01-14 Music generator

Country Status (1)

Country Link
JP (1) JP3745063B2 (en)

Also Published As

Publication number Publication date
JPH10198367A (en) 1998-07-31

Similar Documents

Publication Publication Date Title
JPS59188697A (en) Musical sound generator
JPH08129383A (en) Electronic musical instrument
US5321198A (en) Tone signal generator utilizing ancillary memories for electronic musical instrument
JPS6328478Y2 (en)
JPH0656555B2 (en) Sound generator
JP3745063B2 (en) Music generator
JPH0254559B2 (en)
JPS6326398B2 (en)
JP2508138B2 (en) Musical tone signal generator
JPS6115438B2 (en)
JP3168637B2 (en) Music generator
US5880390A (en) Reverberation effect imparting apparatus
JPH01177085A (en) Electronic musical instrument
JPH06337679A (en) Electronic musical instrument
JP3334483B2 (en) Waveform memory type tone generator that can input external waveform
JP2504320B2 (en) Music synthesizer
JPH03269493A (en) Electronic musical instrument
JP3508509B2 (en) Sound source device
JP2000293169A (en) Musical sound generating device
JPH02136895A (en) Electronic musical instrument
JP2697287B2 (en) Electronic musical instrument
JPH0266597A (en) Musical sound composition system
JP2727684B2 (en) Music synthesizer
JPS6236233B2 (en)
JPH0361952B2 (en)

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051116

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20111202

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees