JPH0619469A - Automatic playing device - Google Patents
Automatic playing deviceInfo
- Publication number
- JPH0619469A JPH0619469A JP4001785A JP178592A JPH0619469A JP H0619469 A JPH0619469 A JP H0619469A JP 4001785 A JP4001785 A JP 4001785A JP 178592 A JP178592 A JP 178592A JP H0619469 A JPH0619469 A JP H0619469A
- Authority
- JP
- Japan
- Prior art keywords
- performance
- performance data
- data
- register
- flag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は曲の自動演奏を行う自
動演奏装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic playing device for automatically playing music.
【従来の技術】演奏データを記憶するメモリを備え、演
奏者によって指示された場合にメモリから演奏データを
逐次読み出し自動演奏を行う自動演奏装置が知られてい
る。2. Description of the Related Art There is known an automatic performance device which is provided with a memory for storing performance data and which sequentially reads performance data from the memory and performs an automatic performance when instructed by a player.
【0002】[0002]
【発明が解決しようとする課題】ところで、自動演奏装
置を用いて自動演奏を行う場合、メモリに記憶された曲
の演奏データを繰り返し再生し、いわゆるエンドレスな
自動演奏を行うことがある。しかしながら、繰り返し再
生される演奏データの中にイントロ部あるいはエンディ
ング部に対応したものが含まれていると、イントロ演奏
あるいはエンディング演奏が何回も行われてしまい、同
じ曲が複数回演奏される印象となってしまう。エンドレ
ス再生を利用して長い一曲を再生しようとする場合、こ
のようなことは音楽的に見て不適当であり、イントロ演
奏は曲の先頭のみにエンドレス演奏は曲の最後のみにあ
ることが望ましい。この発明は上述した事情に鑑みてな
されたものであり、エンドレスな自動演奏が可能である
と共に演奏データの中にイントロ部あるいはエンディン
グ部といった曲の特定部に対応した演奏データがある場
合においても、音楽的違和感を生じることなく自動演奏
を行うことができる自動演奏装置を提供することを目的
とする。By the way, when an automatic performance is performed by using an automatic performance device, the performance data of the music stored in the memory may be repeatedly reproduced to perform so-called endless automatic performance. However, if the performance data that is repeatedly played contains data corresponding to the intro or ending part, the intro or ending performance will be performed many times, and the same song will be played multiple times. Will be. When trying to play a long song using endless playback, this kind of thing is musically inappropriate, and the intro performance is only at the beginning of the song and the endless performance is only at the end of the song. desirable. The present invention has been made in view of the above-mentioned circumstances. Even when the endless automatic performance is possible and the performance data includes performance data corresponding to a specific part of the music such as an intro part or an ending part, It is an object of the present invention to provide an automatic performance device capable of performing an automatic performance without causing a musical discomfort.
【0003】[0003]
【課題を解決するための手段】請求項1に係る発明は、
主要部分の演奏データと特定部分の演奏データとを組み
合わせて所定曲の演奏データとして記憶した記憶手段
と、前記主要部分の演奏データと前記特定部分の演奏デ
ータとをそれぞれ前記記憶手段から読み出すとともに、
該読み出された主要部分の演奏データと特定部分の演奏
データに基づいて前記所定曲の自動演奏を行う自動演奏
手段と、前記自動演奏手段によって前記特定部分の演奏
データが読み出されたときは該特定部分の演奏データの
読出終了とともに該所定曲の自動演奏を終了させるよう
に前記自動演奏手段を制御する終了制御手段と、前記自
動演奏手段によって前記特定部分の演奏データが読み出
されないときは前記主要部分の演奏データを繰り返し読
み出すように前記自動演奏手段を制御する繰り返し制御
手段とを具備することを特徴としている。請求項2に係
る発明は、主要部分の演奏データと特定部分の演奏デー
タとを組み合わせて所定曲の演奏データとして記憶した
記憶手段と、前記主要部分の演奏データと前記特定部分
の演奏データとをそれぞれ前記記憶手段から読み出すと
ともに、該読み出された主要部分の演奏データと特定部
分の演奏データに基づいて前記所定曲の自動演奏を行う
自動演奏手段と、前記自動演奏手段によって前記特定部
分の演奏データが読み出されたときは、該特定部分の演
奏データの読出終了後、前記主要部分の演奏データを読
み出すように前記自動演奏手段を制御すると共に、前記
主要部分の演奏データの読出終了後は前記特定部分の演
奏データより後の演奏データから自動演奏を再開するよ
うに前記自動演奏手段を制御する制御手段とを具備する
ことを特徴としている。The invention according to claim 1 is
A storage unit that stores the performance data of the main portion and the performance data of the specific portion as performance data of a predetermined song, and the performance data of the main portion and the performance data of the specific portion are read from the storage unit, respectively,
When the performance data of the specific portion is read by the automatic performance means for automatically performing the predetermined music based on the read performance data of the main portion and the performance data of the specific portion, When the performance data of the specific portion is not read by the end control means for controlling the automatic performance means so as to end the automatic performance of the predetermined music upon completion of reading the performance data of the specific portion. Repetition control means for controlling the automatic performance means so as to repeatedly read the performance data of the main part is provided. According to a second aspect of the present invention, the storage means stores the performance data of the main part and the performance data of the specific part in combination as the performance data of a predetermined song, and the performance data of the main part and the performance data of the specific part. An automatic performance means for automatically reading out the predetermined song based on the read performance data of the main part and the performance data of the specific part, and a performance of the specific part by the automatic performance means. When the data is read, the automatic performance means is controlled so as to read the performance data of the main portion after the performance data of the specific portion is read, and after the performance data of the main portion is read. Control means for controlling the automatic performance means so as to restart the automatic performance from the performance data after the performance data of the specific portion. It is characterized.
【0004】[0004]
【作用】上記請求項1に係る発明によれば、自動演奏の
演奏データに特定部分の演奏データがあれば、自動演奏
手段はその特定部分の演奏終了とともに曲の演奏を終了
し、特定部分の演奏データがなければ、主要部分の演奏
データの演奏をエンドレスに繰り返す。上記請求項2に
係る発明によれば、自動演奏手段は、特定部分の演奏デ
ータの演奏後、主要部分の演奏データの演奏を行い、該
主要部分の演奏データの演奏終了後、前記特定部分の演
奏データの後の演奏データから自動演奏を再開する。According to the first aspect of the present invention, if the performance data of the automatic performance includes the performance data of the specific portion, the automatic performance means terminates the performance of the music at the end of the performance of the specific portion. If there is no performance data, the performance of the main performance data is repeated endlessly. According to the invention of claim 2, the automatic performance means performs the performance data of the main part after the performance data of the specific part is performed, and after the performance data of the main part is finished, The automatic performance is restarted from the performance data after the performance data.
【0005】[0005]
【実施例】以下、図面を参照し、本発明の一実施例を説
明する。図1はこの発明の一実施例による自動演奏装置
の構成を示すブロック図である。この図において、1は
パッドスイッチ群、2は演奏制御に係るパラメータ設定
あるいはモード設定を指示するための操作子群、3は表
示器である。なお、これらの要素の詳細については後述
する。4はこの自動演奏装置を構成する各部を制御する
CPU(中央処理ユニット)である。5はタイマ発振器
であり、CPU4に対し一定周期間隔でタイマ割込み信
号RINTを出力する。また、6はROMであり、CP
U4が実行する各種制御プログラムの他、制御に必要な
制御情報あるいは各種演奏パターン等が記憶されてい
る。また、7はRAM(ランダムアクセスメモリ)であ
り、後述のコードシーケンス演奏のための演奏データが
記憶される他、CPU3が行う制御に使用されるレジス
タ、フラグなどが設定される。なお、RAM7に設定さ
れるレジスタ、フラグについては後述する。8はリズム
音源であり、CPU1から与えられる発音指示に従って
リズム音を形成する。また、9は音階音音源であり、C
PU1からの発音指示によって指定された音高の楽音を
形成する。これらの各音源によって形成された楽音はサ
ウンドシステム10によって発音される。Bはバスであ
り、以上説明した各要素1、2、3、4、6、7、8お
よび9によって行われる各種データの授受のための通信
経路として使用される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an automatic performance device according to an embodiment of the present invention. In this figure, 1 is a pad switch group, 2 is an operator group for instructing parameter setting or mode setting relating to performance control, and 3 is a display. The details of these elements will be described later. Reference numeral 4 denotes a CPU (central processing unit) that controls each part of the automatic musical instrument. A timer oscillator 5 outputs a timer interrupt signal RINT to the CPU 4 at regular intervals. Also, 6 is a ROM, CP
In addition to various control programs executed by U4, control information necessary for control or various performance patterns are stored. A RAM (random access memory) 7 stores performance data for a chord sequence performance, which will be described later, as well as registers and flags used for control performed by the CPU 3. The registers and flags set in the RAM 7 will be described later. Reference numeral 8 denotes a rhythm sound source, which forms a rhythm sound according to a sounding instruction given from the CPU 1. 9 is a scale sound source, and C
A musical tone having a pitch designated by the pronunciation instruction from PU1 is formed. The musical tone formed by each of these sound sources is generated by the sound system 10. B is a bus, which is used as a communication path for exchanging various data performed by the elements 1, 2, 3, 4, 6, 7, 8 and 9 described above.
【0006】次に図2はこの自動演奏装置の外観を示す
平面図である。図2において、PA1〜PAkは各々パ
ッドであり、これらの各パッドの下部に図1におけるパ
ッドスイッチ群1を構成する各パッドスイッチが設けら
れている。SPLおよびSPRは図1におけるサウンド
システム10を構成する左右のスピーカである。また、
20は操作パネル部であり、この部分に図1における操
作子スイッチ群2および表示器3が配備されている。図
3は操作パネル部20に配備された操作子群2および表
示器3を示す平面図である。この図に示すように表示器
3は7セグメント2桁の表示器によって構成されてい
る。また、操作パネル部20には、操作子群2に相当す
る主な操作子として、数値入力のためのテンキー20
1、記録あるいは再生を行う曲番号を指示するためのソ
ングスイッチ202〜204、音量調整用のボリューム
205、記録の開始を指示するためのレコードスイッチ
206、シフトスイッチ207、フィルイン部の記録/
再生の指示を行うためのフィルインスイッチ208、イ
ントロ部あるいはエンデイグ部の記録/再生の指示を行
うためのフィルインスイッチ209および自動演奏の開
始を指示するためのスタート/ストップスイッチ210
などが設けられている。また、この他、操作パネル部2
0には電源スイッチ301が配備されている。Next, FIG. 2 is a plan view showing the appearance of this automatic musical instrument. In FIG. 2, PA1 to PAk are pads, and the pad switches that constitute the pad switch group 1 in FIG. 1 are provided below these pads. SPL and SPR are left and right speakers that form the sound system 10 in FIG. Also,
Reference numeral 20 denotes an operation panel section, on which the operator switch group 2 and the display 3 shown in FIG. 1 are arranged. FIG. 3 is a plan view showing the manipulator group 2 and the display unit 3 arranged on the operation panel unit 20. As shown in this figure, the display 3 is composed of a 7-segment 2-digit display. The operation panel unit 20 includes a numeric keypad 20 for inputting numerical values, as a main operator corresponding to the operator group 2.
1. Song switches 202 to 204 for instructing song numbers to be recorded or reproduced, volume 205 for volume adjustment, record switch 206 for instructing start of recording, shift switch 207, recording / recording of fill-in section
A fill-in switch 208 for instructing reproduction, a fill-in switch 209 for instructing recording / reproduction of the intro section or the ending section, and a start / stop switch 210 for instructing start of automatic performance.
Etc. are provided. In addition to this, the operation panel unit 2
A power switch 301 is provided at 0.
【0007】次にROM6に記憶された主な制御データ
について説明する。 パッド番号テーブルPAD(i)(i=1〜k):この
パッド番号テーブルPAD(i)(i=1〜k)にはパ
ッドPA1〜PAkの各々のパッド番号0〜k−1が各
々記憶されている。 根音テーブルTBLRT(i)(i=0〜k−1):こ
の根音テーブルTBLRT(i)(i=0〜k−1)に
は、パッド番号0〜k−1の各々に対して割り当てられ
た根音に対応した情報が各々記憶されている。 コードタイプテーブルTBLTYP(i)(i=0〜k
−1):このコードタイプテーブルTBLTYP(i)
(i=0〜k−1)には、パッド番号0〜k−1の各々
に対して割り当てられたコードタイプに対応した情報が
各々記憶されている。Next, main control data stored in the ROM 6 will be described. Pad number table PAD (i) (i = 1 to k): The pad number table PAD (i) (i = 1 to k) stores the pad numbers 0 to k−1 of the pads PA1 to PAk, respectively. ing. Root table TBLRT (i) (i = 0 to k-1): This root table TBLRT (i) (i = 0 to k-1) is assigned to each pad number 0 to k-1. The information corresponding to each root sound is stored. Code type table TBLTYP (i) (i = 0 to k
-1): This code type table TBLTYP (i)
The information corresponding to the code type assigned to each of the pad numbers 0 to k-1 is stored in (i = 0 to k-1).
【0008】次にRAM7の記憶エリアを使用して構成
される制御用のレジスタおよびフラグ類を以下列挙し説
明する。 コードメモリエリアCRDMEM(ADR):このコー
ドメモリエリアCRDMEM(ADR)にはコードシー
ケンス演奏のための演奏データが記憶される。コードシ
ーケンス演奏とは、曲の進行に合せてコード進行と各ア
ンサンブルパートの演奏パターン進行とを記録し再生
し、それらのコードと演奏パターンとを組み合わせて演
奏音を決め、曲の自動演奏を行うものである。本実施例
においては、コードメモリエリアCRDMEM(AD
R)に3曲分の演奏データを記録することができる。図
4はコードメモリエリアCRDMEM(ADR)に記憶
される演奏データのフォーマットを示すものである。こ
の図に示すように、1個の演奏データは、モードデー
タ、根音データ、コードタイプデータおよび音長データ
からなる。ここで、モードデータは演奏データの最上位
2ビットを構成するデータであり、ROM6内に記憶さ
れた種々の演奏パターンのうち再生すべき演奏パターン
を指定する。すなわち、モードデータの内容が00B
(Bはバイナリの意)である演奏データはイントロパタ
ーンを指定するものであり、モードデータの内容が01
Bである演奏データはフィルインパターンを指定するも
のであり、モードデータの内容が10Bである演奏デー
タはエンディングパターン(1小節に固定)を指定す
る。また、モードデータの内容が11Bである演奏デー
タが根音データ、コードタイプデータおよび音長データ
に基づく通常の自動演奏パターン(以下、ノーマルパタ
ーンという)を指定する。演奏データにおけるモードデ
ータが11B以外の場合は音長データの入力は不要であ
る。根音データおよびコードタイプデータは、発音すべ
きコード(和音)を指定し、音長データはコードの時間
的な長さ、すなわち、音符長を指定する。図5〜図7は
各々コードメモリエリアCRDMEM(ADR)に記憶
された演奏データの例を楽譜のイメージで表わしたもの
である。これらの図において、上段の枠内に記載された
数字はモードデータを表わしており、下段の枠内に記載
された記号は根音データおよびコードタイプデータによ
って指定されたコードを表わしている。なお、音長デー
タは図示が省略されている。また、これらの各図におい
て下から上に向う矢印が多数示されているが、これらの
矢印は各々小節線タイミングを示している。図5は全小
節がノーマルパターンの曲の例であり、各小節毎にコー
ドがC、G7、Em、C7、…Cと進行することが示され
ている。この実施例の場合、この曲は、スタートストッ
プスイッチが押されない限り、第1小節から最後の小節
までがエンドレスに繰り返される。図6は、最後の小節
のみがエンディングパターン、他はノーマルパターンで
ある曲の例であり、コード進行は図5の場合と同様であ
る。この実施例の場合、この曲は、第1小節から順次演
奏された後、最後のエンディングパターンを演奏した
後、終了する。図7は、第1小節の前の2小節分(ファ
クトリプリセットによる固定値)がイントロパターンで
あってそれ以降がノーマルパターンである曲の例であ
り、コード進行は図5の場合と同様である。また、イン
トロパターンのコードは指定されておらず、リズム演奏
のみが行われる。何等かのコードを指定した場合にはベ
ースやコードバッキングの演奏も加えられる。この実施
例の場合、この曲は、イントロパターン2小節が演奏さ
れた後、スタートストップスイッチが押されない限り、
イントロパターンを除いた第1小節から最終小節までが
エンドレスに繰り返される。Next, control registers and flags constructed by using the storage area of the RAM 7 will be listed and described below. Chord memory area CRDMEM (ADR): The chord memory area CRDMEM (ADR) stores performance data for chord sequence performance. Chord sequence performance records and reproduces the chord progression and the performance pattern progression of each ensemble part as the song progresses, determines the performance sound by combining these chords and performance patterns, and automatically performs the song. It is a thing. In this embodiment, the code memory area CRDMEM (AD
It is possible to record performance data for 3 songs in (R). FIG. 4 shows a format of performance data stored in the chord memory area CRDMEM (ADR). As shown in this figure, one piece of performance data consists of mode data, root note data, chord type data and note length data. Here, the mode data is data that constitutes the most significant 2 bits of the performance data, and specifies the performance pattern to be reproduced among the various performance patterns stored in the ROM 6. That is, the content of the mode data is 00B.
The performance data (B is for binary) specifies the intro pattern, and the content of the mode data is 01.
The performance data of B specifies a fill-in pattern, and the performance data of which the content of the mode data is 10B specifies an ending pattern (fixed to one bar). Further, the performance data whose mode data content is 11B designates a normal automatic performance pattern (hereinafter referred to as a normal pattern) based on root note data, chord type data and note length data. If the mode data in the performance data is other than 11B, it is not necessary to input the note length data. The root note data and the chord type data specify the chord (chord) to be pronounced, and the note length data specifies the temporal length of the chord, that is, the note length. 5 to 7 show examples of performance data stored in the chord memory area CRDMEM (ADR) in the form of musical score images. In these figures, the numbers in the upper frame represent the mode data, and the symbols in the lower frame represent the chord specified by the root note data and the chord type data. Note that the note length data is not shown. Further, in each of these figures, a large number of arrows pointing from the bottom to the top are shown, but these arrows respectively indicate bar line timing. FIG. 5 shows an example of a song in which all measures are normal patterns, and it is shown that the chord progresses to C, G 7 , Em , C 7 , ... C for each measure. In the case of this embodiment, this tune repeats endlessly from the first measure to the last measure unless the start / stop switch is pressed. FIG. 6 shows an example of a song in which only the last measure is the ending pattern and the others are normal patterns, and the chord progression is the same as in the case of FIG. In the case of this embodiment, the song is played sequentially from the first measure, then the last ending pattern is played, and then the song ends. FIG. 7 is an example of a song in which the two measures (fixed value according to the factory preset) before the first measure are intro patterns and the subsequent patterns are normal patterns, and the chord progression is the same as in the case of FIG. . Moreover, the chord of the intro pattern is not specified, and only the rhythm performance is performed. If you specify a chord, you can add bass and chord backing performances. In the case of this embodiment, this song is as long as the start / stop switch is not pressed after two bars of the intro pattern are played.
The first measure to the last measure excluding the intro pattern are repeated endlessly.
【0009】回数レジスタCNT:この回数レジスタC
NTは、パッドが叩かれた回数を記憶するのに用いられ
る。 根音レジスタRTBUF:この根音レジスタRTBUF
には、パッド操作によって指定された根音に対応した情
報が書き込まれる。 コードタイプレジスタCRDTYP:この根音レジスタ
RTBUFには、パッド操作によって指定されたコード
タイプに対応した情報が書き込まれる。 ビートレジスタBT:このビートレジスタBTには、現
在再生中の演奏データあるいは現在書込中の演奏データ
が当該小節内における何拍目のものであるかを示す値が
記憶される。 小節番号レジスタBAR:この小節番号レジスタBAR
には、現在再生中の演奏データあるいは現在書込中の演
奏データが曲の先頭から何番目の小節であるかを示す値
が記憶される。 タイミングレジスタLN:このタイミングレジスタLN
は、表示器3の上位桁に表示される数値を記憶する上位
桁記憶エリアと下位桁に表示される数値を記憶する下位
桁記憶エリアとからなり、上位桁記憶エリアには小節番
号レジスタBARの内容が書き込まれ、下位桁記憶エリ
アにはビートレジスタBTの内容が書き込まれる。 最終小節番号レジスタSONG(i)(i=1〜3):
これらの最終小節数レジスタSONG(i)(i=1〜
3)には、コードメモリエリアCRDMEM(ADR)
に記憶された演奏データに対応した第1〜第3の曲の最
後の小節の番号が記憶される。 テンポカウンタレジスタTCL:このテンポカウンタレ
ジスタTCLは、再生中における計時を行うために用い
られるレジスタであり、タイマ5からCPU4へ割込み
信号が送られる毎にインクリメントされる。 小節線カウンタレジスタBARCTR:この小節線カウ
ンタレジスタBARCTRは、再生を終えた小節の数を
記憶のに使用される。 イントロフラグINTR:このイントロフラグINTR
は、イントロ演奏を指示する演奏データを読み出した場
合、イントロ/エンディングスイッチ209が押下され
た場合、あるいは最終小節の演奏データの再生を終えた
場合にセットされる。自動演奏中にイントロフラグIN
TRがセットされると、イントロ演奏が行われる。 フィルインフラグFI:このフィルインフラグFIは、
フィルイン演奏を指示する演奏データを読み出した場合
あるいはフィルインスイッチ208が押下された場合に
セットされる。自動演奏中にフィルインフラグFIがセ
ットされると、フィルイン演奏が行われる。 エンディングフラグEND:このエンディングフラグF
Iは、エンディング演奏を指示する演奏データを読み出
した場合あるいはイントロ/エンディングスイッチ20
9が押下された場合にセットされる。自動演奏中にエン
ディングフラグFIがセットされると、エンディング演
奏が行われ、自動演奏が終了する。 レコードフラグREC:このレコードフラグRECは、
レコードスイッチ206が押下されることにより、セッ
トされる。 ランフラグRUN:このランフラグRUNがセットされ
ることにより、自動演奏が開始される。 シフトフラグSFT:このシフトフラグSFTは、シフ
トスイッチ207が押下されている期間、セットされ
る。 オートベースモードフラグAB:このオートベースモー
ドフラグABは、図示しないオートベーススイッチが押
下され、オートベース演奏を行うモードとなった場合に
セットされる。 コードメモリフラグCMFRG:このコードメモリフラ
グCMFRGの内容により、以下に示すようにコードメ
モリエリアCRDMEMにおける記録/再生の制御が行
われる。 CMFRG=00B(ただし、Bはバイナリの意味)…
記録および再生は共に禁止。この状態において、この自
動演奏装置は、自動演奏機能を有さず、演奏操作によっ
てのみ発音する通常の電子楽器として動作する。 CMFRG=01B…再生のみ許可。 CMFRG=10B…記録のみ許可。この状態において
マニュアルステップ入力によるコード入力が行われる。 CMFRG=11B…記録および再生の両方を許可。こ
の状態において、コードメモリエリアCRDMEMから
の演奏データを再生しながらコード入力によってコード
メモリエリアCRDMEMの内容の更新とをするリアル
タイムコード入力が行われる。Count register CNT: This count register C
NT is used to store the number of times the pad is struck. Root register RTBUF: This root register RTBUF
In, information corresponding to the root note designated by the pad operation is written. Chord type register CRDTYP: Information corresponding to the chord type designated by the pad operation is written in this root note register RTBUF. Beat register BT: This beat register BT stores a value indicating which beat in the bar the performance data currently being reproduced or the performance data currently being written is. Measure number register BAR: This measure number register BAR
In the field, a value indicating the number of measures from the beginning of the song of the performance data currently being reproduced or the performance data currently being written is stored. Timing register LN: This timing register LN
Consists of an upper digit storage area for storing the numerical value displayed in the upper digit of the display unit 3 and a lower digit storage area for storing the numerical value displayed in the lower digit. The contents are written, and the contents of the beat register BT are written in the lower digit storage area. Final bar number register SONG (i) (i = 1 to 3):
These final bar number registers SONG (i) (i = 1 to
3) has a code memory area CRDMEM (ADR)
The number of the last measure of the first to third pieces of music corresponding to the performance data stored in is stored. Tempo counter register TCL: This tempo counter register TCL is a register used for counting time during reproduction, and is incremented each time an interrupt signal is sent from the timer 5 to the CPU 4. Bar line counter register BARCTR: This bar line counter register BARCTR is used to store the number of bars that have been reproduced. Intro Flag INTR: This Intro Flag INTR
Is set when the performance data instructing the intro performance is read, when the intro / ending switch 209 is pressed, or when the reproduction of the performance data of the final measure is finished. Intro flag IN during automatic performance
When TR is set, the intro performance is performed. Fill-in flag FI: This fill-in flag FI is
This is set when the performance data instructing the fill-in performance is read out or when the fill-in switch 208 is pressed. When the fill-in flag FI is set during the automatic performance, the fill-in performance is performed. Ending flag END: This ending flag F
I is for reading the performance data for instructing the ending performance or for intro / ending switch 20
Set when 9 is pressed. When the ending flag FI is set during the automatic performance, the ending performance is performed and the automatic performance ends. Record flag REC: This record flag REC is
It is set by pressing the record switch 206. Run flag RUN: When the run flag RUN is set, automatic performance is started. Shift flag SFT: This shift flag SFT is set while the shift switch 207 is being pressed. Auto-bass mode flag AB: This auto-bass mode flag AB is set when an auto-bass switch (not shown) is pressed to enter a mode for performing auto-bass performance. Code memory flag CMFRG: Recording / reproduction control in the code memory area CRDMEM is performed as described below according to the content of the code memory flag CMFRG. CMFRG = 00B (however, B means binary) ...
Both recording and playback are prohibited. In this state, the automatic musical instrument does not have an automatic musical performance function, and operates as a normal electronic musical instrument that produces a sound only by a musical performance operation. CMFRG = 01B ... Only playback is permitted. CMFRG = 10B ... Only recording is permitted. In this state, the code is input by manual step input. CMFRG = 11B ... Both recording and playback are permitted. In this state, real-time code input is performed by playing the performance data from the code memory area CRDMEM and updating the contents of the code memory area CRDMEM by code input.
【0010】以下、図8〜図17に示すフローチャート
を参照し、この電子楽器の動作を説明する。この自動演
奏装置の電源スイッチ301がオン状態にされると、C
PU4は図8にフローを示すメインルーチンを実行す
る。まず、ステップS1に進み、RAM6における制御
用レジスタ、フラグ類に初期値を設定する。次にステッ
プS2に進み、その時点においてパッドスイッチ群1に
おけるいずれかのパッドスイッチのオンイベントが検出
されている場合には図9にフローを示すパッドスイッチ
処理ルーチンを実行する。次にステップS3に進み、そ
の時点においてテンキー201におけるいずれかのキー
のオンイベントが検出されている場合には図10にフロ
ーを示すテンキーオンイベント処理ルーチンを実行す
る。次にステップS4に進み、その時点においてレコー
ドスイッチ206のオンイベントあるいはオフイベント
が検出されている場合には図11にフローを示すレコー
ドスイッチオン/オフイベント処理ルーチンを実行す
る。次にステップS5に進み、その時点においてソング
スイッチ202〜204のうちいずれかのスイッチのオ
ンイベントが検出されている場合には図12にフローを
示すソングスイッチオンイベント処理ルーチンを実行す
る。次にステップS6に進み、その時点においてイント
ロ/エンディングスイッチ209のオンイベントが検出
されている場合には図13にフローを示すイントロ/エ
ンディングスイッチオンイベント処理ルーチンを実行す
る。次にステップS7に進み、その時点においてスター
ト/ストップスイッチ210のオンイベントが検出され
ている場合には図14にフローを示すスタート/ストッ
プスイッチオンイベント処理ルーチンを実行する。次に
ステップS8に進み、その時点においてシフトスイッチ
207のオンイベントが検出されている場合には図15
にフローを示すシフトスイッチオン/オフイベント処理
ルーチンを実行する。次にステップS9に進み、その時
点においてフィルインスイッチ208のオンイベントが
検出されている場合には図16にフローを示すフィルイ
ンスイッチオン/オフイベント処理ルーチンを実行す
る。次にステップS10に進み、その時点においてオー
トベーススイッチ(図示略)のオンイベントが検出され
ている場合には図17にフローを示すオートベーススイ
ッチオンイベント処理ルーチンを実行し、オートベース
モードフラグABの内容を反転する。そして、ステップ
S2に戻り、以後、ステップS2〜S10の各処理を繰
り返す。一方、一定周期毎にタイマ5からCPU4に割
込み信号RINTが入力される。そして、CPU4は割
込み信号RINTが入力される毎にその時点において実
行中の処理を中断し、図18および19にフローを示す
リズムインタラプトルーチンを実行する。まず、ステッ
プS1001に進み、ランフラグRUNの内容が“1”
か否かを判断する。この判断結果が「YES」である場
合はステップS1002以降の処理へ進む。また、ステ
ップS1001の判断結果が「NO」の場合はリズムイ
ンタラプトルーチンを終了する。そして、CPU4は中
断していた処理を再開する。The operation of this electronic musical instrument will be described below with reference to the flow charts shown in FIGS. When the power switch 301 of this automatic musical instrument is turned on, C
The PU 4 executes a main routine whose flow is shown in FIG. First, in step S1, initial values are set in the control registers and flags in the RAM 6. Next, in step S2, if an ON event of any of the pad switches in the pad switch group 1 is detected at that time, a pad switch processing routine whose flow is shown in FIG. 9 is executed. Next, the process proceeds to step S3, and if an ON event of any key of the ten keys 201 is detected at that time point, a ten key ON event processing routine whose flow is shown in FIG. 10 is executed. Next, in step S4, if an ON event or an OFF event of the record switch 206 is detected at that point, a record switch ON / OFF event processing routine whose flow is shown in FIG. 11 is executed. Next, proceeding to step S5, if an ON event of any of the song switches 202 to 204 is detected at that time point, a song switch ON event processing routine whose flow is shown in FIG. 12 is executed. Next, in step S6, if the on-event of the intro / ending switch 209 is detected at that time, the intro / ending switch on-event processing routine whose flow is shown in FIG. 13 is executed. Next, in step S7, if the on-event of the start / stop switch 210 is detected at that time, the start / stop switch on-event processing routine whose flow is shown in FIG. 14 is executed. Next, the process proceeds to step S8, and if the ON event of the shift switch 207 is detected at that time, the process shown in FIG.
The shift switch on / off event processing routine showing the flow is executed. Next, proceeding to step S9, if an ON event of the fill-in switch 208 is detected at that point, a fill-in switch ON / OFF event processing routine whose flow is shown in FIG. 16 is executed. Next, in step S10, if an on event of an auto base switch (not shown) is detected at that point, an auto base switch on event processing routine whose flow is shown in FIG. 17 is executed to set the auto base mode flag AB. Invert the contents of. Then, the process returns to step S2, and thereafter, each processing of steps S2 to S10 is repeated. On the other hand, the interrupt signal RINT is input from the timer 5 to the CPU 4 at regular intervals. Then, every time the interrupt signal RINT is input, the CPU 4 interrupts the process being executed at that point and executes the rhythm interrupt routine shown in the flow charts of FIGS. 18 and 19. First, in step S1001, the content of the run flag RUN is "1".
Determine whether or not. If the result of this determination is "YES", then the flow proceeds to the processing in and after step S1002. If the decision result in the step S1001 is "NO", the rhythm interrupt routine is ended. Then, the CPU 4 restarts the interrupted process.
【0011】<楽器モード(CMFRG=00B)>演
奏者がパッドPA1〜PAkのうちいずれかのパッドP
ANを叩くと、そのパッドに対応したパッドスイッチの
オンイベントがCPU4によって検出される。この結
果、メインルーチンのステップS2において以下説明す
るようにパッドスイッチオンイベント処理ルーチンが実
行される。まず、ステップS201に進み、コードメモ
リフラグCMFRGの内容が10Bであるか否かを判断
する。初期化がなされた時点においては、コードメモリ
フラグCRDFLGには通常の電子楽器としての動作モ
ードに対応したデータ00Bが書き込まれており、ステ
ップS201の判断結果は「NO」となってステップS
202に進む。そして、パッドPANに対応したパッド
番号テーブルの内容PAD(N)を音階音音源9へ送
る。この結果、音階音音源9により、パッド番号PAD
(N)に対応した音階の楽音が発音される。そして、パ
ッドオンイベント処理ルーチンを終了し、メインルーチ
ンに戻る。<Musical instrument mode (CMFRG = 00B)> The performer selects one of the pads P1 to PAk from the pads P1 to PAk.
When A N is hit, the ON event of the pad switch corresponding to that pad is detected by the CPU 4. As a result, the pad switch on event processing routine is executed in step S2 of the main routine as described below. First, in step S201, it is determined whether or not the content of the code memory flag CMFRG is 10B. At the time of initialization, the data 00B corresponding to the operation mode as a normal electronic musical instrument is written in the chord memory flag CRDFLG, and the result of the determination in step S201 is "NO" and step S201.
Proceed to 202. Then, send the contents of the pad number table corresponding to the pad PA N PAD (N) is to scale sound source 9. As a result, the pad number PAD is generated by the scale sound source 9.
A musical tone of a scale corresponding to (N) is produced. Then, the pad-on event processing routine is ended and the process returns to the main routine.
【0012】<記録モード(CMFRG=10B)>演
奏者は演奏データの記録を行うに際し、演奏者はレコー
ドスイッチ206をオン状態にする。この結果、レコー
ドスイッチ206のオンイベントがCPU4によって検
知され、メインルーチンのステップS4においてレコー
ドスイッチオン/オフイベント処理ルーチンが実行され
る。まず、ステップS401に進み、検出したのがオン
イベントであるか否かを判断する。この場合、ステップ
S402の判断結果は「YES」となり、レコードフラ
グRECに“1”をセットし(ステップS402)、メ
インルーチンに戻る。次に演奏者はソングスイッチ20
2〜204のうち演奏データの記録を行おうとする曲の
番号に対応したスイッチをオン状態にする。このソング
スイッチのオンイベントがCPU4によって検知される
と、メインルーチンのステップS5においてソングスイ
ッチオンイベント処理ルーチンが実行される。まず、ス
テップS501に進み、検出したオンイベントに基づ
き、押されたソングスイッチに対応した番号を変数レジ
スタiに書き込む。次いでステップS502に進み、レ
コードフラグRECの内容が“1”であるか否かを判断
する。この場合のようにレコードフラグRECに“1”
がセットされている場合は、ステップS502の判断結
果が「YES」となってステップS503に進み、コー
ドメモリフラグCMFRGに記録モードに対応したモー
ドデータ10Bを書き込む。そして、メインルーチンに
戻る。<Recording Mode (CMFRG = 10B)> When the performer records performance data, the performer turns on the record switch 206. As a result, the ON event of the record switch 206 is detected by the CPU 4, and the record switch ON / OFF event processing routine is executed in step S4 of the main routine. First, in step S401, it is determined whether or not the detected event is an on event. In this case, the determination result of step S402 is "YES", the record flag REC is set to "1" (step S402), and the process returns to the main routine. Next, the performer uses the song switch 20
Of the Nos. 2 to 204, the switch corresponding to the number of the piece of music for which performance data is to be recorded is turned on. When the ON event of the song switch is detected by the CPU 4, the song switch ON event processing routine is executed in step S5 of the main routine. First, in step S501, the number corresponding to the pressed song switch is written in the variable register i based on the detected ON event. Next, in step S502, it is determined whether the content of the record flag REC is "1". As in this case, the record flag REC has "1".
If is set, the determination result of step S502 is “YES”, the process proceeds to step S503, and the mode data 10B corresponding to the recording mode is written in the code memory flag CMFRG. Then, the process returns to the main routine.
【0013】このようにして演奏データの記録が可能と
なり、演奏者は以下説明するようにパッドとテンキーを
操作することにより、演奏データを入力する。まず、演
奏者は記録しようとするコードの根音に対応したパッ
ド、例えばパッドPANを叩く。この結果、叩かれたパ
ッドのパッドスイッチオンイベントがCPU4によって
検出され、メインルーチンのステップS2においてパッ
ドスイッチオンイベント処理ルーチンが実行される。ま
ず、ステップS201に進み、コードメモリフラグCM
FLGの内容が10Bであるか否かを判断する。この場
合、CMFLG=10Bとなっていることからステップ
S201の判断結果は「YES」となり、ステップS2
03に進む。そして、回数レジスタCNTの内容をイン
クリメントする。今回のパッド操作が第1回目のパッド
操作である場合にはインクリメントによってCNT=
「1」となる。なお、“第1回目のパッド操作”の意味
するところについては後述する。次にステップS204
に進み、回数レジスタCNTの内容が「1」であるか否
か、すなわち、今回のパッド操作が第1回目か否かを判
断する。第1回目のパッド操作の場合はステップS20
4の判断結果が「YES」となってステップS205に
進み、ROM6における根音テーブルTBLRT(i)
(i=0〜k−1)から叩かれたパッドPANに対応し
た根音データTBLRT(PAD(N))を読み出し、
根音レジスタRTBUFに書き込む。また、根音レジス
タRTBUFの内容を音階音音源9へ送る。この結果、
パッドPANに対応した根音が音階音音源9によって発
音される。次にステップS206に進み、シフトフラグ
SFTの内容が“1”であるか否かを判断する。この時
点においてシフトスイッチ207がオフ状態である場合
はSFT=“0”となっており、ステップS206の判
断結果は「NO」となってステップS207に進む。そ
して、回数レジスタCNTの内容が「2」以上であるか
否かを判断する。この場合、ステップS207の判断結
果は「NO」となってメインルーチンに戻る。そして、
演奏者は発音された根音を確認し、根音が所望のコード
のものである場合には、所望のコードのコードタイプに
対応したパッド、例えばパッドPAMを叩く。この結
果、メインルーチンのステップS2において再びパッド
スイッチオンイベント処理ルーチンが実行される。この
場合、ステップS203に進んだ時、回数レジスタCN
Tがインクリメントされることにより、CNT=「2」
となる。このため、ステップS204に進んだ時、その
判断結果が「NO」となり、ステップS207に進む。
そして、回数レジスタCNTの内容が「2」以上である
か否か、すなわち、今回のパッド操作が第2回目以降の
パッド操作であるか否かを判断する。この場合、CNT
=「2」であるころからステップS208の判断結果は
「YES」となってステップS208に進み、シフトフ
ラグSFTの内容が“1”であるか否かを判断する。こ
の時点においてシフトスイッチ207がオフ状態である
場合はSFT=“0”となっており、ステップS208
の判断結果は「NO」となり、ステップS209に進
む。そして、ROM6におけるコードタイプテーブルT
BLTYP[i](i=0〜k−1)から叩かれたパッ
ドPAMに対応したコードタイプデータTBLTYP
(PAD(M))を読み出し、コードタイプレジスタT
YPBUFに書き込む。また、根音レジスタRTBUF
の内容およびコードタイプレジスタTYPBUFの内容
を音階音音源9へ送る。この結果、根音レジスタRTB
UFの内容に対応した根音であり、かつ、コードタイプ
レジスタTYPBUFの内容に対応したコードタイプの
コードが音階音音源9によって発音される。次にステッ
プS210に進んで回数レジスタCNTに「0」を書き
込み、メインルーチンに戻る。このようにパッド操作が
繰り返されることにより、所望のコードの根音とコード
タイプとが順次指定され、指定が完了した場合に回数レ
ジスタCNTが「0」とされる。そして、このようにし
てCNT=「0」となった後にパッド操作がなされた場
合、そのパッド操作は根音指定のための第1回目のパッ
ド操作となる。In this way, the performance data can be recorded, and the performer inputs the performance data by operating the pad and ten keys as described below. First of all, the player is hit pad that corresponds to the root of the chord to be recorded, for example, the pad PA N. As a result, the pad switch on event of the hit pad is detected by the CPU 4, and the pad switch on event processing routine is executed in step S2 of the main routine. First, in step S201, the code memory flag CM
It is determined whether the content of FLG is 10B. In this case, since CMFLG = 10B, the determination result of step S201 is "YES", and step S2
Go to 03. Then, the content of the frequency register CNT is incremented. If the current pad operation is the first pad operation, CNT =
It becomes "1". The meaning of the "first pad operation" will be described later. Next step S204
Then, it is judged whether or not the content of the number-of-times register CNT is "1", that is, whether or not the pad operation this time is the first time. In the case of the first pad operation, step S20
The determination result of No. 4 is “YES”, the process proceeds to step S205, and the root note table TBLRT (i) in the ROM 6
Reads the (i = 0~k-1) root data corresponding to the hit the pad PA N from TBLRT (PAD (N)),
Write to the root register RTBUF. Further, the contents of the root register RTBUF are sent to the scale sound source 9. As a result,
A root note corresponding to the pad PAN is generated by the scale sound source 9. Next, in step S206, it is determined whether the content of the shift flag SFT is "1". If the shift switch 207 is off at this time, SFT = "0", and the result of the determination in step S206 is "NO", and the process proceeds to step S207. Then, it is determined whether or not the content of the frequency register CNT is “2” or more. In this case, the determination result of step S207 is "NO", and the process returns to the main routine. And
The performer checks the sounded root note, and if the root note is of a desired chord, hits a pad corresponding to the chord type of the desired chord, for example, pad PA M. As a result, the pad switch on event processing routine is executed again in step S2 of the main routine. In this case, when the process proceeds to step S203, the number register CN
By incrementing T, CNT = “2”
Becomes Therefore, when the process proceeds to step S204, the determination result is “NO”, and the process proceeds to step S207.
Then, it is determined whether or not the content of the number-of-times register CNT is “2” or more, that is, whether or not the current pad operation is the second or subsequent pad operation. In this case, CNT
Since the judgment result of step S208 becomes "YES" from the time of "= 2", the process proceeds to step S208 to judge whether or not the content of the shift flag SFT is "1". If the shift switch 207 is off at this point, SFT = "0" is set, and step S208 is performed.
The determination result is “NO”, and the process proceeds to step S209. Then, the code type table T in the ROM 6
BLTYP [i] (i = 0~k -1) chord type data corresponding to the pads PA M was struck from TBLTYP
(PAD (M)) is read and the code type register T
Write to YPBUF. Also, the root register RTBUF
And the contents of the chord type register TYPBUF are sent to the scale tone generator 9. As a result, the root register RTB
A chord type chord corresponding to the contents of the UF and corresponding to the contents of the chord type register TYPBUF is sounded by the scale sound source 9. Next, in step S210, "0" is written in the number register CNT, and the process returns to the main routine. By repeating the pad operation in this manner, the root note and the chord type of the desired chord are sequentially designated, and when the designation is completed, the frequency register CNT is set to "0". When a pad operation is performed after CNT = “0” in this way, the pad operation is the first pad operation for designating the root note.
【0014】第1回目のパッド操作によって発音された
根音が所望のものでなかった場合、演奏者はシフトスイ
ッチ207を押して別のパッド、例えばパッドPAN+1
を叩くことにより、根音指定のやり直しを行う。以下、
この場合の動作を説明する。まず、シフトスイッチ20
7のオンイベントがCPU4によって検出され、メイン
ルーチンのステップS8においてシフトスイッチオン/
オフイベント処理ルーチンが実行される。ステップS8
01において検出したのがオンイベントであるか否かを
判断する。この場合、ステップS801の判断結果は
「YES」となり、シフトフラグSFTに“1”をセッ
トし(ステップS802)、メインルーチンに戻る。次
にパッドPAN+1に対応したパッドスイッチオンイベン
トがCPU4に検知されることにより、パッドスイッチ
オンイベント処理ルーチンが実行される。この場合、第
2回目のパッド操作であるため、ステップS203を実
行することによってCNT=「2」となり、ステップS
204に進む。そして、CNT=「2」であるため、ス
テップS204の判断結果が「NO」となってステップ
S207に進む。このステップS207における判断結
果は「YES」となり、ステップS208に進み、シフ
トフラグSFTの内容が“1”であるか否かを判断す
る。この場合、SFT=“1”であることによりステッ
プS208の判断結果は「YES」となってステップS
205に進み、ROM6における根音テーブルTBLR
T[i](i=0〜k−1)から叩かれたパッドPA
N+1に対応した根音データTBLRT(PAD(N+
1))を読み出し、根音レジスタRTBUFに書き込
む。また、根音レジスタRTBUFの内容を音階音音源
9へ送る。この結果、パッドPAN+1に対応した根音が
音階音音源9によって発音される。次にステップS20
6に進み、シフトフラグSFTの内容が“1”であるか
否かを判断する。この場合、SFT=“1”であるた
め、ステップS206の判断結果は「YES」となって
メインルーチンに戻る。If the root note produced by the first pad operation is not the desired one, the performer presses the shift switch 207 to another pad, for example pad PA N + 1.
By tapping, the root note is specified again. Less than,
The operation in this case will be described. First, the shift switch 20
The on event of No. 7 is detected by the CPU 4, and the shift switch is turned on / on in step S8 of the main routine.
The off-event processing routine is executed. Step S8
It is determined whether or not the event detected at 01 is an on event. In this case, the determination result of step S801 is "YES", the shift flag SFT is set to "1" (step S802), and the process returns to the main routine. Next, the pad switch on event processing routine is executed by the CPU 4 detecting the pad switch on event corresponding to the pad PA N + 1 . In this case, since it is the second pad operation, CNT = “2” is obtained by executing step S203, and step S203
Proceed to 204. Then, since CNT = “2”, the determination result of step S204 becomes “NO”, and the process proceeds to step S207. The determination result in this step S207 is "YES", and the process proceeds to step S208 to determine whether or not the content of the shift flag SFT is "1". In this case, since SFT = "1", the determination result of step S208 is "YES" and step S208.
Step 205, root note table TBLR in ROM6
Pad PA struck from T [i] (i = 0 to k-1)
Root data TBLRT corresponding to N + 1 (PAD (N +
1)) is read out and written in the root register RTBUF. Further, the contents of the root register RTBUF are sent to the scale sound source 9. As a result, the root note corresponding to the pad PA N + 1 is generated by the scale sound source 9. Next in step S20
In step 6, it is determined whether the content of the shift flag SFT is "1". In this case, since SFT = “1”, the determination result of step S206 is “YES” and the process returns to the main routine.
【0015】そして、演奏者は新たに発音された根音を
確認する。根音が所望のコードのものである場合には、
シフトスイッチ207から指を離し、所望のコードのコ
ードタイプに対応したパッド、例えばパッドPAMを叩
く。以下。この場合の動作を説明する。まず、シフトス
イッチ207のオフイベントがCPU4によって検知さ
れ、シフトスイッチオン/オフイベント処理ルーチンが
実行される。この場合、CPU4が検知したのがオフイ
ベントであるため、ステップS801の判断結果は「N
O」となり、シフトフラグSFTに“0”を書き込み
(ステップS803)、メインルーチンに戻る。そし
て、パッドパッドPAMのパッドスイッチオンイベント
がCPU4によって検知され、パッドスイッチオンイベ
ント処理ルーチンのステップS207〜S210の処理
が実行される。この結果、新たなパッド操作によって指
定された根音およびコードタイプに対応したコードが音
階音音源9によって発音される。また、再度のパッド操
作によって指定しなおした根音が所望のコードのもので
ない場合、演奏者はさらに再びシフトスイッチ207を
押し、別のパッドを叩く。この場合も上述と同様にパッ
ドスイッチオンイベント処理ルーチンが実行され、新た
なパッドに対応した根音が発音される。Then, the performer confirms the newly pronounced root note. If the root note is of the desired chord,
Release the shift switch 207, pads corresponding to the code type of the desired coding, for example, strike the pad PA M. Less than. The operation in this case will be described. First, an off event of the shift switch 207 is detected by the CPU 4, and a shift switch on / off event processing routine is executed. In this case, since the CPU 4 detects an off event, the determination result of step S801 is "N".
It becomes "O", "0" is written in the shift flag SFT (step S803), and the process returns to the main routine. Then, the pad switch-on event of the pad the pad PA M is detected by the CPU 4, the process of step S207~S210 pad switch-on event processing routine is executed. As a result, the chord corresponding to the root note and chord type designated by the new pad operation is produced by the scale sound source 9. If the root note re-designated by another pad operation is not the one of the desired chord, the performer further presses the shift switch 207 and taps another pad. Also in this case, the pad switch-on event processing routine is executed in the same manner as described above, and the root note corresponding to the new pad is sounded.
【0016】所望のコードが音階音音源9によって発音
され、記録すべき根音およびコードタイプが確定する
と、演奏者は音長データの入力を行う。4分音符に対応
した音長データを入力する場合、演奏者はテンキー部2
01における数値「6」に対応したキーを押す。この結
果、CPU4により、数値「6」に対応したテンキース
イッチオンイベントが検知され、メインルーチンのステ
ップS3においてテンキースイッチオンイベント処理ル
ーチンが実行される。まず、ステップS301に進み、
コードメモリフラグCMFRGの内容が10Bであるか
否かを判断する。この場合のようにCMFRG=10B
である場合にはステップS301の判断結果が「YE
S」となってステップS302に進み、根音レジスタR
TBUFおよびコードタイプレジスタCRDTYPにデ
ータが書き込まれているか否かを判断する。これらのレ
ジスタに既に何等かの根音データおよびコードタイプデ
ータが書き込まれている場合にはステップS302の判
断結果が「YES」となり、ステップS303に進む。
そして、検知したテンキースイッチオンイベントに基づ
き、押されたキーに対応したステップに分岐する。この
場合、数値「6」に対応したキーが押されたのであるか
らステップS304に進む。そして、アドレスレジスタ
ADRSをインクリメントし、コードメモリエリアCR
DMEM(ADR)に対し、根音データおよびコードタ
イプデータとして、根音レジスタRTBUFおよびコー
ドタイプレジスタCRDTYPの内容を書き込む。ま
た、4分音符に対応した音長データをコードメモリエリ
アCRDMEM(ADR)に対し書き込むと共にノーマ
ル演奏に対応したモードデータ11Bをコードメモリエ
リアCRDMEM(ADR)の最上位2ビットのエリア
に書き込む。次にステップS307に進み、前ステップ
(この場合はステップS304)においてコードメモリ
エリアCRDMEM(ADR)に書き込んだ音長データ
をテンポカウンタレジスタTCLに累算する。次にステ
ップS308に進み、テンポカウンタレジスタTCLの
内容が1小節の時間長に対応した最大値「96」を越え
たか否かを判断する。この判断結果が「Yes」である
場合はステップS309に進み、テンポカウンタレジス
タTCLの内容から「96」を減算し、その結果をテン
ポカウンタレジスタTCLに書き込み、小節番号レジス
タBARを「1」だけインクリメントする。そして、ス
テップS310に進む。一方、ステップS308の判断
結果が「No」である場合はステップS309を実行し
ないでステップS310に進む。次にステップS310
に進むと、テンポカウンタレジスタTCLの内容を1拍
の時間長に相当するカウント値「24」によって除した
結果に「1」を加算した結果をビート番号レジスタBT
に書き込む。次にステップS311に進み、次にステッ
プS311に進み、変数レジスタiの内容に対応した最
終小節番号レジスタSONG(i)に小節番号レジスタ
BARの内容を書き込む。次いでステップS312に進
み、タイミングレジスタLNの上位桁エリアに小節番号
レジスタBARの内容を書き込むと共に下位桁エリアに
ビート番号レジスタBTの内容を書き込み、タイミング
レジスタLNの内容を表示器3に表示させる。そして、
メインルーチンに戻る。When the desired chord is produced by the scale tone source 9 and the root note and chord type to be recorded are determined, the performer inputs the note length data. When inputting the note length data corresponding to a quarter note, the performer uses the numeric keypad 2
Press the key corresponding to the numerical value "6" in 01. As a result, the CPU 4 detects the ten key switch on event corresponding to the numerical value "6", and the ten key switch on event processing routine is executed in step S3 of the main routine. First, go to step S301,
It is determined whether or not the content of the code memory flag CMFRG is 10B. As in this case CMFRG = 10B
If it is, the determination result of step S301 is “YE
S ”, and the process proceeds to step S302, where the root register R
It is determined whether or not data is written in the TBUF and the code type register CRDTYP. When some root note data and chord type data are already written in these registers, the determination result of step S302 is "YES", and the process proceeds to step S303.
Then, based on the detected ten-key switch-on event, the process branches to the step corresponding to the pressed key. In this case, since the key corresponding to the numerical value "6" has been pressed, the process proceeds to step S304. Then, the address register ADRS is incremented, and the code memory area CR
The contents of the root note register RTBUF and the chord type register CRDTYP are written to the DMEM (ADR) as root note data and chord type data. Further, note length data corresponding to a quarter note is written in the chord memory area CRDMEM (ADR), and mode data 11B corresponding to a normal performance is written in the most significant 2-bit area of the chord memory area CRDMEM (ADR). Next, proceeding to step S307, the tone length data written in the chord memory area CRDMEM (ADR) in the previous step (step S304 in this case) is accumulated in the tempo counter register TCL. Next, in step S308, it is determined whether or not the content of the tempo counter register TCL exceeds the maximum value "96" corresponding to the time length of one bar. If the result of this determination is "Yes", the flow proceeds to step S309, "96" is subtracted from the contents of the tempo counter register TCL, the result is written to the tempo counter register TCL, and the measure number register BAR is incremented by "1". To do. Then, the process proceeds to step S310. On the other hand, if the determination result of step S308 is “No”, then step S309 is not executed and the process proceeds to step S310. Next in step S310.
When the operation proceeds to step 1, the result of adding "1" to the result of dividing the content of the tempo counter register TCL by the count value "24" corresponding to the time length of one beat is the beat number register BT.
Write in. Next, proceeding to step S311, next proceeding to step S311, the contents of the bar number register BAR are written to the final bar number register SONG (i) corresponding to the contents of the variable register i. Next, in step S312, the content of the bar number register BAR is written in the upper digit area of the timing register LN, the content of the beat number register BT is written in the lower digit area, and the content of the timing register LN is displayed on the display unit 3. And
Return to the main routine.
【0017】一方、演奏者が数値「7」に対応したキー
を押下した場合には、ステップS303からステップS
305に進む。この場合、音長データとして2分音符に
対応したデータをコードメモリエリアCRDMEM(A
DR)に書き込む。他の処理内容については上述した数
値「6」の入力の場合と同様である。また、演奏者が数
値「8」に対応したキーを押下した場合には、ステップ
S303からステップS306に進む。この場合、音長
データとして全音符に対応したデータをコードメモリエ
リアCRDMEM(ADR)に書き込む。他の処理内容
については上述した数値「6」の入力の場合と同様であ
る。演奏者が数値「6」、「7」および「8」以外の数
値を入力した場合にはステップS303の後、何も処理
を行わずにメインルーチンに戻る。なお、コードメモリ
フラグCMFRGの内容が10B以外である場合にはス
テップS301からステップS313に進み、テンキー
入力された数値に基づいた他の設定処理(例えば音色設
定)を行ってメインルーチンに戻る。On the other hand, if the performer presses the key corresponding to the numerical value "7", steps S303 to S303 are performed.
Proceed to 305. In this case, data corresponding to a half note is used as the note length data in the chord memory area CRDMEM (A
DR). The other processing contents are the same as in the case of inputting the numerical value "6" described above. When the performer presses the key corresponding to the numerical value "8", the process proceeds from step S303 to step S306. In this case, the data corresponding to all the notes is written in the chord memory area CRDMEM (ADR) as the note length data. The other processing contents are the same as in the case of inputting the numerical value "6" described above. When the performer inputs a numerical value other than the numerical values "6", "7" and "8", after step S303, the process returns to the main routine without performing any processing. When the content of the chord memory flag CMFRG is other than 10B, the process proceeds from step S301 to step S313, another setting process (for example, tone color setting) is performed based on the numeric keypad input, and the process returns to the main routine.
【0018】イントロ部、フィルイン部あるいはエンデ
ィング部の演奏データを作成する場合には、イントロ/
エンディングスイッチあるいはフィルインスイッチを押
すことにより、イントロパターン、フィルインパターン
あるいはエンディングパターンに対応したモードデータ
をコードメモリアリアCRDMEM[ADR]に設定
し、各パターンを構成する音符の個々の音長データの入
力を省略することができる。以下、この場合の処理につ
いて説明する。演奏者がパッド操作により、演奏データ
における最初のコードの根音およびコードタイプを入力
した後、イントロ/エンディングスイッチ209を押す
と、CPU4により、イントロ/エンディングスイッチ
オンイベントが検知され、メインルーチンのステップS
6においてイントロ/エンディングスイッチオンイベン
ト処理ルーチンが実行される。まず、ステップS601
に進み、コードメモリフラグCMFRGの内容が10B
であるか否かを判断する。この場合、CMFRG=10
Bであるため、ステップS601の判断結果は「YE
S」となり、ステップS602に進む。そして、根音レ
ジスタRTBUFおよびコードタイプレジスタCRDT
YPにデータが書き込まれているか否かを判断する。こ
れらのレジスタに既に何等かの根音データおよびコード
タイプデータが書き込まれている場合にはステップS6
02の判断結果が「YES」となってステップS603
に進み、根音レジスタRTBUFおよびコードタイプレ
ジスタCRDTYPの内容をコードメモリエリアCRD
MEM(ADR)における各々対応する記憶エリアに書
き込む。そして、ステップS604に進む。一方、レジ
スタRTBUFおよびCRDTYPに根音データおよび
コードタイプデータが書き込まれていない場合にはステ
ップS602の判断結果が「NO」となり、ステップS
603を実行しないでステップS604に進む。次にス
テップS604に進むと、小節番号レジスタBARおよ
びビート番号レジスタBTの内容が共に「1」であるか
否かを判断する。この判断結果が「YES」である場合
はステップS605に進み、イントロ演奏に対応したモ
ードデータ00BをコードメモリエリアCRDMEM
(ADR)の最上位2ビットに書き込む。次にステップ
S606に進み、アドレスレジスタADRを「1」だけ
インクリメントすると共に小節番号レジスタBARをイ
ントロ演奏に対応した小節数「2」(ファクトリプリセ
ットによる固定値)だけインクリメントする。次いでス
テップS607に進み、タイミングレジスタLNの上位
桁エリアに小節番号レジスタBARの内容(この場合、
「3」)を書き込み、下位桁エリアにビート番号レジス
タBTの内容(この場合、「1」)をセットし、タイミ
ングレジスタLNの内容を表示器3に表示され、メイン
ルーチンに戻る。このようにしてイントロ部に対応した
演奏データがコードメモリエリアCRDMEM(AD
R)に書き込まれる。以後、演奏者はパッド操作および
テンキー操作等により、第3小節第1拍以降の演奏デー
タを入力する。When creating performance data for the intro section, fill-in section or ending section,
By pressing the ending switch or fill-in switch, the mode data corresponding to the intro pattern, fill-in pattern or ending pattern is set in the chord memory area CRDMEM [ADR], and the individual note length data of the notes that make up each pattern is input. It can be omitted. The processing in this case will be described below. When the performer inputs the root note and chord type of the first chord in the performance data by operating the pad and then presses the intro / ending switch 209, the CPU 4 detects an intro / ending switch on event, and the steps of the main routine are executed. S
At 6, the intro / ending switch on event processing routine is executed. First, step S601
And the content of the code memory flag CMFRG is 10B.
Or not. In this case, CMFRG = 10
Since it is B, the determination result of step S601 is "YE
S ”, and the process proceeds to step S602. Then, the root register RTBUF and the chord type register CRDT
It is determined whether or not data is written in YP. If some root note data and chord type data are already written in these registers, step S6.
The determination result of 02 is “YES” and step S603.
To the chord memory area CRD and the contents of the root register RTBUF and the chord type register CRDTYP.
Write in the corresponding storage areas in the MEM (ADR). Then, the process proceeds to step S604. On the other hand, when the root note data and the chord type data are not written in the registers RTBUF and CRDTYP, the determination result of step S602 is “NO”, and step S602 is executed.
The process proceeds to step S604 without executing 603. Next, proceeding to step S604, it is determined whether or not the contents of the bar number register BAR and the beat number register BT are both "1". If the result of this determination is "YES", the flow proceeds to step S605, and the mode data 00B corresponding to the intro performance is stored in the code memory area CRDMEM.
Write to the most significant 2 bits of (ADR). Next, in step S606, the address register ADR is incremented by "1" and the bar number register BAR is incremented by the bar number "2" (fixed value by factory preset) corresponding to the intro performance. Next, in step S607, the contents of the bar number register BAR (in this case, the upper digit area of the timing register LN)
"3") is written, the content of the beat number register BT (in this case, "1") is set in the lower digit area, the content of the timing register LN is displayed on the display 3, and the process returns to the main routine. In this way, the performance data corresponding to the intro section is stored in the chord memory area CRDMEM (AD
R). After that, the performer inputs the performance data on and after the first beat of the third measure by operating the pad and ten keys.
【0019】演奏者がフィルィンスイッチ208を押
し、フィルインスイッチオンイベントがCPU4によっ
て検知されると、メインルーチンのステップS9におい
てフィルインスイッチオンイベント処理ルーチンが実行
される。まず、ステップS901に進み、コードメモリ
フラグCMFRGの内容が10Bであるか否かを判断す
る。この場合、CMFRG=10Bであるため、ステッ
プS901の判断結果は「YES」となり、ステップS
902に進む。そして、根音レジスタRTBUFおよび
コードタイプレジスタCRDTYPにデータが書き込ま
れているか否かを判断する。これらのレジスタに既に何
等かの根音データおよびコードタイプデータが書き込ま
れている場合にはステップS902の判断結果が「YE
S」となってステップS903に進み、根音レジスタR
TBUFおよびコードタイプレジスタCRDTYPの内
容をコードメモリエリアCRDMEM(ADR)におけ
る各々対応する記憶エリアに書き込む。そして、ステッ
プS904に進む。一方、レジスタRTBUFおよびC
RDTYPに根音データおよびコードタイプデータが書
き込まれていない場合にはステップS902の判断結果
が「NO」となり、ステップS903を実行しないでス
テップS904に進む。次にステップS904に進む
と、ビート番号レジスタBTの内容が「1」であるか否
かを判断する。この判断結果が「YES」である場合は
ステップS905に進み、「NO」である場合、すなわ
ち、フィルイン演奏の開始タイミングが小節線タイミン
グに対応していない場合にはビートレジスタBTに強制
的に「1」をセットし(ステップS906)、ステップ
S905に進む。次にステップS905に進むと、フィ
ルインパターンに対応したデータ01Bをコードメモリ
エリアCRDMEM(ADR)の最上位2ビットに書き
込む。次にステップS907に進み、アドレスレジスタ
ADRを「1」だけインクリメントすると共に小節番号
レジスタBARをフィルイン演奏に対応した小節数
「1」だけインクリメントする。次いでステップS90
8に進み、タイミングレジスタLNの上位桁エリアに小
節番号レジスタBARの内容を書き込むと共に下位桁エ
リアにビート番号レジスタBTの内容を書き込み、タイ
ミングレジスタLNの内容を表示器3に表示させ、メイ
ンルーチンに戻る。このようにしてフィルイン部に対応
した演奏データがコードメモリエリアCRDMEM(A
DR)に書き込まれる。When the performer presses the fill-in switch 208 and the fill-in switch-on event is detected by the CPU 4, the fill-in switch-on event processing routine is executed in step S9 of the main routine. First, in step S901, it is determined whether the content of the code memory flag CMFRG is 10B. In this case, since CMFRG = 10B, the determination result of step S901 is “YES”, and step S901
Proceed to 902. Then, it is determined whether or not data is written in the root note register RTBUF and the chord type register CRDTYP. If some root note data and chord type data are already written in these registers, the judgment result of step S902 is "YE".
S ”, and the process proceeds to step S903, and the root register R
The contents of the TBUF and the code type register CRDTYP are written in the corresponding memory areas in the code memory area CRDMEM (ADR). Then, the process proceeds to step S904. Meanwhile, registers RTBUF and C
When the root note data and the chord type data are not written in RDTYP, the determination result of step S902 is "NO", and step S903 is not executed and the process proceeds to step S904. Next, proceeding to step S904, it is determined whether or not the content of the beat number register BT is "1". If the result of this determination is "YES", the flow proceeds to step S905, and if it is "NO", that is, if the start timing of the fill-in performance does not correspond to the bar line timing, the beat register BT is forced to " 1 ”is set (step S906), and the process proceeds to step S905. Next, proceeding to step S905, the data 01B corresponding to the fill-in pattern is written in the most significant 2 bits of the code memory area CRDMEM (ADR). Next, in step S907, the address register ADR is incremented by "1" and the measure number register BAR is incremented by "1", which is the number of measures corresponding to the fill-in performance. Then in step S90
8, the content of the bar number register BAR is written in the upper digit area of the timing register LN, the content of the beat number register BT is written in the lower digit area, the content of the timing register LN is displayed on the display unit 3, and the main routine is executed. Return. In this way, the performance data corresponding to the fill-in part is stored in the chord memory area CRDMEM (A
DR).
【0020】以上のようにしてエンディング部よりも前
の部分の演奏データが作成された後、演奏者によってイ
ントロ/エンディングスイッチ209が押されると、イ
ントロ/エンディグスイッチオンイベント処理ルーチン
が実行される。この場合、ステップS601〜S603
を実行してステップS604まで進んだ時、小節番号レ
ジスタBARの内容が「1」より大きくなっているた
め、ステップS604の判断結果は「NO」となってス
テップS608に進む。そして、ビート番号レジスタB
Tの内容が「1」であるか否かを判断する。この判断結
果が「YES」である場合はステップS609に進み、
「NO」である場合、すなわち、エンディング演奏の開
始タイミングが小節線タイミングに対応していない場合
にはビートレジスタBTに強制的に「1」をセットし
(ステップS610)、ステップS609に進む。次に
ステップS609に進むと、エンディング演奏に対応し
たモードデータ10BをコードメモリエリアCRDME
M(ADR)の最上位2ビットのエリアに書き込む。次
にステップS611に進み、アドレスレジスタADRを
「1」だけインクリメントすると共に小節番号レジスタ
BARをエンディングパターンに対応した小節数「1」
だけインクリメントする。次いでステップS612に進
み、タイミングレジスタLNの上位桁エリアに小節番号
レジスタBARの内容を書き込むと共に下位桁エリアに
ビート番号レジスタBTの内容を書き込み、タイミング
レジスタLNの内容を表示器3に表示させ、メインルー
チンに戻る。このようにしてエンディング部に対応した
演奏データがコードメモリエリアCRDMEM(AD
R)に書き込まれる。When the performer presses the intro / ending switch 209 after the performance data of the portion before the ending portion is created as described above, the intro / ending switch on event processing routine is executed. In this case, steps S601 to S603
Since the contents of the bar number register BAR are larger than "1" when the process is executed to step S604, the determination result of step S604 becomes "NO" and the process proceeds to step S608. And beat number register B
It is determined whether the content of T is "1". If the result of this determination is “YES”, the flow proceeds to step S609,
If "NO", that is, if the ending performance start timing does not correspond to the bar line timing, "1" is forcibly set in the beat register BT (step S610), and the process proceeds to step S609. Next, in step S609, the mode data 10B corresponding to the ending performance is stored in the chord memory area CRDME.
Write to the area of the most significant 2 bits of M (ADR). Next, in step S611, the address register ADR is incremented by "1" and the bar number register BAR is set to the bar number "1" corresponding to the ending pattern.
Increment only. Next, in step S612, the content of the bar number register BAR is written in the upper digit area of the timing register LN, the content of the beat number register BT is written in the lower digit area, and the content of the timing register LN is displayed on the display unit 3. Return to routine. In this way, the performance data corresponding to the ending part is stored in the chord memory area CRDMEM (AD
R).
【0021】<再生モード>演奏者がスタート/ストッ
プスイッチを押下すると、CPU4はステップS7にお
いてスタート/ストップ処理ルーチンを実行する。ま
ず、ステップS701に進み、コードメモリフラグCM
FRGの内容が10Bであるか否かを判断する。この判
断結果が「No」の場合はステップS702に進み、ラ
ンフラグRUNの内容を反転する。そして、メインルー
チンに戻る。また、演奏者がマニュアルステップ入力モ
ードにおいてスタート/ストップスイッチを押下した場
合は、ステップS701の判断結果は「Yes」となっ
てステップS703に進み、楽器モードに対応したデー
タ00BをコードメモリフラグCMFRGに書き込む。
そして、メインルーチンに戻る。すなわち、マニュアル
ステップ入力モードにおいてスタート/ストップスイッ
チが押下されると、同モードが解除される。<Playback Mode> When the performer presses the start / stop switch, the CPU 4 executes a start / stop processing routine in step S7. First, in step S701, the code memory flag CM
It is determined whether the content of FRG is 10B. If the result of this determination is "No", the flow advances to step S702 to invert the contents of the run flag RUN. Then, the process returns to the main routine. When the performer presses the start / stop switch in the manual step input mode, the determination result of step S701 is "Yes" and the process proceeds to step S703, and the data 00B corresponding to the musical instrument mode is set to the chord memory flag CMFRG. Write.
Then, the process returns to the main routine. That is, when the start / stop switch is pressed in the manual step input mode, the mode is released.
【0022】演奏者がスタート/ストップスイッチを操
作することによってランフラグRUNの内容が“1”に
なると、CPU4がリズムインタラプトルーチンを実行
した場合にステップS1001における判断結果が「Y
es」となってステップS1002に進む。そして、そ
の時点におけるテンポカウンタレジスタTCLの内容が
「0」であると共に小節カウンタレジスタBARCTR
の内容が「0」であり、さらにその時点におけるアドレ
スレジスタADRによって指定されるコードメモリエリ
アCRDMEM(ADR)の上位2ビットが00Bであ
るか否かを判断する。この判断結果が「YES」である
場合はステップS1020に進んでイントロフラグIN
TRに“1”を書き込んだ後、ステップS1003に進
み、「NO」である場合はステップS1020を実行し
ないでステップS1003に進む。ここで、図5および
図6に示すように、モードデータが00Bである演奏デ
ータがコードメモリエリアCRDMEM(ADR)に全
く記憶されていない場合は、リズムインタラプトルーチ
ンが実行される時、ステップS1002の判断結果は常
に「NO」となる。一方、図7に示すように、イントロ
パターンに対応したモードデータ00Bを含む演奏デー
タがコードメモリエリアCRDMEM(0)に記憶され
ている場合は、ADR=「0」の状態でリズムインタラ
プトルーチンが実行された時にステップS1020が実
行され、INTR=“1”となる。この結果、以後、2
小節相当の期間、リズムインタラプトルーチンが実行さ
れる際、後述するステップS1021以降の処理により
イントロ演奏が行われる。次にステップS1003へ進
むと、テンポカウンタレジスタTCLの内容が「96」
であるか否か、すなわち、現在が小節の終了タイミング
であるか否かを判断する。この判断結果が「No」の場
合にはステップS1021へ進む。そして、小節線カウ
ンタレジスタBARCTRの内容に「1」を加算した結
果を小節番号レジスタBARに書き込み、テンポカウン
タレジスタTCLの内容を「24」によって除した結果
の整数部に「1」を加算した結果をビート番号レジスタ
BTへ書き込む。そして、小節番号レジスタBARおよ
びビート番号レジスタBTの内容を表示用タイミングレ
ジスタLNに書き込み、このレジスタLNの内容を表示
器3に表示させる。演奏者は表示器3の表示を見ること
により、現在、何小節目の何拍目を演奏しているかを確
認することができる。When the content of the run flag RUN becomes "1" by the player operating the start / stop switch, when the CPU 4 executes the rhythm interrupt routine, the determination result in step S1001 is "Y".
es ”and the process proceeds to step S1002. The content of the tempo counter register TCL at that time is "0" and the bar counter register BARCTR
Is "0", and it is determined whether the upper 2 bits of the code memory area CRDMEM (ADR) designated by the address register ADR at that time are 00B. If the result of this determination is "YES", the flow proceeds to step S1020 and the intro flag IN
After writing “1” to TR, the process proceeds to step S1003, and if “NO”, the process proceeds to step S1003 without executing step S1020. Here, as shown in FIG. 5 and FIG. 6, when the performance data whose mode data is 00B is not stored in the chord memory area CRDMEM (ADR) at all, when the rhythm interrupt routine is executed, step S1002 is executed. The judgment result is always "NO". On the other hand, as shown in FIG. 7, when the performance data including the mode data 00B corresponding to the intro pattern is stored in the chord memory area CRDMEM (0), the rhythm interrupt routine is executed with ADR = "0". When this is done, step S1020 is executed, and INTR = "1". As a result, 2
When the rhythm interrupt routine is executed for a period corresponding to a bar, the intro performance is performed by the processing of step S1021 and subsequent steps described later. Next, proceeding to step S1003, the content of the tempo counter register TCL is "96".
Or not, that is, whether or not the present is the end timing of the bar. If the result of this determination is "No", the flow proceeds to step S1021. Then, the result of adding “1” to the content of the bar line counter register BARCTR is written to the bar number register BAR, and the result of adding “1” to the integer part of the result of dividing the content of the tempo counter register TCL by “24”. To the beat number register BT. Then, the contents of the bar number register BAR and the beat number register BT are written in the display timing register LN, and the contents of this register LN are displayed on the display unit 3. By looking at the display on the display unit 3, the performer can confirm what measure and what beat the player is currently playing.
【0023】次にステップS1022に進み、その時点
におけるイントロフラグINTR、フィルインフラグF
IおよびエンディングフラグENDの状態に基づいてリ
ズム音の再生処理を行う。すなわち、イントロフラグF
Iが“1”である場合は、ROM6内のリズムパターン
エリアに記憶された各リズムパターンの中から、操作パ
ネルのリズムスイッチ(図示略)によって指定されたリ
ズム種類(ロック、ワルツ等)に対応したリズムのイン
トロパターンを選択し、そのイントロパターンを構成す
る各データのうちその時点におけるテンポカウントレジ
スタTCLの値に対応したデータを読み出し、リズム音
源8へ供給する。また、フィルインフラグFIあるいは
エンディングフラグENDが“1”である場合はフィル
インパターン、エンディングパターンのうちフラグによ
って指定されたパターンを選択し、イントロフラグIN
TR、フィルインフラグFIおよびエンディングフラグ
ENDの内容がすべて“0”である場合はノーマルパタ
ーンを選択し、INTR=“1”である場合と同様な処
理を行う。次にステップS1023に進み、オートベー
スモードフラグABの内容が“1”であるか否かを判断
する。この判断結果が「Yes」である場合はステップ
S1025へ進み、「No」の場合はステップS102
4に進む。次にステップS1024に進むと、コードメ
モリフラグCRDFRGの内容が01Bか否かを判断す
る。この判断結果が「Yes」の場合はステップS10
25に進み、「No」の場合はステップS1026へ進
む。Next, in step S1022, the intro flag INTR and the fill-in flag F at that time are set.
Rhythm sound reproduction processing is performed based on the state of I and the ending flag END. That is, the intro flag F
When I is “1”, it corresponds to the rhythm type (lock, waltz, etc.) specified by the rhythm switch (not shown) on the operation panel from among the rhythm patterns stored in the rhythm pattern area in the ROM 6. The intro pattern of the selected rhythm is selected, and the data corresponding to the value of the tempo count register TCL at that time point is read out from the respective data forming the intro pattern and supplied to the rhythm sound source 8. When the fill-in flag FI or the ending flag END is "1", the pattern designated by the flag is selected from the fill-in pattern and the ending pattern, and the intro flag IN
When the contents of TR, fill-in flag FI and ending flag END are all "0", the normal pattern is selected, and the same processing as in the case of INTR = "1" is performed. Next, proceeding to step S1023, it is determined whether or not the content of the auto base mode flag AB is "1". If this determination result is “Yes”, the process proceeds to step S1025, and if “No”, the process is step S102.
Go to 4. Next, proceeding to step S1024, it is determined whether the content of the code memory flag CRDFRG is 01B. If the result of this determination is "Yes", then step S10.
25, and if “No”, the process proceeds to step S1026.
【0024】次にステップS1025に進むと、その時
点におけるイントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの状態に基づいて
ベース音の再生処理を行う。すなわち、イントロフラグ
FIが“1”である場合は、ROM6内のオートベース
パターンエリアに記憶された各オートベースパターンの
中から、操作パネルのリズムスイッチ(図示略)によっ
て指定されたリズム種類(ロック、ワルツ等)に対応し
たオートベースのイントロパターンを選択し、そのイン
トロパターンを構成する各データのうちその時点におけ
るテンポカウントレジスタTCLの値に対応したデータ
を読み出し、音階音源9へ供給する。また、フィルイン
フラグFIあるいはエンディングフラグENDが“1”
である場合はフィルインパターン、エンディングパター
ンのうちフラグによって指定されたパターンを選択し、
イントロフラグINTR、フィルインフラグFIおよび
エンディングフラグENDの内容がすべて“0”である
場合はノーマルパターンを選択し、INTR=“1”で
ある場合と同様な処理を行う。次にステップS1026
に進むと、コードメモリフラグCMFRGの内容が01
Bであるか否かを判断する。この判断結果が「YES」
の場合はステップS1027に進み、「NO」の場合は
ステップS1028に進む。Next, proceeding to step S1025, bass tone reproduction processing is performed based on the states of the intro flag INTR, fill-in flag FI and ending flag END at that time. That is, when the intro flag FI is "1", the rhythm type (lock) specified by the rhythm switch (not shown) on the operation panel is selected from the auto bass patterns stored in the auto bass pattern area in the ROM 6. , Waltz, etc.) is selected, and the data corresponding to the value of the tempo count register TCL at that point in time is read out from each of the data forming the intro pattern and supplied to the scale tone generator 9. Further, the fill-in flag FI or the ending flag END is "1".
If it is, select the pattern specified by the flag from the fill-in pattern and ending pattern,
When the contents of the intro flag INTR, the fill-in flag FI and the ending flag END are all "0", the normal pattern is selected, and the same processing as in the case of INTR = "1" is performed. Next, step S1026.
And the contents of the code memory flag CMFRG is 01.
It is determined whether or not it is B. This judgment result is "YES"
In the case of, it progresses to step S1027, and in the case of "NO", it progresses to step S1028.
【0025】次にステップS1027に進むと、その時
点におけるイントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの状態に基づいて
コードバッキング音の再生処理を行う。すなわち、イン
トロフラグFIが“1”である場合は、ROM6内のコ
ードパターンエリアに記憶された各コードパターンの中
から操作パネルのリズムスイッチによって指定されたリ
ズム種類に対応したコードバキングのイントロパターン
を選択し、そのイントロパターンを構成する各データ
(コード音を発音するか否かを指定するデータ)のうち
その時点におけるテンポカウントレジスタTCLの値に
対応したデータを読み出し、コードバッキング音の発音
を指示するデータを読み出した場合にはコードメモリエ
リアCRDMEM(ADR)内の根音データおよびコー
ドタイプデータを音階音音源9へ供給する。また、フィ
ルインフラグFIあるいはエンディングフラグENDが
“1”である場合はフィルインパターン、エンディング
パターンのうちフラグによって指定されたパターンを選
択し、INTR=“1”である場合と同様な処理を行
う。また、イントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの内容がすべて
“0”である場合は、上述の場合と異なってROM6内
のコードパターンエリアは参照されない。この場合、そ
の時点におけるテンポカウンタレジスタTCLの内容と
当該小節内における再生済みの演奏データにおける音長
データの累算値と一致した場合にアドレスレジスタAD
Rをインクリメントし、コードメモリエリアCRDME
M(ADR)内の根音データおよびコードタイプデータ
を音階音音源9に送り、コードメモリエリアCRDME
M(ADR)から新たな音長データを読み出してそれま
での音長データの累算値に加算する。ここで、音長デー
タの累算値が「96」を越えた場合には累算値から「9
6」を減算する。次にステップS1028に進み、テン
ポカウンタレジスタTCLの内容をインクリメントしリ
ズムインタラプトルーチンを終了する。Next, in step S1027, the chord backing sound is reproduced based on the states of the intro flag INTR, fill-in flag FI and ending flag END at that time. That is, when the intro flag FI is “1”, the chord backing intro pattern corresponding to the rhythm type designated by the rhythm switch of the operation panel from among the chord patterns stored in the chord pattern area in the ROM 6 Is selected, and the data corresponding to the value of the tempo count register TCL at that point in time is read out from each data (data designating whether or not to generate a chord tone) that constitutes the intro pattern, and the chord backing tone is produced. When the instructed data is read, the root note data and the chord type data in the chord memory area CRDMEM (ADR) are supplied to the scale tone source 9. When the fill-in flag FI or the ending flag END is "1", the pattern specified by the flag is selected from the fill-in pattern and the ending pattern, and the same process as when INTR = "1" is performed. When the contents of the intro flag INTR, the fill-in flag FI and the ending flag END are all "0", the code pattern area in the ROM 6 is not referred to, unlike the above case. In this case, if the contents of the tempo counter register TCL at that point of time and the accumulated value of the tone length data in the reproduced performance data in the measure match, the address register AD
R is incremented and code memory area CRDME
The root note data and chord type data in M (ADR) are sent to the scale tone generator 9, and chord memory area CRDME
New tone length data is read from M (ADR) and added to the accumulated value of the tone length data up to that point. Here, if the cumulative value of the tone length data exceeds "96", the cumulative value becomes "9".
6 ”is subtracted. Next, proceeding to step S1028, the contents of the tempo counter register TCL are incremented and the rhythm interrupt routine is ended.
【0026】以後、所定時間が経過する毎に上述のよう
にリズムインタラプトルーチンが実行される。そして、
CPU4がリズムインタラプトルーチンを実行した際、
テンポカウンタレジスタTCLの内容が「96」である
と、ステップS1003の判断結果が「Yes」となっ
てステップS1004に進む。次にステップS1004
に進むと、テンポカウンタレジスタTCLに「0」を書
き込み、小節線カウンタレジスタBARCTRの内容を
インクリメントする。次にステップS1005に進み、
イントロフラグINTRが“1”であり、かつ、小節線
カウンタレジスタBARCTRの内容が「2」であるか
否かを判断する。この判断結果が「YES」である場合
はステップS1006に進んでINTR=“0”とす
る。そして、ステップS1006が終るとステップS1
007に進む。一方、ステップS1005の判断結果が
「NO」である場合はステップS1006を実行しない
でステップS1007に進む。図5および図6に示すよ
うにイントロ演奏に対応したモードデータがコードメモ
リエリアに記憶されていない場合は、ステップS100
5の判断結果は常に「NO」となる。これに対し、図7
に示すように、イントロ演奏に対応したモードデータ0
0Bがコードメモリエリアに記憶されている場合は、そ
のモードデータが読み出された時点でINTR=“1”
とされ(ステップS1020)、以後、2小節に相当す
る期間、リズムインタラプトルーチンのステップS10
21以降の処理が行われることによってイントロ演奏が
行われる。リズムインタラプトルーチンが実行されて2
小節あるイントロ部の再生が終了すると、INTR=
“1”かつBARCTR=「2」となり、ステップS1
005における判断結果が「YES」となり、INTR
=“0”とされ(ステップS1006)、イントロ演奏
が終了する。Thereafter, the rhythm interrupt routine is executed as described above each time a predetermined time has elapsed. And
When the CPU 4 executes the rhythm interrupt routine,
If the content of the tempo counter register TCL is "96", the determination result of step S1003 becomes "Yes" and the process proceeds to step S1004. Next step S1004
When the process advances to step 1, "0" is written to the tempo counter register TCL and the bar line counter register BARCTR is incremented. Next, in step S1005,
It is determined whether the intro flag INTR is "1" and the content of the bar line counter register BARCTR is "2". If the result of this determination is “YES”, the flow advances to step S1006 to set INTR = “0”. When step S1006 ends, step S1
Proceed to 007. On the other hand, when the result of the determination in step S1005 is "NO", step S1006 is not executed and the process proceeds to step S1007. If the mode data corresponding to the intro performance is not stored in the chord memory area as shown in FIGS. 5 and 6, step S100
The judgment result of 5 is always "NO". On the other hand, FIG.
As shown in, mode data 0 corresponding to the intro performance
If 0B is stored in the code memory area, INTR = "1" at the time when the mode data is read.
(Step S1020), and thereafter, during a period corresponding to two measures, step S10 of the rhythm interrupt routine.
The intro performance is performed by performing the processing after 21. Rhythm interrupt routine is executed 2
When the playback of the intro section with a bar ends, INTR =
“1” and BARCTR = “2”, and step S1
The determination result in 005 is “YES”, and INTR
= “0” is set (step S1006), and the intro performance ends.
【0027】次にステップS1007に進み、小節線カ
ウンタレジスタBARCTRの内容が最終小節番号レジ
スタSONG(i)に記憶された小節番号より「1」だ
け小さい値であるか否かを判断する。この判断結果が
「NO」である場合はステップS1010に進む。一
方、ステップS1007の判断結果が「Yes」である
場合はステップS1008に進み、現時点のアドレスレ
ジスタADRによって指定されるコードメモリエリアC
RDMEM(ADR)内にエンデイングパターンに対応
したモードデータ10Bがあるか否かを判断する。この
判断結果が「Yes」である場合はステップS1009
に進んでエンディングフラグENDに“1”を書き込
み、ステップS1010に進む。この結果、以後、1小
節に相当する期間、リズムインタラプトルーチンのステ
ップS1021以降の処理が行われることによってエン
ディング演奏が行われる。一方、ステップS1008の
判断結果が「No」である場合はステップS1009を
実行しないでステップS1010に進む。このように、
最終小節に対応する演奏データとしてエンディングパタ
ーンに対応するモードデータ10Bを含んだ演奏データ
がコードメモリエリアに記憶されている場合は、その演
奏データよりも1小節前の演奏データが読み出された時
点でEND=“1”とされる。Next, in step S1007, it is determined whether or not the content of the bar line counter register BARCTR is smaller than the bar number stored in the final bar number register SONG (i) by "1". If the result of this determination is “NO”, the flow proceeds to step S1010. On the other hand, if the result of the determination in step S1007 is "Yes", the flow proceeds to step S1008, and the code memory area C specified by the address register ADR at the current time point.
It is determined whether or not there is the mode data 10B corresponding to the ending pattern in the RDMEM (ADR). If the result of this determination is "Yes", then step S1009.
In step S1010, "1" is written in the ending flag END, and the flow advances to step S1010. As a result, after that, the ending performance is performed by performing the processing after step S1021 of the rhythm interrupt routine for a period corresponding to one bar. On the other hand, if the determination result of step S1008 is “No”, step S1009 is not executed and the process proceeds to step S1010. in this way,
When the performance data including the mode data 10B corresponding to the ending pattern as the performance data corresponding to the final measure is stored in the chord memory area, the performance data one bar before the performance data is read out. Is set to END = “1”.
【0028】次にステップS1010に進むと、小節線
カウントレジスタBARCTRの内容が最終小節番号レ
ジスタSONG(i)の内容と一致しているか否かを判
断する。この判断結果が「No」である場合はステップ
S1015に進む。一方、ステップS1010の判断結
果が「Yes」である場合はステップS1011に進
み、小節線カウンタレジスタBARCTRおよびアドレ
スレジスタADRに「0」を書き込む。次にステップS
1012に進み、コードメモリフラグCMFRGの内容
が01Bであるか否かを判断する。この判断結果が「N
O」である場合はステップS1015に進む。一方、ス
テップS1012の判断結果が「YES」である場合は
ステップS1013に進み、アドレスレジスタADRに
よって指定されるコードメモリエリアCRDMEM(A
DR)、すなわち、この場合はCRDMEM(0)にイ
ントロパターンに対応したモードデータ00Bが記憶さ
れているか否かを判断する。この判断結果が「NO」で
ある場合はステップS1015に進む。一方、ステップ
S1013の判断結果が「YES」である場合はステッ
プS1014に進み、小節線カウンタレジスタBACT
Rに「2」を書き込み、アドレスレジスタADRを
「1」だけインクリメントし、ステップS1015に進
む。このように、イントロ演奏に対応した演奏データが
コードメモリエリアCRDMEM(0)に記憶されてい
る場合は、最終小節の演奏データの再生を終えた後、A
DR=「1」とされ、イントロ演奏に対応した演奏デー
タの次の演奏データから再生が行われる。すなわち、イ
ントロ演奏をバイパスして演奏が繰り返される。Next, in step S1010, it is determined whether the contents of the bar line count register BARCTR match the contents of the final bar number register SONG (i). If the result of this determination is "No", the flow proceeds to step S1015. On the other hand, if the result of the determination in step S1010 is "Yes", the flow advances to step S1011 to write "0" in the bar line counter register BARCTR and the address register ADR. Then step S
In step 1012, it is determined whether the code memory flag CMFRG is 01B. This judgment result is "N
If “O”, the process proceeds to step S1015. On the other hand, if the decision result in the step S1012 is “YES”, the process advances to a step S1013, and the code memory area CRDMEM (A designated by the address register ADR.
DR), that is, in this case, whether or not the mode data 00B corresponding to the intro pattern is stored in CRDMEM (0). If the result of this determination is “NO”, the flow proceeds to step S1015. On the other hand, if the decision result in the step S1013 is "YES", the process advances to a step S1014, and the bar line counter register BACT.
"2" is written in R, the address register ADR is incremented by "1", and the process proceeds to step S1015. As described above, when the performance data corresponding to the intro performance is stored in the chord memory area CRDMEM (0), after the reproduction of the performance data of the last measure is finished,
DR = “1” is set, and reproduction is performed from the performance data next to the performance data corresponding to the intro performance. That is, the intro performance is bypassed and the performance is repeated.
【0029】次にステップS1015に進むと、エンデ
ィグフラグENDの内容が“1”であるか否かを判断す
る。この判断結果が「NO」の場合は上述したステップ
S1021以降の処理を実行してリズムインタラプトル
ーチンを終了する。一方、ステップS1015の判断結
果が「YES」の場合にはステップS1016に進み、
エンディングフラグENDおよびランフラグRUNに
“0”を書き込むと共に小節線カウンタレジスタBAR
CTRに「0」を書き込む。そして、リズムインタラプ
トルーチンを終了する。このように最終小節に対応する
演奏データとしてエンディング演奏に対応するモードデ
ータ10Bを含んだ演奏データがコードメモリエリアに
記憶されている場合は、その演奏データによる1小節の
エンディング演奏を開始する前にEND=“1”とされ
る(ステップS1009)。そして、END=“1”と
なってエンディング演奏が終ると、RUN=“0”とな
り(ステップS1016)、自動演奏が停止する。これ
に対し、エンディング演奏に対応するモードデータ10
Bを含んだ演奏データがコードメモリエリアに記憶され
ていない場合、エンディングフラグENDに対する
“1”の書込(ステップS1009)は実行されない。
従って、最終小節に相当する演奏データの再生が終わっ
た場合にADR=「0」とされ(ステップS101
1)、再び、コードメモリエリアにおける最初の演奏デ
ータから順に再生される。Next, proceeding to step S1015, it is determined whether or not the content of the ending flag END is "1". If the result of this determination is "NO", then the processes in and after step S1021 described above are executed and the rhythm interrupt routine is terminated. On the other hand, if the result of the determination in step S1015 is “YES”, the process proceeds to step S1016,
"0" is written to the ending flag END and the run flag RUN, and the bar line counter register BAR
Write "0" in CTR. Then, the rhythm interrupt routine ends. In this way, when the performance data including the mode data 10B corresponding to the ending performance is stored in the chord memory area as the performance data corresponding to the last measure, before the ending performance of one measure by the performance data is started. END = “1” is set (step S1009). Then, when END = "1" and the ending performance ends, RUN = "0" (step S1016) and the automatic performance is stopped. On the other hand, mode data 10 corresponding to the ending performance
If the performance data including B is not stored in the chord memory area, writing "1" to the ending flag END (step S1009) is not executed.
Therefore, when the reproduction of the performance data corresponding to the last measure is finished, ADR = "0" is set (step S101).
1) Again, the performance data is reproduced in order from the first performance data in the code memory area.
【0030】また、上記の通り、各小節線タイミングに
おいて、当該小節において再生すべき演奏データがエン
ディングパターンに対応したものであるかを判断し(ス
テップS1008)、この判断結果が「Yes」である
場合に当該小節タイミングにおいてエンデイング演奏の
開始の指示を行っている(ステップS1009)。従っ
て、エンディング部以前の音長データの総和が1小節の
時間長の整数倍でない場合であっても、最終小節の小節
線タイミングにおいてエンディング演奏が開始される。
例えば、最終小節より1つ前の第4拍目に相当する演奏
データとして、2拍相当の音長データを有する演奏デー
タを誤って記録した場合、その演奏データは再生時にお
いて1拍の音長でしか発音されず、最終小節の小節線タ
イミングにおいてエンディング演奏が開始される。これ
により、誤って不合理な変拍子演奏にならずに済む。As described above, at each bar line timing, it is judged whether the performance data to be reproduced in the bar corresponds to the ending pattern (step S1008), and the judgment result is "Yes". In this case, an instruction to start the ending performance is given at the bar timing (step S1009). Therefore, even if the total sum of the sound length data before the ending portion is not an integral multiple of the time length of one bar, the ending performance is started at the bar line timing of the last bar.
For example, when the performance data having the note length data corresponding to 2 beats is mistakenly recorded as the performance data corresponding to the 4th beat immediately before the last measure, the performance data is reproduced with the note length of 1 beat. The ending performance is started at the bar line timing of the last measure. As a result, it is possible to prevent accidental and unreasonable time signature performance.
【0031】次に自動演奏が行われている期間にフィル
インスイッチが押下された場合の動作を説明する。この
場合、CPU4がフィルインスイッチオンイベント処理
ルーチンを実行する際、コードメモリフラグCMFRG
には10B以外のデータが書き込まれているため、ステ
ップS901の判断結果が「NO」となってステップS
911に進み、ランフラグRUNが“1”であるか否か
を判断する。この判断結果が「YES」となり、ステッ
プS912に進んでフィルインフラグFIに“1”をセ
ットする。この結果、リズムインタラプトルーチンのス
テップS1022およびS1025において、ROM6
からフィルインパターンが読み出され、フィルインパタ
ーンによるリズム伴奏およびオートベース伴奏が行われ
る。Next, the operation when the fill-in switch is pressed while the automatic performance is being performed will be described. In this case, when the CPU 4 executes the fill-in switch-on event processing routine, the code memory flag CMFRG
Since data other than 10B is written in, the determination result of step S901 is "NO" and step S901 is executed.
In step 911, it is determined whether the run flag RUN is "1". The result of this determination is "YES", and the flow advances to step S912 to set "1" in the fill-in flag FI. As a result, in steps S1022 and S1025 of the rhythm interrupt routine, the ROM 6
The fill-in pattern is read from the rhythm and the rhythm accompaniment and auto-bass accompaniment are performed by the fill-in pattern.
【0032】次に自動演奏が行われている期間にイント
ロ/エンディングスイッチが押下された場合の動作を説
明する。この場合も、CPU4がイントロ/エンディン
グスイッチオンイベント処理ルーチンを実行する際、コ
ードメモリフラグCMFRGには10B以外のデータが
書き込まれているため、ステップS601の判断結果が
「NO」となってステップS621に進み、ランフラグ
RUNが“1”であるか否かを判断する。この場合、ス
テップS621の判断結果が「YES」となり、ステッ
プS623に進んでエンディングフラグENDに“1”
をセットする。この結果、リズムインタラプトルーチン
のステップS1022およびS1025において、RO
M6からエンディングパターンが読み出され、エンディ
ング演奏が行われ、その後、自動演奏が終了する。Next, the operation when the intro / ending switch is pressed while the automatic performance is being performed will be described. Also in this case, when the CPU 4 executes the intro / ending switch on event processing routine, since the data other than 10B is written in the code memory flag CMFRG, the determination result of step S601 becomes "NO" and step S621. Then, it is determined whether the run flag RUN is "1". In this case, the determination result of step S621 is “YES”, the process proceeds to step S623, and the ending flag END is set to “1”.
Set. As a result, in steps S1022 and S1025 of the rhythm interrupt routine, RO
The ending pattern is read from M6, the ending performance is performed, and then the automatic performance ends.
【0033】自動演奏を行っておらず、コードメモリエ
リアに対する書き込みも行っていない場合(CMFRG
が10B以外の値)にイントロ/エンディングスイッチ
が押下された場合の動作を説明する。この場合、イント
ロ/エンディングスイッチオンイベント処理ルーチンの
ステップS601、S621を介しステップS624が
実行され、INTR=“1”、RUN=“1”とされ
る。この結果、リズムインタラプトルーチンが実行され
る際、ステップS1002以降の処理が実行される。こ
こで、INTR=“1”であるため、ステップS102
2およびS1025において、ROM6からイントロパ
ターンが読み出され、イントロ演奏が行われる。なお、
上記実施例では、イントロパターンを2小節に、エンデ
ィングパターンを1小節に固定した場合を説明したが、
これらの各パターンの長さはこれに限定されるものでは
なく、任意に設定することが可能である。When the automatic performance is not performed and the writing to the chord memory area is not performed (CMFRG
When the intro / ending switch is pressed to a value other than 10B), the operation will be described. In this case, step S624 is executed through steps S601 and S621 of the intro / ending switch on event processing routine, and INTR = “1” and RUN = “1”. As a result, when the rhythm interrupt routine is executed, the processing from step S1002 onward is executed. Here, since INTR = "1", step S102
2 and S1025, the intro pattern is read from the ROM 6 and the intro performance is performed. In addition,
In the above embodiment, the case where the intro pattern is fixed to 2 bars and the ending pattern is fixed to 1 bar has been described.
The length of each of these patterns is not limited to this, and can be set arbitrarily.
【0034】[0034]
【発明の効果】以上説明したように、この発明によれ
ば、エンドレスな自動演奏が可能であると共にエンドレ
スな自動演奏を行う場合に演奏データの中にイントロ部
あるいはエンディング部といった曲の特定部に対応した
演奏データがある場合においても、音楽的違和感を生じ
ることなく自動演奏を行うことができるという効果が得
られる。As described above, according to the present invention, endless automatic performance is possible, and in the case of performing endless automatic performance, it is included in the performance data in the specific portion of the music such as the intro section or the ending section. Even if there is corresponding performance data, it is possible to perform an automatic performance without causing a musical discomfort.
【図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 the outer appearance of the embodiment.
【図3】 同実施例のパネル面に配備された操作子およ
び表示器を示す平面図である。FIG. 3 is a plan view showing an operator and a display unit arranged on the panel surface of the embodiment.
【図4】 同実施例のRAM7に記憶された演奏データ
のフォーマットを説明する図である。FIG. 4 is a diagram illustrating a format of performance data stored in a RAM 7 of the same embodiment.
【図5】 同実施例のRAM7に記憶された演奏データ
を例示する図である。FIG. 5 is a diagram showing an example of performance data stored in a RAM 7 of the embodiment.
【図6】 同実施例のRAM7に記憶された演奏データ
を例示する図である。FIG. 6 is a diagram showing an example of performance data stored in a RAM 7 of the same embodiment.
【図7】 同実施例のRAM7に記憶された演奏データ
を例示する図である。FIG. 7 is a diagram showing an example of performance data stored in a RAM 7 of the embodiment.
【図8】 同実施例の動作を説明するフローチャートで
ある。FIG. 8 is a flowchart illustrating the operation of the embodiment.
【図9】 同実施例の動作を説明するフローチャートで
ある。FIG. 9 is a flowchart illustrating the operation of the embodiment.
【図10】 同実施例の動作を説明するフローチャート
である。FIG. 10 is a flowchart illustrating the operation of the embodiment.
【図11】 同実施例の動作を説明するフローチャート
である。FIG. 11 is a flowchart illustrating the operation of the embodiment.
【図12】 同実施例の動作を説明するフローチャート
である。FIG. 12 is a flowchart illustrating the operation of the embodiment.
【図13】 同実施例の動作を説明するフローチャート
である。FIG. 13 is a flowchart illustrating the operation of the embodiment.
【図14】 同実施例の動作を説明するフローチャート
である。FIG. 14 is a flowchart illustrating the operation of the embodiment.
【図15】 同実施例の動作を説明するフローチャート
である。FIG. 15 is a flowchart illustrating the operation of the embodiment.
【図16】 同実施例の動作を説明するフローチャート
である。FIG. 16 is a flowchart illustrating an operation of the embodiment.
【図17】 同実施例の動作を説明するフローチャート
である。FIG. 17 is a flowchart illustrating the operation of the embodiment.
【図18】 同実施例の動作を説明するフローチャート
である。FIG. 18 is a flowchart illustrating the operation of the embodiment.
【図19】 同実施例の動作を説明するフローチャート
である。FIG. 19 is a flowchart illustrating the operation of the embodiment.
1……パッドスイッチ群、2……操作子スイッチ群、4
……CPU、5……タイマ、8……リズム音源、9……
音階音音源。1 ... Pad switch group, 2 ... Operator switch group, 4
...... CPU, 5 ...... Timer, 8 ...... Rhythm sound source, 9 ......
Scale sound source.
Claims (2)
データとを組み合わせて所定曲の演奏データとして記憶
した記憶手段と、 前記主要部分の演奏データと前記特定部分の演奏データ
とをそれぞれ前記記憶手段から読み出すとともに、該読
み出された主要部分の演奏データと特定部分の演奏デー
タに基づいて前記所定曲の自動演奏を行う自動演奏手段
と、 前記自動演奏手段によって前記特定部分の演奏データが
読み出されたときは該特定部分の演奏データの読出終了
とともに該所定曲の自動演奏を終了させるように前記自
動演奏手段を制御する終了制御手段と、 前記自動演奏手段によって前記特定部分の演奏データが
読み出されないときは前記主要部分の演奏データを繰り
返し読み出すように前記自動演奏手段を制御する繰り返
し制御手段とを具備することを特徴とする自動演奏装
置。1. Storage means for storing the performance data of a main part and the performance data of a specific part as combined performance data of a predetermined tune, and the performance data of said main part and the performance data of said specific part, respectively. Automatic performance means for automatically playing the predetermined music piece based on the read performance data of the main portion and the performance data of the specific portion, and the performance data of the specific portion read by the automatic performance means. When it is issued, when the reading of the performance data of the specific portion is completed, the end control means for controlling the automatic performance means so as to end the automatic performance of the predetermined music, and the performance data of the specific portion is transferred by the automatic performance means. Repetition control means for controlling the automatic performance means so as to repeatedly read the performance data of the main part when the performance data is not read. An automatic performance device comprising:
データとを組み合わせて所定曲の演奏データとして記憶
した記憶手段と、 前記主要部分の演奏データと前記特定部分の演奏データ
とをそれぞれ前記記憶手段から読み出すとともに、該読
み出された主要部分の演奏データと特定部分の演奏デー
タに基づいて前記所定曲の自動演奏を行う自動演奏手段
と、 前記自動演奏手段によって前記特定部分の演奏データが
読み出されたときは、該特定部分の演奏データの読出終
了後、前記主要部分の演奏データを読み出すように前記
自動演奏手段を制御すると共に、前記主要部分の演奏デ
ータの読出終了後は前記特定部分の演奏データより後の
演奏データから自動演奏を再開するように前記自動演奏
手段を制御する制御手段とを具備することを特徴とする
自動演奏装置。2. Storage means for storing the performance data of the main part and the performance data of the specific part and storing them as the performance data of a predetermined song, and the performance data of the main part and the performance data of the specific part, respectively. Automatic performance means for automatically playing the predetermined music piece based on the read performance data of the main portion and the performance data of the specific portion, and the performance data of the specific portion read by the automatic performance means. When it is issued, the automatic performance means is controlled so as to read the performance data of the main part after the reading of the performance data of the specific part, and the specific part after the completion of the reading of the performance data of the main part. Control means for controlling the automatic performance means so as to restart the automatic performance from performance data after the performance data. Automatic musical instrument that.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP00178592A JP3252425B2 (en) | 1992-01-08 | 1992-01-08 | Automatic performance device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP00178592A JP3252425B2 (en) | 1992-01-08 | 1992-01-08 | Automatic performance device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0619469A true JPH0619469A (en) | 1994-01-28 |
| JP3252425B2 JP3252425B2 (en) | 2002-02-04 |
Family
ID=11511232
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP00178592A Expired - Fee Related JP3252425B2 (en) | 1992-01-08 | 1992-01-08 | Automatic performance device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3252425B2 (en) |
-
1992
- 1992-01-08 JP JP00178592A patent/JP3252425B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP3252425B2 (en) | 2002-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05108065A (en) | Automatic performance device | |
| US4448104A (en) | Electronic apparatus having a tone generating function | |
| JPS6157640B2 (en) | ||
| JP4134945B2 (en) | Automatic performance device and program | |
| JP2500528B2 (en) | Electronic musical instrument | |
| JPH05188956A (en) | Electronic musical instrument with automatic playing function | |
| JP3245916B2 (en) | Automatic performance device | |
| JP3252425B2 (en) | Automatic performance device | |
| JPH0594181A (en) | Automatic performance data generating device | |
| JPH0617197Y2 (en) | Electronic musical instrument | |
| JP3909677B2 (en) | Automatic performance device | |
| JP4056902B2 (en) | Automatic performance apparatus and automatic performance method | |
| JP4214845B2 (en) | Automatic arpeggio device and computer program applied to the device | |
| JPH0367276B2 (en) | ||
| JP4029710B2 (en) | Registration data calling device and registration data calling program | |
| JPH08314456A (en) | Automatic accompaniment device | |
| JP3479141B2 (en) | Automatic performance device | |
| JPH0317359Y2 (en) | ||
| JP2674454B2 (en) | Automatic accompaniment device | |
| JP3263966B2 (en) | Electronic musical instrument with automatic performance function | |
| JP3760938B2 (en) | Performance information conversion device, performance information conversion method, and recording medium recording performance information conversion control program | |
| JP2565152B2 (en) | Automatic accompaniment device | |
| JPH05100678A (en) | Electronic musical instrument | |
| JP2002099277A (en) | Automatic composition apparatus and method as well as memory medium | |
| JPS636794Y2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010703 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20011023 |
|
| 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: 20071122 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081122 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |