JP3872186B2 - Automatic performance device - Google Patents
Automatic performance device Download PDFInfo
- Publication number
- JP3872186B2 JP3872186B2 JP28335897A JP28335897A JP3872186B2 JP 3872186 B2 JP3872186 B2 JP 3872186B2 JP 28335897 A JP28335897 A JP 28335897A JP 28335897 A JP28335897 A JP 28335897A JP 3872186 B2 JP3872186 B2 JP 3872186B2
- Authority
- JP
- Japan
- Prior art keywords
- performance
- musical
- music
- switch
- offset
- 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
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、楽音をあらわす演奏情報を記憶し、この記憶された演奏情報があらわす楽音を自動演奏する自動演奏装置に関する。
【0002】
【従来の技術】
従来より、1つの楽曲をあらわす一連の演奏情報を記憶しておき、演奏開始位置および演奏終了位置を指定し、それら指定された範囲内のみ自動演奏する自動演奏装置が知られている。
【0003】
【発明が解決しようとする課題】
図8は、4/4拍子の楽曲の一部をあらわす楽譜である。
この図には第3小節1拍目に4分音符の楽音45、第4小節の1拍目に4分音符の楽譜46がそれぞれ示されている。
そして図9は、図8に示される楽譜に基づいてユーザが演奏した楽音の一例を示す模式図である。
【0004】
以下、この図9に示される楽音を上述した自動演奏装置で自動演奏する場合を考察する。
この図9には、図8の楽音45、46にそれぞれ対応してユーザにより演奏された楽音51、52が示されている。楽音51は、楽曲上の、第3小節の1拍目(先頭)の位置から時間的に早い方向にわずかに離れた位置に発音開始タイミング51aを有し、第3小節の2拍目の位置から時間的に早い方向にわずかに離れた位置に発音終了タイミング51bを有している。また、楽音52は、楽曲上の、第4小節の1拍目(先頭)の位置から時間的に早い方向にわずかに離れた位置に発音開始タイミング52aを有し、第4小節の2拍目の位置から時間的に早い方向にわずかに離れた位置に発音終了タイミング52bを有している。この場合、この楽曲を、例えば第1小節の先頭から自動演奏させると、この楽曲を聞いているユーザは、第3小節の1拍目で楽音51が発音され、第4小節の1拍目で楽音52が発音されているように聞こえる。
【0005】
ところが、ユーザが、例えば第3小節の先頭を演奏開始位置に指定しこの演奏開始位置から自動演奏させる場合、楽音51の発音開始タイミング51aが、わずかにせよ、第3小節の先頭から時間的に早い方向に離れた位置にあるため、この楽音51は発音されない結果となる。つまり、ユーザ自身は、演奏開始位置を第3小節の先頭に指定したことにより楽音51は発音されると考えているが、実際はこの楽音51は発音されず、ユーザが考えている通りに楽音が自動演奏されないことになる。
【0006】
別の見方をすれば、ユーザが図8の楽譜の通りに楽音45を演奏したつもりであり、その上で図8の楽音に基づき楽音45が発音されることを期待して演奏開始位置を指定したにもかかわらず、実際の楽音(図9の楽音51)の発音開始タイミングがわずかでもずれているがためにその楽音が自動演奏において発音されず、楽譜で示される楽音と実際に自動演奏される楽音との対応がちぐはぐになってしまう。
【0007】
また、演奏終了位置に関しても、ユーザが、例えば第4小節の先頭を演奏終了位置に指定しこの演奏終了位置で演奏を終了させようとする場合、ユーザは、楽音52は第4小節に属する楽音であると考えているにもかかわらず、楽音52の発音開始タイミング52aが第4小節の先頭から時間的に早い方向に離れた位置にあるため、発音開始タイミング52aが表われる位置から第4小節の先頭までの区間に対応するわずかな時間ではあるが楽音52が発音される結果となる。つまり、ユーザ自身は、演奏終了位置を第4小節の先頭に指定したことにより楽音52は発音されるはずはないと考えているが、実際はこの楽音52は発音されてしまい、やはりユーザ自身が考えている通りに楽音が自動演奏されないことになる。
【0008】
この場合も、別の見方をすれば、ユーザが図8の楽譜通りに楽音46を演奏したつもりであり、その上で図8の楽譜に基づき楽音46が発音されないことを期待して演奏終了位置を指定したにもかかわらず、実際の楽音(図9の楽音52)の発音開始タイミングがわずかでもずれているがためにその楽音が自動演奏において発音され、楽譜で示される楽音と実際に自動演奏される楽音との対応がやはりちぐはぐになってしまう。
【0009】
この図9に示す例では、例えば、第3小節の先頭と第4小節の先頭とに挟まれた区間をリピート演奏する場合、楽音51は発音されず、楽音52が短時間だけ発音されるという演奏が繰り返されることになる。
このような問題を解決する方法として、例えば、1つの小節内がさらに複数に細かく分割されたいずれの位置にも演奏開始位置および演奏終了位置を設定できるようにすることが考えられる。例えば、演奏開始位置を、第3小節の先頭から時間的に早い方向にΔt1 の量だけ離れた位置Aに設定し、演奏終了位置を、第4小節の先頭から時間的に早い方向にΔt2 の量だけ離れた位置Bに設定することにより、楽音51は発音され、楽音52の発音が防止される。ところが、このように各小節が細かく分割された位置の中からユーザが演奏開始位置および演奏終了位置を選択することは、ユーザにとって煩わしさが伴うという問題がある。また、ユーザが演奏開始位置および演奏終了位置を指定するにあたり、自動演奏装置に、各小節がさらに複数に細かく分割されてなる多数の位置が表示されると、ユーザが、演奏開始位置ないし演奏終了位置としてどの位置を指定したらよいかわかりにくいという問題がある。
【0010】
本発明は、上記事情に鑑み、演奏開始位置あるいは演奏終了位置を例えば小節単位で指定するなどユーザにとってその指定が容易であって、しかもユーザが考えている通りに、楽音の自動演奏を行う自動演奏装置を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記目的を達成する本発明の第1の自動演奏装置は、
(1)楽曲を構成する複数の楽音を自動演奏するための、少なくともこれら複数の楽音の発音開始タイミングをあらわす情報を含んでなる演奏情報を記憶する記憶手段
(2)上記楽曲上の演奏開始位置を指定する演奏開始位置指定手段
(3)上記楽曲上の、上記演奏開始位置指定手段により指定された演奏開始位置から時間的に早い方向に所定のオフセット量だけ離れた所定のオフセット位置以降の発音開始タイミングの楽音を自動演奏する自動演奏手段
を備えたことを特徴とする。
【0012】
本発明の第1の自動演奏装置は、演奏開始位置に着目したものであり、演奏開始位置から時間的に早い方向に所定のオフセット量だけ離れた所定のオフセット位置以降の発音開始タイミングの楽音を自動演奏するものであるため、楽音が演奏開始位置から時間的に早い方向に発音開始タイミングを有していても、この発音開始タイミングがオフセット位置以降に表われるものであればこの楽音は発音される。例えば、図8に示されている楽音において、第3小節の先頭を演奏開始位置とした場合、この演奏開始位置から時間的に早い方向に、例えばΔt1 のオフセット量だけ離れた位置Aがオフセット位置として設定されることにより楽音51は発音される。従って、本発明の第1の自動演奏装置によれば、演奏開始位置を、例えば小節単位で指令すればよく、簡単な操作で、ユーザが考えている通りに自動演奏が開始される。
【0013】
ここで、本発明の第1の自動演奏装置は、上記自動演奏手段が、上記オフセット位置以降上記演奏開始位置以前の発音開始タイミングの楽音を、上記演奏開始位置を発音開始タイミングとする楽音であるとみなした上で、上記演奏開始位置以降の発音開始タイミングの楽音を、それらの楽音の各発音開始タイミングに自動演奏するものであることが好ましい。
【0014】
オフセット位置から演奏を開始すると、演奏開始位置から演奏を開始する場合と比較して、ユーザが考えている演奏時間よりも、オフセット量に相当する時間だけ演奏時間が長くなってしまい、リズムをとりにくかったり、あるいは他の電子楽器との同期演奏を行なう場合にタイミングがずれたりすることがあり得るが上述したように、オフセット位置以降演奏開始位置以前の発音開始タイミングの楽音を、演奏開始位置を発音開始タイミングとする楽音であるとみなした上で、演奏開始位置以降の発音開始タイミングの楽音を、それらの楽音の各発音開始タイミングに自動演奏すると、オフセット位置以降演奏開始位置以前の発音開始タイミングの楽音が演奏開始タイミングで発音され、かつ規定の演奏時間で演奏が行われる。
【0015】
また、本発明の第1の自動演奏装置は、上記自動演奏手段が、上記オフセット位置以降の発音開始タイミングの楽音を、それらの楽音の発音開始タイミングに自動演奏することも好ましい。
オフセット位置以降の発音開始タイミングの楽音を、この楽音の発音開始タイミングに自動演奏することにより、記憶手段に記憶された演奏情報を忠実に再現した演奏が行われる。演奏時間が延びる分は、例えば後述するようにして、演奏終了のタイミングを調整することによって規定の演奏時間におさまるように調整してもよい。
【0016】
さらに、本発明の第1の自動演奏装置は、上記オフセット量を選択自在に設定するオフセット量設定手段を備えることが好ましい。
オフセット量設定手段を備えると、演奏情報の性質やユーザの好み等に応じてオフセット量を設定することができる。
ここで、本発明の第1の自動演奏装置は、上記演奏開始位置以前の発音開始タイミングの楽音の音長に基づいて、この楽音に対する前記オフセット量を設定するオフセット量設定手段を備えていてもよい。
【0017】
楽音の音長が長い場合は発音開始タイミングの誤差も大きいことが多く、音長に応じてオフセット量を自動設定することにより、オフセット量の設定に関し、ユーザを煩わせずに済むことになる。
なお、上記の楽音の音長は、記憶手段に記憶される演奏情報の形式に応じた方法で取得すればよい。楽音の音長が楽音を規定する情報として記憶手段に記憶されている場合はそれをそのまま読み出して上記の音長を得ることができる。また、楽音の発音開始タイミングと発音終了タイミングとがそれぞれ楽音を規定する情報として記憶されている場合は、楽音の発音終了タイミングと発音開始タイミングとの差をとるというように演算によって上記の音長を得ることができる。
【0018】
さらに、本発明の第1の自動演奏装置は、上記記憶手段が上記楽曲の演奏テンポをあらわすテンポ情報をさらに記憶するものであり、この記憶されたテンポ情報に基づいて上記オフセット量を設定するオフセット量設定手段を備えていてもよい。
楽曲の演奏テンポが速い場合は発音開始タイミングの誤差が大きいことが多く、このテンポの情報に応じてオフセット量を自動設定することにより、オフセット量の設定に関しユーザを煩わせずに済むことになる。
【0019】
また、本発明の第2の自動演奏装置は、
(1)楽曲を構成する複数の楽音を自動演奏するための、少なくともこの複数の楽音の発音開始タイミングをあらわす情報を含んでなる演奏情報を記憶する記憶手段
(2)上記楽曲上の演奏終了位置を指定する演奏終了位置指定手段
(3)上記楽曲上の、上記演奏終了位置指定手段により指定された演奏終了位置から時間的に早い方向に所定のオフセット量だけ離れた所定のオフセット位置以前の発音開始タイミングの楽音を自動演奏する自動演奏手段
を備えたことを特徴とする。
【0020】
本発明の第2の自動演奏装置は、演奏終了位置に着目したものであり、演奏終了位置から時間的に早い方向に所定のオフセット量だけ離れた所定のオフセット位置以前の発音開始タイミングの楽音を自動演奏するものであるため、そのオフセットの領域内に発音開始タイミングを有する楽音の発音は防止される。例えば、図9において、第4小節の先頭を演奏終了位置とした場合、この演奏終了位置から時間的に早い方向に、例えばΔt2 のオフセット量だけ離れた位置Bがオフセット位置として設定されることにより楽音52の発音は防止される。従って、本発明の第2の自動演奏装置によれば、演奏の終了のタイミングに関し、簡単な操作で、ユーザが考えている通りに自動演奏される。
【0021】
ここで、本発明の第2の自動演奏装置は、上記自動演奏手段が、上記オフセット位置以降上記演奏終了位置以前の発音開始タイミングの楽音をミュートするものであることが好ましい。
自動演奏がオフセット位置まで進んだ時点で演奏を終了すると、自動演奏が演奏終了位置まで進んだ時点で演奏を終了する場合と比較して、規定の演奏時間よりも、オフセット量に相当する時間だけ演奏時間が短くなるが、上述したように、そのオフセットの領域内に発音開始タイミングの楽音をミュートすると、その楽音は発音されず、かつ自動演奏自体は演奏終了位置まで進むため、無用な楽音の発音は防止されるとともに、規定の演奏時間で演奏が行われる。
【0022】
また、本発明の第2の自動演奏装置は、上記自動演奏手段が、上記オフセット位置まで自動演奏を進めた時点で自動演奏を終了するものであることも好ましい形態である。
オフセット位置まで自動演奏を進めた時点で自動演奏を停止させても、オフセット位置以降の発音開始タイミングの楽音の発音が防止される。演奏時間が短くなる分は、例えば前述したように演奏開始タイミングをずらすことによって、規定の演奏時間を確保することができる。
【0023】
さらに、本発明の第2の自動演奏装置は、上記オフセット量を選択自在に設定するオフセット量設定手段を備えることが好ましい。
オフセット量設定手段を備えると、前述した第1の自動演奏装置においてオフセット量設定手段を備えた場合と同様、楽曲の性質やユーザの好み等に応じてオフセット量を設定することができる。
【0024】
ここで、本発明の第2の自動演奏装置は、上記演奏終了位置以前の発音開始タイミングの楽音の音長に基づいて、この演奏情報に対する上記オフセット量を設定するオフセット量設定手段を備えていてもよい。これも前述した第1の自動演奏装置の場合と同様である。
さらに、本発明の第2の自動演奏装置は、上記記憶手段が上記楽曲の演奏テンポをあらわすテンポ情報をさらに記憶するものであり、この記憶されたテンポ情報に基づいて上記オフセット量を設定するオフセット量設定手段を備えていてもよい。これも前述の第1の自動演奏装置の場合と同様である。
【0025】
また、本発明の第3の自動演奏装置は、
(1)楽曲を構成する複数の楽音を自動演奏するための、少なくともこの複数の楽音の発音開始タイミングをあらわす情報を含んでなる演奏情報を記憶する記憶手段
(2)上記楽曲上の演奏開始位置および演奏終了位置を指定するリピート区間指定手段
(3)上記楽曲上の、上記リピート区間指定手段により指定された演奏開始位置から時間的に早い方向に所定の第1のオフセット量だけ離れた所定の第1のオフセット位置と、上記リピート区間指定手段により指定された演奏終了位置から時間的に早い方向に所定の第2のオフセット量だけ離れた所定の第2のオフセット位置とに挟まれた区間内の発音開始タイミングの楽音を自動演奏する自動演奏手段
を備えたことを特徴とする。
【0026】
本発明の第3の自動演奏装置は、演奏開始位置と演奏終了位置との双方についてオフセット領域を設定してリピート演奏を行なうものであり、前述した、楽曲上の発音開始位置に着目した第1の自動演奏装置と楽曲上の発音終了位置に着目した第2の自動演奏装置との双方の長所を取り入れたリピート演奏を行なうことができる。
【0027】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
図1は、本発明の自動演奏装置の一実施形態を示すブロック図である。
この自動演奏装置10はROM13を備えており、このROM13には、後述する、図4から図7までのフローチャートで表されるプログラムが記憶されている。このROM13に記憶されているプログラムは、バス20を経由してCPU11に読み込まれ、操作子群15の操作にしたがって実行される。また、この自動演奏装置10はRAM12を備えており、このRAM12には、楽曲をあらわす一連の演奏情報と、演奏のテンポをあらわすテンポ情報とが記憶され、さらにCPU11の処理で用いられる各種の変数やフラグ等が記憶される。このRAM12に記憶された演奏情報は、バス20を経由して音源17に入力され、この音源17に演奏情報が入力されると、この演奏情報が規定する楽音をあらわす楽音信号が発生し、この楽音信号はアンプ18に送られ、スピーカ19を経由してこの楽音信号があらわす楽音が空間に放音される。また、自動演奏装置10は、楽譜を表示する表示器16と、テンポクロックを発生するテンポクロック発生器14を備えており、CPU11は、RAM12に記憶されたテンポ情報に基づき、テンポクロック発生器14に対し、このテンポクロック発生器14がテンポクロックを発生してから次のテンポクロックが発生するまでの時間間隔(以下、テンポ間隔と呼ぶ)をクロック数で指定し、このテンポクロック発生器14がテンポクロックを発生したタイミングに従ってCPU11が演奏を制御する。
【0028】
図2は、図1に示すRAMに記憶される演奏情報の形式を示す図である。
図1に示すRAM12には、楽曲をあらわす一連の演奏情報が記憶されるが、この一連の演奏情報を構成する各演奏情報は、それぞれ、図2に示すように、楽音の発音を開始する演奏開始時刻をクロック数で示す発音位置25、その楽音の音高を示すノート番号26、その楽音を発音する長さをクロック数で示す音長27を規定している。この発音位置25、ノート番号26、および音長27を規定することにより、1つの楽音をあらわす1つの演奏情報が構成される。RAM12には、各楽音をあらわす演奏情報からなる、1つの楽曲をあらわす一連の演奏情報が記憶される。
【0029】
図3は、図1に示す操作子群および表示器を備えたパネルを示す図である。
このパネルは、図1に示す表示器16に対応する表示画面31を備えている。また、図1に示す操作子群15は、楽曲上の、1回ないし繰り返し自動演奏される区間の両端を指定するために押される、区間端A指定用スイッチ39、区間端B指定用スイッチ40、区間端前方移動用スイッチ41、および区間端後方移動用スイッチ42を備えている。これらスイッチは、楽曲上の、自動演奏される区間の両端を、各小節のうちのいずれかの小節の先頭に指定するものであり、区間端A指定用スイッチ39が押されたままの状態で、区間端前方移動用スイッチ41が押されると、区間の両端のうちの一方の端は、この一方の端が現在位置している小節の先頭よりも時間的に早い方向にある小節の先頭に移動し、区間端後方移動用スイッチ42が押されると、この一方の端は時間的に遅い方向にある小節の先頭に移動する。また、区間端B指定用スイッチ40が押されたままの状態で、区間端前方移動用スイッチ41が押されると、区間の両端のうちの他方の端は、この他方の端が現在位置している小節の先頭よりも時間的に早い方向にある小節の先頭に移動し、区間端後方移動用スイッチ42が押されると、この他方の端は、時間的に遅い方向にある小節の先頭に移動する。このようにして区間の両端は移動し、この両端のうち時間的に早い位置に設定された端が演奏開始位置となり、時間的に遅い位置に設定された端が演奏終了位置となる。また、この操作子群15は、8分音符スイッチ35、16分音符スイッチ36、32分音符スイッチ37、0(ゼロ)スイッチ38を備えている。これらスイッチは、区間端A指定スイッチ39、区間端B指定用スイッチ40、区間端前方移動用スイッチ41、および区間端後方移動用スイッチ42の操作により指定される楽曲上の演奏開始位置から時間的に早い方向に所定の第1のオフセット量だけ離れた所定の第1のオフセット位置、および演奏終了位置から時間的に早い方向に所定の第2のオフセット量だけ離れた所定の第2のオフセット位置を指定するスイッチであり、本実施形態では、第1のオフセット量と第2のオフセット量とは同じ量に設定される。8分音符スイッチ35は、楽曲上の演奏開始位置および演奏終了位置それぞれの位置から、時間的に早い方向に、8分音符の符長に対応したオフセット量だけ離れた位置をオフセット位置として指定し、16符音符スイッチ36は、16符音符の符長に対応したオフセット量だけ離れた位置をオフセット位置として指定し、32分音符スイッチ37は、32分音符の符長に対応したオフセット量だけ離れた位置をオフセット位置として指定する。0(ゼロ)スイッチ38は、オフセット量が「0」、つまり区間端A指定スイッチ39、区間端B指定用スイッチ40、区間端前方移動用スイッチ41、および区間端後方移動用スイッチ42の操作により指定される演奏開始位置および演奏終了位置そのものをオフセット位置として指定する。
【0030】
また操作子群15は、楽曲上の、第1のオフセット位置と第2のオフセット位置とに挟まれた区間内に発音開始タイミングを有する演奏情報があらわす楽音を1回だけ演奏させるための再生スイッチ32、楽曲上の、第1のオフセット位置と第2のオフセット位置とに挟まれた区間をリピート区間とし、この区間内に発音開始タイミングを有する演奏情報があらわす楽音を自動演奏させるためのリピート再生スイッチ33、演奏を停止する停止スイッチ34を備えている。
【0031】
以下に、図1に示すROM13に記憶されているフローチャートについて説明する。
図4、図5は、これら2つの図にわたる全体で1つのメインルーチンを示す、各部分フローチャートである。また、表1および表2に、図4、図5に示すフローチャートで使われる変数およびフラグを示す。
【0032】
【表1】
【0033】
【表2】
【0034】
このメインルーチンが起動されると、先ず、図4に示すステップS101において、図1に示されていない外部の記憶媒体、例えばフロッピィディスク等から演奏情報およびテンポ情報が読み出され、この読み出された演奏情報およびテンポ情報がRAM12に記憶され、この記憶されたテンポ情報に基づき、テンポクロック発生器14で発生されるテンポクロックのテンポ間隔が設定される。またこのステップS101において、変数やフラグが以下のように初期化される。
【0035】
1小節の長さを表す小節幅MeasLに、(1小節を4/4拍子で表わしたときの1拍分の長さ)×4が代入される。本実施形態では1拍分の長さを24クロックとするため、小節幅MeasLには、24×4=96(クロック)が代入される。また、楽曲上の第1の位置Aを表わす位置PosAに、楽譜の第1小節の先頭を表わす「0」(クロック)が代入され、楽曲上の第2の位置Bを表わす位置PosBに、楽譜の最終小節の末尾を表わすx=小節幅MeasL×(楽譜を構成する小節の数)が代入される。本実施形態では小節幅MeasL=96(クロック)であるため、PosBには、96×(楽譜を構成する小節の数)が代入される。また、楽曲上の演奏開始位置PosStにPosAが代入され、楽曲上の演奏終了位置PosEndにPosBが代入される。また、演奏されているか否かを表わす演奏フラグPlay、リピート演奏するか否かを表わすリピートフラグRep、および楽音を発音するか否かを表わすミュートフラグMuteは全てオフに設定される。また、楽曲上の演奏開始位置PosStと第1のオフセット位置との間の時間的に離れた量Δtをクロック数であらわすオフセット量Preに「0」を代入する。本実施形態では、このオフセット量Preは、楽曲上の演奏終了位置PosEndと第2のオフセット位置との間の時間的に離れた量をクロック数であらわすオフセット量をも表わしている。
【0036】
次に、ステップS102において、図3に示す再生スイッチが押されたか否かが判定される。再生スイッチ32が押されていないと判定されると、ステップS108に進み、リピート再生スイッチ33が押されたか否かが判定される。リピート再生スイッチ33が押されていないと判定されるとステップS110(図5参照)に進み区間端A指定用スイッチ39が押されたか否かが判定される。区間端A指定用スイッチ39が押されていないと判定されると、ステップS118に進み区間端B指定用スイッチ40が押されたか否かが判定される。区間端B指定用スイッチ40が押されていないと判定されるとステップS125に進む。このステップS125においては、0(ゼロ)スイッチ38が押されたか否かが判定される。0(ゼロ)スイッチ38が押されていないと判定されるとステップS127に進み、0(ゼロ)スイッチ38が押されたと判定されるとステップS126に進む。ステップS126においてはオフセット量Preに「0」(クロック)を代入し、その後ステップS127に進む。ステップS127においては32分音符スイッチ37が押されたか否かが判定され、32分音符スイッチ37が押されていないと判定されるとステップS129に進み、32分音符スイッチ37が押されたと判定されるとステップS128に進みオフセット量Preに、32分音符の符長に対応する「3」(クロック)が代入され、その後ステップS129に進む。ステップS129においては16音符スイッチ36が押されたか否かが判定される。16分音符スイッチ36が押されていないと判定されるとステップS131に進む。16分音符スイッチ36が押されたと判定されるとステップS130に進み、オフセット量Preに、16分音符の符長に対応する「6」(クロック)が代入され、その後ステップS131に進む。ステップS131においては、8符音符スイッチ35が押されたか否かが判定される。8符音符スイッチ35が押されていないと判定されるとステップS102(図4参照)に戻り、8符音符スイッチ35が押されたと判定されるとステップS132に進み、オフセット量Preに、8分音符の符長に対応する「12」(クロック)が代入され、その後ステップS102に戻る。
【0037】
従って、いずれかのスイッチが押されるまで、ステップS102から、ステップS108、ステップS110、ステップS118、ステップS125へと進み、ステップS125からステップS131へと進み、ステップS131に進んだ後ステップS102に戻るというループを繰り返し実行する。
図5に示すステップS110においては、区間端A指定用スイッチ39が押されているか否かが判定される。区間端A指定用スイッチ39が押されていると判定されるとステップS111に進み、区間端A指定用スイッチ39が押された状態で区間端後方移動用スイッチ42が押されたか否かが判定される。区間端後方移動用スイッチ42が押されていないと判定されるとステップS113に進み、区間端後方移動用スイッチ42が押されたと判定されるとステップS112に進む。ステップS112では、位置PosAの値を小節幅MeasLだけ増加し、ステップS113に進む。ステップS113では区間端A指定用スイッチ39が押された状態で区間端前方移動用スイッチ41が押されたか否かが判定される。区間端前方移動用スイッチ41が押されていないと判定されるとステップS115に進み、表示画面31(図3参照)に位置PosAが表示される。また、ステップS113において区間端前方移動用スイッチ41が押されたと判定されるとステップS114に進む。ステップS114では、位置PosAの値を小節幅MeasLだけ減少しその後ステップS115に進み、表示画面31(図3参照)に位置PosAが表示される。ステップS115において位置PosAが表示されるとステップS116に進み、区間端A指定用スイッチ39が押されているか否かが判定される。区間端A指定用スイッチ39が押されていると判定されるとステップS111に戻る。つまり、区間端A指定用スイッチ39から指を離すまでの間、ステップS111からステップS116まで進み再びステップS111に戻るループが繰り返される。区間端A指定用スイッチ39が押されていないと判定されるとステップS117に進む。
【0038】
また、ステップS118において、区間端B指定用スイッチ40が押されていると判定された場合、ステップS110において区間端A指定用スイッチ39が押された場合と同様であり、ステップS119〜ステップS124では、それぞれステップS111〜ステップS116と同様の処理が行なわれ、ステップS124において、区間端B指定用スイッチ40が押されていないと判定されるとステップS117に進む。
【0039】
ステップS117においては、位置PosAおよび位置PosBのうち、値の小さい方が演奏開始位置PosStに代入され、値の大きい方が演奏終了位置PosEndに代入され、これにより、楽曲上の演奏開始位置および演奏終了位置が設定される。その後ステップS102に戻る。
ステップS102において、再生スイッチ32が押されていると判定されるとステップS103に進み、演奏情報早読み処理が行われる。この演奏情報早読み処理では、第1のオフセット位置以降演奏開始位置PosSt以前の発音タイミングを有する演奏情報を、演奏開始位置PosStに発音タイミングを有する演奏情報であるとみなして、この演奏情報があらわす楽音を発音開始タイミングに自動演奏するルーチンである。この演奏情報早読み処理の詳細については後述する。このルーチンの実行後、ステップS104に進む。
【0040】
ステップS104では、リピート演奏フラグRepおよびミュートフラグMuteをオフのままに設定し、演奏フラグPlayをオンに設定し、自動演奏している現在位置をクロック数で表わす演奏位置curにPosStが代入され、その後、ステップS105に進む。
またステップS108において、リピート再生スイッチ33が押されたと判定されると、ステップS109においてリピート演奏フラグRepおよび演奏フラグPlayをオンに設定し、ミュートフラグMuteはオフのままに設定し、演奏位置curにPosSt−Preが代入され、ステップS105に進む。
【0041】
ステップS105においては、停止スイッチ34が押されたか否かが判定される。ステップS105において停止スイッチ34が押されたと判定されるとステップS107に進み演奏フラグPlayがオフに設定され、ステップS102に戻り、メインルーチンが繰り返される。またステップS105において、停止スイッチ34が押されていないと判定されると、ステップS106に進み、演奏フラグPlayがオフに設定されているか否かが判定される。演奏フラグPlayがオフに設定されないと判定されるとステップS105に戻り、演奏フラグPlayがオンに設定されるまで、ステップS105からステップS106に進みステップS105に戻るというループが繰り返し実行される。
【0042】
ステップS106において演奏フラグPlayがオンに設定されていると判定されるとステップS102に戻り、メインルーチンが繰り返される。
図6は、演奏情報早読みルーチンを示すフローチャートである。
このルーチンが起動されると、先ずステップS141において、演奏位置curにPosSt−Preが代入され、その後ステップS142に進み、演奏位置curがPosStに等しいか否かが判定される。演奏位置curがPosStと異なると判定されるとステップS143に進み、演奏位置curに発音開始タイミングを有する演奏情報があらわす楽音が存在していた場合、この楽音の発音が開始され、その後ステップS144に進む。このステップS144では演奏位置curをインクリメントし、その後ステップS142に戻り、演奏位置curにPosStと等しくなるまでステップS142からステップS144が繰り返し実行される。ステップS142において、演奏位置curがPosStに等しいと判定された場合は、演奏情報早読みルーチンを終了する。
【0043】
この演奏情報早読みルーチンの実行により、PosSt−PreからPosStまでの間に演奏開始タイミングを有する演奏情報に基づく楽音は全て、演奏開始時に同時に演奏されることになる。
図7はテンポクロック割込みルーチンをあらわすフローチャートである。
このルーチンは、図1に示すテンポクロック発生器14からのテンポクロックの発生に応じて定期的に起動される。
【0044】
このルーチンが起動されると、先ずステップS151において、演奏フラグPlayがオンに設定されているか否か、即ち演奏中であるか否かが判定され、演奏中でなければこのルーチンを抜ける。
ステップS151において、演奏フラグPlayがオンに設定されている、即ち演奏中であると判定されると、ステップS152に進み、ミュートフラグMuteがオンに設定されているか否か、すなわち楽音をミュートするか否かが判定される。ミュートフラグMuteがオンに設定されていない、即ち楽音をミュートしないと判定されると、ステップS153に進み演奏位置curに発音開始タイミングを有する演奏情報があらわす楽音が存在していた場合、この楽音が発音ささ、その後ステップS154に進み、演奏位置curが表示される。ステップS152においてミュートフラグMuteがオンに設定されている、即ち楽音をミュートすると判定されるとステップS153における発音処理はスキップする。このミュートフラグMuteはステップS158でオンに設定される。ステップS156では、演奏位置curがPosEnd−Preであるか否かが判定される。演奏位置curがPosEnd−Preとは異なると判定されるとステップS161に進み、演奏位置curがPosEnd−Preと等しいと判定されるとステップS157に進む。このステップS157においては、リピートフラグRepがオンに設定されているか否か、即ちリピート演奏に設定されているか否かが判定される。
【0045】
リピートフラグRepがオンではない、即ち、リピート演奏は行なわず、1回だけ自動演奏するモードであると判定されると、ステップS158に進み、ミュートフラグMuteをオンに設定し、ステップS161に進む。このミュートフラグMuteをオンに設定することによりPosEnd−PreからPosEndの間に発音タイミングを有する演奏情報に基づく楽音は発音されないことになる。また、ステップS157においてリピートフラグRepがオンに設定されている、即ちリピート演奏すると判定されると、ステップS159に進み、演奏位置curにPosSt−Preが代入され、ステップS160において、現在発音中の楽音が消音され、その後、ステップS161に進む。即ち、この場合、演奏位置curは演奏を開始した位置に戻る。ステップS161においては、演奏位置curがPosEndであるか否かが判定される。演奏位置curがPosEndではないと判定されるとこのルーチンを抜ける。演奏位置curがPosEndである、即ち演奏終了位置PosEndに到達していると判定されると、ステップS162に進み、演奏フラグPlayがオフに設定されることで自動演奏が停止され、ステップS163で現在発音中の音が消音されてメインルーチンに戻る。ループ演奏のときは、演奏位置curがPosEndに達する前に、ステップS159において演奏位置curにPosSt−Preが代入されて演奏を開始した位置に戻るため、ステップS162,S163は、一回のみ演奏するモードに特有の処理である。
【0046】
本実施形態の自動演奏装置は、8分音符スイッチ35、16分音符スイッチ36、および32分音符スイッチ37のうち、いずれかのスイッチを押すことにより、演奏開始位置から各スイッチに応じて定まるオフセット量だけ離れた第1のオフセット位置、および、演奏終了位置から各スイッチに応じて定まるオフセット量だけ離れた第2のオフセット位置を指定し、この第1のオフセット位置と第2のオフセット位置とに挟まれた区間に発音開始タイミングを有する演奏情報があらわす楽音を自動演奏するものであるため、ある小節の先頭が演奏開始位置に指定された場合、この小節の一拍目にあらわれる楽音が、この演奏開始位置よりも僅かに前に発音開始タイミングを有するものであっても、この楽音は確実に発音され、また、ある小節の先頭が演奏終了位置に指定された場合、この小節の一拍目にあらわれる楽音が、この演奏終了位置よりも僅かに前に発音開始タイミングを有するものであっても、この楽音の発音は確実に防止される。
また、本実施形態の自動演奏装置は、再生スイッチ32が押された場合、演奏情報早読みルーチンを実行することにより、第1のオフセット位置以降演奏開始位置以前の発音タイミングを有する演奏情報を、上記演奏開始位置に発音タイミングを有する演奏情報であるとみなし、上記演奏開始位置以降に発音開始タイミングを有する演奏情報があらわす楽音を、この演奏情報があらわす発音開始タイミングに自動演奏している。従って、ある小節の先頭が演奏開始位置に指定された場合に、この小節の一拍目に複数の楽音があらわれ、これら各楽音の発音開始タイミングが、第1のオフセット位置以降演奏開始位置以前に、互いに異なる時刻にあらわれても、これらの発音開始タイミングを有する演奏情報があらわす各楽音は同時に、かつ、演奏開始位置に発音開始タイミングを有するものとして発音される。つまり、再生スイッチ32が押された場合、演奏開始位置から自動演奏が開始されるのと等しいことになる。また、本実施形態の自動演奏装置は、再生スイッチ32が押された場合、第2のオフセット位置以降演奏終了位置以前の発音タイミングを有する演奏情報に基づく楽音をミュートしているため、ある小節の先頭が演奏終了位置に指定された場合、この小節の一拍目にあらわれる楽音が、この演奏終了位置よりも僅か前に発音開始タイミングを有するものであっても、その無用な楽音の発音が防止され、かつ演奏自体が演奏終了位置まで進む。したがって、本実施形態の自動演奏装置は、再生スイッチ32が押された場合、第1のオフセット位置と第2のオフセット位置とに挟まれた区間内に発音開始タイミングを有する演奏情報があらわす楽音を自動演奏させても、演奏開始位置から演奏終了位置まで自動演奏させた時の演奏時間と同じ演奏時間で演奏が行われる。
【0047】
また、本実施形態の自動演奏装置は、リピート再生スイッチ33が押された場合、第1のオフセット位置以降に発音開始タイミングを有する演奏情報があらわす楽音を、この演奏情報があらわす発音開始タイミングに自動演奏し、第2のオフセット位置まで自動演奏が進んだ時点で演奏位置は第1のオフセット位置に戻り、リピート演奏が行われている。本実施形態では、演奏区間の先端におけるオフセット量と演奏区間の終端におけるオフセット量は同じ量であるため、第1のオフセット位置から第2のオフセット位置までの演奏時間は、演奏開始位置から演奏終了位置まで自動演奏が行われたときの演奏時間と同じである。従って、本実施形態の自動演奏装置は、リピート再生スイッチ33が押された場合、上述したように、第1のオフセット位置から自動演奏され、第2のオフセット位置まで自動演奏された時点で演奏位置が第1のオフセット位置に戻りリピート演奏が行われているが、このリピート演奏は、演奏開始位置から演奏終了位置までの区間がリピート演奏される場合の演奏時間と同じ演奏時間で演奏される。
【0048】
また、本実施形態の自動演奏装置は、リピート再生スイッチ33が押された場合、第1のオフセット位置以降に発音開始タイミングを有する演奏情報があらわす楽音を、演奏開始位置に合わせるようなことはせずに、その演奏情報があらわす発音開始タイミングに自動演奏するため、RAM12に記憶された演奏情報が忠実に再現された自動演奏が行われる。
【0049】
また、本実施形態の自動演奏装置は、操作子群15に、8分音符スイッチ35、16分音符スイッチ36、32分音符スイッチ37、および0(ゼロ)スイッチ38を備えているため、その楽曲や演奏情報の性質等に応じてオフセット量を設定することができる。
尚、本実施形態の自動演奏装置は、ユーザ自身が、8分音符スイッチ35、16分音符スイッチ36、32分音符スイッチ37、および0(ゼロ)スイッチ38を操作することによりオフセット量が設定されるが、例えば、個々の楽音の音長に基づいて、それぞれの楽音に対するオフセット量を設定するオフセット手段を備えてもよい。
【0050】
また、本実施形態の自動演奏装置は、RAM12に演奏情報とともに記憶されているテンポ情報に基づいてオフセット量を設定するオフセット手段を備えてもよい。
また、本実施形態では、演奏開始位置におけるオフセット量および演奏終了位置におけるオフセット量は、互いに同じ量であるが、それらを、互いに異ならせてもよい。
【0051】
また、本実施形態の自動演奏装置の説明時には述べていないが、この自動演奏装置を構成するRAM12に記憶される演奏情報は、この演奏情報がRAM12に記憶された後、この演奏情報があらわす楽音が発音される前に、この楽音の音長が所定の時間間隔の整数倍になるように量子化されており、この量子化された後の演奏情報があらわす楽音が自動演奏されている。この自動演奏装置が、この量子化された後の演奏情報に基づいて楽譜を生成し、この楽譜を表示する楽譜表示手段を備えた場合、上記所定の時間間隔に応じてオフセット量を制御してもよい。こうすることにより、楽譜に表示された音符と発音される楽音とを一致させることができる。
【0052】
【発明の効果】
以上説明したように、本発明の自動演奏装置によれば、簡単な操作で、ユーザが考えている通りの自動演奏が行なわれる。
【図面の簡単な説明】
【図1】本発明の自動演奏装置の一実施形態を示すブロック図である。
【図2】図1に示すRAMに記憶される演奏情報の形式を示す図である。
【図3】図1に示す操作子群および表示器を備えたパネルを示す図である。
【図4】図1に示すROMに記憶されているメインルーチンのうちの、再生スイッチおよびリピート再生スイッチが押された場合の部分を示す図である。
【図5】図1に示すROMに記憶されているメインルーチンのうちの、区間A指定用スイッチおよび区間B指定用スイッチが押された場合の部分を示す図である。
【図6】演奏情報早読みルーチンを示すフローチャートである。
【図7】テンポクロック割込みルーチンを示すフローチャートである。
【図8】4/4拍子の楽曲の一部を表わす楽譜である。
【図9】自動演奏装置で演奏される楽音の模式図である。
【符号の説明】
10 自動演奏装置
11 CPU
12 RAM
13 ROM
14 テンポクロック発生器
15 操作子群
16 表示器
17 音源
18 アンプ
19 スピーカ
31 表示画面
32 再生スイッチ
33 リピート再生スイッチ
34 停止スイッッチ
35 8符音符スイッチ
36 16符音符スイッチ
37 32符音符スイッチ
38 0(ゼロ)スイッチ
39 区間A指定用スイッチ
40 区間B指定用スイッチ
41 区間端前方移動用スイッチ
42 区間端後方移動用スイッチ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an automatic performance apparatus for storing performance information representing musical sounds and automatically performing musical sounds represented by the stored performance information.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there has been known an automatic performance device that stores a series of performance information representing one piece of music, designates a performance start position and a performance end position, and automatically performs performance only within the designated range.
[0003]
[Problems to be solved by the invention]
FIG. 8 is a musical score showing a part of a music piece having a 4/4 time signature.
In this figure, a
FIG. 9 is a schematic diagram showing an example of a musical tone played by the user based on the score shown in FIG.
[0004]
Hereinafter, a case where the musical tone shown in FIG. 9 is automatically played by the above-described automatic performance device will be considered.
FIG. 9 shows
[0005]
However, when the user designates, for example, the beginning of the third measure as the performance start position and automatically performs the performance from this performance start position, the tone generation start timing 51a of the
[0006]
From another point of view, the user intends to play the
[0007]
As for the performance end position, for example, when the user designates the beginning of the fourth measure as the performance end position and tries to end the performance at this performance end position, the user selects the
[0008]
In this case, from another viewpoint, the user intends to play the
[0009]
In the example shown in FIG. 9, for example, when a repeat performance is performed between the beginning of the third measure and the beginning of the fourth measure, the
As a method for solving such a problem, for example, it may be possible to set a performance start position and a performance end position at any position where one bar is further finely divided. For example, the performance start position is Δt in the direction earlier in time from the beginning of the third measure. 1 Is set to a position A that is separated by an amount, and the performance end position is set to Δt in the direction earlier in time from the beginning of the fourth measure. 2 By setting the position B at a distance B, the
[0010]
In view of the above circumstances, the present invention makes it easy for the user to specify the performance start position or performance end position, for example, in units of measures, and as the user thinks, the automatic performance for automatically performing musical sounds is performed. An object is to provide a performance device.
[0011]
[Means for Solving the Problems]
The first automatic performance apparatus of the present invention that achieves the above-described object provides:
(1) Storage means for storing performance information including information representing at least the sounding start timing of the plurality of musical sounds for automatically performing the plurality of musical sounds constituting the music
(2) Performance start position designation means for designating a performance start position on the music piece
(3) Automatically playing a musical tone at a sounding start timing after a predetermined offset position that is separated from the performance start position specified by the performance start position specifying means on the music by a predetermined offset amount earlier in time. Automatic performance means
It is provided with.
[0012]
The first automatic performance apparatus according to the present invention focuses on the performance start position, and generates a musical tone at a sounding start timing after a predetermined offset position that is separated from the performance start position by a predetermined offset amount in an earlier time direction. Since the musical tone is played automatically, even if the musical tone has a pronunciation start timing earlier in time from the performance start position, the musical tone is pronounced if the sound generation start timing appears after the offset position. The For example, in the musical tone shown in FIG. 8, when the beginning of the third measure is the performance start position, for example, Δt in the direction earlier in time from the performance start position. 1 The
[0013]
Here, in the first automatic performance apparatus of the present invention, the automatic performance means is a musical sound having the musical sound of the sound generation start timing after the offset position and before the performance start position as the sound generation start timing. It is preferable that the musical sound at the sounding start timing after the performance start position is automatically played at the sounding start timing of those musical sounds.
[0014]
When the performance starts from the offset position, the performance time becomes longer by the time corresponding to the offset amount than the performance time considered by the user, compared with the case where the performance is started from the performance start position. However, as described above, the musical tone at the sounding start timing after the offset position and before the performance start position can be changed to the performance start position. If it is assumed that the tone is the tone to be played and the tone at the tone start timing after the performance start position is automatically played at each tone start timing, the tone start timing after the offset location and before the performance start position Is played at the performance start timing and is performed at the specified performance time.
[0015]
In the first automatic performance apparatus of the present invention, it is also preferable that the automatic performance means automatically performs the musical sound at the sounding start timing after the offset position at the sounding start timing of those musical sounds.
By automatically playing the musical sound at the sounding start timing after the offset position at the sounding start timing of the musical sound, a performance that faithfully reproduces the performance information stored in the storage means is performed. For example, as described later, the extended performance time may be adjusted so as to be within a specified performance time by adjusting the timing of the end of the performance.
[0016]
Furthermore, it is preferable that the first automatic performance device of the present invention further includes an offset amount setting means for setting the offset amount so as to be selectable.
When the offset amount setting means is provided, the offset amount can be set according to the nature of the performance information, the user's preference, and the like.
Here, the first automatic performance apparatus of the present invention may include an offset amount setting means for setting the offset amount for the musical sound based on the tone length of the musical sound at the sounding start timing before the performance start position. Good.
[0017]
When the tone length of a musical tone is long, the error in the sound generation start timing is often large, and the offset amount is automatically set according to the tone length, so that the user does not have to worry about setting the offset amount.
Note that the tone length of the musical tone may be acquired by a method according to the format of the performance information stored in the storage means. When the tone length of a musical tone is stored in the storage means as information defining the musical tone, it can be read as it is to obtain the above-mentioned tone length. In addition, when the tone generation start timing and the tone end timing are stored as information defining the tone, respectively, the above-mentioned tone length is calculated by calculating the difference between the tone end timing and the tone start timing. Can be obtained.
[0018]
Further, in the first automatic performance device of the present invention, the storage means further stores tempo information representing the performance tempo of the music, and an offset for setting the offset amount based on the stored tempo information. An amount setting means may be provided.
If the performance tempo of the music is fast, the error in the sound generation start timing is often large. By automatically setting the offset amount according to this tempo information, the user does not have to worry about setting the offset amount. .
[0019]
In addition, the second automatic performance device of the present invention is
(1) Storage means for storing performance information including information representing at least the sounding start timing of the plurality of musical sounds for automatically performing the plurality of musical sounds constituting the music
(2) Performance end position specifying means for specifying the performance end position on the music piece
(3) A musical tone at a sounding start timing before a predetermined offset position that is separated from the performance end position specified by the performance end position specifying means on the music piece by a predetermined offset amount in a time earlier direction is automatically played. Automatic performance means
It is provided with.
[0020]
The second automatic performance apparatus of the present invention focuses on the performance end position, and the musical tone at the sounding start timing before the predetermined offset position that is separated from the performance end position by a predetermined offset amount in the earlier time direction. Since the automatic performance is performed, the sound generation of the tone having the sound generation start timing within the offset region is prevented. For example, in FIG. 9, when the beginning of the fourth measure is the performance end position, for example, Δt 2 By setting the position B separated by the offset amount as the offset position, the
[0021]
Here, in the second automatic performance apparatus of the present invention, it is preferable that the automatic performance means mute the musical tone at the sounding start timing after the offset position and before the performance end position.
When the automatic performance ends when the automatic performance has advanced to the offset position, compared to when the automatic performance ends when the automatic performance reaches the performance end position, the time corresponding to the offset amount is more than the specified performance time. Although the performance time is shortened, as described above, if the musical sound at the start of sound generation is muted within the offset area, the musical sound is not sounded and the automatic performance itself advances to the performance end position. Pronunciation is prevented and the performance is performed at the specified performance time.
[0022]
In a preferred mode of the second automatic performance apparatus of the present invention, the automatic performance means ends automatic performance when the automatic performance means advances the automatic performance to the offset position.
Even if the automatic performance is stopped when the automatic performance is advanced to the offset position, the sound generation at the sound generation start timing after the offset position is prevented. As the performance time is shortened, for example, the specified performance time can be secured by shifting the performance start timing as described above.
[0023]
Furthermore, it is preferable that the second automatic performance device of the present invention further includes an offset amount setting means for setting the offset amount so as to be selectable.
When the offset amount setting means is provided, the offset amount can be set according to the nature of the music, the user's preference, etc., as in the case where the first automatic performance apparatus includes the offset amount setting means.
[0024]
Here, the second automatic performance apparatus of the present invention comprises offset amount setting means for setting the offset amount for the performance information based on the tone length of the musical tone at the sounding start timing before the performance end position. Also good. This is also the same as in the case of the first automatic performance device described above.
Furthermore, in the second automatic performance apparatus of the present invention, the storage means further stores tempo information representing the performance tempo of the music, and an offset for setting the offset amount based on the stored tempo information. An amount setting means may be provided. This is also the same as in the case of the first automatic performance device described above.
[0025]
The third automatic performance device of the present invention is
(1) Storage means for storing performance information including information representing at least the sounding start timing of the plurality of musical sounds for automatically performing the plurality of musical sounds constituting the music
(2) Repeat section designating means for designating the performance start position and performance end position on the music
(3) A predetermined first offset position that is separated from the performance start position specified by the repeat section specifying means on the music by a predetermined first offset amount in a time earlier direction, and the repeat section specification Automatic playing of a musical tone at the sounding start timing in a section sandwiched between a predetermined second offset position that is separated by a predetermined second offset amount in a time earlier direction from the performance end position specified by the means Performance means
It is provided with.
[0026]
The third automatic performance apparatus of the present invention performs repeat performance by setting an offset area for both the performance start position and performance end position. The first performance focusing on the pronunciation start position on the music described above. It is possible to perform a repeat performance that incorporates the advantages of both the automatic performance device and the second automatic performance device that focuses on the pronunciation end position on the music.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
FIG. 1 is a block diagram showing an embodiment of the automatic performance device of the present invention.
The
[0028]
FIG. 2 is a diagram showing a format of performance information stored in the RAM shown in FIG.
A series of performance information representing a musical piece is stored in the
[0029]
FIG. 3 is a diagram showing a panel provided with the operator group and the display shown in FIG.
This panel includes a display screen 31 corresponding to the display 16 shown in FIG. Also, the operator group 15 shown in FIG. 1 is pressed to designate both ends of a section of a musical piece that is played once or repeatedly automatically, and a section end
[0030]
In addition, the operator group 15 is a reproduction switch for playing a musical tone represented by performance information having a sounding start timing within a section sandwiched between the first offset position and the second offset position on the music piece only once. 32. Repeat playback for automatically playing a musical sound represented by performance information having a sounding start timing in a section between a first offset position and a second offset position on a music piece as a repeat section A switch 33 and a stop switch 34 for stopping performance are provided.
[0031]
Below, the flowchart memorize | stored in ROM13 shown in FIG. 1 is demonstrated.
FIG. 4 and FIG. 5 are partial flowcharts showing one main routine in total across these two diagrams. Tables 1 and 2 show variables and flags used in the flowcharts shown in FIGS.
[0032]
[Table 1]
[0033]
[Table 2]
[0034]
When this main routine is started, first, in step S101 shown in FIG. 4, performance information and tempo information are read from an external storage medium not shown in FIG. 1, such as a floppy disk, and read. The performance information and the tempo information are stored in the
[0035]
For the measure width MeasL representing the length of one measure, (length of one beat when one measure is expressed in 4/4 time) × 4 is substituted. In this embodiment, since the length of one beat is 24 clocks, 24 × 4 = 96 (clocks) is substituted for the bar width MeasL. In addition, “0” (clock) representing the beginning of the first measure of the score is substituted into the position PosA representing the first position A on the music, and the score to the position PosB representing the second position B on the music. X = measurement width MeasL × (the number of measures constituting the score) representing the end of the last measure is substituted. In this embodiment, since the measure width MeasL = 96 (clock), 96 × (the number of measures constituting the score) is substituted for PosB. Also, PosA is assigned to the performance start position PosSt on the music, and PosB is assigned to the performance end position PosEnd on the music. The performance flag Play indicating whether or not a performance is being performed, the repeat flag Rep indicating whether or not a repeat performance is performed, and the mute flag Mute indicating whether or not a musical sound is generated are all set to OFF. In addition, “0” is substituted for the offset amount Pre that represents the amount Δt of time separation between the performance start position PosSt and the first offset position on the music by the number of clocks. In the present embodiment, the offset amount Pre also represents an offset amount that represents the amount of time separation between the performance end position PosEnd and the second offset position on the music by the number of clocks.
[0036]
Next, in step S102, it is determined whether or not the regeneration switch shown in FIG. 3 has been pressed. If it is determined that the regeneration switch 32 has not been pressed, the process proceeds to step S108, and it is determined whether or not the repeat regeneration switch 33 has been pressed. If it is determined that the repeat playback switch 33 has not been pressed, the process proceeds to step S110 (see FIG. 5), and it is determined whether or not the section end
[0037]
Therefore, until any switch is pressed, the process proceeds from step S102 to step S108, step S110, step S118, and step S125, proceeds from step S125 to step S131, proceeds to step S131, and then returns to step S102. Repeat the loop.
In step S110 shown in FIG. 5, it is determined whether or not the section end
[0038]
Further, when it is determined in step S118 that the section end B specifying switch 40 is pressed, it is the same as in the case where the section end
[0039]
In step S117, of position PosA and position PosB, the smaller value is assigned to the performance start position PosSt, and the larger value is assigned to the performance end position PosEnd. The end position is set. Thereafter, the process returns to step S102.
If it is determined in step S102 that the playback switch 32 has been pressed, the process proceeds to step S103, where performance information fast-reading processing is performed. In this performance information fast-reading process, performance information having a sound generation timing after the first offset position and before the performance start position PosSt is regarded as performance information having a sound generation timing at the performance start position PosSt, and this performance information is represented. This is a routine for automatically playing a musical sound at the start of pronunciation. Details of the performance information fast-reading process will be described later. After execution of this routine, the process proceeds to step S104.
[0040]
In step S104, the repeat performance flag Rep and the mute flag Mute are set to OFF, the performance flag Play is set to ON, and PosSt is assigned to the performance position cur indicating the current position of automatic performance by the number of clocks. Thereafter, the process proceeds to step S105.
If it is determined in step S108 that the repeat playback switch 33 has been pressed, the repeat performance flag Rep and the performance flag Play are set on in step S109, the mute flag Mute is set off, and the performance position cur is set. PosSt-Pre is substituted, and the process proceeds to step S105.
[0041]
In step S105, it is determined whether or not the stop switch 34 has been pressed. If it is determined in step S105 that the stop switch 34 has been pressed, the process proceeds to step S107, the performance flag Play is set to OFF, the process returns to step S102, and the main routine is repeated. If it is determined in step S105 that the stop switch 34 is not pressed, the process proceeds to step S106, and it is determined whether or not the performance flag Play is set to OFF. If it is determined that the performance flag Play is not set to OFF, the process returns to Step S105, and the loop from Step S105 to Step S106 is repeated until the performance flag Play is set to ON.
[0042]
If it is determined in step S106 that the performance flag Play is set to ON, the process returns to step S102 and the main routine is repeated.
FIG. 6 is a flowchart showing a performance information fast-reading routine.
When this routine is started, first, in step S141, PosSt-Pre is substituted for the performance position cur, and then the process proceeds to step S142 to determine whether or not the performance position cur is equal to PosSt. If it is determined that the performance position cur is different from PosSt, the process proceeds to step S143. If there is a musical sound represented by the performance information having the sound generation start timing at the performance position cur, the musical sound is started to be generated, and then the process proceeds to step S144. move on. In step S144, the performance position cur is incremented, and then the process returns to step S142. Steps S142 to S144 are repeatedly executed until the performance position cur becomes equal to PosSt. If it is determined in step S142 that the performance position cur is equal to PosSt, the performance information fast-reading routine is terminated.
[0043]
By executing this performance information fast-reading routine, all the musical sounds based on performance information having a performance start timing between PosSt-Pre and PosSt are played simultaneously at the start of the performance.
FIG. 7 is a flowchart showing a tempo clock interrupt routine.
This routine is periodically started in response to the generation of a tempo clock from the
[0044]
When this routine is started, it is first determined in step S151 whether or not the performance flag Play is set to ON, that is, whether or not the performance is being performed.
If it is determined in step S151 that the performance flag Play is set to ON, that is, that the performance is being performed, the process proceeds to step S152, whether or not the mute flag Mute is set to ON, that is, whether the musical sound is muted. It is determined whether or not. If it is determined that the mute flag Mute is not set to ON, that is, it is determined that the musical tone is not muted, the process proceeds to step S153, and if there is a musical tone represented by performance information having a sounding start timing at the musical performance position cur, Then, the process proceeds to step S154 where the performance position cur is displayed. If it is determined in step S152 that the mute flag Mute is set to ON, that is, it is determined to mute the musical sound, the sound generation process in step S153 is skipped. The mute flag Mute is set to ON in step S158. In step S156, it is determined whether or not the performance position cur is PosEnd-Pre. If it is determined that the performance position cur is different from PosEnd-Pre, the process proceeds to step S161. If it is determined that the performance position cur is equal to PosEnd-Pre, the process proceeds to step S157. In step S157, it is determined whether or not the repeat flag Rep is set to ON, that is, whether or not the repeat performance is set.
[0045]
If it is determined that the repeat flag Rep is not on, that is, it is determined that the repeat performance is not performed and the automatic performance mode is performed only once, the process proceeds to step S158, the mute flag Mute is set to on, and the process proceeds to step S161. By setting the mute flag Mute to ON, a musical sound based on performance information having a sound generation timing between PosEnd-Pre and PosEnd is not generated. If it is determined in step S157 that the repeat flag Rep is set to ON, that is, it is determined that repeat performance is to be performed, the process proceeds to step S159, where PosSt-Pre is substituted for the performance position cur. Is muted, and then the process proceeds to step S161. That is, in this case, the performance position cur returns to the position where the performance was started. In step S161, it is determined whether or not the performance position cur is PosEnd. If it is determined that the performance position cur is not PosEnd, this routine is exited. If it is determined that the performance position cur is PosEnd, that is, it has reached the performance end position PosEnd, the process proceeds to step S162, the performance flag Play is set to OFF, and the automatic performance is stopped. In step S163, the current performance is stopped. The sound being sounded is muted and the process returns to the main routine. In a loop performance, before the performance position cur reaches PosEnd, PosSt-Pre is assigned to the performance position cur in step S159 and the performance is returned to the starting position. Therefore, steps S162 and S163 are performed only once. This is a mode-specific process.
[0046]
The automatic performance apparatus according to the present embodiment has an offset determined according to each switch from the performance start position by pressing any one of the eighth note switch 35, the sixteenth note switch 36, and the thirty
In addition, when the playback switch 32 is pressed, the automatic performance device of the present embodiment executes performance information fast-reading routine, thereby performing performance information having sounding timings after the first offset position and before the performance start position. It is assumed that the performance information has a sounding timing at the performance start position, and a musical sound represented by performance information having a sounding start timing after the performance start position is automatically played at the sounding start timing represented by the performance information. Therefore, when the beginning of a measure is designated as the performance start position, a plurality of musical sounds appear at the first beat of the measure, and the sounding start timing of each musical sound is after the first offset position and before the performance start position. Even if they appear at different times, the musical sounds represented by the performance information having the sounding start timing are simultaneously pronounced as having the sounding start timing at the performance start position. That is, when the playback switch 32 is pressed, this is equivalent to starting automatic performance from the performance start position. Further, in the automatic performance device of this embodiment, when the playback switch 32 is pressed, the musical sound based on the performance information having the sounding timing after the second offset position and before the performance end position is muted. When the beginning is designated as the performance end position, even if the musical sound that appears in the first beat of this measure has a sounding start timing slightly before this performance end position, the unnecessary musical sound is prevented from being pronounced. The performance itself advances to the performance end position. Therefore, when the playback switch 32 is pressed, the automatic performance device according to the present embodiment plays a musical sound represented by performance information having a sounding start timing within a section sandwiched between the first offset position and the second offset position. Even if the automatic performance is performed, the performance is performed with the same performance time as the performance time when the performance is automatically performed from the performance start position to the performance end position.
[0047]
In addition, when the repeat playback switch 33 is pressed, the automatic performance device according to the present embodiment automatically plays a musical sound that indicates performance information having a sound generation start timing after the first offset position at a sound generation start timing expressed by this performance information. When the performance is performed and the automatic performance advances to the second offset position, the performance position returns to the first offset position, and repeat performance is performed. In this embodiment, since the offset amount at the front end of the performance section and the offset amount at the end of the performance section are the same amount, the performance time from the first offset position to the second offset position is from the performance start position to the performance end. It is the same as the performance time when the automatic performance is performed up to the position. Therefore, in the automatic performance device of this embodiment, when the repeat reproduction switch 33 is pressed, the performance position is automatically played from the first offset position and automatically played to the second offset position as described above. Is returned to the first offset position and repeat performance is performed. This repeat performance is performed with the same performance time as the performance time when the section from the performance start position to the performance end position is repeated.
[0048]
Further, in the automatic performance device of the present embodiment, when the repeat reproduction switch 33 is pressed, the musical sound represented by the performance information having the sound generation start timing after the first offset position is not adjusted to the performance start position. Instead, automatic performance is performed in which the performance information stored in the
[0049]
Further, since the automatic performance device of this embodiment includes the eighth note switch 35, the sixteenth note switch 36, the thirty
In the automatic performance apparatus of the present embodiment, the user himself / herself operates the eighth note switch 35, the sixteenth note switch 36, the thirty
[0050]
In addition, the automatic performance device of this embodiment may include an offset unit that sets an offset amount based on tempo information stored in the
In the present embodiment, the offset amount at the performance start position and the offset amount at the performance end position are the same amount, but they may be different from each other.
[0051]
Although not described when describing the automatic performance apparatus of the present embodiment, the performance information stored in the
[0052]
【The invention's effect】
As described above, according to the automatic performance apparatus of the present invention, automatic performance as the user thinks is performed with a simple operation.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of an automatic performance device of the present invention.
FIG. 2 is a diagram showing a format of performance information stored in a RAM shown in FIG.
FIG. 3 is a view showing a panel provided with the operator group and the display shown in FIG. 1;
4 is a diagram showing a portion of the main routine stored in the ROM shown in FIG. 1 when a reproduction switch and a repeat reproduction switch are pressed. FIG.
FIG. 5 is a diagram showing a portion of the main routine stored in the ROM shown in FIG. 1 when a section A designation switch and a section B designation switch are pressed.
FIG. 6 is a flowchart showing a performance information fast-reading routine.
FIG. 7 is a flowchart showing a tempo clock interrupt routine.
FIG. 8 is a score representing a part of a music piece having a 4/4 time signature.
FIG. 9 is a schematic diagram of a musical sound played by an automatic performance device.
[Explanation of symbols]
10 Automatic performance device
11 CPU
12 RAM
13 ROM
14 Tempo clock generator
15 controls
16 Display
17 Sound source
18 amplifiers
19 Speaker
31 Display screen
32 Playback switch
33 Repeat playback switch
34 Stop switch
35 8 note switch
36 16-note switch
37 32 note switch
38 0 (zero) switch
39 Section A designation switch
40 Switch for section B designation
41 Section end forward movement switch
42 Section end backward switch
Claims (5)
前記楽曲上の演奏開始位置を指定する演奏開始位置指定手段と、
前記楽曲上の、前記演奏開始位置指定手段により指定された演奏開始位置から時間的に早い方向に前記楽曲における1拍の長さよりも小さい所定のオフセット量だけ離れた所定のオフセット位置以降の発音開始タイミングの楽音を自動演奏する自動演奏手段とを備えたことを特徴とする自動演奏装置。Storage means for automatically storing a plurality of musical sounds constituting a musical piece and storing performance information including at least information representing the sound generation start timing of the plurality of musical sounds;
Performance start position specifying means for specifying a performance start position on the music;
Start of sound generation after a predetermined offset position on the music that is separated from the performance start position designated by the performance start position designation means in a time earlier direction by a predetermined offset amount smaller than the length of one beat in the music An automatic performance apparatus comprising an automatic performance means for automatically performing a musical tone of timing.
前記楽曲上の演奏終了位置を指定する演奏終了位置指定手段と、
前記楽曲上の、前記演奏終了位置指定手段により指定された演奏終了位置から時間的に早い方向に前記楽曲における1拍の長さよりも小さい所定のオフセット量だけ離れた所定のオフセット位置以前の発音開始タイミングの楽音を自動演奏する自動演奏手段とを備えたことを特徴とする自動演奏装置。Storage means for automatically storing a plurality of musical sounds constituting a musical piece and storing performance information including at least information representing the sound generation start timing of the plurality of musical sounds;
A performance end position specifying means for specifying a performance end position on the music;
Start of sound generation before a predetermined offset position on the music that is separated from the performance end position specified by the performance end position specifying means in a time earlier direction by a predetermined offset amount smaller than the length of one beat in the music An automatic performance apparatus comprising an automatic performance means for automatically performing a musical tone of timing.
前記楽曲上の演奏開始位置および演奏終了位置を指定するリピート区間指定手段と、
前記楽曲上の、前記リピート区間指定手段により指定された演奏開始位置から時間的に早い方向に前記楽曲における1拍の長さよりも小さい所定の第1のオフセット量だけ離れた所定の第1のオフセット位置と、前記リピート区間指定手段により指定された演奏終了位置から時間的に早い方向に前記楽曲における1拍の長さよりも小さい所定の第2のオフセット量だけ離れた所定の第2のオフセット位置とに挟まれた区間内の発音開始タイミングの楽音を自動演奏する自動演奏手段とを備えたことを特徴とする自動演奏装置。Storage means for automatically storing a plurality of musical sounds constituting a musical piece and storing performance information including at least information representing the sound generation start timing of the plurality of musical sounds;
Repeat section designating means for designating the performance start position and performance end position on the music;
A predetermined first offset on the music that is separated by a predetermined first offset amount smaller than the length of one beat in the music in a time earlier direction from the performance start position specified by the repeat section specifying means. A predetermined second offset position that is separated from the position by a predetermined second offset amount smaller than the length of one beat in the music in a time earlier direction from the performance end position specified by the repeat section specifying means; An automatic performance device comprising: automatic performance means for automatically performing a musical tone at a sounding start timing in a section sandwiched between two.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28335897A JP3872186B2 (en) | 1997-10-16 | 1997-10-16 | Automatic performance device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28335897A JP3872186B2 (en) | 1997-10-16 | 1997-10-16 | Automatic performance device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11119775A JPH11119775A (en) | 1999-04-30 |
| JP3872186B2 true JP3872186B2 (en) | 2007-01-24 |
Family
ID=17664460
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28335897A Expired - Fee Related JP3872186B2 (en) | 1997-10-16 | 1997-10-16 | Automatic performance device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3872186B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5109127B2 (en) * | 2007-06-01 | 2012-12-26 | 株式会社メガチップス | Ensemble system |
| JP4687759B2 (en) * | 2008-08-25 | 2011-05-25 | ヤマハ株式会社 | Performance data reproducing apparatus and program |
-
1997
- 1997-10-16 JP JP28335897A patent/JP3872186B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH11119775A (en) | 1999-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8502057B2 (en) | Electronic musical instrument | |
| JP3484719B2 (en) | Performance guide device with voice input function and performance guide method | |
| JP3872186B2 (en) | Automatic performance device | |
| JP4170524B2 (en) | Waveform playback device | |
| JPH10301568A (en) | Automatic performance device | |
| JP3780857B2 (en) | Waveform editing method and waveform editing apparatus | |
| US20060031063A1 (en) | Automatic performance apparatus for reproducing music piece | |
| JP6451336B2 (en) | Recording apparatus, method and program | |
| JP4646140B2 (en) | Electronic musical instrument with practice function | |
| JP3933583B2 (en) | Electronic musical instruments | |
| JP2012132991A (en) | Electronic music instrument | |
| JP3770227B2 (en) | Musical sound generating device and medium recording program | |
| JP5906716B2 (en) | Electronic musical instruments | |
| JP3617114B2 (en) | Electronic musical instrument automatic performance device | |
| JP4214845B2 (en) | Automatic arpeggio device and computer program applied to the device | |
| US20250174212A1 (en) | Sheet music output device, sheet music output method, and non-transitory recording medium | |
| JP5164401B2 (en) | Automatic performance device and automatic performance program | |
| JP3649117B2 (en) | Musical sound reproducing apparatus and method, and storage medium | |
| JP3345453B2 (en) | Automatic performance device | |
| JP3770226B2 (en) | Musical sound generating device and medium recording program | |
| JP3637782B2 (en) | Data generating apparatus and recording medium | |
| JP3241805B2 (en) | Automatic performance device | |
| JP2001296859A (en) | Score display device | |
| JPH1097256A (en) | Musical sound producing device and medium stored with program | |
| JP3223204B2 (en) | Automatic performance device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040910 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060718 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060801 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060926 |
|
| 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: 20061017 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061019 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091027 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101027 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111027 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111027 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121027 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131027 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |