JPH0720862A - Automatic playing device - Google Patents

Automatic playing device

Info

Publication number
JPH0720862A
JPH0720862A JP5161884A JP16188493A JPH0720862A JP H0720862 A JPH0720862 A JP H0720862A JP 5161884 A JP5161884 A JP 5161884A JP 16188493 A JP16188493 A JP 16188493A JP H0720862 A JPH0720862 A JP H0720862A
Authority
JP
Japan
Prior art keywords
performance data
performance
automatic
note
minus
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
JP5161884A
Other languages
Japanese (ja)
Other versions
JP3319043B2 (en
Inventor
Toshihiko Otsuka
利彦 大塚
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP16188493A priority Critical patent/JP3319043B2/en
Publication of JPH0720862A publication Critical patent/JPH0720862A/en
Application granted granted Critical
Publication of JP3319043B2 publication Critical patent/JP3319043B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To improve the operability by making the position on music constant from the interruption of playing operation by a player to the sounding of a musical tone of a minus-one part even if the tempo of the automatically played music changes. CONSTITUTION:A control part 101 outputs manual musical performance data corresponding to a musical performance on a keyboard part 102 to a manual sound source part 104 and a 1st musical performance data read part 106 reads 1st musical performance data corresponding to a musical tone of a part other than the minus-one part stored in a 1st musical performance data storage part 105 and outputs it to a 1st automatic sound source part 107, so that the both perform sounding operation. Further, the control part 101 reads 2nd musical performance data corresponding to the musical tone of the minus-one part out of a 2nd musical performance data storage part 108 through a 2nd musical performance data read part 109 and outputs the 2nd musical performance data to a 2nd automatic sound source part 110 after the point of time when note-ON data as 2nd musical performance data coming as 3rd data after the interruption of keying operation at a keyboard part 102 is taken in.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、演奏者の演奏に合わせ
て行われる自動演奏が制御される自動演奏装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device for controlling an automatic performance performed in accordance with a performance of a performer.

【0002】[0002]

【従来の技術】演奏者の演奏に合せて自動演奏を行うこ
とのできる電子楽器が数多くあるが、その中で特に、自
動演奏される楽曲音のうち特定のパート、例えば特定の
音色を有する特定のメロディー音のパートの楽曲音の放
音をカットする機能、いわゆるマイナスワン機能を有す
る自動演奏機能付き電子楽器が知られている。
2. Description of the Related Art There are many electronic musical instruments capable of automatically performing music in accordance with the performance of a performer. Among them, in particular, a specific part of a music sound to be automatically played, for example, a specific tone having a specific tone color. There is known an electronic musical instrument with an automatic performance function that has a function of cutting off the sound emission of the music sound of the melody sound part, so-called minus one function.

【0003】このようなマイナスワン機能を用いること
により、演奏者は、自動演奏される楽曲音に合せて上述
のカットされたパート(マイナスワンパート)の楽曲音
を演奏することにより、自動演奏される楽曲音と合奏を
行うことができる。
By using the minus one function as described above, the performer automatically plays by playing the music sound of the above-mentioned cut part (minus one part) in accordance with the music sound to be automatically played. It is possible to perform ensemble with the music sound.

【0004】上述のマイナスワン機能を有する自動演奏
機能付き電子楽器において、演奏者が途中で演奏する楽
曲音がわからなくなって演奏を中断してしまうと、マイ
ナスワンパート以外のパートの楽曲音のみが自動演奏に
よって放音されることになってしまう。このような場合
には、演奏者がその都度、マイナスワンパートの楽曲音
が放音されるようにスイッチ操作を行って、その楽曲音
の確認をしなければならず、操作性が悪くなってしま
う。
In the electronic musical instrument with the automatic performance function having the minus one function described above, when the performer interrupts the performance because he / she does not understand the musical sound to be played in the middle, only the musical sound of the parts other than the minus one part is produced. It will be emitted by the automatic performance. In such a case, the player must operate the switch so that the music sound of the minus one part is emitted each time, and confirm the music sound, which deteriorates the operability. I will end up.

【0005】そこで、そのような操作性の悪さを解決す
るために、従来、上述のマイナスワン機能の作動時に、
演奏者が一定時間演奏操作を行わなかった場合に、自動
的にマイナスワンパートの楽曲音が放音されるように動
作する機能、いわゆるアシスト機能が搭載された自動演
奏機能付き電子楽器が知られている。
Therefore, in order to solve such poor operability, conventionally, when the above-mentioned minus one function is activated,
There is a known electronic musical instrument with an automatic performance function that is equipped with a so-called assist function that automatically outputs a minus one-part music sound when the performer does not perform any operation for a certain period of time. ing.

【0006】[0006]

【発明が解決しようとする課題】しかし、上述のアシス
ト機能が搭載された自動演奏機能付き電子楽器の従来技
術では、演奏者が一定時間演奏操作を行わなかった場合
にマイナスワンパートの楽曲音が放音されるように動作
するため、自動演奏される楽曲のテンポによって演奏者
が演奏操作を中断してからマイナスワンパートの楽曲音
が放音されるようになるまでのタイミングが変化してし
まう。
However, in the prior art of the electronic musical instrument with the automatic performance function equipped with the above-mentioned assist function, the music sound of the minus one part is generated when the performer does not perform the performance operation for a certain period of time. Since it operates so as to be emitted, the timing from when the performer interrupts the performance operation until the minus one-part song sound is emitted changes depending on the tempo of the automatically played song. .

【0007】例えば、図10(a) に示されるマイナスワ
ンパートの楽曲音に対してアシスト機能が適用される場
合において、例えばテンポが60(1分間に4分音符が
60個)に設定されている場合に、例えば、自動演奏メ
モリから図10(b) のAで示されるタイミングでノート
オンデータが読み出されるとする。これに対して、演奏
者が、図10(b) のBで示されるタイミングで鍵盤上で
押鍵操作などを行い、図10(a) の音符aに対応する押
鍵操作後、演奏を中断してしまったとする。この場合、
音符aに対応するノートオンデータの出力後、一定時間
である例えば3秒が経過した時点の図10(a) の音符b
に対応するノートオンデータ以降、自動演奏メモリから
読み出されるノートオンデータに基づいて、図10(b)
のCで示されるように、マイナスワンパートの楽曲音が
音源から放音される。
For example, when the assist function is applied to the music sound of the minus one part shown in FIG. 10 (a), for example, the tempo is set to 60 (60 quarter notes per minute). If, for example, note-on data is read from the automatic performance memory at the timing indicated by A in FIG. 10 (b). On the other hand, the performer performs a key depression operation or the like on the keyboard at the timing indicated by B in FIG. 10 (b), and after the key depression operation corresponding to the note a in FIG. 10 (a), the performance is interrupted. Suppose you have done so. in this case,
After the note-on data corresponding to the note a is output, a note b of FIG. 10 (a) at a time when a certain time, for example, 3 seconds has elapsed
10 (b) based on the note-on data read from the automatic performance memory after the note-on data corresponding to
As indicated by C, the minus one-part music sound is emitted from the sound source.

【0008】これに対して、例えばテンポが100に設
定されている場合には、自動演奏メモリからノートオン
データが読み出されるタイミングは、テンポが60であ
る場合の図10(b) のAの場合に比較して、図10(c)
のDに示されるように早くなる。そして、演奏者が、図
10(c) のEで示されるタイミングで鍵盤上で押鍵操作
などを行い、テンポが60の場合と同様、図10(a) の
音符aに対応する押鍵操作後、演奏を中断してしまった
とする。この場合、音符aに対応するノートオンデータ
の出力後、一定時間である例えば3秒が経過した時点
は、テンポが60である場合の図10(b) の音符bに対
応するノートオンデータではなく、図10(a) の音符c
に対応するノートオンデータとなってしまい、そのノー
トオンデータ以降、自動演奏メモリから読み出されるノ
ートオンデータに基づいて、図10(c) のFで示される
ように、マイナスワンパートの楽曲音が音源から放音さ
れることになる。
On the other hand, when the tempo is set to 100, for example, the timing at which the note-on data is read from the automatic performance memory is 60 when the tempo is 60, which is A in FIG. 10 (c) in comparison with
It becomes faster as shown in D. Then, the performer performs a key depression operation on the keyboard at the timing indicated by E in FIG. 10 (c), and similar to the case where the tempo is 60, the key depression operation corresponding to the note a in FIG. 10 (a). Later, assume that you have interrupted the performance. In this case, after the note-on data corresponding to the note a is output, at a time point when a certain time, for example, 3 seconds has elapsed, the note-on data corresponding to the note b in FIG. Without the note c in Figure 10 (a)
Becomes the note-on data corresponding to, and after that note-on data, based on the note-on data read from the automatic performance memory, as shown by F in FIG. It will be emitted from the sound source.

【0009】以上のように、従来技術では、自動演奏さ
れる楽曲のテンポによって演奏者が演奏操作を中断して
からマイナスワンパートの楽曲音が放音されるようにな
るまでのタイミングが変化してしまうため、演奏者は、
途中でテンポを変更した場合に、同じ状態で楽曲音の練
習を行うことができなくなってしまうという問題点を有
している。
As described above, according to the prior art, the timing from when the performer interrupts the performance operation until the minus one-part music sound is emitted changes depending on the tempo of the music that is automatically played. Therefore, the performer will
If the tempo is changed on the way, there is a problem that it becomes impossible to practice the music sound in the same state.

【0010】本発明の課題は、自動演奏される楽曲のテ
ンポが変化しても演奏者が演奏操作を中断してからマイ
ナスワンパートの楽曲音が放音されるようになるまでの
楽曲上の位置を一定にして操作性を向上させることにあ
る。
SUMMARY OF THE INVENTION The object of the present invention is to improve the musical composition from the time when the performer interrupts the performance operation until the tone sound of the minus one part is emitted even if the tempo of the automatically performed musical composition changes. It is to improve the operability by keeping the position constant.

【0011】[0011]

【課題を解決するための手段】本発明は、まず、演奏者
による演奏操作(鍵盤の押鍵操作など)に対応する演奏
データを検出する演奏データ検出手段(鍵盤部102、
制御部101)を有する。
According to the present invention, first, performance data detecting means (keyboard section 102, which detects performance data corresponding to a performance operation (key operation of a keyboard, etc.) performed by a performer.
It has a control unit 101).

【0012】次に、所定のパート(マイナスワンパー
ト)の楽曲音に対応する演奏データ(ノートオン/オフ
データ)を記憶する演奏データ記憶手段(第2演奏デー
タ記憶部108)を有する。
Next, there is provided performance data storage means (second performance data storage section 108) for storing performance data (note-on / off data) corresponding to music sounds of a predetermined part (minus one part).

【0013】また、演奏データ記憶手段から演奏データ
を順次読み出す演奏データ読出手段(第2演奏データ読
出部109)を有する。更に、演奏者が演奏操作を中断
した後に演奏データ読出手段が所定数(例えば3つ)の
所定種類の演奏データを読み出したことを判定し、それ
以後、演奏データ読出手段が読み出す演奏データを楽音
発生のための演奏データとして所定の楽音発生手段(第
2自動音源部110)などに出力する演奏データ出力手
段(制御部101)を有する。この所定種類の演奏デー
タは、例えば、ノートオンデータなどの発音開始を示す
演奏データ、或いは、小節線データなどの楽曲の区切り
位置を示す演奏データである。
Further, there is provided performance data reading means (second performance data reading section 109) for sequentially reading performance data from the performance data storage means. Further, it is determined that the performance data read-out means has read out a predetermined number (for example, three) of performance data of a predetermined type after the performer interrupted the performance operation, and thereafter, the performance data read-out means reads out the performance data as a musical tone. It has performance data output means (control section 101) for outputting to the predetermined musical sound generation means (second automatic tone generator section 110) etc. as performance data for generation. This predetermined type of performance data is, for example, performance data such as note-on data that indicates the start of sounding, or performance data that indicates the break position of a piece of music such as bar line data.

【0014】上述の発明の構成において、演奏データ出
力手段は、演奏データの出力を開始した後に演奏者が演
奏操作を再開した場合、それ以後、演奏データの出力を
停止するように構成することができる。
In the above configuration of the invention, the performance data output means may be configured to stop the performance data output thereafter when the performer restarts the performance operation after starting the performance data output. it can.

【0015】また、ここまでの発明の構成において、次
のような手段を更に有するように構成することもでき
る。まず、所定のパート(マイナスワンパート)以外の
パートの楽曲音に対応する演奏データを記憶する第2の
演奏データ記憶手段(第1演奏データ記憶部105)を
有する。
Further, in the structure of the invention so far, it is possible to further comprise the following means. First, it has a second performance data storage means (first performance data storage unit 105) for storing performance data corresponding to music sounds of parts other than a predetermined part (minus one part).

【0016】次に、第2の演奏データ記憶手段から演奏
データを読み出し、それを楽音発生のための演奏データ
として所定の楽音発生手段(第1自動音源部107)等
に出力する第2の演奏データ読出手段(第1演奏データ
読出部106)を有する。
Next, a second performance in which the performance data is read from the second performance data storage means and is output to a predetermined musical tone generating means (first automatic tone generator 107) as performance data for musical tone generation. It has a data reading means (first performance data reading unit 106).

【0017】[0017]

【作用】演奏者による演奏操作に対応する演奏データは
演奏データ検出手段から検出され、必要に応じて、その
演奏データに基づく楽音と、例えばマイナスワンパート
以外のパートの楽曲音が所定の楽音発生手段から発生さ
れる。この場合、演奏者は、例えばマイナスワンパート
の楽曲音を、演奏操作によって発生させる。
The performance data corresponding to the performance operation by the performer is detected by the performance data detecting means, and if necessary, a musical tone based on the performance data and a musical tone of a part other than the minus one part are generated as predetermined musical tones. Generated by means. In this case, the performer generates, for example, a minus one-part music sound by performing a performance operation.

【0018】この状態で、演奏者が演奏操作を中断して
しまうと、演奏データ出力手段が、演奏データ検出手段
により演奏者による演奏操作に対応する演奏データが検
出されなくなった後に演奏データ読出手段が所定数の所
定種類の(発音開始或いは楽曲の区切り位置を示す)演
奏データを読み出したことを判定し、それ以後、演奏デ
ータ読出手段が読み出す演奏データを所定の楽音発生手
段などに出力する。この結果、それ以後、その楽音発生
手段などから、演奏者が演奏操作すべき例えばマイナス
ワンパートの楽曲音の発生が開始される。
If the performer interrupts the performance operation in this state, the performance data output means reads the performance data after the performance data detecting means no longer detects the performance data corresponding to the performance operation by the performer. Determines that a predetermined number of predetermined types of performance data (indicating the start of sounding or indicating the delimiter position of music) has been read, and thereafter, the performance data read out by the performance data reading means is output to a predetermined tone generating means. As a result, thereafter, the musical tone generating means or the like starts to generate, for example, a minus one-part musical tone to be performed by the performer.

【0019】また、演奏者は、マイナスワンパートの楽
曲音の発生が開始された後、演奏操作を再開することに
より、再びマイナスワンパートの楽曲音が発生されない
状態に戻すことができるように、構成することができ
る。
Further, the player can return to the state in which the minus one-part music sound is not generated again by restarting the performance operation after the generation of the minus one-part music sound is started. Can be configured.

【0020】[0020]

【実施例】以下、図面を参照しながら、本発明の実施例
につき詳細に説明する。構成 図1は、本発明の実施例の全体構成図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. Configuration FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【0021】制御部101は、それが内蔵する特には図
示しないROMなどに記憶されている制御プログラムに
基づいて動作し、鍵盤部102及びスイッチ部103を
走査して各キーの操作状態を取り込み、それらの操作状
態に応じて、手動音源部104に対して鍵盤部102に
おける演奏操作に対応する手動演奏データを出力する。
また、制御部101は、スイッチ部103の設定状態に
応じて、第1演奏データ読出部106に対して第1演奏
データの読出指示を行う。また、制御部101は、鍵盤
部102及びスイッチ部103の操作状態に応じて、第
2演奏データ読出部109に対して第2演奏データの読
出指示を行い、第2演奏データ読出部109から取り込
んだ第2演奏データに対応するマイナスワンパートの楽
曲音を発音すべきであると判定した場合には、その第2
演奏データを第2自動音源部110に出力する。
The control unit 101 operates based on a control program stored in a ROM (not shown) included in the control unit 101, scans the keyboard unit 102 and the switch unit 103, and captures the operation state of each key. In accordance with these operation states, the manual performance data corresponding to the performance operation on the keyboard 102 is output to the manual tone generator 104.
Further, the control unit 101 instructs the first performance data reading unit 106 to read the first performance data according to the setting state of the switch unit 103. In addition, the control unit 101 instructs the second performance data reading unit 109 to read the second performance data according to the operating states of the keyboard unit 102 and the switch unit 103, and loads the second performance data reading unit 109. If it is determined that the minus one-part music sound corresponding to the second performance data is to be pronounced, the second
The performance data is output to the second automatic tone generator 110.

【0022】本実施例の電子楽器は、手動演奏のみのマ
ニュアルモードと、マイナスワン機能及びアシスト機能
を含む自動演奏を行う自動演奏モードとの2つのモード
を有しているが、第2演奏データ読出部109は、制御
部101からの指示に基づいて、自動演奏モード時に、
第2演奏データ記憶部108から、マイナスワンパート
の楽曲音に対応する第2演奏データを読み出し、それを
制御部101へ出力する。
The electronic musical instrument of this embodiment has two modes, a manual mode for only manual performance and an automatic performance mode for performing automatic performance including a minus one function and an assist function. The reading unit 109, based on an instruction from the control unit 101, in the automatic performance mode,
From the second performance data storage unit 108, the second performance data corresponding to the music sound of the minus one part is read out and output to the control unit 101.

【0023】第1演奏データ読出部106は、制御部1
01からの指示に基づいて、自動演奏モード時に、第1
演奏データ記憶部105から、マイナスワンパート以外
のパートの楽曲音に対応する第1演奏データを読出し、
それを第1自動音源部107へ出力する。
The first performance data reading unit 106 includes the control unit 1.
Based on the instruction from 01,
From the performance data storage unit 105, the first performance data corresponding to the music sound of the part other than the minus one part is read,
It is output to the first automatic sound source unit 107.

【0024】手動音源部104は、制御部101からの
手動演奏データに基づいて、演奏者が鍵盤部102で行
った押鍵操作に対応する楽音波形データを発生し、その
楽音波形データに対応する楽音を、出力部111を介し
てスピーカ112から放音させる。
The manual tone generator 104 generates musical tone waveform data corresponding to a key depression operation performed by the performer on the keyboard 102 based on the manual performance data from the controller 101, and corresponds to the musical tone waveform data. The musical sound is emitted from the speaker 112 via the output unit 111.

【0025】第1自動音源部107は、自動演奏モード
時に、第1演奏データ読出部106からの第1演奏デー
タに基づいて、マイナスワンパート以外のパートの楽曲
音に対応する楽音波形データを発生し、その楽音波形デ
ータに対応する楽音を、出力部111を介してスピーカ
112から放音させる。
In the automatic performance mode, the first automatic tone generator 107 generates musical tone waveform data corresponding to music sounds of parts other than the minus one part, based on the first performance data from the first performance data read-out unit 106. Then, the musical tone corresponding to the musical tone waveform data is emitted from the speaker 112 via the output unit 111.

【0026】第2自動音源部110は、自動演奏モード
時に、第2演奏データ読出部109から制御部101を
介して特定の条件で出力される第2演奏データに基づい
て、マイナスワンパートの楽曲音に対応する楽音波形デ
ータを発生して、その楽音波形データに対応する楽音
を、出力部111を介してスピーカ112から放音させ
る。
In the automatic performance mode, the second automatic tone generator section 110, based on the second performance data output from the second performance data reading section 109 via the control section 101 under a specific condition, the music of the minus one part. The musical tone waveform data corresponding to the sound is generated, and the musical tone corresponding to the musical tone waveform data is emitted from the speaker 112 via the output unit 111.

【0027】次に、図2は、自動演奏用の、第1演奏デ
ータ記憶部105に記憶される第1演奏データ、又は第
2演奏データ記憶部108に記憶される第2演奏データ
の記憶データ形式を示した図である。
Next, FIG. 2 shows the storage data of the first performance data stored in the first performance data storage unit 105 or the second performance data stored in the second performance data storage unit 108 for automatic performance. It is the figure which showed the form.

【0028】TOP、TOP+1、TOP+2、・・
・、BTM−1、BTMとして示される各アドレスが、
1回の自動演奏イベントに対応しており、各アドレスは
自動演奏イベントの発生順序に対応している。そして、
各アドレスには、ノートオンデータ又はノートオフデー
タと、発音される楽音を特定するための音高を示すノー
トナンバ、及び次のノートオン/オフデータまでの時間
間隔を示すイベントタイムが記憶されている。動作原理 上述の構成を有する本発明の実施例の動作原理につい
て、図3の原理説明図を用いて説明する。
TOP, TOP + 1, TOP + 2, ...
., BTM-1, and each address shown as BTM
It corresponds to one automatic performance event, and each address corresponds to the order of occurrence of the automatic performance event. And
At each address, note-on data or note-off data, a note number indicating a pitch for specifying a musical tone to be sounded, and an event time indicating a time interval until the next note-on / off data are stored. There is. Operation Principle The operation principle of the embodiment of the present invention having the above-mentioned configuration will be described with reference to the principle explanatory diagram of FIG.

【0029】例えば、従来技術の説明における図10
(a) と同様の、図3(a) に示されるマイナスワンパート
の楽曲音に対して、アシスト機能が適用される場合につ
いて説明する。
For example, FIG. 10 in the description of the prior art.
The case where the assist function is applied to the music sound of the minus one part shown in FIG.

【0030】制御部101は、スイッチ部103の特に
は図示しないテンポスイッチによって予め設定されたテ
ンポに同期して、第2演奏データ読出部109を介して
第2演奏データ記憶部108から、図3(b) のAで示さ
れるタイミングで第2演奏データであるノートオンデー
タを読み出す。この時点では、制御部101は、第2演
奏データ読出部109から取り込んだ第2演奏データ
を、第2自動音源部110へは出力しない。
The control section 101 synchronizes with a tempo preset by a tempo switch (not shown) of the switch section 103, and from the second performance data storage section 108 to the FIG. The note-on data, which is the second performance data, is read at the timing indicated by A in (b). At this point, the control unit 101 does not output the second performance data loaded from the second performance data reading unit 109 to the second automatic tone generator 110.

【0031】これに対し、演奏者は、第1演奏データ読
出部106を介して第1演奏データ記憶部105から読
み出した第1演奏データに基づき第1自動音源部107
から出力部111を介してスピーカ112より放音され
る自動伴奏音に合せて、図3(b) のBで示されるタイミ
ングで鍵盤部102上で押鍵操作を行う。制御部101
は、この押鍵操作に対応する手動演奏データを手動音源
部104に出力する。この結果、手動音源部104から
出力部111を介してスピーカ112より、押鍵操作に
対応する楽音が図3(b) のBで示されるタイミングで放
音される。
On the other hand, the player performs the first automatic tone generator section 107 based on the first performance data read from the first performance data storage section 105 via the first performance data reading section 106.
In accordance with the automatic accompaniment sound emitted from the speaker 112 via the output unit 111, a key depression operation is performed on the keyboard unit 102 at the timing shown by B in FIG. 3B. Control unit 101
Outputs the manual performance data corresponding to this key depression operation to the manual tone generator 104. As a result, the musical tone corresponding to the key pressing operation is emitted from the manual sound source unit 104 via the output unit 111 at the timing shown by B in FIG. 3B.

【0032】その後、演奏者は、図3(a) の音符aに対
応する押鍵操作後に、図3(b) のBに示されるように、
押鍵操作を中断してしまったとする。この場合、制御部
101は、音符aに対応する押鍵操作の後、次に押鍵操
作がなされるまでに第2演奏データ読出部109からノ
ートオンデータをいくつ取り込んだかをカウントしてい
る。そして、制御部101は、図3(b) のCに示される
ようにそのカウント値が2になった時点の次の時点、即
ち、押鍵操作がなされない状態でノートオンデータを3
つ取り込んだ時点である図3(a) の音符bに対応するノ
ートオンデータの読み込み時点以降、第2演奏データ読
出部109から取り込んだ第2演奏データを、図3(b)
のDで示されるように第2自動音源部110へ出力す
る。
After that, the player performs a key depression operation corresponding to the note a in FIG. 3 (a), and then, as shown in B in FIG. 3 (b),
It is assumed that the key depression operation is interrupted. In this case, the control unit 101 counts how many note-on data has been fetched from the second performance data reading unit 109 after the key depression operation corresponding to the note a and before the next key depression operation is performed. Then, the control unit 101 sets the note-on data to 3 after the time when the count value becomes 2 as shown by C in FIG. 3B, that is, in a state where no key operation is performed.
After reading the note-on data corresponding to the note b in FIG. 3 (a), which is the time when the second performance data is read, the second performance data read from the second performance data reading unit 109 is converted into the second performance data shown in FIG.
Output to the second automatic sound source section 110.

【0033】この結果、その時点以降、第2自動音源部
110から出力部111及びスピーカ112より、マイ
ナスワンパートの楽曲音の放音が開始される。上述した
ように、押鍵操作が中断されてから3つ目のノートオン
データの取り込みが行われた時点以降に取り込まれる第
2演奏データが第2自動音源部110へ出力開始され
る。そして、押鍵操作が中断されてから第2演奏データ
の第2自動音源部110への出力が開始されるまでのノ
ートオンデータの数はテンポが変化しても変化しない。
このため、押鍵操作が中断されてからマイナスワンパー
トの楽曲音の放音が開始されるまでの楽曲上の位置を、
テンポによらず一定にすることができ、演奏者は、テン
ポを変更しても、常に同じ状態で楽曲音の練習を行うこ
とができる。具体的動作 上述した構成及び動作原理に基づく本発明の実施例の具
体的な動作につき、以下に説明する。
As a result, after that point, the second automatic tone generator 110 starts outputting the minus one-part music sound from the output unit 111 and the speaker 112. As described above, the second performance data captured after the third note-on data is captured after the key depression operation is interrupted is started to be output to the second automatic tone generator 110. The number of note-on data from when the key depression operation is interrupted until when the output of the second performance data to the second automatic tone generator 110 is started does not change even if the tempo changes.
For this reason, the position on the music from when the key depression operation is interrupted until the emission of the minus one part music sound is started,
It can be fixed regardless of the tempo, and the performer can always practice the music sound even if the tempo is changed. Specific Operation A specific operation of the embodiment of the present invention based on the above-described configuration and operation principle will be described below.

【0034】図4は、図1の制御部101において実行
される制御動作の全体的な動作を示すメイン動作フロー
チャートである。この動作フローは、制御部101が特
には図示しないROMなどに記憶された制御プログラム
を実行する動作として実現される。
FIG. 4 is a main operation flow chart showing the overall operation of the control operation executed in the control unit 101 of FIG. This operation flow is realized as an operation in which the control unit 101 executes a control program stored in a ROM (not shown) or the like.

【0035】始めに、装置の電源が投入されると、制御
部101は、ステップS401において、初期処理を実
行する。この初期処理の動作フローチャートを図5に示
す。
First, when the power of the device is turned on, the control unit 101 executes an initial process in step S401. An operation flowchart of this initial processing is shown in FIG.

【0036】まず、ステップS501で、現在、自動演
奏モードか否かを示すための自動演奏フラグJFが、マ
ニュアル演奏モードであることを示す値0に初期設定さ
れる。
First, in step S501, an automatic performance flag JF for indicating whether or not the automatic performance mode is currently set is initially set to a value 0 indicating that the manual performance mode is in effect.

【0037】次に、ステップS502で、マイナスワン
パートの楽音波形データの発生中を示すフラグNFが値
0に初期設定される。このフラグNFについては後述す
る。図4に戻って、制御部101は、ステップS401
の実行後、ステップS402〜S406又はS407の
処理を、繰り返し実行する。
Next, in step S502, the flag NF indicating that the tone waveform data of the minus one part is being generated is initialized to a value 0. This flag NF will be described later. Returning to FIG. 4, the control unit 101 performs step S401.
After execution of, the processing of steps S402 to S406 or S407 is repeatedly executed.

【0038】まず、制御部101は、ステップS402
のスイッチスキャン処理で、図1のスイッチ部103の
設定状態を走査し、その設定状態を取り込む。次に、制
御部101は、ステップS403のスイッチ処理で、特
には図示しない音色スイッチの操作に基づいて、手動音
源部104などに対して音色を指示する処理などを実行
する。また、制御部101は、ステップS403のスイ
ッチ処理の一部の処理であって本発明に関連する処理と
して、後述する図6の動作フローチャートで示される処
理を実行する。
First, the control unit 101 performs step S402.
In the switch scan processing of 1, the setting state of the switch unit 103 in FIG. 1 is scanned and the setting state is fetched. Next, in the switch process of step S403, the control unit 101 executes a process of instructing a tone color to the manual sound source unit 104 or the like based on the operation of a tone color switch (not shown). Further, the control unit 101 executes a process shown in an operation flowchart of FIG. 6 described later, which is a part of the switch process of step S403 and is a process related to the present invention.

【0039】また、制御部101は、ステップS404
の鍵スキャン処理で、図1の鍵盤部102の鍵の押鍵状
態を走査し、その押鍵状態を取り込む。続いて、制御部
101は、ステップS405の鍵処理で、上述の押鍵状
態に対応して、後述する図7の動作フローチャートで示
される処理を実行する。
The control unit 101 also executes step S404.
In the key scanning process, the key pressing state of the keyboard 102 of FIG. 1 is scanned and the key pressing state is fetched. Subsequently, in the key process of step S405, the control unit 101 executes the process shown in the operation flowchart of FIG. 7, which will be described later, corresponding to the above-mentioned key depression state.

【0040】更に、制御部101は、ステップS406
で、現在、自動演奏フラグJFが自動演奏モードを示す
値1であるか否かを判定し、その判定がYESならば、
ステップS407の第2自動演奏処理、すなわち後述す
る図8の動作フローチャートで示される処理を実行す
る。
Further, the control unit 101 performs step S406.
Then, it is determined whether or not the automatic performance flag JF is the value 1 indicating the automatic performance mode at present, and if the determination is YES,
The second automatic performance process of step S407, that is, the process shown in the operation flowchart of FIG. 8 described later is executed.

【0041】その後、制御部101は、ステップS40
2の実行に制御を戻す。なお、特には図示しないが、上
述の制御部101におけるメイン動作フローチャートの
処理と共に、第1演奏データ読出部106において、第
1自動演奏処理も実行される。
After that, the control section 101 performs step S40.
Return control to execution of 2. Although not particularly shown, the first performance data reading unit 106 also executes a first automatic performance process together with the process of the main operation flowchart of the control unit 101 described above.

【0042】図6は、図4のスイッチ処理S403のう
ち、本発明に関連する一部の処理の動作フローチャート
である。ここでは、自動演奏モードの設定及び解除等が
行われる。
FIG. 6 is an operation flowchart of a part of the switch processing S403 of FIG. 4 related to the present invention. Here, setting and cancellation of the automatic performance mode are performed.

【0043】まず、ステップS601で、図1のスイッ
チ部103内の特には図示しない自動演奏スイッチがオ
ンされているか否かが判定される。自動演奏スイッチが
オンされておりステップS601の判定がYESなら、
ステップS602で、今まで自動演奏フラグJFの値が
0であったか否か、即ち、今まで自動演奏モードでなか
ったか否かが判定される。11まで自動演奏モードでな
くステップS602の判定がYESなら、ステップS6
03〜S607の処理が実行される。
First, in step S601, it is determined whether or not an automatic performance switch (not shown) in the switch section 103 of FIG. 1 is turned on. If the automatic performance switch is turned on and the determination in step S601 is YES,
In step S602, it is determined whether or not the value of the automatic performance flag JF has been 0 up to now, that is, whether or not the automatic performance mode has been up to now. If the determination in step S602 is YES instead of the automatic performance mode up to 11, step S6
The processing from 03 to S607 is executed.

【0044】即ち、まず、ステップS603では、自動
演奏フラグJFの値が、自動演奏モ13であることを示
す値1に設定される。ステップS604では、自動演奏
制御用のタイマレジスタTIMの値が、0にリセットさ
れる。このタイマレジスタTIMは、制御部101内に
設けられている。
That is, first, in step S603, the value of the automatic performance flag JF is set to the value 1 indicating that the automatic performance mode 13 is set. In step S604, the value of the timer register TIM for automatic performance control is reset to 0. The timer register TIM is provided in the control unit 101.

【0045】ステップS605では、第2演奏データ読
出部109内のアドレスレジスタADRに対して、第2
演奏データ記憶部108内の第2演奏データの先頭アド
レスTOPが設定される。
In step S605, the second performance data reading unit 109 is set to the second register for the address register ADR.
The start address TOP of the second performance data in the performance data storage unit 108 is set.

【0046】ステップS606では、マイナスワンパー
トの演奏開始を判定するためのカウンタレジスタCTR
の値が0にリセットされる。カウンタレジスタCTR
は、制御部101内に設けられている。
In step S606, a counter register CTR for determining the start of playing the minus one part
Is reset to 0. Counter register CTR
Are provided in the control unit 101.

【0047】そして、ステップS607では、第1演奏
データ読出部106に対して、第1の自動演奏の開始指
示がなされる。一方、今まで自動演奏モードでステップ
S602の判定がNOなら、ステップS608〜S61
2の処理が実行される。
Then, in step S607, the first performance data reading unit 106 is instructed to start the first automatic performance. On the other hand, if the determination in step S602 is NO in the automatic performance mode so far, steps S608 to S61.
Process 2 is executed.

【0048】即ち、まず、ステップS608では、自動
演奏フラグJFの値が、自動演奏モードでないことを示
す値0に設定される。次に、ステップS609で、現
在、フラグNFの値が1であるか否かが判定される。
That is, first, in step S608, the value of the automatic performance flag JF is set to a value 0 indicating that the automatic performance mode is not set. Next, in step S609, it is determined whether or not the value of the flag NF is currently 1.

【0049】ステップS609の判定がYESなら、ス
テップS610とS611が実行され、ステップS60
9の判定がNOなら、ステップS610とS611が実
行されない。これらのステップの処理については後述す
る。
If the determination in step S609 is YES, steps S610 and S611 are executed, and step S60
If the determination of 9 is NO, steps S610 and S611 are not executed. The processing of these steps will be described later.

【0050】ステップS612では、第1演奏データ読
出部106に対して、第1の自動演奏の終了指示がなさ
れる。上述した処理に関連して、第2の自動演奏処理
は、後述する図4のメイン動作フローチャートのステッ
プS407で実行されるが、第1の自動演奏処理は、第
1演奏データ読出部106によって自律的に実行され
る。
In step S612, the first performance data reading section 106 is instructed to end the first automatic performance. With respect to the above-described processing, the second automatic performance processing is executed in step S407 of the main operation flowchart of FIG. 4 described later, but the first automatic performance processing is autonomously performed by the first performance data reading unit 106. Is executed.

【0051】即ち、第1演奏データ読出部106は、制
御部101から第1の自動演奏の開始指示を受け取ると
(図6のステップS607参照)、以下のような自律的
な第1の自動演奏処理を実行開始する。
That is, when the first performance data reading section 106 receives the instruction to start the first automatic performance from the control section 101 (see step S607 in FIG. 6), the following autonomous first automatic performance is performed. Start processing.

【0052】まず、第1演奏データ読出部106は、第
1演奏データ記憶部105内の第1演奏データの先頭ア
ドレスから、第1演奏データとして、ノートオン/オフ
データ、ノートナンバ、及びイベントタイムを1組読み
出し、そのノートオン/オフデータとノートナンバを第
1自動音源部107へ出力する。この結果、第1自動音
源部107は、そのノートオン/オフデータ及びノート
ナンバに対応する自動伴奏用の楽音波形データの生成開
始又は生成終了を行う。これと共に、第1演奏データ読
出部106は、イベントタイムを内部のタイマにセット
する。その後、このタイマの値は一定時間毎にディクリ
メントされる。そして、このタイマの値が0になると、
次のノートオン/オフデータ、ノートナンバ、及びイベ
ントタイムが読み出され、上述と同様の動作が繰り返さ
れる。このようにして、第1自動音源部107から出力
部111を介してスピーカ112より、第1演奏データ
に基づく自動伴奏音が放音される。この自動伴奏音は、
マイナスワンパート以外のパートの楽曲音に対応し、自
動演奏モード中は常に放音される。
First, the first performance data reading unit 106 uses the start address of the first performance data in the first performance data storage unit 105 as note-on / off data, note number, and event time as the first performance data. Is read out and the note-on / off data and the note number are output to the first automatic tone generator 107. As a result, the first automatic tone generator 107 starts or ends the generation of the musical tone waveform data for automatic accompaniment corresponding to the note-on / off data and the note number. At the same time, the first performance data reading unit 106 sets the event time in an internal timer. After that, the value of this timer is decremented at regular intervals. And when the value of this timer becomes 0,
The next note-on / off data, note number, and event time are read, and the same operation as described above is repeated. In this way, the automatic accompaniment sound based on the first performance data is emitted from the speaker 112 from the first automatic tone generator 107 via the output unit 111. This automatic accompaniment sound is
Corresponding to the music sound of parts other than minus one part, it is always emitted during the automatic performance mode.

【0053】第1演奏データ読出部106は、制御部1
01から第1の自動演奏の終了指示を受け取ると(図6
のステップS612参照)、上述した第1の自動演奏処
理を終了する。
The first performance data reading section 106 includes the control section 1
When the instruction to end the first automatic performance is received from 01 (see FIG.
(See step S612) of FIG. 10), and the above-described first automatic performance process ends.

【0054】次に、図7は、図4のステップS405の
鍵処理の詳細な動作フローチャートである。まず、ステ
ップS701では、図4のステップS404の鍵スキャ
ン処理の結果、鍵盤部102の何れかの鍵において押鍵
が発生したか否かが判定される。
Next, FIG. 7 is a detailed operation flowchart of the key processing in step S405 of FIG. First, in step S701, as a result of the key scanning process in step S404 of FIG. 4, it is determined whether or not any key on the keyboard 102 has been depressed.

【0055】ステップS701の判定がNOの場合に
は、ステップS702〜S704は実行されないが、Y
ESの場合には、これらの処理が実行される。ステップ
S702では、自動演奏フラグJFの値が1であるか否
か、即ち、現在、自動演奏モードであるか否かが判定さ
れる。
If the determination in step S701 is no, steps S702 to S704 are not executed, but Y
In the case of ES, these processes are executed. In step S702, it is determined whether or not the value of the automatic performance flag JF is 1, that is, whether or not the automatic performance mode is currently set.

【0056】ステップS702の判定がYESなら、ス
テップS703で、マイナスワンパートの演奏開始を判
定するためのカウンタレジスタCTRの値が0にリセッ
トされる。このカウンタレジスタCTRの機能について
は、図8の第2自動演奏処理の説明において後述する。
If the determination in step S702 is YES, the value of the counter register CTR for determining the start of playing the minus one part is reset to 0 in step S703. The function of the counter register CTR will be described later in the description of the second automatic performance process of FIG.

【0057】ステップS702の判定がNOの場合、又
はステップS703の処理の後、ステップS704で、
押鍵された鍵に対応するノートナンバが設定されたノー
トオンを示す手動演奏データが手動音源部104に出力
されることにより、手動音源部104に対して押鍵され
た鍵に対応する楽音の発音指示がなされる。
If the determination in step S702 is NO, or after the processing in step S703, in step S704,
By outputting the manual performance data indicating the note-on in which the note number corresponding to the depressed key is set to the manual tone generator 104, the musical tone corresponding to the key depressed to the manual tone generator 104 is reproduced. Pronunciation instructions are given.

【0058】次に、ステップS701の判定がNOの場
合、又はステップS704の処理の後、ステップS70
5では、図4のステップS404の鍵スキャン処理の結
果、鍵盤部102の何れかの鍵において離鍵が発生した
か否かが判定される。
Next, if the determination in step S701 is NO, or after the processing in step S704, step S70.
5, it is determined as a result of the key scanning process in step S404 of FIG. 4 whether or not any key on the keyboard 102 has been released.

【0059】ステップS705の判定がNOなら、その
まま図4のステップS405の鍵処理を終了するが、こ
の判定がYESなら、ステップS706が実行される。
ステップS706では、離鍵された鍵に対応するノート
ナンバが設定されたノートオフを示す手動演奏データが
手動音源部104に出力されることにより、手動音源部
104に対して離鍵された鍵に対応する楽音の消音指示
がなされる。
If the determination in step S705 is NO, the key processing of step S405 in FIG. 4 is terminated, but if the determination is YES, step S706 is executed.
In step S706, the manual performance data indicating the note-off in which the note number corresponding to the released key is set is output to the manual tone generator 104, so that the key released to the manual tone generator 104 is selected. An instruction to mute the corresponding musical sound is given.

【0060】この処理の後、図4のステップS405の
鍵処理を終了する。次に、図8は、図4のステップS4
07の第2自動演奏処理の詳細な動作フローチャートで
ある。ここでは、制御部101は、第2演奏データ読出
部109から第2演奏データを読み込みながら、演奏者
による鍵盤部102における押鍵操作がなされない状態
で3つのノートオンデータを読み込んだか否かを判定す
る処理、及びその判定が肯定的となった場合に、それ以
降に第2演奏データ読出部109から読み込んだ第2演
奏データを第2自動音源部110に出力することによっ
て、第2自動音源部110に対して第2の自動演奏を実
行させる処理を実行する。
After this processing, the key processing of step S405 of FIG. 4 is terminated. Next, FIG. 8 shows step S4 of FIG.
It is a detailed operation flowchart of the second automatic performance processing of 07. Here, the control unit 101 reads the second performance data from the second performance data reading unit 109, and determines whether or not the three note-on data is read in a state in which the player does not perform a key depression operation on the keyboard unit 102. The determination process, and if the determination is affirmative, by outputting the second performance data read from the second performance data reading unit 109 thereafter to the second automatic tone generator 110, the second automatic tone generator A process for causing the unit 110 to execute the second automatic performance is executed.

【0061】まず、ステップS801では、制御部10
1内のタイマレジスタTIMの値が0になったか否かが
判定される。このレジスタの値は、最初に自動演奏モー
ドが設定されたときに、図4のステップS403のスイ
ッチ処理における図6のステップS604で、0にリセ
ットされている。従って、自動演奏の開始時は、ステッ
プS801の判定はYESとなる。
First, in step S801, the control unit 10
It is determined whether the value of the timer register TIM in 1 has become 0. The value of this register is reset to 0 in step S604 of FIG. 6 in the switch processing of step S403 of FIG. 4 when the automatic performance mode is first set. Therefore, when the automatic performance is started, the determination in step S801 is YES.

【0062】この結果、ステップS802で、第2演奏
データ読出部109に対して、そのアドレスレジスタA
DRの値で示される第2演奏データ記憶部108のアド
レスからの第2演奏データの読出しが指示される。
As a result, in step S802, the address register A for the second performance data reading unit 109 is read.
It is instructed to read the second performance data from the address of the second performance data storage unit 108 indicated by the value of DR.

【0063】アドレスレジスタADRの値は、最初に自
動演奏モードが設定されたときに、図4のステップS4
03のスイッチ処理における図6のステップS605に
おいて、第2演奏データの先頭アドレスTOPが設定さ
れている(図2参照)。従って、自動演奏の開始時は、
ステップS802で、第2演奏データとして、先頭の例
えばノートオンデータ、ノートナンバ、及びイベントタ
イムが1組読み出される。
The value of the address register ADR is set in step S4 of FIG. 4 when the automatic performance mode is first set.
In step S605 of FIG. 6 in the switch processing of 03, the start address TOP of the second performance data is set (see FIG. 2). Therefore, at the start of automatic performance,
In step S802, one set of, for example, the note-on data at the beginning, the note number, and the event time is read as the second performance data.

【0064】ステップS803では、読み込まれた第2
演奏データがノートオンを示しているかノートオフを示
しているかが判定される。自動演奏の開始時には、最初
に読み出される第2演奏データは、必ずノートオンを示
している。従って、自動演奏の開始時には、第2演奏デ
ータがノートオンを示していると判定され、ステップS
804が実行される。
In step S803, the read second
It is determined whether the performance data indicates note-on or note-off. At the start of the automatic performance, the second performance data read out first always indicates the note-on. Therefore, at the start of the automatic performance, it is determined that the second performance data indicates note-on, and the step S
804 is executed.

【0065】続いて、ステップS803では、カウンタ
レジスタCTRの値が2になっているか否かが判定され
る。このレジスタの値は、最初に自動演奏モードが設定
されたときに、図4のステップS403のスイッチ処理
における図6のステップS606で、0にリセットされ
ている。従って、自動演奏の開始時は、ステップS80
4の判定はNOとなり、ステップS805が実行され
る。
Succeedingly, in a step S803, it is determined whether or not the value of the counter register CTR is 2. The value of this register is reset to 0 in step S606 of FIG. 6 in the switch processing of step S403 of FIG. 4 when the automatic performance mode is first set. Therefore, at the start of automatic performance, step S80
The determination of 4 is NO, and step S805 is executed.

【0066】ステップS805では、カウンタレジスタ
CTRの値が+1される。次に、ステップS811で
は、タイマレジスタTIMに、ステップS802で読み
込まれた第2演奏データのイベントタイムが設定され
る。
At step S805, the value of the counter register CTR is incremented by one. Next, in step S811, the event time of the second performance data read in step S802 is set in the timer register TIM.

【0067】その後、ステップS812で、第2演奏デ
ータ読出部109内のアドレスレジスタADRが第2演
奏データ記憶部108に記憶されている第2演奏データ
の最終アドレスBTM(図2参照)を示しているか否か
が判定される。
Then, in step S812, the address register ADR in the second performance data reading section 109 indicates the final address BTM (see FIG. 2) of the second performance data stored in the second performance data storage section 108. It is determined whether or not there is.

【0068】ステップS812の判定がNOなら、ステ
ップS813で、第2演奏データ読出部109内のアド
レスレジスタADRの値が+1され、ステップS801
に戻り、タイマレジスタTIMには先程イベントタイム
が設定されたばかりであるから、その判定がNOとなっ
て、図4のステップS407の第2自動演奏処理を終了
する。
If the determination in step S812 is NO, the value of the address register ADR in the second performance data reading section 109 is incremented by 1 in step S813, and step S801.
Returning to step 3, since the event time has just been set in the timer register TIM, the determination is NO, and the second automatic performance process of step S407 in FIG. 4 is ended.

【0069】その後、図4のメイン動作フローチャート
の各処理が繰り返し実行され、ステップS407の第2
自動演奏処理が実行される毎に、図8のステップS80
1の判定処理が繰り返され、タイマレジスタTIMの値
が0になっていなければ、ステップS407の第2自動
演奏処理は即座に終了する。この間、タイマレジスタT
IMの値は、制御部101内のハードタイマからの一定
時間毎の割込みに基づき実行される図9の動作フローチ
ャートで示されるインタラプト処理により、ステップS
901でその値が0になったと判定されるまで、ステッ
プS902で、1ずつディクリメントされる。そして、
タイマレジスタTIMにセットされたイベントタイム分
の時間が経過し、タイマレジスタTIMの値が0になる
と、図8のステップS801の判定がYESとなる。
Thereafter, each processing of the main operation flowchart of FIG. 4 is repeatedly executed, and the second operation of step S407 is executed.
Each time the automatic performance process is executed, step S80 in FIG.
The determination process of 1 is repeated, and if the value of the timer register TIM is not 0, the second automatic performance process of step S407 ends immediately. During this time, the timer register T
The value of IM is set in step S by the interrupt process shown in the operation flowchart of FIG. 9 which is executed based on the interrupt from the hard timer in the control unit 101 at regular time intervals.
The value is decremented by 1 in step S902 until it is determined in 901 that the value becomes 0. And
When the time of the event time set in the timer register TIM elapses and the value of the timer register TIM becomes 0, the determination in step S801 of FIG. 8 becomes YES.

【0070】この結果、ステップS802で、第2演奏
データ読出部109に対して、ステップS813で順次
インクリメントされるアドレスレジスタADRの値で示
される第2演奏データ記憶部108のアドレスからの新
たな第2演奏データの読出しが指示される。そして、ス
テップS803〜S810の処理の実行後、ステップS
811で、タイマレジスタTIMに、ステップS802
で新たに読み込まれた第2演奏データのイベントタイム
が設定され、ステップS812を介して、ステップS8
13でアドレスレジスタADRの値が+1された後に、
ステップS801の判定がNOとなって、図4のステッ
プS407の第2自動演奏処理を終了する。
As a result, in step S802, the second performance data reading unit 109 receives a new data from the address of the second performance data storage unit 108 indicated by the value of the address register ADR which is sequentially incremented in step S813. 2 Reading of performance data is instructed. Then, after executing the processing of steps S803 to S810, step S
In step 811, the timer register TIM is set to step S802.
The event time of the newly read second performance data is set in step S8, and step S8 is executed through step S812.
After the value of the address register ADR is incremented by 1 in 13,
When the determination in step S801 is NO, the second automatic performance process of step S407 in FIG. 4 is ended.

【0071】以上のようにして、制御部101は、第2
演奏データ読出部109を介して第2演奏データ記憶部
108から、第2演奏データを、そのイベントタイムに
基づいてタイミングで、順次読み出して行く。
As described above, the control unit 101 controls the second
The second performance data is sequentially read from the second performance data storage unit 108 via the performance data reading unit 109 at a timing based on the event time.

【0072】上述の処理の繰り返しの間、演奏者が鍵盤
部102において押鍵操作を行う毎に、図4のステップ
S405の鍵処理における図6のステップS703で、
カウンタレジスタCTRの値がリセットされる。従っ
て、演奏者が鍵盤部102において押鍵操作を行ってい
れば、図8のステップS803で読み込まれた第2演奏
データがノートオンを示していると判定された場合、ス
テップS804の判定は必ずNOとなる。このため、ス
テップS806の処理は実行されず、第2演奏データが
第2自動音源部110に出力されることはなく、マイナ
スワンパートの楽曲音は放音されない。また、ステップ
S807の処理も実行されないため、フラグNFの値
は、電源オン時に図4のステップS401の初期処理に
おける図5のステップS502で0にリセットされたま
まとなっている。従って、ステップS803で読み込ま
れた第2演奏データがノートオフを示していると判定さ
れた場合には、ステップS808の判定がNOとなっ
て、ノートオフを示す第2演奏データも第2自動音源部
110に出力されることはない。
During the repetition of the above-mentioned processing, every time the performer performs a key-depressing operation on the keyboard section 102, in step S703 of FIG. 6 in the key processing of step S405 of FIG.
The value of the counter register CTR is reset. Therefore, if the performer is performing a key-depressing operation on the keyboard 102, and if it is determined that the second performance data read in step S803 of FIG. 8 indicates note-on, the determination in step S804 is always performed. It becomes NO. Therefore, the process of step S806 is not executed, the second performance data is not output to the second automatic tone generator 110, and the minus one-part music sound is not emitted. Further, since the process of step S807 is not executed, the value of the flag NF remains reset to 0 in step S502 of FIG. 5 in the initial process of step S401 of FIG. 4 when the power is turned on. Therefore, when it is determined that the second performance data read in step S803 indicates note-off, the determination in step S808 is NO, and the second performance data indicating note-off is also the second automatic tone generator. It is not output to the section 110.

【0073】一方、演奏者が鍵盤部102において押鍵
操作を中断してしまった場合、図4のステップS405
の鍵処理における図6のステップS701の判定がNO
となり、ステップS703が実行されないためカウンタ
レジスタCTRの値がリセットされなくなる。従って、
演奏者が鍵盤部102において押鍵操作を中断した場合
には、図8のステップS803においてステップS80
2で読み込まれた第2演奏データがノートオンを示して
いると判定された場合、ステップS804の判定がNO
となった後にステップS805でカウンタレジスタCT
Rの値が順次インクリメントされる結果、やがてカウン
タレジスタCTRの値が2になり、ステップS804の
判定がYESとなる。このため、ステップS806で、
ステップS802で読み込まれたノートオンを示す第2
演奏データが第2自動音源部110に出力されることに
よって、第2自動音源部110に対してその第2演奏デ
ータに対応する楽音の発音指示がなされる。この結果、
マイナスワンパートの楽曲音が放音されるようになる。
また、ステップS807の処理も実行され、フラグNF
の値が1にセットされる。
On the other hand, if the player interrupts the key depression operation on the keyboard 102, step S405 in FIG.
6 is NO in the key processing of FIG.
Since the step S703 is not executed, the value of the counter register CTR is not reset. Therefore,
When the performer interrupts the key depression operation on the keyboard unit 102, the step S80 in step S803 of FIG.
When it is determined that the second performance data read in 2 indicates note-on, the determination in step S804 is NO.
After that, in step S805, the counter register CT
As a result of sequentially incrementing the value of R, the value of the counter register CTR eventually becomes 2, and the determination in step S804 becomes YES. Therefore, in step S806,
The second indicating the note-on read in step S802
By outputting the performance data to the second automatic tone generator 110, the second automatic tone generator 110 is instructed to generate a musical tone corresponding to the second performance data. As a result,
Minus one part music sound comes to be emitted.
Further, the process of step S807 is also executed, and the flag NF
Is set to 1.

【0074】これ以後、演奏者が鍵盤部102において
押鍵操作を行わなければ、カウンタレジスタCTRの値
は2のままとなるため、図4のステップS407の第2
自動演奏処理が実行される毎に、図8のステップS80
3においてステップS802で読み込まれた第2演奏デ
ータがノートオンを示していると判定された場合は、ス
テップS804の判定がYESとなって、ステップS8
02で新たに読み込まれたノートオンを示す第2演奏デ
ータが第2自動音源部110に出力されることにより、
第2自動音源部110に対してその第2演奏データに対
応するマイナスワンパートの楽曲音の発音指示がなされ
る。
After that, if the performer does not press the key on the keyboard section 102, the value of the counter register CTR remains 2, so that the second step of step S407 in FIG.
Each time the automatic performance process is executed, step S80 in FIG.
If it is determined in step 3 that the second performance data read in step S802 indicates note-on, the determination in step S804 is YES and step S8
By outputting the second performance data indicating the note-on newly read in 02 to the second automatic tone generator section 110,
The second automatic tone generator 110 is instructed to generate the minus one-part music sound corresponding to the second performance data.

【0075】また、フラグNFの値はステップS807
で1にセットされるため、演奏者が鍵盤部102におい
て押鍵操作を行わないまま図4のステップS407の第
2自動演奏処理が実行されたときに、図8のステップS
803においてステップS802で読み込まれた第2演
奏データがノートオフを示していると判定された場合に
は、ステップS808の判定がYESとなる。この結
果、ステップS809において、ステップS802で新
たに読み込まれたノートオフを示す第2演奏データが第
2自動音源部110に出力されることにより、第2自動
音源部110に対してその第2演奏データに対応するマ
イナスワンパートの楽曲音の消音指示がなされる。ま
た、ステップS810で、フラグNFの値が0にリセッ
トされる。
The value of the flag NF is set in step S807.
8 is set to 1 when the second automatic performance process of step S407 of FIG. 4 is executed without the player performing a key depression operation on the keyboard section 102, step S of FIG.
If it is determined in step 803 that the second performance data read in step S802 indicates note-off, the determination in step S808 is YES. As a result, in step S809, the second performance data indicating the note-off newly read in step S802 is output to the second automatic tone generator 110, so that the second automatic tone generator 110 performs the second performance. The instruction to turn off the music sound of the minus one part corresponding to the data is given. Further, in step S810, the value of the flag NF is reset to 0.

【0076】以上のように、押鍵操作が中断されてから
3つ目のノートオンデータの取り込みが行われた時点以
降に取り込まれる第2演奏データが第2自動音源部11
0へ出力開始され、第2自動音源部110から出力部1
11を介してスピーカ112より、マイナスワンパート
の楽曲音の放音が開始されることになる。
As described above, the second performance data acquired after the third note-on data is acquired after the key depression operation is interrupted is the second automatic tone generator section 11.
Output to 0, the second automatic tone generator 110 outputs to the output unit 1
From the speaker 112, the emission of the music sound of the minus one part is started via 11.

【0077】上述の状態で、演奏者が鍵盤部102にお
いて押鍵操作を再開すると、図4のステップS405の
鍵処理における図6のステップS703で、カウンタレ
ジスタCTRの値がリセットされる。従って、それ以
降、図8のステップS803で読み込まれた第2演奏デ
ータがノートオンを示していると判定された場合、ステ
ップS804の判定がNOとなって、ステップS806
の処理は実行されなくなり、第2演奏データの第2自動
音源部110への出力は停止される。この結果、再びマ
イナスワンパートの楽曲音は放音されなくなる。
When the player restarts the key depression operation on the keyboard section 102 in the above state, the value of the counter register CTR is reset in step S703 of FIG. 6 in the key processing of step S405 of FIG. Therefore, thereafter, when it is determined that the second performance data read in step S803 of FIG. 8 indicates note-on, the determination in step S804 becomes NO and step S806.
Is no longer executed, and the output of the second performance data to the second automatic tone generator 110 is stopped. As a result, the music sound of the minus one part is not emitted again.

【0078】ここで、演奏者が鍵盤部102において押
鍵操作を再開する前に第2自動音源部110へ出力され
たノートオンを示す第2演奏データと対のノートオフを
示す第2演奏データが、演奏者が鍵盤部102において
押鍵操作を再開した後にステップS802で読み込まれ
た場合、フラグNFの値は1となっているため、ステッ
プS808の判定がYESとなり、ステップS809
で、そのノートオフを示す第2演奏データが第2自動音
源部110へ出力され、その後に、ステップS810で
フラグNFの値が0にリセットされる。この結果、演奏
者が鍵盤部102において押鍵操作を再開する前に第2
自動音源部110へ出力されたノートオンを示す第2演
奏データによって、マイナスワンパートの楽曲音が放音
されたままになってしまうことを防止することができ
る。
Here, the second performance data indicating note-on and a pair of second performance data output to the second automatic tone generator 110 before the player restarts the key depression operation on the keyboard 102. However, if the player reads the key in the keyboard 102 and then reads it in step S802, the value of the flag NF is 1, so the determination in step S808 is YES, and step S809 is performed.
Then, the second performance data indicating the note-off is output to the second automatic tone generator 110, and then the value of the flag NF is reset to 0 in step S810. As a result, before the player restarts the key depression operation on the keyboard 102, the second
The second performance data indicating the note-on output to the automatic tone generator 110 can prevent the minus one-part music sound from being emitted.

【0079】それと同様の理由で、マイナスワンパート
の楽曲音が放音されている状態で演奏者がスイッチ部1
03の自動演奏スイッチをオフにした場合には、図4の
ステップS403のスイッチ処理において、図6のステ
ップS609の判定がYESとなる結果、ステップS6
10で、第2自動音源部110に対して発音中の楽音の
消音指示がなされ、その後、フラグNFの値が0にリセ
ットされる。
For the same reason as above, the performer switches the switch 1 while the minus one-part music sound is being emitted.
If the automatic performance switch 03 is turned off, the result of the determination in step S609 of FIG. 6 is YES in the switch processing of step S403 of FIG.
At 10, the second automatic tone generator 110 is instructed to mute the musical sound being generated, and then the value of the flag NF is reset to zero.

【0080】また、演奏者が鍵盤部102において押鍵
操作を中断した直後に図8のステップS802で読み出
された第2演奏データがノートオフを示していた場合、
フラグNFの値は0のままとなっている。従って、ステ
ップS808の判定はNOとなり、そのノートオフを示
す第2演奏データは第2自動音源部110へ出力されな
い。これは、そのノートオフと対のノートオンを示す第
2演奏データは、演奏者が鍵盤部102において押鍵操
作を中断する前に読み込まれたものであって、第2自動
音源部110へは出力されていないため、上述のノート
オフを示す第2演奏データも第2自動音源部110へ出
力する必要はないためである。他の実施例 以上説明した図1の実施例において、手動音源部10
4、第1自動音源部107、及び第2自動音源部110
は、それぞれ異なる機能ブロックとして構成されている
が、1つの音源部が時分割処理によって上述の3種類の
音源動作を行うように構成されてもよい。
If the second performance data read in step S802 of FIG. 8 indicates note-off immediately after the player interrupts the key depression operation on the keyboard 102,
The value of the flag NF remains 0. Therefore, the determination in step S808 is NO, and the second performance data indicating the note-off is not output to the second automatic tone generator 110. This is because the second performance data indicating the note-off and the paired note-on is read before the performer interrupts the key depression operation on the keyboard section 102, and the second automatic tone generator section 110 receives the second performance data. This is because the second performance data indicating the note-off described above need not be output to the second automatic tone generator 110 because it is not output. Other Embodiments In the embodiment of FIG. 1 described above, the manual sound source unit 10
4, first automatic sound source unit 107, and second automatic sound source unit 110
Are configured as different functional blocks, however, one sound source unit may be configured to perform the above-described three types of sound source operations by time division processing.

【0081】また、上述の実施例では、演奏者による押
鍵操作が中断されてから所定数(3つ)のノートオンデ
ータの取り込みが行われた時点以降に取り込まれる第2
演奏データが第2自動音源部110へ出力開始され、マ
イナスワンパートの楽曲音の放音が開始されるように構
成された。これに対して、第2演奏データとして例えば
楽曲の小節の区切りを示す小節線データを含ませること
ができれば、演奏者による押鍵操作が中断されてから所
定数の小節線データの取り込みが行われた時点以降に取
り込まれる第2演奏データが、第2自動音源部110へ
出力開始されるように構成することもできる。このよう
な構成により、楽曲の区切りのよいところでマイナスワ
ンパートの楽曲音の放音を開始させることができる。
Further, in the above-described embodiment, the second key is inputted after the predetermined number (three) of note-on data has been fetched since the key depression operation by the player was interrupted.
The performance data is started to be output to the second automatic tone generator 110, and the minus one-part music sound is started to be emitted. On the other hand, if the second performance data can include, for example, bar line data indicating the division of bar of music, a predetermined number of bar line data is taken in after the key pressing operation by the player is interrupted. It is also possible to configure so that the second performance data that is taken in after the point of time when the output is started to be output to the second automatic tone generator section 110. With such a configuration, it is possible to start the sound emission of the music sound of the minus one part at a place where the music is separated.

【0082】尚、例えば電子弦楽器等、鍵盤楽器以外に
本発明を適用してもよい。
The present invention may be applied to other than keyboard instruments such as electronic string instruments.

【0083】[0083]

【発明の効果】本発明によれば、マイナスワンパートの
楽曲音に対応する演奏データが所定の楽音発生手段など
に出力されるまでのタイミングは、演奏者が演奏操作を
中断してから所定数の所定種類の(発音開始或いは楽曲
の区切り位置を示す)演奏データが読み出されたか否か
に基づいて決定されるため、押鍵操作が中断されてから
マイナスワンパートの楽曲音の発生が開始されるまでの
楽曲上の位置を、テンポによらず一定にすることがで
き、演奏者は、テンポを変更しても、常に同じ状態で楽
曲音の練習を行うことが可能となる。
According to the present invention, the timing until the performance data corresponding to the music sound of the minus one part is output to a predetermined musical tone generating means or the like is a predetermined number after the player interrupts the performance operation. Since it is determined based on whether or not the performance data of the predetermined type (indicating the start of sounding or indicating the break position of the music) has been read out, the generation of the minus one-part music sound starts after the key depression operation is interrupted. The position on the musical piece until it is played can be made constant regardless of the tempo, and the performer can always practice the musical sound in the same state even if the tempo is changed.

【0084】更に、演奏者は、マイナスワンパートの楽
曲音の発生が開始された後、演奏操作を再開することに
より、再びマイナスワンパートの楽曲音が発生されない
状態に戻すことができるように、構成することが可能と
なる。
Further, the player can return to the state in which the minus one-part music sound is not generated again by restarting the performance operation after the generation of the minus one-part music sound is started. It becomes possible to configure.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】演奏データの記憶データ形式を示した図であ
る。
FIG. 2 is a diagram showing a storage data format of performance data.

【図3】本発明の実施例の原理説明図である。FIG. 3 is a diagram illustrating the principle of the embodiment of the present invention.

【図4】メイン動作フローチャートを示した図である。FIG. 4 is a diagram showing a main operation flowchart.

【図5】初期処理の動作フローチャートである。FIG. 5 is an operation flowchart of initial processing.

【図6】スイッチ処理の一部の動作フローチャートであ
る。
FIG. 6 is a partial operation flowchart of a switch process.

【図7】鍵処理の動作フローチャートである。FIG. 7 is an operation flowchart of key processing.

【図8】第2自動演奏処理の動作フローチャートであ
る。
FIG. 8 is an operation flowchart of a second automatic performance process.

【図9】インタラプト処理の動作フローチャートであ
る。
FIG. 9 is an operation flowchart of interrupt processing.

【図10】従来技術の問題点の説明図である。FIG. 10 is an explanatory diagram of problems in the conventional technique.

【符号の説明】[Explanation of symbols]

101 制御部 102 鍵盤部 103 スイッチ部 104 手動音源部 105 第1演奏データ記憶部 106 第1演奏データ読出部 107 第1自動音源部 108 第2演奏データ記憶部 109 第2演奏データ読出部 110 第2自動音源部 111 出力部 112 スピーカ 101 Control Unit 102 Keyboard Unit 103 Switch Unit 104 Manual Sound Source Unit 105 First Performance Data Storage Unit 106 First Performance Data Reading Unit 107 First Automatic Sound Source Unit 108 Second Performance Data Storage Unit 109 Second Performance Data Reading Unit 110 Second Automatic sound source section 111 Output section 112 Speaker

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 演奏者による演奏操作に対応する演奏デ
ータを検出する演奏データ検出手段と、 所定のパートの楽曲音に対応する演奏データを記憶する
演奏データ記憶手段と、 前記演奏データ記憶手段から前記演奏データを順次読み
出す演奏データ読出手段と、 前記演奏データ検出手段により前記演奏者による前記演
奏操作に対応する演奏データが検出されなくなった後に
前記演奏データ読出手段が所定数の所定種類の前記演奏
データを読み出したことを判定し、それ以後、前記演奏
データ読出手段が読み出す前記演奏データを楽音発生の
ための演奏データとして出力する演奏データ出力手段
と、 を有することを特徴とする自動演奏装置。
1. A performance data detection means for detecting performance data corresponding to a performance operation by a performer, a performance data storage means for storing performance data corresponding to a music sound of a predetermined part, and the performance data storage means. The performance data reading means for sequentially reading the performance data, and the performance data reading means for detecting a predetermined number of the predetermined types of performance after the performance data detecting means no longer detects the performance data corresponding to the performance operation by the performer. A performance data output means for determining that the data has been read, and thereafter outputting the performance data read by the performance data reading means as performance data for generating a musical tone.
【請求項2】 前記演奏データ出力手段が判定する前記
所定種類の演奏データは、発音開始を示す演奏データで
ある、 ことを特徴とする請求項1に記載の自動演奏装置。
2. The automatic performance device according to claim 1, wherein the predetermined type of performance data determined by the performance data output means is performance data indicating the start of sound generation.
【請求項3】 前記演奏データ出力手段が判定する前記
所定種類の演奏データは、楽曲の区切り位置を示す演奏
データである、 ことを特徴とする請求項1に記載の自動演奏装置。
3. The automatic performance device according to claim 1, wherein the predetermined type of performance data judged by the performance data output means is performance data indicating a delimiter position of a music piece.
【請求項4】 前記演奏データ出力手段は、前記演奏デ
ータの出力を開始した後に前記演奏者が前記演奏操作を
再開した場合、それ以後、前記演奏データの出力を停止
する、 ことを特徴とする請求項1乃至3の何れか1項に記載の
自動演奏装置。
4. The performance data output means, when the performer restarts the performance operation after starting the output of the performance data, thereafter stops the output of the performance data. The automatic performance device according to any one of claims 1 to 3.
【請求項5】 前記所定のパート以外のパートの楽曲音
に対応する演奏データを記憶する第2の演奏データ記憶
手段と、 該第2の演奏データ記憶手段から前記演奏データを順次
読み出し、それを楽音発生のための演奏データとして出
力する第2の演奏データ読出手段と、 を更に有することを特徴とする請求項1乃至4の何れか
1項に記載の自動演奏装置。
5. A second performance data storage means for storing performance data corresponding to a music sound of a part other than the predetermined part, and the performance data sequentially read from the second performance data storage means, 5. The automatic performance device according to claim 1, further comprising: second performance data reading means for outputting as performance data for generating musical tones.
JP16188493A 1993-06-30 1993-06-30 Automatic performance device Expired - Fee Related JP3319043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16188493A JP3319043B2 (en) 1993-06-30 1993-06-30 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16188493A JP3319043B2 (en) 1993-06-30 1993-06-30 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH0720862A true JPH0720862A (en) 1995-01-24
JP3319043B2 JP3319043B2 (en) 2002-08-26

Family

ID=15743824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16188493A Expired - Fee Related JP3319043B2 (en) 1993-06-30 1993-06-30 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3319043B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007127485A (en) * 2005-11-02 2007-05-24 Shimadzu Corp Imaging mass spectrometer
JP2008304340A (en) * 2007-06-08 2008-12-18 Hitachi Ltd Sample analyzing method and sample analyzer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007127485A (en) * 2005-11-02 2007-05-24 Shimadzu Corp Imaging mass spectrometer
JP2008304340A (en) * 2007-06-08 2008-12-18 Hitachi Ltd Sample analyzing method and sample analyzer

Also Published As

Publication number Publication date
JP3319043B2 (en) 2002-08-26

Similar Documents

Publication Publication Date Title
JP2743680B2 (en) Automatic performance device
JP3484719B2 (en) Performance guide device with voice input function and performance guide method
JP3239411B2 (en) Electronic musical instrument with automatic performance function
JP3319043B2 (en) Automatic performance device
JP2636640B2 (en) Automatic accompaniment device
JP4232882B2 (en) Electronic musical instrument demo song playing apparatus and demo song playing method
US4628788A (en) Automatic rhythm performing apparatus
JP3844286B2 (en) Automatic accompaniment device for electronic musical instruments
JP3192579B2 (en) Automatic performance device and automatic performance method
JPH0375874B2 (en)
JP3171759B2 (en) Automatic performance device
JP3704747B2 (en) Electronic keyboard instrument
JP4056902B2 (en) Automatic performance apparatus and automatic performance method
JP2643277B2 (en) Automatic performance device
JPH07248766A (en) Automatic player
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP4412618B2 (en) Electronic musical instrument demo song playing apparatus and demo song playing method
JPH0542475Y2 (en)
JP3862988B2 (en) Electronic musical instruments
JP2956924B2 (en) Automatic accompaniment device for electronic musical instruments
JP3150580B2 (en) Automatic performance device and automatic performance method
JP3883270B2 (en) Automatic performance device
JP3455786B2 (en) Automatic performance device
JPH068996B2 (en) Electronic musical instrument
JP2007199109A (en) Electronic musical instrument

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020521

LAPS Cancellation because of no payment of annual fees