JP2008116975A - Automatic performing device, and program for realizing automatic performing method - Google Patents

Automatic performing device, and program for realizing automatic performing method Download PDF

Info

Publication number
JP2008116975A
JP2008116975A JP2007312553A JP2007312553A JP2008116975A JP 2008116975 A JP2008116975 A JP 2008116975A JP 2007312553 A JP2007312553 A JP 2007312553A JP 2007312553 A JP2007312553 A JP 2007312553A JP 2008116975 A JP2008116975 A JP 2008116975A
Authority
JP
Japan
Prior art keywords
performance
automatic performance
tempo
automatic
repeat
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.)
Granted
Application number
JP2007312553A
Other languages
Japanese (ja)
Other versions
JP4240145B2 (en
Inventor
Shinichi Ito
真一 伊藤
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2007312553A priority Critical patent/JP4240145B2/en
Publication of JP2008116975A publication Critical patent/JP2008116975A/en
Application granted granted Critical
Publication of JP4240145B2 publication Critical patent/JP4240145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic performing device which enables a performer to elaborately practice on parts which he can not perform well, and also provide a program for realizing automatic performing method. <P>SOLUTION: The automatic performing device is composed of; a reproduction control part 21 which reads out music data 10a, which are stored in an external storage device, to reproduce them (automatic performance) and controls a reproduction mode based on a result of determination made by an accordance determination part 22; the accordance determination part 22 which determines accordance between performance which a performer makes by using a performance operator 1 and automatic performance made by the reproduction control part 21 and transmits the result of the determination to the reproduction control part 21; and a repetition designation part 23 which designates a repetition segment, which is its partial segment, during the automatic performance by the reproduction control part 21. As the reproduction control part 21 controls the reproduction mode of the music data 10a based on various parameters, it is more preferable for the performer to freely set the values of the various parameters. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏の再生態様を変更する自動演奏装置および自動演奏方法を実現するためのプログラムに関する。   The present invention relates to a program for realizing an automatic performance apparatus and an automatic performance method for comparing a performance of a performer with an automatic performance and changing a reproduction mode of the automatic performance according to the comparison result.

演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏の再生態様を変更する自動演奏装置は、従来から知られている。   2. Description of the Related Art Conventionally, an automatic performance apparatus that compares a performer's performance with an automatic performance and changes the reproduction mode of the automatic performance according to the comparison result is known.

このような自動演奏装置として、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏のテンポを変更するようにしたものがある(たとえば、特許文献1参照)。
特開平10−39863号公報
As such an automatic performance device, there is one that compares a performance of a performer with an automatic performance and changes the tempo of the automatic performance according to the comparison result (see, for example, Patent Document 1).
JP 10-39863 A

しかし、上記従来の自動演奏装置では、自動演奏のテンポが、演奏者の演奏可能なペースに変更されるものの、自動演奏される曲全体の一部に、うまく演奏できないところがあったとしても、自動演奏のテンポが遅くなるだけで、自動演奏はどんどん先に進んで行ってしまい、演奏者がうまく演奏できないところを念入りに練習することができなかった。   However, in the conventional automatic performance apparatus described above, although the tempo of the automatic performance is changed to a pace that can be performed by the performer, even if there is a part that cannot be performed well in some parts of the automatic performance, As the performance tempo only slowed down, the automatic performance continued to advance and I could not practice carefully where the performers could not perform well.

本発明は、この点に着目してなされたものであり、演奏者がうまく演奏できないところを念入りに練習することが可能となる自動演奏装置および自動演奏方法を実現するためのプログラムを提供することを目的とする。   The present invention has been made paying attention to this point, and provides a program for realizing an automatic performance apparatus and an automatic performance method capable of carefully practicing where a performer cannot perform well. With the goal.

上記目的を達成するため、請求項1に記載の自動演奏装置は、通常演奏モードおよび一部区間繰り返し演奏モードのうちのいずれか一方のモードを選択する選択手段と、該選択手段によって前記通常演奏モードが選択されたときには、供給された自動演奏データに基づいて、全自動演奏の区間の自動演奏を行う一方、前記選択手段によって前記一部区間繰り返し演奏モードが選択されたときには、前記供給された自動演奏データに基づいて、前記全自動演奏の区間のうち、所定の一部区間の自動演奏を繰り返すように自動演奏を行う自動演奏手段と、演奏者が操作するための演奏操作子と、前記演奏操作子を用いて演奏者が行った演奏と、前記自動演奏手段による自動演奏とを比較する比較手段と、該比較手段による比較結果に応じて、前記自動演奏のテンポを変更するテンポ変更手段とを有し、前記テンポ変更手段は、前記通常演奏モードが選択されているときには、前記比較結果に応じて、前記自動演奏中に逐次、そのテンポを変更する一方、前記一部区間繰り返し演奏モードが選択されているときに、前記一部区間の自動演奏が繰り返されている場合、該一部区間の自動演奏中にはそのテンポを変更せず、該一部区間の先頭に自動演奏が戻ったときに、そのテンポを変更することを特徴とする。   In order to achieve the above object, an automatic performance apparatus according to claim 1, wherein a selection means for selecting any one of a normal performance mode and a partial section repeated performance mode, and the normal performance by the selection means. When a mode is selected, automatic performance of a fully automatic performance section is performed based on the supplied automatic performance data, while when the partial section repeated performance mode is selected by the selection means, the supplied Based on automatic performance data, among the fully automatic performance sections, automatic performance means for performing automatic performance so as to repeat automatic performance of a predetermined partial section, a performance operator for operation by the performer, Comparing means for comparing the performance performed by the performer using the performance operator and the automatic performance by the automatic performance means, and according to the comparison result by the comparison means, Tempo changing means for changing the tempo of the dynamic performance, and when the normal performance mode is selected, the tempo changing means sequentially changes the tempo during the automatic performance according to the comparison result. On the other hand, when the automatic performance of the partial section is repeated when the partial section repeated performance mode is selected, the tempo is not changed during the automatic performance of the partial section, It is characterized in that the tempo is changed when the automatic performance returns to the beginning of a partial section.

上記目的を達成するため、請求項2に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。   In order to achieve the above object, the program according to claim 2 can be realized by a technical idea similar to that of claim 1.

請求項1または2に記載の発明によれば、供給された自動演奏データに基づいて、全自動演奏の区間のうち、所定の一部区間の自動演奏が繰り返しなされ、この自動演奏と演奏操作子を用いて演奏者が行った演奏とが比較され、この比較結果に応じて、自動演奏のテンポが変更されるので、うまく演奏できないところを演奏者のペースに合わせて繰り返して、念入りに練習でき、これにより、練習効果を向上させることができる。   According to the first or second aspect of the invention, based on the supplied automatic performance data, the automatic performance of a predetermined partial section is repeated among the sections of the fully automatic performance. And the performance performed by the performer is compared, and the tempo of the automatic performance is changed according to the comparison result, so you can practice carefully by repeating the places where you can not perform well at the player's pace. Thus, the practice effect can be improved.

さらに請求項1または2に記載の発明によれば、前記一部区間の自動演奏が繰り返されている場合、該一部区間の自動演奏中にはそのテンポが変更されず、該一部区間の先頭に自動演奏が戻ったときに、そのテンポが変更されるので、該一部区間内はテンポを一定とした演奏練習を行うことができるとともに、その練習結果も、該一部区間内の次の演奏練習に生かすことができる。   Furthermore, according to the invention described in claim 1 or 2, when the automatic performance of the partial section is repeated, the tempo is not changed during the automatic performance of the partial section, and the partial section When the automatic performance returns to the beginning, the tempo is changed, so that the performance practice with a constant tempo can be performed in the partial section, and the practice result is also the next result in the partial section. Can be used to practice playing.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施の形態に係る自動演奏装置の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of an automatic performance device according to an embodiment of the present invention.

同図に示すように、本実施の形態の自動演奏装置は、音高情報を入力するための鍵盤を含む演奏操作子1と、各種情報を入力するための複数のスイッチを含む設定操作子2と、演奏操作子1の操作状態を検出する検出回路3と、設定操作子2の操作状態を検出する検出回路4と、装置全体の制御を司るCPU5と、該CPU5が実行する制御プログラムや、各種テーブルデータ等を記憶するROM6と、演奏データ、各種入力情報および演算結果等を一時的に記憶するRAM7と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ8と、各種情報等を表示する、たとえば液晶ディスプレイ(LCD)若しくはCRT(Cathode Ray Tube)ディスプレイおよび発光ダイオード(LED)等を備えた表示装置9と、前記制御プログラムを含む各種アプリケーションプログラムや各種楽曲データ、各種データ等を記憶する外部記憶装置10と、外部からのMIDI(Musical Instrument Digital Interface)信号を入力したり、MIDI信号を外部に出力したりするMIDIインターフェース(I/F)11と、通信ネットワーク101を介して、たとえばサーバコンピュータ(以下、「サーバ」と略して言う)102とデータの送受信を行う通信インターフェース(I/F)12と、演奏操作子1から入力された演奏データや予め設定された演奏データ等を楽音信号に変換する音源回路13と、該音源回路13からの楽音信号に各種効果を付与するための効果回路14と、該効果回路14からの楽音信号を音響に変換する、たとえば、DAC(Digital-to-Analog Converter)やアンプ、スピーカ等のサウンドシステム15とにより構成されている。   As shown in the figure, the automatic performance device of the present embodiment includes a performance operator 1 including a keyboard for inputting pitch information, and a setting operator 2 including a plurality of switches for inputting various information. A detection circuit 3 for detecting the operation state of the performance operator 1, a detection circuit 4 for detecting the operation state of the setting operator 2, a CPU 5 for controlling the entire apparatus, a control program executed by the CPU 5, Display ROM 6 for storing various table data, RAM 7 for temporarily storing performance data, various input information and calculation results, timer 8 for measuring interrupt time and various times in timer interrupt processing, and displaying various information For example, a display device 9 having a liquid crystal display (LCD) or CRT (Cathode Ray Tube) display and a light emitting diode (LED), and the control program An external storage device 10 for storing various application programs including various music data, various data, and the like, and a MIDI interface for inputting an external MIDI (Musical Instrument Digital Interface) signal and outputting a MIDI signal to the outside ( I / F) 11, a communication interface (I / F) 12 for transmitting / receiving data to / from a server computer (hereinafter abbreviated as “server”) 102, for example, via the communication network 101, and the performance operator 1 From the sound source circuit 13 for converting the input performance data, preset performance data, etc. into a musical tone signal, the effect circuit 14 for imparting various effects to the musical tone signal from the tone generator circuit 13, and the effect circuit 14 Convert musical tone signals into sound, for example, DAC (Digital-to-Analog Converter), amplifiers, speakers, etc. It is constituted by a sound system 15.

上記構成要素3〜14は、バス16を介して相互に接続され、CPU5にはタイマ8が接続され、MIDII/F11には他のMIDI機器100が接続され、通信I/F12には通信ネットワーク101が接続され、音源回路13には効果回路14が接続され、効果回路14にはサウンドシステム15が接続されている。ここで、通信I/F12および通信ネットワーク101は、有線方式のものに限らず、無線方式のものであってもよい。また、両方式のものを備えていてもよい。   The above components 3 to 14 are connected to each other via a bus 16, a timer 8 is connected to the CPU 5, another MIDI device 100 is connected to the MIDII / F 11, and a communication network 101 is connected to the communication I / F 12. Is connected to the sound source circuit 13, and the sound circuit 15 is connected to the effect circuit 14. Here, the communication I / F 12 and the communication network 101 are not limited to the wired system but may be a wireless system. In addition, both types may be provided.

外部記憶装置10としては、たとえば、フレキシブルディスクドライブ(FDD)、ハードディスクドライブ(HDD)、CD−ROMドライブおよび光磁気ディスク(MO)ドライブ等を挙げることができる。そして、外部記憶装置10には、前述のように、CPU5が実行する制御プログラムも記憶でき、ROM6に制御プログラムが記憶されていない場合には、この外部記憶装置10に制御プログラムを記憶させておき、それをRAM7に読み込むことにより、ROM6に制御プログラムを記憶している場合と同様の動作をCPU5にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。   Examples of the external storage device 10 include a flexible disk drive (FDD), a hard disk drive (HDD), a CD-ROM drive, and a magneto-optical disk (MO) drive. As described above, the external storage device 10 can also store a control program to be executed by the CPU 5. If no control program is stored in the ROM 6, the control program is stored in the external storage device 10. By reading it into the RAM 7, it is possible to cause the CPU 5 to perform the same operation as when the control program is stored in the ROM 6. In this way, control programs can be easily added and upgraded.

MIDII/F11は、専用のものに限らず、RS−232CやUSB(ユニバーサル・シリアル・バス)、IEEE1394(アイトリプルイー1394)等の汎用のインターフェースより構成してもよい。この場合、MIDIメッセージ以外のデータをも同時に送受信してもよい。   The MIDII / F11 is not limited to a dedicated one, and may be configured from a general-purpose interface such as RS-232C, USB (Universal Serial Bus), IEEE 1394 (Eye Triple E 1394). In this case, data other than MIDI messages may be transmitted and received simultaneously.

通信I/F12は、上述のように、たとえばLAN(Local Area Network)やインターネット、電話回線等の通信ネットワーク101に接続されており、該通信ネットワーク101を介して、サーバ102に接続される。外部記憶装置10に上記各プログラムや各種パラメータが記憶されていない場合には、通信I/F12は、サーバ102からプログラムやパラメータをダウンロードするために用いられる。クライアントとなる自動演奏装置は、通信I/F12および通信ネットワーク101を介してサーバ102へとプログラムやパラメータのダウンロードを要求するコマンドを送信する。サーバ102は、このコマンドを受け、要求されたプログラムやパラメータを、通信ネットワーク101を介して自動演奏装置へと配信し、自動演奏装置が通信I/F12を介して、これらプログラムやパラメータを受信して外部記憶装置10に蓄積することにより、ダウンロードが完了する。   As described above, the communication I / F 12 is connected to the communication network 101 such as a LAN (Local Area Network), the Internet, or a telephone line, and is connected to the server 102 via the communication network 101. When the above programs and various parameters are not stored in the external storage device 10, the communication I / F 12 is used to download programs and parameters from the server 102. The automatic performance device as a client transmits a command for requesting downloading of a program and parameters to the server 102 via the communication I / F 12 and the communication network 101. Upon receiving this command, the server 102 distributes the requested program and parameters to the automatic performance apparatus via the communication network 101, and the automatic performance apparatus receives these programs and parameters via the communication I / F 12. Thus, the download is completed by accumulating in the external storage device 10.

なお、本実施の形態の自動演奏装置は、上述の構成から分かるように、電子楽器上に構築されている。電子楽器の形態を採るようにした場合、その形態は鍵盤楽器に限らず、弦楽器タイプ、管楽器タイプ、打楽器タイプ等の形態でもよい。また、音源装置、自動演奏装置等を1つの電子楽器本体に内蔵したものに限らず、それぞれが別体の装置であり、MIDII/Fや各種ネットワーク等の通信手段を用いて各装置を接続するものであってもよい。さらに、本発明を実施できる最小限要素のみから構成した、電子楽器以外の専用装置上に構築してもよい。専用装置としては、たとえば、カラオケ装置や、ゲーム装置、携帯電話などの携帯型通信端末等を挙げることができる。携帯型通信端末を採用した場合、端末のみで所定の機能が完結している場合に限らず、機能の一部をサーバ側に持たせ、端末とサーバとからなるシステム全体として所定の機能を実現するようにしてもよい。あるいは、汎用的なパーソナルコンピュータ上に構築してもよい。   Note that the automatic performance device of the present embodiment is constructed on an electronic musical instrument, as can be seen from the above-described configuration. When the form of the electronic musical instrument is adopted, the form is not limited to the keyboard musical instrument, and may be a string musical instrument type, a wind instrument type, a percussion instrument type, or the like. In addition, the device is not limited to a sound source device, an automatic performance device, etc. built in one electronic musical instrument body, but each device is a separate device, and each device is connected using communication means such as MIDII / F or various networks. It may be a thing. Furthermore, you may construct | assemble on exclusive apparatuses other than the electronic musical instrument comprised only from the minimum element which can implement this invention. Examples of the dedicated device include a karaoke device, a game device, and a portable communication terminal such as a mobile phone. When a portable communication terminal is adopted, not only when a predetermined function is completed with only the terminal, but a part of the function is provided on the server side, and the predetermined function is realized as a whole system composed of the terminal and the server. You may make it do. Alternatively, it may be constructed on a general-purpose personal computer.

図2は、本実施の形態の自動演奏装置の制御機能構成を示すブロック図である。なお、同図中、曲データ10aおよび演奏操作子1は、制御機能には含まれないが、説明の都合上、図示されている。   FIG. 2 is a block diagram showing a control function configuration of the automatic performance device of the present embodiment. In the figure, the music data 10a and the performance operator 1 are shown for convenience of explanation, although they are not included in the control function.

同図に示すように、本実施の形態の自動演奏装置は、前記外部記憶装置10に記憶されている曲データ10aを読み出して再生(自動演奏)するとともに、一致判定部22の判定結果に基づいて、その再生態様を制御する再生制御部21(前記CPU5に相当する)と、演奏操作子1を用いて演奏者が行った演奏と再生制御部21による自動演奏との一致判定を行い、その判定結果を再生制御部21に送信する一致判定部22(CPU5に相当する)と、再生制御部21による自動演奏中、その一部区間である繰り返し区間を指定する繰り返し指定部23(CPU5に相当する)とによって構成されている。   As shown in the figure, the automatic performance device according to the present embodiment reads out and reproduces (automatic performance) the music data 10a stored in the external storage device 10, and based on the determination result of the coincidence determination unit 22. Then, the reproduction control unit 21 (corresponding to the CPU 5) for controlling the reproduction mode and the performance performed by the performer using the performance operator 1 and the automatic performance by the reproduction control unit 21 are determined, A coincidence determination unit 22 (corresponding to the CPU 5) that transmits the determination result to the reproduction control unit 21, and a repeat designation unit 23 (corresponding to the CPU 5) that specifies a repetitive section that is a partial section during automatic performance by the reproduction control unit 21. And).

なお、再生制御部21は、次に説明するように、各種パラメータに基づいて曲データ10aの再生態様を制御するようにしているので、演奏者がこの各種パラメータの値を自由に設定できるようにしておく方が好ましい。この場合、パラメータ設定部24(前記設定操作子2、CPU5および前記表示装置9に相当する)を設け、パラメータ設定部24を用いて演奏者が好みのパラメータ値を設定できるようにすればよい。ただし、パラメータ値は、自由に設定できない固定値であってもよいので、その意味では、本発明の必須の構成要素ではない。そのため、パラメータ設定部24は、破線で表示されている。   As will be described below, the playback control unit 21 controls the playback mode of the music data 10a based on various parameters, so that the player can freely set the values of these various parameters. It is preferable to keep it. In this case, a parameter setting unit 24 (corresponding to the setting operator 2, the CPU 5, and the display device 9) may be provided so that the player can set a desired parameter value using the parameter setting unit 24. However, since the parameter value may be a fixed value that cannot be set freely, in that sense, it is not an essential component of the present invention. Therefore, the parameter setting unit 24 is displayed with a broken line.

以下、本実施の形態の自動演奏装置が使用するパラメータの主なものについて、順に説明する。   Hereinafter, main parameters used by the automatic performance device of the present embodiment will be described in order.

(1)TCmax:自動演奏のテンポを変化させる最大値を示すパラメータであり、TCmaxとしては、たとえば100〜200%の範囲内の値(デフォルト値は、たとえば100%である)を設定できる。   (1) TCmax: a parameter indicating the maximum value for changing the tempo of automatic performance. As TCmax, for example, a value within a range of 100 to 200% (the default value is 100%, for example) can be set.

(2)TCmin:自動演奏のテンポを変化させる最小値を示すパラメータであり、TCminとしては、たとえば1〜100%の範囲内の値(デフォルト値は、たとえば50%である)を設定できる。   (2) TCmin: a parameter indicating a minimum value for changing the tempo of automatic performance. As the TCmin, for example, a value within the range of 1 to 100% (the default value is, for example, 50%) can be set.

図3は、次の(3)〜(6)の各パラメータの内容を説明するための図であり、(3)〜(6)の各パラメータについては、この図を参照して説明する。   FIG. 3 is a diagram for explaining the contents of the following parameters (3) to (6). The parameters (3) to (6) will be described with reference to this diagram.

(3)LSbefore:自動演奏データの各ノートイベントのノートオンタイミング(ノートオンイベントの立ち上がり)を含むレッスン範囲の先頭を、当該ノートオンタイミングからどのくらい離れているかによって規定するパラメータであり、LSbeforeとしては、たとえば0〜500msの範囲内の値(デフォルト値は、たとえば300msである)を設定できる。   (3) LSbefore: a parameter that defines how far the start of the lesson range including the note-on timing (rising edge of the note-on event) of each note event of the automatic performance data is from the note-on timing. LSbefore For example, a value within the range of 0 to 500 ms (the default value is, for example, 300 ms) can be set.

(4)LSafter:自動演奏データの各キーオンイベントの立ち上がりを含むレッスン範囲の末尾を、当該ノートオンタイミングからどのくらい離れているかによって規定するパラメータであり、LSafterとしては、たとえば0〜500msの範囲内の値(デフォルト値は、たとえば300msである)を設定できる。ここで、レッスン範囲とは、演奏者の演奏と自動演奏との一致判定を行う範囲である。つまり、演奏者がレッスン範囲内で押鍵したときにのみ、その押鍵と自動演奏との一致判定がなされる。   (4) LSafeter: A parameter that defines how far from the note-on timing the end of the lesson range including the rise of each key-on event of the automatic performance data is, and LSafeter is, for example, within a range of 0 to 500 ms. A value (the default value is, for example, 300 ms) can be set. Here, the lesson range is a range in which a match between a performer's performance and an automatic performance is determined. That is, only when the performer presses a key within the lesson range, the coincidence between the key press and the automatic performance is determined.

(5)OTbefore:自動演奏データの各キーオンイベントの立ち上がりを含むオンタイム範囲の先頭を、当該ノートオンタイミングからどのくらい離れているかによって規定するパラメータであり、OTbeforeとしては、たとえば0〜500msの範囲内の値(デフォルト値は、たとえば30msである)を設定できる。   (5) OTbefore: a parameter that defines how far the start of the on-time range including the rise of each key-on event of the automatic performance data is from the note-on timing. OTbefore is, for example, in the range of 0 to 500 ms. (The default value is, for example, 30 ms).

(6)OTafter:自動演奏データの各キーオンイベントの立ち上がりを含むオンタイム範囲の末尾を、当該ノートオンタイミングからどのくらい離れているかによって規定するパラメータであり、OTafterとしては、たとえば0〜500msの範囲内の値(デフォルト値は、たとえば30msである)を設定できる。ここで、オンタイム範囲とは、演奏者の押鍵と自動演奏のキーオンとが同じタイミングであるとみなす範囲である。つまり、演奏者がオンタイム範囲で押鍵すれば、その押鍵は自動演奏のキーオンと同じタイミングでなされたものとみなされる。ただし、その押鍵の音高が、対応する自動演奏のキーオンイベントの音高と異なれば、一致判定の結果、その押鍵は正押鍵とはならない。   (6) OTafter: a parameter that defines the distance from the note-on timing to the end of the on-time range including the rise of each key-on event of the automatic performance data. (The default value is, for example, 30 ms). Here, the on-time range is a range in which the player's key depression and the automatic performance key-on are considered to be at the same timing. In other words, if the performer presses the key within the on-time range, it is considered that the key press is made at the same timing as the key-on of the automatic performance. However, if the pitch of the key press is different from the pitch of the corresponding key-on event of the automatic performance, the key press is not a correct key press as a result of the match determination.

(7)NOKEY:レッスン範囲内で演奏者が押鍵できなかった場合に、自動演奏のテンポの減速制御を行うか否かを示すパラメータであり、NOKEYとしては、“1”(テンポ制御を行う)または“0”(テンポ制御を行わない)のいずれか(デフォルト値は、たとえば“1”である)を設定できる。   (7) NOKEY: This parameter indicates whether or not to perform tempo deceleration control of automatic performance when the performer cannot press the key within the lesson range. NOKEY is “1” (tempo control is performed). ) Or “0” (tempo control is not performed) (default value is “1”, for example).

(8)NOKEYdelay:レッスン範囲内で演奏者が押鍵できなかった場合に、遅く押鍵したのと同等と考え、その遅れをどの程度の遅れとみなすかを示すパラメータであり、NOKEYdelayとしては、たとえば0〜500msの範囲内の値(デフォルト値は、たとえば300msである)を設定できる。   (8) NOKEYdelay: A parameter that indicates how much the delay is considered to be equivalent to a late keystroke when the player cannot press the key within the lesson range. For example, a value within a range of 0 to 500 ms (the default value is, for example, 300 ms) can be set.

(9)TCup:正押鍵がなされる度に戻すべき自動演奏のテンポの程度を示すパラメータであり、TCupとしては、たとえば0〜100%の範囲内の値(デフォルト値は、たとえば2.50%である)を設定できる。   (9) TCup: a parameter indicating the degree of tempo of automatic performance to be returned every time the key is pressed, and TCup is a value within a range of 0 to 100%, for example (the default value is 2.50, for example) %) Can be set.

(10)MEAS:自動演奏のテンポを小節単位で変更するか否か、および小節単位で変更するときの小節数を示すパラメータであり、MEASとしては、たとえば0〜16の範囲内の値(デフォルト値は、たとえば0(小節単位でテンポ変更を行わない)である)を設定できる。   (10) MEAS: a parameter indicating whether or not the tempo of automatic performance is changed in units of bars, and the number of bars when changing in units of bars. MEAS is a value within a range of 0 to 16, for example (default The value can be set to 0 (for example, tempo change is not performed in units of measures).

(11)BEAT:自動演奏のテンポを拍単位で変更するか否か、および拍単位で変更するときの拍数を示すパラメータであり、BEATとしては、たとえば0〜16の範囲内の値(デフォルト値は、たとえば0(拍単位でテンポ変更を行わない)である)を設定できる。   (11) BEAT: a parameter indicating whether or not to change the tempo of automatic performance in beat units, and the number of beats when changing in beat units. BEAT is a value within a range of 0 to 16, for example (default) For example, the value can be set to 0 (tempo change is not performed in beat units).

(12)REPEAT:自動演奏区間内に設定されたA地点とB地点(A地点より演奏が進んだところにある地点)との間(以下、「リピート区間」という)で自動演奏を繰り返すA−Bリピート演奏モードが選択されている場合、テンポ変更をB地点からA地点に戻るときに行わせるか否かを示すパラメータであり、REPEATとしては、“1”(テンポ変更をB点からA点に戻るときに行わせる)または“0”(テンポ変更をB点からA点に戻るときに行わせない)のいずれか(デフォルト値は、たとえば“1”である)を設定できる。   (12) REPEAT: repeats automatic performance between points A and B (points where performance has advanced from point A) set in the automatic performance section (hereinafter referred to as “repeat section”) A- This parameter indicates whether or not the tempo change is performed when returning from the B point to the A point when the B repeat performance mode is selected. REPEAT has “1” (tempo change from the B point to the A point). (Can be performed when returning to point A) or “0” (no tempo change is performed when returning from point B to point A) (the default value is, for example, “1”).

(13)LOOP:自動演奏時に、たとえば前記設定操作子2に含まれるループバックボタン(図示せず)を押すと、押した位置を含む所定区間(その先頭を「ループスタート地点」といい、その末尾を「ループエンド地点」という)内で自動演奏を繰り返すループバック演奏モードが選択されている場合、テンポ変更をループエンド地点からループスタート地点に戻るときに行わせるか否かを示すパラメータであり、LOOPとしては、“1”(テンポ変更をループエンド地点からループスタート地点に戻るときに行わせる)または“0”(テンポ変更をループエンド地点からループスタート地点に戻るときに行わせない)のいずれか(デフォルト値は、たとえば“1”である)を設定できる。   (13) LOOP: During automatic performance, for example, when a loopback button (not shown) included in the setting operator 2 is pressed, a predetermined section including the pressed position (the beginning is called a “loop start point”, This parameter indicates whether or not to change the tempo when returning from the loop end point to the loop start point when the loopback performance mode is selected. , LOOP is “1” (changes the tempo when returning from the loop end point to the loop start point) or “0” (does not change the tempo when returning from the loop end point to the loop start point) Either (the default value is “1”, for example) can be set.

(14)NOTE:自動演奏のテンポを変更するために処理しなければならないノート数を示すパラメータであり、NOTEとしては、たとえば0〜16の範囲内の値(デフォルト値は、たとえば1である)を設定できる。   (14) NOTE: A parameter indicating the number of notes that must be processed in order to change the tempo of automatic performance. As NOTE, for example, a value in the range of 0 to 16 (the default value is 1, for example) Can be set.

(15)NOTEreset:小節単位/拍単位で自動演奏のテンポを変更している場合、その変更タイミングでノート数カウンタ(前記RAM7の所定位置に確保されたソフトウェアカウンタ)をリセットするか否かを示すパラメータであり、NOTEresetとしては、“1”(ノート数カウンタをリセットする)または“0”(ノート数カウンタをリセットしない)のいずれか(デフォルト値は、たとえば“1”である)を設定できる。   (15) NOTERESET: Indicates whether or not to reset the note counter (software counter secured at a predetermined position in the RAM 7) at the change timing when the automatic performance tempo is changed in units of measures / beats. The parameter, NOTEreset, can be set to either “1” (resets the note number counter) or “0” (does not reset the note number counter) (the default value is, for example, “1”).

(16)TABLEB:前記オンタイム範囲より押鍵が早い場合に、その早さの程度と、これに応じて自動演奏のテンポを遅くする変更量とを対応付けるテーブルであり、TABLEBとしては、たとえば10ms:0.50%,20ms:0.50%,30ms:0.50%,40ms:1.00%,‥‥が設定されている。   (16) TABLEB: A table that associates the degree of speed when the key is pressed earlier than the on-time range and the amount of change that slows down the tempo of automatic performance according to this, and TABLEB is, for example, 10 ms. : 0.50%, 20ms: 0.50%, 30ms: 0.50%, 40ms: 1.00%, and so on.

(17)TABLEA:前記オンタイム範囲より押鍵が遅い場合に、その遅さの程度と、これに応じて自動演奏のテンポを遅くするための変更量とを対応付けるテーブルであり、TABLEAとしては、たとえば10ms:0.50%,20ms:0.50%,30ms:0.50%,40ms:1.00%,‥‥が設定されている。   (17) TABLEA: A table that correlates the degree of delay when the key depression is slower than the on-time range and the amount of change for slowing down the automatic performance tempo accordingly. For example, 10 ms: 0.50%, 20 ms: 0.50%, 30 ms: 0.50%, 40 ms: 1.00%,... Are set.

以上のように構成された自動演奏装置が実行する制御処理を、まずその概要を説明し、次に図4〜図14を参照して詳細に説明する。   The control process executed by the automatic performance apparatus configured as described above will be first described in outline, and then described in detail with reference to FIGS.

本実施の形態の自動演奏装置は、次の3種類の演奏モードを備え、演奏者がいずれかの演奏モードを選択すると、その演奏モードに応じた演奏態様で、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏のテンポを変更するようにしている。すなわち、演奏モードは、
(i)通常演奏モード
(ii)A−Bリピート演奏モード
(iii)ループバック演奏モード
の3種類である。以下、これらの演奏モードに応じた演奏態様について、順に説明する。
The automatic performance device according to the present embodiment has the following three performance modes. When the performer selects any one of the performance modes, the performance and the automatic performance of the performer are performed in a performance mode corresponding to the performance mode. And the tempo of the automatic performance is changed according to the comparison result. That is, the performance mode is
(I) normal performance mode (ii) AB repeat performance mode (iii) loopback performance mode. Hereinafter, performance modes corresponding to these performance modes will be described in order.

上記(i)の通常演奏モードとは、自動演奏対象の楽曲データ(楽曲データが複数記憶されているときには、たとえば、演奏者が選択したいずれか)をその先頭から末尾まで通して1回再生するモードである。この自動演奏に合わせて、演奏者が演奏すると、本実施の形態の自動演奏装置は、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏のテンポを変更する。   The normal performance mode (i) is to play music data to be automatically played (one selected by the performer, for example, when there are a plurality of pieces of music data) from the beginning to the end and played once. Mode. When the performer performs in accordance with the automatic performance, the automatic performance apparatus of the present embodiment compares the performance of the performer with the automatic performance, and changes the tempo of the automatic performance according to the comparison result.

上記(ii)のA−Bリピート演奏モードとは、上記(i)通常演奏モードが選択されて自動演奏中に、演奏者が、たとえば前記設定操作子2に含まれるA−Bリピートスイッチ(図示せず)を押すと、当該楽曲データの一部に予め設定されたリピート区間(その先頭が前記A地点であり、その末尾が前記B地点である)を繰り返し再生するモードである。この(ii)A−Bリピート演奏モードでも、本実施の形態の自動演奏装置は、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏のテンポを変更するが、前記(12)のパラメータREPEATの値に応じて、テンポを変更するタイミングを異ならせている。すなわち、REPEAT=1の場合には、リピート区間ではテンポ変更を行わず、B地点からA地点に戻ったときだけにテンポ変更を行う一方、REPEAT=0の場合には、リピート区間でテンポ変更を行い、B地点からA地点に戻ったときに、変更したテンポを初期値(デフォルト値)に戻す。   The AB repeat performance mode (ii) refers to the AB repeat switch (see FIG. 5) included in the setting operator 2, for example, during the automatic performance when the normal performance mode (i) is selected. In this mode, a repeat section (the beginning is the point A and the end is the point B) set in advance in a part of the music data is repeatedly played. Even in this (ii) AB repeat performance mode, the automatic performance device of the present embodiment compares the performance of the performer with the automatic performance and changes the tempo of the automatic performance according to the comparison result. The timing for changing the tempo is varied according to the value of the parameter REPEAT in (12). That is, when REPEAT = 1, the tempo change is not performed in the repeat section, and the tempo change is performed only when returning from the B point to the A point, whereas when REPEAT = 0, the tempo change is performed in the repeat section. When changing from point B to point A, the changed tempo is returned to the initial value (default value).

上記(iii)のループバック演奏モードとは、上記(i)通常演奏モードが選択されて自動演奏中に、演奏者が、たとえば前記設定操作子2に含まれるループバックスイッチ(図示せず)を押すと、その地点、すなわち前記ループエンド地点から、予め設定された区間だけ戻り(その地点が前記ループスタート地点である)、ループスタート地点とループエンド地点との間、すなわちループ区間を繰り返し再生するモードである。この(iii)ループバック演奏モードでも、本実施の形態の自動演奏装置は、演奏者の演奏と自動演奏とを比較し、この比較結果に応じて自動演奏のテンポを変更するが、上記(ii)A−Bリピート演奏モードと同様に、前記(13)のパラメータLOOPの値に応じて、テンポを変更するタイミングを異ならせている。すなわち、LOOP=1の場合には、ループ区間ではテンポ変更を行わず、ループエンド地点からループスタート地点に戻ったときだけにテンポ変更を行う一方、LOOP=0の場合には、ループ区間でテンポ変更を行い、ループエンド地点からループスタート地点に戻ったときに、変更したテンポを初期値(デフォルト値)に戻す。   The loopback performance mode of (iii) is that the player performs, for example, a loopback switch (not shown) included in the setting operator 2 during the automatic performance when the (i) normal performance mode is selected. Press to return from that point, that is, the loop end point, by a preset interval (the point is the loop start point), and repeatedly play between the loop start point and the loop end point, that is, the loop interval Mode. Even in this (iii) loopback performance mode, the automatic performance device of the present embodiment compares the performance of the performer with the automatic performance, and changes the tempo of the automatic performance according to the comparison result. ) Similar to the AB repeat performance mode, the timing for changing the tempo is varied according to the value of the parameter LOOP in (13). That is, when LOOP = 1, the tempo is not changed in the loop section, but only when the loop end point returns to the loop start point, while when LOOP = 0, the tempo is changed in the loop section. Changes are made, and when the loop end point is returned to the loop start point, the changed tempo is returned to the initial value (default value).

なお、(ii)A−Bリピート演奏モードまたは(iii)ループバック演奏モードから(i)通常演奏モードに移行するには、たとえば前記設定操作子2に含まれる通常演奏スイッチ(図示せず)を押すようにすればよい。もちろん、これに限らず、(ii)A−Bリピート演奏モードまたは(iii)ループバック演奏モードにおいて、演奏者の演奏が上達し、ある基準を超えると、(i)通常演奏モードに自動的に移行するようにしてもよい。   In order to shift from (ii) AB repeat performance mode or (iii) loopback performance mode to (i) normal performance mode, for example, a normal performance switch (not shown) included in the setting operation element 2 is used. Just push it. Of course, the present invention is not limited to this, and when the player's performance improves in (ii) AB repeat performance mode or (iii) loopback performance mode and exceeds a certain standard, (i) the normal performance mode is automatically entered. You may make it transfer.

また、(ii)A−Bリピート演奏モードでは、ループ区間は、予め設定された区間としたが、この区間は、(i)通常演奏モード時に演奏者が自由に設定可能にしてもよいし(たとえば、自動演奏の対象となる楽曲データの全体を表示しておき、図示しない操作子により、A地点とB地点を指定可能に構成する、あるいは、自動演奏中に前記A−Bリピートスイッチを2回押し、1回目に押したときの再生位置をA地点とし、2回目に押したときの再生位置をB地点とする等)、習熟が足りない区間を、演奏者の演奏と自動演奏との比較結果から自動的に割り出し、その区間を設定可能にしてもよい。   Further, (ii) in the AB repeat performance mode, the loop section is a preset section, but this section may be (i) freely performable by the performer in the normal performance mode ( For example, the entire music data to be subjected to automatic performance is displayed, and the A point and the B point can be designated by an operator (not shown), or the AB repeat switch is set to 2 during automatic performance. The playback position when the first press is set as the A point, the playback position when the second press is set as the B point, etc.) It may be automatically determined from the comparison result, and the section may be settable.

また、(iii)ループバック演奏モードでは、ループバックする区間長は、予め設定された区間長としたが、この区間長は、演奏者が自由に設定可能にしてもよいし、習熟が足りない区間を、演奏者の演奏と自動演奏との比較結果から自動的に割り出し、その区間を含むような区間長に設定可能にしてもよい。   Further, (iii) in the loopback performance mode, the section length to be looped back is set to a preset section length. However, the section length may be freely settable by the performer, and is not sufficiently mastered. The section may be automatically determined from the comparison result between the performer's performance and the automatic performance, and the section length including the section may be set.

さらに、(ii)A−Bリピート演奏モードおよび(iii)ループバック演奏モードにおいて、自動的に割り出した、習熟が足りない区間を、たとえば前記表示装置9上に表示して、演奏者に明示するようにしてもよい。   Furthermore, in (ii) the AB repeat performance mode and (iii) the loopback performance mode, the unskilled interval automatically determined is displayed on, for example, the display device 9 and clearly shown to the performer. You may do it.

次に、この制御処理を詳細に説明する。   Next, this control process will be described in detail.

図4は、本実施の形態の自動演奏装置、特にCPU5が実行するメインルーチンの手順を示すフローチャートである。このメインルーチンは、次の処理によって構成されている。すなわち、
(a)パラメータ設定処理(ステップS1)
(b)演奏操作子処理(ステップS2)
(c)自動演奏処理(ステップS3)
(d)その他の処理(ステップS4)
である。
FIG. 4 is a flowchart showing the procedure of the main routine executed by the automatic performance device of the present embodiment, particularly the CPU 5. This main routine is constituted by the following processing. That is,
(A) Parameter setting process (step S1)
(B) Performance operator processing (step S2)
(C) Automatic performance processing (step S3)
(D) Other processing (step S4)
It is.

上記(a)のパラメータ設定処理では、演奏者が、前記設定操作子2を用いて、前記(1)〜(17)のパラメータからいずれかを選択し、その値の変更を指示すると、変更指示された値を当該パラメータの値に設定する。なお、本実施の形態では、(1)〜(17)のパラメータのすべてを演奏者が設定可能に構成したが、これに限らず、そのうち一部のパラメータのみを演奏者が設定可能とし、残りは製造メーカのみが固定的に設定可能としてもよい。さらに、(1)〜(17)のパラメータのすべてについて、製造メーカのみが固定的に設定可能としてもよい。この場合、(a)パラメータ設定処理は不要であるので、削除するようにすればよい。すなわち、前記図2のパラメータ設定部24が本発明の必須の構成要素でない場合とは、この場合に相当している。   In the parameter setting process (a), when the performer selects one of the parameters (1) to (17) using the setting operator 2 and instructs to change the value, the change instruction is given. Set the value to the value of the parameter. In the present embodiment, all the parameters (1) to (17) can be set by the performer. However, the present invention is not limited to this, and only a part of the parameters can be set by the performer. May be fixedly set only by the manufacturer. Further, all the parameters (1) to (17) may be fixedly set only by the manufacturer. In this case, since (a) parameter setting processing is unnecessary, it may be deleted. That is, the case where the parameter setting unit 24 of FIG. 2 is not an essential component of the present invention corresponds to this case.

前記(b)の演奏操作子処理の詳細な手順は、図5に記載されている。図5に示すように、本演奏操作子処理は、キーオン処理とキーオフ処理とによって構成されている。   The detailed procedure of the performance operator process (b) is shown in FIG. As shown in FIG. 5, the performance operator process is composed of a key-on process and a key-off process.

キーオン処理は、ステップS22〜S25に相当する。演奏者が押鍵すると、まず、その押鍵音高の楽音信号を生成するように、前記音源回路13に指示し(ステップS21→S22)、次に、その押鍵音高および押鍵タイミングと、その押鍵に対応する自動演奏の音高および再生タイミングとの一致判定を行う(ステップS23)。このステップS23の一致判定では、まず、当該押鍵タイミングが前記図3のレッスン範囲内に含まれているか否かを判定し、レッスン範囲内に含まれていれば、次に、前記図3のオンタイム範囲内に含まれているか否かを判定する。その結果、
(A)当該押鍵タイミングがレッスン範囲内&(かつ)オンタイム範囲内
(B)当該押鍵タイミングがレッスン範囲内&オンタイム範囲より前
(C)当該押鍵タイミングがレッスン範囲内&オンタイム範囲より後
(D)当該押鍵タイミングがレッスン範囲外
の4種類の場合のいずれかが判定される。
The key-on process corresponds to steps S22 to S25. When the performer presses the key, first, the tone generator circuit 13 is instructed to generate a musical tone signal of the key press pitch (steps S21 → S22), and then the key press pitch and key press timing are determined. Then, it is determined whether the pitch of the automatic performance corresponding to the key depression and the reproduction timing coincide with each other (step S23). In the coincidence determination in step S23, first, it is determined whether or not the key pressing timing is included in the lesson range of FIG. 3, and if it is included in the lesson range, then in FIG. It is determined whether it is included in the on-time range. as a result,
(A) The key pressing timing is within the lesson range & (and) on-time range (B) The key pressing timing is within the lesson range & on-time range (C) The key pressing timing is within the lesson range & on-time After the range (D) One of four types of key pressing timings outside the lesson range is determined.

なお、このとき、同時に音高の一致判定もなされ、その結果、押鍵音高と、これに対応する自動演奏の音高とが一致しない場合には、その押鍵は無効とするが、以下、押鍵が無効の場合は考えないものとする。   At this time, the matching of the pitches is also determined. As a result, if the key pressing pitch does not match the corresponding automatic performance pitch, the key pressing is invalid. The case where the key press is invalid is not considered.

そして、上記(A)の場合には、当該押鍵は正規タイミングで押鍵されたものと判定し、上記(B)の場合には、当該押鍵は正規タイミングより早く押鍵されたものと判定するとともに、オンタイム範囲の先頭、すなわち前記(5)のパラメータOTbeforeで示される時間と当該押鍵タイミングとの時間差を検出し、上記(C)の場合には、当該押鍵は正規タイミングより遅く押鍵されたものと判定するとともに、オンタイム範囲の末尾、すなわち前記(6)のパラメータOTafterで示される時間と当該押鍵タイミングとの時間差を検出し、上記(D)の場合には、当該押鍵はレッスン範囲外に押鍵されたものと判定する。   In the case of (A), it is determined that the key is pressed at the regular timing. In the case of (B), the key is pressed earlier than the normal timing. At the same time, the time difference between the head of the on-time range, that is, the time indicated by the parameter OTbefore in (5) and the key pressing timing is detected. It is determined that the key was depressed late, and the time difference between the end of the on-time range, that is, the time indicated by the parameter OTafter in (6) and the key depression timing is detected. It is determined that the key is pressed out of the lesson range.

次に、この一致判定の結果に応じて、自動演奏のテンポをどれだけ変更するかを示すテンポ変更値を決定する(ステップS24)。具体的には、上記(A)の場合には、このとき、現在のテンポ変更値が前記(1)のパラメータTCmaxで示される値に達していなければ、現在のテンポ変更値に、前記(9)のパラメータTCupで示される値を加えて、新たなテンポ変更値とする。上記(B)の場合には、前記(16)のパラメータ(テーブル)TABLEBから、検出した時間差に対応する値を検索し、現在のテンポ変更値からその検索値を減算して、新たなテンポ変更値とする。上記(C)の場合には、前記(17)のパラメータ(テーブル)TABLEAから、検出した時間差に対応する値を検索し、現在のテンポ変更値からその検索値を減算して、新たなテンポ変更値(テンポが遅くなる値)とする。上記(D)の場合には、このとき、前記(7)のパラメータNOKEY=1であれば、前記(16)のパラメータ(テーブル)TABLEAから、前記(8)のパラメータNOKEYdelayで示される値に対応する値を検索し、現在のテンポ変更値からその検索値を減算して、新たなテンポ変更値とする。   Next, a tempo change value indicating how much the tempo of the automatic performance is to be changed is determined according to the result of the coincidence determination (step S24). Specifically, in the case of (A) above, if the current tempo change value does not reach the value indicated by the parameter TCmax in (1), the current tempo change value is ) Is added to the value indicated by the parameter TCup to obtain a new tempo change value. In the case of (B) above, a value corresponding to the detected time difference is searched from the parameter (table) TABLEB in (16), and the search value is subtracted from the current tempo change value to obtain a new tempo change. Value. In the case of (C), a value corresponding to the detected time difference is searched from the parameter (table) TABLEA in (17), and the search value is subtracted from the current tempo change value to obtain a new tempo change. Value (value that slows down the tempo). In the case of (D) above, if the parameter NOKEY = 1 in (7) above, it corresponds to the value indicated by the parameter NOKEYdelay in (8) from the parameter (table) TABLEA in (16). The value to be searched is searched, and the search value is subtracted from the current tempo change value to obtain a new tempo change value.

次に、前記(14)のパラメータNOTEで特定されるノート数が経過するとともに、前記(10)のパラメータMEAS=0(テンポ変更を小節単位で行わない)&前記(11)のパラメータBEAT=0(テンポ変更を拍単位で行わない)である場合には、現在のテンポを、上記ステップS24で決定されたテンポ変更値に変更する(ステップS25)。ただし、前記A−Bリピート演奏モードが選択された状態で前記(12)のパラメータREPEAT=1(テンポ変更をB地点からA地点に戻るときに行う)または前記ループバック演奏モードが選択された状態で前記(13)のパラメータLOOP=1(テンポ変更をループバック時に行う)のいずれかが成立している場合には、上記ステップS25のテンポ変更は行わない。   Next, as the number of notes specified by the parameter NOTE of (14) elapses, the parameter MEAS = 0 of (10) (tempo change is not performed in units of bars) & the parameter BEAT = 0 of (11) If the tempo change is not performed in units of beats, the current tempo is changed to the tempo change value determined in step S24 (step S25). However, in the state where the AB repeat performance mode is selected, the parameter REPEAT = 1 (performed when the tempo change is returned from the B point to the A point) or the loopback performance mode is selected. If any one of the parameters LOOP = 1 (change the tempo at the time of loopback) is established, the tempo change in step S25 is not performed.

図8〜図14は、各種パラメータの値を異ならせた場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。図8〜図14中、A−Bリピート演奏モードでは、リピート区間を4小節とし、ループバック演奏モードでも、ループ区間を、リピート区間と同じ4小節としている。これは、便宜上そのように選んだだけであり、リピート区間とループ区間とは、通常、その区間長も位置も異なっている。また、通常演奏モード時の曲データは、楽曲データの一部(リピート区間およびループ区間内の曲データ)のみが図示されている。   FIGS. 8 to 14 are diagrams showing how the tempo change timing changes in the normal performance mode, the AB repeat performance mode, and the loopback performance mode when the values of various parameters are changed. It is. 8 to 14, in the AB repeat performance mode, the repeat section is set to 4 bars, and in the loopback performance mode, the loop section is set to the same 4 bars as the repeat section. This is simply selected as such for the sake of convenience, and the repeat section and the loop section usually differ in section length and position. In addition, as for the music data in the normal performance mode, only a part of the music data (music data in the repeat section and the loop section) is illustrated.

図8の例では、MEAS=0,BEAT=0,NOTE=1であるので、通常演奏モード時には、テンポ変更は1ノートイベント毎に行われる。図9の例では、MEAS=0,BEAT=0,NOTE=2であるので、通常演奏モード時には、テンポ変更は2ノートイベント毎に行われる。なお、図10〜図14の例では、パラメータMEASまたはパラメータBEATの少なくとも一方が“1”であり、この場合、テンポ変更は上記ステップS25では行わず、後述する図7のステップS42で行うので、ステップS42の処理を説明するときに、図10〜図14の例についても説明する。   In the example of FIG. 8, since MEAS = 0, BEAT = 0, and NOTE = 1, the tempo change is performed for each note event in the normal performance mode. In the example of FIG. 9, since MEAS = 0, BEAT = 0, and NOTE = 2, the tempo change is performed every two note events in the normal performance mode. 10 to 14, at least one of the parameter MEAS and the parameter BEAT is “1”. In this case, the tempo change is not performed in step S25, but is performed in step S42 of FIG. When describing the processing in step S42, the examples of FIGS. 10 to 14 will also be described.

一方、キーオフ処理は、ステップS27に相当する。演奏者が離鍵すると、発音中の楽音のうち、当該離鍵に対応するものの消音を前記音源回路13に指示する(ステップS26→S27)。   On the other hand, the key-off process corresponds to step S27. When the performer releases the key, the tone generator circuit 13 is instructed to mute the musical sound that is being generated, corresponding to the key release (steps S26 → S27).

前記(c)の自動演奏処理の詳細な手順は、図6および図7に記載されている。図6および図7に示すように、本自動演奏処理は、自動演奏が開始されたときにスタートさせた前記タイマ8が計時した時間に基づいて、各種処理を行うように構成されている。具体的には、タイマ8が、
(I)前記レッスン範囲の先頭/オンタイム範囲の先頭を計時した場合
(II)ノートイベントのノートオンタイミング/ノートオフタイミングを計時した場合(III)前記レッスン範囲の末尾/オンタイム範囲の末尾を計時した場合
(IV)小節/拍位置を計時した場合
(V)A−Bリピート演奏モード時のB地点/ループバック演奏モード時のループエンド地点を計時した場合
(VI)曲の終わりを計時した場合
の各場合に応じて、次に説明する各処理を行う。
The detailed procedure of the automatic performance process (c) is described in FIGS. As shown in FIGS. 6 and 7, the automatic performance process is configured to perform various processes based on the time counted by the timer 8 started when the automatic performance is started. Specifically, the timer 8
(I) When the beginning of the lesson range / on-time range is counted (II) When note-on timing / note-off timing of the note event is counted (III) End of the lesson range / end-time range When measuring (IV) When measuring bar / beat position (V) When measuring point B in AB repeat performance mode / when looping end in loopback performance mode (VI) Measuring the end of the song Each process described below is performed according to each case.

上記(I)の、タイマ8が、レッスン範囲の先頭、すなわち当該ノートイベントのノートオンタイミングより前記(3)のパラメータLSbeforeで示される時間だけ前、あるいはオンタイム範囲の先頭、すなわち当該イベントのノートオンタイミングより前記(5)のパラメータOTbeforeで示される時間だけ前を計時した場合には、それぞれ、それ以降をレッスン範囲/オンタイム範囲に設定する(ステップS32→S33)。このように、レッスン範囲/オンタイム範囲を設定するようにしたのは、前述したように、図5のステップS23では、このレッスン範囲/オンタイム範囲に基づいて一致判定するようにしているからである。   In the above (I), the timer 8 is at the beginning of the lesson range, that is, the time indicated by the parameter LSbefore of (3) before the note on timing of the note event, or at the beginning of the on time range, that is, the note of the event. When the time before the time indicated by the parameter OTbefore of (5) is counted from the on-timing, the time after that is set as the lesson range / on-time range (steps S32 → S33). The reason why the lesson range / on-time range is set in this manner is that, as described above, in step S23 of FIG. 5, the match determination is made based on the lesson range / on-time range. is there.

前記(II)の、タイマ8が、ノートイベントのノートオンタイミング、すなわち発音タイミング、あるいはノートオフタイミング、すなわち消音タイミングを計時した場合には、それぞれ、当該ノートイベント(演奏データ)に基づいて発音処理/消音処理を行う。具体的には、発音処理では、当該ノートイベントに応じた音高、音長およびベロシティの楽音信号を生成するように、前記音源回路13に指示し、消音処理では、既に生成されている楽音信号のうち、当該ノートイベントに対応する楽音信号の消音を、音源回路13に指示する。   When the timer 8 in (II) measures the note-on timing of the note event, that is, the sounding timing, or the note-off timing, that is, the mute timing, the sounding process is performed based on the note event (performance data). / Mute the sound. Specifically, in the sound generation process, the tone generator circuit 13 is instructed to generate a tone signal of pitch, tone length and velocity corresponding to the note event, and in the mute process, the tone signal already generated is generated. Among them, the sound source circuit 13 is instructed to mute the musical sound signal corresponding to the note event.

前記(III)の、タイマ8が、レッスン範囲の末尾、すなわち当該ノートイベントのノートオンタイミングより前記(4)のパラメータLSafterで示される時間だけ後、あるいはオンタイム範囲の末尾、すなわち当該ノートイベントのノートオンタイミングより前記(6)のパラメータOTafterで示される時間だけ後を計時した場合には、それぞれ、前記設定されたレッスン範囲/オンタイム範囲を解除する(ステップS36→S37)。このようにして、図3に示すように、ノートオンタイミングよりLSbefore時間前から、ノートオンタイミングよりLSafter時間後までの範囲が、レッスン範囲に設定され、ノートオンタイミングよりOTbefore時間前から、ノートオンタイミングよりOTafter時間後までの範囲が、オンタイム範囲に設定される。   The timer 8 of (III) is the end of the lesson range, that is, after the time indicated by the parameter LSafe of (4) after the note on timing of the note event, or the end of the on time range, that is, the note event. When the time indicated by the parameter OTafter (6) is counted from the note-on timing, the set lesson range / on-time range is canceled (steps S36 → S37). In this way, as shown in FIG. 3, the range from the LSbefore time before the note-on timing to the LSafter time after the note-on timing is set as the lesson range, and the note-on time from the OTbefore time before the note-on timing. The range from the timing to the time after OTAfter time is set as the on-time range.

次に、現時点がレッスン範囲外であり、かつ前記(7)のパラメータNOKEY=1(レッスン範囲内で演奏者が押鍵できなかった場合でも、テンポ変更を行う)かつレッスン範囲内で正押鍵がなかったときには、前記(16)のパラメータ(テーブル)TABLEAから、前記(8)のパラメータNOKEYdelayで示される値に対応する値を検索し、現在のテンポ変更値からその検索値を減算して、新たなテンポ変更値とする(ステップS39)。そして、前記図5のステップS25と同様の処理を行う(ステップS40)。このようにして、パラメータNOKEYに“1”が設定されているときには、たとえ演奏者がレッスン範囲内で押鍵できなかったとしても、所定の条件の下で、テンポを遅くする制御がなされる。   Next, when the current time is outside the lesson range and the parameter NOKEY of (7) is 1 (the tempo is changed even if the player cannot press the key within the lesson range), and the key is pressed correctly within the lesson range. If there is not, a value corresponding to the value indicated by the parameter NOKEYdelay in (8) is searched from the parameter (table) TABLEA in (16), and the search value is subtracted from the current tempo change value, A new tempo change value is set (step S39). Then, the same process as step S25 of FIG. 5 is performed (step S40). In this way, when the parameter NOKEY is set to “1”, even if the performer cannot press the key within the lesson range, the tempo is controlled under a predetermined condition.

前記(IV)の、タイマ8が小節/拍位置を計時した場合には、前記(14)のパラメータNOTEで特定されるノート数が経過するとともに、前記(10)のパラメータMEAS/前記(11)のパラメータBEATで特定される小節数/拍数が経過した場合には、現在のテンポを、前記図5のステップS24(または前記ステップS39)で決定されたテンポ変更値に変更する(ステップS41→S42)。ただし、前記A−Bリピート演奏モードが選択された状態で前記(12)のパラメータREPEAT=1(テンポ変更をB地点からA地点に戻るときに行う)または前記ループバック演奏モードが選択された状態で前記(13)のパラメータLOOP=1(テンポ変更をループバック時に行う)のいずれかが成立している場合には、上記ステップS42のテンポ変更は行わない。次に、前記(15)のパラメータNOTEreset=1のときには、現在カウント中のノート数をリセットする(ステップS43)。   When the timer 8 of (IV) measures the bar / beat position, the number of notes specified by the parameter NOTE of (14) has elapsed, and the parameter MEAS / (11) of (10) has elapsed. When the number of measures / beats specified by the parameter BEAT has elapsed, the current tempo is changed to the tempo change value determined in step S24 of FIG. 5 (or step S39) (step S41 → S42). However, in the state where the AB repeat performance mode is selected, the parameter REPEAT = 1 (performed when the tempo change is returned from the B point to the A point) or the loopback performance mode is selected. If any one of the parameters LOOP = 1 (change tempo is performed during loopback) is established, the tempo change in step S42 is not performed. Next, when the parameter NOTEreset of (15) is 1, the number of notes currently being counted is reset (step S43).

前記図10の例では、MEAS=1,BEAT=0,NOTE=0,NOTEreset=1であるので、通常演奏モード時には、テンポ変更は1小節毎に行われる。さらに、図10の例では、LOOP=0であるので、ループバック演奏モード時にも、通常演奏モード時と同様に、ループ区間において、テンポ変更は1小節毎に行われる。   In the example of FIG. 10, since MEAS = 1, BEAT = 0, NOTE = 0, and NOTEreset = 1, the tempo change is performed for each measure in the normal performance mode. Further, in the example of FIG. 10, since LOOP = 0, the tempo change is performed for each measure in the loop section in the loopback performance mode as in the normal performance mode.

前記図11の例では、MEAS=0,BEAT=1,NOTE=0,NOTEreset=1であるので、通常演奏モード時には、テンポ変更は1拍毎に行われる。さらに、図11の例では、REPEAT=0であるので、A−Bリピート演奏モード時にも、通常演奏モード時と同様に、リピート区間内において、テンポ変更は1拍毎に行われる。   In the example shown in FIG. 11, MEAS = 0, BEAT = 1, NOTE = 0, and NOTEreset = 1. Therefore, in the normal performance mode, the tempo is changed every beat. Furthermore, in the example of FIG. 11, since REPEAT = 0, the tempo change is performed for each beat in the repeat section even during the AB repeat performance mode, as in the normal performance mode.

前記図12の例では、MEAS=2,BEAT=3,NOTE=0,NOTEreset=1であるので、通常演奏モード時には、テンポ変更は3拍および2小節毎に行われる。ただし、拍のカウントは、小節でのテンポ変更時に常にリセットされている。なお、この処理は、本自動演奏処理中には記載されていないが、パラメータNOTEresetと同様のパラメータであって、拍カウンタをリセットするか否かを設定するパラメータを設け、前記ステップS43の処理と同様にして、このパラメータの値が“1”のときに、拍カウンタをリセットするような処理を、たとえばステップS43の後に追加するようにすればよい。   In the example of FIG. 12, since MEAS = 2, BEAT = 3, NOTE = 0, and NOTEreset = 1, the tempo is changed every 3 beats and every 2 bars in the normal performance mode. However, the beat count is always reset when the tempo changes in a measure. This process is not described during the automatic performance process, but is a parameter similar to the parameter NOTEreset, and a parameter for setting whether or not to reset the beat counter is provided. Similarly, a process for resetting the beat counter when the value of this parameter is “1” may be added after step S43, for example.

前記図13の例では、MEAS=1,BEAT=0,NOTE=4,NOTEreset=1であるので、通常演奏モード時には、前記ノート数カウンタのカウント値が指定ノート数(=4)に達していれば、テンポ変更は1小節毎に行われる。ただし、NOTEreset=1であるので、ノート数カウンタは、小節でのテンポ変更時に常にリセットされている。前記図14の例では、MEAS=1,BEAT=0,NOTE=5,NOTEreset=0であるので、通常演奏モード時には、前記ノート数カウンタのカウント値が指定ノート数(=5)に達していれば、テンポ変更は1小節毎に行われる。ただし、NOTEreset=0であるので、ノート数カウンタは、小節でのテンポ変更時にはリセットされない。   In the example of FIG. 13, MEAS = 1, BEAT = 0, NOTE = 4, and NOTERESET = 1, so that in the normal performance mode, the count value of the note number counter has reached the specified number of notes (= 4). For example, the tempo change is performed for each measure. However, since NOTEreset = 1, the note number counter is always reset when changing the tempo in a measure. In the example of FIG. 14, MEAS = 1, BEAT = 0, NOTE = 5, NOTERESET = 0, so that in the normal performance mode, the count value of the note number counter has reached the specified number of notes (= 5). For example, the tempo change is performed for each measure. However, since NOTEreset = 0, the note number counter is not reset when changing the tempo in a measure.

前記(V)の、タイマ8が、A−Bリピート演奏モード時にB地点/ループバック演奏モード時にループエンド地点を計時した場合には、それぞれ、自動演奏の再生地点をA地点/ループスタート地点に戻し(ステップS44→S45)、さらに、REPEAT/LOOP=1のときには、現在のテンポを前記図5のステップS24(または前記ステップS39)で決定されたテンポ変更値に変更し、REPEAT/LOOP=0のときには、現在のテンポをデフォルト値に戻す(ステップS46)。   When the timer 8 of (V) times the loop end point in the AB repeat performance mode and the B end / loop back performance mode, the automatic performance playback point is set to the A point / loop start point, respectively. Return (step S44 → S45). Further, when REPEAT / LOOP = 1, the current tempo is changed to the tempo change value determined in step S24 of FIG. 5 (or step S39), and REPEAT / LOOP = 0. In this case, the current tempo is returned to the default value (step S46).

前記図10の例では、REPEAT=1であるので、A−Bリピート演奏モード時には、自動演奏がリピート区間のB地点からA地点に戻ったときに、現在のテンポが、リピート区間の各ノートイベントと、これに対応する演奏者の各演奏との一致判定の累積結果に基づいて決定されたテンポ変更値に変更され、次のA−Bリピート演奏では、リピート区間のすべてに亘って、このテンポ値が維持されながら、一致判定がなされ、同様にして、自動演奏がB地点からA地点に戻ったときに、現在のテンポが、一致判定の累積結果に基づいて決定されたテンポ変更値に変更され、以下同様の処理が、A−Bリピート演奏モードが解除されるまで繰り返される。また、図10の例では、MEAS=1,BEAT=0,LOOP=0,NOTE=0,NOTEreset=1であるので、ループバック演奏モード時には、前述のように、テンポ変更は1小節毎に行われるが、ループスタート地点に戻ったときに、現在のテンポが、デフォルト値に戻る。   In the example of FIG. 10, since REPEAT = 1, in the AB repeat performance mode, when the automatic performance returns from the B point to the A point in the repeat section, the current tempo is set to each note event in the repeat section. And the tempo change value determined based on the accumulated result of the match determination with each performance of the performer corresponding thereto, and in the next AB repeat performance, the tempo is changed over the entire repeat section. In the same way, when the automatic performance returns from the B point to the A point, the current tempo is changed to the tempo change value determined based on the cumulative determination result. Thereafter, the same processing is repeated until the AB repeat performance mode is canceled. In the example of FIG. 10, MEAS = 1, BEAT = 0, LOOP = 0, NOTE = 0, and NOTEreset = 1. Therefore, in the loopback performance mode, the tempo is changed for each measure as described above. However, when returning to the loop start point, the current tempo returns to the default value.

前記(VI)の、タイマ8が、曲の終わりを計時した場合には、当該曲の再生を停止する(ステップS47→S48)。   When the timer 8 of (VI) times the end of the song, the reproduction of the song is stopped (steps S47 → S48).

前記(d)のその他の処理では、演奏者が、たとえば前記設定操作子2に含まれる、図示しないプレイボタン/ストップボタンを押したときに、自動演奏を開始/停止したり、現在のテンポとして、デフォルトのテンポ値を設定したり、演奏者が前記A−Bリピートスイッチを押したときに、A−Bリピート演奏モードに移行させたり、演奏者が前記ループバックスイッチを押したときに、ループバック演奏モードに移行させたりする。   In the other processing of (d), when the performer presses a play button / stop button (not shown) included in the setting operator 2, for example, automatic performance is started / stopped, or the current tempo is set. When a default tempo value is set, when the performer presses the AB repeat switch, the mode is shifted to the AB repeat performance mode, or when the performer presses the loop back switch, Shift to the back performance mode.

このように、本実施の形態では、A−Bリピート演奏モードとループバック演奏モードを設けたので、うまく演奏できないところを繰り返して、念入りに練習でき、これにより、練習効果を向上させることができる。   As described above, in the present embodiment, since the AB repeat performance mode and the loopback performance mode are provided, it is possible to practice carefully by repeating the places where performance cannot be performed well, thereby improving the practice effect. .

また、パラメータREPEATを設け、A−Bリピート演奏モードが選択された状態で、REPEAT=1のときには、リピート区間内はテンポを一定にして練習し、リピート区間の末尾から先頭に戻る時点で、この練習結果に基づいて決定されたテンポ値に変更するようにしたので、リピート区間内はテンポを一定とした演奏練習を行うことができるとともに、その練習結果も次の演奏練習に生かすことができる。さらに、A−Bリピート演奏モードが選択された状態で、REPEAT=0のときには、リピート区間内でも、練習結果に基づいて決定されたテンポ値に変更し、リピート区間の末尾から先頭に戻る時点で、変更されたテンポを変更前のテンポに戻すようにしたので、リピート区間内を演奏者のペースで演奏練習でき、それを何度も繰り返すことができる。つまり、同じテンポの条件でリピート区間を何度も演奏練習することができる。   In addition, when the parameter REPEAT is provided and the AB repeat performance mode is selected and REPEAT = 1, the tempo is practiced at a constant tempo in the repeat section, and when the repeat returns to the beginning from the end of the repeat section. Since the tempo value is changed to a value determined based on the practice result, it is possible to perform a performance practice with a constant tempo in the repeat section, and also use the practice result for the next performance practice. In addition, when REPEAT = 0 in the state where the AB repeat performance mode is selected, the tempo value is changed to the tempo value determined based on the practice result even within the repeat section, and when returning from the end of the repeat section to the beginning. Since the changed tempo is returned to the tempo before the change, the performance in the repeat section can be practiced at the player's pace, and this can be repeated many times. In other words, the repeat section can be practiced many times under the same tempo conditions.

また、パラメータLOOPを設け、ループバック演奏モードが選択された状態で、LOOP=1のときには、ループ区間内はテンポを一定にして練習し、ループ区間の末尾から先頭に戻る時点で、この練習結果に基づいて決定されたテンポ値に変更するようにしたので、ループ区間内はテンポを一定とした演奏練習を行うことができるとともに、その練習結果も次の演奏練習に生かすことができる。さらに、ループバック演奏モードが選択された状態で、LOOP=0のときには、ループ区間内でも、練習結果に基づいて決定されたテンポ値に変更し、ループ区間の末尾から先頭に戻る時点で、変更されたテンポを変更前のテンポに戻すようにしたので、ループ区間内を演奏者のペースで演奏練習でき、それを何度も繰り返すことができる。つまり、同じテンポの条件でループ区間を何度も演奏練習することができる。   Also, when the parameter LOOP is provided and the loopback performance mode is selected and LOOP = 1, the practice is performed with the tempo kept constant in the loop section, and when the loop section returns from the end to the beginning. Since the tempo value is changed to the tempo value determined based on the performance, the performance practice can be performed at a constant tempo in the loop section, and the practice result can be used for the next performance practice. In addition, when LOOP = 0 with the loopback performance mode selected, the tempo value is changed to the tempo value determined based on the practice results even within the loop interval, and is changed when returning from the end of the loop interval to the beginning. Since the set tempo is returned to the tempo before the change, the performance can be practiced at the player's pace in the loop section, and this can be repeated many times. In other words, the loop section can be practiced many times under the same tempo conditions.

なお、本実施の形態では、自動演奏時、特に演奏ガイドを行っていないが、これに限らず、操作すべき演奏操作子をガイドする機能を備えるようにし、演奏者の好みに応じて、演奏練習と併用するようにしてもよい。さらに、演奏結果を採点する機能を設け、演奏者の好みに応じて、演奏練習と併用するようにしてもよい。   In the present embodiment, the performance guide is not particularly performed during automatic performance. However, the present invention is not limited to this, and a function for guiding a performance operator to be operated is provided. You may make it use together with practice. Furthermore, a function for scoring performance results may be provided, and used together with performance practice according to the player's preference.

なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPU5やMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU 5 or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.

この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。   As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.

また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU5などが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU 5 or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施の形態に係る自動演奏装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the automatic performance apparatus which concerns on one embodiment of this invention. 図1の自動演奏装置の制御機能構成を示すブロック図である。It is a block diagram which shows the control function structure of the automatic performance apparatus of FIG. 図1の自動演奏装置で用いられるパラメータのうちの一部パラメータの内容を説明するための図である。It is a figure for demonstrating the content of the one part parameter among the parameters used with the automatic performance apparatus of FIG. 図1の自動演奏装置、特にCPUが実行するメインルーチンの手順を示すフローチャートである。It is a flowchart which shows the procedure of the main routine which the automatic performance apparatus of FIG. 1, especially CPU performs. 図4のメインルーチンに含まれる演奏操作子処理サブルーチンの詳細な手順を示すフローチャートである。5 is a flowchart showing a detailed procedure of a performance operator processing subroutine included in the main routine of FIG. 図4のメインルーチンに含まれる自動演奏処理サブルーチンの詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the automatic performance processing subroutine contained in the main routine of FIG. 図6の自動演奏処理サブルーチンの続きの手順を示すフローチャートである。It is a flowchart which shows the procedure of the continuation of the automatic performance processing subroutine of FIG. MEAS=0,BEAT=0,REPEAT=1,LOOP=1,NOTE=1,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 0, BEAT = 0, REPEAT = 1, LOOP = 1, NOTE = 1, NOTERESET = 1, the tempo change timing in the normal performance mode, AB repeat performance mode, and loopback performance mode It is a figure which shows how it changes. MEAS=0,BEAT=0,REPEAT=0,LOOP=0,NOTE=2,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 0, BEAT = 0, REPEAT = 0, LOOP = 0, NOTE = 2, and NOTERESET = 1, the tempo change timing in the normal performance mode, the AB repeat performance mode, and the loopback performance mode It is a figure which shows how it changes. MEAS=1,BEAT=0,REPEAT=1,LOOP=0,NOTE=0,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 1, BEAT = 0, REPEAT = 1, LOOP = 0, NOTE = 0, NOTERESET = 1, the tempo change timing in the normal performance mode, the AB repeat performance mode, and the loopback performance mode It is a figure which shows how it changes. MEAS=0,BEAT=1,REPEAT=0,LOOP=1,NOTE=0,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 0, BEAT = 1, REPEAT = 0, LOOP = 1, NOTE = 0, NOTERESET = 1, the tempo change timing in the normal performance mode, AB repeat performance mode, and loopback performance mode It is a figure which shows how it changes. MEAS=2,BEAT=3,REPEAT=1,LOOP=1,NOTE=0,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 2, BEAT = 3, REPEAT = 1, LOOP = 1, NOTE = 0, NOTERESET = 1, the tempo change timing in the normal performance mode, the AB repeat performance mode, and the loopback performance mode is It is a figure which shows how it changes. MEAS=1,BEAT=0,REPEAT=1,LOOP=1,NOTE=4,NOTEreset=1の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 1, BEAT = 0, REPEAT = 1, LOOP = 1, NOTE = 4, NOTERESET = 1, the tempo change timing in the normal performance mode, AB repeat performance mode, and loopback performance mode It is a figure which shows how it changes. MEAS=1,BEAT=0,REPEAT=1,LOOP=1,NOTE=5,NOTEreset=0の場合に、通常演奏モード時、A−Bリピート演奏モード時およびループバック演奏モード時におけるテンポ変更タイミングがどのように変化するかを示す図である。When MEAS = 1, BEAT = 0, REPEAT = 1, LOOP = 1, NOTE = 5, NOTERESET = 0, the tempo change timing in the normal performance mode, AB repeat performance mode, and loopback performance mode It is a figure which shows how it changes.

符号の説明Explanation of symbols

1…演奏操作子,2…設定操作子(選択手段),5…CPU(自動演奏手段、比較手段、テンポ変更手段、選択手段),9…表示装置(選択手段) DESCRIPTION OF SYMBOLS 1 ... Performance operator, 2 ... Setting operator (selection means), 5 ... CPU (automatic performance means, comparison means, tempo change means, selection means), 9 ... Display apparatus (selection means)

Claims (2)

通常演奏モードおよび一部区間繰り返し演奏モードのうちのいずれか一方のモードを選択する選択手段と、
該選択手段によって前記通常演奏モードが選択されたときには、供給された自動演奏データに基づいて、全自動演奏の区間の自動演奏を行う一方、前記選択手段によって前記一部区間繰り返し演奏モードが選択されたときには、前記供給された自動演奏データに基づいて、前記全自動演奏の区間のうち、所定の一部区間の自動演奏を繰り返すように自動演奏を行う自動演奏手段と、
演奏者が操作するための演奏操作子と、
前記演奏操作子を用いて演奏者が行った演奏と、前記自動演奏手段による自動演奏とを比較する比較手段と、
該比較手段による比較結果に応じて、前記自動演奏のテンポを変更するテンポ変更手段と
を有し、
前記テンポ変更手段は、前記通常演奏モードが選択されているときには、前記比較結果に応じて、前記自動演奏中に逐次、そのテンポを変更する一方、前記一部区間繰り返し演奏モードが選択されているときに、前記一部区間の自動演奏が繰り返されている場合、該一部区間の自動演奏中にはそのテンポを変更せず、該一部区間の先頭に自動演奏が戻ったときに、そのテンポを変更することを特徴とする自動演奏装置。
A selection means for selecting one of a normal performance mode and a partial section repeated performance mode;
When the normal performance mode is selected by the selection means, the automatic performance of the fully automatic performance section is performed based on the supplied automatic performance data, while the partial section repeat performance mode is selected by the selection means. Automatic performance means for performing an automatic performance based on the supplied automatic performance data so as to repeat the automatic performance of a predetermined partial section of the fully automatic performance sections;
A performance operator for the performer to operate;
A comparison means for comparing a performance performed by a performer using the performance operator with an automatic performance by the automatic performance means;
Tempo changing means for changing the tempo of the automatic performance according to the comparison result by the comparing means,
When the normal performance mode is selected, the tempo changing means sequentially changes the tempo during the automatic performance according to the comparison result, while the partial section repeated performance mode is selected. Sometimes, when the automatic performance of the partial section is repeated, the tempo is not changed during the automatic performance of the partial section, and when the automatic performance returns to the beginning of the partial section, An automatic performance device characterized by changing the tempo.
通常演奏モードおよび一部区間繰り返し演奏モードのうちのいずれか一方のモードを選択する選択手順と、
該選択手順によって前記通常演奏モードが選択されたときには、供給された自動演奏データに基づいて、全自動演奏の区間の自動演奏を行う一方、前記選択手順によって前記一部区間繰り返し演奏モードが選択されたときには、前記供給された自動演奏データに基づいて、前記全自動演奏の区間のうち、所定の一部区間の自動演奏を繰り返すように自動演奏を行う自動演奏手順と、
演奏操作子を用いて演奏者が行った演奏と、前記自動演奏手順による自動演奏とを比較する比較手順と、
該比較手順による比較結果に応じて、前記自動演奏のテンポを変更するテンポ変更手順と
をコンピュータに実行させるためのプログラムであって、
前記テンポ変更手順では、前記通常演奏モードが選択されているときには、前記比較結果に応じて、前記自動演奏中に逐次、そのテンポを変更する一方、前記一部区間繰り返し演奏モードが選択されているときに、前記一部区間の自動演奏が繰り返されている場合、該一部区間の自動演奏中にはそのテンポを変更せず、該一部区間の先頭に自動演奏が戻ったときに、そのテンポを変更することを特徴とするプログラム。
A selection procedure for selecting one of a normal performance mode and a partial section repeat performance mode;
When the normal performance mode is selected according to the selection procedure, the automatic performance of the fully automatic performance section is performed based on the supplied automatic performance data, while the partial section repeat performance mode is selected according to the selection procedure. An automatic performance procedure for performing an automatic performance based on the supplied automatic performance data so as to repeat an automatic performance of a predetermined partial section of the fully automatic performance sections;
A comparison procedure for comparing the performance performed by the performer using the performance operator and the automatic performance by the automatic performance procedure;
A program for causing a computer to execute a tempo change procedure for changing the tempo of the automatic performance according to the comparison result of the comparison procedure,
In the tempo change procedure, when the normal performance mode is selected, the tempo is sequentially changed during the automatic performance according to the comparison result, while the partial section repeated performance mode is selected. Sometimes, when the automatic performance of the partial section is repeated, the tempo is not changed during the automatic performance of the partial section, and when the automatic performance returns to the beginning of the partial section, A program characterized by changing the tempo.
JP2007312553A 2007-12-03 2007-12-03 Program for realizing automatic performance apparatus and automatic performance method Expired - Fee Related JP4240145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007312553A JP4240145B2 (en) 2007-12-03 2007-12-03 Program for realizing automatic performance apparatus and automatic performance method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007312553A JP4240145B2 (en) 2007-12-03 2007-12-03 Program for realizing automatic performance apparatus and automatic performance method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004003217A Division JP4075808B2 (en) 2004-01-08 2004-01-08 Program for realizing automatic performance apparatus and automatic performance method

Publications (2)

Publication Number Publication Date
JP2008116975A true JP2008116975A (en) 2008-05-22
JP4240145B2 JP4240145B2 (en) 2009-03-18

Family

ID=39502861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007312553A Expired - Fee Related JP4240145B2 (en) 2007-12-03 2007-12-03 Program for realizing automatic performance apparatus and automatic performance method

Country Status (1)

Country Link
JP (1) JP4240145B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160397A (en) * 2009-01-09 2010-07-22 Yamaha Corp Performance-evaluating apparatus and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS575098A (en) * 1980-06-11 1982-01-11 Nippon Musical Instruments Mfg Automatic performance device
JPS58100187A (en) * 1981-12-09 1983-06-14 シャープ株式会社 Musical composition performer
JPH05289606A (en) * 1992-04-10 1993-11-05 Casio Comput Co Ltd Musical performance practice device
JPH10116074A (en) * 1996-10-09 1998-05-06 Yamaha Corp Device and method for automatic playing and medium which records automatic playing control program
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2002091443A (en) * 2000-09-19 2002-03-27 Yamaha Corp Automatic player

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS575098A (en) * 1980-06-11 1982-01-11 Nippon Musical Instruments Mfg Automatic performance device
JPS58100187A (en) * 1981-12-09 1983-06-14 シャープ株式会社 Musical composition performer
JPH05289606A (en) * 1992-04-10 1993-11-05 Casio Comput Co Ltd Musical performance practice device
JPH10116074A (en) * 1996-10-09 1998-05-06 Yamaha Corp Device and method for automatic playing and medium which records automatic playing control program
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2002091443A (en) * 2000-09-19 2002-03-27 Yamaha Corp Automatic player

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160397A (en) * 2009-01-09 2010-07-22 Yamaha Corp Performance-evaluating apparatus and program

Also Published As

Publication number Publication date
JP4240145B2 (en) 2009-03-18

Similar Documents

Publication Publication Date Title
WO2015053278A1 (en) Technique for reproducing waveform by switching between plurality of sets of waveform data
JP2014006416A (en) Automatic performance device and program
EP1433507B1 (en) Music game apparatus and electronic musical apparatus and computer programs therefor
JP5228315B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
JP4134945B2 (en) Automatic performance device and program
JP4240145B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP2004101957A (en) Operation evaluation device, karaoke sing along machine, and program
JP2008089975A (en) Electronic musical instrument
US7838754B2 (en) Performance system, controller used therefor, and program
JP3835163B2 (en) Electronic drum device
JP4075808B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP3902736B2 (en) Karaoke equipment
JP3632536B2 (en) Part selection device
JP3902735B2 (en) Karaoke equipment
JP5200368B2 (en) Arpeggio generating apparatus and program for realizing arpeggio generating method
JP2000221967A (en) Setting control device for electronic musical instrument or the like
JP6194589B2 (en) Music data reproducing apparatus and program for realizing music data reproducing method
JP3690279B2 (en) Performance tempo control device and storage medium
JP2012132991A (en) Electronic music instrument
JP3603587B2 (en) Automatic accompaniment device and storage medium
JP2015075574A (en) Musical performance data generation device and program for realizing musical performance data generation method
JP3649117B2 (en) Musical sound reproducing apparatus and method, and storage medium
JP4075756B2 (en) Program for realizing automatic accompaniment apparatus and automatic accompaniment method
JP4302898B2 (en) Automatic performance device, automatic performance method and storage medium
JP3931874B2 (en) Automatic performance device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081111

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

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

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4240145

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees