JPH0375875B2 - - Google Patents
Info
- Publication number
- JPH0375875B2 JPH0375875B2 JP60292325A JP29232585A JPH0375875B2 JP H0375875 B2 JPH0375875 B2 JP H0375875B2 JP 60292325 A JP60292325 A JP 60292325A JP 29232585 A JP29232585 A JP 29232585A JP H0375875 B2 JPH0375875 B2 JP H0375875B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- performance data
- switch
- input
- registration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000015654 memory Effects 0.000 claims description 37
- 230000004044 response Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 47
- 238000012545 processing Methods 0.000 description 36
- 230000033764 rhythmic process Effects 0.000 description 30
- 230000006870 function Effects 0.000 description 5
- 230000003936 working memory Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
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図)
7 カーソル移動処理(第10図)
8 オートカーソル処理(第11図)
9 オートカーソル割込処理(第12図)
発明の効果
[産業上の利用分野]
この発明は、書き換え可能なメモリを有し、こ
のメモリに格納された演奏データ基づいてメロデ
イや伴奏の自動演奏を行なう自動演奏装置に関
し、特に、上記メモリ内の演奏データを編集(エ
デイツト)する際の操作の簡略化を図つた自動演
奏装置に関する。Industrial application field Outline of the invention Conventional technology Problems to be solved by the invention History of the invention and main points Description of embodiments Explanation of the configuration 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/edit 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) 7 Cursor movement processing (Fig. 10) 8 Auto cursor processing (Fig. 11) 9 Auto cursor interrupt processing (Fig. 12) Effects of the invention [Field of industrial application] This invention This invention relates to an automatic performance device that automatically performs a melody or accompaniment based on the performance data stored in the memory, and in particular, to simplify operations when editing the performance data in the memory. The present invention relates to an automatic performance device that achieves the following.
[発明の概要]
この発明は、自動演奏用のデータを編集(エデ
イツト)可能な自動演奏装置において、エデイツ
ト時、所定の訂正箇所に既に書き込まれているデ
ータ(旧データ)とこの箇所に新しく書き込もう
とするデータ(新データ)との組合せに応じて、
訂正箇所のデータを新データに変更するエクスチ
エンジモードと、新データを旧データの直前また
は直後に挿入するインサートモードとを自動的に
切り換える事により、エデイツト操作の手順を簡
略化し、かつインサートモード指示スイツチの省
略を可能にしたものである。[Summary of the Invention] The present invention provides an automatic performance device that is capable of editing data for automatic performance, and at the time of editing, data that has already been written in a predetermined correction location (old data) and new data that can be written in this location. Depending on the combination with the data to be used (new data),
By automatically switching between the exchange mode, which changes the data in the corrected area to new data, and the insert mode, which inserts new data immediately before or after the old data, the editing operation procedure is simplified, and insert mode instructions are also available. This makes it possible to omit the switch.
[従来の技術]
従来の自動演奏装置として、読み書き可能なメ
モリを有し、このメモリに書き込まれた演奏デー
タに基づいてメロデイや伴奏(和音)の自動演奏
を行なうとともに、演奏者等がこのメモリ内の演
奏データを自由に書き込んだり、編集(エデイツ
ト)できるようにしたものが知られている(例え
ば特願昭60 号)。[Prior Art] A conventional automatic performance device has a readable/writable memory, and automatically performs a melody or accompaniment (chords) based on the performance data written in this memory, and allows a performer or the like to use this memory. It is known that the performance data within can be freely written and edited (for example, Patent Application No. 1983).
第13図は、このような装置のメモリ内の演奏
データフオーマツトの1例を示す。この、メモリ
内には、リズム種類、楽器種類および各楽器の音
量バランス等パネル上操作子の設定状態を示すレ
ジストデータが格納されるレジストデータエリア
40、ならびに和音名もしくは休符データと拍数
データのシーケンスデータ、およびダルセーニヨ
(D.S.)、セーニヨ(〓)、ダ・カーポ(D.C.)お
よびコーダ(〓)等の反復記号データからなる曲
進行データが格納される楽譜データエリア41が
設けられている。レジストデータエリア40に
は、曲始めレジストデータCおよびレジストデー
タ1〜8の9種類のレジストデータを書き込むこ
とができる。また、楽譜データエリア41内には
所望に応じてレジストナンバデータを書き込むこ
とができる。自動演奏時には、楽譜データエリア
41内のデータが所定のタイミングで順次読み出
され、上記曲進行データに応じた伴奏が自動演奏
されるとともに、レジストナンバnが読み出され
たときは、その時点でパネル上操作子の設定状態
がレジストデータエリア40にレジストデータn
として記憶された状態に設定変更される。 FIG. 13 shows an example of a performance data format in the memory of such an apparatus. This memory includes a registration data area 40 in which registration data indicating the setting status of the panel controls such as the rhythm type, instrument type, and volume balance of each instrument is stored, as well as chord name or rest data and beat number data. A musical score data area 41 is provided in which music progress data consisting of sequence data such as ``darsenyo'' (DS), ``seignyo'' (〓), da capo (DC), and coda (〓), etc., 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 sequentially read out at predetermined timing, and the accompaniment corresponding to the music progression data is automatically played.When the registration number n is read out, the data in the score data area 41 is read out sequentially at a predetermined timing. The setting status of the on-panel controls is displayed in the register data area 40.
The settings are changed to the state stored as .
ところで、このような装置においては、所望の
箇所例えば曲進行データ箇所をカーソルで示しな
がらレジストナンバデータをインサート(挿入)
したり、レジストナンバデータ箇所をーソルで示
しながらレジストナンバデータを別のレジストナ
ンバデータにエクスチエンジ(置換)したりする
ことができる。そして、従来の装置では、レジス
トナンバデータをインサートする場合、エデイ
ツトスイツチをオンし、インサートスイツチを
オンし、カーソルで変更箇所を指定した後、
レジストナンバ指定スイツチにより所望のレジス
トナンバデータを入力するようになつていた。ま
た、レジストナンバデータをエクスチエンジする
場合、エデイツトスイツチをオン後、インサート
スイツチをオンしていないときは、カーソルで
変更箇所を指定した後、レジストナンバ指定ス
イツチにより所望のレジストナンバデータを入力
すればよいのであるが、インサートスイツチをオ
ンした後であれば変更箇所を指定する前または
変更データ入力前にエデイツト(またはエク
スチエンジ)スイツチを再度オンしてエクスチエ
ンジモードに切換える必要があつた。 By the way, in such a device, registration number data can be inserted while pointing at a desired location, for example, a song progression data location with a cursor.
Or, you can replace the registration number data with another registration number data while indicating the registration number data location with a cursor. With 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
Desired registration number data was input using a registration number designation switch. In addition, when editing the registration number data, if the edit switch is turned on but the insert switch is not turned on, specify the area to be changed with the cursor, and then input the desired registration number data using the registration number specification switch. However, after turning on the insert switch, it was necessary to turn on the edit (or exchange) switch again to switch to exchange mode before specifying the change location or inputting the change data.
また、コード(和音)データの変更(追加、挿
入)にあつても、いちいちインサートスイツチで
インサートモードにした後、カーソルで変更箇所
を指定してコードデータをインサートしたり、エ
デイツトスイツチでエクスチエンジモードにした
後、カーソルで箇所指定してコードデータをエク
スチエンジする必要があつた。 Also, when changing (adding or inserting) chord (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 change the chord data. After setting the mode, it was necessary to specify the location with the cursor and execute the code data.
[発明が解決しようとする問題点]
つまり、従来の装置においては、エデイツト
時、楽譜データ中の変更箇所をカーソルで指定し
た後、その変更の種類、すなわちその変更箇所の
データを削除したいのか、新たなデータで置換し
たいのか、その変更箇所に新たなデータを挿入し
たいのかに従つてデリート(削除)、インサート
(挿入)またはエクスチエンジ(置換)の動作モ
ードをいちいち指定しなければならない煩わしさ
があつた。[Problems to be Solved by the Invention] In other words, in the conventional device, when editing, after specifying a changed location in musical score data with a cursor, it is difficult to determine the type of change, that is, whether the data at that changed location is to be deleted. Eliminate the hassle of having to specify the delete, insert, or replace operation mode each time depending on whether you want to replace with new data or insert new data at the changed location. It was hot.
この発明は、上述の従来形における問題点に鑑
み、書き換え可能なメモリを有しこのメモリに格
納された演奏データに基づいて自動演奏を行なう
装置において、上記メモリ内のデータをエデイツ
トする際の操作を簡略化することを目的とする。
また、エデツトのためのスイツチを減少させるこ
とをさらなる目的とする。 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. 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 discovered that changing the register number data or repeat symbol data (hereinafter referred to as register data, etc.) requires that a certain amount of performance data such as chords be input. It is meaningful if it is 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, the exchange mode is suitable for changing code data, and the code 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, the data written in the changed part (old data) is compared with the new data input for the change. However, depending on the combination of these old and new data, it is automatically decided whether to make changes in exchange mode or insert mode, and it is possible to omit mode specifications such as exchange and insert. making it possible.
そして、この発明の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 the old data is data different from the registration number. If so, it will automatically switch to insert mode.
[実施例の説明]
以下、図面を用いてこの発明の実施例を説明す
る。[Description of Embodiments] Embodiments of the present invention will be described below with reference to the drawings.
(第1図の電子楽器の全体構成説明)
第1図は、この発明の一実施例に係る自動演奏
装置を適用した電子楽器の全体構成を示す。この
装置は、上鍵盤(UK)、下鍵盤(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 is equipped with an upper keyboard (UK), a lower keyboard (LK), a pedal keyboard (PK), etc., and has a keyboard performance function as a normal electronic musical instrument, as well as performance data stored in a performance data memory etc., which will be described later. It has functions such as a function to automatically play accompaniment (chords) based on , and an autorhythm function to automatically play rhythm sounds. 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は、上記
鍵盤UK,LK,PKの各鍵に対応して設けられた
多数のキースイツチを備え、これらの鍵盤におけ
る押下鍵を表わすキーデータを発生する。 In FIG. 1, a key switch circuit 10 includes a large number of key switches provided corresponding to each key of the keyboard UK, LK, and PK, and generates key data representing pressed keys on these keyboards.
制御操作子回路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図)には、パネルデータ設定用
操作子およびコード・シーケンス・プログラム
(以下CSPという)データ・指令入力用操作子等
が配置されている。パネルデータ設定用操作子と
しては、パネル左側に、オートリズム用のリズム
種類選択スイツチ51、リズムスタート/ストツ
プスイツチ52およびリズム音量設定スイツチ5
3、上記各鍵盤UK,LK,PKごとの音色または
アンサンブル用楽器/音声選択スイツチ54〜5
6および音量設定スイツチ57〜59、伴奏/リ
ズム自動演奏用テンポ設定スイツチ60、ならび
にオートベースコード、アルペジヨコード、メロ
デイオンコード、再生音ビブラート、トレモロお
よびサステイーンの各設定スイツチ61〜66等
が配置されている。CSPデータ・指令入力用操作
子としては、パネル左側にレジストレーシヨンス
イツチ70〜78が、また、パネル左側に自動演
奏曲選択スイツチ79,80およびメニュースイ
ツチ81〜92が配置されている。 The panel section (FIG. 2) is provided with panel data setting operators, code sequence program (hereinafter referred to as CSP) data/command input operators, and the like. The panel data setting controls include a rhythm type selection switch 51 for autorhythm, a rhythm start/stop switch 52, and a rhythm volume setting switch 5 on the left side of the panel.
3. Tone or ensemble instrument/voice selection switch 54-5 for each of the above keyboards UK, LK, PK
6, volume setting switches 57 to 59, tempo setting switch 60 for automatic accompaniment/rhythm performance, and setting switches 61 to 66 for auto bass chord, arpegillo chord, melody on chord, playback sound vibrato, tremolo and sustain, etc. has been done. As CSP data/command input operators, registration switches 70-78 are arranged on the left side of the panel, and automatic performance music selection switches 79, 80 and menu switches 81-92 are arranged on the left side of the panel.
メニュー切換スイツチ93は、各メニュースイ
ツチ81〜92の用途を切換えるもので、各メニ
ュースイツチにはメニュー表示窓に表示される用
途が割当てられている。このメニュー表示窓内の
表示はメニュー切換スイツチ93と連動して切換
わる。第3図は、メニュー切換スイツチ93によ
り切換えられるメニュー例を示す。例えばメニュ
ースイツチ81は、第2図では、プログラムモー
ドスイツチに設定されているが、メニュー切換ス
イツチ93を切換えることにより、和音自動演奏
(プレイ)モードを設定および解除するためのプ
レイスイツチ、メーカ設定のレジストデータをパ
ネル上に設定するためのレジストレーシヨンメニ
ュースイツチ、各音色選択スイツチ54〜56に
所望の音色を割当てるためのボイスメニュースイ
ツチ、またはサステイーンスイツチ等として機能
させることができる。 The menu changeover switch 93 switches the purpose of each of the menu switches 81 to 92, and each menu switch is assigned a purpose to be displayed in the menu display window. The display in 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 as a program mode switch in FIG. It can function as a registration menu switch for setting registration data on the panel, a voice menu switch for assigning a desired tone to each of the tone color selection switches 54 to 56, a sustain switch, or the like.
さらに、各スイツチにはそのスイツチのオンに
対応するモードが設定されたことを表示するため
のLEDが組込んであるが、以下においては、こ
れらのLEDも対応するスイツチと同一の番号で
表わすものとする。 In addition, each switch has a built-in LED to indicate that the mode corresponding to the switch is set to on, but in the following, these LEDs are also represented by the same numbers as the corresponding switch. shall be.
第1図の電子楽器は、その全体動作を中心処理
装置(CPU)14を用いて制御するように構成
されており、このCPU14には、双方向バスラ
イン16を介して、上記鍵スイツチ回路10およ
び制御操作子回路12の他、CPU14の制御プ
ログラムが格納されたプログラムメモリ18、
CPU14が上記制御プログラムを実行する際に
発生する各種データを一時格納するための各種ワ
ーキングエリアが設けられているワーキングメモ
リ20、自動演奏を行なう際のパネルデータ設定
操作子の設定状態を複数種例えば9種類登録する
ためのレジストレーシヨンメモリ22、和音の自
動演奏データが格納される演奏データメモリ2
4、リズム音の自動演奏データが格納されている
リズムパターンメモリ26、可変周波数発振器ま
たは分周率可変の分周器等からなるテンポ発振器
28、メロデイ音、リズム音およびコード音等を
形成する楽音形成回路30等が接続されている。
楽音形成回路30には増幅器32およびスピーカ
34等からなるサウンドシステムが接続されてお
り、楽音形成回路30で形成された楽音を音響に
変換する。 The electronic musical instrument shown in FIG. In addition to the control operator circuit 12, a program memory 18 stores a control program for the CPU 14;
A working memory 20 is provided with various working areas for temporarily storing various data generated when the CPU 14 executes the above control program, and a working memory 20 is provided with various working areas for temporarily storing various data generated when the CPU 14 executes the above control program. Registration memory 22 for registering nine types, performance data memory 2 for storing automatic chord performance data
4. A rhythm pattern memory 26 in which automatic performance data of rhythm sounds is stored; a tempo oscillator 28 consisting of a variable frequency oscillator or a frequency divider with a variable division rate; musical sounds forming melody sounds, rhythm sounds, chord sounds, etc. A forming circuit 30 and the like are connected thereto.
A sound system consisting of an amplifier 32, a speaker 34, etc. is connected to the musical tone forming circuit 30, and converts the musical tone formed by the musical tone forming circuit 30 into sound.
ワーキングメモリ20内のワーキングエリアと
しては、現モードがエデイツトモードであること
を示すためのエデイツトフラグEF、演奏データ
メモリ24の読出/書込アドレスを指定するため
のポインタPNT、リズムパターンメモリ26を
アドレスするためのリズムカウンタRNT、自動
演奏中か否かを示すリズムランフラグRRF、拍
長カウンタHLT等のポインタ、フラグおよびカ
ウンタ等が用意されている。 The working area in the working memory 20 includes an edit flag EF to indicate that the current mode is the edit mode, a pointer PNT to specify the read/write address of the performance data memory 24, and an address for the rhythm pattern memory 26. Pointers, flags, and counters such as a rhythm counter RNT for automatic performance, a rhythm run flag RRF for indicating whether automatic performance is in progress, and a beat length counter HLT 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 Processing Referring to FIG. 4, after starting operation (step 100), this electronic musical instrument performs steps 102-106.
In the loop, the outputs of the key switch circuit 10 and the control operator circuit 12 are inspected, and the operated key switch and operator and the switch or operator information are detected.
そして、CSPプレイスイツチ(メニュースイツ
チ81)がオンされた場合は、ステツプ110の
和音自動演奏処理を開始し、エデツト/クリアス
イツチ92およびCSPプレイスイツチ81以外の
スイツチ、例えばボイスメニュースイツチまたは
サステイーンスイツチ(いずれもメニュースイツ
チ81)等が操作された場合は、従来のものと同
様、その操作に応じた処理(ステツプ120)を
行なう。 If the CSP play switch (menu switch 81) is turned on, automatic chord performance processing in step 110 is started, and switches other than the edit/clear switch 92 and the CSP play switch 81, such as the voice menu switch or the sustain switch, are turned on. (In both cases, the menu switch 81) etc. is operated, the process corresponding to the operation (step 120) is performed as in the conventional case.
この電子楽器は、上述のステツプ102〜10
6のループ処理において、エデツト/クリアスイ
ツチ92を単独でオンした場合、オンの度にエデ
イツトモードのオン/オフを切換えるトグル動作
を行なう。また、エデツト/クリアスイツチ92
とト音記号スイツチ82とを同時に押下すると、
演奏データメモリ24内に設けらている2曲分の
演奏データエリアの内、曲選択スイツチ79,8
0により選択されたエリアのデータが全てリセツ
トデータに書き換えられ(クリアされ)るととも
にこのエリア内への演奏データ書き込みが可能化
される。すなわち、この場合は、新規記録
(NEW REC)モードとなる。 This electronic musical instrument performs steps 102 to 10 described above.
In the loop processing of step 6, when the edit/clear switch 92 is turned on alone, a toggle operation is performed to switch the edit mode on/off each time it is turned on. Also, edit/clear switch 92
and the treble clef switch 82 are pressed at the same time,
Among the performance data areas for two songs provided in the performance data memory 24, the song selection switches 79 and 8
All data in the area selected by 0 is rewritten (cleared) with reset data, and performance data can be written into this area. That is, in this case, the mode is new recording (NEW REC).
つまり、エデツト/クリアスイツチ92がオン
されると、ト音記号スイツチ82が同時にオンさ
れているか否かに応じて、ト音記号スイツチ82
がオンされていない場合、すなわちエデツト/ク
リアスイツチ92が単独でオンされているとき
は、次のステツプ108でエデイツトフラグEF
をセツトした後、また、ト音記号スイツチ82と
エデツト/クリアスイツチ92の双方が同時にオ
ンされているときはそのまま、次のステツプ20
0のプログラム(REC P)処理に移行する。こ
のエデイツトフラグEFは後述の後述のステツプ
205においてエデイツトモードのための処理
(ステツプ206)および新規記録モードのため
の処理(ステツプ211)の一方を選択するため
に用いられる。 That is, when the edit/clear switch 92 is turned on, the treble clef switch 82 is changed depending on whether or not the treble clef switch 82 is turned on at the same time.
is not turned on, that is, when the edit/clear switch 92 is turned on alone, the edit flag EF is set in the next step 108.
After setting , if both the treble clef switch 82 and the edit/clear switch 92 are turned on at the same time, proceed to the next step 20.
Shifts to program 0 (REC P) processing. This edit flag EF is used in step 205, which will be described later, to select either the process for the edit mode (step 206) or the process for the new recording mode (step 211).
2 プログラム処理
第5図を参照して、ステツプ201では、スピ
ーカ34からの発音を停止させ、かつプログラム
モード表示LED81を点灯し、曲表示LED79
および80を点滅状態とした後、ステツプ202
および203で所定の時間例えば30秒を限度とし
ていずれかの曲選択スイツチが押下されるまで待
機する。もし、この所定時間内に曲選択スイツチ
79または80のいずれも押下されなければ、上
記エデイツト/クリアスイツチ81の押下は誤操
作と判断してステツプ203からステツプ230
へスキツプし、ここで、プログラムモード表示
LED81および曲表示LED79および80を消
灯した後、このプログラム処理を終了して、ステ
ツプ102(第4図)へ戻る。2 Program Processing Referring to FIG.
and 80 in a blinking state, step 202
In step 203, the program waits for a predetermined period of time, for example, up to 30 seconds, until any song selection switch 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 steps 203 to 230 are performed.
Skip to and here show program mode
After turning off the LED 81 and the music display LEDs 79 and 80, this program processing is terminated and the process returns to step 102 (FIG. 4).
ステツプ202においていずれかの曲選択スイ
ツチ79(または80)の押下が検出されたこと
が検出されると、ステツプ204へ進み、選択さ
れた曲の曲表示LED79(または80)を点灯
し、他の曲表示LED80(または79)は消灯
する。続くステツプ205では、エデイツトフラ
グEFを検査する。もし、フラグEFが“1”であ
れば、現在のモードはエデイツトモードであるか
ら、ステツプ206で選択された曲の演奏データ
エリアからレジストデータC,1〜8をレジスト
レーシヨンメモリ22にロードするとともに曲始
めレジストデータCをパネルにセツトし、さらに
ステツプ207でポインタPNTを楽譜データ4
1の先頭データ(第13図のPD1)の位置にセ
ツトし、この先頭データを読み出して表示(レジ
ストデータ等)するか、または発音(コードデー
タ)した後、ステツプ220に移行する。一方、
ステツプ205においてフラグEFが“0”と判
定されたときは、現在のモードは新規記録モード
であるから、ステツプ211へ進む。そして、ス
テツプ211で選択曲の演奏データエリアにリセ
ツトデータをロードし、かつ選択した曲のレジス
タ類をクリアし、さらにステツプ212でパネル
面のレジストデータを曲始めレジストデータCと
して上記演奏データエリアにロードした後、ステ
ツプ220に移行する。 When it is detected in step 202 that one of the song selection switches 79 (or 80) has been pressed, the process proceeds to step 204, where the song display LED 79 (or 80) of the selected song is lit, and the other songs are turned on. The song display LED 80 (or 79) turns off. In the following step 205, the edit flag EF is checked. If the flag EF is "1", the current mode is the edit mode, so the registration data C, 1 to 8 are loaded into the registration memory 22 from the performance data area of the selected song in step 206. At the same time, the song start registration data C is set on the panel, and in step 207, the pointer PNT is set to the score data 4.
1 (PD1 in FIG. 13), and after this first data is read out and displayed (registration data, etc.) or sounded (code data), the process moves to step 220. on the other hand,
If the flag EF is determined to be "0" in step 205, the current mode is the new recording mode, so the process advances to step 211. 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.Furthermore, in step 212, the registration data on the panel is loaded into the performance data area as song start registration data C. After loading, the process moves to step 220.
ステツプ220では、プログラムモードがオフ
になつたか否かを検査する。プログラムモードが
オフになる場合とは、プログラムモード設定中
にエデツト/クリアスイツチ92が再度押下され
た場合、現在プログラム中でない曲の曲選択ス
イツチ80(または79)が押下された場合、
メニュー切換スイツチ93が操作された場合、お
よび再生スイツチが押下された場合である。も
し、ここで、プログラムモードがオフになつてい
なければ、ステツプ300(第6図)のデータ入
力・編集処理を行なう。 Step 220 checks to see if the program mode has been turned off. Program mode is turned off when the edit/clear switch 92 is pressed again during program mode setting, when the song selection switch 80 (or 79) of a song that is not currently being programmed is pressed,
This occurs when the menu changeover switch 93 is operated and when the playback switch is pressed. If the program mode is not turned off at this point, the data input/edit process of step 300 (FIG. 6) is performed.
3 データ入力・編集処理
このデータ入力・編集処理においては、ステツ
プ301〜305でそれぞれデータ入力・編集用
のスイツチを検査し、押下されたスイツチに対応
してステツプ400〜900の処理を行なう。3 Data Input/Edit Processing In this data input/edit process, the data input/edit switches are checked in steps 301-305, and steps 400-900 are performed in accordance with the pressed switch.
4 和音・休符データ入力処理
拍長スイツチ89〜91のいずれかが押下され
たときは、ステツプ301からステツプ400に
移行して、和音・休符データ入力処理を行なう。
つまり、第7図を参照して、ステツプ401で押
下された拍長ステツプに対応する拍長LEDを点
灯し、ステツプ402で楽譜データエリア41に
メモリスペースが残つているか否かを検査する。
そして、メモリスペースが残つていればステツプ
403に進んでポインタPNTで示された位置
(以下、ポインタ位置という)のデータをクリア
した後、ステツプ404で下鍵盤のいずれかの鍵
が押鍵中であるか否かを検査する。下鍵盤が押鍵
中であればステツプ405へ進んで押下された拍
長スイツチに割当てられた拍長データと下鍵盤の
押鍵状態より検出された和音データとを上記ポイ
ンタ位置へロードし、一方、下鍵盤に押下鍵がな
ければステツプ406へ進んで上記拍長データと
休符データとを上記ポインタ位置へロードする。
続いてステツプ407において拍長LEDを消灯
し、ポインタPNTを歩進して次のデータを表示
または発音した後、この和音・休符データ入力処
理を終了する。つまり、ステツプ220(第5
図)へ戻る。4. Chord/Rest Data Input Processing When any of the beat length switches 89 to 91 is pressed, the process moves from step 301 to step 400, where chord/rest data input processing is performed.
That is, referring to FIG. 7, the beat length LED corresponding to the pressed beat length step is turned on in step 401, and it is checked in step 402 whether or not memory space remains in the musical score data area 41.
If there is memory space remaining, the process advances to step 403 to clear the data at the position indicated by the pointer PNT (hereinafter referred to as the pointer position), and then in step 404, if any key on the lower keyboard is being pressed. Check whether or not. If the lower keyboard is being pressed, the process advances to step 405, where the beat length data assigned to the pressed beat length switch and the chord data detected from the pressed state of the lower keyboard are loaded to the above pointer position; If there is no pressed key on the lower keyboard, the process advances to step 406 and the beat length data and rest data are loaded to the pointer position.
Subsequently, in step 407, the beat length LED is turned off, the pointer PNT is advanced to display or sound the next data, and then the chord/rest data input process is ended. That is, step 220 (fifth
Return to figure).
また、上記和音・休符データ入力処理中、ステ
ツプ402で検査した結果がメモリスペース無し
であるときは、これ以上のデータの書き込みはで
きないから、ステツプ410で警告音を発生し、
ステツプ411で拍長LEDを消灯した後、この
和音・休符データ入力処理を終了する。 Furthermore, during the chord/rest data input process, if the result of the check in step 402 is that there is no memory space, no more data can be written, so a warning sound is generated in step 410.
After the beat length LED is turned off in step 411, this chord/rest data input process is ended.
5 記号データ入力処理
第6図のデータ入力・編集処理において、ステ
ツプ302で記号スイツチ83〜85のいずれか
が押下されたことが検出されれば、処理はステツ
プ302からステツプ500の記号データ入力処
理に移行する。つまり、第8図を参照して、押下
されたスイツチに対応する記号LEDを点灯した
(ステツプ501)後、ポインタ位置のデータが
記号データであるか否かを判定する(ステツプ5
02)。もし、記号データであれば、ステツプ5
03を経てステツプ504でポインタ位置のデー
タをクリアした後、入力された記号データをポイ
ンタ位置にロードする(ステツプ505)。すな
わち、ポインタ位置のデータを新たに入力された
記号データでエクスチエンジする。5 Symbol Data Input Processing In the data input/editing process shown in FIG. 6, if it is detected in step 302 that any of the symbol switches 83 to 85 has been pressed, the process proceeds to the symbol data input process from step 302 to step 500. to move to. That is, referring to FIG. 8, after lighting up the symbol LED corresponding to the pressed switch (step 501), it is determined whether the data at the pointer position is symbol data (step 5).
02). If it is symbolic data, step 5
After clearing the data at the pointer position in step 504 through step 03, the input symbol data is loaded into the pointer position (step 505). That is, data at the pointer position is expressed with newly input symbol data.
一方、ステツプ502の判定が“否”、すなわ
ちポインタ位置のデータが記号データでなければ
ステツプ510を経てステツプ511でポインタ
位置以後のデータを1バイトずつ後方へシフト
し、上記ステツプ505では上記新たな記号デー
タをポインタ位置へロードする。すなわち、ポイ
ンタ位置に新たな記号データをインサートする。 On the other hand, if the determination in step 502 is "no", that is, if the data at the pointer position is not symbolic data, the data after the pointer position is shifted backward one byte at a time via step 510 and step 511, and in step 505, the data after the pointer position is shifted backward one byte at a time. Load symbolic data into the pointer location. That is, new symbol data is inserted at the pointer position.
続くステツプ506では、上記ステツプにおい
て入力され、ロードされた記号データが、終止記
号であつたか否かを判定する。そして、終止記号
でなければステツプ507で記号LEDを消灯し、
ポインタPNTを歩進し、かつ次のデータを表示
または発音した後、終止記号であればそのまま、
この記号データ入力処理を終了してステツプ22
0(第5図)へ戻る。 In the following step 506, it is determined whether the symbol data input and loaded in the above step is a terminal symbol. Then, if it is not a final symbol, the symbol LED is turned off in step 507,
After advancing the pointer PNT and displaying or sounding the next data, if it is a final symbol, then
After completing this symbol data input process, proceed to step 22.
Return to 0 (Figure 5).
なお、上記ステツプ503および510ではメ
モリスペースが残つているか否かを検査するが、
これは、前記和音・休符データ入力処理において
説明したように、メモリスペースが残つていなけ
れば、データの書き込みを継続することが不適当
であるから、警報を発生し(ステツプ521)、
記号LEDをオフし(ステツプ522)て、処理
を終了するためである。 Note that in steps 503 and 510, it is checked whether memory space remains.
This is because, as explained in the chord/rest data input process, if there is no memory space remaining, it is inappropriate to continue writing data, so an alarm is generated (step 521).
This is to turn off the symbol LED (step 522) and end the process.
6 レジストデータ入力処理
データ入力・編集処理(第6図)のステツプ3
03においてレジストスイツチ70〜78のいず
れかが押下されたことが検出されれば、処理はス
テツプ303からステツプ600のレジストデー
タ入力処理に移行する。つまり、第9図を参照し
て、押下されたスイツチに対応するレジスト
LEDを点灯した(ステツプ601)後、ポイン
タ位置が選択された曲の楽譜データの先頭データ
(例えば第13図のPD1)位置であるか否かを判
定する(ステツプ602)。もし、ポインタ位置
が先頭データ位置でなければレジストレーシヨン
メモリ22内に格納されているレジストデータ
C,1〜8のうち押下されたレジストスイツチに
対応するものの内容をパネル上に再現する(ステ
ツプ603)。6 Registration data input processing Step 3 of data input/editing processing (Figure 6)
If it is detected in step 03 that any one of the registration switches 70 to 78 has been pressed, the process moves from step 303 to registration data input processing in step 600. In other words, referring to FIG. 9, the register corresponding to the pressed switch is
After lighting the LED (step 601), it is determined whether the pointer position is at the beginning of the musical score data of the selected song (for example, PD1 in FIG. 13) (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)。一方、ステツプ61
1の判定が“否”、すなわちポインタ位置のデー
タがレジストデータ以外のデータであれば、メモ
リスペースがあることを確認し(ステツプ62
0)、ポインタ位置以後のデータを1バイトずつ
後方へシフトした(ステツプ621)後、上記ス
テツプ614に進み、入力されたレジストデータ
をポインタ位置へロードする。 Subsequently, in step 611, it is determined whether the data at the pointer position is registration data. If it is registration data, after confirming that there is memory space (step 612), clear the data at the pointer position (step 613),
The input registration data is loaded into the pointer position (step 614). On the other hand, step 61
If the judgment in step 1 is "no", that is, if the data at the pointer position is data other than the register data, it is confirmed that there is memory space (step 62).
0), the data after the pointer position is shifted backward one byte at a time (step 621), and then the process proceeds to step 614, where the input registration data is loaded into the pointer position.
すなわち、ステツプ611〜621の処理におい
ては、入力データがレジストデータである場合
に、ポインタ位置のデータが同じレジストデータ
であればポインタ位置のデータを入力されたレジ
ストデータでエクスチエンジし、一方、ポインタ
位置のデータがレジストデータ以外のデータであ
れば新たに入力されたレジストデータはポインタ
位置のデータの直前にインサートするようにして
いる。That is, in the processing of steps 611 to 621, when the input data is registration data, if the data at the pointer position is the same registration data, the data at the pointer position is executed with the input registration data; If the position data is data other than registration data, the newly input registration data is inserted immediately before the data at the pointer position.
ステツプ614の処理に続いて、ステツプ65
1でレジストLEDをオフし、かつポインタを歩
進しで演奏データエリアの次の楽譜データを表示
または発音した後、このレジストデータ入力処理
を終了してステツプ220(第5図)へ戻る。 Following the processing of step 614, step 65
After turning off the registration LED in step 1 and displaying or sounding the next musical score data in the performance data area by advancing the pointer, this registration data input process is completed and the process returns to step 220 (FIG. 5).
なお、ステツプ612または620においてメ
モリスペース無しと判定されたときは、これ以上
のデータの変更、加入はできないものと判断し
て、警告音を発生し(ステツプ630)、レジス
トLEDをオフした(ステツプ631)後、この
レジストデータ入力処理を終了してステツプ22
0(第5図)へ戻る。また、上記ステツプ602
の判定において、ポインタ位置が楽譜データの先
頭データ位置であるときは、ステツプ604に進
み、パネル上のレジストデータを曲始めレジスト
データCとしてレジストレーションメモリ22に
ロードし、ステツプ631でレジストLED70
〜78をオフした後、このレジストデータ入力処
理を終了し、ステツプ220(第5図)へ戻る。 If it is determined in step 612 or 620 that there is no memory space, it is determined that no further data can be changed or added, a warning sound is generated (step 630), and the registration LED is turned off (step 630). 631), this registration data input process is finished and step 22 is completed.
Return to 0 (Figure 5). In addition, the above step 602
In the judgment, if the pointer position is the first data position of the musical score data, the process advances to step 604, where the registration data on the panel is loaded into the registration memory 22 as song start registration data C, and in step 631, the registration LED 70 is loaded.
After turning 78 off, this registration data input process is completed and the process returns to step 220 (FIG. 5).
7 カーソル移動処理
データ入力・編集処理(第6図)のステツプ3
04においてカーソルスイツチ86または87が
押下されたことが検出されれば、処理はステツプ
304からステツプ700のカーソル移動処理に
移行する。つまり、第10図を参照して、ステツ
プ701でカーソルLEDを点灯し、ステツプ7
02でカーソル移動方向を判定する。もし、カー
ソルを番号の若い方へ移動させるための左向きカ
ーソルスイツチ86が押下されたのであれば、処
理をステツプ703に移す。ステツプ703では
現ポインタ位置が楽譜データの先頭データである
か否かを検査する。もし、先頭データであればカ
ーソルをこれ以上左側へ進めても無意味であるか
ら、そのままステツプ707進み、カーソル
LEDをオフしてこのカーソル移動処理を終了す
る。すなわち、このときのカーソル移動指令は無
視する。一方、ステツプ703で先頭データでは
ないと判断したときは、ステツプ704でポイン
タをデクリメントし、ステツプ705でポインタ
位置が先頭データになつたか否かを再度検査す
る。ここで、先頭データになつていればステツプ
706で曲始めのレジストデータCをパネルにセ
ツトした後、一方、先頭データになつていなけれ
ばそのまま、ステツプ707に進む。そして、ス
テツプ707でカーソルLEDをオフした後、こ
のカーソル移動処理を終了し、ステツプ220
(第5図)へ戻る。7 Cursor movement processing Step 3 of data input/editing processing (Figure 6)
If it is detected in step 04 that the cursor switch 86 or 87 has been pressed, the process moves from step 304 to cursor movement processing in step 700. That is, referring to FIG. 10, the cursor LED is lit in step 701, and the
In step 02, the direction of cursor movement is determined. If the left cursor switch 86 for moving the cursor to a smaller number has been pressed, the process moves to step 703. In step 703, 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 further to the left, so proceed to step 707 and move the cursor
Turn off the LED to end 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 704, and it is checked again in step 705 whether the pointer position has become the first data. Here, if it has become the first data, then in step 706 the registration data C at the beginning of the song is set on the panel, and on the other hand, if it has not become the first data, the process directly advances to step 707. After turning off the cursor LED in step 707, this cursor movement process is completed, and step 220
Return to (Figure 5).
一方、ステツプ702において右向きのカーソ
ルスイツチ87が押下されたものと判定されたと
きは、ステツプ710へ進む。ステツプ710で
は現ポインタ位置のデータを検査する。このデー
タが終止記号データまたはリセツトデータであれ
ばこのポインタ位置以後には楽譜データは書き込
まれておらず、カーソルをこれ以上右側へ進めて
も無意味であるから、そのままステツプ707へ
進んでカーソルLEDをオフした後、このカーソ
ル移動処理を終了する。すなわち、このときのカ
ーソル移動指令は無視する。一方、ステツプ71
0の検査したデータが終止記号データおよびリセ
ツトデータのいずれでもなければステツプ711
でポインタをインクリメントした後、ステツプ7
07でカーソル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 final 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 any further to the right, so proceed directly to step 707 and display the cursor LED. After turning off, this cursor movement processing ends. That is, the cursor movement command at this time is ignored. On the other hand, step 71
If the checked data of 0 is neither terminal symbol data nor reset data, step 711
After incrementing the pointer with , step 7
At step 07, the cursor LED is turned off to end this cursor movement process, and the process returns to step 220 (FIG. 5).
8 オートカーソル処理
データ入力・編集処理(第6図)のステツプ3
05においてリズムスタートスイツチが押下され
たことが検出されれば、処理はステツプ305か
らステツプ800のオートカーソル処理に移行す
る。つまり、第11図を参照して、ステツプ80
1でポインタ位置のデータを読み出して表示し、
ステツプ802でリズムスタートスイツチ52が
オフされたか否かを検査する。リズムスタートス
イツチ52がオフされていなければ、さらに次の
ステツプ803でリズムランフラグRRFを検査
する。8 Auto cursor processing Step 3 of data input/editing processing (Figure 6)
If it is detected in step 05 that the rhythm start switch has been pressed, the process moves from step 305 to automatic cursor processing in step 800. That is, with reference to FIG.
1 reads and displays the data at the pointer position,
In step 802, it is checked whether the rhythm start switch 52 is turned off. If the rhythm start switch 52 is not turned off, the rhythm run flag RRF is further checked in the next step 803.
このリズムランフラグRRFは、リズムスター
トスイツチ52をオンした後、最初に和音もしく
は休符データが読み出されたとき(ステツプ80
5)セツトされるとともに、リズムスタートスイ
ツチ52がオフする(ステツプ812)か、後述
するオートカーソル割込処理(第12図)おいて
読み出すべき楽譜データが無くなつたとき(ステ
ツプ911)リセツトされる。 This rhythm run flag RRF is set when chord or rest data is first read out after turning on the rhythm start switch 52 (step 80).
5) In addition to being set, it is reset when the rhythm start switch 52 is turned off (step 812) or when there is no more musical score data to be read in the auto cursor interrupt process (FIG. 12) described later (step 911). .
従つて、リズムスタートスイツチ52をオンし
た直後はリズムランフラグRRFがセツトされて
いない。この場合は、ステツプ804以下におい
て、ステツプ801で読み出したデータに応じて
ステツプ805〜808の処理を実行する。 Therefore, immediately after the rhythm start switch 52 is turned on, the rhythm run flag RRF is not set. 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で読み出されたデー
タが和音または休符データであれば、ステツプ8
05へ進んで、リズムカウンタRNTをスタート
し、リズムランフラグRRFをセツトし、読み出
したデータに応じたコード音を発音(休符は無音
のコードとして取り扱う)し、拍長データを拍長
カウンタHLTへセツトした後、ステツプ801
に戻る。 That is, if the data read out in step 801 is chord or rest data, the data read out in step 801 is
Proceed to step 05, start the rhythm counter RNT, set the rhythm run flag RRF, sound the chord sound according to the read data (rests are treated as silent chords), and input the beat length data to the beat length counter HLT. After setting, step 801
Return to
また、ステツプ801で読み出したデータレジ
ストナンバデータであれば、対応するレジストデ
ータをパネルにセツトした後(ステツプ806)、
また、反復記号データであればそのまま、ステツ
プ807でポインタPNTを歩進してステツプ8
01に戻る。 Furthermore, if the data is the registration number data read out in step 801, after setting the corresponding registration data on the panel (step 806),
Also, if it is repeated symbol data, the pointer PNT is incremented in step 807 and the data is returned to step 8.
Return to 01.
一方、ステツプ801で読み出されたデータが
終止記号もしくはリセツトデータであれば、現ポ
インタ位置以後に楽譜データは書き込まれていな
いのであるから、そのまま、このオートカーソル
処理を終了し、ステツプ220(第5図)へ戻
る。 On the other hand, if the data read in step 801 is a final symbol or reset data, no musical score data has been written after the current pointer position, so the auto cursor processing is ended and step 220 (step 220) is performed. Return to Figure 5).
上記ステツプ805においてリズムランフラグ
RRFがセツトされると、以後、ステツプ802
および803のループで、リズムスタートスイツ
チ52が再度押下されてオフになるまで待機する
(オートカーソルモード)。 In step 805 above, the rhythm run flag is
Once the RRF is set, step 802
In the loop of 803, the CPU waits until the rhythm start switch 52 is pressed again and turned off (auto cursor mode).
このオートカーソルモードは、リズムスタート
スイツチ52がオフされたことが検出される(ス
テツプ802)ことにより終了する。すなわち、
ステツプ802からステツプ811に進み、ポイ
ンタ位置のデータを読み出して表示または発音
し、さらにステツプ812でリズムカウンタ
RNTを停止し、リズムランフラグRRFをリセツ
トし、コード音を停止した後、このオートカーソ
ル処理を終了してステツプ220(第5図)へ戻
る。 This auto cursor mode ends when it is detected that the rhythm start switch 52 is turned off (step 802). That is,
Proceeding from step 802 to step 811, the data at the pointer position is read out and displayed or sounded.Furthermore, in step 812, the rhythm counter is
After stopping the RNT, resetting the rhythm run flag RRF, and stopping the chord tones, this automatic cursor processing is ended and the process returns to step 220 (FIG. 5).
9 オートカーソル割込処理
上記オートカーソルモード(ステツプ802お
よび803のループ処理)中は、テンポ発生器1
8から自動演奏の1拍分に相当する周期で発生す
るテンポクロツクを割込信号として以下の割込処
理(ステツプ900)を行なう。第12図を参照
して、ステツプ901では、拍長カウンタHLT
をデクリメントし、ステツプ902でこの拍長カ
ウンタの計数値が0になつたか否かを検査する。
もし、拍長カウンタの計数値が0になつていなけ
れば、そのまま割込を解除して元のルーチンに戻
る。すなわち、この場合はコード音の発音時間が
拍長データで示された時間を経過していないので
あるから、今までの発音をそのまま持続する。9 Auto cursor interrupt processing During the above auto cursor mode (loop processing of steps 802 and 803), the tempo generator 1
8, the following interrupt processing (step 900) is performed using the tempo clock generated at a cycle corresponding to one beat of automatic performance as an interrupt signal. Referring to FIG. 12, in step 901, the beat length counter HLT
is decremented, and in step 902 it is checked whether the count value of this beat length counter has reached zero.
If the count value of the beat length counter has not reached 0, the interrupt is canceled and the process returns 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 continues as is.
一方、拍長カウンタHLTの計数値が0になつ
たときは、前和音データで指定されたコード音を
拍長データで指定された拍数分だけ発音し終えた
のであるから、ステツプ903でポインタPNT
を進めてその位置のデータを読み出して表示し、
さらに、そのデータ種類に応じて以下の処理を行
なう。 On the other hand, when the count value of the beat length counter HLT reaches 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 PNT
to read and display the data at that position,
Furthermore, the following processing is performed depending on the data type.
すなわち、読み出されたデータが、和音または
休符データであれば、ステツプ910でそのデー
タに相当するコード音を発音(休符は無音のコー
ドとして取り扱う)し、この和音または休符デー
タと対で読み出される拍長データを拍長カウンタ
HLTへセツトした後、割込を解除して元のルー
チンに戻る。これにより、以後コード音はこの新
たな和音データによるコード音に変更されて発音
される。 That is, if the read data is chord or rest data, in step 910 a chord sound corresponding to that 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). The beat length data read out by the beat length counter
After setting to HLT, cancel the interrupt and return to the original routine. As a result, from now on, chord tones are changed to chord tones based on this new chord data and are produced.
また、読み出されたデータが、終止記号または
リセツトデータであれば、演奏データは終了した
のであるから、ステツプ920でリズムカウンタ
を停止し、リズムランフラグRRFをリセツトし、
コード音を停止した後、このオートカーソル処理
を終了してステツプ220(第5図)へ戻る。 Furthermore, if the read data is a final symbol or reset data, the performance data has ended, so the rhythm counter is stopped in step 920, the rhythm run flag RRF is reset,
After the chord sound is stopped, this automatic cursor processing is terminated and the process returns to step 220 (FIG. 5).
さらに、読み出されたデータがレジストナンバ
データであれば、ステツプ930で対応するレジ
ストデータをパネルにセツトした後、また、反復
記号データであればそのまま、ステツプ903に
戻る。すなわち、この割込処理においては和音も
しくは休符データまたは終止記号もしくはリセツ
トデータが読み出されるまでの全部のレジストデ
ータおよび反復記号(通常、合せて2個以内)を
読み出し、和音もしくは休符データまたは終止記
号もしくはリセツトデータが読み出されて始めて
割込が解除され、元のルーチンに戻ることにな
る。 Furthermore, 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 returns to step 903. That is, in this interrupt processing, all register data and repeat symbols (usually up to two in total) are read out until the chord or rest data, stop symbol, or reset data is read, and the chord or rest data or stop 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.
[発明の効果]
以上のようにこの発明によると、変更箇所の前
データと変更のため入力した新データとを比較
し、これらの組合せに応じて新データを前データ
とエクスチエンジするか、それとも変更箇所の直
前または直後にインサートするかの変更動作モー
ドをを自動的に決定するようにしているため、特
に演奏データのエデイツト時における、インサー
トモードへの切換え、およびインサートまたはデ
リートモード設定後のエクスチエンジモードへの
切換え操作が不要となり、エデイツト時の操作手
順を簡略化することができる。また、レジスト変
更を基本的にインサートモードで行なうようにす
れば、インサートモード指定スイツチをパネルか
らなくすことも可能である。[Effects 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 executed with the previous data or Since the change operation mode is automatically determined to insert immediately before or after the changed part, it is especially important to switch to insert mode when editing performance data, and to insert after insert or delete mode. There is no need to switch to the change mode, and the operating procedure during editing can be simplified. Furthermore, if the registration is basically changed in the insert mode, it is possible to eliminate the insert mode designation switch from the panel.
第1図は、この発明の一実施例に係る自動演奏
装置を適用した電子楽器のブロツク図、第2図
は、第1図の装置のパネル部外観図、第3図は、
第1図の装置のメニュー切換スイツチの説明図、
第4〜12図は、第1図の装置の動作を説明する
ためのフローチヤート、第13図は、第1図の装
置のメモリに格納された演奏データのフオーマツ
ト図である。
10……鍵スイツチ回路、12……制御操作子
回路、14……CPU、18……プログラムメモ
リ、20……ワーキングメモリ、22……レジス
トレーシヨンメモリ、24……演奏データメモ
リ、30……楽音形成回路、32……増幅器、3
4……スピーカ、70〜78……レジストレーシ
ヨンスイツチ、82……ト音記号スイツチ、83
〜85……反復記号スイツチ、86,87……カ
ーソルスイツチ、88……終止記号スイツチ、8
9〜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 of FIG. 1, and FIG.
An explanatory diagram of the menu changeover switch of the device shown in FIG. 1,
4 to 12 are flowcharts for explaining the operation of the apparatus shown in FIG. 1, and FIG. 13 is a format diagram of performance data stored in the memory of the apparatus shown in FIG. 10... Key switch circuit, 12... Control operator circuit, 14... CPU, 18... Program memory, 20... Working memory, 22... Registration memory, 24... Performance data memory, 30... Musical tone forming circuit, 32...Amplifier, 3
4... Speaker, 70-78... Registration switch, 82... Treble clef switch, 83
~85... Repeat symbol switch, 86, 87... Cursor switch, 88... Termination symbol switch, 8
9-91...beat length switch, 92...edit/clear switch.
Claims (1)
操作子と、 上記演奏データが格納される書換え可能なメモ
リと、 上記入力操作子への操作に応じてこのメモリ内
のデータ変更箇所を特定し、かつ上記入力操作子
から入力された新演奏データを、指定されたデー
タ変更モードに応じて、この変更箇所に書き込ま
れている旧演奏データと書き換えるか、またはこ
の変更箇所の直前もしくは直後に挿入する書込制
御手段と、 上記新演奏データと旧演奏データとの組合せに
応じて上記書込制御手段の変更モードを指示する
比較・判断手段と 上記メモリから読み出される演奏データに基づ
いて楽音を形成し発音する楽音発生手段とを具備
することを特徴とする自動演奏装置。 2 前記演奏データが、曲進行データである和音
もしくは休符データ、拍長データおよび反復記号
データと、パネル上の各操作子の設定状態を示す
レジストデータとを含み、 前記書込制御手段は、上記演奏データの変更に
際し前記入力操作子から入力された新演奏データ
がレジストデータであるとき、前記変更箇所の旧
演奏データがレジストデータであればこの変更箇
所のデータを新演奏データで置き換え、レジスト
データでなければこの変更箇所の直前または直後
に新演奏データを挿入する特許請求の範囲第1項
記載の自動演奏装置。[Scope of Claims] 1. An input operator for inputting operation commands and performance data, a rewritable memory in which the performance data is stored, and data in this memory being changed in response to operations on the input operator. Specify the location and rewrite the new performance data input from the input controller with the old performance data written in this changed location, or rewrite the new performance data input from the above input controller with the old performance data written in this changed location, or write the data immediately before this changed location. or a write control means to be inserted immediately after, a comparison/judgment means for instructing a change mode of the write control means according to the combination of the new performance data and the old performance data, and a comparison/judgment means based on the performance data read from the memory. 1. An automatic performance device comprising: musical tone generating means for forming and emitting musical tones. 2. The performance data includes chord or rest data, beat length data, and repetition symbol data, which are music 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 is registered data when changing the performance data, if the old performance data at the changed location is registration data, the data at the changed location is replaced with the new performance data, and the data at the changed location is replaced with the new performance data. 2. 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 data.
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 JPS62151898A (en) | 1987-07-06 |
| JPH0375875B2 true 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) |
Families Citing this family (4)
| 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 |
-
1985
- 1985-12-26 JP JP60292325A patent/JPS62151898A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62151898A (en) | 1987-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4881440A (en) | Electronic musical instrument with editor | |
| KR100297674B1 (en) | Automatic playing device and processing method of automatic playing data | |
| JP2560372B2 (en) | Automatic playing device | |
| JP3484719B2 (en) | Performance guide device with voice input function and performance guide method | |
| JPH04234090A (en) | Electronic musical instrument | |
| JPH0375875B2 (en) | ||
| JP2005092178A (en) | Apparatus and program for automatic musical performance | |
| JP3844286B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JP2773638B2 (en) | Automatic performance device | |
| JP3649014B2 (en) | Performance data file playback setting control device | |
| JP3171759B2 (en) | Automatic performance device | |
| JP3843688B2 (en) | Music data editing device | |
| JP3555255B2 (en) | Automatic accompaniment device | |
| JP4214845B2 (en) | Automatic arpeggio device and computer program applied to the device | |
| JP2643277B2 (en) | Automatic performance device | |
| JP2570411B2 (en) | Playing equipment | |
| JPH075875A (en) | Automatic player | |
| JP2556040B2 (en) | Automatic playing device | |
| JPH06337674A (en) | Electronic musical instrument automatic performance device | |
| JP2641851B2 (en) | Automatic performance device | |
| JPH10288987A (en) | Electronic musical instrument and musical sound control data generating device | |
| JP3895139B2 (en) | Automatic performance device | |
| JP3758041B2 (en) | Musical sound control data generator | |
| JP3324318B2 (en) | Automatic performance device | |
| JPS61175691A (en) | Automatic performer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |