JP4132213B2 - Electronic musical instruments - Google Patents

Electronic musical instruments Download PDF

Info

Publication number
JP4132213B2
JP4132213B2 JP12825898A JP12825898A JP4132213B2 JP 4132213 B2 JP4132213 B2 JP 4132213B2 JP 12825898 A JP12825898 A JP 12825898A JP 12825898 A JP12825898 A JP 12825898A JP 4132213 B2 JP4132213 B2 JP 4132213B2
Authority
JP
Japan
Prior art keywords
waveform data
reading
read
automatic performance
pad
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
JP12825898A
Other languages
Japanese (ja)
Other versions
JPH11282469A (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 JP12825898A priority Critical patent/JP4132213B2/en
Publication of JPH11282469A publication Critical patent/JPH11282469A/en
Application granted granted Critical
Publication of JP4132213B2 publication Critical patent/JP4132213B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子楽器に関し、さらに詳細には、複数の波形データを予め記憶しておくとともに、これら波形データの読み出しタイミングを自動演奏データとして予め記憶しておき、この自動演奏データを再生することにより波形データを読み出す電子楽器に関する。
【0002】
【従来の技術】
従来より、予め複数の波形データを磁気あるいは光などを利用したディスク媒体などの大容量記憶媒体に記憶しておくとともに、これら波形データの読み出しタイミングを自動演奏データとして予め定義しておき、この自動演奏データを再生することにより波形データを読み出すようにした電子楽器が知られている。
【0003】
ここで、磁気あるいは光などを利用したディスク媒体などの大容量記憶媒体は、記憶してある波形データを読み出そうとしてから実際にその波形データが取得されるまでにある程度の時間がかかるものである。
【0004】
このため、従来の電子楽器においては、小容量の半導体メモリを別途設けておき、実際の自動演奏のタイミングよりも前に、波形データを大容量記憶媒体から半導体メモリに予め転送しておき、半導体メモリに記憶された波形データを自動演奏データによって規定されるタイミングで読み出すようにしていた。
【0005】
そして、この場合に、半導体メモリから波形データが読み出されて半導体メモリに空き領域ができたときに、次の波形データを大容量記憶媒体から当該空き領域に転送することにより、小容量の半導体メモリを用いて、自動演奏を行ないながら次々に大容量記憶媒体から波形データを読み出すようにしている。
【0006】
また、こうした電子楽器においては、一般に、同時に読み出し可能な波形データの数には制限が設けられている。具体的には、同時に読み出し可能な波形データの数は、例えば、「1」に制限されている。
【0007】
従って、同時に読み出し可能な波形データの数が「1」に制限されている電子楽器における自動演奏データは、ある時間からある時間までは第1の波形データを読み出し、次のある時間からある時間までは第1の波形データとは異なる第2の波形データを読み出すというような形式とされている。
【0008】
ところで、こうした形式の自動演奏データを作成する場合には、時間や波形データを指定する情報を数値で入力して自動演奏データを作成するようになっており、自動演奏データを作成するのが面倒であった。
【0009】
これに対して、複数の操作子を有し、これら複数の操作子のそれぞれに波形データを割り当てておき、これらの操作子を操作(演奏)することによりリアルタイムに自動演奏データを作成すれば、自動演奏データの作成は容易となるものであった。
【0010】
しかしながら、従来は、このように波形データを割り当てられた操作子を操作(演奏)することによりリアルタイムに自動演奏データを作成する場合において、複数の操作子が同時に操作されたときの対処については考慮されていなかった。
【0011】
即ち、1つの波形データのみ同時に再生可能な場合において、波形データを割り当てられた複数の操作子が同時に操作されたとき、そのままの操作状態を自動演奏データとして記憶し再生することを考えると、本来であれば、前に操作された操作子に割り当てられている波形データを途中まで読み出してその読み出しを中止し、後に操作された操作子に割り当てられている波形データの読み出しを開始させなければならないが、このようなことはできないという問題点があった。
【0012】
【発明が解決しようとする課題】
本発明は、上記したような従来の技術の有する種々の問題点に鑑みてなされたものであり、その目的とするところは、波形データを割り当てられた操作子を操作(演奏)することにより、当該操作子に割り当てられた波形データの読み出し開始の指示を記憶する場合において、複数の操作子が同時に操作されたときの処理を改善した電子楽器を提供しようとするものである。
【0013】
【課題を解決するための手段】
上記目的を達成するために、本発明のうち請求項1に記載の発明は、波形データがそれぞれ割り当てられている複数の操作子と、記録状態において上記操作子の操作に基いて、少なくとも上記操作子に割り当てられている波形データの読み出し開始を指示する情報を記憶するとともに上記操作子に割り当てられている波形データを読み出し、再生状態において上記波形データの読み出し開始を指示する情報を再生する自動演奏手段と、上記記録状態において1つの波形データの読み出し中である状態で、新たな操作子が操作されて、上記自動演奏手段により上記新たな操作子に割り当てられている波形データの読み出し開始を指示する情報を記憶するとともに上記新たな操作子に割り当てられている波形データを読み出すときに、読み出し中の上記波形データの読み出し停止を指示する情報を上記自動演奏手段に記憶させる制御手段と、上記自動演奏手段により再生される上記波形データの読み出し開始を指示する情報に応じて波形データの読み出しを開始するとともに、上記波形データの読み出し停止を指示する情報に応じて波形データの読み出しを停止する波形データ読み出し手段とを有するようにしたものである。
【0016】
従って、本発明のうち請求項に記載の発明によれば、1つの波形データの読み出し中である状態で操作子が操作された場合には、読み出し中の波形データの読み出し停止を指示する情報が記憶される。このため、1つの波形データの読み出し中である状態で操作子が操作された場合には、読み出し中の波形データの読み出しを中止し、操作した操作子に割り当てられている波形データの読み出しを開始させることができるようになる。
【0017】
ここで、本発明のうち請求項1における波形データの読み出し開始を指示する情報ならびに波形データの読み出し停止を指示する情報としては、例えば、波形データの読み出し開始を指示する情報としてノート・オンを記憶し、波形データの読み出し停止を指示する情報としてノート・オフを記憶するというように、波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを別個の情報として記憶したものも含まれるし、また、波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを1組の情報として記憶したものも含まれる。
【0018】
波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを1組の情報として記憶したものとしては、例えば、その1組の情報として、波形データの読み出しを開始する時刻を示す情報と、波形データの読み出しを開始する時刻から波形データの読み出しを停止する時刻までの経過時間を示す情報とを記憶するようにしておけばよい。この場合には、現在時刻が当該1組の情報の示す波形データの読み出しを開始する時刻と一致した時点で、波形データの読み出し開始を指示するとともに、その時点からの経過時間が当該1組の情報の示す波形データの読み出しを開始する時刻から波形データの読み出しを停止する時刻までの経過時間と一致した時点で、波形データの読み出し停止を指示する。
【0019】
また、本発明のうち請求項1における制御手段においては、「新たな操作子が操作されて・・・波形データの読み出し停止を指示する情報を前記自動演奏手段に記憶させる」ものとされているが、こうした制御手段の処理内容は、例えば、波形データの読み出し開始を指示する情報としてノート・オンを記憶し、当該ノート・オンのタイミングと同じタイミングで当該ノート・オンに対応するノート・オフを予め記憶しておく処理を行う場合において、「2以上の前記操作子が同時に操作されたとき」あるいは「前記操作子が操作されたとき」に、ノート・オフの現在時刻を示す情報を書き込んで当該ノート・オフを確定させる処理や、記憶しているノート・オフの現在時刻を示す情報の更新を終了して当該ノート・オフを確定させる処理を含むものである。
【0020】
ここで、本発明のうち請求項1における上記波形データ読み出し手段は、例えば、本発明のうち請求項に記載の発明のように、波形データを予め記憶している第1の記憶手段と、上記第1の記憶手段に記憶されている波形データを一時記憶する第2の記憶手段と、上記自動演奏手段による再生に先立ち、上記第1の記憶手段から上記第2の記憶手段へ波形データを転送する転送手段と、上記自動演奏手段による再生のタイミングに応じて再生された上記波形データの読み出し開始を指示する情報に応じて、上記第2の記憶手段に記憶されている波形データの読み出しを開始する読み出し開始手段と、上記第2の記憶手段の既に波形データが読み出された記憶領域に、上記自動演奏手段による現在の再生のタイミング時点よりも後の時点の上記波形データの読み出し開始を指示する情報に対応する波形データを、上記第1の記憶手段から転送するものであって、上記波形データの読み出し開始を指示する情報に対応する上記波形データの読み出し停止を指示する情報に応じて、上記第1の記憶手段からの転送を終了する終了手段とを有するものとすることができる。
【0024】
【発明の実施の形態】
以下、添付の図面を参照しながら、本発明による電子楽器の実施の形態の一例を詳細に説明する。
【0025】
図1には、本発明による電子楽器の全体構成を表すブロック構成図が示されている。
【0026】
この電子楽器は、その全体の動作の制御を中央処理装置(CPU)10を用いて制御するように構成されており、このCPU10と、アナログ/デジタル変換器(A/D)12と、磁気あるいは光などを利用したディスク14と、半導体メモリ16と、読出器18と、操作パネル20と、デジタル/アナログ変換器(D/A)22とを有して構成されている。
【0027】
即ち、図1に示す電子楽器においては、CPU10によって全体の動作の制御が行われるものであり、外部から入力されたオーディオ信号(楽音信号)は、アナログ/デジタル変換器12によりA/D変換され波形データとして、CPU10の制御のもとディスク14に記憶される。
【0028】
なお、この実施の形態においては、波形データを記憶するものとして磁気あるいは光などを利用したディスク14を用いたが、大容量の記憶ができるものであれば、ディスク以外の記憶装置を用いてもよいことは勿論である。
【0029】
半導体メモリ16は、ディスク14に比較して小容量の記憶容量のみを有するものであるが、高速なアクセスが可能なものである。この半導体メモリ16は、波形データを記憶する領域やワーキング用の領域などが設けられているランダム・アクセス・メモリ(RAM)とCPU10のプログラムを記憶しているリード・オンリ・メモリ(ROM)とから構成されている。
【0030】
読出器18は、CPU10の制御の下に半導体メモリ16に記憶された波形データを読み出すものであり、読み出された波形データはデジタル/アナログ変換器22によりオーディオ信号(楽音信号)にD/A変換されて出力される。
【0031】
また、操作パネル20には、図1上において数字1〜16により示す16個のパッド30(なお、パッド30は、図1上における数字1〜16に対応してパッド番号1〜16がふられて管理されている。)、図1上において数字1〜4により示す4個のトラック(TRACK)指定操作子32(なお、トラック指定操作子32は、図1上における数字1〜4に対応してトラック番号1〜4がふられて管理されている。)、記録(REC)操作子34、再生(PLAY)操作子36、停止(STOP)操作子38、バンク切り換え操作子40が設けられている。ここで、パッド30は、押しボタン・スイッチであり、その操作の開始に応じてパッド30に予め割り当てられている波形データの読み出し開始を指示し、その操作の停止に応じて波形データの読み出しが停止される。
【0032】
なお、16個のパッド30への波形データの割り当てパターンは、この実施の形態においては3種類設定されている。各割り当てパターンはバンクと称され、バンク切り換え操作子40の操作に応じて、任意のバンクを選択することができる。
【0033】
また、記録(REC)操作子34は、記録モードに切り換えるための操作子であり、記録モードでは各パッド30の操作に応じた自動演奏データが記録されることになる。
また、再生(PLAY)操作子36は、再生モードに切り換えるための操作子であり、再生モードでは記録されている自動演奏データが再生され、それに応じた波形データが読み出される。
【0034】
また、停止(STOP)操作子38は、記録モードあるいは再生モードから通常モードに復帰させるための操作子である。
【0035】
そして、自動演奏データが記録されるトラックは4つあり、記録モードでは、いずれか1つのトラック指定操作子32により選択されるいずれか1つのトラックに自動演奏データが記憶され、再生モード時には全てのトラックの自動演奏データが再生される。
【0036】
図2には、ディスク14の記憶領域のフォーマットが概念的に示されており、ディスク14の記憶領域は、所定の記憶容量を有するクラスタ毎に分割されていて、各波形データは1つあるいは複数のクラスタに跨って記憶されている。
【0037】
なお、図2においては、クラスタ同士が物理的に連続しているように描かれているが、物理的に連続している必要はない。このため、各波形データに関して、波形データの先頭部分を記憶しているクラスタ、次の部分を記憶しているクラスタ、さらに次の部分を記憶しているクラスタ、・・・、という形で、各波形データ毎にその波形データの各部分がディスク14上のいずれのクラスタに記憶されているかが管理されている。
【0038】
また、波形データは、必ずクラスタの先頭部分から記憶されるようになっており、1つのクラスタには1つの波形データのみが記憶されている。そして、波形データの大きさはクラスタの大きさとは無関係であるので、波形データの末尾は一般にはクラスタの末尾とはならない。
【0039】
なお、各波形データには、その波形データのデータ量QTが設定されている。
次ぎに、半導体メモリ16について説明すると、半導体メモリ16には、上記した各波形データの管理用の領域、バンク管理用の領域、自動演奏データの記憶領域、ワーキング用の領域などの他に、16個のパッド30にそれぞれ対応して、これらのパッド30にそれぞれ割り当てられた波形データのスタート位置部分を記憶するスタート・バッファSTARTと、波形データの読み出し時にディスク14からの波形データを一時記憶するための4チャンネル分の読み出しバッファREADとが設けられている。
【0040】
なお、記録モードおよび再生モード時には、各チャンネルは各トラックに対応する。
【0041】
図3には、上記したスタート・バッファSTARTのフォーマットが概念的に示されている。スタート・バッファSTARTには、パッド番号1〜16の16個のパッド30にそれぞれ対応して2クラスタ分の領域が設けられており、各領域にはそれぞれクラスタ番号1、クラスタ番号2がふられている。
【0042】
また、図4には、上記した読み出しバッファREADのフォーマットが概念的に示されている。読み出しバッファREADには、4音同時発音が可能なように4チャンネル分の領域が設けられていて、各チャンネルにはチャンネル番号1〜4がふられている。さらに、これら4チャンネル分のそれぞれのチャンネルには、各チャンネルに対応して4クラスタ分の領域が設けられていて、各領域にはクラスタ番号1〜4がふられている。
【0043】
なお、本明細書においては、本発明の理解を容易にするために、スタート・バッファSTARTならびに読み出しバッファREADの1クラスタ分の領域も「クラスタ」と称することとする。
【0044】
そして、パッド30の操作(押下開始)により読み出し開始が指示された場合には、いずれのチャンネルを選択するかの順番を示すアサイン順位(後述する)に基づいて、いずれかのチャンネルが選択され、操作されたパッド30に対応するスタート・バッファSTARTの記憶内容がそのチャンネルの読み出しバッファREADに転送される。
【0045】
また、読み出し器18には、読み出し用の4つのチャンネルが設けられており、各チャンネルは読み出しバッファREADの対応するチャンネルの記憶内容を読み出し、音声信号(楽音信号)として出力する。
【0046】
読み出しバッファREADのクラスタは、クラスタ番号1〜4の順に読み出されることになり、クラスタ番号4のクラスタを読み終わると、次ぎにはクラスタ番号1のクラスタが読み出される。
【0047】
なお、各チャンネルには、そのチャンネルで読み出される波形データのデータ量QTが設定される。
【0048】
そして、読み出し器18においては、パッド30の操作(押下開始)による波形データの読み出し開始指示に応じて、各チャンネルは読み出しバッファREADの第1クラスタに記憶された波形データの読み出しを開始し、以降、サンプリング周期毎に1サンプルのデータを読み出すとともに、設定されたデータ量QTの値をデクリメントする。
【0049】
そして、各チャンネルは、読み出しバッファREADの各クラスタの読み出しを終了したときおよびデータ量QTの値が0になったときに、その旨をCPU10に通知する。
【0050】
CPU10は、クラスタの読み出しが終了した旨の通知を受けたときには、そのクラスタに次に記憶すべき波形データの1クラスタ分をディスク14から読み出して記憶し、一方、データ量QTの値が0となった旨の通知を受けたときには、そのチャンネルに読み出し停止を指示した後にクラスタ読み出しが終了した旨の通知を発行する。
【0051】
また、チャンネルは、CPU10から読み出し停止指示を受けたときに、波形データの読み出しを停止する。
【0052】
そして、通常モードにおいては、パッド30の操作を止められたとき(押下が解除されたとき)、あるいは、パッド30の操作中(押下中)にそのパッド30に対応する波形データを最後まで読んだときに、波形データの読み出しが停止される。
【0053】
また、半導体メモリ16の自動演奏データの記憶領域には、各トラック毎に記憶領域が設けられており、各トラック毎に時系列の自動演奏データが記憶されている。
【0054】
ここで、自動演奏データには、ノート・オン、ノート・オフおよび演奏停止があり、いずれも現在時刻を示す情報ともに記憶される。
【0055】
記録モードにおいて、現在時刻は、記録モードとされた後の最初のパッド30の操作(押下開始)の時点を0とし、この時点から現在までの経過時間を示している。
【0056】
再生モードにおいては、再生モードとされた時点を0とし、この時点からの現在までの経過時間を現在時刻としており、現在時刻に合致するノート・オン、ノート・オフを再生する。
【0057】
なお、ノート・オンには、いずれのバンクのいずれのパッド30が操作されたかを示す情報もともに記録されるものである。
【0058】
また、演奏停止は、停止(STOP)操作子38の操作により演奏停止が指示されたときに記録されるものである。
【0059】
次に、図5に示すバンク切り換え処理のフローチャートを参照しながら、この電子楽器の動作の停止中、即ち、通常モードにおいて、バンク切り換え操作子40が操作されてバンク切り換えが指示されたときの処理を説明する。
【0060】
即ち、この電子楽器の動作の停止中、即ち、通常モードにおいて、バンク切り換え操作子40が操作されてバンク切り換えが指示されたときには、図5のバンク切り換え処理のフローチャートに示される処理が実行されるものである。
【0061】
このバンク切り換え処理のフローチャートにおいては、まず、ステップS502において、新たに指定されたバンクに対応して各パッド30に波形データを割り当てる。
【0062】
ステップS502の処理を終了すると、ステップS504へ進み、各パッド30に対応する波形データに関して、ディスク14から先頭の2クラスタ分の波形データを読み出し、対応するスタート・バッファSTARTの第1クラスタおよび第2クラスタに記憶する。ただし、1クラスタのみから構成されている波形データに関しては、第1クラスタにのみ波形データを記憶する。
【0063】
ステップS504の処理を終了すると、ステップS506へ進み、読出器18の各読出チャンネルに対して波形データの読み出し停止を指示し、そのチャンネルが不使用状態となったことに伴いアサイン順位を更新する。
【0064】
ステップS506の処理を終了すると、このバンク切り換え処理のフローチャートの処理を終了する。
【0065】
次に、図6に示すパッド・オン(STOP)処理のフローチャートを参照しながら、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのパッド30が操作(押下開始)されて読み出し開始指示がなされたときの処理を説明する。
【0066】
即ち、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのパッド30が操作(押下開始)されて読み出し開始指示がなされたときには、図6のパッド・オン(STOP)処理のフローチャートに示される処理が実行されるものである。
【0067】
このパッド・オン(STOP)処理のフローチャートにおいては、まず、ステップS602において、新たに操作されたパッド30の波形データを割り当てるチャンネルを所定のアサイン順位に基づいて選択する。
【0068】
なお、アサイン順位の決定は、周知のアサイン技術を使用すればよく、例えば、波形データの読み出しが行われていないチャンネルがあればそのチャンネルを選択し、波形データの読み出しが行われていないチャンネルがなければ最も以前に読み出しを開始したチャンネルを選択すればよい
なお、読み出し中のチャンネルを選択した場合には、そのチャンネルに対して読み出し停止を指示する。
【0069】
ステップS602の処理を終了すると、ステップS604へ進み、新たに操作されたパッド30のスタート・バッファSTARTの第1クラスタおよび第2クラスタの波形データを、選択されたチャンネルの読み出しバッファREADの第1クラスタおよび第2クラスタに記憶する。
【0070】
なお、スタート・バッファSTARTの1クラスタ分の波形データしか記憶されていない場合には、読み出しバッファREADにも1クラスタ分の波形データのみを転送する。
【0071】
ステップS604の処理を終了すると、ステップS606へ進み、新たに操作されたパッド30に関して現在選択されているバンク(以下、「現バンク」と称する。)において割り当てられている波形データのデータ量QTを、選択したチャンネルに設定し、このチャンネルに対して第1クラスタの先頭から読み出しを開始するよう指示する。なお、この際に、そのチャンネルが使用状態となったことに伴い、いずれのチャンネルでいずれのパッド30の波形データを読み出しているかを示す管理情報およびアサイン順位を更新する。
【0072】
これにより、選択されたチャンネルにおいて、操作されたパッド30に関して現バンクにおいて割り当てられている波形データの読み出しが開始される。
【0073】
ステップS606の処理を終了すると、ステップS608へ進み、残りの2クラスタ分の波形データをディスク14から読み出して、選択されたチャンネルの読み出しバッファREADの第3クラスタおよび4クラスタに転送し、このパッド・オン(STOP)処理を終了する。
【0074】
なお、波形データが2クラスタ分しかない場合には波形データの転送を行なわず、また、波形データが3クラスタ分しかない場合には、1クラスタ分の波形データの転送のみを行なう。
【0075】
以上において説明したパッド・オン(STOP)処理により、操作されたパッド30に応じて、読み出しバッファREADに必要な波形データが記憶されるとともに、波形データの読み出しが開始される。
【0076】
次に、図7に示すパッド・オフ(STOP)処理のフローチャートを参照しながら、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのパッド30が操作を止められて(押下解除されて)、読み出しの停止指示がなされたときの処理を説明する。
【0077】
即ち、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのパッド30が操作を止められて(押下解除されて)読み出し停止指示がなされたときには、図7のパッド・オフ(STOP)処理のフローチャートに示される処理が実行されるものである。
【0078】
このパッド・オフ(STOP)処理のフローチャートにおいては、まず、ステップS702において、操作が止められた(押下解除された)パッド30の波形データを読み出し中のチャンネルがあるか否かを判断する。
【0079】
ステップS702において、操作が止められた(押下解除された)パッド30の波形データを読み出し中のチャンネルがないと判断された場合には、このパッド・オフ(STOP)処理を終了する。
【0080】
一方、ステップS702において、操作が止められた(押下解除された)パッド30の波形データを読み出し中のチャンネルがあると判断された場合には、ステップS704へ進み、そのチャンネルに読み出しの停止を指示し、このパッド・オフ(STOP)処理を終了する。なお、この際に、そのチャンネルが不使用状態となったことに伴い、いずれのチャンネルでいずれのパッド30の波形データを読み出しているかを示す管理情報およびアサイン順位を更新する。
【0081】
次に、図8に示すクラスタ読み出し終了(STOP)処理のフローチャートを参照しながら、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのチャンネルからクラスタの読み出しを通知されたときの処理を説明する。
即ち、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのチャンネルからクラスタの読み出しを通知されたときには、図8のクラスタ読み出し終了(STOP)処理のフローチャートに示される処理が実行されるものである。
【0082】
なお、この電子楽器における自動演奏データの記録中、即ち、記録モード時においても、図8に示すクラスタ読み出し終了(STOP)処理と同様な処理が行われる。
【0083】
このクラスタ読み出し終了(STOP)処理のフローチャートにおいては、ステップS802において、クラスタの読み出しを終了したチャンネルで読み出し中の波形データに対応するパッド30に割り当てられている波形データに関して、既に読み出しバッファREADに記憶した分の次の1クラスタ分をディスク14から読み出して、読み出しを終了したクラスタに記憶し、このクラスタ読み出し終了(STOP)処理を終了する。
【0084】
また、既に全ての波形データを読み出しバッファREADに記憶した場合には、ステップS802の処理をすることなくクラスタ読み出し終了(STOP)処理を終了する。
【0085】
次に、図9に示すQT=0(STOP)処理のフローチャートを参照しながら、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのチャンネルからデータ量QTの値が「0」となったことを通知されたときの処理を説明する。
【0086】
即ち、この電子楽器の動作の停止中、即ち、通常モードにおいて、いずれかのチャンネルからデータ量QTの値が「0」となったことを知らされたときに、このQT=0(STOP)処理のフローチャートに示される処理が実行されるものである。
【0087】
このQT=0(STOP)処理のフローチャートにおいては、ステップS902において、データ量QTの値が「0」となったチャンネルに対して読み出し停止を指示し、そのチャンネルが不使用状態となったことに伴い、いずれのチャンネルでいずれのパッド30の波形データを読み出しているかを示す管理情報およびアサイン順位を更新し、このQT=0(STOP)処理を終了する。
【0088】
次に、図10に示すパッド・オン(REC)処理のフローチャートを参照しながら、この電子楽器における自動演奏データの記録中、即ち、記録モード時において、いずれかのパッド30が操作(押下開始)されて読み出し開始指示がなされたときの処理を説明する。
【0089】
即ち、この電子楽器における自動演奏データの記録中、即ち、記録モードにおいて、いずれかのパッド30が操作(押下開始)されて読み出し開始指示がなされたときには、図10のパッド・オン(REC)処理のフローチャートに示される処理が実行されるものである。
【0090】
このパッド・オン(REC)処理のフローチャートにおいては、まず、ステップS1002において、現在選択されているトラックに対応するチャンネルが波形データ読み出し中であるか否かを判断する。即ち、パッド30が操作された時点において、既に別のパッド30が操作されており、波形データの読み出し中であるか否かを判断する。
【0091】
ステップS1002において、現在選択されているトラックに対応するチャンネルが波形データ読み出し中であると判断された場合には、そのチャンネルに対して読み出し停止を指示し(ステップS1004)、自動演奏データの現在選択されているトラックに現在時刻とともにノート・オフ・データを記録する(ステップS1006)。
【0092】
これにより、再生モードにおいて、記録時と同様に、新たな波形データの読み出し開始に応じて、それまで読み出していた波形データの読み出しが中断されるようになる。
【0093】
ステップS1006の処理を終了した場合、また、ステップS1002において、現在選択されているトラックに対応するチャンネルが波形データ読み出し中でないと判断された場合には、ステップS1008以降の処理へ進む。
【0094】
ステップS1008以降の処理においては、パッド・オン(STOP)処理と同様に、操作されたパッド30のスタート・バッファSTARTの第1クラスタおよび第2クラスタの波形データを、現在選択されているトラックに対応するチャンネルの読み出しバッファREADの第1クラスタおよび第2クラスタに記憶し(ステップS1008)、読み出し対象の波形データのデータ量QTをそのチャンネルに設定し、このチャンネルに対して第1クラスタの先頭から読み出しを開始するよう指示する(ステップS1010)。
【0095】
これにより、操作されたパッド30に割り当てられている波形データの読み出しが開始される。
【0096】
ステップS1010の処理を終了すると、ステップS1012へ進み、残りの2クラスタ分の波形データをディスク14から読み出して、そのチャンネルの読み出しバッファREADの第3クラスタおよび4クラスタに転送する。
【0097】
そして、ステップS1012の処理を終了すると、ステップS1014へ進み、自動演奏データの現在選択されているトラックに、現バンクの操作されたパッド30に関するノート・オン・データを現在時刻とともに記録し、このパッド・オン(REC)処理を終了する。
【0098】
以上において説明したパッド・オン(REC)処理により、操作されたパッド30に応じて波形データの読み出しが開始されるとともに、ノート・オン・データが自動演奏データに記録されることになる。
【0099】
次に、図11に示すパッド・オフ(REC)処理のフローチャートを参照しながら、この電子楽器における自動演奏データの記録中、即ち、記録モード時において、いずれかのパッド30が操作を止められて(押下解除されて)、読み出しの停止指示がなされたときの処理を説明する。
【0100】
即ち、この電子楽器における自動演奏データの記録中、即ち、記録モードにおいて、いずれかのパッド30が操作を止められて(押下解除されて)読み出しの停止指示がなされたときには、図11のパッド・オフ(REC)処理のフローチャートに示される処理が実行されるものである。
【0101】
このパッド・オフ(REC)処理のフローチャートにおいては、まず、ステップS1102において、現在選択されるトラックに対応するチャンネルにおいて、操作が止められた(押下が解除された)パッド30に割り当てられている波形データの読み出しが行なわれているか否かを判断する。
【0102】
ステップS1102において、現在選択されるトラックに対応するチャンネルにおいて、操作が止められた(押下が解除された)パッド30に割り当てられている波形データの読み出しが行なわれていると判断された場合には、ステップS1104へ進み、そのチャンネルに読み出し停止を指示する。
なお、この際に、そのチャンネルが不使用状態となったことに伴い、いずれのチャンネルでいずれのパッド30の波形データを読み出しているかを示す管理情報およびアサイン順位を更新する。
【0103】
ステップS1104の処理を終了すると、ステップS1106へ進み、自動演奏データの現在選択されているトラックに、現在時刻とともにノート・オフ・データを記録し、このパッド・オフ(REC)処理を終了する。
【0104】
一方、ステップS1102において、現在選択されるトラックに対応するチャンネルにおいて、操作が止められた(押下が解除された)パッド30に割り当てられている波形データの読み出しが行なわれていないと判断された場合(なお、この場合としては、操作が止められた(押下が解除された)パッド30に割り当てられている波形データを最後まで読み出して、その読み出しが停止されている場合と、他のパッド30に割り当てられている波形データが読み出されている場合との、2つの場合がある。)には、そのままこのパッド・オフ(REC)処理を終了する。
【0105】
次に、図12に示すQT=0(REC)処理のフローチャートを参照しながら、この電子楽器における自動演奏データの記録中、即ち、記録モード時において、現在選択されているトラックに対応するチャンネルにおいてデータ量QTの値が「0」となったことを通知されたときの処理を説明する。
【0106】
即ち、この電子楽器における自動演奏データの記録中、即ち、記録モード時において、現在選択されているトラックに対応するチャンネルにおいてデータ量QTの値が「0」となったことを知らされたときに、このQT=0(REC)処理のフローチャートに示される処理が実行されるものである。
【0107】
このQT=0(REC)処理のフローチャートにおいては、まず、ステップS1202において、現在選択されているトラックに対応するチャンネルに対して読み出し停止を指示する。
【0108】
なお、この際に、そのチャンネルが不使用状態となったことに伴い、いずれのチャンネルでいずれのパッド30の波形データを読み出しているかを示す管理情報およびアサイン順位を更新する。
【0109】
ステップS1202の処理を終了すると、ステップS1204へ進み、自動演奏データの現在選択されているトラックに、現在時刻とともにノート・オフ・データを記録し、このQT=0(REC)処理を終了する。
【0110】
次に、図13に示す再生処理のフローチャートを参照しながら、再生(PLAY)操作子36が操作されたときの処理を説明する。
【0111】
即ち、再生(PLAY)操作子36が操作されたときに、この再生処理が実行されるものである。
【0112】
なお、ここでは1トラック分の処理のみを示すが、ステップS1310以外の処理に関しては、他のトラックも同様に行なわれるものである。
【0113】
また、この電子楽器においては、自動演奏データの再生タイミングよりも前もって波形データをディスク14から読み出しバッファREADに転送するようにしており、再生(PLAY)操作子36の操作による再生操作が行なわれたときには、自動演奏データの先頭部分のノート・オンに対応する4クラスタ分の波形データが、読み出しバッファREADに転送される。
【0114】
この再生処理のフローチャートにおいては、再生モードに切り換えるとともに、先頭の自動演奏データ(ノート・オンとノート・オフとの組)を読み出し(ステップS1302)、ノート・オンとノート・オフとの現在時刻の差を、ゲート・タイム(波形を読み出す時間長)として設定する(ステップS1304)。
【0115】
次ぎに、読み出したノート・オンの示すバンクおよびパッド30に割り当てられている波形データを、先頭から1クラスタ分だけディスク14から読み出し、そのトラックに対応するチャンネルの読み出しバッファREADの第1クラスタに記録し(ステップS1306)、ゲート・タイムを1クラスタ分減算する(ステップS1308)。
【0116】
続いて、現在時刻を0に設定し、各トラックの先頭の演奏データを後述する自動演奏データ再生処理(図14参照)における読み出し対象の自動演奏データとするとともに、自動演奏データ再生処理の所定時間毎の起動を開始することにより、自動演奏データの再生が開始される(ステップS1310)。
【0117】
なお、この電子楽器においては、自動演奏データが2度読み出されるようになっている。即ち、読み出しバッファREADからの波形データの読み出しに先立って、この再生処理および後述するクラスタ読み出し終了(PLAY)処理により自動演奏データを読み出し、読み出した自動演奏データに基づいて波形データをディスク14から読み出しバッファREADに記憶し、自動演奏データ再生処理により自動演奏データを読み出し、読み出した自動演奏データに基づいて波形データを読み出しバッファREADから読み出すようになっている。
【0118】
従って、再生処理およびクラスタ読み出し終了(PLAY)処理において読み出し対象とされている演奏データと、自動演奏データ再生処理において読み出し対象とされている演奏データとは異なっている。
【0119】
ステップS1310の処理を終了すると、ステップS1312の処理へ進み、ステップS1314以降の処理において読み出しバッファREADの4クラスタ分の処理が行われた否かを判断する。
【0120】
ステップS1312において、ステップS1314以降の処理において読み出しバッファREADの4クラスタ分の処理が行われたと判断された場合には、この再生処理を終了する。
【0121】
一方、ステップS1312において、ステップS1314以降の処理において読み出しバッファREADの4クラスタ分の処理が行われていないと判断された場合には、ステップS1314以降の処理へ進む。
【0122】
即ち、ステップS1314においては、ゲート・タイムが「0」以下であるか否かを判断する。
【0123】
ステップS1314において、ゲート・タイムが「0」以下でないと判断された場合には、まださきほど記録した波形データに続きがあることを示すので、次の1のクラスタ分をディスク14から読み出し、読み出しバッファREADの直前に記憶したクラスタの次のクラスタに記憶し(ステップS1316)、ゲート・タイムを1クラスタ分減算して(ステップS1318)、ステップS1312へ戻る。
【0124】
一方、ステップS1314において、ゲート・タイムが「0」以下であると判断された場合には、さきほど記録した波形データに続きがないことを示すので、次の自動演奏データを読み出し(ステップS1320)、ノート・オンとノート・オフとの現在時刻の差をゲート・タイムとして設定する(ステップS1322)。
【0125】
ステップS1322の処理を終了すると、ステップS1324へ進み、読み出したノート・オンの示すバンクおよびパッド30に割り当てられている波形データを先頭から1クラスタ分だけディスク14から読み出し、そのトラックに対応するチャンネルの読み出しバッファREADの直前に記憶したクラスタの次のクラスタに記憶し(ステップS1324)、ゲート・タイムを1クラスタ分減算して(ステップS1318)、ステップS1312へ戻る。
【0126】
図14には、再生処理のステップS1310において起動を開始される自動演奏データ再生処理のフローチャートが示されている。
【0127】
再生処理により、この自動演奏データ再生処理の起動の開始が指示されると、所定時間毎にこの自動演奏データ再生処理が実行される。
【0128】
なお、ここでは1トラック分の処理のみを示すが、他のトラックについてもこの処理が同様に行なわれる。
【0129】
この自動演奏データ再生処理のフローチャートにおいては、まず、ステップS1402において、現在時刻が読み出し対象とされている自動演奏データに付加されている現在時刻と一致したか否かを判断する。
【0130】
ステップS1402において、現在時刻が読み出し対象とされている自動演奏データに付加されている現在時刻と一致していないと判断された場合には、そのままこの自動演奏データ再生処理を終了する。
【0131】
一方、ステップS1402において、現在時刻が読み出し対象とされている自動演奏データに付加されている現在時刻と一致したと判断された場合には、ステップS1404へ進み、その自動演奏データを読み出す。
【0132】
ステップS1404の処理を終了すると、ステップS1406へ進み、読み出した自動演奏データが演奏停止であるか、ノート・オンであるか、ノート・オフであるかを判断する。
【0133】
ステップS1406において、読み出した自動演奏データが演奏停止であると判断された場合には、この自動演奏データ再生処理の起動を停止し(ステップS1407)、通常モードに復帰する
一方、ステップS1406において、読み出した自動演奏データがノート・オンであると判断された場合には、そのトラックに対応するチャンネルに波形データの読み出し開始を指示する(ステップS1408)。
【0134】
また、ステップS1406において、読み出した自動演奏データがノート・オフであると判断された場合には、そのトラックに対応するチャンネルに波形データの読み出し停止を指示した後にクラスタ読み出しが終了した旨の通知を発行する(ステップS1410)。
【0135】
そして、ステップS1408またはステップS1410の処理を終了すると、次の自動演奏データを読み出し対象とし(ステップS1412)、それからステップS1402に戻って処理を繰り返す。
【0136】
なお、再生(PLAY)操作子36が操作された後の最初のノート・オン時には、再生処理により、読み出しバッファREADの第1クラスタの先頭が読み出し開始位置として指定されている。これ以降のノート・オンの場合には、今まで読み出していたクラスタの次のクラスタの先頭を読み出し開始位置として指定する。
【0137】
次に、図15に示すクラスタ読み出し終了(PLAY)処理のフローチャートを参照しながら、この電子楽器における自動演奏データの再生中、即ち、再生モード時において、いずれかのチャンネルからクラスタの読み出しを終了したことを通知されたときの処理を説明する。
【0138】
即ち、この電子楽器における自動演奏データの再生中、即ち、再生モードにおいて、いずれかのチャンネルからクラスタの読み出しを終了したことを知らされたときには、図15のクラスタ読み出し終了(PLAY)処理が実行されるものである。クラスタ読み出し終了(PLAY)処理は、読み出しの終了したクラスタに、波形データの読み出しタイミングに先立て波形データを記録するものである。
【0139】
このクラスタ読み出し終了(PLAY)処理のフローチャートにおいては、まず、ステップ1502において、ゲート・タイムが「0」以下であるか否か判断される。
【0140】
ステップS1502において、ゲート・タイムが「0」以下でないと判断された場合には、以前に記録した波形データに続きがあることを示すので、次の1クラスタ分の波形データをディスク14から読み出し、読み出しを終了したクラスタに記憶し(ステップS1504)、ゲート・タイムを1クラスタ分減算して(ステップS1506)、このクラスタ読み出し終了(PLAY)処理を終了する。
【0141】
一方、ステップS1502において、ゲート・タイムが「0」以下であると判断された場合には、以前に記録した波形データに続きがないことを示すので、次の自動演奏データを読み出し(ステップS1508)、ノート・オンとノート・オフとの現在時刻の差をゲート・タイムとして設定する(ステップS1510)。
【0142】
ステップS1510の処理を終了すると、ステップS1512へ進み、読み出したノート・オンの示すバンクおよびパッド30に割り当てられている波形データを、先頭から1クラスタ分だけディスク14から読み出し、読み出しを終了したクラスタに記録し(ステップS1512)、ゲート・タイムを1クラスタ分減算して(ステップS1506)、このクラスタ読み出し終了(PLAY)処理を終了する。
【0143】
従って、上記した電子楽器においては、通常モードにおいてパッド30が操作されたときには、そのパッド30に割り当てられている波形データの読み出しが開始され(パッド・オン(STOP)処理)、パッド30の操作を止めるか波形データの最後まで読み出しを行なった場合には、読み出しが停止されることになる(パッド・オフ(STOP)処理、QT=0(STOP)処理)。
【0144】
また、記録モードでは、まず記録対象のトラックを指定し、それからパッド30を操作する。そうすると、操作されたパッド30に応じて波形データの読み出しが開始されるとともに、操作された時点の現在時刻とともにノート・オンが自動演奏データとして指定されたトラックに記録されることになる(パッド・オン(REC)処理)。
【0145】
なお、このときに、複数のパッド30を同時に操作した場合には、以前に操作されたパッド30に割り当てられている波形データの読み出しが停止され、新たに操作されたパッド30に割り当てられている波形データの読み出しが開始される。また、このとき、以前に操作されたパッド30に関して、ノート・オフがその時点の現在時刻とともに自動演奏データとして指定されたトラックに記録される。
【0146】
また、再生モードにおいては、まず、先頭部分の自動演奏データのノート・オンに対応する波形データが4クラスタ分ディスク14から読み出され、読み出しバッファREADに記録され、続いて再生が開始される(再生処理)。
【0147】
そして、現在時刻が、自動演奏データ中のノート・オンあるいはノート・オフの現在時刻と一致すると、そのノート・オン、ノート・オフが読み出され、それに応じて予め読み出されている波形データの読み出し開始、停止が指示される(自動演奏データ再生処理)。
【0148】
なお、読み出しバッファREADの1クラスタ分の波形データの読み出しが終了した場合には、次の1クラスタ分の波形データがディスク14から読み出され、読み出しバッファREADに記録される。
【0149】
このように、波形データの読み出しバッファREADからの読み出しタイミング以前に、ディスク14から予め波形データが読み出されて、読み出しバッファREADに記録されるようになっている。
【0150】
なお、複数のパッド30が同時に操作されるような自動演奏データにおいても、以前に操作されたパッド30に対しては自動的にノート・オフが書き込まれているので、そのパッド30に対応する波形データは、途中でディスク14からの読み出しが中断されるようになっている。
【0151】
なお、上記した実施の形態は、以下に示すように変形したもよい。
(1)上記した実施の形態においては、記録モードにおいて、指定されたトラック以外のトラックに関しては、自動演奏データの再生を行わないようにしたが、これに限られることなしに、記録モードにおいて、指定されたトラック以外のトラックに関して、既に記録されている自動演奏データの再生を可能としてもよい。このようにすると、他のトラックの再生音を聞きながら、指定したトラックに対する自動演奏データの記録を行うことができる。この場合、記録モードとされたときに図13に示した再生処理と同様な処理を行うようにする。ただし、ステップS1310の処理に関してはこの時点では行わず、記録モードとされた後の最初のパッド30の操作の時点で行うようにする。
【0152】
なお、記録モードとされてから所定の時間が経過した時点、例えば、所定のテンポを設定し、記録モードとされてから設定したテンポに基づいてクリック音を鳴らしながら1小節分の時間が経過した時点を0として、この時点から現在までの経過時間を現在時刻とする場合には、記録モードとされたときにステップS1310の処理を除いて図13に示した再生処理と同様の処理を行い、それから1小節分の時間が経過した時点でのステップS1310の処理を行うようにする。
(2)上記した実施の形態においては、複数のパッド30が同時に操作(押下)された場合に、以前から操作(押下)されていたパッド30に対応する波形データの読み出し停止を指示するデータを記憶し、これを再生したときに波形データの読み出しを停止するようにしたが、これに限られることなしに、複数のパッド30が同時に操作(押下)された場合にも、単に波形データの読み出し開始を指示するデータを記憶するようにし、自動演奏データの再生時においてある波形データの読み出しが指示されている状態で次の波形データの読み出し開始を指示するデータが再生された場合には、前の波形データの読み出しを停止するようにしてもよい。具体的には、上記した実施の形態を以下に説明するように変形すればよい。
【0153】
まず、ノート・オフにも、いずれのバンクのいずれのパッドの操作停止(押下解除)かを示す情報を含ませるようにする。即ち、上記した実施の形態においては、ノート・オンとノート・オフとが必ず交互に記録されるようにしたので、ノート・オフにはいずれのバンクのいずれのパッドの操作停止(押下解除)かを示す情報を含ませる必要がなかったが、この変形例においては、あるノート・オンの次ぎに別のノート・オンが記録されることを許容したので、ノート・オフにもいずれのバンクのいずれのパッドの操作停止(押下解除)かを示す情報を含ませるようにする。
【0154】
そして、図10に示すパッド・オン(REC)処理のフローチャートにおいて、ステップS1006「ノート・オフを記録」の処理内容を削除する。
【0155】
また、図11のフローチャートに示すパッド・オフ(REC)処理を、図16に示すフローチャートの処理に差し替えるものである。即ち、上記した実施の形態においては、パッド30の操作が止められたときに(押下が解除されたときに)、そのパッド30の波形データを最後まで読み出している場合および別のパッド30の波形データを読み出している最中である場合には、操作の止められた(押下の解除された)パッド30のノート・オフが既に記録されているので、そのパッド30に対応する波形データを読み出している最中であるか否かを、ノート・オフを記録するための条件としていた。ところが、変形例においては、パッド30の操作が止められた(押下が解除された)ときに別のパッド30の波形データを読み出している最中である場合にも、まだ操作の止められた(押下の解除された)パッド30のノート・オフが記録されていないようにしたので、ノート・オフを記録するための条件を、そのパッド30の波形データを最後まで読み出しているか否か、即ち、そのパッド30のノート・オフを既に記録しているか否かに差し替えるようにしたものである。
【0156】
また、図13に示す再生処理のフローチャートにおいて、ステップS1302「先頭の自動演奏データを読み出す」およびステップS1304「ゲート・タイムを設定」の処理内容を、「先頭の自動演奏データ(先頭のノート・オンとその直後における当該ノート・オンに対応するノート・オフあるいは別のバンク、パッドに対応するノート・オンの組)を読み出し、後のノート・オフと先のノート・オンとの現在時刻の差、あるいは、後のノート・オンと先のノート・オンとの現在時刻の差を、ゲート・タイムとして設定する。」に差し替える。同様に、ステップS1320「次の自動演奏データを読み出す」およびステップS1322「ゲート・タイムを設定」の処理内容を、「次の自動演奏データ(次のノート・オンとその直後における当該ノート・オンに対応するノート・オフあるいは別のバンク、パッドに対応するノート・オンの組)を読み出し、後のノート・オフと先のノート・オンとの現在時刻の差、あるいは、後のノート・オンと先のノート・オンとの現在時刻の差を、ゲート・タイムとして設定する。」に差し替える。また、図14に示す自動演奏データ再生処理のフローチャートにおいて、ステップS1408「読み出し開始指示」の処理内容を、「再生対象のトラックに対応するチャンネルにおいて、波形データの読み出しが行われている場合には(別のバンク、パッドのノート・オフに関する処理がまだなされていない場合)、そのチャンネルに読み出しの停止を指示し、さらにいままで読み出していたクラスタの次のクラスタからの読み出しの開始を指示する。」に差し替える。さらに、ステップS1410「読み出し停止処理」の処理内容を、「対応するチャンネルでそのノート・オフに対応する波形データの読み出しを行っている場合には、そのチャンネルに波形データの読み出し停止を指示する。」に差し替える。
【0157】
また、図15に示すクラスタ読み出し終了(PLAY)処理のフローチャートにおいて、ステップS1508「次の自動演奏データを読み出す」およびステップS1510「ゲート・タイムを設定」の処理内容を、上記した図13の再生処理のフローチャートに関する場合と同様に、「次の自動演奏データ(次のノート・オンとその直後における当該ノート・オンに対応するノート・オフあるいは別のバンク、パッドに対応するノート・オンの組)を読み出し、後のノート・オフと先のノート・オンとの現在時刻の差、あるいは、後のノート・オンと先のノート・オンとの現在時刻の差を、ゲート・タイムとして設定する。」に差し替える。
(3)上記した実施の形態においては、パッド30の操作(押下)に応じて波形データの読み出しを開始し、パッド30の操作を止めると(押下を解除すると)波形データの読み出しを停止したが、これに限られることなしに、パッド30のの操作(押下)に応じて波形データの読み出しを開始し、その後はパッド30の操作が止められても(押下が解除されても)波形データを最後まで読み終わるまでは読み出しを停止しないようにしてもよい。この場合には、ノート・オフ・データは無効となるので、パッド30の単独操作(押下)に応じてノート・オンのみを記録するようにしてもよい(即ち、パッド30の操作を止めても(押下を解除しても)ノート・オフは記憶しない。)。
(4)上記した実施の形態においては、1つのトラックあたり1つの波形データのみしか同時に読み出すことができないため、自動演奏データの記録時には、同時に1つの波形データのみの読み出しが許容される自動演奏データを作成するようにしたが、これに限られることなしに、1つのトラックあたり同時に複数の波形データの読み出しが可能な場合には、その読み出しが可能な波形データの数だけ、波形データの同時読み出しを許容する自動演奏データを作成するようにしてもよい。
(5)上記した実施の形態においては、1つの自動演奏データ、即ち、1つの曲のみを記録し、その再生開始が指示されたときに、所定量(実施の形態においては4クラスタ分)の波形データをディスク14から半導体メモリ16に転送するようにしたが、これに限られることなしに、複数の自動演奏データ、即ち、複数の曲を記録可能とする場合には、再生対象の自動演奏データを選択した後に再生開始の指示を行うことになるが、この際に、再生対象の自動演奏データを選択した時点で所定量の波形データをディスク14から半導体メモリ16に転送し、再生開始の指示と同時に半導体メモリ16から波形データの読み出しを始めるようにしてもよい。このようにすれば、再生開始の指示の直後から、演奏を開始することができるようになる。
(6)上記した実施の形態においては、自動演奏データとしてノート・オンおよびノート・オフに所定の時点、具体的には記録モードとされた後の最初のパッド30の操作の時点からの経過時間である現在時刻を示す情報を付加することにより、再生モードにおいて当該ノート・オンおよびノート・オフが有効となるタイミングを示すようにしたが、別のデータ形式でノート・オンおよびノート・オフが有効となるタイミングを示すようにしてもよい。
【0158】
例えば、直前の自動演奏データが有効とされる時点から当該ノート・オンあるいはノート・オフが有効とされる時点までの経過時間を示す情報を、当該ノート・オンおよびノート・オフに付加するようにする。
【0159】
また、上記した実施の形態においては、波形データの読み出し開始を指示する情報としてノート・オンを記録するようにしており、波形データの読み出し停止を指示する情報としてノート・オフを記録するようにしている。即ち、波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを別個の情報としているが、波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを1組の情報としてもよい。
【0160】
波形データの読み出し開始を指示する情報と波形データの読み出し停止を指示する情報とを1組の情報とする場合には、例えば、その1組の情報として、波形データの読み出しを開始する時刻を示す情報と、波形データの読み出しを開始する時刻から波形データの読み出しを停止する時刻までの経過時間を示す情報とを記憶するようにしておく。この場合には、記録モードにおいては、パッド30が操作されて波形データの読み出しが開始されてからの経過時間を計測し、パッド30の操作が解除されたとき、あるいは波形データの読み出し中に別のパッド30が操作されたときに、当該計測した経過時間を、読み出しを行なっている波形データに関わる当該1組の情報の波形データの読み出しを開始する時刻から波形データの読み出しを停止する時刻までの経過時間として記憶する。そして、再生モードにおいては、現在時刻が当該1組の情報の示す波形データの読み出しを開始する時刻と一致した時点で、波形データの読み出し開始を指示するとともに、その時点からの経過時間が当該1組の情報の示す波形データの読み出しを開始する時刻から波形データの読み出しを停止する時刻までの経過時間と一致した時点で、波形データの読み出し停止を指示するようにする。
(7)上記した実施の形態においては、ノート・オンにより読み出し開始の指示された波形データの読み出し停止を指示するノート・オフを、ノート・オンとは別のタイミングで記録するようにしているが、ノート・オンを記録した(ステップS1014)直後に、そのノート・オンにより読み出し開始の指示される波形データの読み出し停止を指示するノート・オフを記憶するようにしてもよい。
【0161】
但し、この場合には、ノート・オフの現在時刻を示す情報を本来のノート・オフを記録するタイミング(ステップS1006、S1106)で書き込むか、あるいはノート・オフの現在時刻を示す情報を本来のノート・オフを記録するタイミング(ステップS1006、S1106)まで時間経過に伴って更新し続けるようにする。後者の場合には、本来のノート・オフを記録するタイミング後においては、本来の現在時刻を示す情報がノート・オフに付加されることになる。
(8)上記した実施の形態においては、パッド30の押下を持続している間に波形データの読み出しを行なうようにしているが、これとは異なる操作態様で波形データの読み出しを行なうようにしてもよい。
【0162】
例えば、最初にパッド30を押下したときに波形データの読み出しを開始し、パッド30の押下を解除しても波形データの読み出しを続行し、再度パッド30を押下したときに波形データの読み出しを停止するようにしてもよい。あるいは、パッド30を押下したときに波形データの読み出しを開始し、パッド30の押下を解除しても波形データの読み出しを続行し、波形データの最後まで読み出したときに波形データの読み出しを停止するようにしてもよい。こうしたいずれの場合においても、本発明を適用することができるものであり、ステップS1002、ステップS1004、ステップS1006と同様の処理により、パッド30を押下した時点で既に波形データの読み出しが行なわれている最中である場合には、波形の読み出しを停止し、波形データの読み出し停止を指示する情報を記録するようにすればよい。
【0163】
なお、後者の場合には、あるパッド30を押下して波形データを読み出している最中に同じパッド30を再度押下したときにも、図10に示したフローチャートの処理と同様の処理により、それまで読み出していた波形の読み出しを停止し、波形データの読み出し停止を指示する情報を記録し、再び波形データの先頭から読み出しを行なうようにすればよい。
【0164】
【発明の効果】
本発明は、以上説明したように構成されているので、波形データを割り当てられた操作子を操作(演奏)することにより、当該操作子に割り当てられた波形データの読み出し開始の指示を記憶する場合において、複数の操作子が同時に操作されたときの処理を改善することができるという優れた効果を奏する。
【図面の簡単な説明】
【図1】本発明による電子楽器の全体構成を表すブロック構成図である。
【図2】ディスクの記憶領域のフォーマットを概念的に示す説明図である。
【図3】スタート・バッファSTARTのフォーマットを概念的に示す説明図である。
【図4】読み出しバッファREADのフォーマットを概念的に示す説明図である。
【図5】バンク切り換え処理のフローチャートである。
【図6】パッド・オン(STOP)処理のフローチャートである。
【図7】パッド・オフ(STOP)処理のフローチャートである。
【図8】クラスタ読み出し終了(STOP)処理のフローチャートである。
【図9】QT=0(STOP)処理のフローチャートである。
【図10】パッド・オン(REC)処理のフローチャートである。
【図11】パッド・オフ(REC)処理のフローチャートである。
【図12】QT=0(REC)処理のフローチャートである。
【図13】再生処理のフローチャートである。
【図14】自動演奏データ再生処理のフローチャートである。
【図15】クラスタ読み出し終了(PLAY)処理のフローチャートである。
【図16】実施の形態の変形例によるパッド・オフ(REC)処理のフローチャートである。
【符号の説明】
10 中央処理装置(CPU)
12 アナログ/デジタル変換器(A/D)
14 ディスク
16 半導体メモリ
18 読出器
20 操作パネル
22 デジタル/アナログ変換器(D/A)
30 パッド
32 トラック(TRACK)指定操作子
34 記録(REC)操作子
36 再生(PLAY)操作子
38 停止(STOP)操作子
40 バンク切り換え操作子
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic musical instrument, and more specifically, a plurality of waveform data is stored in advance, and read timings of these waveform data are stored in advance as automatic performance data, and the automatic performance data is reproduced. The present invention relates to an electronic musical instrument that reads waveform data by using the above.
[0002]
[Prior art]
Conventionally, a plurality of waveform data is stored in advance in a large-capacity storage medium such as a disk medium using magnetism or light, and the readout timing of these waveform data is defined in advance as automatic performance data. There is known an electronic musical instrument in which waveform data is read by reproducing performance data.
[0003]
Here, a large-capacity storage medium such as a disk medium using magnetism or light takes a certain amount of time until the waveform data is actually acquired after attempting to read the stored waveform data. is there.
[0004]
For this reason, in a conventional electronic musical instrument, a small-capacity semiconductor memory is provided separately, and waveform data is transferred from the large-capacity storage medium to the semiconductor memory in advance before the actual automatic performance timing. The waveform data stored in the memory is read at a timing defined by the automatic performance data.
[0005]
In this case, when waveform data is read from the semiconductor memory and a free area is created in the semiconductor memory, the next waveform data is transferred from the large-capacity storage medium to the free area. Using the memory, the waveform data is read from the mass storage medium one after another while performing automatic performance.
[0006]
In such electronic musical instruments, generally, there is a limit to the number of waveform data that can be read simultaneously. Specifically, the number of waveform data that can be read simultaneously is limited to “1”, for example.
[0007]
Therefore, the automatic performance data in the electronic musical instrument in which the number of waveform data that can be read simultaneously is limited to “1”, the first waveform data is read from a certain time to a certain time, and from the next certain time to a certain time. The second waveform data different from the first waveform data is read out.
[0008]
By the way, when creating automatic performance data in such a format, information for specifying time and waveform data is entered numerically to create automatic performance data, and it is troublesome to create automatic performance data. Met.
[0009]
On the other hand, having a plurality of operators, assigning waveform data to each of these operators, and operating (playing) these operators to create automatic performance data in real time, It was easy to create automatic performance data.
[0010]
However, conventionally, in the case where automatic performance data is created in real time by manipulating (playing) the operators assigned with waveform data in this way, consideration is given to handling when a plurality of operators are operated simultaneously. Was not.
[0011]
That is, when only one waveform data can be reproduced at the same time, when a plurality of operators assigned with waveform data are operated simultaneously, the operation state as it is is stored and reproduced as automatic performance data. If so, it is necessary to read the waveform data assigned to the previously operated control partway, stop the reading, and start reading the waveform data assigned to the later operated control. However, there was a problem that this was not possible.
[0012]
[Problems to be solved by the invention]
The present invention has been made in view of the various problems of the prior art as described above, and the object of the present invention is to operate (perform) an operator assigned waveform data. An object of the present invention is to provide an electronic musical instrument with improved processing when a plurality of operators are operated simultaneously in the case of storing an instruction to start reading waveform data assigned to the operator.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, the invention described in claim 1 of the present invention is: A plurality of operators each assigned with waveform data, and at least information for instructing to start reading waveform data assigned to the operator based on the operation of the operator in a recording state and the operation Automatic performance means for reading out waveform data assigned to the child and reproducing information instructing to start reading out the waveform data in the reproduction state; and in a state where one waveform data is being read out in the recording state; When an operator is operated to store information instructing to start reading waveform data assigned to the new operator by the automatic performance means and to read waveform data assigned to the new operator Information for instructing to stop reading the waveform data being read The control means for storing and the waveform data in accordance with the information instructing to stop reading of the waveform data are started in response to the information instructing to start reading out the waveform data reproduced by the automatic performance means. Waveform data reading means for stopping data reading; and It is made to have.
[0016]
Accordingly, the present invention claims 1 According to the invention described in (1), when the operator is operated while one waveform data is being read, information for instructing to stop reading the waveform data being read is stored. For this reason, if an operator is operated while one waveform data is being read, reading of the waveform data being read is stopped, and reading of the waveform data assigned to the operated operator is started. To be able to.
[0017]
Here, as the information instructing to start reading waveform data and the information instructing to stop reading waveform data in the present invention, for example, note-on is stored as information instructing to start reading waveform data. The information for instructing to start reading waveform data and the information for instructing to stop reading waveform data are stored as separate information, such as note-off is stored as information instructing to stop reading waveform data. In addition, information instructing to start reading waveform data and information instructing to stop reading waveform data are stored as a set of information.
[0018]
For example, the information for instructing to start reading waveform data and the information for instructing to stop reading waveform data are stored as one set of information. It is only necessary to store the information shown and the information showing the elapsed time from the time when reading of the waveform data is started to the time when reading of the waveform data is stopped. In this case, when the current time coincides with the time when the waveform data indicated by the one set of information starts to be read out, the start of reading the waveform data is instructed, and the elapsed time from that point The stop of reading of waveform data is instructed at the time when the elapsed time from the time when reading of waveform data indicated by the information starts to the time when reading of waveform data is stopped is coincident.
[0019]
In the control means according to claim 1 of the present invention, “ A new control is operated ... the automatic performance means stores information instructing to stop reading waveform data ", but the processing content of such control means is, for example, note information as an instruction to start reading waveform data. When performing a process of storing ON and storing in advance the note-off corresponding to the note-on at the same timing as the note-on, “when two or more of the operators are operated simultaneously. ”Or“ When the operation element is operated ”, information indicating the current time of note-off by writing information indicating the current time of note-off, or stored information indicating the current time of note-off It includes a process of ending the update and confirming the note-off.
[0020]
Here, in the present invention, the waveform data reading means in claim 1 is, for example, in the present invention. 2 As described in the invention, the first storage means for storing the waveform data in advance, the second storage means for temporarily storing the waveform data stored in the first storage means, and the automatic performance Prior to reproduction by the means, transfer means for transferring the waveform data from the first storage means to the second storage means, and reading start of the waveform data reproduced in accordance with the timing of reproduction by the automatic performance means. In response to the instructed information, the reading start means for starting the reading of the waveform data stored in the second storage means, and the storage area in which the waveform data has already been read in the second storage means, Waveform data corresponding to information instructing to start reading the waveform data at a time point later than the current playback timing by the automatic performance means is transferred from the first storage means. And an end means for ending the transfer from the first storage means in response to the information for instructing to stop the reading of the waveform data corresponding to the information for instructing to start the reading of the waveform data. can do.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of an embodiment of an electronic musical instrument according to the present invention will be described in detail with reference to the accompanying drawings.
[0025]
FIG. 1 is a block diagram showing the overall configuration of an electronic musical instrument according to the present invention.
[0026]
This electronic musical instrument is configured to control the overall operation of the electronic musical instrument using a central processing unit (CPU) 10. The CPU 10, an analog / digital converter (A / D) 12, and a magnetic or It comprises a disk 14 using light, a semiconductor memory 16, a reader 18, an operation panel 20, and a digital / analog converter (D / A) 22.
[0027]
That is, in the electronic musical instrument shown in FIG. 1, the entire operation is controlled by the CPU 10, and the audio signal (musical sound signal) input from the outside is A / D converted by the analog / digital converter 12. The waveform data is stored in the disk 14 under the control of the CPU 10.
[0028]
In this embodiment, the disk 14 using magnetism or light is used to store the waveform data. However, a storage device other than the disk may be used as long as it can store a large capacity. Of course it is good.
[0029]
The semiconductor memory 16 has only a small storage capacity compared to the disk 14 but can be accessed at high speed. The semiconductor memory 16 includes a random access memory (RAM) in which an area for storing waveform data, a working area, and the like are provided, and a read only memory (ROM) in which a program of the CPU 10 is stored. It is configured.
[0030]
The reader 18 reads the waveform data stored in the semiconductor memory 16 under the control of the CPU 10, and the read waveform data is converted into an audio signal (musical signal) by a digital / analog converter 22 as a D / A. It is converted and output.
[0031]
Further, the operation panel 20 has 16 pads 30 indicated by numerals 1 to 16 in FIG. 1 (pads 1 to 16 are assigned to the pads 30 corresponding to numerals 1 to 16 in FIG. 1). 1), four track (TRACK) designation operators 32 indicated by numerals 1 to 4 in FIG. 1 (note that the track designation operator 32 corresponds to numerals 1 to 4 in FIG. Track numbers 1 to 4 are managed), a recording (REC) operation element 34, a reproduction (PLAY) operation element 36, a stop (STOP) operation element 38, and a bank switching operation element 40 are provided. Yes. Here, the pad 30 is a push button switch, instructing to start reading waveform data pre-assigned to the pad 30 in response to the start of the operation, and reading out waveform data in response to the stop of the operation. Stopped.
[0032]
In this embodiment, three types of waveform data allocation patterns to the 16 pads 30 are set. Each allocation pattern is referred to as a bank, and an arbitrary bank can be selected according to the operation of the bank switching operator 40.
[0033]
The recording (REC) operation element 34 is an operation element for switching to the recording mode. In the recording mode, automatic performance data corresponding to the operation of each pad 30 is recorded.
A playback (PLAY) operator 36 is an operator for switching to the playback mode. In the playback mode, the recorded automatic performance data is played back, and the waveform data corresponding thereto is read out.
[0034]
A stop (STOP) operation element 38 is an operation element for returning from the recording mode or the reproduction mode to the normal mode.
[0035]
There are four tracks on which the automatic performance data is recorded. In the recording mode, the automatic performance data is stored in any one of the tracks selected by any one of the track designating operators 32. The automatic performance data of the track is played back.
[0036]
FIG. 2 conceptually shows the format of the storage area of the disk 14. The storage area of the disk 14 is divided into clusters each having a predetermined storage capacity, and each waveform data includes one or a plurality of waveform data. Are stored across multiple clusters.
[0037]
In FIG. 2, the clusters are drawn so as to be physically continuous, but need not be physically continuous. Therefore, with respect to each waveform data, a cluster storing the top part of the waveform data, a cluster storing the next part, a cluster storing the next part,... For each waveform data, it is managed in which cluster on the disk 14 each part of the waveform data is stored.
[0038]
The waveform data is always stored from the beginning of the cluster, and only one waveform data is stored in one cluster. Since the size of the waveform data is independent of the size of the cluster, the end of the waveform data is generally not the end of the cluster.
[0039]
Each waveform data is set with a data amount QT of the waveform data.
Next, the semiconductor memory 16 will be described. In addition to the above-described area for managing each waveform data, bank management area, automatic performance data storage area, working area, etc. Corresponding to each of the pads 30, a start buffer START for storing the start position portion of the waveform data assigned to each of these pads 30, and for temporarily storing the waveform data from the disk 14 when reading the waveform data 4 channels of read buffers READ are provided.
[0040]
In the recording mode and the reproduction mode, each channel corresponds to each track.
[0041]
FIG. 3 conceptually shows the format of the start buffer START described above. The start buffer START is provided with areas for two clusters corresponding to the 16 pads 30 of pad numbers 1 to 16, respectively, and each area is assigned with cluster number 1 and cluster number 2, respectively. Yes.
[0042]
FIG. 4 conceptually shows the format of the read buffer READ described above. The read buffer READ is provided with an area for four channels so that four-tone simultaneous sound generation is possible, and channel numbers 1 to 4 are assigned to the respective channels. Further, each of these four channels is provided with an area for four clusters corresponding to each channel, and cluster numbers 1 to 4 are assigned to each area.
[0043]
In this specification, in order to facilitate understanding of the present invention, an area for one cluster of the start buffer START and the read buffer READ is also referred to as a “cluster”.
[0044]
When the start of reading is instructed by the operation of the pad 30 (pressing start), one of the channels is selected based on an assignment order (which will be described later) indicating the order of which channel is selected. The stored contents of the start buffer START corresponding to the operated pad 30 are transferred to the read buffer READ of the channel.
[0045]
Further, the reading device 18 is provided with four channels for reading, and each channel reads the stored contents of the corresponding channel of the reading buffer READ and outputs it as an audio signal (musical signal).
[0046]
The clusters in the read buffer READ are read in the order of cluster numbers 1 to 4. When the cluster with cluster number 4 is read, the cluster with cluster number 1 is read next.
[0047]
Each channel is set with a data amount QT of waveform data read by the channel.
[0048]
In the reader 18, each channel starts reading the waveform data stored in the first cluster of the read buffer READ in response to the waveform data read start instruction by the operation (start pressing) of the pad 30. The data of one sample is read for each sampling period, and the set data amount QT is decremented.
[0049]
Each channel notifies the CPU 10 when reading of each cluster of the read buffer READ is completed and when the value of the data amount QT becomes 0.
[0050]
When the CPU 10 receives notification that the cluster reading has been completed, the CPU 10 reads and stores one cluster of waveform data to be stored next in the cluster from the disk 14, while the data amount QT is 0. When it is notified that it has become, after instructing that channel to stop reading, a notification that cluster reading has ended is issued.
[0051]
The channel stops reading waveform data when receiving a read stop instruction from the CPU 10.
[0052]
In the normal mode, the waveform data corresponding to the pad 30 is read to the end when the operation of the pad 30 is stopped (when the press is released) or during the operation (pressing) of the pad 30. Sometimes, reading of waveform data is stopped.
[0053]
In addition, the storage area of the automatic performance data in the semiconductor memory 16 is provided with a storage area for each track, and time-series automatic performance data is stored for each track.
[0054]
Here, the automatic performance data includes note-on, note-off, and performance stop, all of which are stored together with information indicating the current time.
[0055]
In the recording mode, the current time indicates the elapsed time from this time point to the present time, with the time point of the operation (start of pressing) of the first pad 30 after the recording mode is set to zero.
[0056]
In the playback mode, the time when the playback mode is set is 0, the elapsed time from this time to the current time is the current time, and note-on and note-off that match the current time are played.
[0057]
Note that information indicating which pad 30 of which bank has been operated is also recorded in the note-on.
[0058]
The performance stop is recorded when the performance stop is instructed by the operation of the stop (STOP) operator 38.
[0059]
Next, referring to the bank switching process flowchart shown in FIG. 5, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, the bank switching operator 40 is operated to instruct bank switching. Will be explained.
[0060]
That is, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, when the bank switching operation element 40 is operated to instruct bank switching, the processing shown in the bank switching processing flowchart of FIG. 5 is executed. Is.
[0061]
In the bank switching process flowchart, first, in step S502, waveform data is assigned to each pad 30 corresponding to a newly designated bank.
[0062]
When the process of step S502 is completed, the process proceeds to step S504, and the waveform data for the first two clusters is read from the disk 14 for the waveform data corresponding to each pad 30, and the first cluster and the second cluster of the corresponding start buffer START are read. Remember to cluster. However, with regard to waveform data composed of only one cluster, the waveform data is stored only in the first cluster.
[0063]
When the process of step S504 is completed, the process proceeds to step S506, where the readout of the waveform data is instructed to each readout channel of the reader 18, and the assignment order is updated when the channel is not in use.
[0064]
When the process of step S506 is terminated, the process of the flowchart of the bank switching process is terminated.
[0065]
Next, referring to the flowchart of the pad-on (STOP) process shown in FIG. 6, while the operation of the electronic musical instrument is stopped, that is, in the normal mode, any one of the pads 30 is operated (pressed down) and read. Processing when a start instruction is given will be described.
[0066]
That is, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, when any of the pads 30 is operated (pressed down) and a reading start instruction is given, the flowchart of the pad-on (STOP) process in FIG. The processing shown in FIG.
[0067]
In the flowchart of the pad-on (STOP) process, first, in step S602, a channel to which the waveform data of the newly operated pad 30 is assigned is selected based on a predetermined assignment order.
[0068]
The assignment order may be determined by using a well-known assignment technique. For example, if there is a channel for which waveform data is not read out, the channel is selected, and a channel for which waveform data is not read out is selected. If not, select the channel that started reading the earliest.
If a channel being read is selected, stop reading is instructed to that channel.
[0069]
When the process of step S602 is completed, the process proceeds to step S604, and the waveform data of the first cluster and the second cluster of the start buffer START of the newly operated pad 30 is converted into the first cluster of the read buffer READ of the selected channel. And store in the second cluster.
[0070]
If only waveform data for one cluster in the start buffer START is stored, only the waveform data for one cluster is transferred to the read buffer READ.
[0071]
When the process of step S604 is completed, the process proceeds to step S606, where the data amount QT of the waveform data allocated in the currently selected bank (hereinafter referred to as “current bank”) with respect to the newly operated pad 30 is determined. The selected channel is set, and this channel is instructed to start reading from the top of the first cluster. At this time, the management information and the assignment order indicating which waveform data of which pad 30 is read in which channel is updated in accordance with the use of the channel.
[0072]
As a result, reading of the waveform data assigned in the current bank with respect to the operated pad 30 in the selected channel is started.
[0073]
When the process of step S606 is completed, the process proceeds to step S608, where the remaining two clusters of waveform data are read from the disk 14 and transferred to the third and fourth clusters of the read buffer READ of the selected channel. The on (STOP) process is terminated.
[0074]
When the waveform data is only for two clusters, the waveform data is not transferred. When the waveform data is only for three clusters, only the waveform data for one cluster is transferred.
[0075]
By the pad-on (STOP) processing described above, the waveform data necessary for the read buffer READ is stored and reading of the waveform data is started in accordance with the operated pad 30.
[0076]
Next, referring to the flowchart of the pad-off (STOP) process shown in FIG. 7, while the operation of the electronic musical instrument is stopped, that is, in the normal mode, any one of the pads 30 is stopped (press release) The process when a read stop instruction is issued will be described.
[0077]
That is, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, when any of the pads 30 is stopped (depressed) and a reading stop instruction is given, the pad OFF (STOP) in FIG. ) The process shown in the process flowchart is executed.
[0078]
In the pad-off (STOP) process flowchart, first, in step S702, it is determined whether or not there is a channel for reading the waveform data of the pad 30 whose operation has been stopped (depressed).
[0079]
If it is determined in step S702 that there is no channel for reading the waveform data of the pad 30 whose operation has been stopped (depressed), the pad-off (STOP) process is terminated.
[0080]
On the other hand, if it is determined in step S702 that there is a channel that is reading the waveform data of the pad 30 whose operation has been stopped (depressed), the process proceeds to step S704 to instruct the channel to stop reading. Then, the pad-off (STOP) process is terminated. At this time, the management information indicating the waveform data of which pad 30 is being read in which channel and the assignment order are updated as the channel becomes inactive.
[0081]
Next, referring to the flowchart of the cluster reading end (STOP) processing shown in FIG. 8, when the electronic musical instrument is stopped, that is, in the normal mode, when reading of the cluster is notified from any channel. Processing will be described.
That is, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, when the readout of the cluster is notified from any channel, the processing shown in the flowchart of the cluster readout end (STOP) processing in FIG. 8 is executed. Is.
[0082]
Note that processing similar to the cluster read end (STOP) processing shown in FIG. 8 is performed during recording of automatic performance data in the electronic musical instrument, that is, in the recording mode.
[0083]
In the flowchart of the cluster read end (STOP) process, in step S802, the waveform data assigned to the pad 30 corresponding to the waveform data being read in the channel where the cluster read has been completed is already stored in the read buffer READ. The next one cluster is read from the disk 14 and stored in the cluster that has been read, and this cluster read end (STOP) process is terminated.
[0084]
If all the waveform data has already been stored in the read buffer READ, the cluster read end (STOP) process is terminated without performing the process of step S802.
[0085]
Next, referring to the flowchart of the QT = 0 (STOP) process shown in FIG. 9, while the operation of the electronic musical instrument is stopped, that is, in the normal mode, the value of the data amount QT from any channel is “0”. The process when the fact that it has been notified will be described.
[0086]
That is, when the operation of the electronic musical instrument is stopped, that is, in the normal mode, when it is notified from any channel that the value of the data amount QT is “0”, this QT = 0 (STOP) process The processing shown in the flowchart is executed.
[0087]
In the flowchart of the QT = 0 (STOP) process, in step S902, a stop of reading is instructed to a channel whose data amount QT is “0”, and the channel is not used. Accordingly, the management information and assignment order indicating which waveform data of which pad 30 is read out in which channel is updated, and this QT = 0 (STOP) process is terminated.
[0088]
Next, referring to the flowchart of the pad-on (REC) process shown in FIG. 10, any pad 30 is operated (starts pressing) during recording of automatic performance data in this electronic musical instrument, that is, in the recording mode. A process when a read start instruction is issued will be described.
[0089]
That is, during recording of automatic performance data in this electronic musical instrument, that is, in the recording mode, when any pad 30 is operated (beginning pressing) and a read start instruction is issued, the pad on (REC) process of FIG. 10 is performed. The processing shown in the flowchart is executed.
[0090]
In the pad-on (REC) process flowchart, first, in step S1002, it is determined whether the channel corresponding to the currently selected track is being read out of waveform data. That is, when the pad 30 is operated, it is determined whether another pad 30 has already been operated and waveform data is being read.
[0091]
If it is determined in step S1002 that the channel corresponding to the currently selected track is being read out of waveform data, stop reading is instructed to that channel (step S1004), and the current selection of automatic performance data is performed. The note-off data is recorded along with the current time on the track being recorded (step S1006).
[0092]
As a result, in the playback mode, similarly to the time of recording, reading of the waveform data that has been read until then is interrupted in response to the start of reading of new waveform data.
[0093]
When the process of step S1006 is completed, or when it is determined in step S1002 that the channel corresponding to the currently selected track is not being read out of waveform data, the process proceeds to step S1008 and subsequent steps.
[0094]
In the processing after step S1008, similarly to the pad-on (STOP) processing, the waveform data of the first cluster and the second cluster in the start buffer START of the operated pad 30 are associated with the currently selected track. Is stored in the first cluster and the second cluster of the read buffer READ of the channel to be read (step S1008), the data amount QT of the waveform data to be read is set in that channel, and the read from the head of the first cluster is performed for this channel Is instructed to start (step S1010).
[0095]
Thereby, reading of the waveform data assigned to the operated pad 30 is started.
[0096]
When the process of step S1010 is completed, the process proceeds to step S1012, where the waveform data for the remaining two clusters are read from the disk 14 and transferred to the third cluster and the fourth cluster of the read buffer READ of that channel.
[0097]
When the processing of step S1012 is completed, the process proceeds to step S1014, where note-on data regarding the operated pad 30 of the current bank is recorded along with the current time on the currently selected track of the automatic performance data. End the on (REC) process.
[0098]
By the pad-on (REC) process described above, reading of waveform data is started according to the operated pad 30, and note-on data is recorded in the automatic performance data.
[0099]
Next, referring to the flowchart of the pad-off (REC) process shown in FIG. 11, any one of the pads 30 is stopped during the automatic performance data recording in the electronic musical instrument, that is, in the recording mode. A process when an instruction to stop reading is issued (after depressing the button) will be described.
[0100]
That is, during the recording of automatic performance data in this electronic musical instrument, that is, in the recording mode, when any pad 30 is stopped (depressed) and a reading stop instruction is issued, the pad of FIG. The processing shown in the flowchart of the off (REC) processing is executed.
[0101]
In the flowchart of this pad-off (REC) process, first, in step S1102, in the channel corresponding to the currently selected track, the waveform assigned to the pad 30 whose operation has been stopped (depressed). It is determined whether data is being read.
[0102]
If it is determined in step S1102 that the waveform data assigned to the pad 30 whose operation is stopped (depressed) is being read in the channel corresponding to the currently selected track. In step S1104, the channel is instructed to stop reading.
At this time, the management information indicating the waveform data of which pad 30 is being read in which channel and the assignment order are updated as the channel becomes inactive.
[0103]
When the process of step S1104 is completed, the process proceeds to step S1106, where note-off data is recorded along with the current time on the currently selected track of the automatic performance data, and this pad-off (REC) process is terminated.
[0104]
On the other hand, when it is determined in step S1102 that the waveform data assigned to the pad 30 whose operation has been stopped (depressed) has not been read in the channel corresponding to the currently selected track. (Note that in this case, the waveform data assigned to the pad 30 whose operation has been stopped (depressed) has been read to the end and the reading has been stopped, In the case where the assigned waveform data is read out, there are two cases), and the pad-off (REC) process is terminated as it is.
[0105]
Next, referring to the flowchart of the QT = 0 (REC) process shown in FIG. 12, during recording of automatic performance data in this electronic musical instrument, that is, in the recording mode, in the channel corresponding to the currently selected track. A process when notified that the value of the data amount QT is “0” will be described.
[0106]
That is, during recording of automatic performance data in this electronic musical instrument, that is, in the recording mode, when it is notified that the value of the data amount QT has become “0” in the channel corresponding to the currently selected track. The process shown in the flowchart of this QT = 0 (REC) process is executed.
[0107]
In the flowchart of the QT = 0 (REC) process, first, in step S1202, stop reading is instructed to the channel corresponding to the currently selected track.
[0108]
At this time, the management information indicating the waveform data of which pad 30 is being read in which channel and the assignment order are updated as the channel becomes inactive.
[0109]
When the process of step S1202 ends, the process proceeds to step S1204, note-off data is recorded along with the current time on the currently selected track of the automatic performance data, and the QT = 0 (REC) process ends.
[0110]
Next, processing when the playback (PLAY) operation element 36 is operated will be described with reference to the flowchart of playback processing shown in FIG.
[0111]
That is, this reproduction process is executed when the reproduction (PLAY) operation element 36 is operated.
[0112]
Although only the process for one track is shown here, the other tracks are similarly performed for the processes other than step S1310.
[0113]
In this electronic musical instrument, the waveform data is read from the disk 14 and transferred to the buffer READ before the playback timing of the automatic performance data, and the playback operation is performed by operating the playback (PLAY) operator 36. Sometimes, waveform data for four clusters corresponding to the note-on at the beginning of the automatic performance data is transferred to the read buffer READ.
[0114]
In the flowchart of this playback process, the mode is switched to the playback mode, and the leading automatic performance data (a set of note-on and note-off) is read (step S1302), and the current time of note-on and note-off is determined. The difference is set as a gate time (time length for reading a waveform) (step S1304).
[0115]
Next, the waveform data assigned to the bank and pad 30 indicated by the note-on read out is read from the disk 14 for one cluster from the head, and recorded in the first cluster of the read buffer READ of the channel corresponding to the track. Then, the gate time is subtracted by one cluster (step S1308).
[0116]
Subsequently, the current time is set to 0, the performance data at the beginning of each track is set as automatic performance data to be read in automatic performance data reproduction processing (see FIG. 14) described later, and a predetermined time for automatic performance data reproduction processing. By starting the activation every time, the reproduction of the automatic performance data is started (step S1310).
[0117]
In this electronic musical instrument, automatic performance data is read twice. That is, prior to reading the waveform data from the read buffer READ, the automatic performance data is read by this reproduction processing and cluster read end (PLAY) processing described later, and the waveform data is read from the disk 14 based on the read automatic performance data. The automatic performance data stored in the buffer READ is read out by the automatic performance data reproduction process, and the waveform data is read out from the buffer READ based on the read automatic performance data.
[0118]
Therefore, the performance data to be read in the reproduction process and the cluster read end (PLAY) process is different from the performance data to be read in the automatic performance data reproduction process.
[0119]
When the process of step S1310 ends, the process proceeds to the process of step S1312, and it is determined whether or not four clusters of the read buffer READ have been performed in the processes after step S1314.
[0120]
In step S1312, when it is determined that processing for four clusters of the read buffer READ has been performed in the processing after step S1314, the reproduction processing is terminated.
[0121]
On the other hand, in step S1312, when it is determined that the processing for four clusters of the read buffer READ is not performed in the processing after step S1314, the processing proceeds to the processing after step S1314.
[0122]
That is, in step S1314, it is determined whether the gate time is “0” or less.
[0123]
If it is determined in step S1314 that the gate time is not equal to or less than “0”, it indicates that there is still a continuation in the previously recorded waveform data, so the next one cluster is read from the disk 14 and read buffer. The data is stored in the cluster next to the cluster stored immediately before READ (step S1316), the gate time is subtracted by one cluster (step S1318), and the process returns to step S1312.
[0124]
On the other hand, if it is determined in step S1314 that the gate time is less than or equal to “0”, it indicates that the previously recorded waveform data is not continued, so the next automatic performance data is read (step S1320). The difference between the current time of note-on and note-off is set as the gate time (step S1322).
[0125]
When the processing in step S1322 ends, the process proceeds to step S1324, and the waveform data assigned to the bank and pad 30 indicated by the note-on read out is read from the disk 14 for one cluster from the beginning, and the channel corresponding to the track is read. The data is stored in the cluster next to the cluster stored immediately before the read buffer READ (step S1324), the gate time is subtracted by one cluster (step S1318), and the process returns to step S1312.
[0126]
FIG. 14 shows a flowchart of the automatic performance data reproduction process started in step S1310 of the reproduction process.
[0127]
When the start of the automatic performance data reproduction process is instructed by the reproduction process, the automatic performance data reproduction process is executed every predetermined time.
[0128]
Although only the processing for one track is shown here, this processing is similarly performed for other tracks.
[0129]
In the flowchart of this automatic performance data reproduction process, first, in step S1402, it is determined whether or not the current time coincides with the current time added to the automatic performance data to be read.
[0130]
If it is determined in step S1402 that the current time does not coincide with the current time added to the automatic performance data to be read, the automatic performance data reproduction process is terminated.
[0131]
On the other hand, if it is determined in step S1402 that the current time matches the current time added to the automatic performance data to be read, the process proceeds to step S1404, and the automatic performance data is read.
[0132]
When the process of step S1404 ends, the process proceeds to step S1406, and it is determined whether the read automatic performance data is a performance stop, note-on, or note-off.
[0133]
If it is determined in step S1406 that the read automatic performance data is a performance stop, the start of the automatic performance data reproduction process is stopped (step S1407), and the normal mode is restored.
On the other hand, if it is determined in step S1406 that the read automatic performance data is note-on, the channel corresponding to the track is instructed to start reading waveform data (step S1408).
[0134]
If it is determined in step S1406 that the read automatic performance data is note-off, the channel corresponding to the track is instructed to stop reading waveform data, and a notification that cluster reading is complete is sent. Issue (step S1410).
[0135]
When the process of step S1408 or step S1410 is completed, the next automatic performance data is read (step S1412), and then the process returns to step S1402 to repeat the process.
[0136]
Note that at the first note-on after the playback (PLAY) operator 36 is operated, the top of the first cluster of the read buffer READ is designated as the read start position by the playback process. In the subsequent note-on, the head of the next cluster after the cluster that has been read is designated as the read start position.
[0137]
Next, referring to the cluster reading end (PLAY) processing flowchart shown in FIG. 15, the reading of the cluster from one of the channels is completed during the playback of the automatic performance data in the electronic musical instrument, that is, in the playback mode. The processing when this is notified will be described.
[0138]
That is, during playback of automatic performance data in this electronic musical instrument, that is, in the playback mode, when it is informed that reading of the cluster is finished from any channel, the cluster reading end (PLAY) processing of FIG. 15 is executed. Is. The cluster read end (PLAY) process is to record the waveform data prior to the waveform data read timing in the cluster that has been read out.
[0139]
In the flowchart of the cluster read end (PLAY) process, first, in step 1502, it is determined whether or not the gate time is equal to or less than “0”.
[0140]
If it is determined in step S1502 that the gate time is not “0” or less, it indicates that there is a continuation in the previously recorded waveform data, so the waveform data for the next one cluster is read from the disk 14, The data is stored in the cluster that has been read (step S1504), the gate time is subtracted by one cluster (step S1506), and this cluster read end (PLAY) process is terminated.
[0141]
On the other hand, if it is determined in step S1502 that the gate time is equal to or less than “0”, it indicates that the previously recorded waveform data does not continue, so the next automatic performance data is read (step S1508). The difference between the current time of note-on and note-off is set as the gate time (step S1510).
[0142]
When the processing of step S1510 ends, the process proceeds to step S1512, and the waveform data assigned to the bank and pad 30 indicated by the note-on read is read from the disk 14 for one cluster from the beginning, and the cluster that has been read out is read. Recording is performed (step S1512), the gate time is subtracted by one cluster (step S1506), and this cluster read end (PLAY) process is terminated.
[0143]
Therefore, in the electronic musical instrument described above, when the pad 30 is operated in the normal mode, reading of the waveform data assigned to the pad 30 is started (pad-on (STOP) processing), and the operation of the pad 30 is performed. If the reading is stopped or the waveform data is read to the end, the reading is stopped (pad-off (STOP) processing, QT = 0 (STOP) processing).
[0144]
In the recording mode, a recording target track is first designated, and then the pad 30 is operated. Then, reading of the waveform data is started according to the operated pad 30, and note-on is recorded on the track designated as the automatic performance data together with the current time at the time of the operation (pad. ON (REC) processing).
[0145]
At this time, when a plurality of pads 30 are operated at the same time, reading of the waveform data assigned to the previously operated pad 30 is stopped and assigned to the newly operated pad 30. Reading of the waveform data is started. At this time, with respect to the pad 30 operated before, note-off is recorded on the track designated as automatic performance data together with the current time at that time.
[0146]
In the reproduction mode, first, waveform data corresponding to note-on of the automatic performance data at the head portion is read from the disk 14 for four clusters, recorded in the read buffer READ, and then reproduction is started ( Playback process).
[0147]
When the current time coincides with the current time of note-on or note-off in the automatic performance data, the note-on and note-off are read out, and the waveform data read in advance is read accordingly. Reading start and stop are instructed (automatic performance data reproduction processing).
[0148]
When reading of the waveform data for one cluster in the read buffer READ is completed, the waveform data for the next one cluster is read from the disk 14 and recorded in the read buffer READ.
[0149]
As described above, the waveform data is read from the disk 14 in advance and recorded in the read buffer READ before the timing for reading the waveform data from the read buffer READ.
[0150]
Note that even in automatic performance data in which a plurality of pads 30 are operated simultaneously, note-off is automatically written for the previously operated pad 30, so that the waveform corresponding to that pad 30 is recorded. Reading of data from the disk 14 is interrupted halfway.
[0151]
The embodiment described above may be modified as shown below.
(1) In the above-described embodiment, the automatic performance data is not reproduced for tracks other than the designated track in the recording mode. However, the present invention is not limited to this. It may be possible to reproduce the already recorded automatic performance data for tracks other than the designated track. In this way, it is possible to record the automatic performance data for the designated track while listening to the reproduction sound of the other track. In this case, processing similar to the reproduction processing shown in FIG. 13 is performed when the recording mode is set. However, the processing of step S1310 is not performed at this time, but is performed at the time of the first operation of the pad 30 after the recording mode is set.
[0152]
It should be noted that when a predetermined time has elapsed since the recording mode was entered, for example, a predetermined tempo was set, and a time corresponding to one bar had elapsed while a click sound was generated based on the set tempo after the recording mode was entered. When the time is 0 and the elapsed time from this time to the current time is the current time, when the recording mode is set, the processing similar to the reproduction processing shown in FIG. 13 is performed except for the processing in step S1310. Then, the process of step S1310 is performed when the time for one measure has elapsed.
(2) In the above-described embodiment, when a plurality of pads 30 are operated (pressed) at the same time, data for instructing to stop reading waveform data corresponding to the pad 30 that has been operated (pressed) from before is displayed. The waveform data reading is stopped when the data is stored and reproduced. However, the present invention is not limited to this, and even when a plurality of pads 30 are operated (pressed) at the same time, the waveform data is simply read out. When data for instructing the start of reading the next waveform data is reproduced in a state in which the readout of the waveform data is instructed at the time of reproducing the automatic performance data, the data for instructing the start is stored. The reading of the waveform data may be stopped. Specifically, the above-described embodiment may be modified as described below.
[0153]
First, note-off includes information indicating which pad operation stop (press release) in any bank. In other words, in the above-described embodiment, note-on and note-off are always recorded alternately. However, in this modification, since another note-on is allowed to be recorded next to a certain note-on, any of the banks in any bank is also included in the note-off. The information indicating whether the operation of the pad is stopped (press release) is included.
[0154]
Then, in the flowchart of the pad-on (REC) process shown in FIG. 10, the processing content of step S1006 “Record note-off” is deleted.
[0155]
Further, the pad-off (REC) process shown in the flowchart of FIG. 11 is replaced with the process of the flowchart shown in FIG. That is, in the above-described embodiment, when the operation of the pad 30 is stopped (when the press is released), the waveform data of the pad 30 is read to the end and the waveform of another pad 30 is read. When the data is being read out, note-off of the pad 30 whose operation has been stopped (depressed) has already been recorded, so the waveform data corresponding to the pad 30 is read out. Whether or not he / she is in the middle is a condition for recording a note-off. However, in the modified example, even when the operation of the pad 30 is stopped (pressing is released) and the waveform data of another pad 30 is being read, the operation is still stopped ( Since the note-off of the pad 30 (which has been released) is not recorded, the condition for recording the note-off is whether the waveform data of the pad 30 has been read to the end, ie, The note-off of the pad 30 is replaced with whether it has already been recorded.
[0156]
Further, in the flowchart of the reproduction processing shown in FIG. 13, the processing contents of step S1302 “read the first automatic performance data” and step S1304 “set the gate time” are set to “first automatic performance data (first note-on data)”. And a note-off corresponding to the note-on immediately after that or another bank, a set of note-on corresponding to the pad), and the difference between the current time of the subsequent note-off and the previous note-on, Alternatively, the difference between the current time of the later note-on and the previous note-on is set as the gate time. Similarly, the processing contents of step S1320 “read next automatic performance data” and step S1322 “set gate time” are changed to “next automatic performance data (next note-on and next note-on immediately after that”). The corresponding note-off or note-on pair corresponding to another bank or pad) is read, and the current time difference between the later note-off and the previous note-on, or the later note-on and earlier The difference between the current time and the note-on time is set as the gate time. " Further, in the flowchart of the automatic performance data reproduction process shown in FIG. 14, the processing content of step S1408 “Read start instruction” is set to “When waveform data is being read in the channel corresponding to the reproduction target track. (When processing related to note-off of another bank or pad has not been performed yet), the channel is instructed to stop reading, and further, the start of reading from the cluster next to the cluster that has been read is instructed. Replace with. Furthermore, the processing content of the step S1410 “Reading stop processing” is “If the waveform data corresponding to the note-off is being read in the corresponding channel, the channel is instructed to stop reading the waveform data. Replace with.
[0157]
Further, in the flowchart of the cluster read end (PLAY) process shown in FIG. 15, the processing contents of step S1508 “read next automatic performance data” and step S1510 “set gate time” are described in the reproduction process of FIG. As in the case of the flow chart of “The next automatic performance data (the next note-on and the note-on corresponding to the note-on immediately after that or a set of note-on corresponding to another bank and pad) The gate time is set to the difference between the current time of reading and the subsequent note-off and the previous note-on, or the difference of the current time between the subsequent note-on and the previous note-on. Replace.
(3) In the above-described embodiment, reading of waveform data is started in response to the operation (pressing) of the pad 30, and reading of the waveform data is stopped when the operation of the pad 30 is stopped (when the pressing is released). Without being limited to this, reading of waveform data is started in response to the operation (pressing) of the pad 30, and thereafter, the waveform data is stored even if the operation of the pad 30 is stopped (the pressing is released). The reading may not be stopped until the reading is completed. In this case, note-off data becomes invalid, so that only note-on may be recorded in response to a single operation (pressing) of the pad 30 (that is, even if the operation of the pad 30 is stopped). (Even if the press is released, note-off is not stored.)
(4) In the above-described embodiment, only one waveform data per track can be read out simultaneously. Therefore, when automatic performance data is recorded, automatic performance data that allows only one waveform data to be read out simultaneously is allowed. However, the present invention is not limited to this, and when a plurality of waveform data can be read simultaneously per track, the waveform data can be read simultaneously by the number of waveform data that can be read. Automatic performance data that allows the user to perform the process may be created.
(5) In the above-described embodiment, only one automatic performance data, that is, one tune is recorded, and when a reproduction start is instructed, a predetermined amount (for four clusters in the embodiment) The waveform data is transferred from the disk 14 to the semiconductor memory 16. However, the present invention is not limited to this, and a plurality of automatic performance data, that is, a plurality of songs can be recorded. After the data is selected, playback start is instructed. At this time, when automatic performance data to be played back is selected, a predetermined amount of waveform data is transferred from the disk 14 to the semiconductor memory 16 to start playback. Simultaneously with the instruction, reading of the waveform data from the semiconductor memory 16 may be started. In this way, the performance can be started immediately after the reproduction start instruction.
(6) In the above-described embodiment, the elapsed time from the point of time when the pad 30 is operated first after the note-on and note-off are performed as the automatic performance data at a predetermined time, specifically the recording mode. By adding information indicating the current time, the timing at which the note-on and note-off are valid in the playback mode is indicated, but note-on and note-off are valid in another data format. You may make it show the timing which becomes.
[0158]
For example, information indicating the elapsed time from the time when the previous automatic performance data is valid until the time when the note-on or note-off is valid is added to the note-on and note-off. To do.
[0159]
In the embodiment described above, note-on is recorded as information for instructing to start reading waveform data, and note-off is recorded as information for instructing to stop reading waveform data. Yes. That is, the information for instructing the start of reading waveform data and the information for instructing to stop reading waveform data are separate information, but the information for instructing to start reading waveform data and the information to instruct to stop reading waveform data May be a set of information.
[0160]
When the information for instructing to start reading waveform data and the information for instructing to stop reading waveform data are set as one set of information, for example, the time to start reading waveform data is indicated as the set of information. Information and information indicating the elapsed time from the time when reading of waveform data is started to the time when reading of waveform data is stopped are stored. In this case, in the recording mode, the elapsed time from when the pad 30 is operated and the reading of the waveform data is started is measured, and when the operation of the pad 30 is released or during the reading of the waveform data, When the pad 30 is operated, the measured elapsed time is measured from the time when reading of the waveform data of the set of information related to the waveform data being read is started to the time when reading of the waveform data is stopped. Is stored as the elapsed time. In the reproduction mode, when the current time coincides with the time when the waveform data indicated by the one set of information starts to be read out, the start of reading out the waveform data is instructed, and the elapsed time from that time is the time 1 The stop of reading of the waveform data is instructed at the time when the elapsed time from the time when the reading of the waveform data indicated by the set information starts to the time when the reading of the waveform data is stopped is coincident.
(7) In the above-described embodiment, note-off for instructing to stop reading waveform data instructed to start reading by note-on is recorded at a timing different from that for note-on. Immediately after note-on is recorded (step S1014), note-off instructing to stop reading waveform data instructed to start reading by the note-on may be stored.
[0161]
However, in this case, information indicating the current time of note-off is written at the timing of recording the original note-off (steps S1006 and S1106), or information indicating the current time of note-off is written to the original note. Update is continued as time elapses until the timing of recording OFF (steps S1006 and S1106). In the latter case, after the timing of recording the original note-off, information indicating the original current time is added to the note-off.
(8) In the embodiment described above, the waveform data is read while the pad 30 is kept pressed. However, the waveform data is read in a different operation mode. Also good.
[0162]
For example, waveform data reading starts when the pad 30 is first pressed, continues reading waveform data even when the pad 30 is released, and stops reading waveform data when the pad 30 is pressed again. You may make it do. Alternatively, the waveform data reading is started when the pad 30 is pressed, the waveform data reading is continued even when the pad 30 is released, and the waveform data reading is stopped when the waveform data is read to the end. You may do it. In any of these cases, the present invention can be applied, and the waveform data has already been read out when the pad 30 is pressed by the same processing as in steps S1002, S1004, and S1006. If it is in the middle, the waveform reading is stopped, and information instructing the waveform data reading stop may be recorded.
[0163]
In the latter case, when a certain pad 30 is pressed and the same pad 30 is pressed again while the waveform data is being read out, the same processing as in the flowchart shown in FIG. It is only necessary to stop reading the waveform that has been read up to this point, record information instructing to stop reading the waveform data, and read the waveform data again from the beginning.
[0164]
【The invention's effect】
Since the present invention is configured as described above, when an operator assigned with waveform data is operated (played), an instruction to start reading waveform data assigned to the operator is stored. In the above, there is an excellent effect that it is possible to improve processing when a plurality of operators are operated simultaneously.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of an electronic musical instrument according to the present invention.
FIG. 2 is an explanatory diagram conceptually showing a format of a storage area of a disc.
FIG. 3 is an explanatory diagram conceptually showing a format of a start buffer START.
FIG. 4 is an explanatory diagram conceptually showing a format of a read buffer READ.
FIG. 5 is a flowchart of bank switching processing.
FIG. 6 is a flowchart of pad-on (STOP) processing.
FIG. 7 is a flowchart of pad-off (STOP) processing.
FIG. 8 is a flowchart of a cluster read end (STOP) process.
FIG. 9 is a flowchart of QT = 0 (STOP) processing.
FIG. 10 is a flowchart of pad-on (REC) processing.
FIG. 11 is a flowchart of pad-off (REC) processing.
FIG. 12 is a flowchart of QT = 0 (REC) processing.
FIG. 13 is a flowchart of a reproduction process.
FIG. 14 is a flowchart of automatic performance data reproduction processing.
FIG. 15 is a flowchart of cluster read end (PLAY) processing;
FIG. 16 is a flowchart of pad-off (REC) processing according to a modification of the embodiment.
[Explanation of symbols]
10 Central processing unit (CPU)
12 Analog / digital converter (A / D)
14 discs
16 Semiconductor memory
18 Reader
20 Operation panel
22 Digital / analog converter (D / A)
30 pads
32 track (TRACK) designator
34 Record (REC) control
36 Playback (PLAY) control
38 Stop (STOP) control
40 Bank switching operator

Claims (2)

波形データがそれぞれ割り当てられている複数の操作子と、
記録状態において前記操作子の操作に基いて、少なくとも前記操作子に割り当てられている波形データの読み出し開始を指示する情報を記憶するとともに前記操作子に割り当てられている波形データを読み出し、再生状態において前記波形データの読み出し開始を指示する情報を再生する自動演奏手段と、
前記記録状態において1つの波形データの読み出し中である状態で、新たな操作子が操作されて、前記自動演奏手段により前記新たな操作子に割り当てられている波形データの読み出し開始を指示する情報を記憶するとともに前記新たな操作子に割り当てられている波形データを読み出すときに、読み出し中の前記波形データの読み出し停止を指示する情報を前記自動演奏手段に記憶させる制御手段と、
前記自動演奏手段により再生される前記波形データの読み出し開始を指示する情報に応じて波形データの読み出しを開始するとともに、前記波形データの読み出し停止を指示する情報に応じて波形データの読み出しを停止する波形データ読み出し手段と
を有する電子楽器。
A plurality of controls each assigned waveform data;
Based on the operation of the operation element in the recording state, at least information for instructing the start of reading of the waveform data assigned to the operation element is stored and the waveform data assigned to the operation element is read out and in the reproduction state Automatic performance means for reproducing information instructing to start reading the waveform data;
Information indicating the start of reading of waveform data assigned to the new operator by the automatic performance means when a new operator is operated while one waveform data is being read in the recording state. Control means for storing, in the automatic performance means, information for instructing to stop reading of the waveform data being read when storing the waveform data assigned to the new operator ,
Reading of the waveform data is started in accordance with information instructing to start reading out the waveform data reproduced by the automatic performance means, and reading of the waveform data is stopped in accordance with information instructing to stop reading out the waveform data. An electronic musical instrument having waveform data reading means.
請求項1に記載の電子楽器において、
前記波形データ読み出し手段は、
波形データを予め記憶している第1の記憶手段と、
前記第1の記憶手段に記憶されている波形データを一時記憶する第2の記憶手段と、
前記自動演奏手段による再生に先立ち、前記第1の記憶手段から前記第2の記憶手段へ波形データを転送する転送手段と、
前記自動演奏手段による再生のタイミングに応じて再生された前記波形データの読み出し開始を指示する情報に応じて、前記第2の記憶手段に記憶されている波形データの読み出しを開始する読み出し開始手段と、
前記第2の記憶手段の既に波形データが読み出された記憶領域に、前記自動演奏手段による現在の再生のタイミング時点よりも後の時点の前記波形データの読み出し開始を指示する情報に対応する波形データを、前記第1の記憶手段から転送するものであって、前記波形データの読み出し開始を指示する情報に対応する前記波形データの読み出し停止を指示する情報に応じて、前記第1の記憶手段からの転送を終了する終了手段と
を有する電子楽器。
The electronic musical instrument according to claim 1,
The waveform data reading means includes
First storage means for storing waveform data in advance;
Second storage means for temporarily storing the waveform data stored in the first storage means;
Transfer means for transferring waveform data from the first storage means to the second storage means prior to reproduction by the automatic performance means;
Reading start means for starting reading of the waveform data stored in the second storage means in accordance with information instructing to start reading of the waveform data reproduced in accordance with the timing of reproduction by the automatic performance means; ,
A waveform corresponding to information instructing to start reading the waveform data at a time point later than the current playback timing point by the automatic performance means in the storage area from which the waveform data has already been read in the second storage means Data is transferred from the first storage means, and the first storage means corresponds to information instructing to stop reading the waveform data corresponding to information instructing to start reading the waveform data. And an end means for terminating the transfer from the electronic musical instrument.
JP12825898A 1998-01-28 1998-04-22 Electronic musical instruments Expired - Fee Related JP4132213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12825898A JP4132213B2 (en) 1998-01-28 1998-04-22 Electronic musical instruments

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-30640 1998-01-28
JP3064098 1998-01-28
JP12825898A JP4132213B2 (en) 1998-01-28 1998-04-22 Electronic musical instruments

Publications (2)

Publication Number Publication Date
JPH11282469A JPH11282469A (en) 1999-10-15
JP4132213B2 true JP4132213B2 (en) 2008-08-13

Family

ID=26369027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12825898A Expired - Fee Related JP4132213B2 (en) 1998-01-28 1998-04-22 Electronic musical instruments

Country Status (1)

Country Link
JP (1) JP4132213B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7740703B2 (en) 2003-03-18 2010-06-22 Hitachi Cable, Ltd. Semiconductor film formation device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3823705B2 (en) 2000-08-30 2006-09-20 ヤマハ株式会社 Audio data mixing device including pad, control method thereof, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7740703B2 (en) 2003-03-18 2010-06-22 Hitachi Cable, Ltd. Semiconductor film formation device

Also Published As

Publication number Publication date
JPH11282469A (en) 1999-10-15

Similar Documents

Publication Publication Date Title
JP3700931B2 (en) Multitrack digital recording and playback device
US20080069383A1 (en) Mixing apparatus for audio data, method of controlling the same, and mixing control program
US6441290B2 (en) Apparatus and method for reproducing or recording, via buffer memory, sample data supplied from storage device
JPH06236313A (en) Voice signal recording and reproducing device
US6437228B2 (en) Method and apparatus for storing audio data
JPH04358384A (en) Digital recorder
JP4132213B2 (en) Electronic musical instruments
JP4170438B2 (en) Waveform data playback device
WO1992015087A1 (en) Musical data storage techniques
JP3724410B2 (en) Music editing apparatus for portable terminal and music editing program used for portable terminal
JP3980750B2 (en) Electronic musical instruments
JP3923177B2 (en) Electronic musical instruments
JP3724409B2 (en) Music playback device in portable terminal and music playback program used in mobile terminal
JPH04281201A (en) Signal recording and reproducing device
JP4055784B2 (en) Multitrack playback device
JPH01173409A (en) Sound signal erasing device
JP2006023569A5 (en)
JP3980751B2 (en) Electronic musical instruments
JP2650382B2 (en) Digital signal processing method and circuit
JP3770030B2 (en) Recording / playback device
KR0133858B1 (en) Selection and reservation apparatus and method thereof for
JPH03290870A (en) Signal reading-out method and signal reproducing device using the reading-out method
JP2002050129A (en) Multi-track digital recording/reproducing device
JPH07141842A (en) Audio editing device
JPH0411290A (en) Musical sound reproducing device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050413

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080423

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080602

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

Free format text: PAYMENT UNTIL: 20110606

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110606

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130606

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130606

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees