Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0690617B2 - Electronic musical instrument - Google Patents
[go: Go Back, main page]

JPH0690617B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0690617B2
JPH0690617B2 JP62025886A JP2588687A JPH0690617B2 JP H0690617 B2 JPH0690617 B2 JP H0690617B2 JP 62025886 A JP62025886 A JP 62025886A JP 2588687 A JP2588687 A JP 2588687A JP H0690617 B2 JPH0690617 B2 JP H0690617B2
Authority
JP
Japan
Prior art keywords
data
fmp
key
performance data
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62025886A
Other languages
Japanese (ja)
Other versions
JPS63193189A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP62025886A priority Critical patent/JPH0690617B2/en
Priority to US07/153,226 priority patent/US4898059A/en
Publication of JPS63193189A publication Critical patent/JPS63193189A/en
Publication of JPH0690617B2 publication Critical patent/JPH0690617B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、電子楽器本体内の演奏データを記憶再生す
ると共に、楽器本体に着脱自在な外部記憶手段へ該演奏
データを転送することができる電子楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION "Industrial field of application" The present invention is capable of storing and reproducing performance data in an electronic musical instrument body and transferring the performance data to an external storage means detachably attached to the musical instrument body. Regarding electronic musical instruments.

「従来の技術」 鍵盤演奏に対応する演奏データを内部に記憶し、この記
憶した演奏データによって自動演奏を行えるようにした
電子楽器が開発されている。また、この種の電子楽器に
おいては、内部に記憶した演奏データを外部メモリに転
送し得るようになっている(例えば、特開昭59-139093
号公報参照)。
"Prior Art" An electronic musical instrument has been developed in which performance data corresponding to a keyboard performance is stored inside and an automatic performance can be performed by the stored performance data. Further, in this type of electronic musical instrument, the performance data stored inside can be transferred to an external memory (for example, Japanese Patent Laid-Open No. 59-139093).
(See the official gazette).

「発明が解決しようとする問題点」 ところで、上述した従来の電子楽器においては、外部メ
モリの記憶容量を考慮せずに、内部メモリに記憶されて
いる演奏データを一意的に当該外部メモリへ転送する形
態であり、外部メモリの記憶容量が内部メモリより小さ
いと、この内部メモリから読み出した演奏データの全部
を転送することができず、転送エラーが発生してしま
う。
"Problems to be Solved by the Invention" In the conventional electronic musical instrument described above, the performance data stored in the internal memory is uniquely transferred to the external memory without considering the storage capacity of the external memory. If the storage capacity of the external memory is smaller than that of the internal memory, it is not possible to transfer all the performance data read from the internal memory, and a transfer error occurs.

したがって、こうした転送エラーを避けるためには、外
部メモリの記憶容量を内部メモリの記憶容量と同じにす
るか、あるいはそれ以上のものを用いる必要が生じる。
このため、比較的価格が安価な記憶容量の少ないメモリ
を外部メモリとして使用することができず、コストアッ
プを招致する要因となっていた。
Therefore, in order to avoid such a transfer error, it becomes necessary to make the storage capacity of the external memory equal to or larger than the storage capacity of the internal memory.
For this reason, a memory which is relatively inexpensive and has a small storage capacity cannot be used as an external memory, which causes a cost increase.

さらに、上述したように、記憶容量の少ない外部メモリ
に演奏データを転送すると、転送エラーに起因して作成
した演奏データが無駄になってしまうという欠点もあっ
た。
Further, as described above, when the performance data is transferred to the external memory having a small storage capacity, the performance data created due to the transfer error is wasted.

この発明は、上述した事情に鑑みてなされたもので、内
部メモリの記憶容量よりも少ない記憶容量の外部メモリ
を用いた場合でも、転送エラーを起こすことがなく、し
かも、転送用に作成した演奏データを無駄にすることが
ない電子楽器を提供することを目的としている。
The present invention has been made in view of the above-mentioned circumstances. Even when an external memory having a storage capacity smaller than that of the internal memory is used, a transfer error does not occur, and a performance created for transfer is created. The purpose is to provide an electronic musical instrument that does not waste data.

「問題点を解決するための手段」 この発明は、楽器本体内に設けられ、演奏データを記憶
する内部記憶手段と、前記楽器本体と着脱自在に構成さ
れる外部記憶手段とを有する電子楽器において、前記演
奏データの転送を指示する転送指示手段と、前記転送指
示手段によって転送が指示された場合、前記外部記憶手
段の記憶容量を判定する判定手段と、この判定手段によ
って判定された記憶容量に応じて前記内部記憶手段から
前記演奏データの全部あるいは前記演奏データの一部を
読み出して前記外部記憶手段へ転送する転送制御手段と
を具備することを特徴としている。
"Means for Solving Problems" The present invention relates to an electronic musical instrument which is provided in the musical instrument main body and has an internal storage means for storing performance data and an external storage means detachably attached to the musical instrument main body. A transfer instruction means for instructing transfer of the performance data, a determination means for determining the storage capacity of the external storage means when the transfer is instructed by the transfer instruction means, and a storage capacity determined by the determination means. Accordingly, it is characterized by comprising a transfer control means for reading the entire performance data or a part of the performance data from the internal storage means and transferring it to the external storage means.

「作用」 上記構成によれば、転送指示手段が内部記憶手段に記憶
されている演奏データの転送を指示すると、判定手段が
外部記憶手段の記憶容量を判定し、転送制御手段が判定
された記憶容量に応じて前記内部記憶手段から前記演奏
データの全部あるいは前記演奏データの一部を読み出し
て前記外部記憶手段へ転送する。
[Operation] According to the above configuration, when the transfer instructing means instructs the transfer of the performance data stored in the internal storage means, the determination means determines the storage capacity of the external storage means, and the transfer control means determines the determined storage. Depending on the capacity, all of the performance data or a part of the performance data is read from the internal storage means and transferred to the external storage means.

これにより、内部記憶手段より小さい記憶容量の外部記
憶手段を用いた場合でも、演奏データの一部が転送され
るから、従来のように転送エラーが発生せず、転送用に
作成した演算データを無駄にすることもなくなる。
As a result, even if an external storage means having a storage capacity smaller than that of the internal storage means is used, a part of the performance data is transferred, so that a transfer error does not occur unlike the conventional case, and the operation data created for transfer can be stored. It will not be wasted.

「実施例」 以下、図面を参照してこの発明の実施例について説明す
る。
[Examples] Examples of the present invention will be described below with reference to the drawings.

(1)第1の実施例 (1−1)第1の実施例の構成 第1図は、この発明の第1の実施例の構成を示すブロッ
ク図である。図において、1は装置各部を制御するCPU
(中央処理装置)であり、プログラムメモリ2内に記憶
されているプログラムに基づいて動作する。3はCPU1の
処理にしたがって種々のデータが記憶されるワーキング
エリアであり、後述する各種レジスタが設定されてい
る。
(1) First Embodiment (1-1) Configuration of the First Embodiment FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. In the figure, 1 is a CPU that controls each part of the device
It is a (central processing unit) and operates based on a program stored in the program memory 2. Reference numeral 3 is a working area in which various data are stored according to the processing of the CPU 1, and various registers described later are set therein.

5は、アッパーキーUK、ロワーキーLK、ペダルキーPKお
よびソロキーSKからなるキースイッチ部であり、上記各
キーのオン/オフ情報がキースイッチインターフェース
6を介してCPU1に供給される。ここで、ソロキーSKと
は、ソロ演奏時に用いられるキーであり、後着優先ある
いは最高音優先の処理により、いづれか1音のみが有効
となるようになっている。通常ソロキーSKはアッパーキ
ーUKの上段に設けられている。
Reference numeral 5 denotes a key switch unit composed of an upper key UK, a lower key LK, a pedal key PK and a solo key SK, and ON / OFF information of each of the above keys is supplied to the CPU 1 via the key switch interface 6. Here, the solo key SK is a key used at the time of solo performance, and only one of the notes is enabled by the processing of the late arrival priority or the highest note priority. Usually, Solo Key SK is provided on the upper row of Upper Key UK.

4は、液晶表示器およびそのドライブ回路によって構成
されている表示部であり、CPU1の制御の下に、各種メッ
セージを表示する。
Reference numeral 4 denotes a display unit composed of a liquid crystal display and its drive circuit, which displays various messages under the control of the CPU 1.

パネルスイッチ部8は、操作パネル上に設けられている
各種スイッチ、すなわち、音色、効果、リズム等を選択
するためのスイッチ、および演奏データを制御するため
のスイッチ等からなっている。このパネルスイッチ部8
の各スイッチのオン/オフ情報はパネルスイッチインタ
ーフェース9を介してCPU1に供給されるようになってい
る。
The panel switch section 8 includes various switches provided on the operation panel, that is, switches for selecting a tone color, effect, rhythm, etc., and switches for controlling performance data. This panel switch section 8
The ON / OFF information of each switch is supplied to the CPU 1 via the panel switch interface 9.

ここで、第2図に示す各スイッチは、パネルスイッチ部
8における演奏データ制御用のスイッチであり、以下に
これらのスイッチについて説明する。
Here, each switch shown in FIG. 2 is a performance data control switch in the panel switch section 8, and these switches will be described below.

(i)スイッチFMP・REC スイッチFMP・RECが押されると、CPU1は操作者によって
行われる演奏に対応する演奏データを演奏データメモリ
10に記憶させる。演奏データとは、キースイッチ部5に
おける各キーの音高、オン/オフ情報およびパネルスイ
ッチ部8における音色スイッチ、リズム選択スイッチ等
のオン/オフ情報(レジストレーション情報)から構成
されている。また、スイッチFMP・RECがオンとなってい
る状態において、スイッチUが押されると演奏データの
うちアッパーキーUKのオン/オフ情報を除いたものが演
奏データメモリ10に供給される。同様に、スイッチL、
スイッチP、スイッチS、およびスイッチRが押される
と、ロワーキーLK、ペダルキーPK、ソロキーSKのオン/
オフ情報およびレジストレーション情報が各々除かれる
ように制御される。したがって、演奏者は演奏データメ
モリ10に記憶させるデータの種類を選択することができ
る。
(I) Switch FMP / REC When the switch FMP / REC is pressed, the CPU1 stores the performance data corresponding to the performance performed by the operator in the performance data memory.
Remember to 10. The performance data is composed of pitch and on / off information of each key in the key switch section 5 and on / off information (registration information) such as a tone color switch and a rhythm selection switch in the panel switch section 8. When the switch U is pressed while the switch FMP / REC is turned on, the performance data excluding the ON / OFF information of the upper key UK is supplied to the performance data memory 10. Similarly, switch L,
When switch P, switch S, and switch R are pressed, lower key LK, pedal key PK, and solo key SK are turned on / off.
The off information and the registration information are controlled to be removed. Therefore, the performer can select the type of data to be stored in the performance data memory 10.

ここで、演算データメモリ10のデータフォーマットを第
3図に示す。この図において、FMP・MuはアッパーキーU
Kのキーデータが記憶されるアッパーキーエリアであ
る。キーデータとは、キーの音高データとオン/オフデ
ータを合わせたものをいう。また、FMP・Mlはロワーキ
ーのキーデータが記憶されるロワーキーエリア、FMP・M
pはペダルキーのキーデータが記憶されるペダルキーエ
リア、FMP・Msはソロキーのキーデータが記憶されるソ
ロキーエリアであり、FMP・Mrはレジストデータが記憶
されるレジストデータエリアである。この場合、アッパ
ーキーエリアFMP・Muが8Kバイト、他のエリアが各々6K
バイトで構成され、全体で32Kバイトの容量となってい
る。
Here, the data format of the arithmetic data memory 10 is shown in FIG. In this figure, FMP and Mu are upper keys U
This is an upper key area in which K key data is stored. The key data is a combination of pitch data and on / off data of the key. In addition, FMP ・ Ml is a lower key area where the key data of the lower key is stored, FMP ・ M
p is a pedal key area where the key data of the pedal key is stored, FMP • Ms is a solo key area where the key data of the solo key is stored, and FMP • Mr is a registration data area where the registration data is stored. In this case, the upper key area FMP / Mu is 8K bytes and the other areas are 6K each.
It is composed of bytes and has a total capacity of 32 Kbytes.

アッパーキーエリアFMP・Mu、ロワーキーエリアFMP・M
l、ペダルキーエリアFMP・Mp.ソロキーエリアFMP・Msお
よびレジストデータエリアFMP・Mrは、各々ポインタP
u、Pl、Pp、Ps、Prによって指示される番地がアクセス
されるようになっており、また、各エリアの開始番地は
図示のように0,n1,n2……となっている。
Upper Key Area FMP / Mu, Lower Key Area FMP / M
l, pedal key area FMP / Mp. solo key area FMP / Ms and registration data area FMP / Mr are respectively pointer P
The addresses designated by u, Pl, Pp, Ps, and Pr are designed to be accessed, and the starting addresses of the areas are 0, n 1 , n 2 ...

(ii)スイッチFMP・PLY スイッチFMP・PLYは、演奏データメモリ10に記憶された
演奏データに基づいて自動演奏を行うときに操作される
スイッチである。このスイッチFMP・PLYが押されると、
CPU1は演奏データメモリ10から演奏データを順次読出し
て楽音発生回路12およびリズム音発生回路13に供給す
る。楽音発生回路12は、アッパーキーUK、ロワーキーLK
……等の各キーのオン/オフ情報と音色選択スイッチ等
のオン/オフ情報に基づいてこれらに対応する楽音を発
生する回路である。リズム音発生回路13は、リズム選択
スイッチにより指定されたリズムにより、また、テンポ
指定ボリューム等によって指定されたテンポでリズム伴
奏を作成する回路である。楽音発生回路12およびリズム
音発生回路13の各出力信号はアンプ14によって増幅され
た後スピーカ15に供給される。
(Ii) Switch FMP / PLY The switches FMP / PLY are switches that are operated when performing an automatic performance based on the performance data stored in the performance data memory 10. When this switch FMP / PLY is pressed,
The CPU 1 sequentially reads the performance data from the performance data memory 10 and supplies it to the musical sound generating circuit 12 and the rhythm sound generating circuit 13. The tone generation circuit 12 is composed of Upper Key UK and Lower Key LK.
It is a circuit for generating musical tones corresponding to these based on the ON / OFF information of each key such as .. and the ON / OFF information of the tone color selection switch. The rhythm sound generation circuit 13 is a circuit that creates a rhythm accompaniment with the rhythm specified by the rhythm selection switch and with the tempo specified by the tempo specification volume or the like. The output signals of the tone generation circuit 12 and the rhythm sound generation circuit 13 are amplified by the amplifier 14 and then supplied to the speaker 15.

(iii)スイッチSAVE スイッチSAVEは、演奏データメモリ10内の演奏データを
外部メモリ(以下RAMパックという)20に転送する際に
操作されるスイッチである。このスイッチSAVEがおされ
ると、CPU1は後述する処理にしたがってデータ転送を行
う。RAMパック20は、電子楽器本体に着脱自在になって
おり、バックアップ電池によって不揮発化されたRAM
(ランダムアクセスメモリ)によって構成されている。
この実施例におけるRAMパックには、8Kバイトのものと3
2Kバイトのものの2種が使用されるようになっている。
(Iii) Switch SAVE The switch SAVE is a switch operated when the performance data in the performance data memory 10 is transferred to the external memory (hereinafter referred to as RAM pack) 20. When the switch SAVE is pressed, the CPU 1 transfers data according to the processing described later. The RAM pack 20 is removable from the body of the electronic musical instrument, and is a non-volatile RAM that uses a backup battery.
(Random access memory).
The RAM packs in this example are 8K bytes and 3
Two types of 2K bytes are now being used.

(iv)スイッチLOAD スイッチLOADは、RAMパック20内の演奏データを演奏デ
ータメモリ10に書き込む際に操作されるスイッチであ
り、このスイッチLOADが押されると、CPU1はRAMパック2
0内の演奏データを順次演奏データメモリ10内に転送す
る。
(Iv) Switch LOAD The switch LOAD is a switch operated when writing the performance data in the RAM pack 20 to the performance data memory 10. When this switch LOAD is pressed, the CPU 1 causes the RAM pack 2
The performance data in 0 is sequentially transferred to the performance data memory 10.

また、上記各スイッチの近傍には、オン状態のときに点
灯する発光ダイオード7,7……が設けられている。
Further, light emitting diodes 7, 7 ... Which are turned on when the switch is on are provided near the respective switches.

以上が、この実施例の構成である。The above is the configuration of this embodiment.

(1−2)実施例の動作 次に、上記構成によるこの実施例の動作について説明す
る。
(1-2) Operation of the Embodiment Next, the operation of this embodiment having the above configuration will be described.

スイッチスキャン処理 まず、CPU1は第4図に示すステップSP1より動作を開始
し、次いで、ステップSP2に移って各メモリやレジスタ
の初期設定処理を行う。次に、スイッチFMP・REC、FMP
・PLY、FMP・SAVE、FMP・LOADの順で、これらのスイッ
チが押されたか否かを調べ(ステップSP3〜SP6)、いず
れのスイッチも押されてない場合には、ステップSP7に
移って他の処理を行った後、ステップSP3に戻る。以
後、上記スイッチのいずれかが押されるまで、ステップ
SP3〜ステップSP7からなるループを循環する。
Switch Scan Processing First, the CPU 1 starts operation from step SP1 shown in FIG. 4, and then moves to step SP2 to perform initialization processing of each memory and register. Next, switch FMP / REC, FMP
Check if these switches are pressed in the order of PLY, FMP / SAVE, FMP / LOAD (steps SP3 to SP6). If none of these switches are pressed, move to step SP7 After performing the process of, the process returns to step SP3. After that, step until one of the above switches is pressed.
A loop consisting of SP3 to step SP7 is cycled.

そして、上記ループを循環中にスイッチFMP・RECが押さ
れると、CP1はスイッチFMP・RECの近傍に設けられてい
る発光ダイオード7を点灯させた後、FMP・REC処理ルー
チンLU1に移り、操作者の実際の演奏に対応する演奏デ
ータを演奏データメモリ10に記憶させる処理を行う。
Then, when the switch FMP / REC is pressed while circulating through the above loop, the CP1 turns on the light emitting diode 7 provided in the vicinity of the switch FMP / REC, and then moves to the FMP / REC processing routine LU1. The performance data corresponding to the actual performance of is stored in the performance data memory 10.

また、同様にしてスイッチFMP・PLY、FMP・SAVE、FMP・
LOADが押されると、各々の近傍にある発光ダイオード7
を点灯させた後、FMP・PLY処理ルーチンLU2、SAVE処理
ルーチンLU3、LOAD処理ルーチンLU4を実行する。
In the same way, switch FMP / PLY, FMP / SAVE, FMP /
When LOAD is pressed, the light emitting diodes 7 near each
After turning on, the FMP / PLY processing routine LU2, the SAVE processing routine LU3, and the LOAD processing routine LU4 are executed.

次に、上記各処理ルーチンLU1〜LU4について説明する。Next, each of the above processing routines LU1 to LU4 will be described.

FMP・REC処理ルーチンLU1 まず、タイマ回路(図示略)、あるいはソフト処理によ
るタイマ機能により、1小節をn分割して小節頭で
「0」、小節終りで「n−1」とする。例えば、n=19
2とすれば、小節頭で「0」、小節終りで「191」として
タイミングデータを作成する。
FMP / REC processing routine LU1 First, one bar is divided into n by a timer circuit (not shown) or a timer function by software processing, and “0” is set at the beginning of the bar and “n−1” is set at the end of the bar. For example, n = 19
If it is 2, timing data is created with "0" at the beginning of the bar and "191" at the end of the bar.

そして、キーの操作に変化があったとき、すなわち、キ
ーがオンもしくはオフとされたとき(以下、キー操作の
変化をイベントという)において、イベントがあったキ
ーの記憶エリア(第3図に示すFMP・Mu、FMP・Ml……参
照)にその時点のタイミングデータを記憶し、さらに、
ポインタを1インクリメントして当該キーのキーデータ
を書き込む。例えば、アッパーキーUKにイベントが発生
した場合は、ポインタPuが指示しているアッパーキーエ
リアFMP・Mlの番地に、イベント発生時のタイミングデ
ータを書き込み、次いで、ポインタPuを1インクリメン
トして次の番地にキーデータ(音高データとオン/オフ
データ)を書き込む。
Then, when there is a change in the operation of the key, that is, when the key is turned on or off (hereinafter, the change in the key operation is referred to as an event), the storage area of the key having the event (shown in FIG. 3). FMP / Mu, FMP / Ml ... (see the timing data at that time), and
The pointer is incremented by 1 and the key data of the key is written. For example, when an event occurs in the upper key UK, the timing data when the event occurs is written in the address of the upper key area FMP · Ml pointed to by the pointer Pu, and then the pointer Pu is incremented by 1 to the next Write the key data (pitch data and on / off data) at the address.

そして、上記処理を各キーおよびレジスト情報について
同様に行い、演奏データメモリ10内に演奏データを記憶
させていく。また、各記憶エリアの演奏データの最後に
は第3図に示すようにデータの終了を示すデータENDが
書き込まれる。
Then, the above processing is similarly performed for each key and the registration information, and the performance data is stored in the performance data memory 10. At the end of the performance data in each storage area, data END indicating the end of the data is written as shown in FIG.

なお、小節区切の縦線もデータとして取り込んで行くよ
うになっている。
It should be noted that the vertical line dividing the bar is also taken in as data.

FMP・PLY処理ルーチンLU2 この処理は、演奏データメモリ10内の演奏データを読出
して楽音を発生する処理であり、演奏データメモリ10内
の各エリア毎に先頭番地から順次データ読出しを行う。
この処理は以下の通りである。
FMP / PLY processing routine LU2 This processing is a processing for reading the performance data in the performance data memory 10 to generate musical tones, and for each area in the performance data memory 10, data is sequentially read from the head address.
This process is as follows.

まず、ポインタ(Pu、Pl……)が示す番地からタイミン
グデータを読出し、このタイミングデータをワーキング
エリア3内に設定されているタイミングレジスタに取り
込む。次に、ポインタを1インクリメントしてキーデー
タを読出し、このキーデータをワーキングエリア3内の
キーデータレジスタに取り込む。そして、テンポクロッ
クをカウントするタイマカウンタのカウント値とタイミ
ングレジスタ内のタイミングデータとが一致した時点に
おいて、キーデータレジスタ内のキーデータを読出して
楽音発生回路12に供給し楽音発生を行う。
First, the timing data is read from the address indicated by the pointer (Pu, Pl ...), and this timing data is loaded into the timing register set in the working area 3. Next, the pointer is incremented by 1 to read the key data, and this key data is loaded into the key data register in the working area 3. Then, when the count value of the timer counter for counting the tempo clock and the timing data in the timing register match, the key data in the key data register is read and supplied to the tone generating circuit 12 to generate a tone.

次に、ポインタをインクリメントし、新たなタイミング
データとキーデータを読出してタイミングレジスタとキ
ーデータレジスタに各々取り込む。そして、タイマカウ
ンタの値がタイミングレジスタ内の値と一致した時点
で、上記同様の発音処理を行う。以後同様にして、演奏
データメモリ10からタイミングデータとキーデータとを
ペアで読み出していき、タイマカウンタとタイミングレ
ジスタ内の値が一致した時点で逐次発音処理を行う。
Next, the pointer is incremented, new timing data and new key data are read out and loaded into the timing register and the key data register, respectively. Then, when the value of the timer counter matches the value in the timing register, the sounding process similar to the above is performed. Thereafter, similarly, the timing data and the key data are read from the performance data memory 10 as a pair, and when the values in the timer counter and the timing register match, the tone generation processing is sequentially performed.

SAVE処理ルーチンLU3 SAVE処理ルーチンLU3は、第4図に示すようにチェック
処理ルーチンLU3aと、この処理に続いて行われるデータ
送出処理ルーチンLU3bとから構成されている。初めに、
チェック処理ルーチンLU3aについて説明する。
SAVE processing routine LU3 As shown in FIG. 4, the SAVE processing routine LU3 is composed of a check processing routine LU3a and a data transmission processing routine LU3b which is performed subsequent to this processing. at first,
The check processing routine LU3a will be described.

(i)チェック処理ルーチンLU3a 第5図はチェック処理ルーチンLU3aを示すフローチャー
トである。このフローチャートに示すように、SAVEスイ
ッチが押されると、その近傍のLEDを点灯させるととも
に、ポインタPu、Pl、Pp、Psの各々に初期値、すなわ
ち、「0」、「n1」、「n2」、「n3」、「n4」をセット
する。また、ワーキングエリア3に設定されているレジ
スタDSP、フラブOVRをクリアする(ステップSP10)。次
に、ステップSP11に移り、本体に接続されているRAMパ
ックの容量をチェックする。この容量チェック処理は第
6図に示すように、まず、RAMパック20が本体に良好に
接続されているかどうかが判定される(ステップSP1
2)。この判定処理はRAMパック20の端子電圧を調べるこ
とによって行われる。RAMパック20の接続状態が不良の
場合は、ステップSP12からステップSP13に移り、RAMパ
ック20の接続が不良である旨を表示部4(第1図)に表
示させた後、スイッチスキャン処理ルーチン(第4図)
に戻る。一方、RAMパック20の接続が正常の場合はステ
ップSP14に移り、RAMパック20の容量がS1かS2かが判定
される。この実施例においては、S1=8K、S2=32Kであ
り、容量の判定はRAMパック20の所定の端子の電圧値を
見ることによって行われる。そして、容量がS2であれば
ステップSP15に移ってレジスタSにS2を代入し、容量が
S1であればステップSP16に移ってレジスタSにS1を代入
する処理を行う。次に、ステップSP15またはステップSP
16の処理を行った後は、第5図に示す処理ルーチンに戻
ってステップSP17に移る。
(I) Check Processing Routine LU3a FIG. 5 is a flowchart showing the check processing routine LU3a. As shown in this flowchart, when the SAVE switch is pressed, the LEDs in the vicinity of the switch are turned on, and the pointers Pu, Pl, Pp, and Ps each have an initial value, that is, “0”, “n 1 ”, “n”. Set 2 ”,“ n 3 ”, and“ n 4 ”. Also, the register DSP and the flag OVR set in the working area 3 are cleared (step SP10). Next, in step SP11, the capacity of the RAM pack connected to the main body is checked. In this capacity check process, as shown in FIG. 6, first, it is judged whether or not the RAM pack 20 is properly connected to the main body (step SP1).
2). This determination processing is performed by checking the terminal voltage of the RAM pack 20. If the connection state of the RAM pack 20 is bad, the process moves from step SP12 to step SP13 to display the fact that the connection of the RAM pack 20 is bad on the display unit 4 (FIG. 1), and then the switch scan processing routine ( (Fig. 4)
Return to. On the other hand, when the connection of the RAM pack 20 is normal, the process proceeds to step SP14 and it is determined whether the capacity of the RAM pack 20 is S 1 or S 2 . In this embodiment, S 1 = 8K and S 2 = 32K, and the capacity is determined by observing the voltage value of a predetermined terminal of the RAM pack 20. If the capacity is S 2 , the process proceeds to step SP15 and S 2 is substituted into the register S, and the capacity is
Performs a process of substituting S 1 if S 1 proceeds to step SP16 to register S. Then step SP15 or step SP
After performing the process of 16, the process returns to the process routine shown in FIG. 5 and proceeds to step SP17.

ステップSP17においては、ポインタPuが示すアッパーキ
ーエリアFMP・Mu内のデータがデータENDかどうかが判定
され、データENDでなければステップSP18に移ってポイ
ンタPuを1インクリメントし、再びステップSP17の判定
を行う。以後、ステップSP17においてデータENDが検出
されるまで、ステップSP17,SP18からなるループを循環
する。そして、ステップSP17において、データENDが検
出されると、ステップSP19に移ってレジスタDSPに(Pu
+1)なる値が代入される。この場合、アッパーキーエ
リアFMP・Muの先頭アドレスは「0」であるから、ステ
ップSP19における演算結果は、アッパーキーエリアFMP
・Muのデータ量(バイト数)を示す値となる。したがっ
て、ステップSP19を終了した時点においては、レジスタ
DSPにはアッパーキーエリアFMP・Muのデータ量を示す値
が代入される。
In step SP17, it is determined whether or not the data in the upper key area FMP · Mu indicated by the pointer Pu is the data END. If it is not the data END, the process proceeds to step SP18, the pointer Pu is incremented by 1, and the determination in step SP17 is performed again. To do. After that, the loop consisting of steps SP17 and SP18 is circulated until the data END is detected in step SP17. When the data END is detected in step SP17, the process proceeds to step SP19 and the register DSP (Pu
The value +1) is substituted. In this case, since the start address of the upper key area FMP · Mu is “0”, the calculation result in step SP19 is the upper key area FMP.
-It is a value that indicates the amount of data (number of bytes) of Mu. Therefore, when step SP19 ends, the register
A value indicating the data amount of the upper key area FMP / Mu is assigned to the DSP.

次に、ステップSP20,21においては、上記ステップSP17,
18と同様にしてポインタP1が指示するロワーキーエリア
FMP・MlのデータがENDデータとなるまで、ポインタPlの
内容をインクリメントする処理が行われる。そして、ス
テップSP20においてENDデータが検出されると、ステッ
プSP21に移ってDSP+(Pl+n1+1)なる演算が行わ
れ、この演算結果がレジスタDSPへ代入される。この場
合、(Pl−n1+1)の値は第3図から分かるようにロワ
ーキーエリアFMP・Ml内のデータ量を示す値となる。し
たがって、ステップSP22の処理後におけるレジスタDSP
の内容は、アッパーキーエリアFMP・Muとロワーキーエ
リアFMP・Ml内の各データ量の和を示す値となる。
Next, in steps SP20 and 21,
Lower key area designated by pointer P1 as in 18
The process of incrementing the content of the pointer Pl is performed until the data of FMP · Ml becomes the END data. Then, when the END data is detected in step SP20, the operation proceeds to step SP21, the operation of DSP + (Pl + n 1 +1) is performed, and the operation result is substituted into the register DSP. In this case, the value of (Pl−n 1 +1) is a value indicating the data amount in the lower key area FMP · Ml, as can be seen from FIG. Therefore, the register DSP after the processing of step SP22
The content of is a value indicating the sum of the data amounts in the upper key area FMP / Mu and the lower key area FMP / Ml.

次に、ステップSP23,SP24からなるループにおいては、
上記と同様にしてペダルキーエリアFMP・Mp内のデータ
量が検出され、この値がステップSP25においてレジスタ
DSP内に加算される。そして、ステップSP26,SP27からな
るループにおいて、ソロキーエリアFMP・MS内のデータ
量が検出され、この値がステップSP28においてレジスタ
DSPに加算され、さらに、ステップSP29,SP30からなるル
ープにおいてレジストデータエリアFMP・Mu内のデータ
量が検出され、この値がステップSP31においてレジスタ
DSP内に加算される。この結果、ステップSP31の処理後
におけるレジスタDSPの内容は、上記各データエリア内
のデータ量の総和を示す内容となる。ここで、第3図に
示すエリアDEは、上記総和量を視覚的に示したものであ
る。
Next, in the loop consisting of steps SP23 and SP24,
In the same way as above, the amount of data in the pedal key area FMP / Mp is detected, and this value is registered in step SP25.
It is added in DSP. Then, in the loop consisting of steps SP26 and SP27, the amount of data in the solo key area FMPMS is detected, and this value is registered in step SP28.
The amount of data in the registration data area FMP / Mu is detected in the loop consisting of steps SP29 and SP30, and this value is registered in step SP31.
It is added in DSP. As a result, the content of the register DSP after the processing of step SP31 becomes the content indicating the total amount of data in each data area. Here, the area DE shown in FIG. 3 is a visual representation of the total amount.

また、ステップSP31においては、レジスタDSPの内容、
すなわち、演奏データの総量が表示部4に表示される。
Further, in step SP31, the contents of the register DSP,
That is, the total amount of performance data is displayed on the display unit 4.

次に、ステップSP32に移りレジスタDSPの内容がレジス
タSの内容より大きいか否かが判定される。このとき、
レジスタSには、ステップSP15,SP16の処理により、S1
(8K)またはS2(32K)のいづれかの値が代入されてい
る。そして、レジスタDSP内の演奏データ総量が上記の
数値より大きければ、ステップSP32での判定が「YES」
となってステップSP33へ進む。ステップSP33では以下の
処理が行われる。
Next, in step SP32, it is determined whether or not the content of the register DSP is larger than the content of the register S. At this time,
The register S is set to S 1 by the processing of steps SP15 and SP16.
Either (8K) or S 2 (32K) is assigned. If the total amount of performance data in the register DSP is larger than the above numerical value, the determination in step SP32 is "YES".
And then proceed to step SP33. The following processing is performed in step SP33.

○フラグOVERに“1"が立てられる。すなわち、ステップ
SP32の判定が「YES」となる場合は、演奏データメモリ1
0内の演奏データをRAMパック20へ転送するとオーバーフ
ローしてしまう場合であるため、オーバーフローを示す
フラグOVERに“1"が立てられる。
○ Flag OVER is set to "1". I.e. step
If the SP32 judgment is "YES", the performance data memory 1
When the performance data in 0 is transferred to the RAM pack 20, it may overflow, so "1" is set to the flag OVER indicating overflow.

○{(DSP−S)/S}*100なる演算を行い、この演算結
果をレジスタDSPに代入する。この演算結果は、RAMパッ
ク20の容量に対し何%オーバーフローするかを示す値と
なる。
The calculation {(DSP-S) / S} * 100 is performed, and the calculation result is assigned to the register DSP. The result of this calculation is a value indicating what percentage overflows the capacity of the RAM pack 20.

○上記処理の演算結果であるオーバーフロー率を表示部
4に表示する。この場合の表示は、ステップSP31におけ
る表示と1秒間隔で交互に行う。なお、表示部4の表示
スペースが大きい場合は、双方をスタティックに表示す
る。
Display the overflow rate, which is the calculation result of the above processing, on the display unit 4. The display in this case alternates with the display in step SP31 at 1 second intervals. When the display space of the display unit 4 is large, both are statically displayed.

○警告音を発生する。これはRAMパック20に対し演奏デ
ータをすべてセーブすることができない旨を操作者に知
らせるためである。
○ Generate a warning sound. This is to inform the operator that the RAM pack 20 cannot save all performance data.

以上がステップSP33における処理であり、この処理の後
に、ステップSP34を介してメインルーチンに戻る。すな
わち、データ送出処理ルーチンLU3bに入る。
The above is the process in step SP33, and after this process, the process returns to the main routine via step SP34. That is, the data transmission processing routine LU3b is entered.

一方、ステップSP32において「NO」と判定された場合
は、演奏データの転送に際し、オーバーフローが生じな
い場合であるから、ステップSP33の処理を行わず、ステ
ップSP32からステップ34を介してデータ送出処理ルーチ
ンLU3bに入る。
On the other hand, if "NO" is determined in step SP32, it means that the overflow of the performance data does not occur. Therefore, the process of step SP33 is not performed, and the data transmission process routine is executed from step SP32 to step 34. Enter LU3b.

(ii)データ送出処理ルーチンLU3b 次に、データ送出処理ルーチンLU3bについて説明する。(Ii) Data Transmission Processing Routine LU3b Next, the data transmission processing routine LU3b will be described.

データ送出処理ルーチンLU3bに入ると、ポインタPu,Pl,
Pp,Ps,Prを各々初期値にセットするとともに、ワーキン
グエリア3内に設定されているデータ転送先を示すポイ
ンタPをクリアする(ステップSP40,SP41)。次に、ス
テップSP42に移り、演奏データメモリ10をリードモード
にするとともに、RAMパック20をライトモードにする。
そして、ステップSP43に移りポインタPuが示すデータが
データENDかどうかを判定し、「NO」であればステップS
P44に移ってポインタPuが示す演奏データメモリ内のデ
ータ(この場合はアッパーキーエリアFMP・Mu内のデー
タ)をポインタPが示すRAMパック20内の番地に転送す
る。この転送後においては、ポインタPおよびポインタ
puをそれぞれ1インクリメントした後にステップSP43に
移る。以後は、ステップSP43における判定が「YES」と
なるまでステップSP43,SP44からなるループを循環す
る。このループの循環動作により、アッパーキーエリア
FMP・Mu内の「0」番地からエンドデータENDの手前まで
のデータが、RAMパック20内に転送される。そして、ス
テップSP43の判定が「YES」になると、ステップSP45に
移り、エンドデータENDをポインタPが示すRAMパック20
内の番地に転送し、その後にポインタPを1インクリメ
ントしてステップSP46に移る。
When the data transmission processing routine LU3b is entered, pointers Pu, Pl,
Pp, Ps, and Pr are set to the initial values, respectively, and the pointer P indicating the data transfer destination set in the working area 3 is cleared (steps SP40 and SP41). Next, in step SP42, the performance data memory 10 is set to the read mode and the RAM pack 20 is set to the write mode.
Then, the process proceeds to step SP43, it is determined whether the data indicated by the pointer Pu is data END, and if "NO", step S
Moving to P44, the data in the performance data memory indicated by the pointer Pu (in this case, the data in the upper key area FMP · Mu) is transferred to the address in the RAM pack 20 indicated by the pointer P. After this transfer, the pointer P and the pointer
After incrementing each pu by 1, it proceeds to step SP43. After that, the loop consisting of steps SP43 and SP44 is circulated until the determination in step SP43 becomes “YES”. Due to the circulation operation of this loop, the upper key area
The data from the address "0" in the FMP / Mu to the position before the end data END is transferred to the RAM pack 20. Then, when the determination in step SP43 becomes "YES", the process proceeds to step SP45, and the RAM pack 20 indicating the end data END is indicated by the pointer P.
Then, the pointer P is incremented by 1 and the process proceeds to step SP46.

ステップSP46においては、ポインタPlが示すロワーキー
エリアFMP・Ml内のデータがエンドエータENDか否かを判
定し、エンドデータENDでなければステップSP47に移っ
てポインタPlが示すデータをポインタPが示すRAMパッ
ク20内の番地に転送する。そして、転送後において、ポ
インタPlおよびポインタPをともに1インクリメントし
てステップSP48に移る。ステップSP48では、RAMパック2
0が満配になったかどうかが判定される。このような判
定を行うのは、RAMパック20が8Kバイトのものであった
場合には、ロワーキーエリアFMP・Ml内のデータ転送中
にRAMパック20が満配になってしまう可能性があるため
である。前述したアッパーキーエリアFMP・Mu内のデー
タを転送する際は、ステップSP48のような判定を行わな
いが、これはアッパーキーエリアFMP・Muの容量が8Kバ
イトであるためRAMパック20が満配となる可能性がない
からである。ステップSP48の判定が「NO」であれば、再
びステップSP46に移り、以後、エンドデータENDが検出
されるか、RAMパック20が満配になるかのいづれかの状
態となるまで、ステップSP46,SP47,SP48からなるループ
を循環する。このループ循環動作により、ロワーキーエ
リアFMP・Ml内のデータがRAMパック20内に転送されてい
く。ループ循環中において、RAMパック20が満配になる
と、ステップSP48の判定が「YES」となり、ステップSP5
0に移って表示部4にエラー表示を行わせた後、メイン
ルーチンであるスイッチスキャン処理ルーチン(第4
図)に戻る。このように、ロワーキーエリアFMP・Ml内
のデータ転送中にRAMパック20が満肺になった場合は、
エラー表示をしてそれ以後のデータ転送を行わない。
In step SP46, it is determined whether or not the data in the lower key area FMP · Ml indicated by the pointer Pl is the end data END, and if it is not the end data END, the process moves to step SP47 and the RAM indicated by the pointer P in the RAM indicated by the pointer P. Transfer to the address in pack 20. After the transfer, the pointer Pl and the pointer P are both incremented by 1, and the process proceeds to step SP48. In step SP48, RAM pack 2
It is determined whether 0 is fully paid. If such a judgment is made, if the RAM pack 20 is 8 Kbytes, there is a possibility that the RAM pack 20 will be fully distributed during data transfer in the lower key area FMP / Ml. This is because. When transferring the data in the above-mentioned upper key area FMP / Mu, the judgment as in step SP48 is not made, but this is because the capacity of the upper key area FMP / Mu is 8 Kbytes and the RAM pack 20 is fully distributed. This is because there is no possibility that If the determination in step SP48 is "NO", the process moves to step SP46 again, and thereafter, steps SP46 and SP47 are performed until the end data END is detected or the RAM pack 20 is fully distributed. , Through a loop consisting of SP48. By this loop circulation operation, the data in the lower key area FMP · Ml is transferred to the RAM pack 20. When the RAM pack 20 is fully distributed during the loop circulation, the determination in step SP48 is "YES", and step SP5
After moving to 0 and displaying an error on the display unit 4, the switch scan processing routine (the fourth routine) which is the main routine is performed.
Return to Figure). In this way, when the RAM pack 20 becomes full lung during data transfer in the lower key area FMP / Ml,
An error message will be displayed and the data will not be transferred.

一方、ロワーキーエリアFMP・Ml内のデータ転送中にRAM
パック20が満配にならなければ、ステップSP46において
エンドデータENDが検出されるまでデータ転送を行い、
これにより、ロワーキーエリアFMP・Ml内の全データがR
AMパック20内に転送される。
On the other hand, RAM during data transfer in the lower key area FMP / Ml
If the pack 20 is not fully distributed, data transfer is performed until end data END is detected in step SP46,
As a result, all the data in the lower key area FMP / Ml is R
Transferred into the AM pack 20.

ステップSP46においてエンドデータENDが検出される
と、処理はステップSP49に移ってエンドデータENDをポ
インタPが示すRAMパック20内の番地に転送し、その後
にポインタを1インクリメントする。
When the end data END is detected in step SP46, the process proceeds to step SP49 to transfer the end data END to the address in the RAM pack 20 indicated by the pointer P, and then the pointer is incremented by 1.

次に、上記ロワーキーエリアFMP・Ml内のデータ転送の
場合と同様にして、ステップSP51,SP52,SP53からなるル
ープにおいてペダルキーエリアFMP・Mp内のデータ転送
が行われ、また、ステップSP55,SP56,SP57からなるルー
プによりソロキーエリアFMP・Ms内のデータ転送が行わ
れる。この場合、各データの転送中にRAMパック20が満
配になれば、ステップSP53あるいはステップSP57におけ
る判定が「YES」となって、エラー表示後にリターンす
る(ステップSP50,SP64)。また、ステップSP54,SP58の
処理は前述したステップSP45の処理と同様である。
Next, similarly to the case of data transfer in the lower key area FMP / Ml, data transfer in the pedal key area FMP / Mp is performed in a loop consisting of steps SP51, SP52, SP53, and step SP55, Data transfer in the solo key area FMP / Ms is performed by the loop consisting of SP56 and SP57. In this case, if the RAM pack 20 is fully distributed during the transfer of each data, the determination in step SP53 or step SP57 becomes "YES", and the process returns after displaying an error (steps SP50, SP64). The processing of steps SP54 and SP58 is the same as the processing of step SP45 described above.

上述した各エリアのデータ転送が良好に行われた後は、
ステップSP59に移り、フラグOVRに“1"が立てられてい
るかどうかが判定される。この判定が「YES」の場合
は、ステップSP60に移って、表示部4によりSAVE終了表
示を行うとともに、警告音を停止した後にリターンする
(ステップSP64)。すなわち、フラグOVRが“1"の場合
は、RAMパック20がオーバーフローすることが予め判っ
ているためレジストデータの転送を行わずにメインルー
チンにリターンする。
After the data transfer in each area mentioned above is done well,
In step SP59, it is determined whether the flag OVR is set to "1". If this determination is "YES", the process moves to step SP60, the display section 4 displays the SAVE end, the warning sound is stopped, and the process returns (step SP64). That is, when the flag OVR is “1”, it is known in advance that the RAM pack 20 will overflow, and therefore, the process returns to the main routine without transferring the registration data.

一方、フラグOVRが“0"の場合は、ステップSP61,SP62か
らなるループにより、レジストデータエリアFMP・Mr内
のデータをRAMパック20内に転送する。そして、ステッ
プSP61において、エンドデータENDが検出されると、ス
テップSP63に移ってエンドデータENDをポインタPが示
す番地に転送し、その後にステップSP60においてSAVE終
了表示を行ってメインルーチンに戻る。
On the other hand, when the flag OVR is “0”, the data in the registration data area FMP · Mr is transferred to the RAM pack 20 by the loop including steps SP61 and SP62. When the end data END is detected in step SP61, the process moves to step SP63 to transfer the end data END to the address indicated by the pointer P, and thereafter, in step SP60, the SAVE end display is performed and the process returns to the main routine.

以上がこの実施例におけるSAVE処理の内容である。上記
処理によれば、RAMパック20がオーバーフローする場合
であっても、転送不能データがレジストデータのみであ
る場合は、他のデータをそのまま転送してSAVE処理を終
了する。この場合、レジストデータは、楽音の音色等に
関するデータであるから、音色情報等は転送できないも
のの、キー情報に関するデータは転送できるため、RAM
パック20内のデータに基づく自動演奏が不能となること
はない。
The above is the contents of the SAVE processing in this embodiment. According to the above processing, even when the RAM pack 20 overflows, if the transfer-disabled data is only the registration data, other data is transferred as it is and the SAVE processing is ended. In this case, since the registration data is data related to the tone color of the musical tone, the tone color information cannot be transferred, but the data related to the key information can be transferred.
The automatic performance based on the data in the pack 20 will not be disabled.

一方、レジストデータ以外にも転送不能データがある場
合は、エラー表示を行い、転送不能の旨を操作者に知ら
せる。操作者は、この表示およびステップSP33のオーバ
ーフロー率表示をみて、演奏データを減らすような演奏
を再度行って演奏データメモリ10に演奏データを記憶さ
せ、この新たな演奏データによって再度SAVE処理を行う
ことができる。
On the other hand, if there is transfer-disabled data other than the registration data, an error message is displayed to inform the operator that transfer is not possible. The operator sees this display and the display of the overflow rate in step SP33, performs the performance to reduce the performance data again, stores the performance data in the performance data memory 10, and performs the SAVE processing again with the new performance data. You can

また、上記処理においては、演奏データメモリ10に対し
ては、各エリア毎に読出し動作が行われるがRAMパック2
0に対しては先頭番地から順にデータ書き込みが行われ
ていく。
In the above process, the read operation is performed for each area of the performance data memory 10.
For 0, data writing is performed sequentially from the head address.

LOAD処理ルーチンLU4 次に、LOAD処理ルーチンについて説明する。LOAD Processing Routine LU4 Next, the LOAD processing routine will be described.

演奏データメモリ10の容量は、前述したように32Kバイ
トであり、RAMパック20内のデータ量と同じかそれ以上
であるから、前述したチェック処理LU3aのような処理は
不要であり、RAMパック20の接続状態が正常であれば、
直ちにLOAD処理(データ取込処理)を行う。このLOAD処
理は以下のように行われる。
Since the capacity of the performance data memory 10 is 32 Kbytes as described above and is equal to or larger than the amount of data in the RAM pack 20, the processing such as the check processing LU3a described above is unnecessary, and the RAM pack 20 If the connection status of is normal,
Immediately perform LOAD processing (data import processing). This LOAD processing is performed as follows.

すなわち、RAMパック20の先頭番地からアッパキーエリ
アFMP・Muに順次データを取り込んでいく。そして、エ
ンドデータENDが検出されると、ロワーキーエリアFMP・
Mlに対してデータ取り込みを行い、以後エンドデータEN
Dが検出される毎に、データ取り込みエリアを切り換え
てRAMパック20内のデータを読み込んでいく。この動作
を行うことにより、RAMパック20内の演奏データが全て
演奏データメモリ10に転送される。
That is, the data is sequentially loaded from the head address of the RAM pack 20 to the upper key area FMP / Mu. When the end data END is detected, the lower key area FMP
Data is taken into Ml, and then end data EN
Each time D is detected, the data acquisition area is switched and the data in the RAM pack 20 is read. By performing this operation, all the performance data in the RAM pack 20 is transferred to the performance data memory 10.

以上がこの発明の第1の実施例の動作である。The above is the operation of the first embodiment of the present invention.

(2)第2の実施例 次に、この発明の第2の実施例について説明する。第2
の実施例が前述した第1の実施例と異なる点は、チェッ
ク処理ルーチンLU3aのみであり、以下にこの処理につい
て第8図を参照して説明する。
(2) Second Embodiment Next, a second embodiment of the present invention will be described. Second
This embodiment is different from the above-described first embodiment only in the check processing routine LU3a, and this processing will be described below with reference to FIG.

まず、ステップSP70より処理を開始し、ステップ71にお
いてポインタPf,レジスタN,DSPを各々クリアする。ここ
で、ポインタPf,レジスタNは、各々この実施例におい
てワーキングエリア3内に設定されるものであり、ポイ
ンタPfは演奏データメモリ内のアクセスアドレスを指示
する。
First, the processing is started from step SP70, and in step 71, the pointer Pf, the register N and the DSP are cleared. Here, the pointer Pf and the register N are respectively set in the working area 3 in this embodiment, and the pointer Pf points the access address in the performance data memory.

次に、ステップSP72に移りRAMパック20の容量チェック
処理を行う。この処理は前述した第6図に示す処理と全
く同様である。ステップSP72の処理が終わると、ステッ
プSP73に移り、ポインタPfが示すデータがエンドデータ
ENDか否かが判定される。この判定が「NO」の場合は以
後「YES」となるまで、ステップSP73、ステップSP74か
らなるループを循環し、ポインタPfをインクリメントし
ていく。すなわち、アッパーキーエリアFMP・Muが番地
「0」から順にアクセスされていく。そして、ステップ
SP73においてエンドデータENDが検出されると、ステッ
プSP75に進み、レジスタNを1インクリメントし、その
値を「1」にする。次に、ステップSP76に進むと、N=
1か否かが判断され、この判定結果が「YES」となっ
て、ステップSP77へ進む。ステップSP77では(Pf+1)
なる演算を行い、この演算結果をレジスタDSPに代入す
る。この時のレジスタDSPの値はアッパーキーエリアFMP
・MuのエンドデータENDの番地に対応するから、演算値
(Pf+1)はアッパーキーエリアFMP・Muのデータ量を
示す。また、ステップSP77ではポインタPfにロワーキー
エリアFMP・Mlの先頭番地であるn1を代入する。そし
て、ステップSP77の処理が終わると、ステップSP73、SP
74からなるループを循環し、ロワーキーエリアFMP・Ml
をその先頭番地「n1」から順次アクセスして行く。そし
て、エンドデータENDが検出されると、ステップSP75に
おいてレジスタNの値を「2」に増加させ、ステップSP
76,SP78を介してステップSP79に至り(DSP+Pf−n1
1)なる演算を行ってアッパーキーエリアFMP・Muおよ
びロワーキーエリアFMP・Ml内のデータ量を総和算出
し、この算出結果をレジスタDSPに代入する。
Next, in step SP72, the capacity check process of the RAM pack 20 is performed. This process is exactly the same as the process shown in FIG. When the processing of step SP72 is completed, the process moves to step SP73 and the data indicated by the pointer Pf is the end data.
It is determined whether it is END. If this determination is "NO", the loop consisting of step SP73 and step SP74 is circulated until the determination becomes "YES", and the pointer Pf is incremented. That is, the upper key area FMP · Mu is accessed sequentially from the address “0”. And step
When the end data END is detected in SP73, the process proceeds to step SP75, the register N is incremented by 1, and the value is set to "1". Next, when proceeding to step SP76, N =
Whether it is 1 or not is determined, the determination result is "YES", and the routine proceeds to step SP77. In step SP77 (Pf + 1)
Then, the calculation result is substituted into the register DSP. The value of register DSP at this time is the upper key area FMP
-Since it corresponds to the address of the end data END of Mu, the calculated value (Pf + 1) indicates the data amount of the upper key area FMP-Mu. In step SP77, n 1 which is the head address of the lower key area FMP · Ml is assigned to the pointer Pf. Then, when the processing of step SP77 ends, steps SP73 and SP
Circulating a loop consisting of 74, lower key area FMP · Ml
Are sequentially accessed from the first address "n 1 ". When the end data END is detected, the value of the register N is increased to "2" in step SP75, and the step SP
Step SP79 is reached via 76 and SP78 (DSP + Pf-n 1 +
1) is performed to sum the data amounts in the upper key area FMP · Mu and the lower key area FMP · Ml, and the calculated result is assigned to the register DSP.

以後は、上記処理とほぼ同様にして、各エリアにおける
データ量を順次累算して行く(ステップSP81,SP83,SP8
4)。そして、ステップSP84の処理が行われると、レジ
スタDSPには演奏データの総計値(バイト数)が代入さ
れる。このステップSP84の次にステップSP85の処理が行
われるが、ステップ84の処理は前述した第5図に示すス
テップSP32,SP33からなる処理である。すなわち、オー
バフロー率の表示、フラグOVERの書き込み等が行われ
る。
After that, the data amount in each area is sequentially accumulated in the same manner as the above processing (steps SP81, SP83, SP8).
Four). Then, when the processing of step SP84 is performed, the total value (the number of bytes) of the performance data is substituted in the register DSP. The process of step SP85 is performed after this step SP84, and the process of step 84 is the process consisting of steps SP32 and SP33 shown in FIG. 5 described above. That is, the overflow rate is displayed and the flag OVER is written.

以上が、第2の実施例における処理である。なお、この
実施例によれば、第8図からわかるようにチェック処理
において用いるポインタがポインタPfのみで済むという
利点がある。
The above is the processing in the second embodiment. According to this embodiment, as can be seen from FIG. 8, there is an advantage that the pointer used in the checking process is only the pointer Pf.

(3)第3の実施例 次に、第3の実施例について説明する。(3) Third Example Next, a third example will be described.

この実施例においては、FMP・REC処理において、第3図
に示す各エリアにエンドデータENDを書き込んだ際に、
予め設けられたエンドアドレスデータメモリ30(第1
図、第10図参照)に対し、各エリアのデータ量を書き込
む。すなわち、(Pu+1)、(Pl−n1+1)、(Pp−n2
+1)、(Ps−n3+1)、(Pr−n4+1)の値を、各々
データDe0,De1,De2,De3として、第10図に示すようにエ
ンドアドレスデータメモリ30のアドレス「0」〜「4」
に書き込む。また、エンドアドレスデータメモリ30のア
ドレス「5」にエンドアドレスデータENDを書き込む。
In this embodiment, when the end data END is written in each area shown in FIG. 3 in the FMP / REC processing,
A preset end address data memory 30 (first
(See Fig. 10), write the data amount of each area. That, (Pu + 1), ( Pl-n 1 +1), (Pp-n 2
+1), (Ps-n 3 +1), and (Pr-n 4 +1) values as data De 0 , De 1 , De 2 , De 3 , respectively, as shown in FIG. Address "0" to "4"
Write in. Further, the end address data END is written in the address “5” of the end address data memory 30.

そして、チェック処理ルーチンLU3aとして、第9図に示
す処理を行う。
Then, as the check processing routine LU3a, the processing shown in FIG. 9 is performed.

まず、ステップSP90より処理を開始し、ステップSP91に
おいて所定の発光ダイオードを点灯するとともに、ポイ
ンタPe、エンドアドレスデータを記憶するレジスタRD
E、ディスプレイレジスタDSP、フラグOVRを各々クリア
する。ここで、ポインタPeは、第10図に示すように、エ
ンドアドレスデータメモリ10のアクセスアドレスを指示
するポインタである。次に、ステップSP92に移り、RAM
パック20の容量チェック処理を行う。この処理は、第6
図に示す処理と全く同様の処理である。そして、ステッ
プSP63に移りポインタPeが示すデータがエンドデータEN
Dかどうかを判定する。この判定が「NO」の場合は、ス
テップSP94に移り、レジスタRDEにポインタPeが示すデ
ータの値を加算し、その後にポインタPeを1インクリメ
ントしてステップSP93に戻る。以後、ステップSP93にお
いてエンドデータENDが検出されるまで、ステップSP93,
SP94からなるループを循環する。したがって、このルー
プの循環中においては、第10図に示す各番地内のデータ
De0,De1,De2,De3が順次累算されていく。そして、ステ
ップSP93においてエンドデータENDが検出されると、ス
テップSP95に移り、レジスタRDEの内容をレジスタDSPに
代入する。このステップSP95の処理によれば、レジスタ
DSP内には演奏データメモリ10内の全データ量に対応す
る値が代入される。ここで、必要であれば、レジスタDS
Pの内容を表示部4に表示する。次に、ステップSP96に
移るが、このステップの処理は、第5図に示すステップ
SP32とステップSP33の処理と同様である。
First, the processing is started from step SP90, and a predetermined light emitting diode is turned on at step SP91, and a pointer Pe and a register RD for storing end address data are stored.
E, display register DSP, and flag OVR are cleared. Here, the pointer Pe is a pointer for pointing the access address of the end address data memory 10, as shown in FIG. Then move to step SP92, RAM
The capacity check process of the pack 20 is performed. This process is the sixth
The processing is exactly the same as the processing shown in the figure. Then, the process moves to step SP63 and the data indicated by the pointer Pe is the end data EN.
Determine if D. If this determination is “NO”, the flow shifts to step SP94, the value of the data indicated by the pointer Pe is added to the register RDE, and then the pointer Pe is incremented by 1, and the flow returns to step SP93. After that, until the end data END is detected in step SP93, step SP93,
Cycle through a loop consisting of SP94. Therefore, during the circulation of this loop, the data in each address shown in Fig. 10 is
De 0 , De 1 , De 2 and De 3 are sequentially accumulated. Then, when the end data END is detected in step SP93, the process proceeds to step SP95, and the contents of the register RDE is substituted into the register DSP. According to the processing of this step SP95, the register
A value corresponding to the total amount of data in the performance data memory 10 is substituted in the DSP. Here, if necessary, register DS
The contents of P are displayed on the display unit 4. Next, move to step SP96, and the processing of this step is the step shown in FIG.
The processing is the same as SP32 and step SP33.

以上が第3の実施例の主な処理であり、上記処理以外
は、前述した第1の実施例と同様である。この実施例に
おいては、第9図に示すフローチャートから判るように
チェック処理が極めて高速に行われる利点がある。
The above is the main processing of the third embodiment, and is the same as the above-described first embodiment except for the above processing. This embodiment has the advantage that the checking process is performed at extremely high speed, as can be seen from the flowchart shown in FIG.

なお、上記実施例においては、ステップSP95におけるレ
ジスタDSPの内容表示を省略してもよい。
In the above embodiment, the display of the contents of the register DSP in step SP95 may be omitted.

(4)第4の実施例 次に、第4の実施例について説明する。(4) Fourth Example Next, a fourth example will be described.

この実施例においては、前述した第1〜第3の実施例と
異なり、演奏データメモリ10のメモリマップが第11図に
示すように設定されている。この図においてFMP・Mfで
示されるエリアはキーデータが記憶されるエリアであ
り、先頭番地は「0」番地となっている。また、FMP・M
rで示されるエリアはレジストデータが記憶されるエリ
アであり、先頭番地は「n」となっている。
In this embodiment, unlike the above-mentioned first to third embodiments, the memory map of the performance data memory 10 is set as shown in FIG. In this figure, the area indicated by FMP · Mf is an area where the key data is stored, and the head address is the address “0”. In addition, FMP ・ M
The area indicated by r is an area where the resist data is stored, and the head address is "n".

そして、FMP・REC処理は、次のように行われる。まず、
キーイベントが発生すると、そのタイミングをキーデー
タエリアFMP・Mfに書き込み、次いで、ポインタPFを1
進ませて、パートデータ、オン/オフデータおよび音高
データ(これら合わせて1バイト)を書き込む。ここ
で、パートデータとは、アッパーキー、ロワーキー……
等のパートを示すデータである。この書き込み処理を、
イベントが発生する毎に行う。また、レジストデータの
書き込みも、上記キーデータの場合と同様にして行われ
る。
Then, the FMP / REC processing is performed as follows. First,
When a key event occurs, write the timing to the key data area FMP · Mf, then set the pointer P F to 1
Advance to write part data, on / off data, and pitch data (1 byte in total). Here, the part data is an upper key, a lower key ...
It is data showing parts such as. This writing process
Do it every time an event occurs. The registration data is also written in the same manner as the case of the key data.

次に、この実施例のSAVE処理について第12図に示すフロ
ーチャートを参照して説明する。
Next, the SAVE processing of this embodiment will be described with reference to the flowchart shown in FIG.

ステップSP100より動作が開始されると、ステップSP101
において所定の発光ダイオードを点灯させるとともに、
ポインタPF、フラグOVR、レジスタDSPをクリアし、ま
た、ポインタPrにnを代入する。次に、ステップSP102
に移り、RAMパック20の容量チェック処理を行った後
(第6図参照)、ステップSP103に移ってPF>kとなっ
ているかどうかの判定を行う。この判定におけるSには
すでにRAMパック20の容量値が代入されている。ステッ
プSP103の判定が「NO」の場合は、ステップSP104に移り
ポインタPFが示すデータがエンドデータENDかどうかが
判定される。この判定が「NO」の場合は、ステップSP10
5に移りポインタPFを1進めて再びステップSP103に移
る。以後は、ステップSP103あるいはステップSP104で
「YES」となるまでループl1を循環する。ループl1循環
中においてステップSP103の判定が「YES」となると、ス
テップSP106においてエラー表示を行った後、メインル
ーチンに戻る(ステップSP107)。ステップSP103の判定
の意味は、キーデータエリアFMP・Mfのデータ量がRAMパ
ック20の容量を超えているかどうかを判定する処理であ
り、超えている場合は演奏データの転送が不能であると
してエラー表示を行う。
When the operation starts from step SP100, step SP101
At the same time as turning on the predetermined light emitting diode,
The pointer P F , the flag OVR, and the register DSP are cleared, and n is assigned to the pointer Pr. Then, step SP102
After performing the capacity check process of the RAM pack 20 (see FIG. 6), the process proceeds to step SP103 to determine whether P F > k. The capacity value of the RAM pack 20 has already been assigned to S in this determination. If the determination in step SP103 is "NO", the process moves to step SP104 and it is determined whether the data indicated by the pointer P F is the end data END. If this determination is "NO", step SP10
The process moves to step 5, the pointer P F is advanced by 1, and the process moves to step SP103 again. After that, the loop 11 is circulated until it becomes “YES” in step SP103 or step SP104. If the determination in step SP103 is "YES" during the loop l1 circulation, an error is displayed in step SP106, and then the process returns to the main routine (step SP107). The determination in step SP103 is a process of determining whether or not the data amount of the key data area FMP / Mf exceeds the capacity of the RAM pack 20. If it exceeds, it is determined that the performance data cannot be transferred and an error occurs. Display.

また、ループl1の循環中にステップSP104で「YES」と判
定された場合には、(PF+1)なる演算を行って、レジ
スタDSPに演算結果を代入する。すなわち、キーデータ
エリアFMP・Mfのデータ量を代入する。次に、ステップS
P109においては、上記ステップSP104,SP105,SP108とほ
ぼ同様の処理により、レジストデータエリアFMP・Mr内
のデータ量が検出される。そして、ステップSP110にお
いては、第5図に示すステップSP32,SP33と同様の処理
が行われ、次いで、ステップSP111においてポインタ
PF、Pがクリアされ、ポインタPrにnが設定される。次
に、ステップSP112,SP113においてRAMパック20の接続状
態のチェック処理を行った後、ステップSP114に移って
演奏データメモリ10をリードモード、RAMパック20をラ
イトモードにする。そして、ステップSP115,SP116のル
ープによりキーデータエリアFMP・Mf内のデータをRAMパ
ック20の先頭番地から順に転送する。ステップSP115で
エンドデータが検出されると、ステップSP117に移って
エンドデータENDをポインタPが示す番地に転送し、さ
らに、ポインタPを1進める。次に、ステップSP118に
おいては第7図に示すステップSP59〜SP63と同様の処理
が行われ、その後においてメインルーチンにリターンす
る(ステップSP64)。
Further, when it is determined to be "YES" in step SP104 during the circulation of the loop l1, the calculation of (P F +1) is performed and the calculation result is substituted into the register DSP. That is, the data amount of the key data area FMP · Mf is substituted. Then step S
In P109, the amount of data in the resist data area FMP · Mr is detected by substantially the same processing as steps SP104, SP105, and SP108 described above. Then, in step SP110, the same processing as in steps SP32 and SP33 shown in FIG. 5 is performed, and then in step SP111, the pointer is set.
P F and P are cleared, and n is set in the pointer Pr. Next, after checking the connection state of the RAM pack 20 in steps SP112 and SP113, the process moves to step SP114 to set the performance data memory 10 in the read mode and the RAM pack 20 in the write mode. Then, by the loop of steps SP115 and SP116, the data in the key data area FMP · Mf is sequentially transferred from the head address of the RAM pack 20. When the end data is detected in step SP115, the process moves to step SP117 to transfer the end data END to the address indicated by the pointer P, and further advances the pointer P by 1. Next, in step SP118, the same processing as in steps SP59 to SP63 shown in FIG. 7 is performed, after which the process returns to the main routine (step SP64).

以上が第4実施例の処理である。なお、この実施例にお
いては、ステップSP100〜ステップSP110がチェック処理
LU3aに対応し、ステップSP111〜ステップSP118がデータ
送出処理LU3bに対応する。
The above is the processing of the fourth embodiment. In this embodiment, step SP100 to step SP110 perform the check process.
Corresponding to LU3a, steps SP111 to SP118 correspond to data transmission processing LU3b.

(5)各実施例の変形例 次に、上記各実施例における種々の変形例について説明
する。
(5) Modified Examples of Each Embodiment Next, various modified examples of each of the above embodiments will be described.

上記各実施例においては、スイッチFMP・RECが押され
た後にスイッチU,L,P……等が押されると、押されたス
イッチに対応するパートデータの記憶が除外されるよう
にしたが、これに代えて、スイッチFMP・RECが押される
と、演奏データメモリ10のライトモードをイネーブルと
し、以後スイッチU,L,P……が押される毎に押されたス
イッチに対応するパートのデータの記憶を順次追加する
ように構成してもよい。
In each of the above embodiments, when the switch U, L, P, etc. is pressed after the switch FMP / REC is pressed, the storage of the part data corresponding to the pressed switch is excluded. Alternatively, when the switch FMP / REC is pressed, the write mode of the performance data memory 10 is enabled, and every time the switch U, L, P ... is pressed thereafter, the data of the part corresponding to the pressed switch is written. The storage may be added sequentially.

上記各実施例においては、RAMパック20の容量不足の
時において優先して転送するデータはレジストデータを
除くキーデータであったが、いずれのデータを優先転送
するかは任意に設定してよい。例えば、アッパーキーデ
ータ、ロワーキーデータ、ペダルキーデータ、ソロキー
データのいずれか1〜3のデータを優先転送するように
予め設定してもよい。
In each of the above-mentioned embodiments, the data to be preferentially transferred when the capacity of the RAM pack 20 is insufficient is the key data excluding the registration data, but which data is preferentially transferred may be arbitrarily set. For example, any one of the upper key data, the lower key data, the pedal key data, and the solo key data 1 to 3 may be set in advance so as to be preferentially transferred.

また、データ転送の対象は、上記各実施例のような自
動演奏データに限らない。例えば、楽器の音色データ
(音色パラメータ)を転送するシステムとして構成して
もよい。すなわち、アッパーキー、ロワーキー、ペダル
キー、ソロキーおよびリズム音源の各音色を特定するデ
ータをそれぞれグループ分けし、これらのグループのい
ずれかを優先転送データ、他を切り捨てデータとして設
定することができる。この場合は、特にRAMパックとし
て小容量のものが接続されているときに好適である。
Further, the target of data transfer is not limited to the automatic performance data as in the above embodiments. For example, it may be configured as a system for transferring the tone color data (tone color parameter) of the musical instrument. That is, the data specifying each tone color of the upper key, the lower key, the pedal key, the solo key, and the rhythm sound source can be divided into groups, and any one of these groups can be set as the priority transfer data and the other as the truncated data. This case is particularly suitable when a small capacity RAM pack is connected.

また、グループ分けしたデータをRAMパックに転送す
る際、すなわち、アッパーキーデータ、ロワーキーデー
タ、ペダルキーデータ……等を転送する際において、各
グループのエンドデータENDのアドレスから転送し得る
最大のグループ数を検出することもできる。なお、この
ような処理は、実施例の説明からも解るように容易であ
る。そして、上記処理を行った場合はRAMパックの容量
に合わせた極めて効率のよいデータ転送を行うことがで
きる。
When transferring grouped data to a RAM pack, that is, when transferring upper key data, lower key data, pedal key data, etc., the maximum data that can be transferred from the end data END address of each group. It is also possible to detect the number of groups. Note that such processing is easy as can be seen from the description of the embodiment. When the above processing is performed, extremely efficient data transfer can be performed according to the capacity of the RAM pack.

さらに、グループ分けするデータとしては、第1曲目
の演奏データ、第2曲目の演奏データ……というように
曲毎に分けることも可能である。この場合は転送し得る
曲数だけ転送するように構成してもよい。
Further, as the data for grouping, it is also possible to divide the data for each song such as the performance data of the first song, the performance data of the second song .... In this case, the number of songs that can be transferred may be transferred.

また、上記と同様に1曲中の第1楽章、第2楽章…
…というように楽章毎の演奏データをグループ分けして
もよい。
Also, like the above, the first movement, the second movement in one song ...
Performance data for each movement may be divided into groups such as.

前述した実施例においては、オーバーフローの率を数
値によりパーセント表示したが、これに代えて、表示部
4として多色発光ダイオードを用い、色によるオーバー
フロー表示を行ってもよい。例えば、100%オーバーな
ら黄色、200%オーバーなら赤色、100%以下なら緑色等
の表示を行うようにしてもよい。また、その間例えば、
130%オーバーなら黄色と赤色の中間色にするというよ
うに連続的に色変化する特定の1色として表示を行うよ
うにしてもよい。
In the above-described embodiment, the overflow rate is displayed as a numerical value in percentage, but instead of this, a multicolor light emitting diode may be used as the display unit 4 to perform color overflow display. For example, yellow may be displayed when 100% is over, red may be displayed when 200% is over, and green may be displayed when 100% or less. Also during that time, for example,
If it exceeds 130%, it may be displayed as a specific color that continuously changes in color, such as an intermediate color between yellow and red.

「発明の効果」 以上説明したように、この発明によれば、転送指示手段
が内部記憶手段に記憶されている演奏データの転送を指
示すると、判定手段が外部記憶手段の記憶容量を判定
し、転送制御手段が判定された記憶容量に応じて前記内
部記憶手段から前記演奏データの全部あるいは前記演奏
データの一部を読み出して前記外部記憶手段へ転送する
ので、内部記憶手段より小さい記憶容量の外部記憶手段
を用いた場合でも、転送エラーを起こすことがなく、転
送用に作成した演奏データを無駄にすることもなくな
る。しかも、内部記憶手段よりも記憶容量が小さい比較
的安価な外部記憶手段を用いることが可能となることか
ら、コスト低減を図ることもできる。
[Effect of the Invention] As described above, according to the present invention, when the transfer instructing means instructs the transfer of the performance data stored in the internal storage means, the determining means determines the storage capacity of the external storage means, Since the transfer control means reads all of the performance data or a part of the performance data from the internal storage means according to the determined storage capacity and transfers the performance data to the external storage means, an external storage capacity smaller than the internal storage means. Even if the storage means is used, a transfer error does not occur and the performance data created for transfer is not wasted. Moreover, since it is possible to use a relatively inexpensive external storage means having a storage capacity smaller than that of the internal storage means, it is possible to reduce the cost.

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

第1図はこの発明の第1の実施例の構成を示すブロック
図、 第2図は同実施例におけるパネル面を示す正面図、 第3図は同実施例における演奏データメモリ10のメモリ
マップ、 第4図は同実施例におけるスイッチスキャン処理を示す
フローチャート、 第5図は同実施例におけるチェック処理ルーチンを示す
フローチャート、 第6図は同実施例におけるRAMパック容量チェック処理
を示すフローチャート、 第7図は同実施例におけるデータ送出処理を示すフロー
チャート、 第8図はこの発明の第2の実施例におけるチェック処理
を示すフローチャート、 第9図はこの発明の第3の実施例におけるチェック処理
を示すフローチャート、 第10図は同実施例におけるエンドアドレスデータメモリ
30のメモリマップ、 第11図はこの発明の第4の実施例における演奏データメ
モリ10のメモリマップ、 第12図は同実施例におけるSAVE処理を示すフローチャー
トである。 1……CPU(中央処理装置)、2……プログラムメモ
リ、3……ワーキングエリア(以上1〜3は書込制御
部、転送制御部)、5……キースイッチ部(入力用キ
ー)、10……演奏データメモリ(内部記憶手段)、12…
…楽音発生回路(楽音信号発生手段)、13……リズム音
発生回路(楽音発生手段)、20……RAMパック(外部記
憶手段)、30……エンドアドレスデータメモリ(転送制
御部)。
FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention, FIG. 2 is a front view showing a panel surface in the same embodiment, and FIG. 3 is a memory map of a performance data memory 10 in the same embodiment, 4 is a flow chart showing a switch scan process in the same embodiment, FIG. 5 is a flow chart showing a check process routine in the same embodiment, FIG. 6 is a flow chart showing a RAM pack capacity check process in the same embodiment, and FIG. Is a flow chart showing a data transmission process in the same embodiment, FIG. 8 is a flow chart showing a check process in the second embodiment of the present invention, FIG. 9 is a flow chart showing a check process in the third embodiment of the present invention, FIG. 10 shows an end address data memory in the same embodiment.
30 is a memory map, FIG. 11 is a memory map of the performance data memory 10 in the fourth embodiment of the invention, and FIG. 12 is a flow chart showing the SAVE processing in the same embodiment. 1 ... CPU (central processing unit), 2 ... program memory, 3 ... working area (the above 1 to 3 are write control section, transfer control section), 5 ... key switch section (input key), 10 ... Performance data memory (internal storage means), 12 ...
… Sound generating circuit (sound signal generating means), 13 rhythm sound generating circuit (sound generating means), 20 RAM pack (external storage means), 30 end address data memory (transfer control section).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】楽器本体内に設けられ、演奏データを記憶
する内部記憶手段と、前記楽器本体と着脱自在に構成さ
れる外部記憶手段とを有する電子楽器において、 前記演奏データの転送を指示する転送指示手段と、 前記転送指示手段によって転送が指示された場合、前記
外部記憶手段の記憶容量を判定する判定手段と、 この判定手段によって判定された記憶容量に応じて前記
内部記憶手段から前記演奏データの全部あるいは前記演
奏データの一部を読み出して前記外部記憶手段へ転送す
る転送制御手段と を具備することを特徴とする電子楽器。
1. An electronic musical instrument, which is provided in a main body of an instrument and has internal storage means for storing performance data, and external storage means detachably attached to the main body of the musical instrument, for instructing transfer of the performance data. A transfer instructing means, a determining means for determining a storage capacity of the external storage means when transfer is instructed by the transfer instructing means, and the performance from the internal storage means according to the storage capacity determined by the determining means. An electronic musical instrument comprising: a transfer control means for reading out all the data or a part of the performance data and transferring the data to the external storage means.
【請求項2】前記演奏データは、少なくとも、演奏操作
に対応するキー操作データと発生すべき楽音の属性を表
わすレジストレーションデータとから構成され、 前記演奏データの一部とは、前記演奏データから前記レ
ジストレーションデータを除外したものであることを特
徴とする特許請求の範囲第1項記載の電子楽器。
2. The performance data comprises at least key operation data corresponding to a performance operation and registration data representing an attribute of a musical tone to be generated, and a part of the performance data is composed of the performance data. The electronic musical instrument according to claim 1, wherein the registration data is excluded.
JP62025886A 1987-02-06 1987-02-06 Electronic musical instrument Expired - Fee Related JPH0690617B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62025886A JPH0690617B2 (en) 1987-02-06 1987-02-06 Electronic musical instrument
US07/153,226 US4898059A (en) 1987-02-06 1988-02-08 Electronic musical instrument which compares amount of data recorded in internal memory device with storage capacity of external memory device and selectively transfers data thereto

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62025886A JPH0690617B2 (en) 1987-02-06 1987-02-06 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS63193189A JPS63193189A (en) 1988-08-10
JPH0690617B2 true JPH0690617B2 (en) 1994-11-14

Family

ID=12178267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62025886A Expired - Fee Related JPH0690617B2 (en) 1987-02-06 1987-02-06 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH0690617B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5129302A (en) * 1989-08-19 1992-07-14 Roland Corporation Automatic data-prereading playing apparatus and sound generating unit in an automatic musical playing system
US7196259B2 (en) 2002-01-11 2007-03-27 Yamaha Corporation Performance data transmission controlling apparatus and electronic musical instrument capable of acquiring performance data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS573282A (en) * 1980-06-10 1982-01-08 Osawa Seimitsu Kogyo Kk Automatic playing instrument having storing
JPS59206896A (en) * 1983-05-10 1984-11-22 カシオ計算機株式会社 automatic performance device

Also Published As

Publication number Publication date
JPS63193189A (en) 1988-08-10

Similar Documents

Publication Publication Date Title
US4898059A (en) Electronic musical instrument which compares amount of data recorded in internal memory device with storage capacity of external memory device and selectively transfers data thereto
GB2141283A (en) Auto-playing apparatus
JPH0690617B2 (en) Electronic musical instrument
JPH044598B2 (en)
JPH0820869B2 (en) Electronic musical instrument
JP2546663B2 (en) Automatic playing device
JP2766273B2 (en) Electronic musical instrument parameter information setting device
US4887505A (en) Electronic musical instrument capable of performing an automatic accompaniment
JP2513000B2 (en) Electronic musical instrument
JP2580662B2 (en) Electronic musical instrument
JP2001249852A (en) Electronic equipment
JP2551265B2 (en) Automatic performance data creation device
JP2610919B2 (en) Performance operation input device
JPS59189393A (en) Automatic transformer
JP2937066B2 (en) Electronic musical instrument
JP3561973B2 (en) Electronic musical instrument
JP3099630B2 (en) Music signal controller
JP3116557B2 (en) Electronic musical instrument tone control device
JPH0260189B2 (en)
JP2521960B2 (en) Electronic musical instrument
JP3085677B2 (en) Music signal generator
JP3141448B2 (en) Automatic accompaniment device
JPH0749517Y2 (en) Automatic playing device
JP2671888B2 (en) Electronic musical instrument
JPH1165561A (en) Automatic composing device, automatic composing method, and record medium thereof

Legal Events

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