JPS62151898A - Automatic performer - Google Patents

Automatic performer

Info

Publication number
JPS62151898A
JPS62151898A JP60292325A JP29232585A JPS62151898A JP S62151898 A JPS62151898 A JP S62151898A JP 60292325 A JP60292325 A JP 60292325A JP 29232585 A JP29232585 A JP 29232585A JP S62151898 A JPS62151898 A JP S62151898A
Authority
JP
Japan
Prior art keywords
data
switch
performance data
registration
performance
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
JP60292325A
Other languages
Japanese (ja)
Other versions
JPH0375875B2 (en
Inventor
清 吉田
木野 正義
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.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP60292325A priority Critical patent/JPS62151898A/en
Publication of JPS62151898A publication Critical patent/JPS62151898A/en
Publication of JPH0375875B2 publication Critical patent/JPH0375875B2/ja
Granted legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 以下の順序でこの発明を説明する。[Detailed description of the invention] The invention will be explained in the following order.

産業上の利用分野 発明の概要 従来の技術 発明が解決しようとする問題点 発明の経緯と要点 実施例の説明 第1図の電子楽器の構成説明 、千1図の電子楽器の動作説明 1、メイン処理(第4図) 2、プログラム処理(第5図) 3、データ入力・編集処理(第6図) 4、和音・休符データ入力処理(第7図)5、記号デー
タ入力処理(第8図) 6、レジストデータ入力処理(第9図)1、カーソル移
動処理(第10図) 8、オートカーソル処理(第11図) 9、オートカーソル割込処理(第12図)発明の効果 [産業上の利用分野] この発明は、占き換え可能なメモリを有し、このメモリ
に格納された演奏データ基づいてメロディや伴奏の自動
演奏を行なう自動演奏装置に関し、特に、上記メモリ内
の演奏データを編集(エディツト)する際の操作の簡略
化を図った自動演奏装置に関する。
Industrial field of application Overview of the invention Conventional technology Problems to be solved by the invention Background and main points of the invention Description of embodiments Explanation of the structure of the electronic musical instrument in Figure 1, Explanation of the operation of the electronic musical instrument in Figure 1, 1, Main Processing (Fig. 4) 2. Program processing (Fig. 5) 3. Data input/editing processing (Fig. 6) 4. Chord/rest data input processing (Fig. 7) 5. Symbol data input processing (Fig. 8) 6. Registration data input processing (Fig. 9) 1. Cursor movement processing (Fig. 10) 8. Auto cursor processing (Fig. 11) 9. Auto cursor interrupt processing (Fig. 12) Effects of the invention [Industrial Field of Application] The present invention relates to an automatic performance device that has a memory that can be rewritten and performs automatic performance of a melody or accompaniment based on the performance data stored in the memory, and particularly relates to an automatic performance device that has a memory that can be rewritten and automatically performs a melody or accompaniment based on the performance data stored in the memory. The present invention relates to an automatic performance device that simplifies operations when editing.

[発明の概要] この発明は、自動演奏用のデータを編!!(エディツト
)可能な自動演奏装置において、エディツト時、所定の
訂正箇所に既に書き込まれているデータ(旧データ)と
この箇所に新しく書き込もうとするデータ(新データ)
との組合せに応じて、訂正箇所のデータを新データに変
更するエクスチェンジモードと、新データを旧データの
直前または直後に挿入するインサートモードとを自動的
に切り換えることにより、エディツト操作の手順を簡略
化し、かつインサートモード指示スイッチの省略を可能
にしたものである。
[Summary of the invention] This invention compiles data for automatic performance! ! (Edit) When editing an automatic performance device that is capable of editing, the data that has already been written to the specified correction location (old data) and the data that is newly written to this location (new data)
Depending on the combination with This makes it possible to omit the insert mode instruction switch.

[従来の技術] 従来の自動演奏装置として、読み書き可能なメモリを有
し、このメモリに書き込まれた演奏データに基づいてメ
ロディや伴奏(和音)の自動演奏を行なうとともに、演
奏者等がこのメモリ内の演奏データを自由に書き込んだ
り、編集(エディツト)できるようにしたものが知られ
ている(例えば特願昭60       号)。
[Prior Art] A conventional automatic performance device has a readable and writable memory, and automatically performs melodies and accompaniment (chords) based on performance data written in this memory, and allows a performer etc. to use this memory. There are known devices in which performance data can be freely written and edited (for example, Patent Application No. 1983).

第13図は、このような装置のメモリ内の演奏データフ
ォーマットの1例を示す。このメモリ内には、リズム種
類、楽器種類および各楽器の音量バランス等パネル上操
作子の設定状態を示すレジストデータが格納されるレジ
ストデータエリア40、ならびに和音名もしくは休符デ
ータと拍数データのシーケンスデータ、およびダルセー
ニョ(D。
FIG. 13 shows an example of a performance data format in the memory of such a device. This memory contains a registration data area 40 in which registration data indicating the setting status of panel controls such as rhythm type, instrument type, and volume balance of each instrument is stored, as well as chord name or rest data and beat count data. sequence data, and Dalcegno (D.

S、)、セーニョ(8)、ダ・カーボ(D、C,)およ
びコーグ(4+)等の反復記号データからなる曲進行デ
ータが格納される楽譜データエリア41が設けられてい
る。レジストデータエリア40には、曲始めレジストデ
ータCおよびレジストデータ1〜8の9種類のレジスト
データを書き込むことができる。また、楽譜データエリ
ア41内には所望に応じてレジストナンバデータを書き
込むことができる。自動演奏時には、楽譜データエリア
41内のデータが所定のタイミングで順次読み出され、
上記曲進行データに応じた伴奏が自動演奏されるととも
に、レジストナンバnが読み出されたときは、その時点
でパネル上操作子の設定状態がレジストデータエリア4
0にレジストデータnとして記憶された状態に設定変更
される。
A musical score data area 41 is provided in which music progress data consisting of repetition symbol data such as S, ), segno (8), da cabo (D, C,), and cog (4+) is stored. Nine types of registration data, including song start registration data C and registration data 1 to 8, can be written in the registration data area 40. Furthermore, registration number data can be written in the musical score data area 41 as desired. During automatic performance, the data in the score data area 41 is read out sequentially at a predetermined timing,
When the accompaniment corresponding to the music progression data is automatically played and the registration number n is read out, at that point the setting state of the on-panel controls is changed to the registration data area 4.
The setting is changed to the state stored as registration data n at 0.

ところで、このような装置においては、所望の箇所例え
ば曲進行データ箇所をカーソルで示しながらレジストナ
ンバデータをインサート(挿入)したり、レジストナン
バデータ箇所をカーソルで示しながらレジストナンバデ
ータを別のレジストナンバデータにエクスチェンジ(置
換)したりすることができる。そして、従来の装置では
、レジストナンバデータをインサートする場合、■エデ
ィツトスイッチをオンし、■インサートスイッチをオン
し、■カーソルで変更箇所を指定した後、■レジストナ
ンバ指定スイッチにより所望のレジストナンバデータを
入力するようになっていた。
By the way, in such a device, it is possible to insert registration number data while pointing at a desired location, for example, a music progression data location with a cursor, or insert registration number data into another registration number while pointing at a registration number data location with a cursor. It is possible to exchange (replace) data. In conventional devices, when inserting registration number data, ■turn on the edit switch, ■turn on the insert switch, ■specify the change location with the cursor, and then press the ■registration number designation switch to select the desired registration number. I was supposed to enter data.

また、レジストナンバデータをエクスチェンジする場合
、エディツトスイッチをオン後、インサートスイッチを
オンしていないときは、■カーソルで変更箇所を指定し
た後、■レジストナンバ指定スイッチにより所望のレジ
ストナンバデータを入力すればよいのであるが、インサ
ートスイッチをオンした侵であれば■変更箇所を指定す
る前または■変更データ入力前に■エディツト(または
エクスチェンジ)スイッチを再度オンしてエクスチェン
ジモードに切換える必要があった。
Also, when exchanging registration number data, after turning on the edit switch but not turning on the insert switch, ■ Specify the change part with the cursor, and then input the desired registration number data with the registration number designation switch. However, if the error occurred when the insert switch was turned on, it was necessary to switch to exchange mode by turning on the edit (or exchange) switch again before specifying the change location or inputting the changed data. .

また、コード(和音)データの変更(追加、挿入)にあ
っても、いちいちインサートスイッチでインサートモー
ドにした侵、カーソルで変更箇所を指定してコードデー
タをインサートしたり、エディツトスイッチでエクスチ
ェンジモードにした後、カーソルで箇所指定してコード
データをエクスチェンジする必要があった。
Also, when changing (adding or inserting) chord data, you can use the insert switch to switch to insert mode, specify the changes with the cursor and insert the chord data, or use the edit switch to switch to exchange mode. , it was necessary to specify the location with the cursor and exchange the code data.

[発明が解決しようとする問題点] つまり、従来の装置においては、エディツト時、楽譜デ
ータ中の変更箇所をカーソルで指定した侵、その変更の
種類、すなわちその変更箇所のデータを削除したいのか
、新たなデータで置換したいのか、その変更箇所に新た
なデータを挿入したいのかに従ってデリート(削除)、
インサート(挿入)またはエクスチェンジ(置換)の動
作モードをいちいち指定しなければならない煩わしさが
あった。
[Problems to be Solved by the Invention] In other words, in the conventional device, when editing, it is difficult to specify a changed part in musical score data with a cursor, and to determine the type of change, that is, whether the data at the changed part is to be deleted. Delete (delete) depending on whether you want to replace with new data or insert new data in the changed place.
It was a hassle to have to specify the insert or exchange operation mode each time.

この発明は、上述の従来形における問題点に鑑み、書き
換え可能なメモリを有しこのメモリに格納された演奏デ
ータに基づいて自動演奏を行なう装置において、上記メ
モリ内のデータをエディツトする際の操作を簡略化する
ことを目的とする。
In view of the above-mentioned problems with the conventional type, the present invention provides an apparatus that has a rewritable memory and performs automatic performance based on performance data stored in the memory, in which an operation for editing data in the memory is provided. The purpose is to simplify.

また、エデットのためのスイッチを減少させることをさ
らなる目的とする。
A further object is to reduce the number of switches for editing.

[発明の経緯および要点] この発明者等は、上記目的を達成すべく種々検討の結果
、 ■レジストナンバデータまたは反復記号データ(以下レ
ジストデータ等という)の変更は、コード等の演奏デー
タがある程度入力されている場合に意味のあるものであ
る。すなわち、レジストデータ等は、コードシーケンス
データ等の曲進行データ間あるいは曲の先頭に存在すべ
きものであるから、他のデータ例えばコードデータをそ
のままにしてこれらのデータの直前に入れるべきもので
ある。つまり、インサートモードが適しており、エクス
チェンジモードは適さない。
[Backstory and main points of the invention] As a result of various studies to achieve the above object, the inventors have found that: ■Changes in register number data or repeat symbol data (hereinafter referred to as register data, etc.) are limited to certain performance data such as chords. It is meaningful if it is entered. That is, since the registration data etc. should exist between song progress data such as chord sequence data or at the beginning of the song, other data such as chord data should be left as is and placed immediately before these data. In other words, insert mode is suitable, exchange mode is not suitable.

■一方、コードデータの変更は、エクスチェンジモード
が適しており、コードデータのインサートモードは使用
頻度が少ない。
■On the other hand, exchange mode is suitable for changing chord data, and chord data insert mode is rarely used.

という知見を得、この発明に到達した。We obtained this knowledge and arrived at this invention.

すなわち、この発明では、自動演奏装置において、メモ
リ内の演奏データ、特に楽譜データを変更するに際し、
変更箇所に書き込まれているデータ(旧データ)と、変
更するため入力された新しいデータとを比較し、これら
の新旧両データの組合せに応じて変更をエクスチェンジ
モードで行なうか、インサートモードで行なうかを自動
的に決定するようにしており、エクスチェンジおよびイ
ンサート等のモード指定を省略することを可能にしてい
る。
That is, in the present invention, when changing the performance data in the memory, especially the musical score data, in the automatic performance device,
Compare the data written in the changed area (old data) with the new data entered for the change, and decide whether to make the change in exchange mode or insert mode depending on the combination of the old and new data. is automatically determined, making it possible to omit mode specifications such as exchange and insert.

そして、この発明の1実施態様によれば、新データがレ
ジストナンバデータである場合、上記旧データがレジス
トナンバデータであれば自動的にエクスチェンジモード
となり、旧データがレジストナンバとは別のデータであ
れば自動的にインサートモードとなるようにしている。
According to one embodiment of the present invention, when the new data is registration number data, if the old data is registration number data, the exchange mode is automatically set, and if the old data is data different from the registration number. If so, it will automatically switch to insert mode.

[実施例の説明] 以下、図面を用いてこの発明の詳細な説明する。[Explanation of Examples] Hereinafter, the present invention will be explained in detail using the drawings.

(第1図の電子楽器の全体構成説明) 第1図は、この発明の一実施例に係る自動演奏装置を適
用した電子楽器の全体構成を示す。この装置は、上鍵盤
(LIKE、下鍵盤(LK)およびペダル鍵盤(PK)
等を備え、通常の電子楽器としての鍵盤演奏機能を有す
る他、後述する演奏データメモリ等に格納された演奏デ
ータに基づき伴奏(和音)を自動演奏する機能や、リズ
ム音を自動演奏するオートリズム機能等を備えている。
(Explanation of the overall configuration of the electronic musical instrument shown in FIG. 1) FIG. 1 shows the overall configuration of an electronic musical instrument to which an automatic performance device according to an embodiment of the present invention is applied. This device has an upper keyboard (LIKE), a lower keyboard (LK), and a pedal keyboard (PK).
In addition to having keyboard performance functions as a normal electronic musical instrument, it also has a function to automatically play accompaniment (chords) based on performance data stored in performance data memory, etc., which will be described later, and an autorhythm function to automatically play rhythm sounds. Equipped with functions, etc.

さらに、演奏データメモリ等に格納されたメロデイ演奏
データに基づきメロディを自動演奏する機能をも有する
Furthermore, it has a function of automatically playing a melody based on melody performance data stored in a performance data memory or the like.

第1図において、鍵スィッチ回路10は、上記鍵WUK
、LK、PKの8鍵に対応して設けられた多数のキース
イッチを備え、これらの11513における押下鍵を表
わすキーデータを発生する。
In FIG. 1, the key switch circuit 10 includes the key WUK.
, LK, and PK, and generates key data representing the pressed keys of these 11513 keys.

制御操作子回路12は、第2図に示すパネル部に配置さ
れた各スイッチおよびボリウム等の操作子を走査してこ
れらの操作子に設定されたデータを取り込む。
The control operator circuit 12 scans the operators such as switches and volume controls arranged on the panel section shown in FIG. 2, and takes in the data set to these operators.

パネル部(第2図)には、パネルデータ設定用操作子お
よびコード・シーケンス・プログラム(1J、下C8P
という)データ・指令入力用操作子等が配置されている
。パネルデータ設定用操作子としては、パネル左側に、
オートリズム用のリズム種類選択スイッチ51、リズム
スタート/ストップスイッチ52およびリズム音量設定
スイッチ53、上記8鍵!l!UK、LK、PKごとの
音色またはアンサンプル用楽器/音声選択スイッチ54
〜56および音量設定スイッチ57〜59、伴奏/リズ
ム自初演奏用テンポ設定スイッチ60.ならびにオート
ベースコード、アルベジョコード、メロディオンコード
、再生音ビブラート、トレモロおよびサスティーンの各
設定スイッチ61〜66等が配置されている。
The panel section (Figure 2) includes panel data setting operators and code sequence programs (1J, lower C8P).
) are arranged with controls for inputting data and commands, etc. The controls for setting panel data are on the left side of the panel.
Rhythm type selection switch 51 for autorhythm, rhythm start/stop switch 52, rhythm volume setting switch 53, and the above 8 keys! l! Instrument/voice selection switch 54 for tones or unsamples for each UK, LK, and PK
-56, volume setting switches 57-59, accompaniment/rhythm tempo setting switch 60. Further, setting switches 61 to 66 for auto bass chord, albeggio chord, melody on chord, reproduced sound vibrato, tremolo, sustain, etc. are arranged.

C8Pデータ・指令入力用操作子としては、パネル左側
にレジストレーションスイッチ70〜78が、また、パ
ネル左側に自動演奏曲選択スイッチ79゜80およびメ
ニュースイッチ81〜92が配置されている。
As C8P data/command input operators, registration switches 70-78 are arranged on the left side of the panel, and automatic performance music selection switches 79.degree. 80 and menu switches 81-92 are arranged on the left side of the panel.

メニュー切換スイッヂ93は、各メニュースイッチ81
〜92の用途を切換えるもので、各メニュースイッチに
はメニュー表示窓に表示される用途がv1当てられてい
る。このメニュー表示窓内の表示はメニュー切換スイッ
チ93と連動して切換ねる。第3図は、メニュー切換ス
イッチ93により切換えられるメニュー例を示す。例え
ばメニュースイッチ81は、第2図では、プログラムモ
ードスイッチに設定されているが、メニュー切換スイッ
チ93を切換えることにより、和音自動演奏(プレイ)
モードを設定および解除するためのプレイスイッチ、メ
ーカ設定のレジストデータをパネル上に設定するための
レジストレーションメニュースイッチ、各音色選択スイ
ッチ54〜56に所望の音色を割当てるためのボイスメ
ニュースイッチ、またはサスティーンスイッチ等として
機能させることができる。
The menu changeover switch 93 is connected to each menu switch 81.
-92 uses, and each menu switch is assigned a use v1 to be displayed on the menu display window. The display within this menu display window is switched in conjunction with the menu changeover switch 93. FIG. 3 shows an example of a menu that can be changed by the menu changeover switch 93. For example, the menu switch 81 is set to the program mode switch in FIG. 2, but by switching the menu changeover switch 93, automatic chord play
A play switch for setting and canceling modes, a registration menu switch for setting manufacturer-set registration data on the panel, a voice menu switch for assigning a desired tone to each tone selection switch 54 to 56, or a suspension switch. It can function as a teen switch, etc.

ざらに、各スイッチにはそのスイッチのオンに対応する
モードが設定されたことを表示するためのLEDが組込
んであるが、以下においては、これらのLEDも対応す
るスイッチと同一の番号で表わすものとする。
Roughly speaking, each switch has a built-in LED to indicate that the mode corresponding to turning on the switch is set, but in the following, these LEDs are also represented by the same number as the corresponding switch. shall be taken as a thing.

第1図の電子楽器は、その全体動作を中央処理装置(C
PtJ)14を用いて制御するように構成されており、
このCP U 14には、双方向パスライン16を介し
て、上記鍵スィッチ回路10および制御操作子回路12
の他、CP U 14の制御プログラムが格納されたプ
ログラムメモリ18、CP Ll 14が上記制御プロ
グラムを実行する際に発生する各種データを一時格納す
るための各種ワーキングエリアが設けられているワーキ
ングメモリ20、自動演奏を行なう際のパネルデータ設
定操作子の設定状態を複数種例えば9種類登録するため
のレジストレーションメモリ22、和音の゛自動演奏デ
ータが格納される演奏データメモリ24、リズム音の自
動演奏データが格納されているリズムパターンメモリ2
6、可変周波数発振器または分周率可変の分周器等から
なるテンポ発振器28、メロディ音、リズム音およびコ
ード音等を形成する楽音形成回路30等が接続されてい
る。楽音形成回路30には増幅器32およびスピーカ3
4等からなるサウンドシステムが接続されており、楽音
形成回路30で形成された楽音を音響に変換する。
The electronic musical instrument shown in Figure 1 is controlled by a central processing unit (C
PtJ) 14,
The CPU 14 is connected to the key switch circuit 10 and the control operator circuit 12 via a bidirectional path line 16.
In addition, there is a program memory 18 in which a control program for the CPU 14 is stored, and a working memory 20 provided with various working areas for temporarily storing various data generated when the CPU 14 executes the control program. , a registration memory 22 for registering a plurality of settings, for example nine types, of panel data setting operators when performing automatic performance, a performance data memory 24 in which automatic performance data for chords is stored, and automatic performance for rhythm sounds. Rhythm pattern memory 2 where data is stored
6. A tempo oscillator 28 consisting of a variable frequency oscillator or a frequency divider with a variable frequency division ratio, a musical tone forming circuit 30 for forming melody sounds, rhythm sounds, chord sounds, etc. are connected. The musical tone forming circuit 30 includes an amplifier 32 and a speaker 3.
A sound system consisting of 4 etc. is connected, and converts the musical tones formed by the musical tone forming circuit 30 into sound.

ワーキングメモリ20内のワーキングエリアとしては、
現モードがエディツトモードであることを示すためのエ
ディツトフラグEF、演奏データメモリ24の読出/書
込アドレスを指定するためのポインタPNT、リズムパ
ターンメモリ26をアドレスするためのりズムカウンタ
RNT、自動演奏中か否かを示すリズムランフラグRR
F、拍長カウンタHLT等のポインタ、フラグおよびカ
ウンタ等が用意されている。
The working area in the working memory 20 is
Edit flag EF to indicate that the current mode is edit mode, pointer PNT to specify the read/write address of performance data memory 24, rhythm counter RNT to address rhythm pattern memory 26, automatic Rhythm run flag RR indicating whether or not the performance is in progress
Pointers such as F, beat length counter HLT, flags, counters, etc. are provided.

(第1図の電子楽器の動作説明) 次に、第4〜12図のフローチャートを参照しながら第
1図の電子楽器の動作を説明する。
(Explanation of the operation of the electronic musical instrument shown in FIG. 1) Next, the operation of the electronic musical instrument shown in FIG. 1 will be explained with reference to the flowcharts shown in FIGS. 4 to 12.

1、メイン処理 第4図を参照して、この電子楽器は、動作開始〈ステッ
プ100)後、ステップ102へ106のループで、鍵
スィッチ回路10および制御操作子回路12の出力を検
査し、操作された鍵スィッチおよび操作子とそのスイッ
チまたは操作子情報を検出する。
1. Main Process Referring to FIG. 4, after the electronic musical instrument starts operating (step 100), the outputs of the key switch circuit 10 and the control operator circuit 12 are inspected in a loop of step 102 and 106, and the operation is performed. Detects the key switch and operator that have been set, and their switch or operator information.

そして、C8Pプレイスイツチ(メニュースイッチ81
)がオンされた場合は、ステップ110の和音自動演奏
処理を開始し、エデット/クリアスイッヂ92およびC
8Pプレイスイツチ81以外のスイッチ、例えばボイス
メニュースイッチまたはサスティーンスイッチ(いずれ
もメニュースイッチ81)等が操作された場合は、従来
のものと同様、その操作に応じた処理(ステップ120
)を行なう。
Then, C8P play switch (menu switch 81
) is turned on, the chord automatic performance process of step 110 is started, and the edit/clear switch 92 and C
When a switch other than the 8P play switch 81 is operated, such as the voice menu switch or the sustain switch (both menu switches 81), the process corresponding to the operation (step 120) is performed as in the conventional case.
).

この電子楽器は、上述のステップ102〜106のルー
プ処理において、エデット/クリアスイヅチ92を単独
でオンした場合、オンの度にエディツトモードのオン/
オフを切換えるトグル動作を行なう。また、エデット/
クリアスイッチ92とト音記号スイッチ82とを同時に
押下すると、演奏データメモリ24内に設けられている
2曲分の演奏データエリアの内、曲選択スイッチ79.
80により選択されたエリアのデータが全てリセットデ
ータに書き換えられ(クリアされ)るとともにこのエリ
ア内への演奏データ■き込みが可能化される。すなわち
、この場合は、新規記録(NEW  REC)モードと
なる。
In this electronic musical instrument, when the edit/clear switch 92 is turned on alone in the loop processing of steps 102 to 106 described above, the edit mode is turned on/off each time the edit/clear switch 92 is turned on.
Performs a toggle operation to switch off. Also, Edit/
When the clear switch 92 and the treble clef switch 82 are pressed at the same time, the song selection switch 79.
At step 80, all data in the selected area is rewritten (cleared) with reset data, and performance data can be written into this area. That is, in this case, a new recording (NEW REC) mode is set.

つまり、エデット/クリアスイッチ92がオンされると
、ト音記号スイッチ82が同時にオンされているか否か
に応じて、ト音記号スイッチ82がオンされていない場
合、すなわちエデット/クリアスイッチ92が単独でオ
ンされているときは、次のステップ108でエディツト
フラグEFをセットした後、また、ト音記号スイッチ8
2とエデット/クリアスイッチ92の双方が同時にオン
されているときはそのまま、次のステップ200のプロ
グラム(RECP)処理に移行する。このエディツトフ
ラグEF4.ttl述の後述のステップ205において
エディツトモードのための処理(ステップ206)およ
び新規記録モードのための処理(ステップ211)の一
方を選択するために用いられる。
That is, when the edit/clear switch 92 is turned on, depending on whether the treble clef switch 82 is turned on at the same time, if the treble clef switch 82 is not turned on, that is, the edit/clear switch 92 is turned on alone. When the edit flag EF is set in the next step 108, the treble clef switch 8 is turned on.
If both 2 and the edit/clear switch 92 are turned on at the same time, the process directly proceeds to the next step 200 of program (RECP) processing. This edit flag EF4. This is used to select either the process for the edit mode (step 206) or the process for the new recording mode (step 211) in step 205 described below.

2、プロ ラム処理 第5図を参照して、ステップ201では、スピーカ34
からの発音を停止させ、かつプログラムモード表示LE
D81を点灯し、画表示L E D 79および80を
点滅状態とした後、ステップ202および203で所定
の時間例えば30秒を限度としていずれかの曲選択スイ
ッチが押下されるまで待機する。もし、この所定時間内
に曲選択スイッチ79または80のいずれも押下されな
ければ、上記エディツト/クリアスイッチ81の押下は
誤操作と判断してステップ203からステップ230ヘ
スキツプし、ここで、プログラムモード表示LED81
および画表示LED79および80を消灯した後、この
プログラム処理を終了して、ステップ102(第4図)
へ戻る。
2. Program Processing Referring to FIG. 5, in step 201, the speaker 34
Stops the sound from and displays the program mode LE.
After turning on D81 and setting the image display LEDs 79 and 80 to a blinking state, in steps 202 and 203, the process waits for a predetermined period of time, for example, up to 30 seconds, until any of the song selection switches is pressed. If neither the song selection switch 79 nor 80 is pressed within this predetermined time, the pressing of the edit/clear switch 81 is determined to be an erroneous operation, and the process skips from step 203 to step 230, where the program mode display LED 81 is
After turning off the screen display LEDs 79 and 80, this program processing is terminated and step 102 (FIG. 4)
Return to

ステップ202においていずれかの曲選択スイッチ19
(または80)の押下が検出されたことが検出されると
、ステップ204へ進み、選択された曲の画表示L E
 D 79 (または80)を点灯し、他の画表示LE
D80(または79)は消灯する。続くステップ205
では、エディツトフラグEFを検査する。
In step 202, one of the song selection switches 19
(or 80) is detected, the process advances to step 204, and the image display of the selected song L E
D Turn on 79 (or 80) and display other images LE
D80 (or 79) turns off. Next step 205
Now, the edit flag EF is checked.

もし、フラグEFが“1″であれば、現在のモードはエ
ディツトモードであるから、ステップ206で選択され
た曲の演奏データエリアからレジストデータC,1〜8
をレジストレーションメモリ22にロードするとともに
曲始めレジストデータCをパネルにセットし、さらにス
テップ207でポインタPNTを楽譜データ41の先頭
データ(第13図のPCI )の位置にセットし、この
先頭データを読み出して表示(レジストデータ等)する
か、または発音(コードデータ)した後、ステップ22
0に移行する。一方、ステップ205においてフラグE
Fが0″と判定されたときは、現在のモードは新規記録
モードであるから、ステップ211へ進む。
If the flag EF is "1", the current mode is the edit mode, and therefore the register data C, 1 to 8 are stored in the performance data area of the song selected in step 206.
is loaded into the registration memory 22, and the song start registration data C is set on the panel.Furthermore, in step 207, the pointer PNT is set to the position of the first data (PCI in FIG. 13) of the musical score data 41, and this first data is After reading and displaying (registration data, etc.) or generating sound (code data), step 22
Transition to 0. On the other hand, in step 205, the flag E
When it is determined that F is 0'', the current mode is the new recording mode, so the process advances to step 211.

そして、ステップ211で選択曲の演奏データエリアに
リセットデータをロードし、かつ選択した曲のレジスタ
類をクリアし、ざらにステップ212でパネル面のレジ
ストデータを曲始めレジストデータCとして上記演奏デ
ータエリアにロードした後、ステップ220に移行する
Then, in step 211, the reset data is loaded into the performance data area of the selected song, and the registers of the selected song are cleared, and in step 212, the registration data on the panel is set as the song start registration data C in the performance data area. After loading, the process moves to step 220.

ステップ220では、プログラムモードがオフになった
か否かを検査する。プログラムモードがオフになる場合
とは、■プログラムモード設定中にエデット/クリアス
イッチ92が再度押下された場合、■現在プログラム中
でない曲の曲選択スイッチ80(または79)が押下さ
れた場合、■メニュー切換スイッチ93が操作された場
合、および■再生スイッチが押下された場合である。も
し、ここで、プログラムモードがオフになっていなけれ
ば、ステップ300(第6図)のデータ入力・wAgJ
A処理を行なう。
Step 220 checks whether the program mode has been turned off. The program mode turns off as follows: ■ If the edit/clear switch 92 is pressed again while the program mode is being set; ■ If the song selection switch 80 (or 79) of a song that is not currently being programmed is pressed; ■ This is the case when the menu changeover switch 93 is operated, and the case when the playback switch (2) is pressed. If the program mode is not turned off at this point, the data input wAgJ step 300 (FIG. 6)
Perform A process.

3、−−9入力・li集処理 このデータ入力・編集処理においては、ステップ301
〜305でそれぞれデータ入力・編集用のスイッチを検
査し、押下されたスイッチに対応してステップ400〜
900の処理を行なう。
3.--9 Input/li collection processing In this data input/edit processing, step 301
In steps 305 to 305, each data input/edit switch is inspected, and steps 400 to 400 correspond to the pressed switch.
900 processing is performed.

4、JJ・ 符−一夕入 処理 拍長スイッチ89〜91のいずれかが押下されたときは
、ステップ301からステップ400に移行して、和音
・休符データ入力処理を行なう。つまり、第7図を参照
して、ステップ401で押下された拍艮スイッチに対応
する拍艮LEDを点灯し、ステップ402で楽譜データ
エリア41にメモリスペースが残っているか否かを検査
する。そして、メモリスペースが残っていればステップ
403に進んでポインタPNTで示された位置(以下、
ポインタ位置という)のデータをクリアした後、ステッ
プ404で下W1盤のいずれかの鍵が押鍵中であるか否
かを検査する。下鍵盤が押鍵中であればステップ405
へ進んで押下された拍長スイッチに割当てられた拍長デ
ータと下鍵盤の押鍵状態より検出された和音データとを
上記ポインタ位置へロードし、一方、下鍵盤に押下鍵が
なければステップ406へ進んで上記拍艮データと休符
データとを上記ポインタ位置へロードする。続いてステ
ップ407において拍長LEDを消灯し、ポインタPN
Tを歩進して次のデータを表示または発音した後、この
和音・休符データ入力処理を終了する。つまり、ステッ
プ220(第5図)へ戻る。
4. JJ/note - one night processing When any one of the beat length switches 89 to 91 is pressed, the process moves from step 301 to step 400, and chord/rest data input processing is performed. That is, referring to FIG. 7, in step 401 the beat indicator LED corresponding to the depressed beat indicator switch is turned on, and in step 402 it is checked whether memory space remains in the musical score data area 41. If there is memory space remaining, the process advances to step 403 and the position indicated by the pointer PNT (hereinafter referred to as
After clearing the data at the pointer position, it is checked in step 404 whether any key on the lower W1 board is being pressed. If the lower keyboard is being pressed, step 405
Step 406 loads the beat length data assigned to the pressed beat length switch and the chord data detected from the pressed state of the lower keyboard into the pointer position. On the other hand, if there is no pressed key on the lower keyboard, step 406 The process advances to and loads the beat data and rest data to the pointer position. Next, in step 407, the beat length LED is turned off, and the pointer PN
After stepping T and displaying or sounding the next data, this chord/rest data input process is completed. In other words, the process returns to step 220 (FIG. 5).

また、上記和音・休符データ入力処理中、ステップ40
2で検査した結果がメモリスペース無しであるときは、
これ以上のデータのよき込みはできないから、ステップ
410で警告音を発生し、ステップ411で拍長LED
を消灯した後、この和音・休符データ入力処理を終了す
る。
Also, during the above chord/rest data input process, step 40
If the result of checking in step 2 is that there is no memory space,
Since no more data can be read in, a warning sound is generated in step 410, and the beat length LED is turned on in step 411.
After turning off the light, this chord/rest data input process is completed.

5.1−一夕  処理 第6図のデータ入力・編集処理において、ステップ30
2で記号スイッチ83〜85のいずれかが押下されたこ
とが検出されれば、処理はステップ302からステップ
500の記号データ入力処理に移行する。つまり、第8
図を参照して、押下されたスイッチに対応する記号LE
Dを点灯した(ステップsoi > m、ポインタ位置
のデータが記号データであるか否かを判定する(ステッ
プ502)。もし、記号データであれば、ステップ50
3を経てステップ504でポインタ位置のデータをクリ
アした後、入力された記号データをポインタ位置にロー
ドする(ステップ505)。すなわち、ポインタ位置の
データを新たに入力さ゛れた記号データでエクスチェン
ジする。
5.1-Ichiyo Processing In the data input/editing process in Figure 6, step 30
If it is detected in step 2 that one of the symbol switches 83 to 85 has been pressed, the process moves from step 302 to symbol data input processing in step 500. In other words, the 8th
Referring to the diagram, the symbol LE corresponding to the pressed switch
D is lit (step soi > m, it is determined whether the data at the pointer position is symbol data (step 502). If it is symbol data, step 50
After clearing the data at the pointer position through step 3 and step 504, the input symbol data is loaded into the pointer position (step 505). That is, the data at the pointer position is exchanged with the newly input symbol data.

一方、ステップ502の判定が“否”、すなわちポイン
タ位置のデータが記号データでなければステップ510
を経てステップ511でポインタ位置以後のデータを1
バイトずつ漬方ヘシフトし、上記ステップ505では上
記新たな記号データをポインタ位置ヘロードする。すな
わち、ポインタ位置に新たな記号データをインサートす
る。
On the other hand, if the determination in step 502 is "no", that is, the data at the pointer position is not symbolic data, step 510
After that, in step 511, the data after the pointer position is set to 1.
The data is shifted byte by byte, and in step 505, the new symbol data is loaded to the pointer position. That is, new symbol data is inserted at the pointer position.

続くステップ506では、上記ステップにおいて入力さ
れ、ロードされた記号データが、路上記号であったか否
かを判定する。そして、路上記号でなければステップ5
07で記号LEDを消灯し、ポインタPNTを歩進し、
かつ次のデータを表示または発音した侵、路上記号であ
ればそのまま、この記号データ入力処理を終了してステ
ップ220(第5図)へ戻る。
In the following step 506, it is determined whether the symbol data input and loaded in the above step is a road symbol. Then, if it is not a road symbol, step 5
At 07, turn off the symbol LED, advance the pointer PNT,
If it is a road symbol that displays or sounds the next data, the symbol data input process is immediately terminated and the process returns to step 220 (FIG. 5).

なお、上記ステップ503および510ではメモリスペ
ースが残っているか否かを検査するが、これは、前記和
音・休符データ入力処理において説明したように、メモ
リスペースが残っていなければ、データの書き込みを継
続することが不適当であるから、警報を発生しくステッ
プ521)、記号[EDをオフしくステップ522)で
、処理を終了するためである。
Note that in steps 503 and 510, it is checked whether there is memory space remaining, but as explained in the above chord/rest data input process, if there is no memory space remaining, writing of data is performed. This is because it is inappropriate to continue, so an alarm is generated (step 521), and the process is terminated at the symbol [ED is turned off (step 522)].

6、レジストデータ入力処理 データ入力・編集処理(第6図)のステップ303にお
いてレジストスイッチ70〜78のいずれかが押下され
たことが検出されれば、処理はステップ303からステ
ップ600のレジストデータ入力処理に移行する。つま
り、第9図を参照して、押下されたスイッチに対応する
レジストLEDを点灯した(ステップ601)後、ポイ
ンタ位置が選択された曲の楽譜データの先頭データ(例
えば第13図のPDl )位置であるか否かを判定する
(ステップ602)。もし、ポインタ位置が先頭データ
位置でなければレジストレーションメモリ22内に格納
されているレジストデータC,1〜8のうち押下された
レジストスイッチに対応するものの内容をパネル上に再
現する(ステップ603)。
6. Registration data input process If it is detected in step 303 of the data input/edit process (FIG. 6) that any of the registration switches 70 to 78 has been pressed, the process starts from step 303 to step 600 for register data input. Move to processing. That is, referring to FIG. 9, after lighting the registration LED corresponding to the pressed switch (step 601), the pointer position is located at the beginning data (for example, PDl in FIG. 13) of the musical score data of the selected song. It is determined whether or not (step 602). If the pointer position is not the first data position, the contents of the registration data C, 1 to 8 stored in the registration memory 22 that correspond to the pressed registration switch are reproduced on the panel (step 603). .

続いて、ステップ611でポインタ位置のデータがレジ
ストデータであるか否かを判定する。もし、レジストデ
ータであれば、メモリスペースがあることを確認した(
ステップ612)後、ポインタ位置のデータをクリアし
くステップ613 ) 、入力されたレジストデータを
ポインタ位置にロードする(ステップ614)。一方、
ステップ611の判定が゛否″、すなわちポインタ位置
のデータがレジストデータ以外のデータであれば、メモ
リスペースがあることを確認しくステップ620 ) 
、ポインタ位置以後のデータを1バイトずつ後方ヘシフ
トした(ステップ621)11、上記ステップ614に
進み、入力されたレジストデータをポインタ位置へロー
ドする。
Subsequently, in step 611, it is determined whether the data at the pointer position is registration data. If it is registration data, confirm that there is memory space (
After step 612), the data at the pointer position is cleared (step 613), and the input registration data is loaded into the pointer position (step 614). on the other hand,
If the judgment in step 611 is "no", that is, the data at the pointer position is data other than registration data, check that there is memory space (step 620).
, the data after the pointer position is shifted backward one byte at a time (step 621) 11, and the process proceeds to step 614, where the input registration data is loaded to the pointer position.

すなわち、ステップ611〜621の処理においては、
入力データがレジストデータである場合に、ポインタ位
置のデータが同じレジストデータであればポインタ位置
のデータを入力されたレジストデータでエクスチェンジ
し、一方、ポインタ位置のデータがレジストデータ以外
のデータであれば新たに入力されたレジストデータはポ
インタ位置のデータの直前にインサートするようにして
いる。
That is, in the processing of steps 611 to 621,
When the input data is register data, if the data at the pointer position is the same register data, the data at the pointer position is exchanged with the input register data; on the other hand, if the data at the pointer position is data other than the register data, the data at the pointer position is exchanged with the input register data. Newly input registration data is inserted immediately before the data at the pointer position.

ステップ614の処理に続いて、ステップ615でレジ
ストLEDをオフし、かつポインタを歩進して演奏デー
タエリアの次の楽譜データを表示または発音した後、こ
のレジストデータ入力処理を終了してステップ220(
第5図)へ戻る。
Following the processing in step 614, the registration LED is turned off in step 615, and the pointer is advanced to display or sound the next musical score data in the performance data area, and then this registration data input processing is ended and step 220 (
Return to Figure 5).

なお、ステップ612または620においてメモリスペ
ース無しと判定されたときは、これ以上のデータの変更
、加入はできないものと判断して、警告音を発生しくス
テップ630 ) 、レジストLEDをオフした(ステ
ップ631)tl、このレジストデータ入力処理を終了
してステップ220(第5図)へ戻る。また、上記ステ
ップ602の判定において、ポインタ位置が楽譜データ
の先頭データ位置であるときは、ステップ604に進み
、パネル上のレジストデータを曲始めレジストデータC
としてレジストレーションメモリ22にロードし、ステ
ップ631でレジストL E D 70〜78をオフし
た後、このレジストデータ入力処理を終了し、ステップ
220(第5図)へ戻る。
Note that when it is determined that there is no memory space in step 612 or 620, it is determined that no more data can be changed or added, a warning sound is generated (step 630), and the registration LED is turned off (step 631). ) tl, this registration data input process is completed and the process returns to step 220 (FIG. 5). In addition, in the determination in step 602 above, if the pointer position is the first data position of the musical score data, the process advances to step 604, and the registration data on the panel is changed to the music start registration data C.
After the registration data is loaded into the registration memory 22 and the registration LEDs 70 to 78 are turned off in step 631, this registration data input process is ended and the process returns to step 220 (FIG. 5).

7、カーソル移動処理 データ入力・編集処理(第6図)のステップ304にお
いてカーソルスイッチ86または87が押下されたこと
が検出されれば、処理はステップ304からステップ7
00のカーソル移動処理に移行する。
7. Cursor movement process If it is detected that the cursor switch 86 or 87 has been pressed in step 304 of the data input/editing process (FIG. 6), the process proceeds from step 304 to step 7.
The process moves to 00 cursor movement processing.

つまり、第10図を参照して、ステップ701でカーソ
ルLEDを点灯し、ステップ702でカーソル移動方向
を判定する。もし、カーソルを番号の若い方へ移動させ
るための左向きカーソルスイッチ86が押下されたので
あれば、処理をステップ703に移す。ステップ703
では現ポインタ位置が楽譜データの先頭データであるか
否かを検査する。もし、先頭データであればカーソルを
これ以上左側へ進めても無意味であるから、そのままス
テップ707進み、カーソルLEDをオフしてこのカー
ソル移動処理を終了する。すなわち、このときのカーソ
ル移動指令は無視する。一方、ステップ703で先頭デ
ータではないと判断したときは、ステップ104でポイ
ンタをデクリメントし、ステップ105でポインタ位置
が先頭データになったか否かを再度検査する。ここで、
先頭データになっていればステップ706で曲始めのレ
ジストデータCをパネルにセットした後、一方、先頭デ
ータになっていなければそのまま、ステップ707に進
む。そして、ステップ707でカーソルLED)をオフ
した侵、このカーソル移動処理を終了し、ステップ22
0(第5図)へ戻る。
That is, referring to FIG. 10, the cursor LED is turned on in step 701, and the cursor movement direction is determined in step 702. If the left cursor switch 86 for moving the cursor to a smaller number has been pressed, the process moves to step 703. Step 703
Then, it is checked whether the current pointer position is the first data of the musical score data. If it is the first data, there is no point in moving the cursor any further to the left, so the process proceeds directly to step 707, turns off the cursor LED, and ends this cursor movement process. That is, the cursor movement command at this time is ignored. On the other hand, if it is determined in step 703 that the data is not the first data, the pointer is decremented in step 104, and it is checked again in step 105 whether or not the pointer position has become the first data. here,
If it is the first data, the registration data C at the beginning of the song is set on the panel in step 706, and on the other hand, if it is not the first data, the process directly advances to step 707. Then, in step 707, the cursor LED is turned off, this cursor movement process is terminated, and step 22
Return to 0 (Figure 5).

一方、ステップ702において右向きのカーソルスイッ
チ87が押下されたものと判定されたときは、ステップ
710へ進む。ステップ710では現ポインタ位置のデ
ータを検査する。このデータが路上記号データまたはリ
セットデータであればこのポインタ位置以後には楽譜デ
ータは書き込まれておらず、カーソルをこれ以上右側へ
進めても無意味であるから、そのままステップ707へ
進んでカーソルLEDをオフした侵、このカーソル移動
処理を終了する。すなわち、このときのカーソル移動指
令は無視する。一方、ステップ110の検査したデータ
が路上記号データおよびリセットデータのいずれでもな
ければステップ711でポインタをインクリメントした
後、ステップ707でカーソルLEDをオフしてこのカ
ーソル移動処理を終了し、ステップ220(第5図)へ
戻る。
On the other hand, if it is determined in step 702 that the right cursor switch 87 has been pressed, the process advances to step 710. In step 710, the data at the current pointer position is examined. If this data is road symbol data or reset data, no musical score data has been written after this pointer position, and there is no point in moving the cursor further to the right, so proceed to step 707 and display the cursor LED. If the function is turned off, this cursor movement process ends. That is, the cursor movement command at this time is ignored. On the other hand, if the data inspected in step 110 is neither road symbol data nor reset data, the pointer is incremented in step 711, and then the cursor LED is turned off in step 707 to end this cursor movement processing, and step 220 (step 220) Return to Figure 5).

8、オートカーソル処理 データ入力・編集処理(第6図)のステップ305にお
いてリズムスタートスイッチが押下されたことが検出さ
れれば、処理はステップ305からステップ800のオ
ートカーソル処理に移行する。
8. Auto cursor processing If it is detected in step 305 of the data input/editing process (FIG. 6) that the rhythm start switch has been pressed, the process moves from step 305 to auto cursor processing in step 800.

つまり、第11図を参照して、ステップ801でポイン
タ位置のデータを読み出して表示し、ステップ802で
リズムスタートスイッチ52がオフされたか否かを検査
する。リズムスタートスイッチ52がオフされていなけ
れば、さらに次のステップ803でリズムランフラグR
RFを検査する。
That is, referring to FIG. 11, in step 801 data at the pointer position is read out and displayed, and in step 802 it is checked whether the rhythm start switch 52 has been turned off. If the rhythm start switch 52 is not turned off, the rhythm run flag R is set in the next step 803.
Check RF.

このリズムランフラグRRFは、リズムスタートスイッ
チ52をオンした侵、最初に和音もしくは休符データが
読み出されたとき(ステップ805)セットされるとと
もに、リズムスタートスイッチ52がオフする(ステッ
プ812)か、後述するオートカーソル割込処理(第1
2図)おいて読み出すべき楽譜データが無くなったとき
(ステップ911)リセットされる。
This rhythm run flag RRF is set when the rhythm start switch 52 is turned on and when chord or rest data is first read out (step 805), and when the rhythm start switch 52 is turned off (step 812). , auto cursor interrupt processing (first
When there is no more musical score data to be read in FIG. 2) (step 911), it is reset.

従って、リズムスタートスイッチ52をオンした直後は
りズムランフラグRRFがセットされていない。この場
合は、ステップ804以下において、ステップ801で
読み出したデータに応じてステップ805〜808の処
理を実行する。
Therefore, the rhythm run flag RRF is not set immediately after the rhythm start switch 52 is turned on. In this case, from step 804 onwards, the processes of steps 805 to 808 are executed according to the data read out at step 801.

すなわち、ステップ801で読み出したデータが和Bま
たは休符データであれば、ステップ805へ進んで、リ
ズムカウンタ自N王をスタートし、リズムランフラグR
RFをセットし、読み出したデータに応じたコード音を
発音(休符は無音のコードとして取り扱う)し、拍長デ
ータを拍長カウンタHLTヘセットした後、ステップ8
01に戻る。
That is, if the data read in step 801 is sum B or rest data, the process advances to step 805, starts the rhythm counter self-N king, and sets the rhythm run flag R.
After setting the RF, generating a chord tone according to the read data (rests are treated as silent chords), and setting the beat length data to the beat length counter HLT, step 8
Return to 01.

また、ステップ801で読み出されたデータがレジスト
ナンバデータであれば、対応するレジストデータをパネ
ルにセットした後(ステップ806)、また、反復記号
データであればそのまま、ステップ807でポインタP
NTを歩進してステップ801に戻る。
If the data read out in step 801 is registration number data, the corresponding registration data is set on the panel (step 806), or if it is repetition symbol data, the pointer P is moved to step 807.
Step NT and return to step 801.

一方、ステップ801で読み出されたデータが路上記号
もしくはリセットデータであれば、現ポインタ位置以後
に楽譜データは書き込まれていないのであるから、その
まま、このオートカーソル処理を終了し、ステップ22
0(第5図)へ戻る。
On the other hand, if the data read out in step 801 is road symbols or reset data, no musical score data has been written after the current pointer position, so this auto cursor processing is immediately terminated, and step 22
Return to 0 (Figure 5).

上記ステップ805においてリズムランフラグRRFが
セットされると、以後、ステップ802および803の
ループで、リズムスタートスイッチ52が再度押下され
てオフになるまで待機する(オートカーソルモード)。
Once the rhythm run flag RRF is set in step 805, the process waits in a loop of steps 802 and 803 until the rhythm start switch 52 is pressed again and turned off (auto cursor mode).

このオートカーソルモードは、リズムスタートスイッチ
52がオフされたことが検出される(ステップ802)
ことにより終了する。すなわち、ステップ802からス
テップ811に進み、ポインタ位置のデータを読み出し
て表示または発音し、さらにステップ812でリズムカ
ウンタRNTを停止し、リズムランフラグRRFをリセ
ットし、コード音を停止した後、このオートカーソル処
理を終了してステップ220(第5図)へ戻る。
In this auto cursor mode, it is detected that the rhythm start switch 52 is turned off (step 802).
This ends with this. That is, the process advances from step 802 to step 811, where the data at the pointer position is read out and displayed or sounded.Furthermore, in step 812, the rhythm counter RNT is stopped, the rhythm run flag RRF is reset, and the chord sound is stopped. The cursor processing is completed and the process returns to step 220 (FIG. 5).

9.オートカーソル割込処理 上記オートカーソルモード(ステップ802および80
3のループ処理)中は、テンポ発生器18から自動演奏
の1拍分に相当する周期で発生するテンポクロックを割
込信号として以下の割込処理(ステップ900)を行な
う。第12図を参照して、ステップ901では、拍長カ
ウンタHLTをデクリメントし、ステップ902でこの
拍長カウンタの計数値がOになったか否かを検査する。
9. Auto cursor interrupt processing The above auto cursor mode (steps 802 and 80
During the loop processing (step 3), the following interrupt processing (step 900) is performed using the tempo clock generated from the tempo generator 18 at a cycle corresponding to one beat of automatic performance as an interrupt signal. Referring to FIG. 12, in step 901, a beat length counter HLT is decremented, and in step 902, it is checked whether the counted value of this beat length counter has reached O.

もし、拍長カウンタの計数値がOになっていなければ、
そのまま割込を解除して元のルーチンに戻る。すなわち
、この場合はコード音の発音時間が拍長データで示され
た時間を経過していないのであるから、今までの発音を
そのまま持続する。
If the count value of the beat length counter is not O,
Just cancel the interrupt and return to the original routine. That is, in this case, since the chord sound generation time has not passed the time indicated by the beat length data, the current sound generation is continued as is.

一方、拍長カウンタHLTの計数値が0になったときは
、前和音データで指定されたコード音を拍長データで指
定された拍数分だけ発音し終えたのであるから、ステッ
プ903でポインタPNTを進めてその位置のデータを
読み出して表示し、さらに、そのデータ種類に応じて以
下の処理を行なう。
On the other hand, when the count value of the beat length counter HLT becomes 0, this means that the chord note specified by the previous chord data has been sounded for the number of beats specified by the beat length data, so in step 903 the pointer is The PNT is advanced, data at that position is read and displayed, and the following processing is performed depending on the type of data.

すなわち、読み出されたデータが、和音または休符デー
タであれば、ステップ910でそのデータに相当するコ
ード音を発音(休符は無音のコードとして取り扱う)し
、この和音または休符データと対で読み出される拍長デ
ータを拍長カウンタHLTヘセットした後、割込を解除
して元のルーチンに戻る。これにより、以侵コード音は
この新たな和音データによるコード音に変更されて発音
される。
That is, if the read data is chord or rest data, in step 910 a chord sound corresponding to the data is sounded (rests are treated as silent chords), and a chord sound corresponding to the data is sounded (rests are treated as silent chords), and a chord sound corresponding to the data is sounded (rests are treated as silent chords). After setting the beat length data read in the beat length counter HLT, the interrupt is canceled and the process returns to the original routine. As a result, the encroaching chord sound is changed to the chord sound based on this new chord data and is produced.

また、読み出されたデータが、路上記号またはリセット
データであれば、演奏データは終了したのであるから、
ステップ920でリズムカウンタを停止し、リズムラン
フラグRRFをリセットし、コード音を停止した後、こ
のオートカーソル処理を終了してステップ220(第5
図)へ戻る。
Also, if the read data is road symbol or reset data, the performance data has ended.
After stopping the rhythm counter, resetting the rhythm run flag RRF, and stopping the chord sound in step 920, this auto cursor processing is ended and step 220 (fifth
Return to figure).

さらに、読み出されたデータがレジストナンバデータで
あれば、ステップ930で対応するレジストデータをパ
ネルにセットした後、また、反復記号データであればそ
のまま、ステップ903に戻る。
Further, if the read data is registration number data, the corresponding registration data is set on the panel in step 930, and if it is repeated symbol data, the process directly returns to step 903.

すなわち、この割込処理においては和音もしくは休符デ
ータまたは路上記号もしくはリセットデータが読み出さ
れるまでの全部のレジストデータおよび反復記号(通常
、合せて2個以内)を読み出し、和音もしくは休符デー
タまたは路上記号もしくはリセットデータが読み出され
て始めて割込が解除され、元のルーチンに戻ることにな
る。
That is, in this interrupt processing, all registration data and repeat symbols (usually up to two in total) are read out until the chord or rest data, road symbol, or reset data is read, and the chord or rest data or road symbol is read out. Only after the symbol or reset data is read out will the interrupt be released and the original routine returned.

[発明の適用例] なお、この発明は上述の実施例に限定されることなく適
宜変形して実施することができる。例えば上述の実施例
においては、和音の自動演奏にこの発明を適用する場合
について説明したが、この発明はメロディの自動演奏を
行なう場合についても適用することができることはもち
ろんである。
[Application Examples of the Invention] Note that the present invention is not limited to the above-described embodiments, and can be implemented with appropriate modifications. For example, in the above-described embodiment, the case where the present invention is applied to the automatic performance of chords has been described, but it goes without saying that the present invention can also be applied to the case where the automatic performance of a melody is performed.

[発明の効果] 以上のようにこの発明によると、変更箇所゛の前データ
と変更のため入力した新データとを比較し、これらの組
合せに応じて新データを前データとエクスチェンジする
か、それとも変更箇所の直前または直後にインサートす
るかの変更動作モードをを自動的に決定するようにして
いるため、特に演奏データのエディツト時における、イ
ンサートモードへの切換え、およびインサートまたはデ
リートモード設定後のエクスチェンジモードへの切換え
操作が不要となり、エディツト時の操作手順を簡略化す
ることができる。また、レジスト変更を基本的にインサ
ートモードで行なうようにすれば、インサートモード指
定スイッヂをパネルからなくすことも可能である。
[Effect of the Invention] As described above, according to the present invention, the previous data at the changed location is compared with the new data input for the change, and depending on the combination, whether the new data is exchanged with the previous data or Since the change operation mode is automatically determined to determine whether to insert immediately before or after the changed part, switching to insert mode, especially when editing performance data, and changing after setting insert or delete mode There is no need to switch modes, and the editing procedure can be simplified. Furthermore, if the registration is basically changed in insert mode, it is possible to eliminate the insert mode designation switch from the panel.

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

第1図は、この発明の一実施例に係る自動演奏装置を適
用した電子楽器のブロック図、第2図は、第1図の装置
のパネル部外観図、第3図は、第1図の装置のメニュー
切換スイッチの説明図、 第4〜12図は、第1図の装置の動作を説明するだめの
フローヂャート、 第13図は、第1図の装置のメモリに格納された演奏デ
ータのフォーマット図である。 10・・・鍵スィッチ回路、12・・・制御操作子回路
、14・・・CPU、18・・・プログラムメモリ、2
0・・・ワーキングメモリ、22・・・レジストレーシ
ョンメモリ、24・・・演奏データメモリ、30・・・
楽音形成回路、32・・・増幅器、34・・・スピーカ
、70〜78・・・レジストレーションスイッチ、82
・・・ト音記号スイッチ、83〜85反復記号スイッチ
、86.87・・・カーソルスイッチ、88・・・路上
記号スイッチ、89〜91・・・拍長スイッチ、92・
・・エディツト/クリアスイッチ。
FIG. 1 is a block diagram of an electronic musical instrument to which an automatic performance device according to an embodiment of the present invention is applied, FIG. 2 is an external view of the panel portion of the device shown in FIG. 1, and FIG. An explanatory diagram of the menu changeover switch of the device; FIGS. 4 to 12 are flowcharts for explaining the operation of the device of FIG. 1; FIG. 13 is a format of performance data stored in the memory of the device of FIG. 1. It is a diagram. DESCRIPTION OF SYMBOLS 10... Key switch circuit, 12... Control operator circuit, 14... CPU, 18... Program memory, 2
0... Working memory, 22... Registration memory, 24... Performance data memory, 30...
Musical tone forming circuit, 32...Amplifier, 34...Speaker, 70-78...Registration switch, 82
... Treble clef switch, 83-85 repetition symbol switch, 86.87... Cursor switch, 88... Street symbol switch, 89-91... Beat length switch, 92.
...Edit/Clear switch.

Claims (1)

【特許請求の範囲】 1、動作指令入力および演奏データ入力用の入力操作子
と、 上記演奏データが格納される書換え可能なメモリと、 上記入力操作子への操作に応じてこのメモリ内のデータ
変更箇所を特定し、かつ上記入力操作子から入力された
新演奏データを、指定されたデータ変更モードに応じて
、この変更箇所に書き込まれている旧演奏データと置き
換えるか、またはこの変更箇所の直前もしくは直後に挿
入する書込制御手段と、 上記新演奏データと旧演奏データとの組合せに応じて上
記書込制御手段の変更モードを指示する比較・判断手段
と 上記メモリから読み出される演奏データに基づいて楽音
を形成し発音する楽音発生手段とを具備することを特徴
とする自動演奏装置。 2、前記演奏データが、曲進行データである和音もしく
は休符データ、拍長データおよび反復記号データと、パ
ネル上の各操作子の設定状態を示すレジストデータとを
含み、 前記書込制御手段は、上記演奏データの変更に際し前記
入力操作子から入力された新演奏データがレジストデー
タであるとき、前記変更箇所の旧演奏データがレジスト
データであればこの変更箇所のデータを新演奏データで
置き換え、レジストデータでなければこの変更箇所の直
前または直後に新演奏データを挿入する特許請求の範囲
第1項記載の自動演奏装置。
[Claims] 1. An input operator for inputting movement commands and performance data; a rewritable memory in which the performance data is stored; and data stored in this memory in response to operations on the input operator. Specify the changed part and replace the new performance data input from the input controller with the old performance data written in this changed part, or A writing control means to be inserted immediately before or after the performance data, a comparison/judgment means for instructing a change mode of the writing control means according to the combination of the new performance data and the old performance data, and a performance data read from the memory. 1. An automatic performance device comprising: a musical tone generating means for forming and emitting a musical tone based on the musical tone. 2. The performance data includes chord or rest data, beat length data, and repetition symbol data, which are song progression data, and registration data indicating the setting status of each operator on the panel, and the writing control means , when the new performance data input from the input operator when changing the performance data is registration data, if the old performance data at the changed location is registration data, replace the data at the changed location with the new performance data; The automatic performance device according to claim 1, wherein new performance data is inserted immediately before or after the changed location if it is not registered data.
JP60292325A 1985-12-26 1985-12-26 Automatic performer Granted JPS62151898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60292325A JPS62151898A (en) 1985-12-26 1985-12-26 Automatic performer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60292325A JPS62151898A (en) 1985-12-26 1985-12-26 Automatic performer

Publications (2)

Publication Number Publication Date
JPS62151898A true JPS62151898A (en) 1987-07-06
JPH0375875B2 JPH0375875B2 (en) 1991-12-03

Family

ID=17780317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60292325A Granted JPS62151898A (en) 1985-12-26 1985-12-26 Automatic performer

Country Status (1)

Country Link
JP (1) JPS62151898A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03200198A (en) * 1989-12-28 1991-09-02 Kawai Musical Instr Mfg Co Ltd Motif performance device
JPH07319477A (en) * 1994-05-23 1995-12-08 Hanshin Electric Co Ltd Buzzer sound volume control device and hot water supply system using the same
US9562314B2 (en) 2013-02-27 2017-02-07 Lg Electronics Inc. Laundry treating apparatus
US9568244B2 (en) 2013-02-27 2017-02-14 Lg Electronics Inc. Laundry treating apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03200198A (en) * 1989-12-28 1991-09-02 Kawai Musical Instr Mfg Co Ltd Motif performance device
JPH07319477A (en) * 1994-05-23 1995-12-08 Hanshin Electric Co Ltd Buzzer sound volume control device and hot water supply system using the same
US9562314B2 (en) 2013-02-27 2017-02-07 Lg Electronics Inc. Laundry treating apparatus
US9568244B2 (en) 2013-02-27 2017-02-14 Lg Electronics Inc. Laundry treating apparatus

Also Published As

Publication number Publication date
JPH0375875B2 (en) 1991-12-03

Similar Documents

Publication Publication Date Title
JP4094236B2 (en) Performance support apparatus, performance support method, and performance support program for realizing the method on a computer
US4881440A (en) Electronic musical instrument with editor
EP1302927B1 (en) Chord presenting apparatus and method
JP2560372B2 (en) Automatic playing device
JP3743298B2 (en) Electronic musical instruments
JPH09319368A (en) Transposition control device for electronic musical instrument
JPS62151898A (en) Automatic performer
JP3267777B2 (en) Electronic musical instrument
JP2780637B2 (en) Performance training device
JPH10240117A (en) Support device for musical instrument practice and recording medium of information for musical instrument practice
JP2773638B2 (en) Automatic performance device
JP3649014B2 (en) Performance data file playback setting control device
JP2641851B2 (en) Automatic performance device
JPH08234750A (en) Parameter editing device
JP2006251821A (en) Apparatus and method for supporting performance, and performance support program for realizing the method by computer
JPH075875A (en) Automatic player
JP2518340B2 (en) Automatic playing device
JP2000250543A (en) Data setting device
JP2670944B2 (en) Electronic keyboard instrument
JPS61175691A (en) Automatic performer
JP3052875B2 (en) Sequence data editing method and sequencer
JPH03267999A (en) Electronic musical instrument
JP3430894B2 (en) Chord detection method, chord detection device, and recording medium recording chord detection program
JPS61175689A (en) Automatic performer
JP2725585B2 (en) Automatic performance device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees