JP2004240256A - Electronic musical instrument - Google Patents
Electronic musical instrument Download PDFInfo
- Publication number
- JP2004240256A JP2004240256A JP2003030476A JP2003030476A JP2004240256A JP 2004240256 A JP2004240256 A JP 2004240256A JP 2003030476 A JP2003030476 A JP 2003030476A JP 2003030476 A JP2003030476 A JP 2003030476A JP 2004240256 A JP2004240256 A JP 2004240256A
- Authority
- JP
- Japan
- Prior art keywords
- fermata
- sound
- performance data
- event
- note
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、電子楽器に関し、特に演奏データの再生を行う電子楽器に関する。
【0002】
【従来の技術】
電子楽器には、演奏データを順次読み出して再生する自動演奏機能を有するものがある。また、楽譜上の記号として、フェルマータがある。フェルマータは、音符や休符を任意の長さにのばすものである。自動演奏は、演奏データに応じて進行する。したがって、自動演奏においてユーザがリアルタイムにフェルマータを指示することができない。
また、下記の特許文献1が公開されている。
【0003】
【特許文献1】
特開平4−156592号公報
【0004】
【発明が解決しようとする課題】
本発明の目的は、演奏データを読み出して再生する際にフェルマータ演奏を可能にすることである。
【0005】
【課題を解決するための手段】
本発明の一観点によれば、フェルマータを指示するためのフェルマータ操作子と、演奏データを読み出して再生処理を行う際に、前記フェルマータ操作子の操作によりフェルマータが指示されているときには次の演奏データの読み出しを待機し、現在発音処理中の音があればその音を消音処理しない再生手段とを有する電子楽器が提供される。
【0006】
本発明によれば、フェルマータ操作子の操作によりフェルマータを指示することができる。すなわち、演奏データを読み出して再生処理する際に、フェルマータを指示すれば、音符又は休符のフェルマータ効果をリアルタイムで得ることができる。
【0007】
【発明の実施の形態】
図1は、本発明の実施形態による電子楽器のパネルスイッチ100の構成を示す。この電子楽器は、自動演奏機能を有する。自動演奏は、演奏データを順次読み出して再生する処理である。パネルスイッチ100は、フェルマータスイッチ101、スタートスイッチ102、ストップスイッチ103、巻戻しスイッチ104及び早送りスイッチ105を有する。フェルマータスイッチ101は、自動演奏中に任意の箇所でフェルマータを指示するためのスイッチである。例えば、操作者がフェルマータスイッチ101を押している間がフェルマータ指示になる。フェルマータにより、所望の音符又は休符を任意の長さにのばすことができる。スタートスイッチ102は、自動演奏を開始させるためのスイッチである。ストップスイッチ102は、自動演奏を停止させるためのスイッチである。巻戻しスイッチ104は、自動演奏の再生位置を巻戻すためのスイッチである。早送りスイッチ105は、自動演奏の再生位置を早送りするためのスイッチである。
【0008】
図2(A)は、通常の自動演奏処理を示す。拍クロックCLKは、拍単位のクロックである。クロックT_Clockは、時間に応じて順次インクリメントされるタイマ値であり、1拍ごとにクリアされる。ノートイベントNoteEventは、立ち上がりがノートオンイベント(押鍵イベント)、立ち下がりがノートオフイベント(離鍵イベント)を示す。減衰音SAは、例えばピアノの音色であり、ノートイベントNoteEventに応じた減衰音のエンベロープ波形を示す。持続音SBは、例えばオルガンの音色であり、ノートイベントNoteEventに応じた持続音のエンベロープ波形を示す。エンベロープ波形は、音量の波形に相当する。操作者は、音色を選択することができる。音色に応じて、減衰音又は持続音になる。
【0009】
まず、減衰音SAについて説明する。タイミングt1においてノートオンイベントが読み出されると、発音処理を行う。すると、エンベロープ波形が立ち上がり、その後、減衰していく。減衰音SAのエンベロープは、ノートオンイベントに依存し、ノートオフイベントに依存しない。
【0010】
次に、持続音SBについて説明する。タイミングt1においてノートオンイベントが読み出されると、発音処理を行う。すなわち、エンベロープ波形が立ち上がり、その後、エンベロープ波形は所定のレベルを維持する。次に、タイミングt2において、ノートオフイベントが読み出されると、消音処理を行う。すなわち、エンベロープ波形は減衰していく。持続音SBのエンベロープは、ノートオンイベント及びノートオフイベントに依存する。
【0011】
図2(B)は、フェルマータの自動演奏処理を示す。フェルマータフラグFermata_Fは、フェルマータスイッチ101が押された状態がハイレベルであり、フェルマータスイッチ101が押されていない状態がローレベルである。
【0012】
タイミングt1において、ノートオンイベントが読み出されると、上記と同様に、減衰音SA及び持続音SBのエンベロープ波形は立ち上がる。次に、タイミングt2において、フェルマータスイッチ101を押し、その後、押した状態を維持する。次に、タイミングt3において、フェルマータスイッチ101を開放する。フェルマータスイッチ101が押されている期間t2〜t3はフェルマータが指示されていることになる。
【0013】
フェルマータが指示されているときには、次の演奏データの読み出しを待機し、現在発音処理中の音があればその音を消音処理しないようにする。減衰音SAの発音中にフェルマータが指示されても、その発音中の音はのびない。すなわち、減衰音SAは、図2(A)のフェルマータが指示されない場合のエンベロープと、図2(B)のフェルマータが指示された場合のエンベロープとが同じである。
【0014】
一方、持続音SBの発音中にフェルマータが指示されると、その発音中の音はのびる。すなわち、持続音SBは、図2(B)のフェルマータが指示された場合のエンベロープが、図2(A)のフェルマータが指示されない場合のエンベロープよりものびる。例えば、n拍目の音符がのびる。
【0015】
フェルマータ指示中の期間t2〜t3では、拍クロックCLKが中断し、クロックT_Clockのインクリメントも中断する。タイミングt3において、フェルマータ指示が解除されると、拍クロックCLKが再開し、クロックT_Clockのインクリメントも再開する。この際、拍クロックCLKは、続きのn+1拍目から再開する。
【0016】
その後、タイミングt4において、ノートオフイベントが読み出されると、消音処理が行われる。これにより、持続音SBは減衰する。フェルマータ指示が解除されると、例えば待機していた次のn+1拍目以降の演奏データを読み出して再生処理する。
【0017】
演奏データは、時間情報を有する。フェルマータが指示されていないときには、演奏データ内の時間情報に応じて演奏を進行させる。フェルマータが指示されると、音符又は休符がのびる。フェルマータ指示が解除されると、フェルマータ指示時の続きから演奏データの再生処理が再開される。
【0018】
図3(A)は、演奏データの構成を示す。演奏データは、複数の演奏データ300が順番に並ぶ。各演奏データ300は、時間情報301及びイベント302を有する。時間情報301は、前のイベント302から自己のイベント302までの時間(クロック数)を示す。イベント302は、ノートイベント等を含む。
ノートイベントは、ノートオンイベント及びノートオフイベントを含む。
【0019】
図3(B)は、ノートイベント310の構成を示す。ノートイベント310は、ノートコマンド311、ノートナンバ312及びベロシティ313を有する。
ノートコマンド311は、ノートイベントであることを示すコマンドである。ノートナンバ312は、音高である。ベロシティ313は、強さであり、音量などに相当する。ベロシティ313の値が1〜127であるときにはこのノートイベント310がノートオンイベントであることを示し、0であるときにはこのノートイベント310がノートオフイベントであることを示す。
【0020】
図4は、本実施形態による電子楽器のハードウエア構成を示すブロック図である。バス400には、CPU401、ROM402、RAM403、フレキシブルディスクコントローラ404、パネルスキャン回路408、及び音源(楽音生成部)410が接続されている。
【0021】
パネルスイッチ409は、図1のパネルスイッチ100に相当し、フェルマータスイッチ101及びその他のスイッチ102〜105を有する。パネルスキャン回路408は、パネルスイッチ409の操作に応じて操作情報をバス400に供給する。フレキシブルディスクドライブ405は、複数の曲の演奏データを記憶する。フレキシブルディスクコントローラ404は、フレキシブルディスクドライブ405の演奏データをバス400に供給する。なお、演奏データはROM402に記憶させてもよい。
【0022】
CPU401は、スタートスイッチ102により自動演奏の開始が指示されると、演奏データを読み出し、音源410に楽音パラメータを出力する。この際、CPU401は、フェルマータが指示されると再生処理を中断し、フェルマータ指示が解除されると再生処理を再開する。音源410は、楽音パラメータを基に楽音信号を生成し、D/A変換部411に出力する。D/A変換部411は、楽音信号をデジタル形式からアナログ形式に変換して、アンプ412に出力する。
アンプ412は、楽音信号を増幅し、スピーカ413に出力する。スピーカ413からは楽音が発音される。
【0023】
ROM402は、演奏データ及びコンピュータプログラム等を記憶する。CPU401は、そのコンピュータプログラムに応じて、後に説明する図5〜図9の処理等を行う。また、CPU401は、タイマ414の時間情報に応じて、後に説明する図6のタイマ割り込み処理を行う。RAM403は、CPU401のワークエリア等を有する。
【0024】
図5は、本実施形態による電子楽器が行う処理のメインルーチンを示すフローチャートである。電子楽器の電源がオンされると、以下の処理を行う。まず、ステップS501では、後に示すステップS502〜S504以外の他の処理を行う。次に、ステップS502では、パネルスイッチ409の操作に応じたパネルスイッチ処理を行う。この処理の詳細は、後に図7を参照しながら説明する。次に、ステップS503では、エンベロープ処理を行う。この処理の詳細は、後に図8を参照しながら説明する。次に、ステップS504では、シーケンサ再生処理を行う。この処理の詳細は、後に図9を参照しながら説明する。その後、ステップS501に戻り、処理を繰り返す。
【0025】
図6は、タイマ割り込みルーチンを示すフローチャートである。この処理は、タイマ414の割り込みにより、所定時間(例えば10ms)間隔で定期的に行われる。まず、ステップS601では、後に示すステップS602及びS603以外の他の処理を行う。
【0026】
次に、ステップS602では、フェルマータフラグFermata_Fがオンか否かをチェックする。フェルマータフラグFermata_Fは、フェルマータスイッチ101が押されている状態のときにオンになり、押されていない状態のときにオフになる。その詳細は、後に図7を参照しながら説明する。フェルマータフラグFermata_FがオフであればステップS603へ進み、オンであれば処理を終了する。
【0027】
ステップS603では、クロックT_Clockをインクリメントする。クロックT_Clockは、定時増加するクロックであり、クロック最小単位である。その後、処理を終了する。
【0028】
図2(B)に示すように、フェルマータが指示されていないときにはクロックT_Clockがインクリメントされ、フェルマータ指示中はクロックT_Clockがインクリメントされない。
【0029】
図7は、図5のステップS502のパネルスイッチ処理の詳細を示すフローチャートである。まず、ステップS701では、後に示すステップS702〜S705以外の他の処理を行う。例えば、スイッチ102〜105の操作に応じて、上記で説明した処理を行う。
【0030】
次に、ステップS702では、フェルマータスイッチ101の押下操作によりフェルマータスイッチオンイベントが発生したか否かをチェックする。オンイベントが発生していればステップS703へ進み、オンイベントが発生していなければステップS704へ進む。ステップS703では、フェルマータフラグFermata_Fに1をセットする。その後、ステップS704へ進む。
【0031】
ステップS704では、フェルマータスイッチ101の開放操作によりフェルマータスイッチオフイベントが発生したか否かをチェックする。オフイベントが発生していればステップS705へ進み、オフイベントが発生していなければ処理を終了する。ステップS705では、フェルマータフラグFermata_Fに0をセットする。その後、処理を終了する。
【0032】
図8は、図5のステップS503のエンベロープ処理の詳細を示すフローチャートである。ステップS801では、起動されている各チャンネルのエンベロープ波形を作成する。例えば、図2(A)及び(B)に示す減衰音SA又は持続音SBのエンベロープ(音量)波形を作成する。その後、処理を終了する。
【0033】
図9は、図5のステップS504のシーケンサ再生処理の詳細を示すフローチャートである。まず、ステップS901では、後に示すステップS902〜S905以外の他の処理を行う。
【0034】
次に、ステップS902では、クロックT_ClockがクロックClock以上か否かをチェックする。クロックClockは、シーケンサ再生処理に使用するクロックであり、イベントを処理すると、そのイベントクロック数(時間)だけ増加するものである。クロックT_ClockがクロックClock以上であればステップS903へ進み、未満であれば処理を終了する。
【0035】
ステップS903では、クロックT_ClockとクロックClockとの間に演奏データのイベントがあるか否かをチェックする。イベントがあればステップS904へ進み、なければ処理を終了する。
【0036】
ステップS904では、上記のイベントの処理を行う。ノートオンイベントがあればそのノートオンイベントを読み出して発音処理を行う。ノートオフイベントがあればそのノートオフイベントを読み出して消音処理を行う。
【0037】
次に、ステップS905では、クロックClockにクロックClock_eventを加算する。クロックClock_eventは、イベント毎に持っている値であり、一つ前のイベントからのクロック数(相対時間)である。その後、ステップS903へ戻り、処理を繰り返す。
【0038】
図6に示したように、クロックT_Clockはフェルマータ指示中には増加しない。そのため、ステップS902の条件式を満たさず、処理を終了してしまう。その結果、次の演奏データの処理を待機することになる。フェルマータ指示が解除されると、クロックT_Clockの増加が再開され、次の演奏データの処理が再開される。
【0039】
なお、上記ではフェルマータスイッチの例を説明したが、その他のフェルマータ操作子を用いてもよい。例えば、フットスイッチ又はニースイッチ等のフェルマータ操作子を設けてもよい。
【0040】
以上のように、本実施形態によれば、演奏データを読み出して再生処理を行う際に、フェルマータ操作子の操作によりフェルマータが指示されているときには次の演奏データの読み出しを待機し、現在発音処理中の音があればその音を消音処理しない。
【0041】
これにより、フェルマータ操作子の操作によりフェルマータを指示することができる。すなわち、演奏データを読み出して再生処理する際に、フェルマータを指示すれば、音符又は休符のフェルマータ効果をリアルタイムで得ることができる。
【0042】
上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。
【0043】
【発明の効果】
以上説明したように、フェルマータ操作子の操作によりフェルマータを指示することができる。すなわち、演奏データを読み出して再生処理する際に、フェルマータを指示すれば、音符又は休符のフェルマータ効果をリアルタイムで得ることができる。
【図面の簡単な説明】
【図1】本発明の実施形態による電子楽器のパネルスイッチの構成を示す図である。
【図2】図2(A)は通常の自動演奏処理を示す図であり、図2(B)はフェルマータの自動演奏処理を示す図である。
【図3】図3(A)は演奏データの構成を示す図であり、図3(B)はノートイベントの構成を示す図である。
【図4】本実施形態による電子楽器のハードウエア構成を示すブロック図である。
【図5】本実施形態による電子楽器が行う処理のメインルーチンを示すフローチャートである。
【図6】タイマ割り込みルーチンを示すフローチャートである。
【図7】パネルスイッチ処理の詳細を示すフローチャートである。
【図8】エンベロープ処理の詳細を示すフローチャートである。
【図9】シーケンサ再生処理の詳細を示すフローチャートである。
【符号の説明】
100 パネルスイッチ
101 フェルマータスイッチ
102 スタートスイッチ
103 ストップスイッチ
104 巻戻しスイッチ
105 早送りスイッチ
400 バス
401 CPU
402 ROM
403 RAM
404 フレキシブルディスクコントローラ
405 フレキシブルディスクドライブ
408 パネルスキャン回路
409 パネルスイッチ
410 音源
411 D/A変換部
412 アンプ
413 スピーカ
414 タイマ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic musical instrument, and more particularly, to an electronic musical instrument for reproducing performance data.
[0002]
[Prior art]
Some electronic musical instruments have an automatic performance function of sequentially reading and reproducing performance data. Fermata is a symbol on the score. Fermata extends notes and rests to arbitrary lengths. Automatic performance proceeds according to performance data. Therefore, the user cannot instruct the fermata in real time in the automatic performance.
Also,
[0003]
[Patent Document 1]
JP-A-4-156592
[Problems to be solved by the invention]
It is an object of the present invention to enable fermata performance when reading and reproducing performance data.
[0005]
[Means for Solving the Problems]
According to one aspect of the present invention, a fermater operator for instructing a fermata, and when performing a reproduction process by reading performance data, when a fermata is instructed by operating the fermata operator, the next performance data An electronic musical instrument having a playback unit that waits for the reading of a sound, and does not mute the sound if any sound is currently being sounded.
[0006]
According to the present invention, it is possible to instruct the fermata by operating the fermata operating element. That is, when the performance data is read out and reproduced, if a fermata is indicated, a fermata effect of a note or a rest can be obtained in real time.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a configuration of a
[0008]
FIG. 2A shows a normal automatic performance process. The beat clock CLK is a clock in beat units. The clock T_Clock is a timer value that is sequentially incremented according to time, and is cleared for each beat. The rising of the note event NoteEvent indicates a note-on event (key-pressing event), and the falling indicates a note-off event (key-release event). The decay sound SA is, for example, a tone color of a piano, and indicates an envelope waveform of the decay sound corresponding to the note event NoteEvent. The sustain sound SB is, for example, a tone color of an organ, and indicates an envelope waveform of the sustain sound corresponding to the note event NoteEvent. The envelope waveform corresponds to the waveform of the volume. The operator can select a timbre. Depending on the timbre, it becomes a decay sound or a continuous sound.
[0009]
First, the attenuation sound SA will be described. When the note-on event is read out at the timing t1, a sound generation process is performed. Then, the envelope waveform rises and then attenuates. The envelope of the decay sound SA depends on the note-on event and does not depend on the note-off event.
[0010]
Next, the continuous sound SB will be described. When the note-on event is read out at the timing t1, a sound generation process is performed. That is, the envelope waveform rises, and thereafter, the envelope waveform maintains a predetermined level. Next, at a timing t2, when the note-off event is read, a mute process is performed. That is, the envelope waveform is attenuated. The envelope of the sustain sound SB depends on a note-on event and a note-off event.
[0011]
FIG. 2B shows the automatic performance process of Fermata. The fermata flag Ferdata_F is at a high level when the fermata switch 101 is pressed and at a low level when the fermata switch 101 is not pressed.
[0012]
When the note-on event is read out at the timing t1, the envelope waveforms of the damping sound SA and the sustaining sound SB rise as described above. Next, at a timing t2, the fermata switch 101 is pressed, and thereafter, the pressed state is maintained. Next, at a timing t3, the fermata switch 101 is opened. During the period t2 to t3 during which the fermata switch 101 is pressed, the fermata is instructed.
[0013]
When the fermata is instructed, the process waits for the next performance data to be read, and if there is a sound currently being sounded, the sound is not muted. Even if Fermata is instructed during the sounding of the decay sound SA, the sounding sound does not extend. That is, in the attenuation sound SA, the envelope when the fermata shown in FIG. 2A is not designated is the same as the envelope when the fermata shown in FIG. 2B is designated.
[0014]
On the other hand, if the fermata is instructed during the sounding of the sustained sound SB, the sounding sound is extended. In other words, in the sustained sound SB, the envelope in the case where the fermata in FIG. 2 (B) is indicated is larger than the envelope in FIG. 2 (A) where the fermata is not indicated. For example, the note of the nth beat extends.
[0015]
In the period t2 to t3 during the fermata instruction, the beat clock CLK is interrupted, and the increment of the clock T_Clock is also interrupted. When the fermata instruction is released at the timing t3, the beat clock CLK restarts, and the increment of the clock T_Clock also restarts. At this time, the beat clock CLK restarts from the subsequent (n + 1) th beat.
[0016]
Thereafter, when the note-off event is read out at the timing t4, the mute processing is performed. Thereby, the continuous sound SB is attenuated. When the fermata instruction is released, for example, performance data of the next (n + 1) th beat or later that has been waiting is read out and reproduced.
[0017]
The performance data has time information. When the fermata is not instructed, the performance proceeds according to the time information in the performance data. When Fermata is indicated, a note or rest extends. When the fermata instruction is released, the reproduction process of the performance data is resumed from the point of the fermata instruction.
[0018]
FIG. 3A shows the configuration of performance data. The performance data includes a plurality of
The note event includes a note-on event and a note-off event.
[0019]
FIG. 3B shows a configuration of the
The
[0020]
FIG. 4 is a block diagram illustrating a hardware configuration of the electronic musical instrument according to the present embodiment. To the
[0021]
The
[0022]
When the start of the automatic performance is instructed by the
The
[0023]
The
[0024]
FIG. 5 is a flowchart illustrating a main routine of a process performed by the electronic musical instrument according to the present embodiment. When the power of the electronic musical instrument is turned on, the following processing is performed. First, in step S501, processing other than steps S502 to S504 described later is performed. Next, in step S502, panel switch processing corresponding to the operation of the
[0025]
FIG. 6 is a flowchart showing a timer interrupt routine. This process is periodically performed at predetermined time intervals (for example, 10 ms) by interruption of the
[0026]
Next, in step S602, it is checked whether or not the fermata flag Ferdata_F is on. The fermata flag Ferdata_F is turned on when the fermata switch 101 is pressed, and turned off when the fermata switch 101 is not pressed. The details will be described later with reference to FIG. If the fermata flag Fermat_F is off, the process proceeds to step S603, and if it is on, the process ends.
[0027]
In step S603, the clock T_Clock is incremented. The clock T_Clock is a clock that increases on a regular basis and is a minimum unit of clock. After that, the process ends.
[0028]
As shown in FIG. 2B, the clock T_Clock is incremented when the fermata is not instructed, and the clock T_Clock is not incremented while the fermata is instructed.
[0029]
FIG. 7 is a flowchart showing details of the panel switch processing in step S502 of FIG. First, in step S701, processing other than steps S702 to S705 described later is performed. For example, the processing described above is performed according to the operation of the
[0030]
Next, in step S702, it is checked whether or not a fermata switch on event has occurred due to the pressing operation of the fermata switch 101. If an ON event has occurred, the process proceeds to step S703. If an ON event has not occurred, the process proceeds to step S704. In step S703, 1 is set to the fermata flag Ferdata_F. Thereafter, the process proceeds to step S704.
[0031]
In step S704, it is checked whether a fermata switch off event has occurred due to the opening operation of the fermata switch 101. If an off event has occurred, the process proceeds to step S705, and if no off event has occurred, the process ends. In step S705, 0 is set to the fermata flag Ferdata_F. After that, the process ends.
[0032]
FIG. 8 is a flowchart showing details of the envelope processing in step S503 in FIG. In step S801, an envelope waveform of each activated channel is created. For example, an envelope (volume) waveform of the decay sound SA or the sustain sound SB shown in FIGS. 2A and 2B is created. After that, the process ends.
[0033]
FIG. 9 is a flowchart showing details of the sequencer reproduction process in step S504 in FIG. First, in step S901, processing other than steps S902 to S905 described later is performed.
[0034]
Next, in step S902, it is checked whether the clock T_Clock is equal to or greater than the clock Clock. The clock Clock is a clock used for the sequencer reproduction processing. When an event is processed, the clock is increased by the number of event clocks (time). If the clock T_Clock is equal to or greater than the clock, the process proceeds to step S903; otherwise, the process ends.
[0035]
In step S903, it is checked whether or not there is a performance data event between the clock T_Clock and the clock Clock. If there is an event, the process proceeds to step S904; otherwise, the process ends.
[0036]
In step S904, the above event processing is performed. If there is a note-on event, the note-on event is read and sound generation processing is performed. If there is a note-off event, the note-off event is read out to perform a mute process.
[0037]
Next, in step S905, the clock Clock_event is added to the clock Clock. The clock Clock_event is a value held for each event, and is the number of clocks (relative time) from the immediately preceding event. After that, the process returns to step S903, and the process is repeated.
[0038]
As shown in FIG. 6, the clock T_Clock does not increase during fermata indication. Therefore, the conditional expression in step S902 is not satisfied, and the process ends. As a result, processing for the next performance data is on standby. When the fermata instruction is released, the increase of the clock T_Clock is resumed, and the processing of the next performance data is resumed.
[0039]
Although an example of a fermata switch has been described above, other fermata operators may be used. For example, a fermater operator such as a foot switch or a knee switch may be provided.
[0040]
As described above, according to the present embodiment, when the performance data is read and the reproduction process is performed, when the fermata is instructed by operating the fermata operator, the reading of the next performance data is waited, and the current sound generation process is performed. If there is a sound inside, the sound is not muted.
[0041]
Thereby, the fermata can be instructed by operating the fermata operator. That is, when the performance data is read out and reproduced, if a fermata is indicated, a fermata effect of a note or a rest can be obtained in real time.
[0042]
Each of the above-described embodiments is merely an example of a specific embodiment for carrying out the present invention, and the technical scope of the present invention should not be interpreted in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features.
[0043]
【The invention's effect】
As described above, the fermata can be instructed by operating the fermata operator. That is, when the performance data is read out and reproduced, if a fermata is indicated, a fermata effect of a note or a rest can be obtained in real time.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a panel switch of an electronic musical instrument according to an embodiment of the present invention.
FIG. 2A is a diagram showing a normal automatic performance process, and FIG. 2B is a diagram showing a fermata automatic performance process.
FIG. 3A is a diagram illustrating a configuration of performance data, and FIG. 3B is a diagram illustrating a configuration of a note event;
FIG. 4 is a block diagram illustrating a hardware configuration of the electronic musical instrument according to the embodiment.
FIG. 5 is a flowchart illustrating a main routine of a process performed by the electronic musical instrument according to the present embodiment.
FIG. 6 is a flowchart showing a timer interrupt routine.
FIG. 7 is a flowchart illustrating details of a panel switch process.
FIG. 8 is a flowchart illustrating details of an envelope process.
FIG. 9 is a flowchart showing details of a sequencer reproduction process.
[Explanation of symbols]
REFERENCE SIGNS
402 ROM
403 RAM
404
Claims (6)
演奏データを読み出して再生処理を行う際に、前記フェルマータ操作子の操作によりフェルマータが指示されているときには次の演奏データの読み出しを待機し、現在発音処理中の音があればその音を消音処理しない再生手段とを有する電子楽器。A fermata operator for indicating the fermata,
When reading out performance data and performing reproduction processing, when a fermata is instructed by operating the fermater operator, reading of the next performance data is awaited, and if there is a sound currently being sounded, the sound is muted. Electronic musical instrument having reproduction means that does not.
前記再生手段は、前記フェルマータ操作子の操作によりフェルマータが指示されていないときには、前記演奏データ内の時間情報に応じて演奏を進行させる請求項1記載の電子楽器。The performance data has time information,
2. The electronic musical instrument according to claim 1, wherein said reproducing means causes the performance to proceed in accordance with the time information in said performance data when a fermata is not instructed by operating said fermata operator.
前記再生手段は、読み出した演奏データがノートオンイベントであれば発音処理を行い、読み出した演奏データがノートオフイベントであれが消音処理を行う請求項1〜3のいずれか1項に記載の電子楽器。The performance data includes a note-on event and a note-off event,
4. The electronic device according to claim 1, wherein the reproducing unit performs a sound generation process if the read performance data is a note-on event, and performs a mute process if the read performance data is a note-off event. 5. Musical instruments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003030476A JP2004240256A (en) | 2003-02-07 | 2003-02-07 | Electronic musical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003030476A JP2004240256A (en) | 2003-02-07 | 2003-02-07 | Electronic musical instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004240256A true JP2004240256A (en) | 2004-08-26 |
Family
ID=32957357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003030476A Pending JP2004240256A (en) | 2003-02-07 | 2003-02-07 | Electronic musical instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004240256A (en) |
-
2003
- 2003-02-07 JP JP2003030476A patent/JP2004240256A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4475323B2 (en) | Musical sound generator and program | |
US9087503B2 (en) | Sampling device and sampling method | |
US20100139474A1 (en) | Musical tone generating apparatus and musical tone generating program | |
JP5732982B2 (en) | Musical sound generation device and musical sound generation program | |
CN108573689B (en) | Electronic musical instrument, musical sound generating method, and recording medium | |
JP2004240256A (en) | Electronic musical instrument | |
JP3800778B2 (en) | Performance device and recording medium | |
JP2010015053A (en) | Musical piece playback device | |
JP3055554B2 (en) | Operation instruction device | |
JP2004240252A (en) | Musical sound generating system and method therefor | |
JP4056902B2 (en) | Automatic performance apparatus and automatic performance method | |
JP5742592B2 (en) | Musical sound generation device, musical sound generation program, and electronic musical instrument | |
JP5827484B2 (en) | Music control device | |
JP2004240254A (en) | Electronic musical instrument | |
JP4685226B2 (en) | Automatic performance device for waveform playback | |
JP4449370B2 (en) | Automatic accompaniment generator and program | |
JP4186855B2 (en) | Musical sound control device and program | |
JPH10319961A (en) | Sound generating timing controller | |
JP2004240253A (en) | Musical sound generating system and method therefor | |
JP3649117B2 (en) | Musical sound reproducing apparatus and method, and storage medium | |
JP6102975B2 (en) | Musical sound generation device, musical sound generation program, and electronic musical instrument | |
JP4054913B2 (en) | Performance guidance device and performance guidance processing program | |
JP2005284076A (en) | Electronic musical instrument | |
JP2009237072A (en) | Electronic musical instrument | |
JP2006047646A (en) | Automatic performance system |