JP3027898B2 - Automatic performance device - Google Patents
Automatic performance deviceInfo
- Publication number
- JP3027898B2 JP3027898B2 JP5098166A JP9816693A JP3027898B2 JP 3027898 B2 JP3027898 B2 JP 3027898B2 JP 5098166 A JP5098166 A JP 5098166A JP 9816693 A JP9816693 A JP 9816693A JP 3027898 B2 JP3027898 B2 JP 3027898B2
- Authority
- JP
- Japan
- Prior art keywords
- automatic performance
- phrase
- information
- performance information
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims description 84
- 230000004044 response Effects 0.000 claims description 2
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 102100029666 Serine/arginine-rich splicing factor 2 Human genes 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 102100039995 Arginyl-tRNA-protein transferase 1 Human genes 0.000 description 3
- 101000886906 Homo sapiens Arginyl-tRNA-protein transferase 1 Proteins 0.000 description 3
- 101100202463 Schizophyllum commune SC14 gene Proteins 0.000 description 3
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 241001230134 Phasis Species 0.000 description 2
- 101710133727 Phospholipid:diacylglycerol acyltransferase Proteins 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 101100326509 Catharanthus roseus CYP76B6 gene Proteins 0.000 description 1
- 101100088247 Picea mariana RPL13A gene Proteins 0.000 description 1
- 101100146536 Picea mariana RPS15 gene Proteins 0.000 description 1
- 101100326510 Swertia mussotii CYP76B10 gene Proteins 0.000 description 1
- 101100532097 Vitis rotundifolia RUN1 gene Proteins 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 108010033574 phasin Proteins 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は自動演奏を行うと共
に、予め記憶したフレーズ演奏データを読み出すことに
より、フレーズの再生を行う自動演奏装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance apparatus which performs automatic performance and reproduces a phrase by reading phrase performance data stored in advance.
【0002】[0002]
【従来の技術】従来、自動演奏装置は、リアルタイム入
力かもしくはステップ入力等により、1つ1つの音符に
対応した演奏データを操作者が入力し、これを再生する
ことにより自動演奏を行っている。また、このような自
動演奏とは別に、短いフレーズの自動演奏データ(以
下、フレーズデータ)を複数のスイッチ毎に予め割り当
てておき、該スイッチを操作することにより各フレーズ
データを読み出し、通常の自動演奏にフレーズ演奏を付
加して、変化のある自動演奏を行うことができる機能を
有するものもある。2. Description of the Related Art Conventionally, an automatic performance device performs an automatic performance by inputting performance data corresponding to each note by real time input or step input and reproducing the data. . In addition to the automatic performance, automatic performance data (hereinafter, phrase data) of a short phrase is assigned to each of a plurality of switches in advance, and each of the phrase data is read out by operating the switches, so that a normal automatic performance data is read. Some have a function of adding a phrase performance to a performance and performing an automatic performance with a change.
【0003】[0003]
【発明が解決しようとする課題】ところで、従来の自動
演奏装置において、上述したフレーズ演奏は、演奏者が
リアルタイムにスイッチを操作することによってのみ実
行可能であった。そのため、自動演奏にフレーズ演奏を
付加して行う演奏は、一旦再生するのみで再び同じ演奏
を行うことができないという問題があった。By the way, in the conventional automatic performance device, the above-mentioned phrase performance can be executed only by a player operating a switch in real time. For this reason, there is a problem in that a performance performed by adding a phrase performance to an automatic performance cannot be performed again, but only once reproduced.
【0004】この発明は、このような背景の下になされ
たもので、フレーズ演奏を自動演奏データ中に記録し、
自動演奏データと共に再生することができる自動演奏装
置を提供することを目的とする。The present invention has been made under such a background, and records a phrase performance in automatic performance data.
It is an object of the present invention to provide an automatic performance device that can be reproduced together with automatic performance data.
【0005】[0005]
【課題を解決するための手段】請求項1に係る発明によ
る自動演奏装置は、第1の自動演奏情報を複数記憶する
第1の記憶手段と、前記第1の自動演奏情報の各々を識
別する複数の識別情報のいずれかが変更可能に割り当て
られた操作子と、第2の自動演奏情報を記憶する読み書
き可能な第2の記憶手段と、記録時に、前記操作子の操
作に応じて、該操作子に割り当てられた識別情報を前記
第2の自動演奏情報の一情報として記録する記録手段で
あって、同じ操作子の操作であっても識別情報の割り当
て状態に応じて異なる識別情報を記録する記録手段と、
再生時に、前記第2の自動演奏情報を読み出す第1の読
み出し手段と、前記第1の読み出し手段によって前記識
別情報が読み出された場合に該識別情報に対応する第1
の自動演奏情報を読み出す第2の読み出し手段と、前記
第1の読み出し手段によって読み出された前記第2の自
動演奏情報と、前記第2の読み出し手段によって読み出
された前記第1の自動演奏情報に基づき楽音信号を発生
する楽音発生手段とを具備し、前記第1の自動演奏情報
に基づく楽音信号と前記第2の自動演奏情報に基づく楽
音信号を並列的に発生させることを特徴とする。 Means for Solving the Problems] automatic performance apparatus according to the invention according to claim 1 identifies a first storage means for storing a plurality of first automatic performance information, each of said first automatic performance information and operator either has been assigned can be changed in a plurality of identification information, a second storage means readable and writable for storing second automatic performance information, at the time of recording, in response to the operation of the operator, Recording means for recording identification information assigned to the operator as one piece of information of the second automatic performance information;
Therefore, even if the same operation is performed ,
Recording means for recording different identification information according to the state
During reproduction, a first reading for reading the second automatic performance information is performed.
The reading means and the first reading means.
When another information is read, the first information corresponding to the identification information is read .
Second reading means for reading auto-play information, the
The second self read by the first reading means
Dynamic performance information and read by the second reading means.
Is equipped with a musical tone generating means for generating a musical tone signal based on the first automatic performance information, said first automatic performance information
Music signal based on the second automatic performance information.
It is characterized in that sound signals are generated in parallel.
【0006】請求項2に係る発明による自動演奏装置
は、請求項1に記載の自動演奏装置において、前記記録
手段は、前記第1の読み出し手段による前記第2の自動
演奏情報の読み出し中に動作可能であり、前記第2の自
動演奏情報の読み出し中に前記操作子が操作されたと
き、該操作のあったタイミングを示すタイミング情報
と、該操作子に割り当てられた識別情報を、前記第2の
自動演奏情報中に記録することを特徴とする。また、請
求項3に係る発明による自動演奏装置は、第1の自動演
奏情報を複数記憶する第1の記憶手段と、前記第1の自
動演奏情報のいずれかを識別し、該第1の自動演奏情報
の演奏を指示する識別情報を含む第2の自動演奏情報を
記憶した第2の記憶手段と、前記第1の自動演奏情報の
いずれかが割り当てられた操作子と、前記第2の自動演
奏情報を読み出す第1の読み出し手段と、複数の第1の
自動演奏情報を並列的に再生可能な複数の読み出し系列
を有し、前記第2の自動演奏情報中から読み出された前
記識別情報が示す前記第1の自動演奏情報と、前記操作
子の操作に応じて指示された該操作子に割り当てられた
前記第1の自動演奏情報とを、前記複数の読み出し系列
により並列的に前記第1の記憶手段から読み出す第2の
読み出し手段と、前記第1の読み出し手段によって読み
出される前記第2の自動演奏情報及び前記第2の読出手
段によって読み出される前記第1の自動演奏情報に基づ
き楽音信号を発生する楽音発生手段とを具備することを
特徴とする。 また請求項4に係る発明による自動演奏装
置は、第1の自動演奏情報を複数記憶する第1の記憶手
段と、前記第1の自動演奏情報のうちの、いずれか複数
を識別し、該複数の第1の自動演奏情報の演奏を指示す
る複数の識別情報を含む第2の自動演奏情報を記憶した
第2の記憶手段と、前記第2の自動演奏情報を読み出す
第1の読み出し手段と、複数の第1の自動演奏情報を並
列的に再生可能な複数の読み出し系列を有し、前記第2
の自動演奏情報中から読み出された複数の前記識別情報
が示す複数の前記第1の自動演奏情報を、前記複数の読
み出し系列により並列的に前記第1の記憶手段から読み
出す第2の読み出し手段と、前記第1の読み出し手段に
よって読み出される前記第2の自動演奏情報及び前記第
2の読出 手段によって読み出される前記第1の自動演奏
情報に基づき楽音信号を発生する楽音発生手段とを具備
することを特徴とする。 また請求項5に係る発明による
自動演奏装置は、第1の自動演奏情報を複数記憶する第
1の記憶手段と、前記第1の自動演奏情報のいずれかを
識別し、該第1の自動演奏情報の演奏を指示する識別情
報をその指示タイミングを示すタイミング情報とともに
記憶した第2の記憶手段と、前記第1の自動演奏情報の
いずれかが割り当てられた操作子と、前記第2の記憶手
段に記憶された識別情報を、前記タイミング情報に基づ
いて読み出す第1の読み出し手段と、複数の第1の自動
演奏情報を並列的に再生可能な複数の読み出し系列を有
し、前記第2の記憶手段から読み出された前記識別情報
が示す前記第1の自動演奏情報と、前記操作子の操作に
応じて指示された該操作子に割り当てられた前記第1の
自動演奏情報とを、前記複数の読み出し系列により並列
的に前記第1の記憶手段から読み出す第2の読み出し手
段と、前記第2の読み出し手段によって読み出される前
記第1の自動演奏情報に基づき楽音信号を発生する楽音
発生手段とを具備することを特徴とする。 According to a second aspect of the present invention, there is provided an automatic performance apparatus according to the first aspect, wherein the recording is performed.
The means for controlling the second reading by the first reading means;
Operable during reading of performance information,
If the operator is operated while reading the performance information
Timing information indicating the timing of the operation
And the identification information assigned to the operator,
It is characterized in that it is recorded in the automatic performance information . In addition,
The automatic performance device according to the invention according to claim 3 comprises a first automatic performance
First storage means for storing a plurality of performance information;
Identifying any one of the dynamic performance information and the first automatic performance information
The second automatic performance information including the identification information instructing the performance of the
A second storage means for storing the first automatic performance information;
An operator to which one of them is assigned and the second automatic performance
First reading means for reading performance information;
Multiple readout sequences that can play back automatic performance information in parallel
Before being read out from the second automatic performance information.
The first automatic performance information indicated by the identification information;
Assigned to the operator specified according to the operation of the operator
The first automatic performance information and the plurality of read sequences
Read from the first storage means in parallel by
Reading means, and reading by the first reading means.
The second automatic performance information to be output and the second reading means
Based on the first automatic performance information read by the
And a tone generating means for generating a tone signal.
Features. An automatic performance device according to the invention according to claim 4.
The first storage means stores a plurality of first automatic performance information.
And any one of the first automatic performance information
And indicating the performance of the plurality of pieces of first automatic performance information.
The second automatic performance information including a plurality of pieces of identification information is stored.
Second storage means for reading the second automatic performance information
A first reading unit that stores a plurality of pieces of first automatic performance information;
A plurality of readout sequences that can be reproduced in a row,
A plurality of the identification information read from the automatic performance information of
The plurality of first automatic performance information indicated by
Read from the first storage means in parallel by the read-out sequence
To the second reading means for outputting, and to the first reading means
Thus, the second automatic performance information and the second
The first automatic performance read by the second reading means.
Music tone generating means for generating a tone signal based on information
It is characterized by doing. According to the invention of claim 5
The automatic performance device stores a plurality of first automatic performance information.
1 storage means and any one of the first automatic performance information
Identification information for identifying and instructing the performance of the first automatic performance information
Information along with timing information indicating the timing of the instruction.
A second storage means for storing the first automatic performance information;
An operator to which one of them is assigned, and the second memory
Based on the timing information, the identification information stored in the
First reading means for reading and reading a plurality of first automatic
Has multiple readout sequences that can play back performance information in parallel
And the identification information read from the second storage means.
And the first automatic performance information indicated by
The first assigned to the operator instructed accordingly
Automatic performance information is paralleled by the plurality of readout sequences.
A second reading means for reading from the first storage means
Stage and before being read by the second reading means
A tone generating a tone signal based on the first automatic performance information;
Generating means.
【0007】請求項6に係る発明による自動演奏装置
は、第1の自動演奏情報を複数記憶する第1の記憶手段
と、前記第1の自動演奏情報のうちの、いずれか複数を
識別し、該第1の自動演奏情報の演奏を指示する複数の
識別情報をその指示タイミングを示すタイミング情報と
ともに記憶した第2の記憶手段と、前記第2の記憶手段
に記憶された識別情報を、前記タイミング情報に基づい
て読み出す第1の読み出し手段と、複数の第1の自動演
奏情報を並列的に再生可能な複数の読み出し系列を有
し、前記第2の記憶手段から読み出された複数の前記識
別情報が示す複数の前記第1の自動演奏情報を、前記複
数の読み出し系列により並列的に前記第1の記憶手段か
ら読み出す第2の読み出し手段と、前記第2の読み出し
手段によって読み出される複数の前記第1の自動演奏情
報に基づき楽音信号を発生する楽音発生手段とを具備す
ることを特徴とする。 また請求項7に係る発明による自
動演奏装置は、請求項1乃至6のいずれかに記載の自動
演奏装置において、前記識別情報は第1の自動演奏情報
の演奏開始から演奏終了までの期間を制御する制御デー
タを含み、前記第2の読み出し手段は前記制御データが
示す期間、前記識別情報が示す前記第1の自動演奏情報
を読み出すものであって、該期間が経過する前に該自動
演奏情報の読み出しが最後まで達したとき、先頭に戻っ
て繰り返し読み出すことを特徴とする。 また請求項8に
係る発明による自動演奏装置は、請求項3または5のい
ずれかに記載の自動演奏装置において、前記操作子と前
記識別情報との対応関係を任意に設定可能とする手段を
備えることを特徴とする。 [0007] The automatic performance device according to the invention according to claim 6
Means for storing a plurality of pieces of first automatic performance information
And one or more of the first automatic performance information
A plurality of identification and instruction to perform the first automatic performance information.
The identification information includes timing information indicating the instruction timing.
Second storage means for storing both, and the second storage means
Based on the timing information.
First reading means for reading and reading a plurality of first automatic performances
There are multiple readout sequences that can play back performance information in parallel.
A plurality of the identities read from the second storage means;
The plurality of first automatic performance information indicated by the separate information is
Number of readout sequences in parallel with the first storage means
Reading means for reading data from the memory, and the second reading means
A plurality of the first automatic performance information read by the means.
Tone generating means for generating a tone signal based on the information
It is characterized by that. In addition, according to the seventh aspect of the present invention,
The dynamic performance device is an automatic performance device according to any one of claims 1 to 6.
In the performance device, the identification information is first automatic performance information.
Control data that controls the period from the start of the performance to the end of the performance
And the second read means includes a control data
For the indicated period, the first automatic performance information indicated by the identification information
And the automatic reading before the period elapses.
When reading of performance information reaches the end, return to the beginning
And read repeatedly. Claim 8
An automatic performance device according to the invention is described in claim 3 or claim 5.
The automatic performance device according to any of the preceding claims, wherein
Means to set the correspondence with the identification information
It is characterized by having.
【0008】[0008]
【作用】請求項1に係る発明によれば、第1の記憶手段
により、複数の第1の自動演奏情報が記憶され、かつ第
2の記憶手段により第2の自動演奏情報が記憶される。
記録時に、第1の自動演奏情報の各々を識別する複数の
識別情報のいずれかが変更可能に割り当てられた操作子
の操作に応じて、記録手段により該操作子に割り当てら
れた識別情報を第2の自動演奏情報の一情報として記録
する。この記録手段は、同じ操作子の操作であっても識
別情報の割り当て状態に応じて異なる識別情報を記録す
る。また再生時には、第1の読み出し手段により第2の
自動演奏情報が読み出され、この第1の読み出し手段に
よって前記識別情報が読み出された場合に該識別情報に
対応する第1の自動演奏情報が第2の読み出し手段によ
り読み出される。前記第1の読み出し手段によって読み
出された前記第2の自動演奏情報と、前記第2の読み出
し手段によって読み出された前記第1の自動演奏情報に
基づき楽音発生手段は、第1の自動演奏情報に基づく楽
音信号と前記第2の自動演奏情報に基づく楽音信号を並
列的に発生する。 また請求項2に係る発明によれば、請
求項1に記載の自動演奏装置において、記録手段は、第
1の読み出し手段による第2の自動演奏情報の読み出し
中に動作可能であり、第2の自動演奏情報の読み出し中
に操作子が操作されたとき、該操作のあったタイミング
を示すタイミング情報と、該操作子に割り当てられた識
別情報を、前記第2の自動演奏情報中に記録する。 According to the first aspect of the present invention, the first storage means is provided.
Stores a plurality of pieces of first automatic performance information, and
The second automatic performance information is stored by the second storage means.
At the time of recording, a plurality of pieces of information for identifying each of the first automatic performance information
A control to which any of the identification information is assigned to be changeable
Assigned to the operator by the recording means in accordance with the operation of
Recorded identification information as one piece of second automatic performance information
I do. This recording means can recognize even the operation of the same operator.
Record different identification information according to the allocation status of different information
You. Also, at the time of reproduction, the first reading means causes the second
The automatic performance information is read, and the first reading means
Therefore, when the identification information is read out,
The corresponding first automatic performance information is read by the second reading means.
Read out. Reading by the first reading means
The second automatic performance information output and the second readout
The first automatic performance information read by the
The tone generating means is configured to generate a tone based on the first automatic performance information.
A sound signal and a tone signal based on the second automatic performance information are arranged side by side.
Occurs in columns. According to the invention of claim 2, the contract
2. The automatic performance device according to claim 1, wherein the recording means comprises:
Reading of the second automatic performance information by the first reading means
During the reading of the second automatic performance information
When the operator is operated during
And the information assigned to the operator.
Another information is recorded in the second automatic performance information.
【0009】請求項3に係る発明によれば、第1の記憶
手段により第1の自動演奏情報が複数記憶され、かつ第
2の記憶手段により第1の自動演奏情報のいずれかを識
別し、該第1の自動演奏情報の演奏を指示する識別情報
を含む第2の自動演奏情報が記憶される。また操作子に
は第1の自動演奏情報のいずれかが割り当てられてい
る。 第1の読み出し手段は前記第2の記憶手段より第2
の自動演奏情報を読み出し、第2の読み出し手段は複数
の第1の自動演奏情報を並列的に再生可能な複数の読み
出し系列を有し、前記第2の自動演奏情報中から読み出
された前記識別情報が示す第1の自動演奏情報と、前記
操作子の操作に応じて指示された該操作子に割り当てら
れた前記第1の自動演奏情報とを、前記複数の読み出し
系列により並列的に第1の記憶手段から読み出す。前記
第1の読み出し手段によって読み出される前記第2の自
動演奏情報及び前記第2の読出手段によって読み出され
る前記第1の自動演奏情報に基づき楽音発生手段は楽音
信号を発生する。 請求項4に係る発明によれば、第1の
記憶手段により第1の自動演奏情報が複数記憶され、第
2の記憶手段により前記第1の自動演奏情報のうちの、
いずれか複数を識別し、該複数の第1の自動演奏情報の
演奏を指示する複数の識別情報を含む第2の自動演奏情
報が記憶される。また第1の読み出し手段は前記第2の
自動演奏情報を読み出し、第2の読み出し手段は複数の
第1の自動演奏情報を並列的に再生可能な複数の読み出
し系列を有し、前記第2の自動演奏情報中から読み出さ
れた複数の前記識別情報が示す複数の前記第1の自動演
奏情報を、前記複数の読み出し系列により並列的に前記
第1の記憶手段から読み出す。楽音発生手段は、前記第
1の読み出し手段によって読み出される前記第2の自動
演奏情報及び前記第2の読み出し手段によって読み出さ
れる前記第1の自動演奏情報に基づき楽音信号を発生す
る。 According to the third aspect of the present invention, the first storage
Means for storing a plurality of first automatic performance information,
The second storage means recognizes any one of the first automatic performance information.
Identification information for instructing the performance of the first automatic performance information
Is stored. In addition,
Indicates that any of the first automatic performance information is assigned
You. The first reading means is a second reading means from the second storage means.
Of the automatic performance information of the
Plural readings that can reproduce the first automatic performance information of
Read out from the second automatic performance information.
First automatic performance information indicated by the identified identification information,
Assigned to the operator specified according to the operation of the operator
The first automatic performance information thus obtained and the plurality of readouts.
The data is read from the first storage means in parallel according to the sequence. Said
The second self read by the first reading means;
Dynamic performance information and the second read means
The tone generator generates a tone based on the first automatic performance information.
Generate a signal. According to the invention of claim 4, the first
The storage means stores a plurality of first automatic performance information,
2 of the first automatic performance information,
Any one of the plurality of pieces of the first automatic performance information is identified.
Second automatic performance information including a plurality of identification information for instructing performance;
The information is stored. Further, the first reading means is provided with the second reading means.
Automatic performance information is read out, and the second reading means
A plurality of readings capable of reproducing the first automatic performance information in parallel
Read out of the second automatic performance information.
A plurality of the first automatic performances indicated by the plurality of
Performance information in parallel with the plurality of readout sequences.
Read from the first storage means. The tone generating means may be
The second automatic reading means read by the first reading means.
The performance information and the second information read out by the second reading means.
Generating a tone signal based on the first automatic performance information.
You.
【0010】請求項5に係る発明によれば、第1の記憶
手段により第1の自動演奏情報が複数記憶され、第2の
記憶手段により前記第1の自動演奏情報のいずれかを識
別し、該第1の自動演奏情報の演奏を指示する識別情報
がその指示タイミングを示すタイミング情報とともに記
憶される。また操作子には前記第1の自動演奏情報のい
ずれかが割り当てられている。第1の読み出し手段は前
記第2の記憶手段に記憶された識別情報を、前記タイミ
ング情報に基づいて読み出し、第2の読み出し手段は、
複数の第1の自動演奏情報を並列的に再生可能な複数の
読み出し系列を有し、前記第2の記憶手段から読み出さ
れた前記識別情報が示す前記第1の自動演奏情報と、前
記操作子の操作に応じて指示された該操作子に割り当て
られた前記第1の自動演奏情報とを、前記複数の読み出
し系列により並列的に前記第1の記憶手段から読み出
す。楽音発生手段は前記第2の読み出し手段によって読
み出された前記第1の自動演奏情報に基づき楽音信号を
発生する。 請求項6に係る発明によれば、第1の記憶手
段により第1の自動演奏情報が複数記憶され、第2の記
憶手段により前記第1の自動演奏情報のうちの、いずれ
か複数を識別し、該第1の自動演奏情報の演奏を指示す
る複数の識別情報がその指示タイミングを示すタイミン
グ情報とともに記憶される。第1の読み出し手段は、前
記第2の記憶手段に記憶された識別情報を、前記タイミ
ング情報に基づいて読み出し、第2の読み出し手段は、
複数の第1の自動演奏情報を並列的に再生可能な複数の
読み出し系列を有し、前記第2の記憶手段から読み出さ
れた複数の前記識別情報が示す複数の前記第1の自動演
奏情報を、前記複数の読み出し系列により並列的に前記
第1の記憶手段から読み出す。楽音発生手段は前記第2
の読み出し手段によって読み出される複数の前記第1の
自動演奏情報に基づき楽音信号を発生する。 請求項7に
係る発明によれば、請求項1乃至6のいずれかに記載の
自動演奏装置において、前記識別情報は第1の自動演奏
情報の演奏開始から演奏終了までの期間を制御する制御
データを含み、前記第2の読み出し手段は前記制御デー
タが示す期間、前記識別情報が示す前記第1の自動演奏
情報を読み出すものであって、該期間が経過する前に該
自動演奏情報の読み出しが最後まで達したとき、先頭 に
戻って繰り返し読み出す。 請求項8に係る発明によれ
ば、請求項3または5のいずれかに記載の自動演奏装置
において、前記操作子と前記識別情報との対応関係が任
意に設定可能となる。 According to the invention of claim 5, the first storage
Means for storing a plurality of first automatic performance information,
The storage means identifies any one of the first automatic performance information.
Identification information for instructing the performance of the first automatic performance information
Is recorded together with timing information indicating the instruction timing.
Remembered. The first automatic performance information is included in the operator.
Something has been assigned. The first reading means is before
The identification information stored in the second storage means is stored in the
Reading based on the signaling information,
A plurality of first automatic performance information that can be reproduced in parallel
Having a read sequence, read from the second storage means.
The first automatic performance information indicated by the identified identification information;
Assigned to the operator specified according to the operation of the operator
The first automatic performance information thus obtained and the plurality of readouts.
Read from the first storage means in parallel according to the sequence
You. The tone generating means is read by the second reading means.
A tone signal is generated based on the detected first automatic performance information.
appear. According to the invention of claim 6, the first memory device
A plurality of first automatic performance information are stored depending on the stage, and the second
Storage means for determining any one of the first automatic performance information
Or more, and instructs the performance of the first automatic performance information.
Timing information indicates the timing of the instruction
Is stored together with the logging information. The first reading means is
The identification information stored in the second storage means is stored in the
Reading based on the signaling information,
A plurality of first automatic performance information that can be reproduced in parallel
Having a read sequence, read from the second storage means.
A plurality of the first automatic performances indicated by the plurality of
Performance information in parallel with the plurality of readout sequences.
Read from the first storage means. The tone generating means is the second
A plurality of the first data read by the read means.
A tone signal is generated based on the automatic performance information. Claim 7
According to such an invention, any one of claims 1 to 6 is provided.
In the automatic performance device, the identification information is a first automatic performance.
Control to control the period from the start of performance of information to the end of performance
Data, and the second read means includes the control data.
The first automatic performance indicated by the identification information during the period indicated by the
Read out the information before the time period elapses.
When the reading of the automatic performance information reaches the end ,
Return and read repeatedly. According to the invention according to claim 8,
An automatic performance device according to any one of claims 3 and 5.
The correspondence between the operator and the identification information is
It can be set at will.
【0011】[0011]
【実施例】A.構成 以下、図面を参照して、この発明の一実施例について説
明する。図1はこの発明の一実施例による自動演奏装置
の構成を示すブロック図である。この図において、1は
パネルスイッチであり、複数のスイッチからなる。図2
にパネルスイッチ1が設けられた操作パネルの主要部を
示す。この図に示すように、操作パネルには、パネルス
イッチ1として、鍵盤型に並んだ複数の鍵盤スイッチK
EY,KEY,…、RECスイッチRC、スタート/ス
トップスイッチSTART/STOP、フレーズスイッ
チPHSW1,2、およびその他のスイッチOTHER
等の複数のスイッチが設けられている。また、RECス
イッチRCおよびスタート/ストップスイッチSTAR
T/STOPの操作により点灯するLED(LightEmitt
ing Diode)、および当該装置の動作モード等を表示す
るLCD(Liquid Crystal Display)が設けられてい
る。なお、フレーズスイッチPHSW1,2について
は、後述する。図1において、2はスイッチ検出回路で
あり、パネルスイッチ1の上記各スイッチのON/OF
Fイベントを検出する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Configuration Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an automatic performance device according to one embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a panel switch, which includes a plurality of switches. FIG.
2 shows a main part of the operation panel provided with the panel switch 1. As shown in this figure, the operation panel includes a plurality of keyboard switches K arranged in a keyboard shape as panel switches 1.
, KEY, ..., REC switch RC, start / stop switch START / STOP, phrase switches PHSW1, PHSW2, and other switches OTHER
Etc. are provided. Also, a REC switch RC and a start / stop switch STAR
LED (LightEmitt) which is turned on by T / STOP operation
LCD (Liquid Crystal Display) for displaying the operating mode of the device and the like. The phrase switches PHSW1 and PHSW2 will be described later. In FIG. 1, reference numeral 2 denotes a switch detection circuit, which is an ON / OF of each of the switches of the panel switch 1.
F event is detected.
【0012】3はROMであり、制御プログラム、およ
び100個のフレーズデータ等を記憶している。このフ
レーズデータについては、後述する。また、4はRAM
であり、各種レジスタおよびフラグ、ソングデータ等が
記憶されるようになっている。また、RAM4には、ソ
ングプレイトラックおよびソングレックトラックが設け
られている。ソングプレイトラックはソングデータを記
憶しており、再生時に用いられる。ソングレックトラッ
クは、記録時に用いられるトラックであり、ソングプレ
イトラックの再生と同時にこのトラックにイベントデー
タを記録することにより、オーバーダビング(前の演奏
データに重ねて記録)することができる。このソングレ
ックトラックに記録されたデータは、記録終了後ソング
プレイトラックのデータとミックスされる。上記ソング
データについては、後述する。Reference numeral 3 denotes a ROM, which stores a control program, 100 phrase data, and the like. This phrase data will be described later. 4 is RAM
And various registers, flags, song data and the like are stored. The RAM 4 is provided with a song play track and a song recording track. The song play track stores song data and is used during playback. The song recording track is a track used for recording. By recording event data on this track at the same time as the reproduction of the song play track, overdubbing (recording over the previous performance data) can be performed. The data recorded on the song recording track is mixed with the data on the song play track after the recording is completed. The song data will be described later.
【0013】5はCPUであり、データバス11を通し
て、スイッチ検出回路2による検出結果を取り込み、R
OM3およびRAM4に記憶されたデータに基づいて音
源回路7および表示回路10等各部の制御を行う。6は
タイマであり、所定時間間隔(例えば4分音符あたり2
4回)毎にCPU5に対してタイマ割込み信号を出力す
る。この割込み信号は、テンポに応じて周期が可変であ
る。音源回路7は、CPU5から供給される各情報に基
づいてデジタル形式の楽音信号を出力する。8はD/A
(デジタル/アナログ)変換回路であり、音源回路7の
デジタル出力信号をアナログ信号に変換し、スピーカ9
に出力する。スピーカ9は、D/A変換回路8から出力
されるアナログ信号を楽音信号として発音する。また、
表示回路10は、前述した操作パネル上に設けられたL
EDもしくはLCD等からなる。Reference numeral 5 denotes a CPU which receives a detection result from the switch detection circuit 2 through a data bus 11 and
Based on the data stored in the OM 3 and the RAM 4, each part such as the tone generator 7 and the display circuit 10 is controlled. Reference numeral 6 denotes a timer, which is a predetermined time interval (for example, 2 per quarter note).
A timer interrupt signal is output to the CPU 5 every four times). The cycle of this interrupt signal is variable according to the tempo. The tone generator 7 outputs a digital tone signal based on each information supplied from the CPU 5. 8 is D / A
(Digital / analog) conversion circuit, which converts a digital output signal of the sound source circuit 7 into an analog signal,
Output to The speaker 9 generates an analog signal output from the D / A conversion circuit 8 as a tone signal. Also,
The display circuit 10 includes the L provided on the operation panel described above.
It is composed of ED or LCD.
【0014】ここで、パネルスイッチ1に設けられたフ
レーズスイッチPHSW1,2について説明する。これ
らフレーズスイッチPHSW1,2各々には、ROM3
内に記憶された上記100個のフレーズデータのうち、
いずれか1個ずつが割り当てられる。この割当ては、そ
の他のスイッチOTHER内のフレーズアサインスイッ
チ等を操作することにより、操作者によって任意に行わ
れる。そして、このフレーズスイッチPHSW1,2が
操作されることにより、それらに割り当てられたフレー
ズデータが読み出され、該フレーズデータに基づくフレ
ーズ演奏音が発音されるようになっている。Here, the phrase switches PHSW1 and PHSW2 provided on the panel switch 1 will be described. Each of the phrase switches PHSW1 and PHSW2 has a ROM 3
Of the 100 phrase data stored in the
Any one of them is assigned. This assignment is arbitrarily performed by the operator by operating a phrase assignment switch or the like in another switch OTHER. When the phrase switches PHSW1 and PHSW2 are operated, the phrase data assigned to them is read, and a phrase performance sound based on the phrase data is generated.
【0015】次に、図3に、ROM3内に記憶されたフ
レーズデータのデータフォーマットを示す。このフレー
ズデータPDATAn(n=1〜100)には、各々1
〜100のフレーズナンバnが設定されている。まず、
ヘッダPHDRとして、フレーズ毎の音色(例えばメロ
ディ的なフレーズに対してはピアノやサックス等、ドラ
ムのフレーズに対してはロックドラムもしくはジャズド
ラム等といったもの)、およびフレーズタイミング等を
記憶している。フレーズタイミングデータは、ソングの
再生におけるフレーズ再生タイミングを示し、フレーズ
スイッチPHSW1,2の操作タイミングと拍のタイミ
ングがずれている場合にも、ソングと同期して拍の頭か
ら再生を開始するようにするための情報である。例えば
4分音符もしくは8分音符等で示す。なお、フレーズデ
ータとしてシンバル音等の1音分のデータが記憶されて
おり、フレーズスイッチPHSW1,2の操作タイミン
グに同期してこのフレーズデータを再生する場合は、こ
のフレーズタイミングデータは設定されないようにして
もよい。このヘッダPHDR以下、ノートイベントの発
生タイミングを表すデータとしてノートイベントの間隔
をクロック数(タイミングデータの最小分解能をクロッ
クとよび、タイマ6における割込み信号の発生間隔に相
当する)で表したタイミングデータPTMと、該タイミ
ングで発生すべきノートイベントデータPNTを記憶し
ている。ノートイベントデータPNTは、発音/消音を
表すノートオン/オフ、音高(ドラムの場合は打楽器種
類)を表すノートナンバ、および主に発音強度に対応す
るベロシティからなる。そして、最後にフレーズの終わ
りを示すエンドデータPENDが記憶されている。ま
た、このフレーズデータPDATAnは1小節分であ
り、フレーズスイッチPHSW1,2を押下している間
は、このエンドデータPENDが読まれると再び最初の
タイミングデータPTMが読み出され、該フレーズ演奏
が繰り返されるようになっている。Next, FIG. 3 shows a data format of the phrase data stored in the ROM 3. Each of the phrase data PDATAn (n = 1 to 100) has 1
The phrase number n of ~ 100 is set. First,
As the header PHDR, a tone color for each phrase (for example, a piano or a saxophone for a melody phrase, a rock drum or a jazz drum for a drum phrase), phrase timing, and the like are stored. The phrase timing data indicates the phrase playback timing in the playback of the song. Even when the operation timing of the phrase switches PHSW1 and PHSW2 is different from the beat timing, the playback is started from the beginning of the beat in synchronization with the song. Information to do. For example, it is indicated by a quarter note, an eighth note, or the like. Note that data of one sound such as a cymbal sound is stored as phrase data. When reproducing this phrase data in synchronization with the operation timing of the phrase switches PHSW1 and PHSW2, the phrase timing data should not be set. You may. Below the header PHDR, timing data PTM representing the note event interval as data representing the timing of occurrence of the note event by the number of clocks (the minimum resolution of the timing data is called a clock and corresponds to the interrupt signal generation interval in the timer 6). And note event data PNT to be generated at the timing. The note event data PNT includes note on / off indicating sounding / muting, note number indicating pitch (percussion instrument type in the case of a drum), and velocity mainly corresponding to sounding intensity. Finally, end data PEND indicating the end of the phrase is stored. The phrase data PDATAn is for one bar. When the end data PEND is read while the phrase switches PHSW1 and PHSW2 are pressed, the first timing data PTM is read again, and the phrase performance is repeated. It is supposed to be.
【0016】また、図4に、RAM4に記憶されている
ソングデータを示す。この図に示すように、ソングデー
タは、ソングの初期音色および初期テンポ等からなるヘ
ッダHDRと、前記フレーズデータの場合と同様に、イ
ベントの間隔を示すタイミングデータTIMEと、ノー
トオン/オフ、ノートナンバ、およびベロシティからな
るノートイベントデータNOTEと、フレーズスイッチ
PHSW1,2の操作に関するフレーズイベントデータ
PEVTと、エンドデータENDとから構成される。フ
レーズイベントデータPEVTは、フレーズスイッチP
HSW1,2の操作情報、すなわち、フレーズスイッチ
PHSW1もしくは2のうち押下されたスイッチを示す
情報、該フレーズスイッチPHSW1,2に割り当てら
れたフレーズデータPDATAnのフレーズナンバ、お
よびフレーズスイッチPHSW1,2のONからOFF
までの押下時間(以下、ゲートタイム)からなる。そし
て、エンドデータENDは、ソングの終わりを示す。FIG. 4 shows song data stored in the RAM 4. As shown in this figure, the song data includes a header HDR including an initial tone color and an initial tempo of the song, timing data TIME indicating an event interval, note on / off, and note, as in the case of the phrase data. It is composed of note event data NOTE consisting of a number and a velocity, phrase event data PEVT relating to the operation of the phrase switches PHSW1 and PHSW2, and end data END. The phrase event data PEVT is stored in the phrase switch P
The operation information of the HSW1 and HSW2, that is, the information indicating the pressed switch of the phrase switches PHSW1 and PHSW2, the phrase number of the phrase data PDATAn assigned to the phrase switches PHSW1 and PHSW2, and the ON of the phrase switches PHSW1 and PHSW1 OFF
(Hereinafter referred to as gate time). The end data END indicates the end of the song.
【0017】B.動作 次に、本実施例による自動演奏装置の動作について説明
する。 (1)処理内容の概略 まず、図5を用いて、処理内容の概略について示す。図
5は、RAM4に記憶されたソングプレイトラックおよ
びソングレックトラックと、仮想的に実現されるフレー
ズトラックPT1〜PT4を時間軸上に平行に示した図
である。再生時と記録時とでは多少動作が異なるので、
それぞれ順を追って説明する。まず、通常の自動演奏
時、すなわちソングプレイトラックを再生する場合は、
スタート/ストップスイッチSTART/STOPがO
Nされてから再びONされるまで(もしくはエンドデー
タENDに達するまで)、CPU5によりソングプレイ
トラックが読み出されて前述のノートイベントデータN
OTEが発生し、ソングの自動演奏が実行される。この
間、時刻T1においてフレーズイベントデータPEVT
が読み出され、該フレーズイベントデータPEVTとし
てフレーズスイッチPHSW1の操作情報が記録されて
いる場合、ROM3から上記フレーズイベントデータP
EVTに示されるフレーズナンバのフレーズデータPD
ATAnがフレーズトラックPT1のデータとして読み
出され、上記フレーズイベントデータPEVTのゲート
タイムに示される時間、再生される。すなわち、ソング
データ中から読み出されたフレーズスイッチPHSW1
のフレーズイベントは、フレーズトラックPT1のもの
として動作する。B. Operation Next, the operation of the automatic performance device according to this embodiment will be described. (1) Outline of Processing Contents First, an outline of processing contents will be described with reference to FIG. FIG. 5 is a diagram showing a song play track and a song rec track stored in the RAM 4 and phrase tracks PT1 to PT4 virtually realized in parallel on the time axis. The operation differs slightly between playback and recording.
Each will be described step by step. First, at the time of normal automatic performance, that is, when playing the song play track,
Start / stop switch START / STOP is O
From the time of N to the time when it is turned on again (or until the end data END is reached), the song play track is read by the CPU 5 and the above-mentioned note event data N is read.
OTE occurs, and automatic performance of the song is performed. During this time, at time T1, the phrase event data PEVT
Is read out, and if the operation information of the phrase switch PHSW1 is recorded as the phrase event data PEVT, the phrase event data P
Phrase data PD of phrase number indicated in EVT
ATAn is read as the data of the phrase track PT1, and is reproduced for the time indicated by the gate time of the phrase event data PEVT. That is, the phrase switch PHSW1 read from the song data
Operates as that of the phrase track PT1.
【0018】次に、時刻T2において、ソングプレイト
ラック再生中に操作者によりフレーズスイッチPHSW
2が操作されたとする。この場合、フレーズスイッチP
HSW2に割り当てられているフレーズデータPDAT
AnがROM3からフレーズトラックPT4のデータと
して読み出され、この時刻T2から、フレーズトラック
PT1の再生と同時にフレーズトラックPT4が再生さ
れる。すなわち、フレーズスイッチPHSW2の操作
は、フレーズトラックFT4のものとして動作する。こ
のようにして、2つのフレーズが重ねて再生される。Next, at time T2, during playback of the song play track, the operator sets the phrase switch PHSW.
2 is operated. In this case, the phrase switch P
Phrase data PDAT assigned to HSW2
An is read from the ROM 3 as data of the phrase track PT4, and from this time T2, the phrase track PT4 is reproduced simultaneously with the reproduction of the phrase track PT1. That is, the operation of the phrase switch PHSW2 operates as that of the phrase track FT4. In this way, the two phrases are reproduced in an overlapping manner.
【0019】上記と同様に、ソングデータ中からフレー
ズイベントデータPEVTとしてフレーズスイッチPH
SW2の操作情報が記録されている場合は、ROM3か
らフレーズイベントデータPEVTに示されるフレーズ
ナンバのフレーズデータPDATAnがフレーズトラッ
クPT2のデータとして読み出され、操作者によりフレ
ーズスイッチPHSW1が操作された場合は、ROM3
からフレーズスイッチPHSW1に割り当てられている
フレーズデータPDATAnがフレーズトラックPT3
のデータとして読み出される。このように、フレーズト
ラックPT1,2,3,4はそれぞれソング中のフレー
ズスイッチPHSW1のイベント、ソング中のフレーズ
スイッチPHSW2のイベント、操作者によるフレーズ
スイッチPHSW1の操作、操作者によるフレーズスイ
ッチPHSW2の操作に対応するものであり、各フレー
ズトラックは独立して動作するものである。このため、
最大4つのフレーズが同時に再生可能である。In the same manner as described above, the phrase switch PH from the song data is used as the phrase event data PEVT.
When the operation information of SW2 is recorded, the phrase data PDATAn of the phrase number indicated in the phrase event data PEVT is read from the ROM 3 as the data of the phrase track PT2, and the phrase switch PHSW1 is operated by the operator. , ROM3
The phrase data PDATAn assigned to the phrase switch PHSW1 from the phrase track PT3
Is read as the data. As described above, the phrase tracks PT1, PT2, PT3, and PT4 correspond to the phrase switch PHSW1 event in the song, the phrase switch PHSW2 event in the song, the operation of the phrase switch PHSW1 by the operator, and the operation of the phrase switch PHSW2 by the operator. , And each phrase track operates independently. For this reason,
Up to four phrases can be played simultaneously.
【0020】そして、スタート/ストップスイッチST
ART/STOPが操作されるか、もしくは、ソングデ
ータ中からエンドデータENDが読み出されたときは、
ソングデータの読出しが停止する。Then, a start / stop switch ST
When ART / STOP is operated or when the end data END is read from the song data,
Reading of the song data stops.
【0021】次に、ソングデータの記録(オーバーダビ
ング)時について説明する。RECスイッチRCを押し
た後、スタート/ストップスイッチSTART/STO
Pを押してソングデータの読出しを開始した後、上記と
同様にして、時刻T3において、ソングプレイトラック
からフレーズイベントデータPEVTが読み出され、該
フレーズイベントデータPEVTにフレーズスイッチP
HSW2の操作情報が記録されているとする。この場合
は、上記フレーズイベントデータPEVTに示されるフ
レーズナンバのフレーズデータPDATAnがROM3
からフレーズトラックPT2のデータとして読み出され
る。そして、時刻T3から、フレーズトラックPT2が
再生される。Next, the recording of song data (overdubbing) will be described. After pressing REC switch RC, start / stop switch START / STO
After pressing P to start reading the song data, the phrase event data PEVT is read from the song play track at time T3 in the same manner as described above, and the phrase switch PVT is added to the phrase event data PEVT.
It is assumed that the operation information of HSW2 is recorded. In this case, the phrase data PDATAn of the phrase number indicated in the phrase event data PEVT is stored in the ROM3.
Is read as data of the phrase track PT2. Then, from time T3, the phrase track PT2 is reproduced.
【0022】ここで、時刻T4において、フレーズスイ
ッチPHSW2が操作されたとする。この場合、フレー
ズスイッチPHSW2に割り当てられたフレーズデータ
PDATAnがフレーズトラックPT2のデータとして
ROM3から読み出される。すなわち、ソング記録中は
操作者によるフレーズスイッチPHSW2の操作はフレ
ーズトラックPT2のものとして動作する。これは、こ
のようにして記録したフレーズスイッチPHSW2のイ
ベントが、再生時にはフレーズトラックPT2のものと
して動作するため、状態を一致させておく必要があるた
めである。これにより、時刻T4まで再生されていたフ
レーズデータPDATAnに代わって、上記フレーズス
イッチPHSW2に割り当てられたフレーズデータPD
ATAnが再生される。そして、このフレーズスイッチ
PHSW2の操作情報、新たに記録されたフレーズデー
タPDATAnのフレーズナンバ、およびフレーズスイ
ッチPHSW2のゲートタイムが、ソングレックトラッ
クに記録される。Here, it is assumed that the phrase switch PHSW2 is operated at time T4. In this case, the phrase data PDATAn assigned to the phrase switch PHSW2 is read from the ROM 3 as the data of the phrase track PT2. That is, during the song recording, the operation of the phrase switch PHSW2 by the operator operates as that of the phrase track PT2. This is because the event of the phrase switch PHSW2 recorded as described above operates as that of the phrase track PT2 at the time of reproduction, and therefore, it is necessary to match the states. As a result, the phrase data PDDATA assigned to the phrase switch PHSW2 is replaced with the phrase data PDATAn reproduced until time T4.
ATAn is played. Then, the operation information of the phrase switch PHSW2, the phrase number of the newly recorded phrase data PDATAn, and the gate time of the phrase switch PHSW2 are recorded on the song recording track.
【0023】一方、上記時刻T4において、フレーズス
イッチPHSW2ではなくフレーズスイッチPHSW1
を操作すると、該スイッチに割り当てられたフレーズデ
ータPDATAnはフレーズトラックPT1のデータと
してROM3から読み出される。すなわち、記録中のフ
レーズスイッチPHSW1の操作は、フレーズトラック
PT1のものとして動作する。これにより、時刻T4か
ら、フレーズトラックPT1および2が同時に再生さ
れ、2つのフレーズが重ねて再生されると共に、ソング
レックトラックにこのフレーズイベントデータPEVT
が記録される。On the other hand, at the time T4, the phrase switch PHSW1 is used instead of the phrase switch PHSW2.
Is operated, the phrase data PDATAn assigned to the switch is read from the ROM 3 as the data of the phrase track PT1. That is, the operation of the phrase switch PHSW1 during recording operates as that of the phrase track PT1. As a result, from time T4, the phrase tracks PT1 and PT2 are reproduced simultaneously, the two phrases are reproduced in an overlapping manner, and the phrase event data PEVT is added to the song recording track.
Is recorded.
【0024】また、フレーズスイッチPHSW1もしく
はPHSW2が操作されることにより、各々に対応した
フレーズデータPDATAnがフレーズトラックPT1
もしくは2として読み出されて再生されている時に、ソ
ングプレイトラックからフレーズイベントデータPEV
Tが読み出された場合には、フレーズスイッチPHSW
1もしくは2の操作によるフレーズの再生は停止し、フ
レーズイベントデータPEVTによって指定されるフレ
ーズデータPDATAnが優先的に再生される。When the phrase switch PHSW1 or PHSW2 is operated, the corresponding phrase data PDATAn is stored in the phrase track PT1.
Or, when read and reproduced as 2, the phrase event data PEV is read from the song play track.
When T is read, the phrase switch PHSW
The reproduction of the phrase by the operation of 1 or 2 is stopped, and the phrase data PDATAn specified by the phrase event data PEVT is preferentially reproduced.
【0025】そして、スタート/ストップスイッチST
ART/STOPがONされてソングプレイトラックの
再生およびソングレックトラックの記録が終了した後、
ソングレックトラックに記録されたフレーズデータPD
ATAnがソングプレイトラックにミックスされること
により、ソングプレイトラックが更新され、オーバーダ
ビングが完了する。Then, the start / stop switch ST
After ART / STOP is turned on and the playback of the song play track and the recording of the song recording track are completed,
Phrase data PD recorded on song recording track
By mixing the ATAn with the song play track, the song play track is updated and overdubbing is completed.
【0026】なお、実際には、フレーズスイッチPHS
W1,2が操作された時点でフレーズデータPDATA
nが再生されるのではなく、フレーズタイミングに達し
た時に再生される。In practice, the phrase switch PHS
When W1 and W2 are operated, the phrase data PDATA
n is not reproduced, but reproduced when the phrase timing is reached.
【0027】(2)動作の詳細 ここで、この動作を制御するために使用される各変数に
ついて説明する。これらの各変数は、RAM4の所定の
記憶エリアに設定されるものである。RECスイッチフ
ラグREC:録音可能状態である時「1」が設定され、
それ以外の時「0」が設定される。ソングプレイ・ラン
フラグSRUN1:ソングプレイトラックのデータが再
生中である時「1」が設定される。ソングレック・ラン
フラグSRUN2:ソングレックトラックにデータを記
録中である時「1」が設定される。フレーズランフラグ
PHRUN1〜4:フレーズデータPDATAnが読み
出し中である時、「1」が設定される。ソングプレイタ
イムレジスタSTIME1:ソングプレイトラックの再
生時に用いるイベント間隔を示すタイムレジスタであ
り、ダウンカウントして「0」になると次に記録されて
いるイベントデータが読み出される。ソングレックタイ
ムレジスタSTIME2:記録時、前のイベントからの
経過時間を計数するレジスタ。フレーズオンフラグPH
ON1〜4:フレーズイベントデータPEVTが読み出
された場合、もしくはフレーズスイッチPHSW1,2
が操作された場合に、「1」が設定される。フレーズナ
ンバレジスタPHNUM1〜4:読み出されるフレーズ
データPDATAnのフレーズナンバが設定される。ゲ
ートタイムレジスタGATE1,2:フレーズスイッチ
PHSW1,2のONイベントが検出されてからOFF
イベントが検出されるまでのゲートタイム(スイッチの
押下時間)を記憶するレジスタ。フレーズアサインレジ
スタPHASIN1,2:フレーズスイッチPHSW
1,2に割当てられたフレーズナンバを記憶するレジス
タ。フレーズタイムレジスタPHTIME1〜4:フレ
ーズデータPDATAn中のイベント間隔を示すタイム
レジスタであり、ダウンカウントして「0」になると次
に記録されているイベントデータが読み出される。(2) Details of Operation Here, each variable used for controlling this operation will be described. These variables are set in a predetermined storage area of the RAM 4. REC switch flag REC: “1” is set when recording is enabled,
Otherwise, "0" is set. Song play run flag SRRUN1: "1" is set when the data of the song play track is being reproduced. Song Rec Run Flag SRUN2: "1" is set when data is being recorded on the Song Rec track. Phrase run flags PHRUN1 to PHRUN4: "1" is set when the phrase data PDATAn is being read. Song play time register STIME1: This is a time register indicating an event interval used when a song play track is reproduced. When the count becomes down to "0", the next recorded event data is read. Song Rec Time Register STIME2: A register for counting the elapsed time from the previous event during recording. Phrase on flag PH
ON1 to 4: when the phrase event data PEVT is read, or when the phrase switches PHSW1 and PHSW2
Is operated, "1" is set. Phrase number registers PHNUM1 to PHNUM4: The phrase numbers of the phrase data PDATAn to be read are set. Gate time registers GATE1, GATE2: OFF after detection of ON event of phrase switches PHSW1, PHSW2
Register for storing the gate time (switch pressing time) until an event is detected. Phrase assign register PHASIN1,2: Phrase switch PHSW
A register for storing the phrase numbers assigned to 1 and 2. Phrase time registers PHTIME1 to PHTIME4: Time registers indicating an event interval in the phrase data PDATAn. When the count value is down-counted to "0", the next recorded event data is read.
【0028】次に、本実施例による電子楽器の動作の詳
細について、図6〜図12に示すフローチャートにより
説明する。この自動演奏装置の電源(図示せず)が投入
されると、CPU5は図6にフローを示すメインルーチ
ンの実行を開始する。まず、ステップSA1に進み、初
期化処理を行う。この初期化処理により、RAM4内の
レジスタおよびフラグの初期化が行われる。そして、ス
テップSA2に進み、CPU5は、後述するスイッチ処
理を行う。次に、ステップSA3に進み、表示処理等の
その他の処理を行う。そして、ステップSA2に戻り、
以後、CPU5はこのステップSA2〜SA3を繰り返
し実行する。Next, the operation of the electronic musical instrument according to the present embodiment will be described in detail with reference to flowcharts shown in FIGS. When a power supply (not shown) of the automatic performance device is turned on, the CPU 5 starts executing a main routine whose flow is shown in FIG. First, the process proceeds to Step SA1, where an initialization process is performed. By this initialization process, the registers and flags in the RAM 4 are initialized. Then, the process proceeds to Step SA2, where the CPU 5 performs a switching process described later. Next, the flow advances to step SA3 to perform other processing such as display processing. Then, returning to step SA2,
Thereafter, the CPU 5 repeatedly executes steps SA2 to SA3.
【0029】§1.通常演奏(フレーズスイッチPHS
W1,2の操作が無い場合) スイッチ処理 まず、通常のリアルタイム演奏を行う場合について説明
する。通常のリアルタイム演奏では、演奏者は、鍵盤ス
イッチKEY,KEY,…を操作して演奏する。また、
所望するフレーズを演奏するために、フレーズスイッチ
PHSW1もしくはPHSW2を操作することにより、
各々に割り当てられたフレーズデータPDATAnが、
各々に対応するフレーズトラックPT3,PT4により
再生される。以下に、その動作について説明する。§1. Normal performance (Phrase switch PHS
First, a case where a normal real-time performance is performed will be described. In a normal real-time performance, a player operates a keyboard switch KEY, KEY,. Also,
By operating the phrase switch PHSW1 or PHSW2 to play a desired phrase,
The phrase data PDATAn assigned to each is
Reproduced by the corresponding phrase tracks PT3 and PT4. The operation will be described below.
【0030】図7および図8は、ステップSA2におい
て実行されるスイッチ処理ルーチンの処理フローを説明
するフローチャートである。まず、ステップSB1にお
いて、RECスイッチRCのONイベントが検出された
か否かを判断する。この場合、この判断結果は「NO」
となり、ステップSB6に進む。そして、ステップSB
6において、スタート/ストップスイッチSTART/
STOPのONイベントが検出されたか否かを判断し、
この場合は「NO」となって、図8に示すステップSB
18に進む。FIGS. 7 and 8 are flowcharts illustrating the processing flow of the switch processing routine executed in step SA2. First, in step SB1, it is determined whether an ON event of the REC switch RC has been detected. In this case, the determination result is “NO”
, And the process proceeds to Step SB6. And step SB
6, the start / stop switch START /
Determine whether the STOP ON event is detected,
In this case, the answer is “NO”, and step SB shown in FIG.
Proceed to 18.
【0031】<フレーズスイッチPHSW1,2処理> 次に、ステップSB18において、フレーズスイッチP
HSW1もしくはPHSW2のONイベントが検出され
たか否かを判断する。演奏者によりフレーズスイッチP
HSW1もしくはPHSW2が操作されていない場合
は、この判断結果は「NO」となり、ステップSB30
に進む。また、ステップSB30においてフレーズスイ
ッチPHSW1もしくはPHSW2のOFFイベントが
検出されたか否かを判断し、この判断結果が「NO」の
場合はSB35に進み、その他のスイッチ処理を行う。
このその他のスイッチ処理においては、鍵盤スイッチK
EY,KEY,…等のパネルスイッチのいずれかが操作
された場合、それらのスイッチ各々に関し操作されたこ
とを示すフラグを立てる。また、フレーズアサインスイ
ッチが操作されている場合は、フレーズスイッチPHS
W1,PHSW2にフレーズデータPDATAnを割当
てると共に、割当てたフレーズデータPDATAnのフ
レーズナンバをフレーズアサインレジスタPHASIN
1,PHASIN2に設定する。その後、当該スイッチ
処理を終了して、メインルーチンへ戻る。<Phrase Switch PHSW1, Process 2> Next, at step SB18, the phrase switch PSW
It is determined whether an ON event of HSW1 or PHSW2 has been detected. Phrase switch P by the player
If HSW1 or PHSW2 has not been operated, the result of this determination is "NO", and step SB30
Proceed to. In step SB30, it is determined whether or not an OFF event of the phrase switch PHSW1 or PHSW2 has been detected.
In this other switch processing, the keyboard switch K
When any one of the panel switches such as EY, KEY,... Is operated, a flag indicating that each of the switches is operated is set. When the phrase assign switch is operated, the phrase switch PHS
The phrase data PDATAn is assigned to W1 and PHSW2, and the phrase number of the assigned phrase data PDATAn is assigned to the phrase assignment register PHASIN.
1, set to PHASIN2. Thereafter, the switch process ends, and the process returns to the main routine.
【0032】タイマ割込み処理 また、上述のメインルーチンの実行と並行して、CPU
5は、タイマ6によるタイマ割込みが行われることによ
りタイマ割込み処理を実行する。図9〜図12に、この
タイマ割込み処理の処理フローを示す。まず、ステップ
SC1において、ソングプレイ・ランフラグSRUN1
が「1」であるか否かを判断する。通常の演奏時、この
判断結果は「NO」となり、図10に示すステップSC
14に進み、ゲートタイムレジスタGATE1,2が
「0」であるか否かを判断する。ソングから読み出され
たフレーズイベントPEVTに基づいてフレーズが読み
出されている場合以外は、この判断結果は「YES」と
なり、ステップSC18に進む。そして、ソングレック
・ランフラグSRUN2が「1」であるか否かを判断す
る。この場合、ソングレック・ランフラグSRUN2は
「0」であるため、ステップSC18における判断結果
は「NO」となり、図11に示すステップSC23に進
む。Timer interrupt processing In parallel with the execution of the main routine, the CPU
5 executes a timer interrupt process when a timer interrupt is performed by the timer 6. 9 to 12 show the processing flow of this timer interrupt processing. First, in step SC1, the song play / run flag SRUN1
Is determined to be “1”. During a normal performance, the result of this determination is "NO", and step SC shown in FIG.
Proceeding to 14, it is determined whether or not the gate time registers GATE1, GATE2 are "0". Unless the phrase is read based on the phrase event PEVT read from the song, the result of this determination is "YES" and the flow proceeds to step SC18. Then, it is determined whether or not the song rec run flag SRUN2 is "1". In this case, since the song rec / run flag SRUN2 is “0”, the result of the determination in step SC18 is “NO”, and the flow proceeds to step SC23 shown in FIG.
【0033】<フレーズデータPDATAn再生処理> 次に、ステップSC23において、カウンタiの値を
「1」に設定する。そして、ステップSC24に進み、
ソングプレイ・ランフラグSRUN1が「1」であるか
否かを判断する。この場合、ソングプレイ・ランフラグ
SRUN1は「0」であるため、ステップSC24にお
ける判断結果は「NO」となり、図12に示すステップ
SC29に進む。ステップSC29においては、フレー
ズランフラグPHRUNiが「1」であるか否かを判断
する。この場合、ステップSC29における判断結果は
「NO」となり、ステップSC30に進む。そして、ス
テップSC30において、カウンタiの値が「4」であ
るか否かを判断し、この判断結果が「NO」である場合
はステップSC31に進み、カウンタiの値をインクリ
メントする。そして、ステップSC24に戻る。以下、
ステップSC29,SC30,SC31を繰り返し実行
し、カウンタiの値が「4」となると、ステップSC3
0における判断結果が「YES」となり、当該タイマ割
込み処理を終了する。<Phrase Data PDATAn Reproduction Processing> Next, in step SC23, the value of the counter i is set to "1". Then, the process proceeds to Step SC24,
It is determined whether or not the song play / run flag SRUN1 is “1”. In this case, since the song play / run flag SRUN1 is “0”, the result of the determination in step SC24 is “NO”, and the flow proceeds to step SC29 shown in FIG. In step SC29, it is determined whether or not the phrase run flag PHRUNi is “1”. In this case, the result of the determination in step SC29 is “NO”, and the flow proceeds to step SC30. Then, in step SC30, it is determined whether or not the value of the counter i is "4", and if the result of this determination is "NO", the flow proceeds to step SC31 to increment the value of the counter i. Then, the process returns to step SC24. Less than,
Steps SC29, SC30, and SC31 are repeatedly executed, and when the value of the counter i becomes “4”, step SC3
The determination result at 0 is “YES”, and the timer interrupt processing ends.
【0034】§2.通常処理(フレーズスイッチPHS
W1,2の操作が有る場合) スイッチ処理 一方、上述した処理において、フレーズスイッチPHS
W1もしくはPHSW2が操作されると、図8に示すス
テップSB18における判断結果は「YES」となり、
ステップSB19に進む。そして、ステップSB19に
おいて、ソングプレイ・ランフラグSRUN1が「1」
であるか否かを判断し、自動演奏中でない場合はこの判
断結果は「NO」となり、ステップSB20に進む。こ
こで、フレーズスイッチPHSW1が操作された場合
は、ステップSB20において、フレーズナンバレジス
タPHNUM3にフレーズアサインレジスタPHASI
N1の内容を設定する。また、フレーズスイッチPHS
W2が操作された場合は、フレーズナンバレジスタPH
NUM4にフレーズアサインレジスタPHASIN2の
内容を設定する。次に、ステップSB21に進み、上記
フレーズナンバレジスタPHNUM3(またはPHNU
M4)の示すフレーズデータPDATAnのヘッダPH
DRのデータ(図3を参照)をROM3から読み出し、
音色データを音源回路7に供給する等、各種設定を行
う。§2. Normal processing (phrase switch PHS
W1 and W2) Switch processing On the other hand, in the processing described above, the phrase switch PHS
When W1 or PHSW2 is operated, the determination result in step SB18 shown in FIG.
Proceed to step SB19. Then, in step SB19, the song play / run flag SRUN1 is set to "1".
Is determined, if the automatic performance is not being performed, the determination result is “NO” and the process proceeds to Step SB20. Here, when the phrase switch PHSW1 is operated, in step SB20, the phrase assign register PHASI is stored in the phrase number register PHNUM3.
Set the contents of N1. Also, phrase switch PHS
When W2 is operated, the phrase number register PH
The contents of the phrase assign register PHASIN2 are set in NUM4. Next, the process proceeds to a step SB21, wherein the phrase number register PHNUM3 (or PHNU3) is used.
M4) Header PH of phrase data PDATAn indicated by
DR data (see FIG. 3) is read from the ROM 3;
Various settings such as supplying tone color data to the tone generator circuit 7 are performed.
【0035】次に、ステップSB22に進み、上記フレ
ーズデータPDATAnの最初のタイミングデータPT
Mを読み出し、フレーズタイムレジスタPHTIME3
(もしくはPHTIME4)に設定する。そして、ステ
ップSB23に進み、フレーズランフラグPHRUN3
(もしくはPHRUN4)に「1」を設定する。以下、
ステップSB30における判断結果は「NO」となり、
ステップSB35へ進み、その他のスイッチ処理を実行
した後、メインルーチンへ戻る。Then, the process proceeds to a step SB22, wherein the first timing data PT of the phrase data PDATAn is obtained.
M, and reads the phrase time register PHTIME3
(Or PHTIME4). Then, the flow proceeds to Step SB23 to execute the phrase run flag PHRUN3.
(Or PHRUN4) is set to “1”. Less than,
The result of determination in step SB30 is "NO",
Proceeding to step SB35, after executing other switch processing, returns to the main routine.
【0036】タイマ割込み処理 また、この場合、タイマ割込み処理では、まず、ステッ
プSC1における判断結果は「NO」となり、ステップ
SC14に進み、該ステップSC14における判断結果
は「YES」となり、ステップSC18に進む。この場
合、ソングレック・ランフラグSRUN2は「1」でな
いため、ステップSC18における判断結果は「NO」
となり、図11に示すステップSC23に進む。Timer Interrupt Processing In this case, in the timer interrupt processing, first, the determination result in step SC1 is "NO", the flow proceeds to step SC14, the determination result in step SC14 is "YES", and the flow proceeds to step SC18. . In this case, since the songwreck run flag SRUN2 is not “1”, the determination result in step SC18 is “NO”.
And the process proceeds to step SC23 shown in FIG.
【0037】<フレーズデータPDATAn再生処理> 次に、ステップSC23において、カウンタiの値を
「1」に設定する。そして、ステップSC24における
判断結果は「NO」となり、ステップSC29に進む。
ステップSC29において、フレーズランフラグPHR
UNiが「1」であるか否かを判断し、この判断結果が
「NO」である場合は、ステップSC30に進む。そし
て、ステップSC30において、カウンタiの値が
「4」であるか否かを判断し、この判断結果が「NO」
である場合はステップSC31に進み、カウンタiの値
をインクリメントした後、ステップSC24へ戻る。以
下、前述した処理と同様に、ステップSC24,SC2
9,SC30,SC31を繰り返し実行する。<Phrase Data PDATAn Reproduction Processing> Next, in step SC23, the value of the counter i is set to "1". Then, the result of the determination in step SC24 is "NO", and the flow proceeds to step SC29.
In step SC29, the phrase run flag PHR
It is determined whether or not UNi is “1”. If the determination result is “NO”, the process proceeds to Step SC30. Then, in a step SC30, it is determined whether or not the value of the counter i is “4”, and the determination result is “NO”.
In step SC31, the process proceeds to step SC31. After the value of the counter i is incremented, the process returns to step SC24. Hereinafter, similarly to the processing described above, steps SC24 and SC2 are executed.
9, SC30 and SC31 are repeatedly executed.
【0038】この場合、フレーズスイッチPHSW1
(もしくはPHSW2)が操作され、スイッチ処理のス
テップSB23においてフレーズランフラグPHRUN
3(もしくはPHRUN4)に「1」が設定されている
ため、カウンタiの値が「3」(もしくは「4」)とな
った時、ステップSC29における判断結果が「YE
S」となってステップSC32に進む。そして、ステッ
プSC32において、ステップSB22において設定さ
れたフレーズタイムレジスタPHTIME3をデクリメ
ントする。次に、ステップSC33において、フレーズ
タイムレジスタPHTIME3が「0」であるか否かを
判断する。フレーズタイムレジスタPHTIME3がま
だ「0」に達していない場合は、ステップSC30に進
む。In this case, the phrase switch PHSW1
(Or PHSW2) is operated, and in step SB23 of the switch process, the phrase run flag PHRUN is
Since “1” is set to 3 (or PHRUN4), when the value of the counter i becomes “3” (or “4”), the determination result in step SC29 is “YE”.
S "and proceeds to step SC32. Then, in step SC32, the phrase time register PHTIME3 set in step SB22 is decremented. Next, in step SC33, it is determined whether or not the phrase time register PHTIME3 is "0". If the phrase time register PHTIME3 has not yet reached "0", the flow advances to step SC30.
【0039】以下、タイマ割込み処理が行われる度に、
ステップSC32においてフレーズタイムレジスタPH
TIME3をデクリメントする。そして、フレーズタイ
ムレジスタPHTIME3が「0」に達すると、すなわ
ち、イベントの発生タイミングに達すると、ステップS
C33の判断結果は「YES」となり、ステップSC3
4に進む。そして、ステップSC34において、ROM
3から、フレーズナンバレジスタPHNUM3の示すフ
レーズデータPDATAnのイベントデータを読み出
す。その後、ステップSC35に進み、読み出したイベ
ントデータがエンドデータPENDであるか否かを判断
し、この判断結果が「NO」の場合、すなわちノートイ
ベントPNTである場合は、ステップSC36におい
て、該ノートイベントデータを音源回路7へ出力する。Hereinafter, every time the timer interrupt processing is performed,
In step SC32, the phrase time register PH
Decrement TIME3. When the phrase time register PHTIME3 reaches "0", that is, when the event occurrence timing has been reached, step S
The decision result in C33 is "YES", and the step SC3 is determined.
Proceed to 4. Then, in step SC34, the ROM
3, the event data of the phrase data PDATAn indicated by the phrase number register PHNUM3 is read. Thereafter, the flow advances to step SC35 to determine whether or not the read event data is the end data PEND. The data is output to the tone generator 7.
【0040】次に、ステップSC37に進み、次のデー
タを読み出し、ステップSC38において該データがタ
イミングデータPTMであるか否かを判断する。この判
断結果が「NO」である場合は、該データがノートイベ
ントPNTもしくはエンドデータPENDであるため、
ステップSC35に戻る。以下、タイミングデータPT
Mか、もしくはエンドデータPENDが読み出されるま
で、ステップSC36において、イベントデータを順次
音源回路へ出力する。Next, the flow advances to step SC37 to read the next data. In step SC38, it is determined whether or not the data is the timing data PTM. If this determination result is “NO”, the data is the note event PNT or the end data PEND,
It returns to step SC35. Hereinafter, the timing data PT
Until M or the end data PEND is read, in step SC36, the event data is sequentially output to the tone generator circuit.
【0041】一方、ステップSC37においてタイミン
グデータPTMが読み出された場合は、ステップSC3
8における判断結果は「YES」となり、ステップSC
39に進んで、フレーズタイムレジスタPHTIME3
(もしくはPHTIME4)に該タイミングデータPT
Mを設定する。そして、ステップSC30に進み、カウ
ンタiの値が「3」である時はステップSC31に進
み、再びステップSC24に戻り、「4」であるときは
メインルーチンへリターンする。以下、ステップSC3
4もしくはSC37において読み出したデータがエンド
データPENDになるまで、上述した処理を繰り返し、
所定のタイミングでイベントデータを音源回路へ出力す
る。On the other hand, if the timing data PTM has been read out in step SC37, step SC3
8 is “YES” and the result of step SC
Proceeding to 39, the phrase time register PHTIME3
(Or PHTIME4) to the timing data PT
Set M. Then, the process proceeds to step SC30, and when the value of the counter i is “3”, the process proceeds to step SC31, returns to step SC24 again, and when it is “4”, returns to the main routine. Hereinafter, step SC3
4 or the above process is repeated until the data read in SC37 becomes the end data PEND.
Event data is output to the tone generator circuit at a predetermined timing.
【0042】また、読み出したデータがエンドデータP
ENDである場合は、ステップSC35における判断結
果が「YES」となり、ステップSC40に進み、フレ
ーズナンバレジスタPHNUM3(もしくはPHNUM
4)の示すフレーズデータPDATAnの最初のタイミ
ングデータPTMを読み出し、フレーズタイミングレジ
スタPHTIME3(もしくはPHTIME4)に設定
する。これにより、以降の割込み処理においては、同フ
レーズデータPDATAnが先頭から繰り返し演奏され
る。The read data is the end data P
If it is END, the result of the determination in step SC35 is "YES", and the flow advances to step SC40 to set the phrase number register PHNUM3 (or PHNUM).
The first timing data PTM of the phrase data PDATAn indicated in 4) is read and set in the phrase timing register PHTIME3 (or PHTIME4). Thus, in the subsequent interrupt processing, the same phrase data PDATAn is repeatedly played from the beginning.
【0043】以上のように、カウンタiの値を「1」か
ら「4」に設定し、各レジスタの値により処理を振り分
けることにより、上述したように仮想的に設けられたフ
レーズトラックPT1〜PT4の再生を実現する。この
場合、カウンタiの値が「3」である場合は、フレーズ
トラックPT3の再生を表している。As described above, by setting the value of the counter i from "1" to "4" and allocating the processing according to the value of each register, the phrase tracks PT1 to PT4 virtually provided as described above are provided. Realization of playback. In this case, when the value of the counter i is “3”, it indicates the reproduction of the phrase track PT3.
【0044】フレーズスイッチPHSW1,2OFF
処理 一方、ONされていたフレーズスイッチPHSW1もし
くは2がOFFされた場合は、スイッチ処理において、
ステップSB30における判断結果が「YES」とな
り、ステップSB31に進む。そして、ソングレック・
ランフラグSRUN2が「1」であるか否かを判断し、
この判断結果が「NO」である場合、すなわちソングレ
ックトラックの記録中でない場合は、ステップSB32
に進む。そして、フレーズランフラグPHRUN3(も
しくはPHRUN4)に「0」を設定する。これによ
り、フレーズスイッチPHSW1もしくはPHSW2の
操作によるフレーズの再生が終了する。Phrase switch PHSW1, OFF
Processing On the other hand, when the phrase switch PHSW1 or 2 that has been turned on is turned off,
The result of determination in step SB30 is "YES", and the flow proceeds to step SB31. And song-rec
It is determined whether or not the run flag SRUN2 is “1”,
If the result of the determination is "NO", that is, if the recording of the song recording track is not being performed, the process proceeds to step SB32.
Proceed to. Then, “0” is set to the phrase run flag PHRUN3 (or PHRUN4). Thereby, the reproduction of the phrase by the operation of the phrase switch PHSW1 or PHSW2 ends.
【0045】§3.ソングデータ再生処理(ソングデー
タのみ再生) スイッチ処理 次に、自動演奏を行う場合について説明する。ここで
は、図4に示すソングデータのみを再生する場合を示
す。この場合、スタート/ストップスイッチSTART
/STOPが操作されることにより、ソングデータが再
生され自動演奏が行われる。まず、スタート/ストップ
スイッチSTART/STOPが操作されると、ステッ
プSB6における判断結果は「YES」となり、ステッ
プSB7に進む。そして、ステップSB7において、ソ
ングプレイ・ランフラグSRUN1が「0」であるか否
かを判断する。この場合、ステップSB7における判断
結果は「YES」となり、ステップSB8に進む。次
に、ステップSB8において、RECスイッチフラグR
ECが「1」であるか否かを判断する。RECスイッチ
は操作されていないので、ステップSB8における判断
結果は「NO」となり、ステップSB9に進む。そし
て、ステップSB9において、図4に示すソングデータ
のヘッダHDRのデータ(音色、テンポ等)を読み出
し、音源回路7に供給する等、各種設定を行う。§3. Song Data Playback Process (Only Song Data Playback) Switch Process Next, the case of performing an automatic performance will be described. Here, a case where only the song data shown in FIG. 4 is reproduced is shown. In this case, the start / stop switch START
By operating / STOP, the song data is reproduced and an automatic performance is performed. First, when the start / stop switch START / STOP is operated, the determination result in step SB6 is “YES”, and the process proceeds to step SB7. Then, in a step SB7, it is determined whether or not the song play / run flag SRUN1 is "0". In this case, the result of the determination in step SB7 is "YES", and the flow proceeds to step SB8. Next, in step SB8, the REC switch flag R
It is determined whether EC is “1”. Since the REC switch has not been operated, the result of the determination in step SB8 is "NO", and the flow proceeds to step SB9. Then, in step SB9, various settings such as reading out the data (tone color, tempo, etc.) of the header HDR of the song data shown in FIG.
【0046】その後、ステップSB10に進み、ソング
プレイトラックの最初のタイミングデータTIMEを読
み出し、ソングプレイタイムレジスタSTIME1に該
タイミングデータTIME設定する。次に、ステップS
B11に進み、ソングプレイ・ランフラグSRUN1に
「1」を設定する。これにより、ソングデータが再生可
能状態となる。Thereafter, the flow advances to step SB10 to read out the first timing data TIME of the song play track and set the timing data TIME in the song play time register STIME1. Next, step S
Proceeding to B11, the song play / run flag SRUN1 is set to "1". As a result, the song data can be reproduced.
【0047】また、ここでは、フレーズスイッチPHS
W1もしくはPHSW2が操作されていないので、ステ
ップSB18における判断結果は「NO」となり、ステ
ップSB30に進み、ステップSB30における判断結
果も「NO」となって、ステップSC35を経てメイン
ルーチンへ戻る。Here, the phrase switch PHS
Since W1 or PHSW2 has not been operated, the determination result in step SB18 is "NO", the process proceeds to step SB30, the determination result in step SB30 is also "NO", and the process returns to the main routine via step SC35.
【0048】タイマ割込み処理 <ソングプレイトラック読出し処理> 次に、上述した処理中におけるタイマ割込み処理につい
て説明する。この場合、上述したスイッチ処理のステッ
プSB11においてソングプレイ・ランフラグSRUN
1には「1」が設定されているため、ステップSC1に
おける判断結果は「YES」となり、ステップSC2に
進む。そして、ステップSC2において、ステップSB
10で設定したソングプレイタイムレジスタSTIME
1をデクリメントする。次に、ステップSC3におい
て、ソングプレイタイムレジスタSTIME1が「0」
となったか否かを判断し、この判断結果が「NO」の場
合は、ステップSC14に進む。以後、タイマ割込み処
理を行う度に、ステップSC2においてソングプレイタ
イムレジスタSTIME1をダウンカウントする。その
結果、ソングプレイタイムレジスタSTIME1が
「0」となったら、イベント発生タイミングに達したこ
ととなり、ステップSC3における判断結果が「YE
S」となってステップSC4に進む。そして、ステップ
SC4において、ソングプレイトラックのイベントデー
タを読み出す。このイベントデータは、直前に読み出し
たタイミングデータTIMEの次に記録されているイベ
ントデータである。Timer Interrupt Process <Song Play Track Read Process> Next, the timer interrupt process during the above process will be described. In this case, in step SB11 of the above-described switch processing, the song play / run flag SRRUN
Since "1" is set to 1, the result of the determination in step SC1 is "YES", and the flow proceeds to step SC2. Then, in step SC2, step SB
Song play time register STIME set in 10
Decrement one. Next, in step SC3, the song play time register STIME1 is set to "0".
Is determined, and if this determination is "NO", the flow proceeds to step SC14. Thereafter, every time the timer interrupt process is performed, the song play time register STIME1 is counted down in step SC2. As a result, when the song play time register STIME1 becomes "0", it means that the event occurrence timing has been reached, and the judgment result in step SC3 is "YE
S "and proceeds to step SC4. Then, in step SC4, the event data of the song play track is read. This event data is event data recorded next to the timing data TIME read immediately before.
【0049】その後、ステップSC5に進み、読み出し
たイベントデータがフレーズイベントデータPEVTで
あるか否かを判断する。読み出したイベントデータがノ
ートイベントデータNOTEである場合は、ステップS
C5における判断結果は「NO」となってステップSC
6に進み、ステップSC6においてイベントデータがエ
ンドデータENDであるか否かを判断する。この結果は
「NO」であるので、ステップSC7に進み、当該ノー
トイベントデータNOTEを、音源回路7に出力する。
それによって音源回路7は、上記のデータに基づく楽音
信号を形成し、デジタル/アナログ変換器8は該楽音信
号をアナログ信号に変換し、スピーカ9より発音する。Thereafter, the flow advances to step SC5 to determine whether or not the read event data is phrase event data PEVT. If the read event data is note event data NOTE, step S
The decision result in C5 is "NO", and step SC
Then, in step SC6, it is determined whether or not the event data is the end data END. Since the result is “NO”, the process proceeds to Step SC7, and the note event data NOTE is output to the tone generator circuit 7.
Thereby, the tone generator 7 forms a tone signal based on the above data, and the digital / analog converter 8 converts the tone signal into an analog signal and emits the sound from the speaker 9.
【0050】ステップSC7の処理が終了すると、ステ
ップSC8に進み、ソングプレイトラックの次のデータ
を読み出す。そして、ステップSC9に進み、読み出し
たデータがタイミングデータTIMEであるか否かを判
断する。この判断結果が「NO」である場合、すなわ
ち、同じタイミングで複数のイベントが発生している場
合は、ステップSC5に戻る。そして、読み出したデー
タがノートイベントデータNOTEである場合は、上述
と同様に発音処理を行う。When the processing in step SC7 is completed, the flow advances to step SC8 to read the next data of the song play track. Then, the process proceeds to Step SC9 to determine whether or not the read data is the timing data TIME. If the result of this determination is "NO", that is, if a plurality of events have occurred at the same timing, the process returns to step SC5. If the read data is the note event data NOTE, the sound generation process is performed as described above.
【0051】一方、ステップSC4もしくはステップS
C8において読み出したイベントデータがフレーズイベ
ントデータPEVTである場合は、ステップSC5にお
ける判断結果は「YES」となり、ステップSC11に
進む。ここで、該フレーズイベントデータPEVTにフ
レーズスイッチPHSW1の操作があったことが記録さ
れている場合は、フレーズオンフラグPHON1に
「1」を設定し、フレーズナンバレジスタPHNUM1
にフレーズスイッチPHSW1に割当てられているフレ
ーズナンバを設定し、ゲートタイムレジスタGATE1
にフレーズスイッチPHSW1のゲートタイムを設定す
る。また、フレーズイベントデータPEVTにフレーズ
スイッチPHSW2の操作があったことが記録されてい
る場合は、フレーズオンフラグPHON2に「1」を設
定し、フレーズナンバレジスタPHNUM2にフレーズ
ナンバを設定し、ゲートタイムレジスタGATE2にフ
レーズスイッチ2のゲートタイムを設定する。On the other hand, step SC4 or step S4
If the event data read in C8 is phrase event data PEVT, the result of the determination in step SC5 is "YES", and the flow proceeds to step SC11. If the phrase event data PEVT records that the phrase switch PHSW1 has been operated, the phrase-on flag PHON1 is set to "1" and the phrase number register PHNUM1 is set.
Is set to the phrase number assigned to the phrase switch PHSW1, and the gate time register GATE1 is set.
Is set to the gate time of the phrase switch PHSW1. If the phrase event data PEVT records that the phrase switch PHSW2 has been operated, "1" is set in the phrase on flag PHON2, the phrase number is set in the phrase number register PHNUM2, and the gate time register is set. The gate time of the phrase switch 2 is set in GATE2.
【0052】次に、ステップSC12に進み、フレーズ
ナンバPHNUM1(もしくはPHNUM2)内の示す
フレーズデータPDATAnのヘッダPHDRのデータ
を、ROM3から読み出して、音源回路7に設定する
等、各種設定を行う。そして、ステップSC8に進み、
次のデータを読み出し、ステップSC9において該デー
タがタイミングデータTIMEであるか否かを判断し、
タイミングデータTIMEでない場合はステップSC5
に戻って上述の処理を繰り返す。そして、読み出したデ
ータがタイミングデータTIMEである場合は、ステッ
プSC9における判断結果は「YES」となり、ステッ
プSC10に進み、ソングプレイタイムレジスタSTI
ME1に該タイミングデータTIMEを設定する。Next, the flow advances to step SC12, where various settings such as reading out the header PHDR data of the phrase data PDATAn indicated in the phrase number PHNUM1 (or PHNUM2) from the ROM 3 and setting them in the tone generator 7 are made. Then, proceed to Step SC8,
The next data is read, and it is determined in step SC9 whether the data is the timing data TIME,
If not timing data TIME, step SC5
And the above processing is repeated. If the read data is the timing data TIME, the result of the determination at step SC9 is "YES", the process proceeds to step SC10, and the song play time register STI
The timing data TIME is set in ME1.
【0053】次に、ステップSC10の処理が終了する
と、ステップSC14に進む。上述した処理においてフ
レーズイベントデータPEVTが読み出された場合、ゲ
ートタイムレジスタGATE1(もしくはGATE2)
には、所定のゲートタイムが設定されているので、ステ
ップSC14における判断結果が「NO」となる。次
に、ステップSC15に進み、ゲートタイムレジスタG
ATE1(もしくはGATE2)をデクリメントし、ス
テップSC16において、ゲートタイムレジスタGAT
E1(もしくはGATE2)が「0」となったか否かを
判断する。ゲートタイムレジスタGATE1(もしくは
GATE2)が「0」でない場合、すなわち、フレーズ
イベントデータPEVTの再生終了のタイミングに達し
ていない場合は、ステップSC18に進む。以後、タイ
マ割込み処理を行う度に、ステップSC15においてゲ
ートタイムレジスタGATE1(もしくはGATE2)
をダウンカウントする。その後、ステップSC18、ス
テップSC23へ進む。Next, when the process of step SC10 is completed, the process proceeds to step SC14. When the phrase event data PEVT is read in the above-described processing, the gate time register GATE1 (or GATE2)
Has a predetermined gate time, the result of the determination in step SC14 is "NO". Next, the process proceeds to step SC15 where the gate time register G
ATE1 (or GATE2) is decremented, and in step SC16, the gate time register GAT
It is determined whether E1 (or GATE2) has become “0”. If the gate time register GATE1 (or GATE2) is not "0", that is, if the timing of terminating the reproduction of the phrase event data PEVT has not reached, the process proceeds to step SC18. Thereafter, each time the timer interrupt process is performed, the gate time register GATE1 (or GATE2) is set in step SC15.
Count down. Thereafter, the process proceeds to Step SC18 and Step SC23.
【0054】<フレーズデータPDATAn再生処理> 次に、ステップSC23において、カウンタiの値を
「1」に設定し、ステップSC24に進む。ソングプレ
イトラックの再生中である場合、ステップSC24にお
ける判断結果は「YES」となり、ステップSC25に
進む。そして、ステップSC25において、フレーズタ
イミングに達したか否かを判断する。このフレーズタイ
ミングは、ステップSC21において、フレーズデータ
PDATAnのヘッダPHDRが読み出された時に設定
されるもので、4分音符もしくは8分音符等フレーズ毎
に固有の値である。まだ達していない場合は判断結果が
「NO」となってステップSC29に進み、フレーズタ
イミングに達した場合は「YES」となり、ステップS
C26に進む。<Phrase Data PDATAn Reproduction Processing> Next, in step SC23, the value of the counter i is set to "1", and the flow advances to step SC24. If the song play track is being reproduced, the result of the determination in step SC24 is “YES”, and the flow proceeds to step SC25. Then, in step SC25, it is determined whether or not the phrase timing has been reached. The phrase timing is set when the header PHDR of the phrase data PDATAn is read in step SC21, and is a value unique to each phrase such as a quarter note or an eighth note. If the phrase timing has not been reached yet, the determination result is “NO” and the process proceeds to step SC29.
Proceed to C26.
【0055】ここで、フレーズイベントデータPEVT
が読み出されており、フレーズオンフラグPHON1が
「1」であるとすると、ステップSC26における判断
結果は「YES」となり、ステップSC27へ進む。そ
して、ステップSC27において、フレーズナンバレジ
スタPHNUM1の示すフレーズデータPDATAnの
最初のタイミングデータPTMを読み出し、フレーズタ
イムレジスタPHTIME1に設定する。次に、ステッ
プSC28に進み、フレーズランフラグPHRUN1に
「1」を設定し、フレーズオンフラグPHON1に
「0」を設定する。この時点で、フレーズタイミングの
待ち時間が経過したこととなる。Here, the phrase event data PEVT
Is read and the phrase-on flag PHON1 is "1", the result of the determination in step SC26 is "YES", and the flow proceeds to step SC27. Then, in step SC27, the first timing data PTM of the phrase data PDATAn indicated by the phrase number register PHNUM1 is read and set in the phrase time register PHTIME1. Next, the process proceeds to step SC28, in which the phrase run flag PHRUN1 is set to "1" and the phrase on flag PHON1 is set to "0". At this point, the phrase timing waiting time has elapsed.
【0056】次に、フレーズランフラグPHRUN1が
「1」となると、ステップSC29における判断結果は
「YES」となり、ステップSC32に進む。以降、上
述したリアルタイム演奏時のフレーズデータPDATA
n再生処理と同様に、フレーズトラックPT1〜PT4
に対してフレーズデータPDATAnの再生処理を行
う。なお、この場合は、カウンタiの値が「1」である
場合、上述したフレーズトラックPT1の再生を実現し
ている。Next, when the phrase run flag PHRUN1 becomes "1", the result of the determination in step SC29 becomes "YES", and the flow proceeds to step SC32. Hereinafter, the phrase data PDATA at the time of the above-described real-time performance
n playback processing, the phrase tracks PT1 to PT4
For the phrase data PDATAn. In this case, when the value of the counter i is "1", the reproduction of the phrase track PT1 is realized.
【0057】以後、上述した割り込み処理が実行され
る。その結果、ステップSC15において、ゲートタイ
ムレジスタGATE1が「0」となったら、フレーズデ
ータPDATAnの再生が終了するタイミングに達した
こととなり、ステップSC16における判断結果が「Y
ES」となってステップSC17に進む。そして、ステ
ップSC17において、フレーズランフラグPHRUN
1に「0」を設定する。これにより、該当するフレーズ
トラックに対してのステップSC29における判断結果
は「NO」となり、該フレーズトラックに対する再生が
停止する。Thereafter, the above-described interrupt processing is executed. As a result, if the gate time register GATE1 becomes “0” in step SC15, it means that the timing to end the reproduction of the phrase data PDATAn has been reached, and the result of the determination in step SC16 is “Y
ES ”and the process proceeds to Step SC17. Then, in step SC17, the phrase run flag PHRUN is set.
Set “0” to 1. As a result, the result of the determination at step SC29 for the corresponding phrase track is “NO”, and the reproduction for the phrase track is stopped.
【0058】また、ステップSC4もしくはSC8にお
いて、読み出したデータがエンドデータENDとなる
と、ステップSC6における判断結果が「YES」とな
り、ステップSC13に進む。そして、ソングプレイ・
ランフラグSRUN1に「0」を設定する。これによ
り、ソングプレイトラックの再生が停止する。If the read data becomes end data END in step SC4 or SC8, the result of the determination in step SC6 is "YES", and the flow advances to step SC13. And song play
“0” is set to the run flag SRUN1. Thereby, the reproduction of the song play track is stopped.
【0059】§4.ソングデータ再生処理(フレーズデ
ータPDATAnの記録を伴う場合) 次に、上述したソングデータ再生処理において、フレー
ズスイッチPHSW1もしくはPHSW2を操作するこ
とにより、該操作結果を図4に示すソングデータにフレ
ーズデータPDATAnとして記録する場合について説
明する。この場合、まず、RECスイッチRCが操作さ
れるため、ステップSB1、SB2およびSB3と進
み、ステップSB3における判断結果が「NO」とな
り、ステップSB5においてRECスイッチフラグRE
Cに「1」を設定する。そして、スタート/ストップス
イッチSTART/STOPが操作されると、ステップ
SB6、ステップSB7、ステップSB8と進む。そし
て、ステップSB8における判断結果が「YES」とな
り、ステップSB12に進み、ソングレックトラックの
ヘッダHDRに音色およびテンポ等を書き込む。そし
て、ステップSB13に進み、ソングプレイタイムレジ
スタSTIME2に「0」を設定し、ソングレック・ラ
ンフラグSRUN2に「1」を設定し、RECスイッチ
フラグRECに「0」を設定する。§4. Song Data Reproduction Process (In the Case of Recording Phrase Data PDATAn) Next, in the above-described song data reproduction process, by operating the phrase switch PHSW1 or PHSW2, the operation result is stored in the song data shown in FIG. The case of recording as "" will be described. In this case, first, since the REC switch RC is operated, the process proceeds to steps SB1, SB2, and SB3, the result of the determination in step SB3 becomes "NO", and the REC switch flag RE in step SB5.
Set "1" to C. When the start / stop switch START / STOP is operated, the process proceeds to step SB6, step SB7, and step SB8. Then, the decision result in the step SB8 becomes "YES", the process proceeds to a step SB12, where the timbre, the tempo and the like are written in the header HDR of the song recording track. Then, the process proceeds to a step SB13, where "0" is set in the song play time register STIME2, "1" is set in the song rec run flag SRRUN2, and "0" is set in the REC switch flag REC.
【0060】次に、ステップSB10において、ソング
プレイトラックの最初のタイミングデータTIMEを読
み出してソングプレイタイムレジスタSTIME1にセ
ットし、ステップSB11においてソングプレイ・ラン
フラグSRUN1に「1」を設定する。これらの処理に
より、ソングプレイトラックが再生状態となると共に、
ソングレックトラックが記録状態となる。なお、最初に
ソングデータの記録が行われる場合は、ソングプレイト
ラックにデータが存在しないので、記録のみ行う。Next, in step SB10, the first timing data TIME of the song play track is read out and set in the song play time register STIME1, and in step SB11, the song play run flag SRUN1 is set to "1". Through these processes, the song play track is put into the playback state,
The song recording track enters the recording state. When the song data is recorded first, there is no data in the song play track, so only the recording is performed.
【0061】<フレーズスイッチPHSW1,2処理> ここで、フレーズスイッチPHSW1もしくは2が操作
されると、ステップSB18における判断結果が「YE
S」となり、ステップSB19に進む。そして、ソング
プレイトラックが再生中であるため、ステップSB19
における判断結果が「YES」となって、ステップSB
24に進み、ステップSB24においては、ソングレッ
クフラグSRUN2が「1」であるか否かを判断する。
この判断結果が「YES」である場合はステップSB2
5へ進み、フレーズスイッチPHSW1が操作された場
合は、フレーズオンフラグPHON1に「1」を設定
し、フレーズナンバレジスタPHNUM1にフレーズア
サインレジスタPHASIN1の内容を設定する。ま
た、フレーズスイッチPHSW2が操作された場合は、
フレーズオンフラグPHON2に「1」を設定し、フレ
ーズナンバレジスタPHNUM2にフレーズアサインレ
ジスタPHASIN2の内容を設定する。<Phrase Switch PHSW1 and PHSW2 Processing> Here, when the phrase switch PHSW1 or PHSW2 is operated, the result of determination in step SB18 is “YE
S ", and proceeds to step SB19. Since the song play track is being reproduced, step SB19 is executed.
Results in "YES" at step SB.
Proceeding to 24, in step SB24, it is determined whether or not the song rec flag SRUN2 is "1".
If the result of this determination is "YES", the control proceeds to step SB2.
Then, when the phrase switch PHSW1 is operated, "1" is set in the phrase ON flag PHON1, and the contents of the phrase assign register PHASIN1 are set in the phrase number register PHNUM1. When the phrase switch PHSW2 is operated,
The phrase on flag PHON2 is set to "1", and the contents of the phrase assignment register PHASIN2 are set to the phrase number register PHNUM2.
【0062】次に、ステップSB26に進み、フレーズ
ナンバレジスタPHNUM1(もしくはPHNUM2)
の示すフレーズデータPDATAnのヘッダPHDRの
データを読み出して、音源回路7等に設定する。そし
て、ステップSB27に進み、ゲートタイムレジスタG
ATE1(もしくはGATE2)に「0」を設定する。Next, the process proceeds to a step SB26, wherein the phrase number register PHNUM1 (or PHNUM2) is set.
The data of the header PHDR of the phrase data PDATAn indicated by is read out and set in the tone generator circuit 7 and the like. Then, the process proceeds to a step SB27, wherein the gate time register G
ATE1 (or GATE2) is set to “0”.
【0063】次に、フレーズスイッチPHSW1もしく
は2が押下中である場合、ステップSB30における判
断結果は「NO」となり、ステップSB35に進み、上
述したその他のスイッチ処理を行い、メインルーチンに
戻る。Next, if the phrase switch PHSW1 or PHSW2 is being pressed, the result of the determination in step SB30 is "NO", the flow advances to step SB35 to perform the other switch processing described above, and returns to the main routine.
【0064】タイマ割込み処理 次に、上述した処理におけるタイマ割込み処理について
説明する。タイマ割込み処理では、ステップSC1、S
C2、SC3と進み、ソングタイムレジスタSTIME
1が「0」となる毎に、ステップSC4以降の処理へ進
む。そして、ステップSC5〜ステップSC13におい
て、所定のタイミングで、ノートデータNOTEが発音
されるとともに、次のイベントデータが順次読み出さ
れ、ソングタイムレジスタSTIME1にタイミングデ
ータTIMEが設定される。以後、この処理が割込み毎
に実行される。Timer Interrupt Process Next, the timer interrupt process in the above-described process will be described. In the timer interrupt processing, steps SC1, S
Proceed to C2, SC3, song time register STIME
Each time 1 becomes “0”, the process proceeds to the processes after step SC4. At steps SC5 to SC13, note data NOTE is generated at a predetermined timing, the next event data is sequentially read, and timing data TIME is set in the song time register STIME1. Thereafter, this processing is executed for each interruption.
【0065】また、上記イベントデータがフレーズイベ
ントデータPEVTの場合には、ステップSC11にお
いて、ゲートタイムレジスタGATE1もしくはGAT
E2にゲートタイムが設定され、ステップSC14〜S
C16においては、ゲートタイムレジスタGATE1も
しくはGATE2がデクリメントされる。その後、ステ
ップSC18、SC23と進み、ステップSC23以降
のフレーズデータPDATAnの再生が行われる。以
後、この処理が割込み毎に実行される。If the event data is the phrase event data PEVT, at step SC11 the gate time register GATE1 or GAT
The gate time is set in E2, and steps SC14 to SC14 are executed.
In C16, the gate time register GATE1 or GATE2 is decremented. Thereafter, the process proceeds to steps SC18 and SC23, and the reproduction of the phrase data PDATAn after step SC23 is performed. Thereafter, this processing is executed for each interruption.
【0066】ここで、上述したように、フレーズスイッ
チPHSW1もしくはPHSW2が操作されると、ステ
ップSB27においてゲートタイムレジスタGATE1
に「0」が設定されるので、ステップSC14における
判断結果は「YES」となり、それまでフレーズイベン
トに基づいてフレーズデータが読み出されていた場合で
あってもステップSC18に進む。したがって、フレー
ズスイッチPHSW1,PHSW2がONである間に、
それまで再生中のフレーズが終了すべきタイミングに達
した場合でも、フレーズランフラグPHRUN1もしく
はPHRUN2はステップSC17において「0」にリ
セットされず、フレーズスイッチPHSW1,PHSW
2に対応するフレーズ再生が終了することはない。When the phrase switch PHSW1 or PHSW2 is operated as described above, the gate time register GATE1 is set at step SB27.
Is set to "0", the result of the determination in step SC14 is "YES", and the process proceeds to step SC18 even if the phrase data has been read out based on the phrase event until then. Therefore, while the phrase switches PHSW1 and PHSW2 are ON,
Even when the phrase to be reproduced has reached the timing to end, the phrase run flag PHRUN1 or PHRUN2 is not reset to “0” in step SC17, and the phrase switches PHSW1 and PHSW1 are not reset.
The playback of the phrase corresponding to No. 2 does not end.
【0067】この場合、ソングレックトラックが記録状
態であるので、ステップSC18における判断結果が
「YES」となり、ステップSC19に進む。そして、
ソングレックタイムレジスタSTIME2をインクリメ
ントし、ステップSC20に進み、スイッチイベントが
検出されているか否かを判断する。すなわち、ステップ
SB35において、演奏に関するいずれかのスイッチに
対しフラグがたてられたか否かを判断し、この判断結果
が「YES」の場合は、ステップSC21に進み、ソン
グレックタイムレジスタSTIME2と共に、上記スイ
ッチによるイベントデータをソングレックトラックに書
き込む。In this case, since the song recording track is in the recording state, the result of the determination in step SC18 is "YES", and the flow advances to step SC19. And
The song rec time register STIME2 is incremented, and the flow advances to step SC20 to determine whether a switch event has been detected. That is, in step SB35, it is determined whether or not a flag has been set for any of the switches related to the performance. Write event data from the switch to the song recording track.
【0068】ここで、例えば、フレーズスイッチPHS
W1が操作されている場合は、新たなフレーズイベント
データPEVTとして、フレーズスイッチPHSW1の
イベントがあったという情報と共に、フレーズアサイン
レジスタPHASIN1の内容、すなわち、フレーズス
イッチPHSW1に割当てられたフレーズナンバを書き
込む。また、フレーズスイッチPHSW1のOFFイベ
ントが検出されると、該フレーズスイッチPHSW1の
ONイベントが検出されてからOFFイベントが検出さ
れるまでの時間(ゲートタイム)を書き込む。Here, for example, the phrase switch PHS
When W1 is operated, the contents of the phrase assignment register PHASIN1, that is, the phrase number assigned to the phrase switch PHSW1 are written as new phrase event data PEVT together with the information that the event of the phrase switch PHSW1 has occurred. When the OFF event of the phrase switch PHSW1 is detected, the time (gate time) from when the ON event of the phrase switch PHSW1 is detected to when the OFF event is detected is written.
【0069】また、鍵盤スイッチKEY,KEY…等の
イベントが検出された場合は、該スイッチのON/イベ
ント、ノートナンバ、およびベロシティ等を書き込む。
なお、このベロシティが検出不可能であるスイッチの場
合は、例えば一定値を書き込むようにする。また、その
他、例えば音色、テンポ、もしくは音量等を変えるスイ
ッチのイベントが検出された場合は、それらのイベント
情報を書き込む。そして、これら各スイッチのイベント
情報の書き込みを終了すると、各々に対応するフラグを
リセットする。次に、ステップSC22に進み、ソング
レックタイムレジスタSTIME2に「0」を設定す
る。以下、上述した処理と同様に、ステップSC23以
降のフレーズトラックPT1〜PT4に対してフレーズ
データPDATAnの再生を行う。When an event such as a key switch KEY, KEY... Is detected, ON / event of the switch, note number, velocity and the like are written.
In the case of a switch whose velocity cannot be detected, for example, a constant value is written. In addition, when an event of a switch that changes a tone, a tempo, or a volume is detected, the event information is written. Then, when the writing of the event information of each switch is completed, the flag corresponding to each is reset. Next, the process proceeds to step SC22, where "0" is set in the song recording time register STIME2. Hereinafter, the phrase data PDATAn is reproduced for the phrase tracks PT1 to PT4 in and after step SC23 in the same manner as the above-described processing.
【0070】フレーズスイッチPHSW1,2のOF
F処理 次に、上述した処理において、フレーズスイッチPHS
W1またはPHSW2がOFFされると、スイッチ処理
において、ステップSB30における判断結果が「YE
S」となり、ステップSB31に進む。ソングレックト
ラックが記録中である場合、ソングレックフラグSRU
N2は「1」であるため、ステップSB31における判
断結果が「YES」となり、ステップSB33に進み、
ゲートタイムレジスタGATE1もしくはGATE2が
「0」であるか否かを判断する。これは、フレーズスイ
ッチPHSW1またはPHSW2をOFFした時点にお
いて、フレーズが再生中であるか否かを判断するもので
ある。言い換えると、フレーズスイッチPHSW1また
はPHSW2をONした後に、ソングプレイトラックか
らフレーズイベントPEVTが読み出され、これに基づ
くフレーズがフレーズスイッチPHSW1またはPHS
W2に基づくフレーズにかえて再生されている場合、こ
のフレーズの再生が途中で終了するのを防止するためで
ある。フレーズスイッチPHSW1またはPHSW2を
OFFした時点において、ソングプレイトラックから読
み出されるフレーズイベントデータPEVTが残ってい
る場合、フレーズランフラグPHRUN1もしくはPH
RUN2を強制的に「0」に設定すると、フレーズの再
生が終了してしまう。従って、ゲートタイムレジスタG
ATE1もしくはGATE2が「0」の場合には、上記
ステップSB33における判断結果が「YES」とな
り、ステップSB34に進み、フレーズランフラグPH
RUN1もしくはPHRUN2に「0」を設定する。こ
れにより、フレーズの再生が終了する。OF OF PHASE SWITCH PHSW1, PHSW1
F processing Next, in the processing described above, the phrase switch PHS
When W1 or PHSW2 is turned off, the result of determination in step SB30 is “YE” in the switch processing.
S ", and proceeds to step SB31. If the song recording track is being recorded, the song recording flag SRU
Since N2 is “1”, the result of the determination in step SB31 is “YES”, and the flow advances to step SB33.
It is determined whether the gate time register GATE1 or GATE2 is "0". This is to determine whether or not the phrase is being reproduced when the phrase switch PHSW1 or PHSW2 is turned off. In other words, after turning on the phrase switch PHSW1 or PHSW2, the phrase event PEVT is read from the song play track, and the phrase based on the phrase event PEVT is read from the phrase switch PHSW1 or PHS.
This is to prevent the reproduction of this phrase from being terminated midway when the reproduction is performed in place of the phrase based on W2. If the phrase event data PEVT read from the song play track remains when the phrase switch PHSW1 or PHSW2 is turned off, the phrase run flag PHRUN1 or PHRUN
If RUN2 is forcibly set to "0", the playback of the phrase ends. Therefore, the gate time register G
If ATE1 or GATE2 is "0", the result of the determination in step SB33 is "YES", the flow proceeds to step SB34, and the phrase run flag PH
"0" is set to RUN1 or PHRUN2. Thereby, the reproduction of the phrase ends.
【0071】一方、ゲートタイムレジスタGATE1も
しくはGATE2が「0」でない場合には、前述のよう
にフレーズイベントデータPEVTに基づくフレーズデ
ータの再生中であるので、フレーズランフラグPHRU
N1、もしくはPHRUN2に「0」を設定せずに、ス
テップSB35に進む。この場合には、割込み処理にお
けるステップSC14〜SC16において、ゲートタイ
ムレジスタGATE1もしくはGATE2が「0」にな
るまで、フレーズランフラグPHRUN1もしくはPH
RUN2は「0」にならないため、ステップSC23以
降において、フレーズの再生が行われる。On the other hand, if the gate time register GATE1 or GATE2 is not "0", since the phrase data based on the phrase event data PEVT is being reproduced as described above, the phrase run flag PHRU
The process proceeds to Step SB35 without setting “0” to N1 or PHRUN2. In this case, in steps SC14 to SC16 in the interrupt processing, the phrase run flag PHRUN1 or PHRUN1 is set until the gate time register GATE1 or GATE2 becomes "0".
Since RUN2 does not become “0”, the phrase is reproduced in step SC23 and thereafter.
【0072】§5.ソングデータ再生処理(フレーズス
イッチPHSW1,2によるフレーズの発音処理のみ伴
う場合) 次に、ソングデータ再生処理において、フレーズスイッ
チPHSW1もしくは2の操作があり、該操作結果をフ
レーズデータPDATAnとして記録せずにフレーズの
発音のみ行う場合について説明する。この場合は、ステ
ップSB1およびステップSB6における判断結果が
「NO」となり、ステップSB18に進む。そして、ス
テップSB18における判断結果が「YES」となり、
ステップSB19に進み、ソングプレイトラックの再生
中であることからこの判断結果が「YES」となって、
ステップSB24に進む。その後、ステップSB24に
おいてソングレックフラグSRUN2が「1」であるか
否かを判断し、RECスイッチRCが操作されていない
場合は「NO」となり、ステップSB28へ進む。§5. Song Data Reproduction Process (When Only Phrase Sound Processing is Performed by Phrase Switches PHSW1 and PHSW2) Next, in the song data reproduction process, there is an operation of the phrase switch PHSW1 or PHSW2. A case in which only a phrase is pronounced will be described. In this case, the determination result in step SB1 and step SB6 is “NO”, and the process proceeds to step SB18. Then, the result of the determination at step SB18 becomes "YES",
Proceeding to step SB19, the result of this determination is "YES" since the song play track is being reproduced, and
Proceed to step SB24. Thereafter, in step SB24, it is determined whether or not the song recording flag SRUN2 is "1". If the REC switch RC is not operated, "NO" is determined, and the process proceeds to step SB28.
【0073】ここで、フレーズスイッチPHSW1が操
作されている場合は、ステップSB28において、フレ
ーズオンフラグPHON3に「1」を設定し、フレーズ
ナンバレジスタPHNUM3に、フレーズアサインレジ
スタPHASIN1の内容を設定する。また、フレーズ
スイッチPHSW2が操作されている場合は、フレーズ
オンフラグ4に「1」を設定し、フレーズナンバレジス
タPHNUM4にフレーズアサインレジスタPHASI
N2の内容を設定する。次に、ステップSB29に進
み、フレーズナンバレジスタPHNUM3(もしくはP
HNUM4)の示すフレーズデータPDATAnのヘッ
ダPHDRのデータを読み出して、音源回路7等に設定
する。If the phrase switch PHSW1 is operated, "1" is set in the phrase on flag PHON3 in step SB28, and the contents of the phrase assign register PHASIN1 are set in the phrase number register PHNUM3. When the phrase switch PHSW2 is operated, the phrase on flag 4 is set to "1", and the phrase number register PHNUM4 is set to the phrase assignment register PHASI.
Set the contents of N2. Next, the process proceeds to a step SB29, wherein the phrase number register PHNUM3 (or PNUM3) is set.
The data of the header PHDR of the phrase data PDATAn indicated by HNUM4) is read and set in the tone generator circuit 7 or the like.
【0074】タイマ割込み処理 次に、タイマ割込み処理について説明する。ここで、ソ
ングプレイトラックから読み出されるフレーズイベント
データPEVTに基づきフレーズが再生されている時
に、フレーズスイッチPHSW1が操作され、フレーズ
を重ねて再生する場合について示す。Next, the timer interrupt processing will be described. Here, a case will be described in which the phrase switch PHSW1 is operated when the phrase is reproduced based on the phrase event data PEVT read from the song play track, and the phrase is reproduced in a superimposed manner.
【0075】<フレーズデータPDATAn再生処理> まず、この場合、ステップSC23以下のフレーズデー
タPDATAn再生処理において、カウンタiの値が
「1」である時、上述したようにソングプレイトラック
から読み出されるフレーズイベントデータPEVTに基
づき、フレーズデータPDATAnが再生される。<Phrase Data PDATAn Reproduction Processing> First, in this case, in the phrase data PDATAn reproduction processing in step SC23 and thereafter, when the value of the counter i is "1", the phrase event read out from the song play track as described above. The phrase data PDATAn is reproduced based on the data PEVT.
【0076】また、この場合には、ステップSB28に
おいてフレーズオンフラグPHON3に「1」が設定さ
れているので、カウンタiの値が「3」となった時、ス
テップSC26における判断結果が「YES」となる。
そして、ステップSC27に進み、フレーズナンバレジ
スタPHNUM3の示すフレーズデータPDATAnの
最初のタイミングデータPTMを読み出し、フレーズタ
イムレジスタPHTIME3に設定する。次に、ステッ
プSC28に進み、フレーズランフラグPHRUN3に
「1」を設定し、フレーズオンフラグPHON3に
「0」を設定する。In this case, since "1" is set in the phrase on flag PHON3 in step SB28, when the value of the counter i becomes "3", the result of the determination in step SC26 is "YES". Becomes
Then, the process proceeds to a step SC27, where the first timing data PTM of the phrase data PDATAn indicated by the phrase number register PHNUM3 is read and set in the phrase time register PHTIME3. Next, the process proceeds to step SC28, in which the phrase run flag PHRUN3 is set to "1", and the phrase on flag PHON3 is set to "0".
【0077】ここで、フレーズランフラグPHRUN3
が「1」となるので、ステップSC29における判断結
果が「YES」となり、ステップSC32に進む。そし
て、ステップSC32においてフレーズタイムレジスタ
PHTIME3をデクリメントし、ステップSC33に
おいてフレーズタイムレジスタPHTIME3が「0」
であるか否かを判断する。フレーズタイムレジスタPH
TIME3がまだ「0」に達していない場合は、ステッ
プSC30に進み、「0」に達した場合は、ステップS
C34に進んで、フレーズナンバレジスタPHNUM3
の示すフレーズデータPDATAnのイベントデータを
読み出す。ここで読み出すフレーズデータPDATAn
は、フレーズスイッチPHSW1に割り当てられたフレ
ーズデータPDATAnである。以下、上述したよう
に、読み出したイベントデータに基づきスピーカから楽
音を発音する。この時、フレーズデータPDATAnの
再生中に、フレーズデータPDATAnが重ねて再生さ
れる。Here, the phrase run flag PHRUN3
Is "1", the result of the determination in step SC29 is "YES", and the flow proceeds to step SC32. In step SC32, the phrase time register PHTIME3 is decremented, and in step SC33, the phrase time register PHTIME3 is set to "0".
Is determined. Phrase time register PH
If TIME3 has not yet reached “0”, the process proceeds to step SC30. If TIME3 has reached “0”, the process proceeds to step SC30.
Proceeding to C34, the phrase number register PHNUM3
The event data of the phrase data PDATAn indicated by is read. Phrase data PDATAn to be read here
Is the phrase data PDATAn assigned to the phrase switch PHSW1. Hereinafter, as described above, a tone is generated from the speaker based on the read event data. At this time, while the phrase data PDATAn is being reproduced, the phrase data PDATAn is reproduced in an overlapping manner.
【0078】この場合は、上述したフレーズトラックP
T1の再生中にフレーズトラックPT3の同時再生を実
現するものである。In this case, the phrase track P
Simultaneous reproduction of the phrase track PT3 is realized during reproduction of T1.
【0079】フレーズスイッチPHSW1,2のOF
F処理 一方、フレーズスイッチPHSW1もしくは2がOFF
された場合は、上述したように、スイッチ処理におい
て、ステップSB30以下の処理を行う。それによっ
て、フレーズの再生が終了する。OF of phrase switches PHSW1 and PHSW2
F processing On the other hand, the phrase switch PHSW1 or 2 is OFF
If so, the process from step SB30 is performed in the switch process as described above. Thereby, the reproduction of the phrase ends.
【0080】§6.ストップ処理 次に、ソングデータの再生中に、スタート/ストップス
イッチSTART/STOPが操作されることによって
行われるストップ処理について説明する。この場合、ス
テップSB6における判断結果が「YES」となり、ス
テップSB7に進み、ソングプレイ・ランフラグSRU
N1が「0」であるか否かを判断する。ソングプレイト
ラックの再生中はこの判断結果は「NO」となり、ステ
ップSB14に進む。そして、ステップSB14におい
て、ソングプレイ・ランフラグSRUN1、フレーズラ
ンフラグPHRUN1およびPHRUN2に「0」を設
定する。次に、ステップSB15に進み、ソングレック
・ランフラグSRUN2が「1」であるか否かを判断
し、ソングレックトラックの記録中でない場合はこの判
断結果は「NO」となり、以降の処理に進む。また、ソ
ングレックトラックの記録中である場合は、ステップS
B15における判断結果は「YES」となり、ステップ
SB16に進み、ソングレック・ランフラグSRUN2
に「0」を設定する。そして、ステップSB17に進
み、ソングレックトラックに記録されたデータをソング
プレイトラックにミックスし、タイミングデータTIM
Eを新たに付与することにより、ソングプレイトラック
を更新する。§6. Stop Processing Next, stop processing performed by operating the start / stop switch START / STOP during reproduction of song data will be described. In this case, the result of the determination in step SB6 is "YES", the process proceeds to step SB7, and the song play / run flag SRU
It is determined whether N1 is "0". During the playback of the song play track, the result of this determination is "NO", and the routine proceeds to step SB14. Then, in step SB14, “0” is set to the song play / run flag SRRUN1, the phrase run flags PHRUN1 and PHRUN2. Next, the process proceeds to step SB15, where it is determined whether or not the song-record run flag SRUN2 is "1". If the song-record track is not being recorded, the result of this determination is "NO", and the process proceeds to subsequent processes. If a song recording track is being recorded, step S
The decision result in B15 is "YES", the process proceeds to Step SB16 in which the song-record run flag SRRUN2
Is set to “0”. Then, the process proceeds to a step SB17, wherein the data recorded on the song recording track is mixed with the song play track, and the timing data TIM
By newly adding E, the song play track is updated.
【0081】(3)まとめ 次に、本実施例による自動演奏装置の操作に応じた動作
を、上述したフレーズトラックPT1〜PT4を用いて
説明する。(3) Summary Next, the operation according to the operation of the automatic performance device according to the present embodiment will be described using the above-described phrase tracks PT1 to PT4.
【0082】<通常のリアルタイム演奏> 電源投入後、演奏者が鍵盤スイッチKEY,KEY,…
を操作すると、該鍵盤スイッチKEY,KEY,…に対
応する楽音がスピーカから発音される。また、フレーズ
スイッチPHSW1が操作されると、フレーズスイッチ
PHSW1に割り当てられたフレーズデータPDATA
nがフレーズトラックPT3により再生され、フレーズ
スイッチPHSW2が操作されると、フレーズトラック
PT4により再生される。<Normal Real-Time Performance> After the power is turned on, the performer switches the keyboard switches KEY, KEY,.
Is operated, musical tones corresponding to the keyboard switches KEY, KEY,. When the phrase switch PHSW1 is operated, the phrase data PDATA assigned to the phrase switch PHSW1 is changed.
n is reproduced by the phrase track PT3, and when the phrase switch PHSW2 is operated, it is reproduced by the phrase track PT4.
【0083】<ソングデータ再生> 演奏者が、スタート/ストップスイッチSTART/S
TOPを操作すると、ソングプレイトラックが再生され
ることにより自動演奏が開始される。このソングプレイ
トラック中にフレーズイベントデータPEVTが記録さ
れている場合は、該フレーズイベントデータPEVTの
示すフレーズデータPDATAnが再生される。このフ
レーズイベントデータPEVTが、フレーズスイッチP
HSW1の操作によって記録されているものである場
合、ROM3より読み出されるフレーズデータPDAT
AnがフレーズトラックPT1により再生され、フレー
ズスイッチPHSW2の操作によって記録されているも
のである場合は、フレーズトラックPT2により再生さ
れる。<Song Data Reproduction> The player operates the start / stop switch START / S
When the TOP is operated, an automatic performance is started by reproducing the song play track. When the phrase event data PEVT is recorded in the song play track, the phrase data PDATAn indicated by the phrase event data PEVT is reproduced. This phrase event data PEVT is stored in the phrase switch P
If the data is recorded by the operation of the HSW1, the phrase data PDAT read from the ROM3
If An is reproduced by the phrase track PT1 and recorded by operating the phrase switch PHSW2, it is reproduced by the phrase track PT2.
【0084】また、演奏者がRECスイッチRCを操作
した後スタート/ストップスイッチSTART/STO
Pを操作すると、ソングの記録(オーバーダビング)が
開始される。記録中にフレーズスイッチPHSW1を操
作すると、フレーズスイッチPHSW1に割り当てられ
たフレーズデータPDATAnがフレーズトラックPT
1により読み出され、このイベントがフレーズイベント
データPEVTとしてフレーズレックトラックに記録さ
れる。この時、ソングプレイトラック中のフレーズイベ
ントデータPEVTに基づき、フレーズトラックPT1
によりフレーズデータPDATAnが再生されている場
合、再生中であったフレーズデータPDATAnが中断
され、新たに指定されたフレーズスイッチPHSW1に
よるフレーズデータPDATAnがフレーズトラックP
T1により再生されると共に、ソングレックトラックに
フレーズイベントPEVTが記録される。また、この新
たに記録されたフレーズイベントデータPEVTは、操
作終了時にソングプレイトラックにミックスされる。一
方、以上のようなフレーズデータPDATAnの再生時
に、演奏者がフレーズスイッチPHSW2を操作する
と、フレーズスイッチPHSW2に割り当てられたフレ
ーズデータPDATAnが読み出され、フレーズトラッ
クPT2に記録される。そして、フレーズトラックPT
1と共にフレーズトラックPT2が同時に再生され、こ
の状態がソングレックトラックに記録される。After the player operates the REC switch RC, the start / stop switch START / STO
When P is operated, song recording (overdubbing) is started. When the phrase switch PHSW1 is operated during recording, the phrase data PDATAn assigned to the phrase switch PHSW1 is changed to the phrase track PTSW1.
1, and this event is recorded on the phrase recording track as phrase event data PEVT. At this time, the phrase track PT1 is determined based on the phrase event data PEVT in the song play track.
When the phrase data PDATAn is being reproduced by the phrase track, the phrase data PDATAn being reproduced is interrupted, and the phrase data PDATAn by the newly designated phrase switch PHSW1 is replaced with the phrase track P.
The phrase event PEVT is recorded on the song recording track while being reproduced by T1. The newly recorded phrase event data PEVT is mixed with the song play track at the end of the operation. On the other hand, when the player operates the phrase switch PHSW2 during the reproduction of the phrase data PDATAn as described above, the phrase data PDATAn assigned to the phrase switch PHSW2 is read and recorded on the phrase track PT2. And the phrase track PT
1 and the phrase track PT2 are reproduced simultaneously, and this state is recorded on the song recording track.
【0085】また、ソングプレイトラックの再生中(非
記録中)に、演奏者がフレーズスイッチPHSW1を操
作すると、フレーズスイッチPHSW1に割り当てられ
たフレーズデータPDATAnがフレーズトラックPT
3により再生される。そして、フレーズトラックPT1
と共にフレーズトラックPT3が同時に再生され、2つ
のフレーズが重ねて再生される。When the player operates the phrase switch PHSW1 during the reproduction (non-recording) of the song play track, the phrase data PDATAn assigned to the phrase switch PHSW1 is changed to the phrase track PTDATA.
3 is played. And the phrase track PT1
At the same time, the phrase track PT3 is reproduced simultaneously, and the two phrases are reproduced in an overlapping manner.
【0086】なお、フレーズの情報を記録する自動演奏
は、上記実施例のようにメロディ等を記憶したソングの
自動演奏に限らず、和音、コード進行、もしくはリズム
に関する自動演奏データの中に記録するようにしてもよ
い。また、記憶フォーマットは、実施例のような「ON
イベント+ゲートタイム」方式に限らず、「ONイベン
ト+タイミング」および「OFFイベント+タイミン
グ」方式等、どのような方式でもよい。The automatic performance for recording the information of the phrase is not limited to the automatic performance of the song in which the melody and the like are stored as in the above embodiment, but is recorded in the automatic performance data relating to chords, chord progression or rhythm. You may do so. The storage format is “ON” as in the embodiment.
The system is not limited to the “event + gate time” system, but may be any system such as the “ON event + timing” system and the “OFF event + timing” system.
【0087】フレーズ情報は予めROM3に記憶したも
のに限らず、演奏者が任意に作成したものであってもよ
い。また、フレーズ情報は全て1小節の長さとしたが、
それに限らず、異なる長さのフレーズを混在させてもよ
い。更に、フレーズ情報は、別途指定する和音によりそ
の音高情報を修正するようにしてもよい。The phrase information is not limited to the information stored in the ROM 3 in advance, but may be arbitrarily created by a player. In addition, the phrase information is all one bar long,
The present invention is not limited thereto, and phrases having different lengths may be mixed. Further, the pitch information of the phrase information may be modified by a chord specified separately.
【0088】また、フレーズスイッチPHSW1,PH
SW2がONされてからOFFされるまでの間フレーズ
が再生されるようにしたが、ONされることによりフレ
ーズをその最後まで再生するようにし、OFFイベント
がフレーズの再生と関係のないようにしてもよい。The phrase switches PHSW1, PHSW
Although the phrase is reproduced from the time when SW2 is turned on until it is turned off, the phrase is reproduced to its end when it is turned on, so that the OFF event is not related to the reproduction of the phrase. Is also good.
【0089】外部自動演奏装置とフレーズ演奏装置によ
りデータのやりとりをするようにしてもよい。すなわ
ち、フレーズ演奏装置が、「操作子操作情報+フレーズ
割当情報」を外部自動演奏装置にMIDIコマンド形式
等によって供給し、外部自動演奏装置がこの情報を記録
すると共に、再生時には、外部自動演奏装置がこの情報
を再生し、フレーズ演奏装置へ供給することにより「自
動演奏+フレーズ演奏」を実行するようにしてもよい。Data may be exchanged between an external automatic performance device and a phrase performance device. That is, the phrase playing device supplies "operator operation information + phrase assignment information" to the external automatic playing device in the form of a MIDI command or the like, and the external automatic playing device records this information. May reproduce this information and supply it to the phrase performance device to execute “automatic performance + phrase performance”.
【0090】[0090]
【発明の効果】以上説明したように、請求項1、2に係
る発明によれば、第1の自動演奏情報を識別する識別情
報が割り当てられた操作子が操作されることにより、該
操作子に割り当てられた識別情報が第2の自動演奏情報
中に記録されると共に、再生時に読み出した第2の自動
演奏情報が識別情報である場合に該識別情報に対応する
第1の自動演奏情報を読み出すようにしたので、第1の
自動演奏情報を第2の自動演奏情報と共に自動再生する
にとが可能となる。従って、アドリブ的に挿入した第1
の自動演奏を再現することができる。また、請求項3、
4、5に係る発明によれば、第2の自動演奏情報に第1
の自動演奏情報のいずれかを演奏を指示する指示情報が
記憶されており、第2の自動演奏情報の再生時に該指示
情報に基づいて第1の自動演奏情報が読み出されると共
に、操作子の操作に応じて該操作子に割り当てられた第
1の自動演奏情報が読み出されるので、第2の自動演奏
情報に基づく演奏に加えて、演奏者の操作によって任意
に第1の自動演奏情報を再生することができる。これに
より、更に変化に富んだ演奏を行うことか可能となると
いう効果がある。また、請求項6に係る発明によれば、
第2の記憶手段に第1の記憶手段に記憶されているそれ
自体が楽音を制御する演奏情報であつて所定の長さを有
する自動演奏パターンに対応した識別情報と読み出すタ
イミングを制御するタイミング情報を自動演奏の進行に
従つて記憶し、自動演奏手段が自動演奏中にタイミング
情報に基づいて識別情報が読み出されたときに第1の記
憶手段から対応する自動演奏パターンを読み出して再生
するので、自動演奏の進行に従つて例えばフレーズ演奏
の識別情報と操作情報を記録した後フレーズ演奏を自動
演奏と共に再生することが可能となる。また、請求項7
に係る発明によれば、第1の自動演奏情報が示すフレー
ズが繰り返し演奏されるので、第1の記憶手段の記憶容
量を節約することが可能となる。また、請求項8に係る
発明によれば、操作子と識別情報との対応関係が任意に
設定されるので、少ない操作子で多数のフレーズを演奏
可能となる。As described above, according to the first and second aspects of the present invention, the operating element to which the identification information for identifying the first automatic performance information is assigned is operated, whereby the operating element is controlled. Is recorded in the second automatic performance information, and when the second automatic performance information read at the time of reproduction is the identification information, the first automatic performance information corresponding to the identification information is stored in the second automatic performance information. Since the reading is performed, the first automatic performance information can be automatically reproduced together with the second automatic performance information. Therefore, the first inserted in an ad-lib manner
Can be reproduced automatically. Claim 3
According to the inventions according to the fourth and fifth aspects , the first automatic performance information includes the first automatic performance information.
Instruction information for instructing the performance of any one of the automatic performance information is stored. When the second automatic performance information is reproduced, the first automatic performance information is read out based on the instruction information, and the operation of the operating element is performed. , The first automatic performance information assigned to the operator is read out, so that in addition to the performance based on the second automatic performance information, the first automatic performance information is optionally reproduced by the player's operation. be able to. This has the effect that it is possible to perform a more varied performance. According to the invention of claim 6 ,
Performance information stored in the first storage means in the second storage means itself for controlling the tone, identification information corresponding to an automatic performance pattern having a predetermined length, and timing information for controlling the read timing. Is stored as the automatic performance progresses, and when the automatic performance means reads the identification information based on the timing information during the automatic performance, the corresponding automatic performance pattern is read out from the first storage means and reproduced. After the identification information and the operation information of the phrase performance are recorded in accordance with the progress of the automatic performance, the phrase performance can be reproduced together with the automatic performance. Claim 7
According to the present invention, the phrase indicated by the first automatic performance information is repeatedly played, so that the storage capacity of the first storage means can be saved. Further, according to the invention of claim 8 , since the correspondence between the controls and the identification information is arbitrarily set, a large number of phrases can be played with a small number of controls.
【図1】 この発明の一実施例による自動演奏装置の構
成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an automatic performance device according to an embodiment of the present invention.
【図2】 同実施例における操作パネルの主要部を示す
平面図である。FIG. 2 is a plan view showing a main part of an operation panel in the embodiment.
【図3】 同実施例におけるフレーズデータPDATA
nのフォーマットを示す図である。FIG. 3 shows phrase data PDATA in the embodiment.
It is a figure showing the format of n.
【図4】 同実施例におけるソングデータのフォーマッ
トを示す図である。FIG. 4 is a diagram showing a format of song data in the embodiment.
【図5】 同実施例における各トラックを説明する図で
ある。FIG. 5 is a diagram illustrating each track in the embodiment.
【図6】 同実施例におけるCPU5の動作を示すフロ
ーチャートである。FIG. 6 is a flowchart showing an operation of a CPU 5 in the embodiment.
【図7】 同実施例におけるCPU5の動作を示すフロ
ーチャートである。FIG. 7 is a flowchart showing an operation of a CPU 5 in the embodiment.
【図8】 同実施例におけるCPU5の動作を示すフロ
ーチャートである。FIG. 8 is a flowchart showing an operation of a CPU 5 in the embodiment.
【図9】 同実施例におけるCPU5の動作を示すフロ
ーチャートである。FIG. 9 is a flowchart showing the operation of the CPU 5 in the embodiment.
【図10】 同実施例におけるCPU5の動作を示すフ
ローチャートである。FIG. 10 is a flowchart showing an operation of a CPU 5 in the embodiment.
【図11】 同実施例におけるCPU5の動作を示すフ
ローチャートである。FIG. 11 is a flowchart showing an operation of a CPU 5 in the embodiment.
【図12】 同実施例におけるCPU5の動作を示すフ
ローチャートである。FIG. 12 is a flowchart showing an operation of a CPU 5 in the embodiment.
1……パネルスイッチ、3……ROM(第1の記憶手
段)、 4……RAM(第2の記憶手段)、5……CPU(制御
手段)、 7……音源回路(楽音発生手段)、 PHSW1,2……フレーズスイッチ(操作子)。1 ... panel switch, 3 ... ROM (first storage means), 4 ... RAM (second storage means), 5 ... CPU (control means), 7 ... sound source circuit (musical sound generation means), PHSW1,2 ... Phrase switch (operator).
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭54−118224(JP,A) 特公 昭64−8835(JP,B2) 特公 昭62−30636(JP,B2) 実公 昭63−26875(JP,Y2) 特許2860510(JP,B2) 特許2660462(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 101 - 102 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-54-118224 (JP, A) JP-B 64-8835 (JP, B2) JP-B-62-30636 (JP, B2) 26875 (JP, Y2) Patent 2860510 (JP, B2) Patent 2660462 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) G10H 1/00 101-102
Claims (8)
の記憶手段と、 前記第1の自動演奏情報の各々を識別する複数の識別情
報のいずれかが変更可能に割り当てられた操作子と、第2の自動演奏情報 を記憶する読み書き可能な第2の記
憶手段と、 記録時に、前記操作子の操作に応じて、該操作子に割り
当てられた識別情報を前記第2の自動演奏情報の一情報
として記録する記録手段であって、同じ操作子の操作で
あっても識別情報の割り当て状態に応じて異なる識別情
報を記録する記録手段と、 再生時に、前記第2の自動演奏情報を読み出す第1の読
み出し手段と、 前記第1の読み出し手段によって前記識別情報が読み出
された 場合に該識別情報に対応する第1の自動演奏情報
を読み出す第2の読み出し手段と、前記第1の読み出し手段によって読み出された前記第2
の自動演奏情報と、前記第2の読み出し手段によって読
み出された前記第1の自動演奏情報 に基づき楽音信号を
発生する楽音発生手段とを具備し、前記第1の自動演奏
情報に基づく楽音信号と前記第2の自動演奏情報に基づ
く楽音信号を並列的に発生させることを特徴とする自動
演奏装置。A first memory for storing a plurality of first automatic performance information .
The storage means, and operating elements either have been assigned can be changed in the plurality of identification information identifying each of the first automatic performance information, a second readable and writable for storing second automatic performance information storage means, during recording, in response to the operation of the operating element, a recording means for recording the identification information assigned to該操Sakuko as an information of the second automatic performance information, the same operator In operation
Different identification information depending on the assignment status of the identification information.
Recording means for recording the second automatic performance information during reproduction.
The identification information is read out by the reading means and the first reading means.
Second reading means for reading the first automatic performance information corresponding to the identification information when it is, the second read by the first read means
Read by the second reading means.
; And a tone generating means for generating a musical tone signal based on the was Desa see first automatic performance information, said first automatic performance
Based on the tone signal based on the information and the second automatic performance information.
An automatic performance device characterized by generating musical tone signals in parallel .
段による前記第2の自動演奏情報の読み出し中に動作可
能であり、前記第2の自動演奏情報の読み出し中に前記
操作子が操作されたとき、該操作のあったタイミングを
示すタイミング情報と、該操作子に割り当てられた識別
情報を、前記第2の自動演奏情報中に記録することを特
徴とする請求項1に記載の自動演奏装置。2. The recording device according to claim 1 , wherein
Operable during reading of the second automatic performance information by step
During the reading of the second automatic performance information,
When an operator is operated, the timing of the operation
Timing information and the identification assigned to the operator
2. The automatic performance apparatus according to claim 1 , wherein information is recorded in the second automatic performance information .
の記憶手段と、前記第1の自動演奏情報のいずれかを識別し、該第1の
自動演奏情報の演奏を指示する識別情報を含む第2の自
動演奏情報を記憶した 第2の記憶手段と、前記第1の自動演奏情報のいずれかが割り当てられた操
作子と、 前記第2の自動演奏情報 を読み出す第1の読み出し手段
と、複数の第1の自動演奏情報を並列的に再生可能な複数の
読み出し系列を有し、前記第2の自動演奏情報中から読
み出された前記識別情報が示す前記第1の自動演奏情報
と、前記操作子の操作に応じて指示された該操作子に割
り当てられた前記第1の自動演奏情報とを、前記複数の
読み出し系列により並列的に前記第1の記憶手段から読
み出す第2の読み出し手段と、 前記第1の読み出し手段によって読み出される前記第2
の自動演奏情報及び前記第2の読出手段によって読み出
される前記第1の自動演奏情報に基づき楽音信号を発生
する楽音発生手段とを具備する ことを特徴とする自動演
奏装置。3. A first memory for storing a plurality of first automatic performance information .
Storage means, and any one of the first automatic performance information,
A second self including identification information instructing the performance of the automatic performance information.
A second storage means for storing moving performance information ; and an operation to which one of the first automatic performance information is assigned.
A first reading means for reading the second automatic performance information ;
Having a read sequence and reading from the second automatic performance information.
The first automatic performance information indicated by the extracted identification information.
And the operator is instructed according to the operation of the operator.
The assigned first automatic performance information to the plurality of
Reading from the first storage means in parallel by a reading sequence
Second reading means for reading out, and the second reading means read by the first reading means.
Read out by the second reading means.
Generating a tone signal based on the first automatic performance information
An automatic performance device comprising:
の記憶手段と、 前記第1の自動演奏情報のうちの、いずれか複数を識別
し、該複数の第1の自動演奏情報の演奏を指示する複数
の識別情報を含む第2の自動演奏情報を記憶した第2の
記憶手段と、 前記第2の自動演奏情報を読み出す第1の読み出し手段
と、 複数の第1の自動演奏情報を並列的に再生可能な複数の
読み出し系列を有し、前記第2の自動演奏情報中から読
み出された複数の前記識別情報が示す複数の前記第1の
自動演奏情報を、前記複数の読み出し系列により並列的
に前記第1の記憶手段から読み出す第2の読み出し手段
と、 前記第1の読み出し手段によって読み出される前記第2
の自動演奏情報及び前記第2の読出手段によって読み出
される前記第1の自動演奏情報に基づき楽音信号を発生
する楽音発生手段とを具備することを特徴とする自動演
奏装置。 4. A first memory for storing a plurality of first automatic performance information.
And a plurality of ones of the first automatic performance information are identified.
And a plurality of instructions for performing the plurality of first automatic performance information.
Stored in the second automatic performance information including the identification information of
Storage means, and first reading means for reading the second automatic performance information
And a plurality of first automatic performance information that can be reproduced in parallel.
Having a read sequence and reading from the second automatic performance information.
The plurality of first information items indicated by the extracted plurality of identification information items
Automatic performance information is parallelized by the plurality of readout sequences.
Reading means for reading from the first storage means
And the second readout by the first readout means.
Read out by the second reading means.
Generating a tone signal based on the first automatic performance information
Automatic tone generation means comprising
Playing device.
の記憶手段と、 前記第1の自動演奏情報のいずれかを識別し、該第1の
自動演奏情報の演奏を指示する識別情報をその指示タイ
ミングを示すタイミング情報とともに記憶した第2の記
憶手段と、 前記第1の自動演奏情報のいずれかが割り当てられた操
作子と、 前記第2の記憶手段に記憶された識別情報を、前記タイ
ミング情報に基づいて読み出す第1の読み出し手段と、 複数の第1の自動演奏情報を並列的に再生可能な複数の
読み出し系列を有し、前記第2の記憶手段から読み出さ
れた前記識別情報が示す前記第1の自動演奏情報と、前
記操作子の操作に応じて指示された該操作子に割り当て
られた前記第1の自動演奏情報とを、前記複数の読み出
し系列により並列的に前記第1の記憶手段から読み出す
第2の読み出し手段と、 前記第2の読み出し手段によって読み出される前記第1
の自動演奏情報に基づき楽音信号を発生する楽音発生手
段とを具備することを特徴とする自動演奏装置。 5. A first memory for storing a plurality of first automatic performance information.
Storage means, and any one of the first automatic performance information,
The identification information for instructing the performance of the automatic performance information
Second information stored together with timing information indicating
Storage means and an operation to which any of the first automatic performance information is assigned.
The seeds and the identification information stored in the second storage means are stored in the
First reading means for reading based on the timing information, and a plurality of first automatic performance information which can be reproduced in parallel.
Having a read sequence, read from the second storage means.
The first automatic performance information indicated by the identified identification information;
Assigned to the operator specified according to the operation of the operator
The first automatic performance information thus obtained and the plurality of readouts.
Read out from the first storage means in parallel according to the sequence
Second reading means, and the first reading means which is read by the second reading means.
Tone generator that generates tone signals based on automatic performance information
An automatic performance device comprising a step.
の記憶手段と、Storage means; 前記第1の自動演奏情報のうちの、いずれか複数を識別Identify any plurality of the first automatic performance information
し、該第1の自動演奏情報の演奏を指示する複数の識別And a plurality of identifications for instructing the performance of the first automatic performance information.
情報をその指示タイミングを示すタイミング情報とともInformation along with timing information indicating the timing of the instruction.
に記憶した第2の記憶手段と、Second storage means stored in 前記第2の記憶手段に記憶された識別情報を、前記タイThe identification information stored in the second storage means is stored in the
ミング情報に基づいて読み出す第1の読み出し手段と、First reading means for reading based on the timing information, 複数の第1の自動演奏情報を並列的に再生可能な複数のA plurality of first automatic performance information that can be reproduced in parallel
読み出し系列を有し、前記第2の記憶手段から読み出さHaving a read sequence, read from the second storage means.
れた複数の前記識別情報が示す複数の前記第1の自動演A plurality of the first automatic performances indicated by the plurality of
奏情報を、前記複数の読み出し系列により並列的に前記Performance information in parallel with the plurality of readout sequences.
第1の記憶手段から読み出す第2の読み出し手段と、Second reading means for reading from the first storage means; 前記第2の読み出し手段によって読み出される複数の前A plurality of fronts read by the second reading means
記第1の自動演奏情報に基づき楽音信号を発生する楽音A tone generating a tone signal based on the first automatic performance information;
発生手段とを具備することを特徴とする自動演奏装置。An automatic performance device comprising: a generator.
奏開始から演奏終了までの期間を制御する制御データをControl data that controls the period from the start of the performance to the end of the performance
含み、Including 前記第2の読み出し手段は前記制御データが示す期間、The second reading means performs a period indicated by the control data,
前記識別情報が示す前記第1の自動演奏情報を読み出すReading out the first automatic performance information indicated by the identification information
ものであって、該期間が経過する前に該自動演奏情報のThe automatic performance information before the time period elapses.
読み出しが最後まで達したとき、先頭に戻って繰り返しWhen reading reaches the end, return to the top and repeat
読み出すことをTo read 特徴とする請求項1乃至6のいずれかにThe method according to any one of claims 1 to 6, wherein
記載の自動演奏装置。The automatic performance device as described.
を任意に設定可能とする手段を備えることを特徴とするCharacterized in that it comprises means for enabling arbitrary setting of
請求項3または5のいずれかに記載の自動演奏装置。The automatic performance device according to claim 3.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5098166A JP3027898B2 (en) | 1993-04-23 | 1993-04-23 | Automatic performance device |
| US08/203,892 US5532425A (en) | 1993-03-02 | 1994-03-01 | Automatic performance device having a function to optionally add a phrase performance during an automatic performance |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5098166A JP3027898B2 (en) | 1993-04-23 | 1993-04-23 | Automatic performance device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06308954A JPH06308954A (en) | 1994-11-04 |
| JP3027898B2 true JP3027898B2 (en) | 2000-04-04 |
Family
ID=14212497
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5098166A Expired - Fee Related JP3027898B2 (en) | 1993-03-02 | 1993-04-23 | Automatic performance device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3027898B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7332666B2 (en) | 2004-08-05 | 2008-02-19 | Yamaha Corporation | Performance control system, performance control apparatus, performance control method, program for implementing the method, and storage medium storing the program |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2660462B2 (en) | 1991-08-01 | 1997-10-08 | 株式会社河合楽器製作所 | Automatic performance device |
| JP2860510B2 (en) | 1991-08-09 | 1999-02-24 | 株式会社河合楽器製作所 | Automatic performance device |
| JP6230636B2 (en) | 2016-02-05 | 2017-11-15 | 株式会社大一商会 | Game machine |
-
1993
- 1993-04-23 JP JP5098166A patent/JP3027898B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2660462B2 (en) | 1991-08-01 | 1997-10-08 | 株式会社河合楽器製作所 | Automatic performance device |
| JP2860510B2 (en) | 1991-08-09 | 1999-02-24 | 株式会社河合楽器製作所 | Automatic performance device |
| JP6230636B2 (en) | 2016-02-05 | 2017-11-15 | 株式会社大一商会 | Game machine |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06308954A (en) | 1994-11-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4321476B2 (en) | Electronic musical instruments | |
| JP3846376B2 (en) | Automatic performance device, automatic performance program, and automatic performance data recording medium | |
| JPH1069273A (en) | Playing instruction device | |
| US5532425A (en) | Automatic performance device having a function to optionally add a phrase performance during an automatic performance | |
| JP3027898B2 (en) | Automatic performance device | |
| JPH1115481A (en) | Karaoke equipment | |
| JP2002169547A (en) | Automatic performance device and automatic performance method | |
| JP4117596B2 (en) | Automatic performance device and automatic performance method | |
| JP2591308B2 (en) | Automatic performance device | |
| JP2641851B2 (en) | Automatic performance device | |
| JP5200384B2 (en) | Electronic musical instruments and programs | |
| JP3757664B2 (en) | Performance information reproducing apparatus and computer-readable recording medium recording performance information reproducing program | |
| JP2625800B2 (en) | Automatic performance device | |
| JP2658789B2 (en) | Automatic performance device | |
| JP4315116B2 (en) | Electronic music equipment | |
| JP3988812B2 (en) | Automatic performance controller | |
| JP3369257B2 (en) | Automatic performance recorder | |
| JP2548723Y2 (en) | Music playback device | |
| EP3998600B1 (en) | Recording/playback device and method | |
| JPH10254443A (en) | Device and method for punching in and medium recording program | |
| JPH11219175A (en) | Automatic performance device | |
| JP2004341385A (en) | Performance recording / playback apparatus and performance recording / playback program | |
| JP3178176B2 (en) | Automatic accompaniment device | |
| JP3407625B2 (en) | Automatic performance apparatus, automatic performance method, and medium recording program | |
| JP3446278B2 (en) | Automatic performance device |
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: 19991130 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080204 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090204 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |