JPH05232938A - Automatic playing device - Google Patents

Automatic playing device

Info

Publication number
JPH05232938A
JPH05232938A JP4036180A JP3618092A JPH05232938A JP H05232938 A JPH05232938 A JP H05232938A JP 4036180 A JP4036180 A JP 4036180A JP 3618092 A JP3618092 A JP 3618092A JP H05232938 A JPH05232938 A JP H05232938A
Authority
JP
Japan
Prior art keywords
data
accompaniment
memory
accompaniment pattern
song
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4036180A
Other languages
Japanese (ja)
Other versions
JP3318944B2 (en
Inventor
Yoshinari Terada
好成 寺田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP03618092A priority Critical patent/JP3318944B2/en
Publication of JPH05232938A publication Critical patent/JPH05232938A/en
Application granted granted Critical
Publication of JP3318944B2 publication Critical patent/JP3318944B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To easily execute the editing work of automatic playing data. CONSTITUTION:An automatic playing pattern memory 60 is divided into plural rhythm styles and plural sections and each section stores a playing pattern consisting of a series of original playing data. Playing patterns belonging to all the sections corresponding to respective rhythm styles or optional number of playing patterns belonging to the same rhythm style are selectively transferred to a sequencer memory 70 by the operation of an operation panel 20. Playing data to be stored by the transfer or initialization and melody playing data are stored in the memory 70 and both the data are edited (insertion, rewriting and overdubbing) by key playing. In the editing operation, stored data can be changed by a key playing data while repeatedly reproducing an optionally specified section.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はメモリ内に記憶されてい
る演奏データに基づいて自動的に楽音を発生する自動演
奏装置に係り、特に同メモリ内の演奏データをエディッ
ト可能な自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device which automatically generates musical tones based on performance data stored in a memory, and more particularly to an automatic performance device capable of editing performance data in the memory. .

【0002】[0002]

【従来の技術】従来、この種の装置は、例えば特開昭6
1−292689号公報に示されているように、予め記
憶されている複数の伴奏パターンデータのうちから一つ
を指定して、同指定された伴奏パターンデータを書換え
可能なメモリに転送し、同転送された伴奏パターンデー
タを読み出すとともに同読み出された伴奏パターンデー
タに基づく楽音を発生しながら、前記メモリに転送され
た伴奏パターンデータの一部を鍵盤にて演奏された鍵を
表す演奏データで置換することにより、伴奏パターンデ
ータのエディットを行うようにしている。
2. Description of the Related Art Conventionally, an apparatus of this type is disclosed in, for example, Japanese Patent Laid-Open No.
As disclosed in JP-A-1-292689, one of a plurality of accompaniment pattern data stored in advance is designated, the designated accompaniment pattern data is transferred to a rewritable memory, and While playing the transferred accompaniment pattern data and generating musical tones based on the read accompaniment pattern data, a part of the accompaniment pattern data transferred to the memory is played as performance data representing a key played on a keyboard. By performing the replacement, the accompaniment pattern data is edited.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記従来の装
置においては、書換え可能なメモリへ転送可能な伴奏パ
ターンデータは一つに限られていたので、多くの伴奏パ
ターンデータをエディットしたい場合には、前記伴奏パ
ターンデータの転送に手間がかかった。通常、一つのリ
ズムスタイルに対応して、イントロ、ノーマル、フィル
ンイン、エンディング等の伴奏パターン種類に対応した
伴奏パターンデータが予め用意されており、伴奏パター
ンデータをエディットする場合には、一つのリズムスタ
イルに属する複数種類の伴奏パターンデータをエディッ
トすることが通常であり、このような場合に、特に、エ
ディット処理における複数種類の伴奏パターンデータの
転送が問題になる。
However, in the above-mentioned conventional apparatus, the number of accompaniment pattern data that can be transferred to the rewritable memory is limited to one. Therefore, when it is desired to edit many accompaniment pattern data. It took a lot of time to transfer the accompaniment pattern data. Usually, accompaniment pattern data corresponding to accompaniment pattern types such as intro, normal, fill-in, and ending is prepared in advance corresponding to one rhythm style. It is usual to edit a plurality of types of accompaniment pattern data belonging to the above item. In such a case, transfer of a plurality of types of accompaniment pattern data in the editing process becomes a problem.

【0004】また、上記従来の装置においては、伴奏パ
ターンデータの一部のみを同データを再生しながらエデ
ィットする場合でも、伴奏パターンデータを初めから終
わりまで1回再生している間に、前記エディットを行う
必要があった。この場合、前記再生中に、エディットが
完了しなければ、また、伴奏パターンデータを初めから
終わりまで再度再生する必要があった。このような理由
により、上記従来の自動演奏装置において、記憶されて
いる伴奏パターンデータをエディットすることは非常に
面倒なことであった。
Further, in the above-mentioned conventional apparatus, even when a part of the accompaniment pattern data is edited while reproducing the same data, the editing is performed while the accompaniment pattern data is reproduced once from the beginning to the end. Had to do. In this case, if the editing is not completed during the reproduction, it is necessary to reproduce the accompaniment pattern data again from the beginning to the end. For these reasons, it is very troublesome to edit the accompaniment pattern data stored in the conventional automatic musical instrument.

【0005】本発明は上記問題に対処するためになされ
もので、その目的は楽音の発生を制御する記憶データを
簡単にエディットできるような自動演奏装置を提供する
ことにある。
The present invention has been made to solve the above problems, and an object of the present invention is to provide an automatic performance device capable of easily editing stored data for controlling the generation of musical tones.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、上記請求項1に記載の発明の構成上の特徴は、複数
のリズムスタイルにそれぞれ対応した複数組からなると
ともに各組は複数の伴奏パターン種類にそれぞれ対応し
た複数セクションからなり、各セクション毎に所定の長
さの伴奏パターンデータを予め記憶した伴奏パターンメ
モリと、少なくとも前記一つの組に属する伴奏パターン
データを記憶可能な領域を有する書き込み可能なユーザ
メモリと、複数のリズムスタイルをそれぞれ指定するス
タイル指定手段と、複数の伴奏パターン種類を指定する
パターン種類指定手段と、伴奏パターンメモリからユー
ザメモリへ伴奏パターンデータの転送を指示する転送指
示手段と、転送指示手段による転送指示に応答して、ス
タイル指定手段により指定されたリズムスタイルに対応
した組に属する全てのセクションの伴奏パターンデー
タ、またはスタイル指定手段により指定されたリズムス
タイルに対応した組に属しかつパターン種類指定手段に
より指定されたセクションに記憶されている一つ若しく
は複数の伴奏パターンデータを、伴奏パターンメモリか
らユーザメモリに選択的に転送制御する転送制御手段
と、ユーザメモリに記憶されている伴奏パターンデータ
をエディットするエデット手段と、伴奏パターンメモリ
およびユーザメモリに記憶されている伴奏パターンデー
タを時間経過にしたがって読み出す読み出し手段と、読
み出し手段により読み出された伴奏パターンデータにし
たがって伴奏音信号を形成出力する楽音信号形成手段と
を備えたことにある。
In order to achieve the above-mentioned object, the structural feature of the invention described in claim 1 is that a plurality of sets respectively corresponding to a plurality of rhythm styles are provided, and each set has a plurality of sets. It is composed of a plurality of sections respectively corresponding to accompaniment pattern types, and has an accompaniment pattern memory in which accompaniment pattern data of a predetermined length is stored in advance for each section, and an area capable of storing at least accompaniment pattern data belonging to the one set. Writable user memory, style designating means for designating a plurality of rhythm styles, pattern type designating means for designating a plurality of accompaniment pattern types, and transfer for instructing transfer of accompaniment pattern data from the accompaniment pattern memory to the user memory In response to the transfer instruction from the instruction means and the transfer instruction means, The accompaniment pattern data of all the sections belonging to the set corresponding to the specified rhythm style, or stored in the section specified by the pattern type specifying unit that belongs to the set corresponding to the rhythm style specified by the style specifying unit. Transfer control means for selectively transferring and controlling one or more accompaniment pattern data from the accompaniment pattern memory to the user memory, editing means for editing the accompaniment pattern data stored in the user memory, accompaniment pattern memory, and It is provided with a reading means for reading the accompaniment pattern data stored in the user memory with the passage of time, and a tone signal forming means for forming and outputting an accompaniment sound signal according to the accompaniment pattern data read by the reading means. .

【0007】また、上記請求項2に記載の発明の構成上
の特徴は、前記請求項1に係る発明の転送制御手段を、
転送指示手段による転送指示に応答して、スタイル指定
手段により指定されたリズムスタイルに対応した組に属
しかつパターン種類指定手段により指定された任意数の
セクションに記憶されている一つ若しくは複数の伴奏パ
ターンデータを、伴奏パターンメモリからユーザメモリ
に同時に転送制御する転送制御手段で置換したことにあ
る。
Further, the structural feature of the invention described in claim 2 is that the transfer control means of the invention according to claim 1 is:
One or a plurality of accompaniments stored in an arbitrary number of sections designated by the pattern type designating means, which belong to a set corresponding to the rhythm style designated by the style designating means, in response to the transfer designation by the transfer designating means. The pattern data is replaced with transfer control means for controlling transfer from the accompaniment pattern memory to the user memory at the same time.

【0008】さらに、上記請求項3に記載の発明の構成
上の特徴は、時間経過にしたがって楽音の発生を制御す
る一連の楽音発生制御データを記憶する書き込み可能な
演奏データメモリと、演奏データメモリに記憶されてい
る一連の楽音発生制御データを時間経過にしたがって読
み出す読み出し手段と、読み出し手段により読み出され
た楽音発生制御データにしたがって楽音信号を形成出力
する楽音信号形成手段と、演奏データメモリに記憶され
ている一連の楽音発生制御データのうちで繰り返し読み
出すべき楽音発生制御データが記憶されている区間を指
定する区間指定手段と、読み出し手段を制御して区間指
定手段により指定された区間内の楽音発生制御データを
繰り返し読み出すリピート制御手段と、演奏データメモ
リに記憶されている一連の楽音発生制御データをエディ
ットするエデット手段とを備えたことにある。
Further, the constitutional feature of the invention described in claim 3 is that a writable performance data memory for storing a series of musical sound generation control data for controlling the generation of musical sounds over time, and a performance data memory. Read-out means for reading out a series of musical tone generation control data stored in the memory as time passes, musical tone signal forming means for forming and outputting musical tone signals in accordance with the musical tone generation control data read by the reading means, and a performance data memory. A section designating unit for designating a section in which the tone generation control data to be repeatedly read out is stored, out of a series of stored tone generation control data, and a section within the section designated by the section designating unit by controlling the reading unit. Repeat control means for repeatedly reading the tone generation control data and the performance data memory In that a Edetto means for editing a sequence of musical tone generation control data.

【0009】[0009]

【発明の作用・効果】上記のように構成した請求項1に
係る発明においては、転送指示手段により伴奏パターン
メモリからユーザメモリへ伴奏パターンデータの転送が
指示されたとき、この転送指示に応答した転送制御手段
の機能により、選択的に、スタイル指定手段によって指
定されたリズムスタイルに対応した組に属する全てのセ
クションの伴奏パターンデータが伴奏パターンメモリか
らユーザメモリに転送されるか、またはスタイル指定手
段によって指定されたリズムスタイルに対応した組に属
しかつパターン種類指定手段によって指定されたセクシ
ョンに記憶されている一つ若しくは複数の伴奏パターン
データが伴奏パターンメモリからユーザメモリに転送さ
れる。そして、このユーザメモリに転送された伴奏パタ
ーンデータはエディット手段によりエデットされるとと
もに、このエディットされた伴奏パターンデータは読み
出し手段および楽音信号形成手段により伴奏音信号とし
て再生される。
In the invention according to claim 1 configured as described above, when the transfer instruction means instructs the transfer of the accompaniment pattern data from the accompaniment pattern memory to the user memory, the transfer instruction is responded to. Depending on the function of the transfer control means, the accompaniment pattern data of all the sections belonging to the set corresponding to the rhythm style designated by the style designating means is selectively transferred from the accompaniment pattern memory to the user memory or the style designating means. One or a plurality of accompaniment pattern data belonging to the set corresponding to the rhythm style designated by and stored in the section designated by the pattern type designating means is transferred from the accompaniment pattern memory to the user memory. The accompaniment pattern data transferred to the user memory is edited by the editing means, and the edited accompaniment pattern data is reproduced as an accompaniment sound signal by the reading means and the musical sound signal forming means.

【0010】また、上記のように構成した請求項2に係
る発明においては、転送制御手段は、転送指示手段によ
る転送指示に応答して、スタイル指定手段により指定さ
れたリズムスタイルに対応した組に属しかつパターン種
類指定手段により連続的にあるいは同時に指定された任
意数のセクションに記憶されている一つ若しくは複数の
伴奏パターンデータを、伴奏パターンメモリからユーザ
メモリに同時に転送制御する。
Further, in the invention according to claim 2 configured as described above, the transfer control means, in response to the transfer instruction from the transfer instruction means, forms a set corresponding to the rhythm style specified by the style specifying means. One or a plurality of accompaniment pattern data belonging to an arbitrary number of sections which are continuously or simultaneously designated by the pattern type designating means are simultaneously transferred from the accompaniment pattern memory to the user memory.

【0011】これらの請求項1,2に係る発明の場合、
エディット手段は、例えば、インサート手段、リライト
手段、オーバダビング手段などで構成され、これらの各
手段は、ユーザメモリに記憶されていて伴奏パターンデ
ータを構成する一連の楽音発生制御データ中に新たな楽
音発生制御データを挿入し、前記一連の楽音発生制御デ
ータ中の一部を新たな楽音発生制御データで置換し、ま
たは前記一連の楽音発生制御データに新たな楽音発生制
御データを重ね合わせる。
In the case of the inventions according to claims 1 and 2,
The edit means is composed of, for example, an insert means, a rewrite means, an overdubbing means, etc., and each of these means stores a new musical tone in a series of musical tone generation control data stored in the user memory and constituting accompaniment pattern data. Generation control data is inserted, and a part of the series of tone generation control data is replaced with new tone generation control data, or new tone generation control data is superposed on the series of tone generation control data.

【0012】このように、上記請求項1,2に係る発明
によれば、一つのリズムスタイルに属するイントロ、ノ
ーマル、フィルンイン、エンディング等の伴奏パターン
種類に対応した伴奏パターンデータのうちで、エディッ
トする必要がある一つ、任意の複数または全ての伴奏パ
ターンデータを伴奏パターンメモリからユーザメモリへ
簡単に転送でき、かつ同転送したデータをエディット
(挿入、置換、重ね合わせなど)することができる。し
たがって、伴奏パターンデータのエディットを短時間に
簡単に行うことができるようになる。
As described above, according to the first and second aspects of the invention, the accompaniment pattern data corresponding to the accompaniment pattern types such as intro, normal, fill-in, and ending belonging to one rhythm style is edited. It is possible to easily transfer the required one, arbitrary plural or all of the accompaniment pattern data from the accompaniment pattern memory to the user memory, and edit the transferred data (insertion, replacement, superposition, etc.). Therefore, the accompaniment pattern data can be easily edited in a short time.

【0013】上記のように構成した請求項3に係る発明
においては、一連の楽音発生制御データのうちで一部分
のデータをエディットしたい場合、区間指定手段により
前記一部分を含む指定区間を選定し、リピート手段およ
び読み出し手段によってこの指定区間内の楽音発生制御
データが演奏データメモリから繰り返し読み出されると
ともに、同繰り返し読み出された楽音制御データに基づ
く楽音信号が楽音信号形成手段によって再生されるよう
にする。そして、この指定区間の楽音制御データの繰り
返し再生中に、エディット手段を用いて、前記一部分の
データをエディットすることができる。
In the invention according to claim 3 configured as described above, when it is desired to edit a part of data of a series of musical sound generation control data, a specified section including the part is selected by the section specifying means and the repeat is performed. The tone generation control data in the designated section is repeatedly read from the performance data memory by the means and the reading means, and the tone signal based on the repeatedly read tone control data is reproduced by the tone signal forming means. Then, during the repeated reproduction of the tone control data in the designated section, the partial data can be edited by using the editing means.

【0014】この場合、エディット手段は、例えば、リ
ライト手段、オーバダビング手段などで構成され、これ
らの各手段は、演奏データメモリに記憶されていて伴奏
パターンデータを構成する一連の楽音発生制御データ中
の一部を新たな楽音発生制御データで置換し、または前
記一連の楽音発生制御データに新たな楽音発生制御デー
タを重ね合わせる。
In this case, the edit means is composed of, for example, a rewrite means, an overdubbing means, etc., and each of these means is included in a series of musical sound generation control data stored in the performance data memory and constituting accompaniment pattern data. Is replaced with new tone generation control data, or new tone generation control data is superposed on the series of tone generation control data.

【0015】その結果、上記請求項3に係る発明によれ
ば、一連の楽音発生制御データのうちで一部分のデータ
をエディットしたい場合には、その部分が含まれている
短い区間を何度も繰り返し再生しながら、同部分のエデ
ィットが可能となるので、楽音発生制御データのエディ
ット作業が簡単になる。
As a result, according to the third aspect of the invention, when it is desired to edit a part of the musical tone generation control data, the short section including the part is repeated many times. Since it is possible to edit the same portion while playing back, it becomes easy to edit the tone generation control data.

【0016】[0016]

【実施例】以下、本発明の一実施例を図面を用いて説明
すると、図1は本発明に係る自動演奏装置を内蔵した電
子楽器の全体をブロック図により示している。
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 an entire electronic musical instrument incorporating an automatic musical instrument according to the present invention.

【0017】この電子楽器は鍵盤10及び操作パネル2
0を備えている。鍵盤10は多数のの鍵からなり、同多
数の鍵のうちの下鍵域の各鍵は伴奏音演奏用に割り当て
られ、上鍵域の各鍵はメロディ音演奏用に割り当てられ
ている。この鍵盤10の各鍵の押離鍵は鍵スイッチ回路
10a内に各鍵にそれぞれ対応して設けた複数の鍵スイ
ッチの開閉成により検出されるようになっている。操作
パネル20は、図1,2に示すように、複数の操作子、
複数のランプおよびディスプレイ21を備えている。前
記複数の操作子の操作は操作子スイッチ回路20a内に
各操作子にそれぞれ対応して設けた複数の操作子スイッ
チの開閉成により検出されるようになっている。複数の
ランプおよびディスプレイ21は表示制御回路20bに
より制御されて、同ランプは点灯または消灯し、ディス
プレイ21は文字などを表示する。
This electronic musical instrument has a keyboard 10 and an operation panel 2.
It has 0. The keyboard 10 is composed of a large number of keys, of which the lower keys of the plurality of keys are assigned for accompaniment tone performance, and the upper keys of the keyboard 10 are assigned for melody tone performance. Pressing and releasing of each key of the keyboard 10 is detected by opening and closing a plurality of key switches provided in the key switch circuit 10a corresponding to each key. The operation panel 20, as shown in FIGS.
It has a plurality of lamps and a display 21. The operation of the plurality of operators is detected by opening / closing a plurality of operator switches provided in the operator switch circuit 20a corresponding to the respective operators. The plurality of lamps and the display 21 are controlled by the display control circuit 20b, the lamps are turned on or off, and the display 21 displays characters and the like.

【0018】これらのランプ及び操作子について説明す
ると、スタイル操作子22aはリズムスタイル(マー
チ、ワルツ、ロックなど)を選択するリズムスタイル選
択モードを指示するものである。スタート操作子22b
は前記指定されたリズムスタイルに対応した自動伴奏音
(和音、ベース音など)の発生開始を指示するもので、
ストップ操作子22cは前記自動伴奏音の発生停止を指
示するものである。アップ操作子23aおよびダウン操
作子23bは各種番号データSTYL,SONG,CUSTOMの「1」
ずつの増減をそれぞれ指示するものである。回答操作子
24a,24bは本装置からの質問に対する回答を指示
する操作子であり、ランプ24cは本装置による回答の
要求状態を示すものである。
Explaining these lamps and operators, the style operator 22a indicates a rhythm style selection mode for selecting a rhythm style (march, waltz, rock, etc.). Start operator 22b
Is an instruction to start the generation of an automatic accompaniment sound (chord, bass sound, etc.) corresponding to the specified rhythm style,
The stop operator 22c gives an instruction to stop the generation of the automatic accompaniment sound. Up operator 23a and down operator 23b are "1" of various number data STYL, SONG, CUSTOM.
It is to instruct the increase and decrease respectively. The answer operators 24a and 24b are operators for instructing an answer to a question from this device, and the lamp 24c indicates a request state of an answer by this device.

【0019】ソング操作子25aはソングデータ(演奏
者が書き換え可能なメロディ音用の演奏データ)のレコ
ード(エディット)モードおよびプレイモードを指示す
るものである。カスタム操作子25bはカスタム伴奏デ
ータ(演奏者が書き換え可能な伴奏音用の伴奏データ)
のレコードモード(エディット)およびプレイモードを
指示するものである。レコード操作子26aは前記ソン
グデータおよびカスタム伴奏データのレコードモードと
プレイモードとを切り換える操作子である。レコードモ
ード操作子26bは前記レコードモードにおけるインサ
ートモード、オーバダビングモードおよびリライトモー
ドを切り換えるものである。ランプ26c〜26eは前
記切り換えられたインサートモード、オーバダビングモ
ードまたはリライトモードを点灯表示するものである。
コピー操作子27aおよびクリア操作子27bは前記カ
スタム伴奏データのコピーおよびクリアを指示するもの
である。
The song operator 25a indicates a record (edit) mode and a play mode of song data (performance data for a melody sound that can be rewritten by the performer). The custom operator 25b is custom accompaniment data (accompaniment data for accompaniment sound that can be rewritten by the performer).
The record mode (edit) and the play mode are designated. The record operator 26a is an operator for switching the record mode and the play mode of the song data and the custom accompaniment data. The record mode operator 26b switches between the insert mode, the overdubbing mode and the rewrite mode in the record mode. The lamps 26c to 26e light up and display the switched insert mode, overdubbing mode or rewrite mode.
The copy operator 27a and the clear operator 27b are for instructing copying and clearing of the custom accompaniment data.

【0020】ジャンプ操作子28a,28bは前記ソン
グデータおよびカスタム伴奏データの読み出し位置を前
方へ所定量ずつそれぞれ移動させ、ジャンプ操作子28
c,28dは前記ソングデータおよびカスタム伴奏デー
タの読み出し位置を後方へ所定量ずつそれぞれ移動させ
るものである。シーケンサ開始操作子28eは前記ソン
グデータおよびカスタム伴奏データのレコードおよびプ
レイの開始を指示するもので、シーケンサ停止操作子2
8fは同レコードおよびプレイの停止を指示するもので
ある。リピート操作子28gは前記ソングデータおよび
カスタム伴奏データの繰り返し読み出し位置を指示する
ものである。リセット操作子28hは前記ソングデータ
およびカスタム伴奏データの読み出し位置を初期状態
(先頭位置)に設定するものである。パターン種類操作
子29a〜29fは一つのリズムスタイルに属するイン
トロ、フィルイン1、フィルイン2、エンディング、ノ
ーマルおよびバリエーションからなる複数の伴奏パター
ン種類の一つを指示するものである。
The jump operators 28a and 28b move the read positions of the song data and the custom accompaniment data forward by a predetermined amount, respectively.
Reference characters c and 28d respectively move the read positions of the song data and the custom accompaniment data backward by a predetermined amount. The sequencer start operator 28e is for instructing the start of record and play of the song data and custom accompaniment data.
8f is an instruction to stop the same record and play. The repeat operator 28g is for instructing the repeated reading position of the song data and the custom accompaniment data. The reset operator 28h sets the read position of the song data and the custom accompaniment data to the initial state (head position). The pattern type operators 29a to 29f indicate one of a plurality of accompaniment pattern types consisting of an intro, fill-in 1, fill-in 2, ending, normal and variation belonging to one rhythm style.

【0021】ふたたび、図1の説明に戻って、前記鍵ス
イッチ回路10a、操作子スイッチ回路20a及び表示
制御回路20bはバス30に接続されており、同バス3
0には楽音信号形成回路40、CPU50、プログラム
メモリ51、ワーキングメモリ52、自動伴奏パターン
メモリ60、シーケンサメモリ70および外部メモリ入
出力装置80が接続されている。楽音信号形成回路40
は、バス30を介して供給される制御データに応じて、
メロディ音信号およびコード音、ベース音などの伴奏音
信号を形成して、サウンドシステム41に出力する。サ
ウンドシステム41はアンプ、スピーカなどからなり、
前記各種楽音信号に対応した楽音を発音する。
Returning to the explanation of FIG. 1, the key switch circuit 10a, the operator switch circuit 20a and the display control circuit 20b are connected to the bus 30.
To 0, a tone signal forming circuit 40, a CPU 50, a program memory 51, a working memory 52, an automatic accompaniment pattern memory 60, a sequencer memory 70, and an external memory input / output device 80 are connected. Music signal forming circuit 40
Depending on the control data supplied via the bus 30,
A melody sound signal and an accompaniment sound signal such as a chord sound and a bass sound are formed and output to the sound system 41. The sound system 41 includes an amplifier and a speaker,
A musical tone corresponding to the various musical tone signals is generated.

【0022】CPU50は電源スイッチ(図示しない)
の投入により図6,7の「メインプログラム」を繰り返
し実行し続けるとともに、テンポ発振器53からテンポ
クロック信号の到来時に図25の「割り込みプログラ
ム」を割り込み実行する。テンポ発振器53はCPU5
0に制御されて、所定の周期(本件実施例では例えば1
6分音符に対応した周期)でテンポクロック信号を出力
する。プログラムメモリ51はROMで構成され、前記
「メインプログラム」(図8〜24のサブプログラムを
含む)および前記「割り込みプログラム」(図26,2
7のサブプログラムを含む)を記憶している。ワーキン
グメモリ52はRAMで構成され、前記プログラムの実
行に必要な変数を一時的に記憶する。
The CPU 50 is a power switch (not shown)
When the tempo oscillator 53 receives the tempo clock signal from the tempo oscillator 53, the "interrupt program" shown in FIG. 25 is interrupted. Tempo oscillator 53 is CPU5
It is controlled to 0 and a predetermined cycle (for example, 1 in this embodiment).
The tempo clock signal is output at a period corresponding to a sixth note). The program memory 51 is composed of a ROM, and includes the “main program” (including the subprograms of FIGS. 8 to 24) and the “interrupt program” (FIGS. 26 and 2).
7 subprograms are included). The working memory 52 is composed of a RAM and temporarily stores variables necessary for executing the program.

【0023】自動伴奏パターンメモリ60はROMで構
成され、図3に詳細に示すように、マーチ、ワルツ、ロ
ックなどの多数のリズムスタイルに対応した多数の記憶
エリア60−1,60−2,…60−nからなる。各記
憶エリアはイントロ、フィルイン1、フィルイン2、エ
ンディング、ノーマルおよびバリエーションからなる6
種類の伴奏パターンに対応したセクション61〜66に
分割されている。なお、これらの各セクション61〜6
6はセクション番号SECT(1〜6)により指示される。
各セクション61〜66には所定長さ(本件実施例では
例えば2小節または4小節とする)の自動伴奏パターン
が予め記憶されており、この自動伴奏パターンは音符コ
ード、キーコードおよびタイミングデータを1組とする
多数組のオリジナル伴奏データ(楽音発生制御データ)
が時間経過にしたがって配列されたものである。この場
合、音符コードは次のデータがキーコードであることを
表し、キーコードは伴奏音の音高(和音根音に対する音
高差)を表し、タイミングデータは前記伴奏音の発音タ
イミング(0〜31または0〜63)を表している。ま
た、各セクション61〜66の最後には、次のデータが
セクション番号であることを表すセクションコードおよ
び前記各データの属するセクションを表すセクション番
号が記憶されている。
The automatic accompaniment pattern memory 60 is composed of a ROM, and as shown in detail in FIG. 3, a large number of storage areas 60-1, 60-2, ... Corresponding to a large number of rhythm styles such as march, waltz and rock. It consists of 60-n. Each storage area consists of intro, fill-in 1, fill-in 2, ending, normal and variations 6
It is divided into sections 61 to 66 corresponding to types of accompaniment patterns. Each of these sections 61 to 6
6 is designated by the section number SECT (1 to 6).
An automatic accompaniment pattern of a predetermined length (for example, 2 bars or 4 bars in the present embodiment) is stored in advance in each of the sections 61 to 66, and this automatic accompaniment pattern includes a note code, a key code and timing data. Multiple sets of original accompaniment data (musical sound generation control data)
Are arranged according to the passage of time. In this case, the note code represents that the next data is a key code, the key code represents the pitch of the accompaniment tone (pitch difference with respect to the chord root), and the timing data is the sounding timing (0 to 0) of the accompaniment tone. 31 or 0 to 63). At the end of each of the sections 61 to 66, a section code indicating that the next data is a section number and a section number indicating the section to which the data belong are stored.

【0024】シーケンサメモリ70はそれぞれRAMで
構成されたソングデータメモリ70Aとカスタム伴奏パ
ターンメモリ70Bからなり、演奏者により内容が書き
換えられるユーザメモリを構成している。ソングデータ
メモリ70Aは、図4に示すように、複数(本件実施例
では例えば8個)の記憶エリア70A−1,70A−
2,…,70A−8に分割されるように用意されてお
り、各記憶エリアには前記と同様な音符コード、キーコ
ードおよびタイミングデータを1組とする多数組のソン
グデータ(楽音発生制御データ)が時間経過にしたがっ
て記憶されるようになっている。なお、これらの記憶エ
リア70A−1,70A−2,…,70A−8はソング
番号データSONG(1〜8)により指示されるとともに、
前記キーコードはメロディ音の音高を表している。ま
た、各記憶エリア70A−1,70A−2,…,70A
−8の最後には、ソングデータの終わりであることを示
すエンドコードが記憶されるようになっている。
The sequencer memory 70 is composed of a song data memory 70A and a custom accompaniment pattern memory 70B, each of which is composed of a RAM, and constitutes a user memory whose contents can be rewritten by the performer. As shown in FIG. 4, the song data memory 70A includes a plurality of (e.g., eight in this embodiment) storage areas 70A-1, 70A-.
2, ..., 70A-8, and each storage area has a large number of sets of song data (musical tone generation control data) with one set of note codes, key codes and timing data similar to the above. ) Is stored over time. The storage areas 70A-1, 70A-2, ..., 70A-8 are designated by the song number data SONG (1-8), and
The key code represents the pitch of the melody tone. Further, each storage area 70A-1, 70A-2, ..., 70A
At the end of -8, an end code indicating the end of song data is stored.

【0025】カスタム伴奏パターンメモリ70Bは、図
5に示すように、図3の各記憶エリア60−1,60−
2,…60−nにそれぞれ対応した複数(本件実施例で
は例えば8個)の記憶エリア70B−1,70B−2,
…70B−nに分割されるとともに、各記憶エリアは6
個のセクション71〜76に分割されるように用意され
ている。これらの各セクション71〜76には前記と同
様な6種類の伴奏パターンがカスタム伴奏パターン(多
数のカスタム伴奏データからなる)として記憶されるよ
うになっている。なお、これらの各記憶エリア70B−
1,70B−2,…70B−nはカスタム番号データCU
STOM(1〜8)により指示されるとともに、各セクショ
ン71〜76はセクション番号データSECT(1〜6)に
より指示されるようになっている。
As shown in FIG. 5, the custom accompaniment pattern memory 70B has the storage areas 60-1, 60- shown in FIG.
2, ... 60-n corresponding to a plurality of storage areas 70B-1, 70B-2, (e.g., 8 in this embodiment)
... is divided into 70B-n, and each storage area is 6
It is prepared to be divided into individual sections 71 to 76. In each of these sections 71 to 76, the same six types of accompaniment patterns as described above are stored as custom accompaniment patterns (comprising a large number of custom accompaniment data). Each of these storage areas 70B-
1, 70B-2, ... 70B-n are custom number data CUs
The sections 71 to 76 are designated by the STOM (1 to 8) and the sections number data SECT (1 to 6).

【0026】外部メモリ入出力装置80は、フロッピー
ディスク、ハードディスクなどの外部メモリとシーケン
サメモリ70との間にて、カスタム伴奏データおよびソ
ングデータを授受するものである。
The external memory input / output device 80 exchanges custom accompaniment data and song data between the sequencer memory 70 and an external memory such as a floppy disk or a hard disk.

【0027】次に、上記のように構成した実施例の動作
を図6〜27に示すフローチャートに沿って説明する。
電源スイッチが投入されると、CPU50は図6のステ
ップ100にて「メインプログラム」の実行を開始し、
ステップ102における初期設定処理後、ステップ10
4〜166からなる循環処理を繰り返し実行することに
より鍵盤10および操作パネル20の各操作を検出す
る。一方、この循環処理中、テンポ発振器53がテンポ
クロック信号を出力すると、CPU50は前記処理中の
プログラムの実行を中断して、図25の「割り込みプロ
グラム」を割り込み実行し、ソングデータ、オリジナル
伴奏データおよびカスタム伴奏データの再生を制御す
る。以下、オリジナル伴奏データの再生および鍵盤演奏
動作と、ソングデータおよびカスタム伴奏データの作成
および再生動作との項目に分けて、本件実施例の具体的
動作について説明する。
Next, the operation of the embodiment configured as described above will be described with reference to the flow charts shown in FIGS.
When the power switch is turned on, the CPU 50 starts executing the "main program" in step 100 of FIG.
After the initial setting processing in step 102, step 10
Each operation of the keyboard 10 and the operation panel 20 is detected by repeatedly executing the circulation processing of 4 to 166. On the other hand, when the tempo oscillator 53 outputs a tempo clock signal during this circulation processing, the CPU 50 interrupts the execution of the program being processed and interrupts the "interruption program" of FIG. 25 to perform song data and original accompaniment data. And control the playback of custom accompaniment data. Hereinafter, the specific operations of the present embodiment will be described in terms of the items of the reproduction of the original accompaniment data and the keyboard performance operation and the creation and reproduction of the song data and the custom accompaniment data.

【0028】(1)オリジナル伴奏データの再生および
鍵盤演奏動作 まず、演奏者はスタイル操作子22a、アップ操作子2
3aおよびダウン操作子23bを操作して、自動伴奏の
リズムスタイルを選定する。スタイル操作子22aが操
作されると、CPU50は図6,7の「メインプログラ
ム」の循環処理中、ステップ104にて「YES」と判
定して、ステップ106にて「スタイルルーチン」を実
行する。「スタイルルーチン」の詳細は図8に示されて
おり、CPU50はステップ200にて同ルーチンの実
行を開始し、ステップ202〜210からなる処理を実
行する。
(1) Reproduction of original accompaniment data and keyboard performance operation First, the performer has a style operator 22a and an up operator 2
The rhythm style of automatic accompaniment is selected by operating 3a and the down operator 23b. When the style operator 22a is operated, the CPU 50 determines "YES" in step 104 and executes a "style routine" in step 106 during the circulation processing of the "main program" in FIGS. The details of the "style routine" are shown in FIG. 8, and the CPU 50 starts the execution of the routine in step 200 and executes the processing of steps 202 to 210.

【0029】この場合、”1”によってシーケンサの作
動状態(ソングデータまたはカスタム伴奏データの再生
状態)を表すシーケンサランフラグSCRUN は”0”に設
定されているので、ステップ202にて「NO」と判定
し、ステップ204の判定処理により、表示モードフラ
グDISPMDが「0」でなければ、ステップ206にて同フ
ラグDISPMDを「0」に設定し、ステップ208にて表示
制御回路20bに以前から設定されているスタイル番号
データSTYLを出力して、ステップ210にてこの「スタ
イルルーチン」の実行を終了する。表示制御回路20b
は操作パネル20のディスプレイ21を制御して、同デ
ィスプレイ21上にスタイル番号データSTYLが表すリズ
ムスタイル番号を表示する。また、表示モードフラグDI
SPMDが「0」であれば、プログラムをステップ210に
進めてこの「スタイルルーチン」の実行を終了する。た
だし、この場合には、ディスプレイ21上に以前からリ
ズムスタイル番号が表示されている。なお、前記表示モ
ードフラグDISPMDはディスプレイ21上に表示されるデ
ータ種類を指定するもので、”0”によって自動伴奏の
リズムスタイル番号を指定し、”1”によってソング番
号を指定し、”2”によりカスタム伴奏番号を指定する
ものである。
In this case, since the sequencer run flag SCRUN indicating the operating state of the sequencer (the reproduction state of the song data or the custom accompaniment data) is set to "0" by "1", "NO" is determined in step 202. If it is determined that the display mode flag DISPMD is not “0” in the determination processing of step 204, the flag DISPMD is set to “0” in step 206 and previously set in the display control circuit 20b in step 208. The output style number data STYL is output, and the execution of this "style routine" is ended in step 210. Display control circuit 20b
Controls the display 21 of the operation panel 20 to display the rhythm style number represented by the style number data STYL on the display 21. Also, display mode flag DI
If SPMD is "0", the program proceeds to step 210 to end the execution of this "style routine". However, in this case, the rhythm style number is already displayed on the display 21. The display mode flag DISPMD designates the type of data displayed on the display 21. "0" designates the rhythm style number of the automatic accompaniment, "1" designates the song number, and "2". Specifies a custom accompaniment number.

【0030】このような状態でアップ操作子23aまた
はダウン操作子23bが操作されると、CPU50は図
6,7の「メインプログラム」の循環処理中、ステップ
116にて「YES」と判定して、ステップ118にて
「増減ルーチン」を実行する。「増減ルーチン」の詳細
は図11に示されており、CPU50はステップ260
にて同ルーチンの実行を開始し、ステップ262〜29
2からなる処理を実行する。
When the up operator 23a or the down operator 23b is operated in such a state, the CPU 50 determines "YES" in step 116 during the circulation processing of the "main program" in FIGS. In step 118, the “increase / decrease routine” is executed. Details of the "increase / decrease routine" are shown in FIG.
Then, the execution of the same routine is started at steps 262 to 29.
The process consisting of 2 is executed.

【0031】この場合、表示モードフラグDISPMDは前述
の処理によって”0”に設定されているので、ステップ
262にて「YES」と判定し、ステップ264にて自
動伴奏ランフラグAARUN が”1”であるか否かを判定す
る。この自動伴奏ランフラグAARUN は”1”によって自
動伴奏の作動状態(カリジナル伴奏データの再生状態)
を表すとともに”0”により自動伴奏の停止状態を表す
もので、この場合、同フラグAARUN は”0”に設定され
ているので、ステップ264にて「NO」と判定してプ
ログラムをステップ268へ進める。ステップ268の
処理はスタイル番号データSTYLを「1」ずつ増減させる
もので、アップ操作子23aが操作された場合には同デ
ータSTYLを「1」だけ増加させ、またダウン操作子23
bが操作された場合には同データSTYLを「1」だけ減少
させる。これにより、スタイル番号データSTYLにより指
定されるリズムスタイルが変更される。このリズムスタ
イルの変更後、ステップ270にて前述のステップ20
8(図8)の処理と同様に変更されたスタイル番号をデ
ィスプレイ21上に表示させて、ステップ292にてこ
の「増減ルーチン」の実行を終了する。なお、自動伴奏
が作動状態にあって自動伴奏ランフラグAARUN が”1”
に設定されているときには、ステップ264にて「YE
S」と判定され、ステップ266にて楽音信号形成回路
40における発生中の伴奏音信号が消される。
In this case, since the display mode flag DISPMD has been set to "0" by the above-mentioned processing, it is judged "YES" in step 262, and the automatic accompaniment run flag AARUN is "1" in step 264. It is determined whether or not. This automatic accompaniment run flag AARUN is set to "1" to activate the automatic accompaniment (playback state of the original accompaniment data).
And the stop state of the automatic accompaniment is represented by "0". In this case, since the flag AARUN is set to "0", it is determined as "NO" at step 264 and the program proceeds to step 268. Proceed. The process of step 268 is to increase / decrease the style number data STYL by "1", and when the up operator 23a is operated, the same data STYL is increased by "1" and the down operator 23 is also operated.
When b is operated, the data STYL is decreased by "1". As a result, the rhythm style specified by the style number data STYL is changed. After changing the rhythm style, in step 270, the above-mentioned step 20 is performed.
The changed style number is displayed on the display 21 in the same manner as the process of FIG. 8 (FIG. 8), and the execution of this “increase / decrease routine” is ended in step 292. The automatic accompaniment run flag AARUN is "1" when the automatic accompaniment is in operation.
If it is set to “YE
It is determined to be "S", and the accompaniment sound signal being generated in the musical sound signal forming circuit 40 is erased in step 266.

【0032】このような状態でスタート操作子22bが
操作されると、CPU50は図6,7の「メインプログ
ラム」の循環処理中、ステップ108にて「YES」と
判定して、ステップ110にて「伴奏スタートルーチ
ン」を実行する。「伴奏スタートルーチン」の詳細は図
9に示されており、CPU50はステップ220にて同
ルーチンの実行を開始し、ステップ222〜232から
なる処理を実行する。
When the start operator 22b is operated in such a state, the CPU 50 makes a "YES" determination at step 108 during the circulation processing of the "main program" shown in FIGS. The "accompaniment start routine" is executed. The details of the "accompaniment start routine" are shown in FIG. 9, and the CPU 50 starts the execution of the routine in step 220 and executes the processing of steps 222-232.

【0033】この場合、自動伴奏ランフラグAARUN は前
述のように”0”に設定されているので、ステップ22
2にて「YES」と判定して、プログラムをステップ2
24の判定処理へ進める。この判定処理はオリジナル伴
奏データとカスタム伴奏データの同時再生を禁止するも
ので、同処理においては、シーケンサランフラグSCRUN
およびソングカスタムフラグSNGCSTが共に”1”である
か否かが判定される。この場合、シーケンサランフラグ
SCRUN は”0”に設定されているので、前記ステップ2
24にて「NO」と判定し、ステップ226にて自動伴
奏ランフラグAARUN を”1”に変更し、ステップ228
にてセクション番号データSECTをノーマルパターンに対
応した「5」に設定し、ステップ230にて自動伴奏の
スタート処理を実行して、スタート232にてこの「伴
奏スタートルーチン」の実行を終了する。この場合、自
動伴奏のスタート処理においては、オリジナル伴奏デー
タの読み出しに利用される自動伴奏用ポインタの値を、
スタイル番号データSTYLにより指定されるリズムスタイ
ルに対応した記憶エリア60−1〜60−nであってセ
クション番号データSECTにより指定されたセクション6
1〜66内のノーマルパターンを記憶する先頭番地に設
定する。また、この自動伴奏のスタート処理ルーチンに
おいては、自動伴奏の進行状態を表すクロックタイミン
グCLK を初期値「0」に設定する。
In this case, since the automatic accompaniment run flag AARUN is set to "0" as described above, step 22
Step 2 of the program is judged as "YES" in 2
Proceed to the determination processing in 24. This judgment process prohibits simultaneous playback of original accompaniment data and custom accompaniment data. In this process, the sequencer run flag SCRUN
Also, it is determined whether the song custom flag SNGCST is "1". In this case, the sequencer run flag
Since SCRUN is set to "0", the above step 2
It is determined to be "NO" in step 24, the automatic accompaniment run flag AARUN is changed to "1" in step 226, and step 228 is executed.
The section number data SECT is set to "5" corresponding to the normal pattern at step 230, the automatic accompaniment start processing is executed at step 230, and the execution of this "accompaniment start routine" is ended at start 232. In this case, in the automatic accompaniment start process, the value of the automatic accompaniment pointer used for reading the original accompaniment data is
The storage areas 60-1 to 60-n corresponding to the rhythm style designated by the style number data STYL, and the section 6 designated by the section number data SECT
It is set to the head address for storing the normal pattern in 1 to 66. Further, in this automatic accompaniment start processing routine, the clock timing CLK indicating the progress state of the automatic accompaniment is set to the initial value "0".

【0034】一方、鍵盤10にて演奏が開始されていず
れかの鍵が押離鍵されると、CPU50は図6,7の
「メインプログラム」の循環処理中、ステップ164に
て「YES」と判定して、ステップ166にて「キーイ
ベントルーチン」を実行する。「キーイベントルーチ
ン」の詳細は図23に示されており、CPU50は60
0にて同ルーチンの実行を開始し、ステップ602〜6
16の処理を実行する。ステップ602においては前
記”1”に設定されている自動伴奏ランフラグAARUNに
基づいて「YES」と判定し、ステップ606にて前記
押離鍵された鍵が鍵盤10の上鍵域に属するものか下鍵
域に属するものかを判定する。
On the other hand, when a performance is started on the keyboard 10 and one of the keys is pressed and released, the CPU 50 gives "YES" at step 164 during the circulation processing of the "main program" of FIGS. The determination is made, and the "key event routine" is executed in step 166. Details of the "key event routine" are shown in FIG.
The execution of the same routine is started at 0, and steps 602 to 6 are executed.
16 processes are performed. In step 602, it is determined to be "YES" based on the automatic accompaniment run flag AARUN set to "1", and in step 606, whether the pressed and released keys belong to the upper range of the keyboard 10 or not. Determine whether it belongs to the key range.

【0035】この場合、押離鍵された鍵が上鍵域に属す
るものであれば、ステップ606における「YES」と
の判定の基に、ステップ610にてメロディ音の発音お
よび消音処理を実行する。この発音および消音処理にお
いては、鍵が押鍵された場合には、同鍵を表すキーコー
ドとキーオン信号を楽音信号形成回路40へ出力する。
楽音信号形成回路40は前記キーコードに対応した音高
の楽音信号を形成するとともにサウンドシステム41へ
発生し始め、同システム41からは鍵盤10にて押鍵さ
れた鍵の音高の楽音が発音され始める。また、鍵が離鍵
された場合には、前記ステップ610にて離鍵された鍵
を表すキーコードおよびキーオフ信号を楽音信号形成回
路40へ出力し、同回路40は前記離鍵された鍵に関す
る楽音信号の形成出力を停止する。これにより、サウン
ドシステム41から発音中の楽音が消音されることにな
る。前記ステップ610の処理後、ステップ612に
て”0”に設定されているシーケンサランフラグSCRUN
に基づいて「NO」と判定し、ステップ616にてこの
「キーイベントルーチン」の実行を終了する。
In this case, if the pressed and released keys belong to the upper key range, the melody sound is generated and muted at step 610 based on the determination of "YES" at step 606. .. In this sounding and mute processing, when a key is pressed, a key code representing the same key and a key-on signal are output to the tone signal forming circuit 40.
The musical tone signal forming circuit 40 forms a musical tone signal having a pitch corresponding to the key code and starts to generate it in the sound system 41, from which the musical tone of the pitch of the key pressed by the keyboard 10 is generated. Start being done. When the key is released, the key code representing the released key and the key-off signal are output to the tone signal forming circuit 40 in step 610, and the circuit 40 relates to the released key. The formation and output of the tone signal is stopped. As a result, the musical tone being sounded is muted from the sound system 41. After the processing of step 610, the sequencer run flag SCRUN set to "0" in step 612.
It is determined to be "NO" based on the above, and the execution of this "key event routine" is ended in step 616.

【0036】また、前記押離鍵に対応した鍵が下鍵域に
属するものであれば、前記ステップ606にて「NO」
と判定し、ステップ608にて下鍵域にて押鍵中の鍵の
組合せにより和音名を決定して、ステップ616にてこ
の「キーイベントルーチン」の実行を終了する。この和
音名の決定処理においては、決定した和音名の根音
(C,D…など)を表すキーコードおよび決定した和音
のタイプ(メジャ、マイナ…など)を根音データROOTお
よびタイプデータTYPEとして記憶保持する。
If the key corresponding to the pressed key is in the lower key range, "NO" in step 606.
Then, in step 608, the chord name is determined by the combination of the keys being pressed in the lower key range, and in step 616, the execution of this “key event routine” ends. In this chord name determination process, the key code representing the root note (C, D ...) Of the decided chord name and the decided chord type (Major, Minor ...) are used as root note data ROOT and type data TYPE. Retain.

【0037】この状態で、テンポ発振器53からテンポ
クロック信号(16分音符タイミング毎の信号)がCP
U50に到来すると、CPU50は前記「メインプログ
ラム」の実行を中断して、図25のステップ700にて
「割り込みプログラム」の実行を開始して、ステップ7
02にて自動伴奏ランフラグAARUN が”1”であるか否
かを判定する。この場合、自動伴奏ランフラグAARUN
は”1”に設定されているので、前記ステップ702に
て「YES」と判定して、704にて自動伴奏処理を実
行する。この自動伴奏処理においては、自動伴奏用ポイ
ンタにより指示されるオリジナル伴奏データ(音符コー
ド、キーコードおよびタイミングデータ)が自動伴奏パ
ターンメモリ60から読み出され、同読み出されたタイ
ミングデータとクロックタイミングCLK が一致する場合
にのみ、前記読み出しキーコードが根音データROOTおよ
びタイプデータTYPEを用いた下鍵域にて指定されている
和音に対応した音高を表すキーコードに変換されて楽音
信号形成回路40へ出力されるとともに、自動伴奏用ポ
インタは次のオリジナル伴奏データの記憶位置に進めら
れる。なお、同一のタイミングデータを含むオリジナル
伴奏データが複数存在する場合には、これらのオリジナ
ル伴奏データは同時に読み出され、そのキーコードが音
高変換されるとともに、同変換されたキーコードが楽音
信号形成回路40へ出力され、また自動伴奏用ポインタ
はさらに次のオリジナル伴奏データの記憶位置に進めら
れる。そして、楽音信号形成回路40は前記出力された
キーコードにより表された音高のコード音信号、ベース
音信号などの伴奏音信号を形成してサウンドシステム4
1へ出力し、同システム41が伴奏音信号に対応した伴
奏音を発音する。
In this state, the tempo clock signal (signal at every 16th note timing) from the tempo oscillator 53 becomes CP.
Upon arrival at U50, the CPU 50 interrupts the execution of the "main program", starts the execution of the "interrupt program" in step 700 of FIG.
At 02, it is determined whether or not the automatic accompaniment run flag AARUN is "1". In this case, the automatic accompaniment run flag AARUN
Is set to "1", it is judged "YES" in step 702 and the automatic accompaniment process is executed in 704. In this automatic accompaniment process, the original accompaniment data (note code, key code and timing data) pointed to by the automatic accompaniment pointer is read from the automatic accompaniment pattern memory 60, and the read timing data and clock timing CLK. Only when they match, the read key code is converted into a key code representing the pitch corresponding to the chord specified in the lower key range using the root note data ROOT and the type data TYPE, and the tone signal forming circuit is converted. While being output to 40, the automatic accompaniment pointer is advanced to the storage position of the next original accompaniment data. When there are a plurality of original accompaniment data including the same timing data, these original accompaniment data are read out at the same time, and their key codes are pitch-converted. It is output to the forming circuit 40, and the automatic accompaniment pointer is further advanced to the storage position of the next original accompaniment data. Then, the tone signal forming circuit 40 forms an accompaniment tone signal such as a chord tone signal having a pitch represented by the output key code, a bass tone signal, etc.
1, and the system 41 produces an accompaniment sound corresponding to the accompaniment sound signal.

【0038】前記ステップ704の処理後、ステップ7
06にて”0”に設定されているシーケンサランフラグ
SCRUN に基づいて「NO」と判定して、プログラムをス
テップ716へ進める。ステップ716にておいては、
前記”1”に設定されている自動伴奏フラグAARUN に基
づいて「YES」と判定し、ステップ718にてクロッ
クタイミングCLK に「1」を加算して、ステップ720
にてこの「割り込みプログラム」の実行を終了する。そ
して、この「割り込みプログラム」はテンポ発振器53
からのクロック信号の到来毎に実行され、ステップ71
8の処理によりクロックタイミングCLK が順次歩進され
るので、オリジナル伴奏データが時間経過にしたがって
順次読み出されて、鍵盤10の下鍵域にて指定された和
音に対応した伴奏音が自動的に順次発音される。なお、
この場合には、ノーマルパターンに関するオリジナル伴
奏データが読み出されており、この読み出しに関して
は、前記ステップ704の自動伴奏処理により、同デー
タ中の最後のセクションコードおよびセクション番号が
読み出された時点で、自動伴奏用ポインタは同データ中
の先頭番地に戻され、同データは繰り返し読み出され続
ける。
After the processing of step 704, step 7
Sequencer run flag set to "0" in 06
Based on SCRUN, the result of the determination is “NO”, and the program proceeds to step 716. At step 716,
It is determined to be "YES" based on the automatic accompaniment flag AARUN set to "1", and "1" is added to the clock timing CLK in step 718, and step 720
Ends the execution of this "interruption program". And this "interrupt program" is the tempo oscillator 53
Is executed at every arrival of the clock signal from step 71.
Since the clock timing CLK is sequentially stepped up by the processing of 8, the original accompaniment data is sequentially read out with the passage of time, and the accompaniment sound corresponding to the chord specified in the lower key range of the keyboard 10 is automatically generated. It is pronounced sequentially. In addition,
In this case, the original accompaniment data regarding the normal pattern has been read, and regarding this reading, when the last section code and section number in the same data are read by the automatic accompaniment processing in step 704. The automatic accompaniment pointer is returned to the head address of the same data, and the same data is continuously read.

【0039】このような状態で、ストップ操作子22c
が操作されると、CPU50は図6,7の「メインプロ
グラム」の循環処理中、ステップ112にて「YES」
と判定して、ステップ114にて「伴奏ストップルーチ
ン」を実行する。「伴奏ストップルーチン」の詳細は図
10に示されており、CPU50はステップ240にて
同ルーチンの実行を開始し、ステップ242〜248の
処理を実行する。
In such a state, the stop operator 22c
When is operated, the CPU 50 performs “YES” in step 112 during the circulation processing of the “main program” in FIGS.
Then, in step 114, the “accompaniment stop routine” is executed. The details of the "accompaniment stop routine" are shown in FIG. 10, and the CPU 50 starts the execution of the routine in step 240 and executes the processing of steps 242 to 248.

【0040】ステップ242においては前記”1”に設
定されている自動伴奏ランフラグAARUN に基づいて「Y
ES」と判定し、ステップ244にて同フラグAARUN
を”0”に変更し、ステップ246にて自動伴奏ストッ
プ処理を実行して、ステップ248にてこの「伴奏スト
ップルーチン」の実行を終了する。この場合、自動伴奏
ストップ処理においては、楽音信号形成回路40にて形
成出力中の伴奏音信号が消される。一方、前記のよう
に、自動伴奏ランフラグAARUN を”0”に変更したの
で、テンポクロック信号の到来によって前記「割り込み
プログラム」が実行されても、ステップ702,716
(図25)にて共に「NO」と判定し、同プログラムに
おける実質的な処理はなにもなされない。これにより、
以降、自動伴奏音の発音が停止する。
At step 242, "Y" is determined based on the automatic accompaniment run flag AARUN set to "1".
ES ”, and the same flag AARUN is determined in step 244.
Is changed to "0", the automatic accompaniment stop process is executed in step 246, and the execution of this "accompaniment stop routine" is ended in step 248. In this case, in the automatic accompaniment stop processing, the accompaniment sound signal being formed and output by the musical sound signal forming circuit 40 is erased. On the other hand, since the automatic accompaniment run flag AARUN is changed to "0" as described above, even if the "interrupt program" is executed by the arrival of the tempo clock signal, steps 702 and 716 are executed.
(FIG. 25), both are determined to be “NO”, and no substantial processing is performed in the program. This allows
After that, the pronunciation of the automatic accompaniment sound stops.

【0041】一方、自動伴奏の作動中(自動伴奏ランフ
ラグAARUN =”1”)、パターン種類操作子29a〜2
9fのいずれかが操作されると、CPU50は図6,7
の「メインプログラム」の循環処理中、ステップ144
にて「YES」と判定して、ステップ146にて「伴奏
パターンルーチン」を実行する。「伴奏パターンルーチ
ン」の詳細は図17に示されており、CPU50はステ
ップ420にて同ルーチンの実行を開始し、ステップ4
22〜436の処理を実行する。
On the other hand, while the automatic accompaniment is in operation (automatic accompaniment run flag AARUN = "1"), pattern type operators 29a-2
When any of 9f is operated, the CPU 50 causes the CPU 50 shown in FIGS.
During the circulation processing of the "main program" of step 144,
In step 146, the "accompaniment pattern routine" is executed. The details of the "accompaniment pattern routine" are shown in FIG. 17, and the CPU 50 starts execution of the routine at step 420, and then at step 4
22 to 436 are executed.

【0042】ステップ422においては前記”1”に設
定されている自動伴奏ランフラグAARUN に基づいて「Y
ES」と判定し、ステップ432にて操作されたパター
ン種類操作子29a〜29fに対応した「1」〜「6」
の値をセクション番号データSECTとして設定する。次
に、ステップ434にて、自動伴奏用ポインタの値を、
スタイル番号データSTYLにより指定されるリズムスタイ
ルに属しかつセクション番号データSECTに対応したイン
トロ、フィルイン1、フィルイン2、エンディング、バ
リエーションなどの自動伴奏パターン(オリジナル伴奏
データ)を記憶する先頭番地に設定し、かつクロックタ
イミングCLK を初期値「0」に設定する。
In step 422, "Y" is set based on the automatic accompaniment run flag AARUN set to "1".
ES ", and" 1 "to" 6 "corresponding to the pattern type operators 29a to 29f operated in step 432.
Set the value of as the section number data SECT. Next, in step 434, the value of the automatic accompaniment pointer is set to
Set to the beginning address that stores the automatic accompaniment pattern (original accompaniment data) that belongs to the rhythm style specified by the style number data STYL and that corresponds to the section number data SECT, such as intro, fill-in 1, fill-in 2, ending, and variation. And the clock timing CLK is set to the initial value "0".

【0043】これにより、テンポクロック信号の到来に
よって前記「割り込みプログラム」(図25)が実行さ
れた場合には、ステップ704の自動伴奏処理において
自動伴奏パターンメモリ60の各記憶エリア60−1〜
60−nの各セクション61〜64,66内のオリジナ
ル伴奏データが再生されることになり、発生中の自動伴
奏音に変化を加えることができる。この場合、イント
ロ、フィルイン1、フィルイン2およびバリエーション
などの伴奏パターン(オリジナル伴奏データ)の読み出
し終了時、すなわちセクションコードおよびセクション
番号の読み出し時には、同伴奏データの読み出しを終了
して、自動伴奏用ポインタをノーマルパターンのオリジ
ナル伴奏データの先頭番地に設定して、ひきつづきノー
マル伴奏パターンが再生されるようする。また、エンデ
ィング伴奏パターンのオリジナル伴奏データの読み出し
終了時には、自動伴奏ランフラグAARUN を”0”に設定
して自動伴奏音の発音を終了させる。
Thus, when the "interrupt program" (FIG. 25) is executed by the arrival of the tempo clock signal, each storage area 60-1 to 60-1 of the automatic accompaniment pattern memory 60 in the automatic accompaniment process of step 704.
The original accompaniment data in the respective sections 61 to 64, 66 of 60-n will be reproduced, and a change can be added to the automatic accompaniment sound being generated. In this case, when the reading of the accompaniment pattern (original accompaniment data) such as intro, fill-in 1, fill-in 2, and variations is completed, that is, when the section code and the section number are read, the reading of the accompaniment data is completed and the automatic accompaniment pointer is set. Is set to the head address of the original accompaniment data of the normal pattern so that the normal accompaniment pattern is continuously reproduced. When the reading of the original accompaniment data of the ending accompaniment pattern is completed, the automatic accompaniment run flag AARUN is set to "0" to terminate the generation of the automatic accompaniment sound.

【0044】(2)ソングデータおよびカスタム伴奏デ
ータの作成および再生動作 a.ソングデータの初期書き込み まず、ソングデータメモリ70Aにソングデータを始め
て書き込む方法について説明する。このデータの書き込
み方法としては、外部メモリ装置からデータを書き込む
方法、および鍵盤10による演奏データをソングデータ
として書き込む方法がある。外部メモリ装置からデータ
を書き込む場合には、図示しないプログラム処理によ
り、外部メモリ入出力装置80を作動させて、フロッピ
ーディスク、ハードディスクなどの外部メモリ装置に記
憶されているデータを読み込んでソングデータメモリ7
0Aに書き込むようにすればよい。鍵盤10による演奏
データを用いる場合には、ソングデータの記憶されてい
ないソングデータメモリ70Aに前記鍵盤10による演
奏データをソングデータとして上書きするメロディ演奏
データのエディットの特殊な場合であって、後述するデ
ータエディットの説明と重複するので、その説明は省略
する。
(2) Creation and reproduction operation of song data and custom accompaniment data a. Initial Writing of Song Data First, a method of writing song data into the song data memory 70A for the first time will be described. As a method of writing this data, there are a method of writing data from an external memory device and a method of writing performance data of the keyboard 10 as song data. When writing data from the external memory device, a program process (not shown) activates the external memory input / output device 80 to read the data stored in the external memory device such as a floppy disk or hard disk to read the song data memory 7
It should be written in 0A. When the performance data of the keyboard 10 is used, this is a special case of editing the melody performance data in which the performance data of the keyboard 10 is overwritten as song data in the song data memory 70A in which no song data is stored, which will be described later. Since the description overlaps with the description of the data edit, the description thereof will be omitted.

【0045】また、前述のようにソングデータをソング
データメモリ70Aに書き込む場合、演奏者はソング操
作子25a、アップ操作子23aおよびダウン操作子2
3bを操作して、同メモリ70Aの記憶エリア70A−
1〜70A−8を指定する必要がある。ソング操作子2
5aが操作されると、CPU50は図6,7の「メイン
プログラム」の循環処理中、ステップ120にて「YE
S」と判定して、ステップ122にて「ソングルーチ
ン」を実行する。「ソングルーチン」の詳細は図12に
示されており、CPU50はステップ300にて同ルー
チンの実行を開始し、ステップ302〜312からなる
処理を実行する。
When the song data is written in the song data memory 70A as described above, the performer has a song operator 25a, an up operator 23a, and a down operator 2.
3b to operate the storage area 70A- of the same memory 70A.
It is necessary to specify 1 to 70A-8. Song operator 2
When 5a is operated, the CPU 50 displays "YE" in step 120 during the circulation processing of the "main program" in FIGS.
When it is determined to be "S", a "song routine" is executed in step 122. The details of the "song routine" are shown in FIG. 12, and the CPU 50 starts the execution of the routine at step 300 and executes the processing of steps 302 to 312.

【0046】この場合、シーケンサランフラグSCRUN
が”1”に設定されていてシーケンサが作動状態にあれ
ば、ステップ302にて「YES」と判定し、実質的な
処理が実行されないで、ステップ312にてこの「ソン
グルーチン」の実行が終了する。また、シーケンサラン
フラグSCRUN が”0”に設定されていてシーケンサが停
止状態にあれば、ステップ302における「NO」との
判定の基に、ステップ304〜310の処理を実行して
ステップ312にてこの「ソングルーチン」の実行を終
了する。これらのステップ304〜308の処理は上述
した「スタイルルーチン」(図8)のステップ204〜
208の処理と類似しており、これらの処理により、表
示モードフラグDISPMDが「1」でなければ、同フラグDI
SPMDがソング番号の指定モードを表す”1”に設定され
るとともに、ディスプレイ21上にソング番号データSO
NGが表す値を表示する。また、この場合には、ステップ
310の処理により、ソングカスタムフラグSNGCSTがソ
ングデータの処理モードを表す”0”に設定される。な
お、このソングカスタムフラグSNGCSTは”1”によりカ
スタム伴奏データの処理モードを表すものである。
In this case, the sequencer run flag SCRUN
Is set to "1" and the sequencer is in the operating state, it is determined to be "YES" in step 302, and the substantial process is not executed, and the execution of this "song routine" is ended in step 312. To do. If the sequencer run flag SCRUN is set to "0" and the sequencer is in the stopped state, the processes of steps 304 to 310 are executed based on the determination of "NO" in step 302, and in step 312. The execution of this "song routine" is completed. The processing of these steps 304 to 308 is performed by the steps 204 to 204 of the above-mentioned "style routine" (FIG. 8).
It is similar to the processing of 208, and if the display mode flag DISPMD is not "1" by these processings, the flag DI
SPMD is set to "1" indicating the song number designation mode, and the song number data SO is displayed on the display 21.
Display the value represented by NG. Further, in this case, the processing of step 310 sets the song custom flag SNGCST to "0" indicating the processing mode of the song data. The song custom flag SNGCST indicates the processing mode of the custom accompaniment data by "1".

【0047】このような状態でアップ操作子23aまた
はダウン操作子23bが操作されると、CPU50は図
6,7の「メインプログラム」のステップ116にて
「YES」と判定し、ステップ118にて前記「増減ル
ーチン」(図11)を実行する。この「増減ルーチン」
においては、表示モードフラグDISPMDが”1”に設定さ
れ、かつシーケンサランフラグSCRUN がシーケンサの停
止状態を表す”0”に設定されているので、ステップ2
62,272,274にて順次「NO」、「NO」、
「YES」と判定して、ステップ276〜282の処理
を実行する。ステップ276,278においては、上述
したステップ268,270のスタイル番号データSTYL
の処理と同様にして、ソング番号データSONGがアップ操
作子23aおよびダウン操作子23bの操作によって増
減されるとともに、その増減された値がディスプレイ2
1上に表示される。また、ステップ280の処理によっ
てソング用ポインタがソング番号データSONGにより表さ
れたソングデータメモリ70Aの記憶エリア70A−1
〜70A−8の先頭番地に設定され、ステップ282の
処理によってクロックタイミングCLK が初期値「0」に
設定される。
When the up operator 23a or the down operator 23b is operated in such a state, the CPU 50 determines "YES" in step 116 of the "main program" of FIGS. The "increase / decrease routine" (FIG. 11) is executed. This "increase / decrease routine"
In step 2, since the display mode flag DISPMD is set to "1" and the sequencer run flag SCRUN is set to "0" indicating the stopped state of the sequencer, step 2
62, 272, 274 are sequentially "NO", "NO",
It is determined to be "YES" and the processes of steps 276 to 282 are executed. In steps 276 and 278, the style number data STYL in steps 268 and 270 described above is used.
The song number data SONG is increased / decreased by the operation of the up operator 23a and the down operator 23b in the same manner as in the process of 1.
1 is displayed above. Further, the storage area 70A-1 of the song data memory 70A in which the song pointer is represented by the song number data SONG by the processing of step 280
˜70A-8, the clock timing CLK is set to the initial value “0” by the process of step 282.

【0048】b.カスタム伴奏データの初期書き込み 次に、カスタム伴奏パターンメモリ70Bに伴奏データ
を始めて書き込む方法について説明すると、この場合、
上記と同様な外部メモリ装置からデータを書き込む方法
および鍵盤10による鍵演奏データを書き込む方法に加
えて、自動伴奏パターンメモリ60内のオリジナル伴奏
データをコピーする方法もある。外部メモリ装置からデ
ータを書き込む場合および鍵盤10による鍵演奏データ
を用いる場合、上述のソングデータの場合と同じである
ので、その説明は省略する。
B. Initial Writing of Custom Accompaniment Data Next, a method of initially writing the accompaniment data in the custom accompaniment pattern memory 70B will be described.
In addition to the method of writing data from the external memory device and the method of writing key performance data by the keyboard 10 similar to the above, there is also a method of copying the original accompaniment data in the automatic accompaniment pattern memory 60. The case of writing data from the external memory device and the case of using the key performance data by the keyboard 10 is the same as the case of the above-mentioned song data, and therefore its explanation is omitted.

【0049】また、このカスタム伴奏パターンメモリ7
0Bに伴奏データを始めて書き込む場合にも、演奏者は
カスタム操作子25b、アップ操作子23aおよびダウ
ン操作子23bを操作して、同メモリ70Bの記憶エリ
ア70B−1〜70B−8を指定する必要がある。カス
タム操作子25bが操作されると、CPU50は図6,
7の「メインプログラム」の循環処理中、ステップ12
4にて「YES」と判定して、ステップ126にて「カ
スタムルーチン」を実行する。「カスタムルーチン」の
詳細は図13に示されており、CPU50はステップ3
20にて同ルーチンの実行を開始し、ステップ322〜
332からなる処理を実行する。
In addition, the custom accompaniment pattern memory 7
Even when the accompaniment data is written to 0B for the first time, the performer must operate the custom operator 25b, the up operator 23a, and the down operator 23b to specify the storage areas 70B-1 to 70B-8 of the memory 70B. There is. When the custom operator 25b is operated, the CPU 50 causes the CPU 50 shown in FIG.
During the circulation process of the "main program" of 7, step 12
It is determined to be "YES" in step 4, and the "custom routine" is executed in step 126. The details of the "custom routine" are shown in FIG.
The execution of the same routine is started at 20, and steps 322 to
332 is executed.

【0050】この場合も、シーケンサランフラグSCRUN
が”1”に設定されていてシーケンサが作動状態にあれ
ば、ステップ322にて「YES」と判定し、実質的な
処理が実行されないで、ステップ332にてこの「カス
タムルーチン」の実行を終了する。また、シーケンサラ
ンフラグSCRUN が”0”に設定されていてシーケンサが
停止状態にあれば、ステップ322における「NO」と
の判定の基に、ステップ324〜330の処理を実行し
てステップ332にてこの「カスタムルーチン」の実行
を終了する。これらのステップ324〜330の処理は
前述した「ソングルーチン」(図8)のステップ304
〜310の処理と類似しており、これらの処理により、
表示モードフラグDISPMDが「2」でなければ、同フラグ
DISPMDがカスタム番号の指定モードを表す”2”に設定
されるとともに、ディスプレイ21上にカスタム番号デ
ータCUSTOMが表す値を表示する。また、この場合には、
ステップ330の処理により、ソングカスタムフラグSN
GCSTがカスタムデータの処理モードを表す”1”に設定
される。
Also in this case, the sequencer run flag SCRUN
Is set to "1" and the sequencer is in the operating state, it is determined to be "YES" in step 322, and the substantial processing is not executed, and the execution of this "custom routine" is ended in step 332. To do. If the sequencer run flag SCRUN is set to “0” and the sequencer is in the stopped state, the processes of steps 324 to 330 are executed based on the judgment of “NO” in step 322, and in step 332. The execution of this "custom routine" is completed. The processing of these steps 324 to 330 is the same as step 304 of the "song routine" (FIG. 8) described above.
It is similar to the processing of ~ 310, and by these processing,
If the display mode flag DISPMD is not "2", the same flag
DISPMD is set to "2" indicating the custom number designation mode, and the value indicated by the custom number data CUSTOM is displayed on the display 21. Also, in this case,
By the processing of step 330, the song custom flag SN
GCST is set to "1" indicating the processing mode of custom data.

【0051】このような状態でアップ操作子23aまた
はダウン操作子23bが操作されると、前記ソングデー
タの書き込みの場合と同様、図6のステップ118にて
前記「増減ルーチン」(図11)を実行する。この「増
減ルーチン」においては、表示モードフラグDISPMDが”
2”に設定され、かつシーケンサランフラグSCRUN がシ
ーケンサの停止状態を表す”0”に設定されているの
で、ステップ262,272,274にて順次「N
O」、「NO」、「NO」と判定して、ステップ284
〜290の処理を実行する。これらのステップ284〜
290の処理により、前記ソング番号データSONGの場合
と同様に、カスタム番号データCUSTOMが増減されるとと
もにディスプレイ21上に表示され、カスタム用ポイン
タがカスタム番号データCUSTOMにより指定されたカスタ
ム伴奏パターンメモリ70Bの記憶エリア70B−1〜
70B−8の先頭番地に設定されるとともに、クロック
タイミングCLK が初期値「0」に設定される。
When the up operator 23a or the down operator 23b is operated in such a state, the "increase / decrease routine" (FIG. 11) is executed in step 118 of FIG. 6 as in the case of writing the song data. Run. In this "increase / decrease routine", the display mode flag DISPMD is set to "
Since it is set to "2" and the sequencer run flag SCRUN is set to "0" indicating the stop state of the sequencer, steps "262", "272" and "274" are sequentially followed by "N".
It is determined to be “O”, “NO”, or “NO”, and step 284
~ 290 processing is executed. These steps 284-
As in the case of the song number data SONG, the custom number data CUSTOM is increased / decreased and displayed on the display 21 by the processing of 290, and the custom pointer is stored in the custom accompaniment pattern memory 70B designated by the custom number data CUSTOM. Storage area 70B-1
70B-8 is set to the head address and the clock timing CLK is set to the initial value "0".

【0052】次に、自動伴奏パターンメモリ60内のオ
リジナル伴奏データをカスタム伴奏パターンメモリ70
Bにコピーする場合について説明する。この場合も、オ
リジナル伴奏データがコピーされるべきカスタム伴奏パ
ターンメモリ70Bの記憶エリア70B−1〜70B−
8を指定するために、前述のようにしてカスタム番号デ
ータCUSTOMが所望の値に設定される。また、コピーする
オリジナル伴奏データを記憶している自動伴奏パターン
メモリ60の記憶エリア60−1〜60−nを指定する
必要もある。この場合、上述したオリジナル伴奏データ
の再生で説明したように、スタイル操作子22a、アッ
プ操作子23aおよびダウン操作子23bを操作するこ
とにより、スタイル番号データSTYLを所望の値に設定す
る。
Next, the original accompaniment data in the automatic accompaniment pattern memory 60 is transferred to the custom accompaniment pattern memory 70.
The case of copying to B will be described. Also in this case, the storage areas 70B-1 to 70B- of the custom accompaniment pattern memory 70B to which the original accompaniment data should be copied.
In order to specify 8, the custom number data CUSTOM is set to a desired value as described above. It is also necessary to specify the storage areas 60-1 to 60-n of the automatic accompaniment pattern memory 60 that stores the original accompaniment data to be copied. In this case, the style number data STYL is set to a desired value by operating the style manipulator 22a, the up manipulator 23a, and the down manipulator 23b, as described in the reproduction of the original accompaniment data.

【0053】このようなカスタム番号データCUSTOMおよ
びスタイル番号データSTYLの設定後、演奏者はコピー操
作子27aを操作する。このコピー操作子27aの操作
により、図6,7の「メインプログラム」を循環処理中
のCPU50は、ステップ136にて「YES」と判定
して、ステップ138にて「コピールーチン」を実行す
る。「コピールーチン」の詳細は図15に示されてお
り、CPU50はステップ360にて同ルーチンの実行
を開始し、ステップ362〜390の処理を実行する。
After setting such custom number data CUSTOM and style number data STYL, the performer operates the copy operator 27a. By the operation of the copy operator 27a, the CPU 50, which is circulating the "main program" of FIGS. 6 and 7, determines "YES" in step 136 and executes the "copy routine" in step 138. The details of the "copy routine" are shown in FIG. 15, and the CPU 50 starts the execution of the routine at step 360 and executes the processing at steps 362-390.

【0054】この場合、自動伴奏ランフラグAARUN が自
動伴奏の停止状態を表す”0”に設定され、かつシーケ
ンサランフラグSCRUN がシーケンサの停止状態を表す”
0”に設定されていることを条件に、ステップ362,
364にて共に「NO」と判定し、ステップ366にて
表示制御回路20bを制御することによりランプ24c
を点滅させる。次に、ステップ368にてオールコピー
フラグACOPY を”1”に設定するとともに、ステップ3
70にて転送されるオリジナル伴奏データのセクション
番号を指定するためのコピー用セクション番号データCS
ECT(1)〜CSECT(6)をクリアしておき、ステップ372〜
378からなる循環処理を実行する。この循環処理中、
パターン種類操作子29a〜29fおよび回答操作子2
4a,24bのいずれの操作子も操作されなければ、ス
テップ372,378における「NO」との判定の基に
前記循環処理が繰り返し実行され続ける。
In this case, the automatic accompaniment run flag AARUN is set to "0" which represents the stopped state of the automatic accompaniment, and the sequencer run flag SCRUN represents the stopped state of the sequencer ".
If it is set to 0 ”, step 362,
It is determined that both are "NO" at 364, and the lamp 24c is controlled by controlling the display control circuit 20b at step 366.
Blink. Next, in step 368, the all copy flag ACOPY is set to "1" and step 3
Copy section number data CS for specifying the section number of the original accompaniment data transferred at 70
Clear ECT (1) to CSECT (6), and then step 372-
A circulation process consisting of 378 is executed. During this circulation process,
Pattern type operators 29a to 29f and answer operator 2
If neither of the operators 4a and 24b is operated, the circulation processing is repeatedly executed based on the determination of "NO" in steps 372 and 378.

【0055】パターン種類操作子29a〜29fのいず
れかが操作されると、ステップ372にて「YES」と
判定し、ステップ374にてコピー用セクション番号デ
ータCSECT(i)として操作されたパターン種類操作子29
a〜29fに対応した値(1〜6)を設定する。なお、
前記変数iは、ステップ372〜378からなる循環処
理中においてパターン種類操作子29a〜29fが操作
される毎に「1」から「6」までに渡って順次「1」ず
つ増えていくものである。これにより、コピーされる伴
奏パターン(多数のオリジナル伴奏データからなる)と
して、一つ若しくは複数の伴奏パターンが指定される。
また、一つでも伴奏パターンが指定された場合には、ス
テップ376にてオールコピーフラグACOPY が”0”に
設定される。
When any of the pattern type operators 29a to 29f is operated, it is determined "YES" in step 372, and the pattern type operation operated as the copy section number data CSECT (i) in step 374. Child 29
The value (1-6) corresponding to a-29f is set. In addition,
The variable i is sequentially incremented by "1" from "1" to "6" every time the pattern type operators 29a to 29f are operated during the circulation process including steps 372 to 378. .. As a result, one or a plurality of accompaniment patterns are designated as the accompaniment patterns to be copied (consisting of a large number of original accompaniment data).
If at least one accompaniment pattern is designated, the all copy flag ACOPY is set to "0" in step 376.

【0056】一方、前記ステップ372〜378からな
る循環処理中、演奏者が回答操作子24a,24bを操
作すると、ステップ378にて「YES」と判定され
て、ステップ380にて回答操作子24a(YES操作
子)が操作されたか、回答操作子24b(NO操作子)
が操作されたかを判定する。この場合、回答操作子24
aが操作されていた場合、ステップ380における「Y
ES」との判定の基に、ステップ382にてオールコピ
ーフラグACOPY が”1”であるか否かを判定する。い
ま、前述のように、ステップ372〜378からなる循
環処理の実行中に、パターン種類操作子29a〜29f
のいずれか一つでも操作されて、オールコピーフラグAC
OPY が”0”に変更されていれば、ステップ382にて
「NO」と判定して、ステップ384にて自動伴奏パタ
ーンメモリ60からカスタム伴奏パターンメモリ70B
への伴奏パターンの一部コピー処理を実行する。また、
前記ステップ372〜378からなる循環処理の実行中
に、パターン種類操作子29a〜29fのいずれも操作
されていなければ、オールコピーフラグACOPY は”1”
に保たれているので、ステップ382にて「YES」と
判定して、ステップ386にて自動伴奏パターンメモリ
60からカスタム伴奏パターンメモリ70Bへの伴奏パ
ターンの全部コピー処理を実行する。
On the other hand, when the performer operates the answer operation elements 24a and 24b during the circulation processing consisting of steps 372 to 378, it is determined as "YES" in step 378 and the answer operation element 24a ( Answer operator 24b (NO operator) has been operated?
Is operated. In this case, the answer operator 24
If a is operated, "Y" in step 380
Based on the determination of "ES", it is determined in step 382 whether the all copy flag ACOPY is "1". Now, as described above, the pattern type operators 29a to 29f are executed during the execution of the circulation process including steps 372 to 378.
All copy flag AC is operated by any one of
If OPY has been changed to "0", it is determined to be "NO" in step 382, and the automatic accompaniment pattern memory 60 to the custom accompaniment pattern memory 70B is determined in step 384.
Partial copy processing of the accompaniment pattern is executed. Also,
If none of the pattern type operators 29a to 29f are operated during the execution of the circulation process including steps 372 to 378, the all copy flag ACOPY is "1".
Therefore, in step 382, it is determined to be “YES”, and in step 386, a process of copying all the accompaniment patterns from the automatic accompaniment pattern memory 60 to the custom accompaniment pattern memory 70B is executed.

【0057】前記一部コピー処理においては、自動伴奏
パターンメモリ60内のスタイル番号データSTYLにより
指定される記憶エリア60−1〜60−nに記憶されて
いる伴奏パターン(多数のオリジナル伴奏データからな
る)であって、前記パターン種類操作子29a〜29f
の操作により設定されたコピー用セクション番号データ
CSECT(1)〜CSECT(6)が指定する一つ若しくは複数のセク
ション61〜66に記憶されている伴奏パターンが、カ
スタム伴奏パターンメモリ70B内のカスタム番号デー
タCUSTOMにより指定される記憶エリア70B−1〜70
B−8にコピーされる。また、全部コピー処理において
は、自動伴奏パターンメモリ60内のスタイル番号デー
タSTYLにより指定される記憶エリア60−1〜60−n
に記憶されている全ての伴奏パターンが、カスタム伴奏
パターンメモリ70B内のカスタム番号データCUSTOMに
より指定される記憶エリア70B−1〜70B−8にコ
ピーされる。その結果、自動伴奏パターンメモリ60内
の伴奏パターンを必要な数だけカスタム伴奏パターンメ
モリ70Bに簡単にコピーすることができるようにな
る。
In the partial copy process, the accompaniment patterns stored in the storage areas 60-1 to 60-n designated by the style number data STYL in the automatic accompaniment pattern memory 60 (composed of a large number of original accompaniment data). ), And the pattern type operators 29a to 29f
Section number data for copy set by the operation of
The accompaniment pattern stored in one or a plurality of sections 61 to 66 designated by CSECT (1) to CSECT (6) is a storage area 70B-1 designated by the custom number data CUSTOM in the custom accompaniment pattern memory 70B. ~ 70
Copied to B-8. Further, in the all copy processing, storage areas 60-1 to 60-n designated by the style number data STYL in the automatic accompaniment pattern memory 60.
All the accompaniment patterns stored in the memory are copied to the storage areas 70B-1 to 70B-8 designated by the custom number data CUSTOM in the custom accompaniment pattern memory 70B. As a result, the required number of accompaniment patterns in the automatic accompaniment pattern memory 60 can be easily copied to the custom accompaniment pattern memory 70B.

【0058】前記ステップ384,386の処理後、ス
テップ388にてランプ24cを消灯させ、ステップ3
90にてこの「コピールーチン」の実行を終了する。一
方、前記ステップ372〜378からなる循環処理中、
回答操作子24b(NO操作子)が操作された場合に
は、ステップ380にて「NO」と判定し、ステップ3
88にて前記のようにランプ24cを消灯させて、ステ
ップ390にてこの「コピールーチン」の実行を終了す
る。なお、この場合には、前記伴奏パターンのコピーは
行われない。
After the processing of steps 384 and 386, the lamp 24c is turned off in step 388, and step 3
At 90, the execution of this "copy routine" ends. On the other hand, during the circulation process consisting of the steps 372 to 378,
When the answer operator 24b (NO operator) is operated, it is determined to be "NO" in step 380, and step 3
At 88, the lamp 24c is turned off as described above, and at step 390, the execution of this "copy routine" ends. In this case, the accompaniment pattern is not copied.

【0059】c.ソングデータおよびカスタム伴奏デー
タのクリア 上記のようにして、ソングデータメモリ70Aまたはカ
スタム伴奏パターンメモリ70Bに記憶したデータをク
リアする場合には、演奏者はソング操作子25a、カス
タム操作子25b、アップ操作子23aまたはダウン操
作子23bの操作により、上述のようにしてソング番号
データSONGまたはカスタム番号データCUSTOMを任意の値
に設定するとともにソングカスタムフラグSNGCSTを”
0”または”1”に設定した後、クリア操作子27bを
操作する。クリア操作子27bが操作されると、CPU
50は図6,7の「メインプログラム」の循環処理中、
ステップ140にて「YES」と判定して、ステップ1
42にて「クリアルーチン」を実行する。「クリアルー
チン」の詳細は図16に示されており、CPU50はス
テップ400にて同ルーチンの実行を開始し、ステップ
402〜410からなる処理を実行する。
C. Clearing Song Data and Custom Accompaniment Data As described above, when clearing the data stored in the song data memory 70A or the custom accompaniment pattern memory 70B, the performer must perform the song operation 25a, the custom operation 25b, and the up operation. By operating the child 23a or the down operator 23b, the song number data SONG or the custom number data CUSTOM is set to an arbitrary value and the song custom flag SNGCST is set as described above.
After setting to "0" or "1", the clear operator 27b is operated. When the clear operator 27b is operated, the CPU
50 is the circulation processing of the "main program" of FIGS.
It is determined to be “YES” in step 140, and step 1
At 42, a "clear routine" is executed. The details of the "clear routine" are shown in FIG. 16, and the CPU 50 starts the execution of the routine in step 400 and executes the processing of steps 402 to 410.

【0060】この場合、シーケンサランフラグSCRUN
が”1”に設定されていてシーケンサが作動状態にあれ
ば、ステップ402にて「YES」と判定し、実質的な
処理を実行しないで、ステップ410にてこの「クリア
ルーチン」の実行を終了する。また、シーケンサランフ
ラグSCRUN が”0”に設定されていてシーケンサが停止
状態にあれば、ステップ402にて「NO」と判定し
て、ステップ404にてソングカスタムフラグSNGCST
が”0”であるか否かを判定する。ソングカスタムフラ
グSNGCSTがソングデータの処理モードを示す”0”に設
定されていれば、ステップ404にて「YES」と判定
し、ステップ406にてソングデータメモリ70A内の
ソング番号データSONGにより指定される記憶エリア70
A−1〜70A−8に記憶されているソングデータをク
リアする。また、ソングカスタムフラグSNGCSTがカスタ
ム伴奏データの処理モードを示す”1”に設定されてい
れば、ステップ404にて「NO」と判定し、ステップ
408にてカスタム伴奏パターンメモリ70B内のカス
タム番号データCUSTOMにより指定される記憶エリア70
B−1〜70B−8に記憶されているカスタム伴奏デー
タをクリアする。
In this case, the sequencer run flag SCRUN
Is set to "1" and the sequencer is in the operating state, it is determined to be "YES" in step 402, and the substantial processing is not executed, and the execution of this "clear routine" is ended in step 410. To do. If the sequencer run flag SCRUN is set to "0" and the sequencer is in the stopped state, it is determined to be "NO" in step 402 and the song custom flag SNGCST is determined in step 404.
Is "0". If the song custom flag SNGCST is set to "0" indicating the processing mode of the song data, it is determined to be "YES" at step 404 and designated by the song number data SONG in the song data memory 70A at step 406. Storage area 70
Clear the song data stored in A-1 to 70A-8. If the song custom flag SNGCST is set to "1" indicating the processing mode of the custom accompaniment data, it is determined as "NO" in step 404, and the custom number data in the custom accompaniment pattern memory 70B is determined in step 408. Storage area 70 specified by CUSTOM
The custom accompaniment data stored in B-1 to 70B-8 is cleared.

【0061】d.ソングデータのエディット ソングデータメモリ70A内のソングデータをエディッ
トする場合、演奏者は、まずソング操作子25a、アッ
プ操作子23aおよびダウン操作子23bを操作して、
エディットするソングデータを記憶しているソングデー
タメモリ70A内の記憶エリア70A−1〜70A−8
を指定する。これらの操作子25a,23a,23bの
操作により、上述したように、ソングカスタムフラグSN
GCSTは”0”に設定されるとともに、ソング番号データ
SONGは所望の値(1〜8)に設定される。この操作後、
演奏者はレコード操作子26aを操作することにより、
シーケンサモードフラグSCMDをレコードモードを表す”
0”に設定する。レコード操作子26aが操作される
と、図6,7のステップ104〜166の「メインプロ
グラム」の循環処理中のCPU50は、ステップ128
にて「YES」と判定して、ステップ130にてシーケ
ンサモードフラグSCMDを反転(”0”から”1”へ、ま
たは”1”から”0”へ変更)する。
D. Editing Song Data When editing song data in the song data memory 70A, the performer first operates the song operator 25a, the up operator 23a, and the down operator 23b,
Storage areas 70A-1 to 70A-8 in a song data memory 70A that stores song data to be edited
Is specified. By operating these operators 25a, 23a, 23b, as described above, the song custom flag SN
GCST is set to "0" and song number data
SONG is set to a desired value (1-8). After this operation,
The performer operates the record operator 26a,
Sequencer mode flag SCMD represents the record mode ”
When the record operator 26a is operated, the CPU 50 during the circulation processing of the "main program" in steps 104 to 166 of FIGS.
In step 130, the sequencer mode flag SCMD is inverted (changed from "0" to "1" or changed from "1" to "0").

【0062】このような状態で、演奏者はレコードモー
ドを設定するためにレコードモード操作子26bを操作
する。レコードモード操作子26bが操作されると、C
PU50は図6,7の「メインプログラム」の循環処理
中、ステップ132にて「YES」と判定して、ステッ
プ134にて「レコードモードルーチン」を実行する。
「レコードモードルーチン」の詳細は図14に示されて
おり、CPU50はステップ340にて同ルーチンの実
行を開始し、ステップ342〜356からなる処理を実
行する。
In such a state, the performer operates the record mode operator 26b to set the record mode. When the record mode operator 26b is operated, C
During the circulation processing of the "main program" of FIGS. 6 and 7, the PU 50 determines "YES" at step 132 and executes the "record mode routine" at step 134.
The details of the "record mode routine" are shown in FIG. 14, and the CPU 50 starts the execution of the routine in step 340 and executes the processing of steps 342 to 356.

【0063】この場合、レコードモードフラグRCMDが以
前”0”であったならば、ステップ342にて「YE
S」と判定して、ステップ352にて同フラグRCMDをリ
ライトモードを表す”1”に設定する。レコードモード
フラグRCMDが以前”1”であったならば、ステップ34
2,344にてそれぞれ「NO」、「YES」と判定し
て、ステップ350にて同フラグRCMDをオーバダビング
モードを表す”2”に設定する。レコードモードフラグ
RCMDが以前”2”であったならば、ステップ342,3
44にて共に「NO」と判定し、リピートフラグREPT
が”0”であることを条件に、ステップ346にて「Y
ES」と判定して、ステップ348にて同フラグRCMDを
インサートモードを表す”0”に設定する。なお、前記
リピートフラグREPTが”0”であることを条件にした理
由は、既存のソングデータ中に新たなソングデータを挿
入(インサート)すると、リピートによるソングデータ
の繰り返し区間が変更されてしまうことを避けるためで
ある。前記のようなステップ348〜352の処理後、
ステップ354にて前記設定したレコードモードフラグ
RCMDの値(0〜2)に対応したランプ26c〜26eの
一つを点灯させる。このランプ26c〜26eの点灯に
より、演奏者はレコードモードを視覚的に判断できるよ
うになる。
In this case, if the record mode flag RCMD was previously "0", "YE" is entered in step 342.
S ", and the flag RCMD is set to" 1 "indicating the rewrite mode in step 352. If the record mode flag RCMD was previously "1", step 34
It is determined to be "NO" and "YES" at 2 and 344, respectively, and the flag RCMD is set to "2" indicating the overdubbing mode at step 350. Record mode flag
If RCMD was previously "2", steps 342, 3
Both are determined to be “NO” at 44 and the repeat flag REPT
Is "0", in step 346 "Y
ES ", and the flag RCMD is set to" 0 "indicating the insert mode in step 348. The reason why the repeat flag REPT is "0" is that the repeat section of the song data due to the repeat is changed when new song data is inserted into the existing song data. This is to avoid After the processing of steps 348-352 as described above,
Record mode flag set in step 354
One of the lamps 26c to 26e corresponding to the RCMD value (0 to 2) is turned on. By turning on the lamps 26c to 26e, the player can visually judge the record mode.

【0064】次に、演奏者は、ジャンプ操作子28a〜
28dまたはリセット操作子28hを操作することによ
り、ソングデータメモリ70Aの読み出し開始位置を設
定する。これらの操作子28a〜28d,28hのいず
れかが操作されると、CPU50は図6,7の「メイン
プログラム」の循環処理中、ステップ156にて「YE
S」と判定して、ステップ158にて「再生位置ルーチ
ン」を実行する。「再生位置ルーチン」の詳細は図21
に示されており、CPU50はステップ540にて同ル
ーチンの実行を開始し、ステップ542〜562からな
る処理を実行する。
Next, the performer selects the jump operator 28a ...
By operating 28d or the reset operator 28h, the reading start position of the song data memory 70A is set. When any one of these operators 28a to 28d, 28h is operated, the CPU 50 displays "YE" in step 156 during the circulation processing of the "main program" in FIGS.
When it is determined to be "S", the "playback position routine" is executed in step 158. The details of the "playback position routine" are shown in FIG.
, The CPU 50 starts executing the routine in step 540 and executes the processing of steps 542-562.

【0065】この場合、シーケンサは未だ停止状態にあ
ってシーケンサランフラグSCRUN は”0”に設定されて
いるので、ステップ542にて「NO」と判定して、プ
ログラムをステップ544以降へ進める。なお、シーケ
ンサが作動状態にあってシーケンサランフラグSCRUN
が”1”に設定され、かつシーケンサモードフラグSCMD
がレコードモードを表す”0”に設定されている場合に
は、ステップ542にて「YES」と判定し、ステップ
562にてこの「再生位置ルーチン」の実行を終了す
る。これにより、シーケンサがレコードモードで作動し
ている場合には、ソングデータメモリ70Aの読み出し
開始位置の変更が禁止される。
In this case, since the sequencer is still stopped and the sequencer run flag SCRUN is set to "0", it is determined to be "NO" at step 542 and the program proceeds to step 544 and thereafter. Note that the sequencer run flag SCRUN
Is set to "1" and the sequencer mode flag SCMD
Is set to "0" indicating the record mode, "YES" is determined in the step 542, and the execution of the "reproduction position routine" is ended in the step 562. As a result, when the sequencer is operating in the record mode, changing the read start position of the song data memory 70A is prohibited.

【0066】ステップ544においては前記操作された
操作子がリセット操作子28hであるか否かを判定す
る。前記操作された操作子がリセット操作子28hであ
れば、ステップ544にて「YES」と判定して、ステ
ップ554にてクロックタイミングCLK を「0」に初期
設定し、ステップ556にてソングデータ用ポインタを
ソング番号データSONGにより指定されるソングデータメ
モリ70Aの記憶エリア70A−1〜70A−8の先頭
番地に設定し、ステップ558,560にてリピートフ
ラグREPTを”0”にクリアしておくとともに、リピート
スタートデータREPST を「0」に設定しておく。なお、
リピートフラグREPTは”1”によりリピートモードを表
し、リピートスタートデータREPST はリピートモードに
おけるリピート開始タイミングを表すものである。
In step 544, it is determined whether the operated operator is the reset operator 28h. If the operated operator is the reset operator 28h, it is determined to be "YES" in step 544, the clock timing CLK is initially set to "0" in step 554, and the song data is used in step 556. The pointer is set to the head address of the storage areas 70A-1 to 70A-8 of the song data memory 70A designated by the song number data SONG, and the repeat flag REPT is cleared to "0" in steps 558 and 560. , Repeat start data REPST is set to "0". In addition,
The repeat flag REPT represents a repeat mode by "1", and the repeat start data REPST represents a repeat start timing in the repeat mode.

【0067】また、前記操作された操作子がリセット操
作子28hでなければ、ステップ544にて「NO」と
判定して、ステップ546にてクロックタイミングCLK
をジャンプ操作子28a〜28dのうちの操作された操
作子の種類に応じた値に設定する。ジャンプ操作子28
aが操作された場合には、クロックタイミングCLK が現
在の値から「1」だけ大きな値すなわち16分音符相当
分だけ進められる。ジャンプ操作子28bが操作された
場合には、クロックタイミングCLK が現在の値から増加
方向の最初の小節線位置に対応した値(16,32,4
8,0)すなわち次の小節の先頭位置に進められる。ジ
ャンプ操作子28cが操作された場合には、クロックタ
イミングCLK が現在の値から「1」だけ小さな値すなわ
ち16分音符相当分だけ戻される。ジャンプ操作子28
dが操作された場合には、クロックタイミングCLK が現
在の値から減少方向の最初の小節線位置に対応した値
(0,16,32,48)すなわち現小節の先頭位置に
戻される。
If the operated operator is not the reset operator 28h, it is determined to be "NO" in step 544 and the clock timing CLK is determined in step 546.
Is set to a value according to the type of the operated operator among the jump operators 28a to 28d. Jump operator 28
When a is operated, the clock timing CLK is advanced by "1" from the current value, that is, by the amount equivalent to the 16th note. When the jump operator 28b is operated, the clock timing CLK has a value (16, 32, 4) corresponding to the first bar line position in the increasing direction from the current value.
(8, 0), that is, the head position of the next bar is advanced. When the jump operator 28c is operated, the clock timing CLK is returned by a value smaller than the current value by "1", that is, by the amount corresponding to the 16th note. Jump operator 28
When d is manipulated, the clock timing CLK is returned to the value (0, 16, 32, 48) corresponding to the first bar line position in the decreasing direction from the current value, that is, the head position of the current bar.

【0068】ステップ548にてソングデータ用ポイン
タをソング番号データSONGにより指定されるソングデー
タメモリ70Aの記憶エリア70A−1〜70A−8で
あって、クロックタイミングCLK と一致するタイミング
データを記憶するソングデータの番地に設定し、ステッ
プ550,552にてリピートフラグREPTを”0”にク
リアしておくとともに、リピートスタートデータREPST
をクロックタイミング値CLK に設定しておく。
In step 548, the song data pointer is the storage area 70A-1 to 70A-8 of the song data memory 70A designated by the song number data SONG, and the song which stores the timing data which coincides with the clock timing CLK. Set the data address, clear the repeat flag REPT to "0" in steps 550 and 552, and repeat start data REPST.
Is set to the clock timing value CLK.

【0069】このような状態で、演奏者はシーケンサ開
始操作子28eを操作することによりソングデータメモ
リ70A内のソングデータの読み出しを指示するととも
に、鍵盤10の上鍵域にてソングデータのエディットの
ためのメロディ演奏を開始する。シーケンサ開始操作子
28eが操作されると、CPU50は図6,7の「メイ
ンプログラム」の循環処理中、ステップ148にて「Y
ES」と判定して、ステップ150にて「再生開始ルー
チン」を実行する。「再生開始ルーチン」の詳細は図1
8に示されており、CPU50はステップ440にて同
ルーチンの実行を開始し、ステップ442〜458から
なる処理を実行する。
In this state, the performer operates the sequencer start operator 28e to instruct to read out the song data in the song data memory 70A, and to edit the song data in the upper key region of the keyboard 10. To start playing the melody. When the sequencer start operator 28e is operated, the CPU 50 displays "Y" in step 148 during the circulation processing of the "main program" in FIGS.
When it is determined to be "ES", a "reproduction start routine" is executed in step 150. The details of the "playback start routine" are shown in Fig. 1.
8, the CPU 50 starts the execution of the routine in step 440 and executes the processing of steps 442-458.

【0070】この場合、ソングカスタムフラグSNGCSTは
前記のように”0”に設定されているので、ステップ4
42にて「NO」と判定し、ステップ444にてシーケ
ンサランフラグSCRUN が”1”であるか否かを判定す
る。この場合、シーケンサは未だ停止状態にあってシー
ケンサランフラグSCRUN が”0”であるので、ステップ
444にて「NO」と判定して、プログラムをステップ
446以降へ進める。なお、シーケンサが作動状態にあ
ってシーケンサランフラグSCRUN が既に”1”に設定さ
れていれば、ステップ444にて「YES」と判定し
て、ステップ458にてこの「再生開始ルーチン」の実
行を終了する。
In this case, since the song custom flag SNGCST is set to "0" as described above, step 4
It is judged "NO" at 42, and it is judged at step 444 whether the sequencer run flag SCRUN is "1". In this case, since the sequencer is still stopped and the sequencer run flag SCRUN is "0", it is determined to be "NO" in step 444 and the program proceeds to step 446 and thereafter. If the sequencer is in the operating state and the sequencer run flag SCRUN is already set to "1", it is determined to be "YES" in step 444, and this "reproduction start routine" is executed in step 458. finish.

【0071】ステップ446の以降の処理においては、
ステップ446にてシーケンサランフラグSCRUN をシー
ケンサの作動状態を表す”1”に設定し、ステップ44
8にてリピートフラグREPTを”0”に設定し、ステップ
450にてリピートスタートデータREPST をクロックタ
イミング値CLK に設定して、ステップ452にてレコー
ドモードフラグRCMDがインサートモードを表す”0”に
設定されているか否かを判定する。
In the processing after step 446,
At step 446, the sequencer run flag SCRUN is set to "1" indicating the operating state of the sequencer, and step 44
In step 8, the repeat flag REPT is set to "0", in step 450 the repeat start data REPST is set to the clock timing value CLK, and in step 452 the record mode flag RCMD is set to "0" indicating the insert mode. It is determined whether it has been done.

【0072】このレコードモードフラグRCMDが”0”に
設定されていれば、ステップ452にて「YES」と判
定し、ステップ454,456にてインサートクロック
タイミングINSCLKを「0」に初期設定するとともにイン
サートスタートデータINSSTをクロックタイミング値CLK
に設定して、ステップ458にてこの「再生開始ルー
チン」の実行を終了する。なお、インサートクロックタ
イミングINSCLKはインサートモードに入ってからの経過
時間を表すもので、インサートスタートデータINSST は
インサートモードに入ったタイミングを表すものであ
る。また、レコードモードRCMDがインサートモード以外
の他のモードを表す”0”以外の値に設定されていると
きには、ステップ452にて「NO」と判定してステッ
プ458にてこの「再生開始ルーチン」の実行を終了す
る。
If this record mode flag RCMD is set to "0", it is determined to be "YES" in step 452, and the insert clock timing INSCLK is initialized to "0" in steps 454 and 456 and the insert is performed. Start data INSST is used as clock timing value CLK
Is set, and the execution of this "reproduction start routine" is ended in step 458. It should be noted that the insert clock timing INSCLK represents the elapsed time after entering the insert mode, and the insert start data INSST represents the timing when entering the insert mode. Further, when the record mode RCMD is set to a value other than "0" indicating a mode other than the insert mode, it is determined to be "NO" in step 452 and this "reproduction start routine" of step 458 is executed. Finish execution.

【0073】このような状態で、テンポ発振器53から
のテンポクロック信号がCPU50に供給されると、C
PU50は図25の「割り込みプログラム」を実行す
る。このプログラムにおいては、自動伴奏ランフラグAA
RUN が”1”に設定されていれば、上述したステップ7
04の処理により、鍵盤10の下鍵域の鍵演奏および自
動伴奏パターンメモリ60から読み出したオリジナル伴
奏データにしたがった自動伴奏音の発音が制御される。
また、この場合、シーケンサランフラグSCRUN は”1”
に設定されているので、ステップ706にて「YES」
と判定し、ステップ708にてシーケンサモードフラグ
SCMDが”1”であるか、またはレコードモードフラグRC
MDが”2”であるか否かを判定する。この場合、シーケ
ンサモードフラグSCMDはレコードモードを表す”0”に
設定されているので、レコードモードフラグRCMDがオー
バダビングを表す”2”に設定されていれば、ステップ
708における「YES」との判定の基に、ステップ7
14にてソングデータをメロディ音として再生する「再
生処理ルーチン」を実行する。
When the tempo clock signal from the tempo oscillator 53 is supplied to the CPU 50 in such a state, C
The PU 50 executes the "interruption program" of FIG. In this program, automatic accompaniment run flag AA
If RUN is set to "1", then step 7 above
By the processing of 04, the key performance in the lower key range of the keyboard 10 and the generation of the automatic accompaniment sound according to the original accompaniment data read from the automatic accompaniment pattern memory 60 are controlled.
In this case, the sequencer run flag SCRUN is "1".
Since it is set to "YES" in step 706.
And the sequencer mode flag is determined in step 708.
SCMD is "1" or record mode flag RC
It is determined whether MD is "2". In this case, since the sequencer mode flag SCMD is set to "0" indicating the record mode, if the record mode flag RCMD is set to "2" indicating overdubbing, it is determined to be "YES" in step 708. Step 7
At 14, a "reproduction processing routine" for reproducing the song data as a melody sound is executed.

【0074】また、レコードモードフラグRCMDがインサ
ートモードを表す”0”に設定されていれば、ステップ
708にて「NO」と判定するが、ステップ710にて
「YES」と判定して、ステップ712にてインサート
クロックタイミングINSCLKに「1」を加算して同タイミ
ングINSCLKを歩進させる。これにより、インサートクロ
ックタイミングINSCLKはインサートモードの開始からの
経過時間を表すことになる。さらに、レコードモードフ
ラグRCMDがリライトモードを表す”1”に設定されてい
れば、ステップ708,710にて共に「NO」と判定
して、プログラムをステップ716に進める。このよう
に、オーバダビングモードの場合にはソングデータはメ
ロディ音として再生されるが、インサートモードおよび
リライトモードの場合にはソングデータはメロディ音と
して再生されない。なお、この場合も、ステップ71
6,718の処理により、上述した場合と同様に、クロ
ックタイミングCLK はテンポクロック信号の到来毎に
「1」ずつ増加する。
If the record mode flag RCMD is set to "0" indicating the insert mode, "NO" is determined in step 708, but "YES" is determined in step 710, and step 712 is performed. Then, "1" is added to the insert clock timing INSCLK to advance the same timing INSCLK. As a result, the insert clock timing INSCLK represents the elapsed time from the start of the insert mode. Further, if the record mode flag RCMD is set to "1" indicating the rewrite mode, it is determined to be "NO" in steps 708 and 710, and the program proceeds to step 716. In this way, in the overdubbing mode, the song data is reproduced as a melody sound, but in the insert mode and the rewrite mode, the song data is not reproduced as a melody sound. Even in this case, step 71
By the processing of Nos. 6 and 718, the clock timing CLK is incremented by "1" each time the tempo clock signal arrives, as in the case described above.

【0075】次に、前記ステップ714の「再生ルーチ
ン」の処理について詳しく説明しておく。CPU50は
図26のステップ730にて「再生ルーチン」の実行を
開始し、同ルーチンにおいては、ステップ732にてク
ロックタイミングCLK を「16」で除した余りが「0」
であるか否か、すなわち同タイミングCLK が小節線位置
を示している否かを判定するとともに、ステップ73
4,740にてリピートフラグREPTが”1”である
か、”2”であるか否かを判定する。この場合、リピー
トフラグREPTは”0”であるので、クロックタイミング
CLK が小節線位置を示しているか否かとは無関係に、プ
ログラムを図27のステップ752へ進める。
Next, the processing of the "reproduction routine" of step 714 will be described in detail. The CPU 50 starts executing the "reproduction routine" in step 730 of FIG. 26, and in this routine, the remainder obtained by dividing the clock timing CLK by "16" in step 732 is "0".
Is determined, that is, whether or not the same timing CLK indicates the bar line position, and step 73
At 4,740, it is determined whether the repeat flag REPT is "1" or "2". In this case, since the repeat flag REPT is "0", the clock timing
The program proceeds to step 752 of FIG. 27 regardless of whether CLK indicates the bar line position.

【0076】この場合、ソングカスタムフラグSNGCUSは
ソングデータの処理モードを表す”0”に設定されてい
るので、ステップ752にて「YES」と判定して、ス
テップ754にてソング番号データSONGにより指定され
るソングデータメモリ70Aの記憶エリア70A−1〜
70A−8からソング用ポインタによって指示されるソ
ングデータを読み出し、ステップ758にて同データが
エンドコードまたはセクションコードを含むものである
か否かを判定する。前記読み出したソングデータにエン
ドコードまたはセクションコードが含まれていなけれ
ば、ステップ760にて読み出したソングデータ中のタ
イミングデータとクロックタイミングCLKとを比較す
る。この比較において、タイミングデータとクロックタ
イミングCLKとが不一致であれば、ステップ760にて
「NO」と判定して、ステップ776にてこの「割り込
みルーチン」の実行を終了する。また、タイミングデー
タとクロックタイミングCLK とが一致していれば、ステ
ップ760にて「YES」と判定してプログラムをステ
ップ762の判定処理に進める。
In this case, since the song custom flag SNGCUS is set to "0" indicating the processing mode of the song data, it is judged "YES" at step 752 and designated by the song number data SONG at step 754. Storage area 70A-1 of song data memory 70A
The song data pointed to by the song pointer is read from 70A-8, and it is determined at step 758 whether the data includes an end code or a section code. If the read song data does not include an end code or a section code, the timing data in the read song data is compared with the clock timing CLK in step 760. In this comparison, if the timing data and the clock timing CLK do not match, it is determined to be "NO" in step 760 and the execution of this "interruption routine" is finished in step 776. If the timing data and the clock timing CLK match, it is determined to be “YES” in step 760 and the program proceeds to the determination process of step 762.

【0077】この場合も、前述のようにソングカスタム
フラグSNGCSTは”0”に設定されているので、ステップ
762にて「NO」と判定し、ステップ766にて前記
読み出したソングデータ中のキーコードとキーオン信号
とを楽音信号形成回路40へ出力し、ステップ768に
てソング用ポインタを次のソングデータに進めて、プロ
グラムをステップ752に戻す。そして、この進められ
たソング用ポインタを用いて新たなソングデータを前記
と同じ記憶エリアから読み出し、同データ中のタイミン
グデータとクロックタイミングCLK とが一致すれば、こ
のソングデータ中のキーコードおよびキーオン信号も楽
音信号形成回路40へ出力する。そして、前記ステップ
760の比較判定処理により不一致が検出されるまで、
ステップ752,754,758〜768からなる循環
処理を繰り返し実行する。
Also in this case, since the song custom flag SNGCST is set to "0" as described above, it is determined to be "NO" in step 762, and the key code in the read song data is determined in step 766. And the key-on signal are output to the tone signal forming circuit 40, the song pointer is advanced to the next song data in step 768, and the program is returned to step 752. Then, using this advanced song pointer, new song data is read from the same storage area as above, and if the timing data in the same data and the clock timing CLK match, the key code and key-on in this song data are read. The signal is also output to the tone signal forming circuit 40. Then, until a mismatch is detected by the comparison / determination process of step 760,
The circulation process including steps 752, 754, 758 to 768 is repeatedly executed.

【0078】このようにして楽音信号形成回路40に1
組または複数組のキーコードおよびキーオン信号が供給
されると、楽音信号形成回路40は前記キーコードに対
応したメロディ音信号を形成してサウンドシステム41
に出力し、同システム41はこのメロディ音信号に対応
したメロディ音を発音する。その結果、ソングデータメ
モリ70Aに記憶されているソングデータに応じたメロ
ディ音が時間経過にしたがって順次発音される。
In this way, the tone signal forming circuit 40 is set to 1
When a set or a plurality of sets of key codes and key-on signals are supplied, the tone signal forming circuit 40 forms a melody tone signal corresponding to the key code to generate a sound system 41.
The system 41 produces a melody sound corresponding to this melody sound signal. As a result, the melody sounds corresponding to the song data stored in the song data memory 70A are sequentially sounded over time.

【0079】一方、鍵盤10にて上鍵域に属する鍵が演
奏操作されると、CPU50は、上述のように、図23
の「キーイベントルーチン」を実行し、ステップ602
〜606の処理を経て、プログラムをステップ610に
必ず進める。そして、ステップ610の処理により、上
述のように鍵演奏に応じたメロディ音の発音および消音
が制御される。また、この場合、シーケンサランフラグ
SCRUN は”1”に設定され、かつシーケンサモードフラ
グSCMDは”0”に設定されているので、ステップ612
における「YES」との判定の基に、ステップ614に
て「録音ルーチン」の処理を実行する。
On the other hand, when a key belonging to the upper key range is played on the keyboard 10, the CPU 50 causes the CPU 50 of FIG.
"Key event routine" of step 602 is executed.
After passing through the processes of ˜606, the program is surely advanced to step 610. Then, by the processing of step 610, the generation and mute of the melody sound according to the key performance is controlled as described above. Also, in this case, the sequencer run flag
Since SCRUN is set to "1" and the sequencer mode flag SCMD is set to "0", step 612
Based on the determination of “YES” in step 614, the processing of the “recording routine” is executed in step 614.

【0080】この「録音ルーチン」の詳細は図24に示
されており、ステップ620にて開始され、レコードモ
ードRCMDがインサートモードまたはリライトモードを示
す”0”または”1”に設定されていれば、ステップ6
22にて「NO」と判定し、ステップ634にてワーキ
ングメモリ52内に設けたバッファに音符コード、前記
操作された鍵を表すキーコードおよびクロックタイミン
グCLK をソングデータとして記憶して、ステップ636
にてこの「録音ルーチン」の処理を終了する。なお、こ
のソングデータの記憶においては、同データがバッファ
メモリ内へ時間経過にしたがって順次累積記憶されてい
く。
The details of this "recording routine" are shown in FIG. 24. If the record mode RCMD is set to "0" or "1" indicating the insert mode or the rewrite mode, starting at step 620. , Step 6
It is determined to be "NO" in step 22, and in step 634, the buffer provided in the working memory 52 stores the note code, the key code representing the operated key, and the clock timing CLK as song data, and step 636.
Then, the processing of this "recording routine" is completed. In the storage of this song data, the same data is sequentially accumulated and stored in the buffer memory as time passes.

【0081】一方、レコードモードフラグRCMDがオーバ
ダビングを表す”2”に設定されていれば、ステップ6
22にて「YES」と判定し、ステップ624にて”
0”に設定されているソングカスタムフラグSNGCSTに基
づいて「YES」と判定して、ステップ626,628
にて前記のようなソングデータをソング番号データSONG
により指定されるソングデータメモリ70Aの記憶エリ
ア70A−1〜70A−8に追加して書き込み、ステッ
プ636にてこの「録音ルーチン」の処理を終了する。
この場合、ステップ626においては、前記指定された
記憶エリア70A−1〜70A−8内のソングデータで
あって、クロックタイミング値CLK より大きな値を示す
タイミングデータを含むソングデータが1ソングデータ
分ずつ後方へ順次シフトされる。ステップ628におい
ては、前記シフトにより空いた記憶位置に、音符コー
ド、操作された鍵を表すキーコードおよびクロックタイ
ミングCLK が新たなソングデータとして記憶される。
On the other hand, if the record mode flag RCMD is set to "2" indicating overdubbing, step 6
It is determined to be "YES" at 22 and "at step 624"
It is determined to be "YES" based on the song custom flag SNGCST set to "0", and steps 626 and 628 are executed.
At the song number data SONG
Is additionally written in the storage areas 70A-1 to 70A-8 of the song data memory 70A designated by the step 636, and the processing of the "recording routine" is completed in step 636.
In this case, in step 626, the song data in the designated storage areas 70A-1 to 70A-8, which includes the timing data indicating a value larger than the clock timing value CLK, is divided into song data one by one. It is shifted to the rear one by one. In step 628, the note code, the key code representing the operated key, and the clock timing CLK are stored as new song data in the storage space vacated by the shift.

【0082】このようなソングデータの再生および上鍵
域の演奏中、シーケンサ停止操作子28fが操作される
と、CPU50は図6,7の「メインプログラム」の循
環処理中、ステップ152にて「YES」と判定して、
ステップ154にて「再生終了ルーチン」を実行する。
「再生終了ルーチン」の詳細は図19に示されており、
CPU50はステップ460にて同ルーチンの実行を開
始し、ステップ462〜492からなる処理を実行す
る。
When the sequencer stop operator 28f is operated during the reproduction of the song data and the performance of the upper key range, the CPU 50 causes the "main program" of FIG. Yes, "
In step 154, the "reproduction end routine" is executed.
The details of the "playback end routine" are shown in FIG.
The CPU 50 starts the execution of the same routine in step 460 and executes the processing of steps 462 to 492.

【0083】この場合、シーケンサランフラグSCRUN
は”1”であるので、ステップ462にて「YES」と
判定し、ステップ464にてシーケンサランフラグつSC
RUN を”0”に設定する。次に、ステップ466にて”
0”に設定されているシーケンサモードフラグSCMDに基
づいて「YES」と判定し、ステップ468,488に
てレコードモードフラグRCMDが”0”または”1”であ
るか否かを判定する。
In this case, the sequencer run flag SCRUN
Is "1", it is determined to be "YES" in step 462, and the sequencer run flag is set to SC in step 464.
Set RUN to "0". Then, in step 466 "
It is determined to be "YES" based on the sequencer mode flag SCMD set to "0", and it is determined in steps 468 and 488 whether the record mode flag RCMD is "0" or "1".

【0084】レコードモードフラグRCMDがインサートモ
ードを表す”0”に設定されていれば、ステップ468
にて「YES」と判定し、ステップ470にて”1”に
設定されているソングカスタムフラグSNGCSTに基づいて
「YES」と判定し、ステップ472〜478の処理に
より、バッファ内に前記書き込んだソングデータを、ソ
ングデータSONGによって指定されたソングデータメモリ
70Aの記憶エリア70A−1〜70A−8であってイ
ンサートスタートデータINSST (図18のステップ45
6にて設定)により指定された記憶位置に挿入する。
If the record mode flag RCMD is set to "0" indicating the insert mode, step 468
In step 470, it is determined to be "YES", and in step 470 it is determined to be "YES" based on the song custom flag SNGCST, and in steps 472 to 478, the song written in the buffer is written. Data is stored in the storage areas 70A-1 to 70A-8 of the song data memory 70A designated by the song data SONG, and the insert start data INSST (step 45 in FIG. 18).
Insert it at the storage location specified by (6).

【0085】ステップ472においては、前記指定され
た記憶エリア内のソングデータであって、前記指定され
た記憶位置以降のソングデータを、バッファ内に記憶さ
れているソングデータ分だけ後方へシフトする。ステッ
プ474においては、前記シフトしたソングデータ中の
タイミングデータにインサートクロックタイミングINSC
LKを加算して同位置へ再記憶する。このインサートクロ
ックタイミングINSCLKは、インサートモード中、「割り
込みプログラム」の実行毎に、図25のステップ712
の処理によって順次歩進されるものであるので、前記再
記憶されたソングデータはインサートモード時間分だけ
後方にずらされたことになる。ステップ476において
は前記バッファ中のソングデータが前記指定された記憶
エリア内の前記シフトによる空き領域にコピーされ、ス
テップ478においては同バッファ内のソングデータが
クリアされる。その結果、鍵盤10の上鍵域にて演奏さ
れた鍵演奏データがソングデータメモリ70Aの指定記
憶エリア70A−1〜70A−8内の指定位置に挿入さ
れることになる。
In step 472, the song data in the designated storage area and after the designated storage position is shifted backward by the amount of the song data stored in the buffer. In step 474, the insert clock timing INSC is added to the timing data in the shifted song data.
Add LK and store again in the same position. This insert clock timing INSCLK is set in step 712 of FIG. 25 every time the “interrupt program” is executed during the insert mode.
Since the steps are sequentially performed by the processing of step 1, the re-stored song data is shifted backward by the insert mode time. In step 476, the song data in the buffer is copied to an empty area by the shift in the designated storage area, and in step 478, the song data in the buffer is cleared. As a result, the key performance data played in the upper key range of the keyboard 10 is inserted into the designated positions in the designated storage areas 70A-1 to 70A-8 of the song data memory 70A.

【0086】また、レコードモードフラグRCMDがリライ
トモードを表す”1”に設定されていれば、ステップ4
68,488にてそれぞれ「NO」、「YES」と判定
し、ステップ490にて「リライトルーチン」の処理を
実行する。この「リライトルーチン」の実行は、図20
に詳細に示されているように、ステップ500にて開始
され、ステップ502にて”1”に設定されているソン
グカスタムフラグSNGCSTに基づいて「YES」と判定
し、ステップ504〜506の処理により、バッファ内
に前記書き込んだソングデータを、ソングデータSONGに
よって指定されたソングデータメモリ70Aの記憶エリ
ア70A−1〜70A−8であって鍵演奏タイミングに
一致したソングデータを記憶した記憶位置に上書きす
る。
If the record mode flag RCMD is set to "1" indicating the rewrite mode, step 4
68 and 488 determine “NO” and “YES”, respectively, and execute the process of “rewrite routine” in step 490. The execution of this "rewrite routine" is shown in FIG.
As will be described in detail in FIG. 5, the determination is “YES” based on the song custom flag SNGCST which is started in step 500 and set to “1” in step 502. , The written song data in the buffer is overwritten in the storage areas 70A-1 to 70A-8 of the song data memory 70A designated by the song data SONG, which store the song data that coincides with the key performance timing. To do.

【0087】ステップ504においては、前記指定され
た記憶エリア内のソングデータであって、バッファ内に
記憶されている最初のソングデータ中のタイミングデー
タと最後のソングデータ中のタイミングデータとにより
示される時間帯のタイミングデータを含むソングデータ
を削除する。ステップ506においては、この削除部分
の後方のソングデータを前後にシフトして同削除部分の
記憶領域をバッファ内に記憶されているソングデータ量
に合わせる。ステップ508においては前記バッファ中
のソングデータが前記指定された記憶エリア内の前記シ
フトによる空き領域にコピーされ、ステップ510にお
いては同バッファ内のソングデータがクリアされる。そ
の結果、鍵盤10の下鍵域にて演奏された鍵演奏データ
が、ソングデータメモリ70Aの指定記憶エリア70A
−1〜70A−8内であって演奏タイミングにより指定
される記憶位置に上書きされることになる。
In step 504, the song data in the designated storage area is indicated by the timing data in the first song data and the timing data in the last song data stored in the buffer. Delete song data including time zone timing data. In step 506, the song data behind the deleted portion is shifted back and forth to match the storage area of the deleted portion with the amount of song data stored in the buffer. In step 508, the song data in the buffer is copied to an empty area by the shift in the designated storage area, and in step 510, the song data in the buffer is cleared. As a result, the key performance data played in the lower key range of the keyboard 10 is stored in the designated storage area 70A of the song data memory 70A.
It is overwritten in the storage position within -1 to 70A-8 and designated by the performance timing.

【0088】さらに、レコードモードフラグRCMDがオー
バダビングを表す”2”に設定されていれば、前記ステ
ップ468,488(図19)にて共に「NO」と判定
し、ステップ492にてこの「再生終了ルーチン」の処
理を終了する。なお、この場合には、図24のステップ
626,628の処理により、鍵演奏中に、鍵演奏デー
タがソングデータとしてソングデータメモリ70Aの指
定記憶エリア70A−1〜70A−8に書き加えられて
いたので、このシーケンサの停止時には、既に前記指定
記憶エリアに以前に記憶されていたソングデータに鍵演
奏による新たなソングデータが重ねられたデータになっ
ている。
Furthermore, if the record mode flag RCMD is set to "2" indicating overdubbing, it is determined "NO" in both steps 468 and 488 (FIG. 19), and this "reproduction" is executed in step 492. The processing of the "end routine" is ended. In this case, by the processing of steps 626 and 628 of FIG. 24, the key performance data is added as song data to the designated storage areas 70A-1 to 70A-8 of the song data memory 70A during the key performance. Therefore, when the sequencer is stopped, the song data previously stored in the designated storage area is overlaid with new song data by key performance.

【0089】一方、上述のように、シーケンサ停止操作
子28fが操作されなくても、ソングデータメモリ70
Aの記憶エリア70A−1〜70A−8からエンドコー
ドが読み出された場合にも、シーケンサの動作は停止す
る。すなわち、前記エンドコードの読み出しにより、図
27のステップ758にて「YES」と判定し、ステッ
プ770にて”0”に設定されているシーケンサモード
フラグSCMDに基づいて「YES」と判定し、ステップ7
72にて前述した「再生終了ルーチン」を実行する。こ
れにより、この場合、各レコードモードに応じてソング
データメモリ70Aの記憶エリア70A−1〜70A−
8に鍵演奏データがソングデータとして書き込まれて、
シーケンサの動作が停止する。
On the other hand, as described above, even if the sequencer stop operator 28f is not operated, the song data memory 70
Even when the end code is read from the A storage areas 70A-1 to 70A-8, the operation of the sequencer is stopped. That is, by reading the end code, it is determined to be “YES” in step 758 of FIG. 27, and it is determined to be “YES” in step 770 based on the sequencer mode flag SCMD set to “0”, and the step is determined. 7
At 72, the above-mentioned "reproduction end routine" is executed. As a result, in this case, the storage areas 70A-1 to 70A- of the song data memory 70A according to each record mode.
Key performance data is written as song data in 8,
Sequencer operation stops.

【0090】以上のようなソングデータメモリ70Aに
記憶されているソングデータのエディットにおいては同
データは一回通りしか再生されなかったが、次に、所望
の区間に属するソングデータを繰り返し再生しながら同
データをエディットするリピートエディット処理につい
て説明する。
In editing the song data stored in the song data memory 70A as described above, the same data was reproduced only once, but next, while repeatedly reproducing the song data belonging to the desired section. A repeat edit process for editing the same data will be described.

【0091】この場合も、演奏者はソング操作子25
a、アップ操作子23aおよびダウン操作子23bの操
作によりソングデータメモリ70A内の一つの記憶エリ
ア70A−1〜70A−8を指定するとともに、ジャン
プ操作子28a〜28dおよびリセット操作子28hに
より前記指定された記憶エリア内のソングデータの再生
開始位置(リピートスタートデータ値REPST により表さ
れる)を指定した後、シーケンサ開始操作子28fの操
作によりソングデータの再生を前記指定位置から開始さ
せる。そして、前記ソングデータの再生中、演奏者は、
繰り返し再生の最終小節を決定するために、同小節の再
生中の任意のタイミングでリピート操作子28gを操作
する。
In this case as well, the performer does not use the song operator 25.
a, one of the storage areas 70A-1 to 70A-8 in the song data memory 70A is designated by the operation of the up operator 23a and the down operator 23b, and the designation is made by the jump operators 28a to 28d and the reset operator 28h. After the reproduction start position (represented by the repeat start data value REPST) of the song data in the designated storage area is designated, the sequencer start operator 28f is operated to start the reproduction of the song data from the designated position. Then, during the reproduction of the song data, the performer
In order to determine the last bar of the repeated reproduction, the repeat operator 28g is operated at an arbitrary timing during the reproduction of the same bar.

【0092】このリピート操作子28gの操作により、
CPU50は、図6,7の「メインプログラム」の循環
処理中、ステップ160にて「YES」と判定し、ステ
ップ162の「リピートルーチン」を実行する。「リピ
ートルーチン」の詳細は図22に示されているように、
同ルーチンの実行はステップ580にて開始され、ステ
ップ582にて”1”に設定されているシーケンサラン
フラグSCRUN に基づいて「YES」と判定して、プログ
ラムをステップ584の判定処理に進める。この判定処
理においては、シーケンサモードフラグSCMDがレコード
モードを表す”0”に設定され、かつレコードモードフ
ラグRCMDがインサートモードを表す”0”に設定されて
いれば、「YES」との判定の基に、プログラムをステ
ップ592へ進めて同ステップ592にて「リピートル
ーチン」の実行を終了する。これにより、この場合に
は、所望区間のソングデータの繰り返し再生は行われな
い。
By the operation of the repeat operator 28g,
The CPU 50 determines “YES” in step 160 during the circulation processing of the “main program” in FIGS. 6 and 7, and executes the “repeat routine” in step 162. Details of the "repeat routine" are as shown in FIG.
The execution of the routine is started in step 580, and it is determined to be "YES" based on the sequencer run flag SCRUN set to "1" in step 582, and the program is advanced to the determination processing in step 584. In this determination process, if the sequencer mode flag SCMD is set to "0" indicating the record mode and the record mode flag RCMD is set to "0" indicating the insert mode, the determination base is "YES". Then, the program proceeds to step 592 where the execution of the "repeat routine" is completed. As a result, in this case, the song data in the desired section is not repeatedly reproduced.

【0093】一方、シーケンサモードフラグSCMDがレコ
ードモードを表す”0”に設定されていても、レコード
モードフラグRCMDがリライトモードまたはオーバダビン
グモードを表す”1”または”2”に設定されていれ
ば、ステップ584にて「NO」と判定し、ステップ5
86,588の処理により、以前”0”に設定されてい
たリピートフラグREPTが”1”に変更される。
On the other hand, even if the sequencer mode flag SCMD is set to "0" indicating the record mode, if the record mode flag RCMD is set to "1" or "2" indicating the rewrite mode or the overdubbing mode. , NO in step 584, and step 5
By the processing of 86 and 588, the repeat flag REPT which was previously set to "0" is changed to "1".

【0094】このようなリピートフラグREPTが”1”に
設定されている状態で、上述した図25の「割り込みル
ーチン」が実行されると、同ルーチン内の「再生ルーチ
ン」にて図26のステップ732〜750からなるリピ
ート処理を実行する。このリピート処理においては、ク
ロックタイミングが小節線位置を示していなければ(CL
K mod 16≠0)、ステップ732にて「NO」と判定し
てプログラムを図27のステップ752へ進める。しか
し、クロックタイミングCLK が小節線位置を示している
場合には、ステップ732にて「YES」と判定し、ス
テップ734にて「YES」すなわちリピートフラグRE
PTは”1”であると判定して、ステップ736にてリピ
ートフラグREPTを”2”に変更するとともに、ステップ
738にてリピートエンドデータREPENDをクロックタイ
ミング値CLK に設定する。
When the above-mentioned "interrupt routine" of FIG. 25 is executed in the state where the repeat flag REPT is set to "1", the step of FIG. A repeat process consisting of 732 to 750 is executed. In this repeat processing, if the clock timing does not indicate the bar line position (CL
K mod 16 ≠ 0), it is determined to be “NO” in step 732, and the program proceeds to step 752 in FIG. However, when the clock timing CLK indicates the bar line position, it is determined to be “YES” in step 732 and “YES” in step 734, that is, the repeat flag RE.
It is determined that PT is "1", the repeat flag REPT is changed to "2" in step 736, and the repeat end data REPEND is set to the clock timing value CLK in step 738.

【0095】次に、ステップ744にてクロックタイミ
ングCLK を図21の前記「再生位置ルーチン」のステッ
プ552,560の処理に設定されたリピートスタート
データREPST に設定する。そして、ステップ746に
て”0”に設定されているソングカスタムフラグSNGCST
に基づいて「YES」と判定して、ステップ748にて
ソング番号データSONGにより指定されるソングデータメ
モリ70Aの記憶エリア70A−1〜70A−8内であ
って、クロックタイミングCLK と一致するタイミングデ
ータを含むソングデータの記憶位置にソング用ポインタ
を設定する。また、この場合、クロックタイミングCLK
と一致するタイミングデータを含むソングデータがなけ
れば、クロックタイミングCLK の直後のタイミングと一
致するタイミングデータを含むソングデータの記憶位置
にソング用ポインタを設定する。これにより、ソングデ
ータの再生位置がリピートスタートデータREPST により
設定される位置に戻され、前述した図27のスタート7
52〜768の処理により、前記戻された位置からソン
グデータの再生がふたたび開始される。
Next, in step 744, the clock timing CLK is set to the repeat start data REPST set in the processing of steps 552 and 560 of the "reproduction position routine" of FIG. Then, in step 746, the song custom flag SNGCST set to "0" is set.
If YES in step 748, the timing data in the storage areas 70A-1 to 70A-8 of the song data memory 70A designated by the song number data SONG and matching the clock timing CLK are determined. The song pointer is set to the storage location of the song data including. Also, in this case, the clock timing CLK
If there is no song data including the timing data that matches with, the song pointer is set to the storage position of the song data including the timing data that matches the timing immediately after the clock timing CLK. As a result, the reproduction position of the song data is returned to the position set by the repeat start data REPST, and the start 7 of FIG.
By the processing of 52 to 768, the reproduction of the song data is started again from the returned position.

【0096】そして、クロックタイミングCLK がふたた
び小節線位置を示している値になると、前記図26のス
テップ732にて「YES」と判定してプログラムをス
テップ734へ進める。しかし、この場合には、リピー
トフラグREPTは”2”に設定されているので、ステップ
734にて「NO」と判定し、ステップ740にて「Y
ES」と判定して、ステップ742にてクロックタイミ
ングCLK が前記設定したリピートエンドデータREPENDに
等しいか否かを判定する。クロックタイミングCLK がリ
ピートエンドデータREPENDに等しくなければ、ステップ
742にて「NO」と判定して、プログラムを図27の
ステップ752へ進めるので、この場合にはソングデー
タの再生が今まで通り継続して行われる。一方、クロッ
クタイミングCLK がリピートエンドデータREPENDに等し
ければ、ステップ742にて「YES」と判定して、前
述したステップ744〜748からなるソング用ポイン
タの戻し処理を実行した後に、プログラムを図27のス
テップ752へ進めるので、この場合にはソングデータ
の再生はリピートスタート位置からふたたび行われるよ
うになる。
When the clock timing CLK again reaches the value indicating the bar line position, it is judged "YES" in step 732 of FIG. 26 and the program is advanced to step 734. However, in this case, since the repeat flag REPT is set to "2", it is determined to be "NO" at step 734 and "Y" at step 740.
ES ", and it is determined in step 742 whether the clock timing CLK is equal to the set repeat end data REPEND. If the clock timing CLK is not equal to the repeat end data REPEND, it is determined as "NO" in step 742 and the program proceeds to step 752 in FIG. Is done. On the other hand, if the clock timing CLK is equal to the repeat end data REPEND, it is determined to be "YES" at step 742, and after executing the song pointer return processing at steps 744 to 748, the program is executed as shown in FIG. Since the processing proceeds to step 752, in this case, the reproduction of the song data is performed again from the repeat start position.

【0097】このようにして、指定した区間のソングデ
ータの繰り返し再生が行われている状態で、リピート操
作子28gがふたたび操作されると、CPU50は、前
述した図22の「リピートルーチン」のステップ58
6,590の処理により、リピートフラグREPTを”0”
に変更する。リピートフラグREPTが”0”に変更される
と、図26のステップ732にて「YES」すなわちク
ロックタイミングCLK が小節線位置を示していると判定
されても、ステップ734,740にて共に「NO」と
判定して、プログラムを図27のステップ752に直接
進めるようになる。その結果、指定された区間のソング
データの繰り返し再生すなわちリピート状態が解除され
て、次のソングデータの読み出しが継続する。
When the repeat operator 28g is operated again in the state where the song data in the designated section is repeatedly reproduced in this way, the CPU 50 causes the step of the "repeat routine" shown in FIG. 58
The repeat flag REPT is set to "0" by the processing of 6,590.
Change to. When the repeat flag REPT is changed to "0", even if "YES" is determined in step 732 of FIG. 26, that is, the clock timing CLK indicates the bar line position, both are "NO" in steps 734 and 740. , And the program directly proceeds to step 752 in FIG. 27. As a result, the repeated reproduction of the song data in the designated section, that is, the repeat state is canceled, and the reading of the next song data continues.

【0098】一方、前述のリピート状態にて、鍵盤10
の上鍵域の鍵が操作された場合には、図23の「キーイ
ベントルーチン」内の図24の「録音ルーチン」の処
理、および図19の「再生終了ルーチン」の処理によ
り、鍵演奏情報がソングデータメモリ70Aの指定され
た記憶エリア70A−1〜70A−8に記憶される。た
だし、前述のように、ソングデータのリピートはレコー
ドモードがインサートモードの場合には行われないの
で、このソングデータをリピート再生しながらの同デー
タのエディットはリライトモードおよびオーバダビング
モードでしか行われない。その結果、ソングデータをリ
ライトモードまたはオーバダビングモードでエディット
する場合には、指定されたソングデータメモリ70Aの
記憶エリア70A−1〜70に記憶されているソングデ
ータのうちで所望の区間のソングデータを繰り返し再生
しながら、同データをリライトおよびオーバダビングに
よりエディットできるので、ソングデータのエディット
作業が楽になる。
On the other hand, in the repeat state described above, the keyboard 10
When a key in the upper key range is operated, the key performance information is processed by the processing of the "recording routine" of FIG. 24 in the "key event routine" of FIG. 23 and the processing of the "playback end routine" of FIG. Are stored in designated storage areas 70A-1 to 70A-8 of the song data memory 70A. However, as mentioned earlier, song data is not repeated when the record mode is insert mode, so editing of this song data while it is repeatedly played back can only be done in rewrite mode and overdubbing mode. Absent. As a result, when the song data is edited in the rewrite mode or the overdubbing mode, the song data in the desired section among the song data stored in the storage areas 70A-1 to 70A of the designated song data memory 70A. While repeatedly playing back, you can edit the same data by rewriting and overdubbing, making it easier to edit song data.

【0099】さらに、前述のようにしてソングデータメ
モリ70Aに初期書き込みまたはエディットしたソング
データの再生について簡単に説明しておく。この場合
も、演奏者の操作およびそれに伴う装置の作動は前述の
エディット時におけるレコードモードの場合とほぼ同様
であるが、この場合には、レコード操作子26aの操作
に伴い図6のステップ128,130の処理によって、
シーケンサモードフラグSCMDを”1”に設定しておく。
Furthermore, the reproduction of the song data initially written or edited in the song data memory 70A as described above will be briefly described. Also in this case, the operation of the performer and the operation of the apparatus associated therewith are almost the same as in the case of the record mode at the time of editing described above, but in this case, the operation of the record operator 26a causes the step 128, By the processing of 130,
Set the sequencer mode flag SCMD to "1".

【0100】そして、この”1”に設定されたシーケン
サモードフラグSCMDにより、ソングデータの再生中にお
いては、図23の「キーイベントルーチン」のステップ
612にて「NO」と判定されるので、ステップ614
の「録音ルーチン」は実行されず、鍵演奏データはソン
グデータメモリ70Aに記憶されることはない。また、
シーケンサ停止操作子28fによるソングデータの再生
停止時にも、図19の「再生終了ルーチン」のステップ
466にて「NO」と判定されるので、ステップ468
以降のソングデータメモリ70Aへのソングデータの書
き込み処理は実行されない。さらに、この場合、指定さ
れたソングデータメモリ70Aの記憶エリア70A−1
〜70A−8に記憶されているソングデータの読み出し
終了時には、図26,27の「再生ルーチン」のステッ
プ758にてエンドコードの検出に伴い「YES」と判
定され、ステップ770にて「NO」と判定され、ステ
ップ774にてシーケンサランフラグSCRUN が”0”に
変更されて、シーケンサが作動状態から停止状態に切り
換えられる。
Since the sequencer mode flag SCMD set to "1" determines "NO" in step 612 of the "key event routine" of FIG. 23 during the reproduction of the song data, the step is executed. 614
The "recording routine" is not executed, and the key performance data is not stored in the song data memory 70A. Also,
Even when the reproduction of the song data by the sequencer stop operator 28f is stopped, it is determined as "NO" in step 466 of the "reproduction end routine" in FIG.
The subsequent writing process of the song data to the song data memory 70A is not executed. Furthermore, in this case, the storage area 70A-1 of the designated song data memory 70A
At the end of reading the song data stored in ~ 70A-8, it is determined as "YES" at step 758 of the "reproduction routine" of FIGS. Is determined, the sequencer run flag SCRUN is changed to "0" in step 774, and the sequencer is switched from the operating state to the stopped state.

【0101】e.カスタム伴奏データのエディット カスタム伴奏パターンメモリ70B内のカスタム伴奏デ
ータをエディットする場合、演奏者は、まずカスタム操
作子25b、アップ操作子23aおよびダウン操作子2
3bを操作して、エディットするカスタム伴奏データを
記憶しているカスタム伴奏パターンメモリ70B内の記
憶エリア70B−1〜70B−8を指定する。これらの
操作子25b,23a,23bの操作により、上述した
ように、ソングカスタムフラグSNGCSTは”1”に設定さ
れるとともに、カスタム番号データCUSTOMは所望の値
(1〜8)に設定される。(図11,13参照)次に、
演奏者は、前記指定された記憶エリア70B−1〜70
B−8内のエディットするセクション71〜76を指定
するために、パターン種類操作子29a〜29fを操作
する。このパターン種類操作子29a〜29fの操作に
より、CPU50は、前述のように図6,7の「メイン
プログラム」のステップ146の「伴奏パターンルーチ
ン」、すなわち図17の「伴奏パターンルーチン」を実
行する。この場合、自動伴奏ランフラグAARUN は”0”
であると同時に、ソングカスタムフラグSNGCSTも”1”
であるので、ステップ422,424にてそれぞれ「N
O」、「YES」と判定し、ステップ426にて操作さ
れたパターン種類操作子29a〜29fに対応した
「1」〜「6」の値をセクション番号データSECTとして
設定する。次に、ステップ428にて前記設定した値の
セクション番号データSECTが前記指定された記憶エリア
70B−1〜70B−8内に存在するか否かを判定す
る。前記設定値のセクション番号データSECTが存在すれ
ば、ステップ428にて「YES」と判定し、ステップ
430にて、カスタム伴奏用ポインタの値を、カスタム
番号CUSTOMにより指定される記憶エリア70B−1〜7
0B−8内であってセクション番号データSECT に対応
したイントロ、フィルイン1、フィルイン2、エンディ
ング、ノーマル、バリエーションなどのカスタム伴奏パ
ターンを記憶する先頭番地に設定し、かつクロックタイ
ミングCLK を「0」に初期設定する。なお、演奏者が前
記指定された記憶エリア70B−1〜70B−8内に存
在しない伴奏パターン種類(セクション番号)を指定し
てしまった場合には、ステップ428にて「NO」と判
定してステップ436にてこの「伴奏パターンルーチ
ン」の実行が終了するので、演奏者はセクション71〜
76の指定を再度行う必要がある。
E. Editing Custom Accompaniment Data When editing the custom accompaniment data in the custom accompaniment pattern memory 70B, the performer first sets the custom operator 25b, the up operator 23a, and the down operator 2.
3b is operated to specify the storage areas 70B-1 to 70B-8 in the custom accompaniment pattern memory 70B storing the custom accompaniment data to be edited. By operating these operators 25b, 23a, 23b, as described above, the song custom flag SNGCST is set to "1" and the custom number data CUSTOM is set to a desired value (1 to 8). (See FIGS. 11 and 13) Next,
The performer has the designated storage areas 70B-1 to 70B.
In order to specify the sections 71 to 76 to be edited in B-8, the pattern type operators 29a to 29f are operated. By operating the pattern type operators 29a to 29f, the CPU 50 executes the "accompaniment pattern routine" of step 146 of the "main program" of FIGS. 6 and 7, that is, the "accompaniment pattern routine" of FIG. 17, as described above. .. In this case, the automatic accompaniment run flag AARUN is "0".
At the same time, the song custom flag SNGCST is also "1".
Therefore, in steps 422 and 424, “N
It is determined to be "O" or "YES", and the values of "1" to "6" corresponding to the pattern type operators 29a to 29f operated in step 426 are set as the section number data SECT. Next, in step 428, it is determined whether or not the section number data SECT having the set value exists in the designated storage areas 70B-1 to 70B-8. If the section number data SECT of the set value exists, it is determined as “YES” in step 428, and in step 430, the value of the custom accompaniment pointer is set to the storage area 70B-1 to 70-1 designated by the custom number CUSTOM. 7
0B-8, set to the start address for storing the custom accompaniment pattern such as intro, fill-in 1, fill-in 2, ending, normal, and variation corresponding to the section number data SECT, and set the clock timing CLK to "0". Initialize. If the performer has designated an accompaniment pattern type (section number) that does not exist in the designated storage areas 70B-1 to 70B-8, it is determined as "NO" in step 428. At step 436, the execution of this "accompaniment pattern routine" ends, so that the performer performs the processing in sections 71-71.
It is necessary to specify 76 again.

【0102】これらのカスタム番号データCUSTOMおよび
セクション番号データSECTの指定後、演奏者はレコード
操作子26aおよびレコードモード操作子26bを操作
することにより、上述のソングデータのエディットの場
合のように、シーケンサモードフラグSCMDをレコードモ
ードを表す”0”に設定するとともに、レコードモード
フラグRCMDをインサートを表す”0”、リライトモード
を表す”1”またはオーバダビングモードを表す”2”
に設定する。なお、この場合も、リピートフラグREPTが
リピートモードを表す”1”に設定されていれば、イン
サートは禁止される。(図14参照)次に、演奏者は、
ジャンプ操作子28a〜28dまたはリセット操作子2
8hを操作することにより、カスタム伴奏パターンメモ
リ70Bの指定された記憶エリア70B−1〜70B−
8のセクション71〜76の読み出し開始位置を設定す
る。これらの操作子28a〜28d,28hの操作に伴
う図21の「再生位置ルーチン」の処理におては、クロ
ックタイミングCLK 、リピートフラグREPTおよびリピー
トスタートデータREPST は、上記ソングデータのエディ
ットの場合と全く同じように設定される。しかし、この
場合、ポインタとしてはカスタム用ポインタが採用さ
れ、同ポインタは、前記設定クロックタイミングCLK に
対応して、カスタム番号データCUSTOMにより指定される
カスタム伴奏パターンメモリ70Bの記憶エリア70B
−1〜70B−8内であってセクション番号データSECT
により指定されるセクション71〜76内の番地に設定
される。
After designating the custom number data CUSTOM and the section number data SECT, the performer operates the record operating element 26a and the record mode operating element 26b to perform the sequencer operation as in the case of editing the song data described above. The mode flag SCMD is set to "0" indicating the record mode, and the record mode flag RCMD is "0" indicating the insert, "1" indicating the rewrite mode or "2" indicating the overdubbing mode.
Set to. Also in this case, if the repeat flag REPT is set to "1" indicating the repeat mode, the insert is prohibited. (See FIG. 14) Next, the performer
Jump operators 28a to 28d or reset operator 2
By operating 8h, the designated storage areas 70B-1 to 70B- of the custom accompaniment pattern memory 70B are operated.
The reading start position of the sections 71 to 76 of No. 8 is set. In the processing of the "playback position routine" of FIG. 21 associated with the operation of these operators 28a to 28d, 28h, the clock timing CLK, the repeat flag REPT and the repeat start data REPST are the same as those in the case of editing the above song data. The settings are exactly the same. However, in this case, a custom pointer is adopted as the pointer, and the pointer has a storage area 70B of the custom accompaniment pattern memory 70B designated by the custom number data CUSTOM corresponding to the set clock timing CLK.
Section number data SECT within -1 to 70B-8
Are set to the addresses in the sections 71 to 76 designated by.

【0103】このような状態で、演奏者はシーケンサ開
始操作子28eを操作することによりカスタム伴奏パタ
ーンメモリ70B内のカスタム伴奏データの読み出しを
指示するとともに、鍵盤10の下鍵域にてカスタム伴奏
データのエディットのための伴奏音演奏を開始する。シ
ーケンサ開始操作子28eが操作されると、上述したソ
ングデータのエディットの場合と同様に、CPU50は
図18の「再生開始ルーチン」を実行する。この場合、
自動伴奏ランフラグAARUN は”0”に設定されていると
ともに、シーケンサランフラグSCRUN も最初”0”に設
定されているので、ステップ446〜456の処理が実
行されて、シーケンサランフラグSCRUN、リピートフラ
グREPT、リピートスタートデータREPST 、インサートク
ロックタイミングINSCLKおよびインサートスタートデー
タINSST は上記ソングデータのエディットの場合と同様
な値に設定される。
In such a state, the performer operates the sequencer start operator 28e to instruct the reading of the custom accompaniment data in the custom accompaniment pattern memory 70B, and at the same time, in the lower key area of the keyboard 10, the custom accompaniment data is displayed. Start playing the accompaniment sound for editing. When the sequencer start operator 28e is operated, the CPU 50 executes the "reproduction start routine" of FIG. 18, as in the case of editing the song data described above. in this case,
Since the automatic accompaniment run flag AARUN is set to "0" and the sequencer run flag SCRUN is also initially set to "0", the processes of steps 446 to 456 are executed, and the sequencer run flag SCRUN and the repeat flag REPT are executed. , Repeat start data REPST, insert clock timing INSCLK and insert start data INSST are set to the same values as in the case of editing the above song data.

【0104】このような状態で、テンポ発振器53から
のテンポクロック信号がCPU50に供給されると、C
PU50は図25の「割り込みプログラム」を実行す
る。この場合、オリジナル伴奏データとカスタム伴奏デ
ータの同時再生を避けるために、自動伴奏ランフラグAA
RUN は必ず”0”に設定されているので、ステップ70
2にて「NO」と判定されて、ステップ704の自動伴
奏処理は実行されない。また、この場合も、レコードモ
ードフラグRCMDがオーバダビングを表す”2”に設定さ
れているときのみ、CPU50はステップ714にて図
26,27に詳細に示された「再生ルーチン」を実行す
る。
In this state, when the tempo clock signal from the tempo oscillator 53 is supplied to the CPU 50, C
The PU 50 executes the "interruption program" of FIG. In this case, in order to avoid simultaneous playback of the original accompaniment data and custom accompaniment data, the automatic accompaniment run flag AA
Since RUN is always set to "0", step 70
It is determined to be "NO" in 2, and the automatic accompaniment process of step 704 is not executed. Also in this case, the CPU 50 executes the "playback routine" shown in detail in FIGS. 26 and 27 in step 714 only when the record mode flag RCMD is set to "2" indicating overdubbing.

【0105】この「再生ルーチン」の各処理も上記ソン
グデータのエディットの場合とほぼ同様であるが、この
場合、ソングカスタムフラグSNGCUSはカスタム伴奏デー
タの処理モードを表す”1”に設定されているので、ス
テップ752にて「NO」と判定し、ステップ756に
て、カスタム番号データCUSTOMにより指定されるカスタ
ム伴奏パターンメモリ70Bの記憶エリア70B−1〜
70B−8内であって、セクション番号データSECTによ
り指定されるセクション71〜76からカスタム用ポイ
ンタによって指示されるカスタム伴奏データを読み出
す。そして、ステップ762にて”1”に設定されてい
るソングカスタムフラグSNGCSTに基づいて「YES」と
判定して、ステップ762における音高変換処理を経
て、ステップ766にて前記読み出したカスタム伴奏デ
ータ中のキーコードとキーオン信号が楽音信号形成回路
40へ出力する。
The respective processes of this "playback routine" are almost the same as the case of editing the song data, but in this case, the song custom flag SNGCUS is set to "1" representing the processing mode of the custom accompaniment data. Therefore, it is determined to be "NO" in step 752, and in step 756, the storage areas 70B-1 to 70B-1 of the custom accompaniment pattern memory 70B designated by the custom number data CUSTOM are stored.
In 70B-8, the custom accompaniment data designated by the custom pointer is read from the sections 71 to 76 designated by the section number data SECT. Then, in step 762, it is determined to be “YES” based on the song custom flag SNGCST set to “1”, and after the pitch conversion processing in step 762, in the custom accompaniment data read out in step 766. The key code and the key-on signal are output to the tone signal forming circuit 40.

【0106】しかし、この場合、自動伴奏ランフラグAA
RUN は自動伴奏の停止状態を表す”0”に設定され、シ
ーケンサランフラグSCRUN はシーケンサの作動状態を表
す”1”に設定され、ソングカスタムフラグSNGCSTはカ
スタムモードを表す”1”に設定され、かつシーケンサ
モードフラグSCMDはレコードモードを表す”0”に設定
されているので、図23の「キーイベントルーチン」の
ステップ602,604にて共に「NO」と判定され
て、プログラムはステップ610へ進められる。したが
って、このモードでは、ステップ608の和音検出処理
が実行されないので、根音データROOTおよびタイプデー
タTYPEはクリアされており、前記検出和音に応じた実質
的な音高変換処理は実行されずに読み出されたキーコー
ドそのものが楽音信号形成回路40へ出力され、同回路
40は前記キーコードに対応した音高の伴奏音信号を出
力する。なお、この音高変換処理が実行されないことは
鍵盤10の下鍵域にて基準和音(Cメジャ)に関する伴
奏音演奏がなされているものに対応する。したがって、
このエディットの際には、鍵盤10の下鍵域にて基準和
音に属する伴奏音演奏をする必要がある。
However, in this case, the automatic accompaniment run flag AA
RUN is set to "0" indicating the stop state of automatic accompaniment, sequencer run flag SCRUN is set to "1" indicating the operating state of the sequencer, song custom flag SNGCST is set to "1" indicating the custom mode, Moreover, since the sequencer mode flag SCMD is set to "0" indicating the record mode, both are determined to be "NO" in steps 602 and 604 of the "key event routine" in FIG. 23, and the program proceeds to step 610. Be done. Therefore, in this mode, since the chord detection process of step 608 is not executed, the root note data ROOT and the type data TYPE are cleared, and the substantial pitch conversion process corresponding to the detected chord is not executed and read. The issued key code itself is output to the tone signal forming circuit 40, and the circuit 40 outputs an accompaniment tone signal having a pitch corresponding to the key code. The fact that the pitch conversion process is not executed corresponds to the performance of the accompaniment sound related to the reference chord (C major) in the lower key range of the keyboard 10. Therefore,
At the time of this editing, it is necessary to perform an accompaniment sound belonging to the reference chord in the lower key range of the keyboard 10.

【0107】一方、鍵盤10の下鍵域にて伴奏音演奏の
ための押鍵がなされると、前述のように、CPU50
は、図23の「キーイベントルーチン」にてプログラム
をステップ610へ進めて、ステップ610にて同演奏
伴奏音の発音を制御し、ステップ612にて”1”に設
定されているシーケンサランフラグSCRUN および”0”
に設定されているシーケンサモードフラグSCMDに基づい
て「YES」と判定してステップ614にて図24に詳
細に示された「録音ルーチン」を実行する。この「録音
ルーチン」においては、レコードモードRCMDがインサー
トモードまたはリライトモードを示す”0”または”
1”に設定されていれば、上記ソングデータのエディッ
トの場合と同様に、ステップ634にてワーキングメモ
リ52内に設けたバッファに音符コード、前記操作され
た鍵を表すキーコードおよびクロックタイミングCLK を
カスタム伴奏データとして記憶する。
On the other hand, when a key is pressed to play the accompaniment tones in the lower key range of the keyboard 10, the CPU 50 as described above.
23 advances the program to the step 610 in the “key event routine” of FIG. 23, controls the pronunciation of the accompaniment sound of the performance in the step 610, and the sequencer run flag SCRUN set to “1” in the step 612. And "0"
Based on the sequencer mode flag SCMD set to No., "YES" is determined and the "recording routine" detailed in FIG. 24 is executed in step 614. In this "recording routine", the record mode RCMD indicates "insert mode" or "rewrite mode", "0" or "
If it is set to "1", the note code, the key code representing the operated key, and the clock timing CLK are stored in the buffer provided in the working memory 52 in step 634 as in the case of editing the song data. Store as custom accompaniment data.

【0108】また、レコードモードフラグRCMDがオーバ
ダビングを表す”2”に設定されていれば、ステップ6
22にて「YES」と判定し、ステップ624にて”
1”に設定されているソングカスタムフラグSNGCSTに基
づいて「NO」と判定して、ステップ630,632に
て、前記のようなカスタム伴奏データをカスタム番号デ
ータSONGにより指定されるカスタム伴奏パターンメモリ
70Bの記憶エリア70B−1〜70B−8Wであっ
て、セクション番号データSECTにより指定されるセクシ
ョン71〜76に追加して書き込む。この場合、ステッ
プ630においては、前記指定されたセクション71〜
76のカスタム伴奏データであって、クロックタイミン
グ値CLK より大きな値を示すタイミングデータを含むカ
スタム伴奏データが1カスタム伴奏データ分ずつ後方へ
順次シフトされる。ステップ632においては、前記シ
フトにより空いた記憶位置に、音符コード、操作された
鍵を表すキーコードおよびクロックタイミングCLK が新
たなカスタム伴奏データとして記憶される。
If the record mode flag RCMD is set to "2" indicating overdubbing, step 6
It is determined to be "YES" at 22 and "at step 624"
Based on the song custom flag SNGCST set to 1 ", it is determined to be" NO ", and in steps 630 and 632, the custom accompaniment data as described above is specified by the custom number data SONG. The storage areas 70B-1 to 70B-8W are written additionally to the sections 71 to 76 designated by the section number data SECT. In this case, in step 630, the specified sections 71 to
The custom accompaniment data of 76, which includes timing data showing a value larger than the clock timing value CLK, is sequentially shifted backward by one custom accompaniment data. In step 632, the note code, the key code representing the operated key, and the clock timing CLK are stored as new custom accompaniment data in the storage position vacated by the shift.

【0109】このようなカスタム伴奏データの再生およ
び下鍵域における伴奏音演奏中、シーケンサ停止操作子
28fが操作されると、CPU50は上記ソングデータ
のエディットの場合と同様、図19の「再生終了ルーチ
ン」を実行する。この場合、ソングカスタムフラグSNGC
STは”1”に設定されているので、同ルーチンにおいて
は、レコードモードフラグRCMDがインサートモードを表
す”0”に設定されていれば、ステップ468にて「Y
ES」と判定し、ステップ470にて「NO」と判定
し、ステップ480〜486の処理を実行する。これら
のステップ480〜486の処理は上述したステップ4
72〜478の処理と対応しており、同処理により、バ
ッファ内に前記書き込んだカスタム伴奏データが、カス
タム番号データCUSTOMによって指定されたカスタム伴奏
パターンメモリ70Bの記憶エリア70B−1〜70B
−8であってセクション番号データSECTにより指定され
るセクション71〜76内のインサートスタートデータ
INSST により指定された記憶位置に挿入される。
When the sequencer stop operator 28f is operated during the reproduction of the custom accompaniment data and the performance of the accompaniment tone in the lower key range, the CPU 50 causes the "reproduction end" of FIG. Routine. In this case, the song custom flag SNGC
Since ST is set to "1", in this routine, if the record mode flag RCMD is set to "0" indicating the insert mode, "Y" is determined in step 468.
It is determined to be “ES”, it is determined to be “NO” in step 470, and the processes of steps 480 to 486 are executed. The processing of these steps 480 to 486 is the same as step 4 described above.
72 to 478. By this process, the written custom accompaniment data in the buffer is stored in the storage areas 70B-1 to 70B of the custom accompaniment pattern memory 70B specified by the custom number data CUSTOM.
Insert start data in sections 71 to 76 specified by section number data SECT that is -8
Inserted at the storage location specified by INSST.

【0110】また、レコードモードフラグRCMDがリライ
トモードを表す”1”に設定されていれば、図20の
「リライトルーチン」が実行されて、ステップ502に
おける「NO」との判定の基に、ステップ512〜51
8の処理が実行される。これらのステップ512〜51
8の処理もステップ504〜510の処理と対応してお
り、同処理により、バッファ内に前記書き込んだカスタ
ム伴奏データが、カスタム番号データCUSTOMによって指
定されたカスタム伴奏パターンメモリ70Bの記憶エリ
ア70B−1〜70B−8であってセクション番号デー
タSECTにより指定されるセクション71〜76内の鍵演
奏タイミングに一致したカスタム伴奏データを記憶した
記憶位置に上書きされる。
If the record mode flag RCMD is set to "1" indicating the rewrite mode, the "rewrite routine" of FIG. 20 is executed, and based on the judgment of "NO" in step 502, 512-51
Process 8 is executed. These steps 512-51
The process 8 also corresponds to the processes of steps 504 to 510. By this process, the custom accompaniment data written in the buffer is stored in the storage area 70B-1 of the custom accompaniment pattern memory 70B specified by the custom number data CUSTOM. .About.70B-8, and the custom accompaniment data corresponding to the key performance timing in the sections 71 to 76 designated by the section number data SECT is overwritten in the storage position.

【0111】さらに、レコードモードフラグRCMDがオー
バダビングを表す”2”に設定されている場合も、上記
ソングデータのエディットの場合と同様に、この「再生
終了ルーチン」の処理を終了時には、既に前記指定セク
ションに以前に記憶されていたカスタム伴奏データに鍵
演奏による新たなカスタム伴奏データが重ねられたデー
タになっている。
Further, even when the record mode flag RCMD is set to "2" indicating overdubbing, as in the case of editing the above song data, when the processing of this "playback end routine" is finished, The custom accompaniment data previously stored in the designated section is overlaid with new custom accompaniment data by key performance.

【0112】一方、上述のように、シーケンサ停止操作
子28fが操作されなくても、カスタム伴奏パターンメ
モリ70Bの記憶エリア70B−1〜70B−8内の各
セクション71〜76からセクションコードが読み出さ
れた場合にも、シーケンサの動作は停止する。すなわ
ち、前記セクションコードの読み出しにより、図27の
ステップ758にて「YES」と判定し、ステップ77
0にて”0”に設定されているシーケンサモードフラグ
SCMDに基づいて「YES」と判定し、ステップ772に
て前述した「再生終了ルーチン」を実行する。これによ
り、この場合、各レコードモードに応じてカスタム伴奏
パターンメモリ70Bの記憶エリア70B−1〜70B
−8に鍵演奏による伴奏データがカスタム伴奏データと
して書き込まれて、シーケンサの動作が停止する。
On the other hand, as described above, even if the sequencer stop operator 28f is not operated, the section code is read from each section 71 to 76 in the storage areas 70B-1 to 70B-8 of the custom accompaniment pattern memory 70B. If so, the operation of the sequencer also stops. That is, by reading out the section code, it is determined to be "YES" in step 758 of FIG. 27, and step 77
Sequencer mode flag set to "0" by 0
It is determined to be "YES" based on the SCMD, and the "reproduction end routine" described above is executed in step 772. As a result, in this case, the storage areas 70B-1 to 70B of the custom accompaniment pattern memory 70B according to each record mode.
The accompaniment data of the key performance is written in -8 as custom accompaniment data, and the operation of the sequencer stops.

【0113】また、カスタム伴奏データに関しても、カ
スタム伴奏パターンメモリ70b内のカスタム伴奏デー
タをリピートモードにより繰り返し再生しながら、鍵演
奏に伴奏音データを用いてエディットすることもでき
る。この動作も上記ソングデータのエディットの場合と
ほぼ同様であるが、この場合、ソングカスタムフラグSN
GCSTは”1”に設定されているので、図26のステップ
746にて「NO」と判定されて、ステップ750の処
理により、リピートのスタート位置を規定するカスタム
用ポインタは、カスタム番号CUSTOMにより指定されたカ
スタム伴奏パターンメモリ70Bの記憶エリア70B−
1〜70B−8であってセクション番号データSECTによ
り指定されるセクション71〜76内のクロックタイミ
ングCLK に対応した記憶位置またはその直後の記憶位置
に設定される。したがって、指定されたカスタム伴奏パ
ターンメモリ70Bに記憶されているカスタム伴奏デー
タのエディット作業も楽になる。
Regarding the custom accompaniment data, the custom accompaniment data in the custom accompaniment pattern memory 70b can be repeatedly reproduced in the repeat mode while the accompaniment sound data is used for the key performance. This operation is almost the same as the case of editing the above song data, but in this case, the song custom flag SN
Since GCST is set to "1", it is determined to be "NO" in step 746 of FIG. 26, and the custom pointer that defines the repeat start position is designated by the custom number CUSTOM in step 750. Storage area 70B of customized accompaniment pattern memory 70B
1 to 70B-8, which is set to a storage position corresponding to the clock timing CLK in the sections 71 to 76 designated by the section number data SECT or a storage position immediately thereafter. Therefore, it becomes easy to edit the custom accompaniment data stored in the specified custom accompaniment pattern memory 70B.

【0114】さらに、前述のようにして初期書き込みし
またはエディットにより変更したカスタム伴奏パターン
メモリ70Bに記憶されているカスタム伴奏データの再
生についても簡単に説明しておく。この場合も、演奏者
の操作およびそれに伴う装置の作動は前述のカスタム伴
奏データのエディット時のレコードモードとほぼ同様で
あるが、この場合にも、レコード操作子26aの操作に
伴い図6のステップ128,130の処理によって、シ
ーケンサモードフラグSCMDを”1”に設定しておく。
Further, the reproduction of the custom accompaniment data stored in the custom accompaniment pattern memory 70B which has been initially written or changed by editing as described above will be briefly described. In this case as well, the operation of the performer and the operation of the apparatus associated therewith are almost the same as in the record mode at the time of editing the custom accompaniment data described above, but in this case also, the step of FIG. The sequencer mode flag SCMD is set to "1" by the processing of 128 and 130.

【0115】そして、この”1”に設定されたシーケン
サモードフラグSCMDにより、カスタム伴奏データの再生
中においては、図23の「キーイベントルーチン」のス
テップ604にて「YES」と判定されるとともに、操
作鍵が下鍵域に属する場合には、ステップ606にて
「YES」判定されて、ステップ608にて和音検出が
なされ、この和音検出による根音データROOTおよびタイ
プデータTYPEにより、前記読み出されたカスタム伴奏デ
ータ中のキーコードが音高変換される。したがって、こ
の場合も、上述したオリジナル伴奏データのように、読
み出したカスタム伴奏データと鍵盤10の下鍵域に演奏
された和音名に応じて伴奏音が発音される。もちろん、
この場合、上記ソングデータの再生の場合と同様に、カ
スタム伴奏パターンメモリ70Aへの鍵演奏データの記
憶はなされない。
With the sequencer mode flag SCMD set to "1", during the reproduction of the custom accompaniment data, "YES" is determined in step 604 of the "key event routine" of FIG. If the operation key belongs to the lower key range, a “YES” determination is made in step 606, a chord is detected in step 608, and the root note data ROOT and the type data TYPE by the chord detection are read as described above. The key code in the custom accompaniment data is pitch-converted. Therefore, in this case as well, like the above-mentioned original accompaniment data, an accompaniment sound is generated in accordance with the read custom accompaniment data and the chord name played in the lower keyboard region of the keyboard 10. of course,
In this case, the key performance data is not stored in the custom accompaniment pattern memory 70A as in the case of reproducing the song data.

【0116】さらに、指定されたカスタム伴奏パターン
メモリ70Bの記憶エリア70B−1〜70B−8内の
セクション71〜76に記憶されているカスタム伴奏デ
ータの読み出し終了時には、図26,27の「再生ルー
チン」のステップ758にてセクションコードの検出に
伴い「YES」と判定され、ステップ770にて「N
O」と判定され、ステップ774にてシーケンサランフ
ラグSCRUN が”0”に変更されて、シーケンサが作動状
態から停止状態に切り換えられる。
Furthermore, when the reading of the custom accompaniment data stored in the sections 71 to 76 in the storage areas 70B-1 to 70B-8 of the specified custom accompaniment pattern memory 70B is completed, the "playback routine of FIGS. In step 758, it is determined to be “YES” due to the detection of the section code, and in step 770, “N”
It is determined to be "O", the sequencer run flag SCRUN is changed to "0" in step 774, and the sequencer is switched from the operating state to the stopped state.

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

【図1】 本発明の一実施例に係る自動演奏装置を内蔵
した電子楽器の全体ブロック図である。
FIG. 1 is an overall block diagram of an electronic musical instrument incorporating an automatic performance device according to an embodiment of the present invention.

【図2】 図1の操作パネルの詳細平面図である。FIG. 2 is a detailed plan view of the operation panel of FIG.

【図3】 図1の自動伴奏パターンメモリのデータフォ
ーマット図である。
FIG. 3 is a data format diagram of the automatic accompaniment pattern memory of FIG.

【図4】 図1のシーケンサメモリ内のソングデータメ
モリのデータフォーマット図である。
FIG. 4 is a data format diagram of a song data memory in the sequencer memory of FIG.

【図5】 図1のシーケンサメモリ内のカスタム伴奏パ
ターンメモリのデータフォーマット図である。
5 is a data format diagram of a custom accompaniment pattern memory in the sequencer memory of FIG.

【図6】 図1のプログラムメモリ内に記憶されている
「メインプログラム」のフローチャートの前半部分であ
る。
6 is the first half of the flowchart of the "main program" stored in the program memory of FIG.

【図7】 同「メインプログラム」のフローチャートの
後半部分である。
FIG. 7 is the latter half of the flowchart of the same “main program”.

【図8】 図6の「スタイルルーチン」の詳細フローチ
ャートである。
8 is a detailed flowchart of the "style routine" of FIG.

【図9】 図6の「伴奏スタートルーチン」の詳細フロ
ーチャートである。
9 is a detailed flowchart of the "accompaniment start routine" of FIG.

【図10】 図6の「伴奏ストップルーチン」の詳細フ
ローチャートである。
FIG. 10 is a detailed flowchart of the “accompaniment stop routine” of FIG.

【図11】 図6の「増減ルーチン」の詳細フローチャ
ートである。
11 is a detailed flowchart of the "increase / decrease routine" of FIG.

【図12】 図6の「ソングルーチン」の詳細フローチ
ャートである。
FIG. 12 is a detailed flowchart of the “song routine” of FIG.

【図13】 図6の「カスタムルーチン」の詳細フロー
チャートである。
13 is a detailed flowchart of the "custom routine" of FIG.

【図14】 図6の「レコードモードルーチン」の詳細
フローチャートである。
FIG. 14 is a detailed flowchart of the “record mode routine” of FIG.

【図15】 図7の「コピールーチン」の詳細フローチ
ャートである。
15 is a detailed flowchart of the "copy routine" of FIG.

【図16】 図7の「クリアルーチン」の詳細フローチ
ャートである。
16 is a detailed flowchart of the "clear routine" of FIG.

【図17】 図7の「伴奏パターンルーチン」の詳細フ
ローチャートである。
FIG. 17 is a detailed flowchart of the “accompaniment pattern routine” of FIG. 7.

【図18】 図7の「再生開始ルーチン」の詳細フロー
チャートである。
FIG. 18 is a detailed flowchart of the “reproduction start routine” of FIG. 7.

【図19】 図7の「再生終了ルーチン」の詳細フロー
チャートである。
FIG. 19 is a detailed flowchart of the “reproduction end routine” of FIG. 7.

【図20】 図19の「リライトルーチン」の詳細フロ
ーチャートである。
20 is a detailed flowchart of the "rewrite routine" of FIG.

【図21】 図7の「再生位置ルーチン」の詳細フロー
チャートである。
FIG. 21 is a detailed flowchart of the “playback position routine” of FIG. 7.

【図22】 図7の「リピートルーチン」の詳細フロー
チャートである。
22 is a detailed flowchart of the "repeat routine" of FIG. 7. FIG.

【図23】 図7の「キーイベントルーチン」の詳細フ
ローチャートである。
23 is a detailed flowchart of the "key event routine" of FIG. 7. FIG.

【図24】 図23の「録音ルーチン」の詳細フローチ
ャートである。
FIG. 24 is a detailed flowchart of the “recording routine” of FIG. 23.

【図25】 図1のプログラムメモリ内に記憶されてい
る「割り込みプログラム」のフローチャートである。
FIG. 25 is a flowchart of an “interrupt program” stored in the program memory of FIG.

【図26】 図25の「再生ルーチン」の詳細フローチ
ャートの前半部分である。
FIG. 26 is the first half of the detailed flowchart of the “reproduction routine” in FIG. 25.

【図27】 同「再生ルーチン」の詳細フローチャート
の後半部分である。
FIG. 27 is the latter half of the detailed flowchart of the same “reproduction routine”.

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

10…鍵盤、20…操作パネル、21…ディスプレイ、
22a…スタイル操作子、22b…スタート操作子、2
2c…ストップ操作子、23a…アップ操作子、23b
…ダウン操作子、25a…ソング操作子、25b…カス
タム操作子、26a…レコード操作子、26b…レコー
ドモード操作子、27a…コピー操作子、27b…クリ
ア操作子、28a〜28d…ジャンプ操作子、28e…
シーケンサ開始操作子、28f…シーケンサ停止操作
子、28g…リピート操作子、28h…リセット操作
子、29a〜29f…パターン種類操作子、40…楽音
信号形成回路、50…CPU、51…プログラムメモ
リ、52…ワーキングメモリ、60…自動伴奏パターン
メモリ、60−1〜60−n…記憶エリア、61〜66
…セクション、70…シーケンサメモリ、70A…ソン
グデータメモリ、70A−1〜70A−8…記憶エリ
ア、70B…カスタム伴奏パターンメモリ、70B−1
〜70B−8…記憶エリア、71〜76…セクション。
10 ... Keyboard, 20 ... Operation panel, 21 ... Display,
22a ... style operator, 22b ... start operator, 2
2c ... stop operator, 23a ... up operator, 23b
... Down operator, 25a ... Song operator, 25b ... Custom operator, 26a ... Record operator, 26b ... Record mode operator, 27a ... Copy operator, 27b ... Clear operator, 28a-28d ... Jump operator, 28e ...
Sequencer start operator, 28f ... Sequencer stop operator, 28g ... Repeat operator, 28h ... Reset operator, 29a to 29f ... Pattern type operator, 40 ... Tone signal forming circuit, 50 ... CPU, 51 ... Program memory, 52 ... Working memory, 60 ... Automatic accompaniment pattern memory, 60-1 to 60-n ... Storage area, 61 to 66
Section, 70 ... Sequencer memory, 70A ... Song data memory, 70A-1 to 70A-8 ... Storage area, 70B ... Custom accompaniment pattern memory, 70B-1
-70B-8 ... storage area, 71-76 ... section.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数のリズムスタイルにそれぞれ対応した
複数組からなるとともに各組は複数の伴奏パターン種類
にそれぞれ対応した複数セクションからなり、各セクシ
ョン毎に所定の長さの伴奏パターンデータを予め記憶し
た伴奏パターンメモリと、 少なくとも前記一つの組に属する伴奏パターンデータを
記憶可能な領域を有する書き込み可能なユーザメモリ
と、 複数のリズムスタイルをそれぞれ指定するスタイル指定
手段と、 複数の伴奏パターン種類を指定するパターン種類指定手
段と、 前記伴奏パターンメモリから前記ユーザメモリへ伴奏パ
ターンデータの転送を指示する転送指示手段と、 前記転送指示手段による転送指示に応答して、前記スタ
イル指定手段により指定されたリズムスタイルに対応し
た組に属する全てのセクションの伴奏パターンデータ、
または前記スタイル指定手段により指定されたリズムス
タイルに対応した組に属しかつ前記パターン種類指定手
段により指定されたセクションに記憶されている一つ若
しくは複数の伴奏パターンデータを、前記伴奏パターン
メモリから前記ユーザメモリに選択的に転送制御する転
送制御手段と、 前記ユーザメモリに記憶されている伴奏パターンデータ
をエディットするエデット手段と、 前記伴奏パターンメモリおよび前記ユーザメモリに記憶
されている伴奏パターンデータを時間経過にしたがって
読み出す読み出し手段と、 前記読み出し手段により読み出された伴奏パターンデー
タにしたがって伴奏音信号を形成出力する楽音信号形成
手段とを備えたことを特徴とする自動演奏装置。
1. A plurality of sets corresponding to a plurality of rhythm styles, and each set includes a plurality of sections corresponding to a plurality of accompaniment pattern types, and accompaniment pattern data of a predetermined length is stored in advance for each section. An accompaniment pattern memory, a writable user memory having an area capable of storing at least accompaniment pattern data belonging to the one set, a style designating unit for designating a plurality of rhythm styles, and a plurality of accompaniment pattern types Pattern type specifying means, transfer instruction means for instructing transfer of accompaniment pattern data from the accompaniment pattern memory to the user memory, and rhythm specified by the style specifying means in response to the transfer instruction by the transfer instruction means. All sections that belong to the set that corresponds to the style Accompaniment pattern data,
Alternatively, one or a plurality of accompaniment pattern data belonging to a set corresponding to the rhythm style designated by the style designating means and stored in a section designated by the pattern type designating means is stored in the accompaniment pattern memory by the user. Transfer control means for selectively controlling transfer to the memory; edit means for editing the accompaniment pattern data stored in the user memory; and accompaniment pattern data stored in the accompaniment pattern memory and the user memory over time. An automatic performance device comprising: a reading means for reading the data in accordance with the above; and a tone signal forming means for forming and outputting an accompaniment tone signal according to the accompaniment pattern data read by the reading means.
【請求項2】複数のリズムスタイルにそれぞれ対応した
複数組からなるとともに各組は複数の伴奏パターン種類
にそれぞれ対応した複数セクションからなり、各セクシ
ョン毎に所定の長さの伴奏パターンデータを予め記憶し
た伴奏パターンメモリと、 少なくとも一つの組に属する伴奏パターンデータを記憶
可能な領域を有する書き込み可能なユーザメモリと、 複数のリズムスタイルをそれぞれ指定するスタイル指定
手段と、 複数の伴奏パターン種類を指定するパターン種類指定手
段と、 前記伴奏パターンメモリから前記ユーザメモリへ伴奏パ
ターンデータの転送を指示する転送指示手段と、 前記転送指示手段による転送指示に応答して、前記スタ
イル指定手段により指定されたリズムスタイルに対応し
た組に属しかつ前記パターン種類指定手段により指定さ
れた任意数のセクションに記憶されている一つ若しくは
複数の伴奏パターンデータを、前記伴奏パターンメモリ
から前記ユーザメモリに同時に転送制御する転送制御手
段と、 前記ユーザメモリに記憶されている伴奏パターンデータ
をエディットするエデット手段と、 前記伴奏パターンメモリおよび前記ユーザメモリに記憶
されている伴奏パターンデータを時間経過にしたがって
読み出す読み出し手段と、 前記読み出し手段により読み出された伴奏パターンデー
タにしたがって伴奏音信号を形成出力する楽音信号形成
手段とを備えたことを特徴とする自動演奏装置。
2. A plurality of sets corresponding to a plurality of rhythm styles, and each set includes a plurality of sections corresponding to a plurality of accompaniment pattern types, and accompaniment pattern data of a predetermined length is stored in advance for each section. Specified accompaniment pattern memory, a writable user memory having an area capable of storing accompaniment pattern data belonging to at least one set, style specifying means for specifying a plurality of rhythm styles, and a plurality of accompaniment pattern types Pattern type designating means, transfer instructing means for instructing transfer of accompaniment pattern data from the accompaniment pattern memory to the user memory, and rhythm style designated by the style designating means in response to the transfer instruction by the transfer instructing means And the pattern type finger that belongs to the group corresponding to Transfer control means for controlling transfer of one or a plurality of accompaniment pattern data stored in an arbitrary number of sections designated by the means from the accompaniment pattern memory to the user memory at the same time, and stored in the user memory. Editing means for editing the accompaniment pattern data; reading means for reading the accompaniment pattern data stored in the accompaniment pattern memory and the user memory over time; and accompaniment music according to the accompaniment pattern data read by the reading means. An automatic performance device comprising a tone signal forming means for forming and outputting a tone signal.
【請求項3】時間経過にしたがって楽音の発生を制御す
る一連の楽音発生制御データを記憶する書き込み可能な
演奏データメモリと、 前記演奏データメモリに記憶されている一連の楽音発生
制御データを時間経過にしたがって読み出す読み出し手
段と、 前記読み出し手段により読み出された楽音発生制御デー
タにしたがって楽音信号を形成出力する楽音信号形成手
段と、 前記演奏データメモリに記憶されている一連の楽音発生
制御データのうちで繰り返し読み出すべき楽音発生制御
データが記憶されている区間を指定する区間指定手段
と、 前記読み出し手段を制御して前記区間指定手段により指
定された区間内の楽音発生制御データを繰り返し読み出
すリピート制御手段と、 前記演奏データメモリに記憶されている一連の楽音発生
制御データをエディットするエデット手段とを備えたこ
とを特徴とする自動演奏装置。
3. A writable performance data memory for storing a series of musical sound generation control data for controlling the generation of musical sounds over time, and a series of musical sound generation control data stored in the musical performance data memory for time elapse. Of the tone generation control data stored in the performance data memory, and the reading means for reading the musical tone generation control data read out by the reading means; Section designating means for designating a section in which the musical tone generation control data to be repeatedly read out by is designated, and repeat control means for controlling the reading means to repeatedly read musical tone generation control data in the section designated by the zone designating means. And a series of musical tone generation control data stored in the performance data memory. Automatic performance apparatus characterized by comprising a Edetto means for editing the data.
JP03618092A 1992-02-24 1992-02-24 Automatic performance device Expired - Lifetime JP3318944B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03618092A JP3318944B2 (en) 1992-02-24 1992-02-24 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03618092A JP3318944B2 (en) 1992-02-24 1992-02-24 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH05232938A true JPH05232938A (en) 1993-09-10
JP3318944B2 JP3318944B2 (en) 2002-08-26

Family

ID=12462540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03618092A Expired - Lifetime JP3318944B2 (en) 1992-02-24 1992-02-24 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3318944B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5639980A (en) * 1994-12-09 1997-06-17 Yamaha Corporation Performance data editing apparatus
JP2008250053A (en) * 2007-03-30 2008-10-16 Yamaha Corp Automatic accompaniment generating device of electronic musical instrument, and computer program thereof
US7472426B2 (en) 2005-03-23 2008-12-30 Yamaha Corporation Automatic performance data editing and reproducing apparatus, control method therefor, and program for implementing the control method
JP2011112679A (en) * 2009-11-24 2011-06-09 Casio Computer Co Ltd Automatic playing device and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5639980A (en) * 1994-12-09 1997-06-17 Yamaha Corporation Performance data editing apparatus
US7472426B2 (en) 2005-03-23 2008-12-30 Yamaha Corporation Automatic performance data editing and reproducing apparatus, control method therefor, and program for implementing the control method
JP2008250053A (en) * 2007-03-30 2008-10-16 Yamaha Corp Automatic accompaniment generating device of electronic musical instrument, and computer program thereof
JP2011112679A (en) * 2009-11-24 2011-06-09 Casio Computer Co Ltd Automatic playing device and program

Also Published As

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

Similar Documents

Publication Publication Date Title
JP2576700B2 (en) Automatic accompaniment device
US5457282A (en) Automatic accompaniment apparatus having arrangement function with beat adjustment
JP2500528B2 (en) Electronic musical instrument
JP3318944B2 (en) Automatic performance device
JP2001296864A (en) Performance information editing and reproducing device
JP3261929B2 (en) Automatic accompaniment device
JP3555255B2 (en) Automatic accompaniment device
JP3123458B2 (en) Automatic accompaniment device
JP3407375B2 (en) Automatic arrangement device
JP2705421B2 (en) Automatic accompaniment device
JP2643277B2 (en) Automatic performance device
JP3324318B2 (en) Automatic performance device
JP2570783B2 (en) Automatic performance device
JP2641851B2 (en) Automatic performance device
JP2947150B2 (en) Automatic performance device
JP2890873B2 (en) Automatic performance device
JP2819966B2 (en) Automatic performance device
JPH0827627B2 (en) Automatic playing device
JP3736101B2 (en) Automatic performance device and recording medium
JP3757664B2 (en) Performance information reproducing apparatus and computer-readable recording medium recording performance information reproducing program
JP3480001B2 (en) Automatic performance data editing device
JP2576296B2 (en) Automatic accompaniment device for electronic musical instruments
JPH07101348B2 (en) Automatic playing device
JP5167878B2 (en) Electronic music apparatus and program
JPH07121179A (en) Automatic accompaniment editing device

Legal Events

Date Code Title Description
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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080621

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090621

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100621

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100621

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110621

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120621

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120621

Year of fee payment: 10