JP3045915B2 - Electronic musical instrument data setting device - Google Patents

Electronic musical instrument data setting device

Info

Publication number
JP3045915B2
JP3045915B2 JP5344786A JP34478693A JP3045915B2 JP 3045915 B2 JP3045915 B2 JP 3045915B2 JP 5344786 A JP5344786 A JP 5344786A JP 34478693 A JP34478693 A JP 34478693A JP 3045915 B2 JP3045915 B2 JP 3045915B2
Authority
JP
Japan
Prior art keywords
switch
data
setting
selection
electronic musical
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
JP5344786A
Other languages
Japanese (ja)
Other versions
JPH07175480A (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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP5344786A priority Critical patent/JP3045915B2/en
Publication of JPH07175480A publication Critical patent/JPH07175480A/en
Application granted granted Critical
Publication of JP3045915B2 publication Critical patent/JP3045915B2/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

【0001】[0001]

【産業上の利用分野】本発明は、電子楽器に種々の動作
指示を与えるために用いられる電子楽器のデータ設定装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data setting device for an electronic musical instrument used for giving various operation instructions to the electronic musical instrument.

【0002】[0002]

【従来の技術】一般に、電子楽器においては、音色、リ
ズム、音響効果の種類等を指定するための多数の操作子
を有しており、これら各種操作子を適宜操作して電子楽
器を所望の状態に設定することが行われている。
2. Description of the Related Art In general, an electronic musical instrument has a large number of controls for designating a tone color, a rhythm, a type of a sound effect, and the like. Setting the state has been done.

【0003】このような設定方法の1つとして、例え
ば、音色を選択する場合は音色選択スイッチを操作して
音色設定状態にし、また、リズムを選択する場合はリズ
ム選択スイッチを操作してリズム設定状態にし、その
後、それぞれの状態においてアップダウンスイッチやテ
ンキー等を用いてデータを入力することにより、所望の
音色やリズムを選択する方法が知られている。ここにア
ップダウンスイッチとは、押下の度に数値をインクリメ
ント又はデクリメントして所望の数値が現れた時点で押
下を止めることにより所望の数値を入力する装置であ
る。また、テンキーとは、0〜9の数値を直接入力する
装置である。
As one of such setting methods, for example, when a timbre is selected, a timbre selection switch is operated to enter a timbre setting state, and when a rhythm is selected, a rhythm selection switch is operated to operate a rhythm setting switch. There is known a method of selecting a desired timbre or rhythm by inputting data using an up / down switch, a numeric keypad, or the like in each state. Here, the up / down switch is a device for inputting a desired numerical value by incrementing or decrementing the numerical value each time the key is pressed and stopping the pressing when the desired numerical value appears. The numeric keypad is a device for directly inputting numerical values from 0 to 9.

【0004】また、他の設定方法として、例えば電子楽
器に既に備えられている音色選択スイッチとリズム選択
スイッチとを同時に押すことにより設定を希望する項目
(音色、リズム、音響効果の種類等)を選択し、この状
態でアップダウンスイッチ又はテンキーを用いて所望の
データを入力することにより、所望の値を設定し又は選
択を行う方法も知られている。
As another setting method, for example, by simultaneously pressing a tone color selection switch and a rhythm selection switch already provided in an electronic musical instrument, an item (tone color, rhythm, type of sound effect, etc.) desired to be set is selected. There is also known a method in which a desired value is set or selected by inputting desired data using an up / down switch or a numeric keypad in this state.

【0005】[0005]

【発明が解決しようとする課題】ところで、近年の電子
楽器には多数の操作子が搭載されているので、操作が煩
雑になると共にコストアップにつながるという問題があ
った。従って、操作子の数を極力減らし、操作性の改善
とコストダウンを図ることのできるデータ設定装置が望
まれていた。特に小型の電子楽器では、操作子の数の削
減という強い要請があった。
However, recent electronic musical instruments are equipped with a large number of controls, and thus have a problem that the operation becomes complicated and the cost is increased. Therefore, there has been a demand for a data setting device capable of reducing the number of operators as much as possible and improving operability and reducing costs. In particular, there has been a strong demand for a small electronic musical instrument to reduce the number of controls.

【0006】本発明は、かかる事情に鑑みてなされたも
のであり、少ない操作子の数で種々の動作指示を行うこ
とのできる電子楽器のデータ設定装置を提供することを
目的とする。
The present invention has been made in view of such circumstances, and has as its object to provide a data setting device for an electronic musical instrument capable of giving various operation instructions with a small number of controls.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明の電子楽器のデータ設定装置の第1の態様
は、複数の操作子から成る操作子群と、該操作子群の中
の特定の複数の操作子が同時に押下されたことが検出さ
れた場合に、複数の設定項目の中から1つの設定項目を
選択する選択手段と、前記操作子群の中の1つの操作子
が押下された場合に、該操作子に応じたデータを生成
し、その時点で前記選択手段により選択されている設定
項目のデータとする制御手段、とを具備したことを特徴
とする。
In order to achieve the above object, a first aspect of the electronic musical instrument data setting device according to the present invention comprises an operator group comprising a plurality of operators, and Selecting means for selecting one setting item from among a plurality of setting items when it is detected that a plurality of specific operation members are simultaneously pressed; And control means for generating data corresponding to the operator when the button is pressed, and setting the data of the setting item selected by the selection means at that time.

【0008】また、同様の目的で、本発明の電子楽器の
データ設定装置の第1の態様の好ましい実施態様におい
ては、前記選択手段が、前記操作子群の中の特定の複数
の操作子が同時に押下されたことが検出される度に設定
項目を変更するように制御することを特徴とする。
For the same purpose, in a preferred embodiment of the first aspect of the data setting apparatus for an electronic musical instrument according to the present invention, the selection means includes a plurality of specific controls in the control group. Control is performed such that the setting item is changed each time it is detected that the buttons are simultaneously pressed.

【0009】また、同様の目的で、本発明の電子楽器の
データ設定装置の第2の態様は、データの増加を指示す
るアップスイッチとデータの減少を指示するダウンスイ
ッチとから成るアップダウンスイッチと、前記アップス
イッチとダウンスイッチとが同時に押下されたことが検
出された場合に、複数の設定項目の中から1つの設定項
目を選択する選択手段と、前記アップダウンスイッチの
中のアップスイッチ又はダウンスイッチが押下された場
合に、該アップスイッチ又はダウンスイッチに応じたデ
ータを生成し、その時点で前記選択手段により選択され
ている設定項目のデータとする制御手段、を備えたこと
を特徴とする。
For the same purpose, a second aspect of the data setting device for an electronic musical instrument according to the present invention is an up / down switch comprising an up switch for instructing an increase in data and a down switch for instructing a decrease in data. Selecting means for selecting one setting item from among a plurality of setting items when it is detected that the up switch and the down switch are simultaneously pressed, and an up switch or a down switch in the up / down switch. Control means for generating data corresponding to the up switch or the down switch when the switch is pressed, and setting the data of the setting item selected by the selection means at that time. .

【0010】また、同様の目的で、本発明の電子楽器の
データ設定装置の第2の態様の好ましい実施態様におい
ては、前記選択手段が、前記アップスイッチとダウンス
イッチとが押下されたことが検出される度に設定項目を
変更するように制御することを特徴とする。
For the same purpose, in a preferred embodiment of the data setting device for an electronic musical instrument according to the second aspect of the present invention, the selecting means detects that the up switch and the down switch have been pressed. It is characterized in that control is performed such that the setting item is changed every time the setting is performed.

【0011】また、同様の目的で、本発明の電子楽器の
データ設定装置の第3の態様は、複数の選択されるべき
要素に対応する複数のスイッチから成るスイッチ群と、
該スイッチ群の中の特定の複数のスイッチが同時に押下
されたことが検出された場合に、前記スイッチ群の各ス
イッチに所定の機能を割り当てる割当手段と、前記スイ
ッチ群の中の1つのスイッチが押下された場合に、該ス
イッチに応じたデータを生成し、その時点で前記割当手
段により割り当てられている機能の中の1つの要素を示
すデータとする制御手段、を備えたことを特徴とする。
For the same purpose, a third mode of the data setting apparatus for an electronic musical instrument according to the present invention comprises: a switch group including a plurality of switches corresponding to a plurality of elements to be selected;
Allocating means for allocating a predetermined function to each switch of the switch group when it is detected that a plurality of switches in the switch group are simultaneously pressed; And control means for generating data corresponding to the switch when pressed, and using the data as data indicating one element of the function assigned by the assigning means at that time. .

【0012】また、同様の目的で、本発明の電子楽器の
データ設定装置の第3の態様の好ましい実施態様におい
ては、前記割当手段が、前記スイッチ群の中の特定の複
数のスイッチが押下されたことが検出される度に割り当
てる機能を変更するように制御することを特徴とする。
For the same purpose, in a preferred embodiment of the third aspect of the data setting device for an electronic musical instrument according to the present invention, the allocating means is configured to depress a plurality of specific switches in the switch group. The present invention is characterized in that control is performed such that a function to be assigned is changed each time a detected event is detected.

【0013】[0013]

【作用】本発明の第1の態様の電子楽器のデータ設定装
置においては、操作子群に含まれる特定の複数の操作子
が同時に押下されたことが検出された場合に、例えば予
め用意されている複数の設定項目の中から1つの設定項
目が選択される。ここで設定項目としては、例えば、音
色選択、リズム選択、音響効果の種類の選択、デモ曲の
選択、音量設定すべきパートの選択、音量設定、各種パ
ラメータの設定等の各項目を挙げることができる。
In the data setting device for an electronic musical instrument according to the first aspect of the present invention, when it is detected that a plurality of specific controls included in the control group are simultaneously pressed, for example, the data is prepared in advance. One setting item is selected from a plurality of setting items. Here, the setting items include, for example, tone color selection, rhythm selection, sound effect type selection, demonstration song selection, selection of a part to be volume-set, volume setting, setting of various parameters, and the like. it can.

【0014】そして、所定の設定項目が選択された状態
において、上記操作子群の中の1つの操作子を操作する
ことにより、その操作子の操作に応じたデータが生成さ
れ、当該設定項目のデータとされる。例えば、設定項目
として音色選択の項目が選択されている状態において1
つの操作子が操作されると、その操作子に対応するデー
タが生成され、このデータが音色を指定するデータとし
て使用される。
[0014] Then, by operating one of the operators in the group of operators in a state in which a predetermined setting item is selected, data corresponding to the operation of that operator is generated. Data. For example, when the tone color selection item is selected as a setting item, 1
When one of the operators is operated, data corresponding to the operator is generated, and this data is used as data for specifying a timbre.

【0015】これにより、操作子群の中の操作子のみで
設定項目の選択及び設定項目内におけるデータの設定や
選択ができるので操作子の数を減らすことができ、デー
タ設定装置の構成が簡単になり、またコストの低減にも
寄与できるものとなる。
[0015] Thus, the setting items can be selected and the data in the setting items can be set and selected only by the operators in the operator group, so that the number of operators can be reduced, and the configuration of the data setting device can be simplified. , And can also contribute to cost reduction.

【0016】また、本発明の第1の態様の電子楽器のデ
ータ設定装置の好ましい実施態様においては、操作子群
の中の特定の複数の操作子が同時に押下されたことが検
出される度に設定項目が変更される。例えば、操作子群
の中の特定の複数の操作子が同時に押下されたことが検
出される度に、例えば、音色選択→リズム選択→音響効
果の種類の選択→デモ曲の選択→音量設定すべきパート
の選択→音量設定→各種パラメータの設定→…等のよう
に各設定項目が変化する。
In a preferred embodiment of the data setting apparatus for an electronic musical instrument according to the first aspect of the present invention, each time it is detected that a plurality of specific controls in the group of controls are simultaneously pressed. The setting items are changed. For example, each time it is detected that a plurality of specific controls in the group of controls are pressed simultaneously, for example, tone selection → rhythm selection → selection of sound effect type → selection of demo song → volume setting Each setting item changes as follows: selection of power part → volume setting → setting of various parameters →.

【0017】これにより、設定項目を選択するための特
別の操作子は不要となり、しかも、設定項目を変化させ
るための特定の複数の操作子は、設定項目内のデータの
設定又は選択にも兼用されるので、操作子の数を減らし
た簡単な構成で、且つ低コストのデータ設定装置を提供
することができる。
[0017] This eliminates the need for a special operation element for selecting a setting item, and a plurality of specific operation elements for changing the setting item are also used for setting or selecting data in the setting item. Therefore, it is possible to provide a low-cost data setting device with a simple configuration in which the number of operators is reduced.

【0018】また、本発明の第2の態様の電子楽器のデ
ータ設定装置においては、アップダウンスイッチを構成
するアップスイッチとダウンスイッチが同時に押下され
たことが検出された場合に、例えば予め用意されている
複数の設定項目の中から1つの設定項目が選択される。
ここで設定項目としては、例えば、上述した音色選択、
リズム選択、音響効果の種類の選択、デモ曲の選択、音
量設定すべきパートの選択、音量設定、各種パラメータ
の設定等の各項目を挙げることができる。
In the data setting device for an electronic musical instrument according to the second aspect of the present invention, when it is detected that the up switch and the down switch constituting the up / down switch are simultaneously pressed, for example, the data is prepared in advance. One setting item is selected from among a plurality of setting items.
Here, as the setting items, for example, the above-described tone color selection,
Items such as rhythm selection, sound effect type selection, demo song selection, volume setting part selection, volume setting, and various parameter settings can be cited.

【0019】そして、所定の設定項目が選択された状態
において、上記アップダウンスイッチを構成するアップ
スイッチ又はダウンスイッチの何れかを操作することに
より、そのアップスイッチ又はダウンスイッチの操作に
応じたデータが生成され、当該設定項目のデータとされ
る。例えば、設定項目として音色選択の項目が選択され
ている状態においてアップスイッチ又はダウンスイッチ
の何れかが操作されると、そのアップスイッチ又はダウ
ンスイッチに対応するデータが生成され、このデータが
音色を指定するデータとして使用される。
When a predetermined setting item is selected, by operating either the up switch or the down switch constituting the up / down switch, data corresponding to the operation of the up switch or the down switch is obtained. It is generated and used as the data of the setting item. For example, when either the up switch or the down switch is operated in a state in which the tone selection item is selected as a setting item, data corresponding to the up switch or the down switch is generated, and the data specifies the tone. Used as data to be processed.

【0020】これにより、アップスイッチとダウンスイ
ッチとで構成されるアップダウンスイッチのみで設定項
目の選択及び設定項目内におけるデータの設定や選択が
できるので操作子の数を減らすことができ、データ設定
装置の構成が簡単になり、またコストの低減にも寄与で
きるものとなる。
As a result, selection of a setting item and setting and selection of data in the setting item can be performed only by an up / down switch composed of an up switch and a down switch. The structure of the device is simplified, and the cost can be reduced.

【0021】また、本発明の第2の態様の電子楽器のデ
ータ設定装置の好ましい実施態様においては、アップダ
ウンスイッチを構成するアップスイッチ及びダウンスイ
ッチが同時に押下されたことが検出される度に設定項目
が変更される。例えば、アップスイッチとダウンスイッ
チとが同時に押下されたことが検出される度に、例え
ば、音色選択→リズム選択→音響効果の種類の選択→デ
モ曲の選択→音量設定すべきパートの選択→音量設定→
各種パラメータの設定→…等のように各設定項目が変化
する。
In a preferred embodiment of the data setting apparatus for an electronic musical instrument according to the second aspect of the present invention, the setting is performed every time it is detected that the up switch and the down switch constituting the up / down switch are simultaneously pressed. Item is changed. For example, every time it is detected that the up switch and the down switch are simultaneously pressed, for example, tone selection → rhythm selection → selection of a sound effect type → selection of a demo song → selection of a part to set volume → volume Settings →
Each setting item changes, such as setting of various parameters →.

【0022】これにより、設定項目を選択するための特
別の操作子は不要となり、しかも、設定項目を変化させ
るためのアップスイッチ及びダウンスイッチは、設定項
目内のデータの設定又は選択にも兼用されるので、操作
子の数を減らした簡単な構成で、且つ低コストのデータ
設定装置を提供することができる。
This eliminates the need for a special operator for selecting a setting item, and furthermore, an up switch and a down switch for changing the setting item are also used for setting or selecting data in the setting item. Therefore, it is possible to provide a low-cost data setting device with a simple configuration in which the number of operators is reduced.

【0023】本発明の第3の態様の電子楽器のデータ設
定装置においては、スイッチ群に含まれる特定の複数の
スイッチが同時に押下されたことが検出された場合に、
そのスイッチ群に所定の機能が割り当てられる。ここ
で、スイッチ群としては、例えばマルチアサイナブルパ
ッドを使用することができる。また、スイッチ群に割り
当てる機能としては、例えば、音色選択、リズム選択、
音響効果の種類の選択、デモ曲の選択、音量設定すべき
パートの選択、音量設定、各種パラメータの設定等の各
機能を挙げることができる。
In the electronic musical instrument data setting device according to the third aspect of the present invention, when it is detected that a plurality of specific switches included in the switch group are simultaneously pressed,
A predetermined function is assigned to the switch group. Here, as the switch group, for example, a multi-assignable pad can be used. Functions assigned to the switch group include, for example, tone selection, rhythm selection,
Functions such as selection of a sound effect type, selection of a demo song, selection of a part to be set in volume, volume setting, and setting of various parameters can be cited.

【0024】そして、所定の機能が割り当てられた状態
において、上記スイッチ群の中の1つのスイッチを操作
することにより、そのスイッチに割り当てられている要
素を示すデータが生成され、当該機能における1つの要
素を示すデータとされる。例えば、スイッチ群に音色選
択機能が割り当てられている状態において1つのスイッ
チが操作されると、そのスイッチに対応する音色を示す
データが生成され、このデータが音色を指定するデータ
(例えば音色番号)として使用される。
By operating one of the switches in a state where a predetermined function is assigned, data indicating an element assigned to the switch is generated. This is data indicating an element. For example, when one switch is operated in a state where a tone color selection function is assigned to a switch group, data indicating a tone color corresponding to the switch is generated, and this data is data specifying a tone color (for example, a tone color number). Used as

【0025】これにより、スイッチ群の中のスイッチの
みでスイッチ群の機能の割り当て及び割り当てられた機
能における各要素の選択ができるので操作子の数を減ら
すことができ、データ設定装置の構成が簡単になり、ま
たコストの低減にも寄与できるものとなる。
Thus, the function of the switch group can be assigned and each element in the assigned function can be selected only by the switches in the switch group, so that the number of operators can be reduced and the configuration of the data setting device can be simplified. , And can also contribute to cost reduction.

【0026】また、本発明の第3の態様の電子楽器のデ
ータ設定装置の好ましい実施態様においては、スイッチ
群の中の特定の複数のスイッチが同時に押下されたこと
が検出される度にスイッチ群の機能の割り当てが変更さ
れる。例えば、スイッチ群の中の特定の複数のスイッチ
が同時に押下されたことが検出される度に、スイッチ群
の機能は、例えば、音色選択機能→リズム選択機能→音
響効果の種類の選択機能→デモ曲の選択機能→音量設定
すべきパートの選択機能→音量設定機能→各種パラメー
タの設定機能→…等のように変化する。
In a preferred embodiment of the data setting apparatus for an electronic musical instrument according to the third aspect of the present invention, each time it is detected that a plurality of specific switches in the switch group are simultaneously pressed, the switch group is set. Function assignment is changed. For example, every time it is detected that a plurality of specific switches in the switch group are pressed simultaneously, the functions of the switch group are, for example, a tone selection function → a rhythm selection function → a sound effect type selection function → a demo The selection function of a song → the selection function of a part to set the volume → the volume setting function → the setting function of various parameters →.

【0027】これにより、スイッチ群に割り当てる機能
を選択するための特別の操作子は不要となり、しかも、
スイッチ群に割り当てる機能を変えるための特定のスイ
ッチは、スイッチ群に割り当てられた機能の中の所定の
要素を選択するためにも兼用されるので、操作子の数を
減らした簡単な構成で、且つ低コストのデータ設定装置
を提供することができる。
This eliminates the need for a special operator for selecting the function to be assigned to the switch group.
The specific switch for changing the function assigned to the switch group is also used to select a predetermined element among the functions assigned to the switch group, so with a simple configuration with a reduced number of operators, In addition, a low-cost data setting device can be provided.

【0028】[0028]

【実施例】以下、本発明の電子楽器のデータ設定装置の
実施例につき、図面を参照しながら詳細に説明する。な
お、本実施例としては、鍵盤型の電子楽器を採用してス
イッチ操作に係る構成及び動作を中心に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a data setting device for an electronic musical instrument according to the present invention will be described below in detail with reference to the drawings. In this embodiment, a configuration and an operation related to a switch operation using a keyboard-type electronic musical instrument will be mainly described.

【0029】(実施例1)図1は、本発明に係るデータ
設定装置が適用された電子楽器の実施例の概略構成を示
すブロック図である。本電子楽器は、中央処理装置(以
下、「CPU」という。)10、プログラムメモリ1
1、ランダムアクセスメモリ(以下、「RAM」とい
う。)12、パネルインタフェース回路13、鍵盤イン
タフェース回路15、自動演奏データメモリ17、波形
メモリ18及び音源(トーンジェネレータ)19がシス
テムバス30で相互に接続されて構成されている。
(Embodiment 1) FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an electronic musical instrument to which a data setting device according to the present invention is applied. This electronic musical instrument has a central processing unit (hereinafter, referred to as “CPU”) 10 and a program memory 1.
1. Random access memory (hereinafter referred to as "RAM") 12, panel interface circuit 13, keyboard interface circuit 15, automatic performance data memory 17, waveform memory 18, and tone generator (tone generator) 19 are interconnected by system bus 30. It is configured.

【0030】CPU10は選択手段の一部及び制御手段
に対応するものであり、プログラムメモリ11に格納さ
れている制御プログラムに従って、本電子楽器の全体を
制御する。このCPU10には、図示しないタイムカウ
ンタが含まれている。このタイムカウンタは、自動演奏
モード(通常演奏モードに相対する動作モードであり、
リズム演奏等の自動演奏が行われるモードである。)に
された場合にカウント動作が開始され、以後自動演奏モ
ードが継続されている間は一定周期でカウントアップさ
れる。このタイムカウンタは、後述する自動演奏処理に
おいて発音又は消音のタイミングを検出するために使用
される。
The CPU 10 corresponds to a part of the selection means and the control means, and controls the entire electronic musical instrument according to a control program stored in the program memory 11. The CPU 10 includes a time counter (not shown). This time counter is an automatic performance mode (an operation mode corresponding to the normal performance mode,
In this mode, automatic performance such as rhythm performance is performed. ), The counting operation is started, and thereafter, the counting is performed at a constant period while the automatic performance mode is continued. This time counter is used for detecting the timing of sound generation or mute in the automatic performance processing described later.

【0031】このCPU10には、MIDIインタフェ
ース回路24が接続されている。MIDIインタフェー
ス回路24は、本電子楽器と外部装置との間のMIDI
データの受け渡しを制御するものである。外部装置とし
ては、例えばMIDIデータを処理することのできるパ
ーソナルコンピュータやシーケンサ、他の電子楽器等を
挙げることができる。
The CPU 10 is connected to a MIDI interface circuit 24. The MIDI interface circuit 24 provides a MIDI interface between the electronic musical instrument and an external device.
It controls the transfer of data. Examples of the external device include a personal computer, a sequencer, and other electronic musical instruments that can process MIDI data.

【0032】プログラムメモリ11は、例えばROMで
構成されている。このプログラムメモリ11には、上述
したCPU10を動作させるための制御プログラムが記
憶されている他、CPU10が各種処理に用いる種々の
固定データが記憶されている。このプログラムメモリ1
1の内容はCPU10により読み出される。即ち、CP
U10は、プログラムメモリ11から制御プログラム
(命令)を読み出して解釈・実行すると共に、所定の固
定データを読み出して各種処理に使用する。
The program memory 11 is constituted by, for example, a ROM. The program memory 11 stores a control program for operating the CPU 10 described above, and also stores various fixed data used by the CPU 10 for various processes. This program memory 1
1 is read by the CPU 10. That is, CP
The U10 reads out a control program (instruction) from the program memory 11, interprets and executes it, and reads out predetermined fixed data and uses it for various processes.

【0033】RAM12は、CPU10が制御プログラ
ムを実行する際に、種々のデータを一時記憶するために
使用される。このRAM12には、例えばデータバッフ
ァ、レジスタ、カウンタ、フラグ等の各領域が定義され
ている。
The RAM 12 is used for temporarily storing various data when the CPU 10 executes a control program. In the RAM 12, areas such as a data buffer, a register, a counter, and a flag are defined.

【0034】パネルインタフェース回路13には、操作
パネル14が接続されている。操作パネル14は、本電
子楽器に各種動作を指示するために使用されるものであ
り、例えば図2に示されるように、自動演奏スタートス
イッチ140、アップスイッチ141Aとダウンスイッ
チ141Bとで構成されるアップダウンスイッチ141
及び表示器142等が設けられている。なお、操作パネ
ル14には、上記以外のスイッチや表示器も設けられて
いるが、本発明とは直接関係部分は図示を省略してあ
る。
An operation panel 14 is connected to the panel interface circuit 13. The operation panel 14 is used to instruct the electronic musical instrument to perform various operations. For example, as shown in FIG. 2, the operation panel 14 includes an automatic performance start switch 140, an up switch 141A, and a down switch 141B. Up / down switch 141
And a display 142 and the like. The operation panel 14 is provided with switches and indicators other than those described above, but illustration of parts directly related to the present invention is omitted.

【0035】自動演奏スタートスイッチ140は、自動
演奏の開始又は停止を指示するために使用される。本電
子楽器の動作モードは、この自動演奏スタートスイッチ
140が押下される度に自動演奏モードと通常演奏モー
ドとが交互に反転される。
The automatic performance start switch 140 is used to instruct the start or stop of the automatic performance. In the operation mode of the electronic musical instrument, the automatic performance mode and the normal performance mode are alternately reversed each time the automatic performance start switch 140 is pressed.

【0036】アップダウンスイッチ141は操作子群に
対応し、アップスイッチ141A及びダウンスイッチ1
41Bは特定の複数の操作子に対応するものである。こ
のアップダウンスイッチ141は、アップスイッチ14
1Aとダウンスイッチ141Bとを同時に押下されるこ
とにより選択手段の一部として機能し、設定項目を選択
するために使用される。ここで設定項目は、例えば、音
色選択、リズム選択、音響効果の種類の選択、デモ曲の
選択、音量設定すべきパートの選択等を行い、または、
音量設定、各種パラメータの設定等を行うための各状態
に対応している。以下の説明では、この設定項目を「ペ
ージ」と呼ぶこともある。
The up / down switch 141 corresponds to an operator group, and includes an up switch 141A and a down switch 1
41B corresponds to a specific plurality of operators. This up / down switch 141 is
When 1A and the down switch 141B are pressed at the same time, they function as a part of the selection means and are used to select a setting item. Here, the setting items include, for example, sound color selection, rhythm selection, sound effect type selection, demo song selection, selection of a part for which volume is to be set, or
It corresponds to each state for performing volume setting, setting of various parameters, and the like. In the following description, this setting item may be called a “page”.

【0037】なお、上記アップスイッチ141Aとダウ
ンスイッチ141Bとが同時に押下された旨の検出は、
一方のスイッチが押下されている状態で他方のスイッチ
が押下されたことが検出されることにより行われる。従
って、一方のスイッチが押下されてから他方のスイッチ
が押下されるまでの時間とは無関係に、アップスイッチ
141Aとダウンスイッチ141Bとが同時に押下され
た旨を検出できるようになっている。
It should be noted that the detection that the up switch 141A and the down switch 141B are simultaneously pressed is detected.
This is performed by detecting that the other switch is pressed while one switch is pressed. Therefore, it is possible to detect that the up switch 141A and the down switch 141B have been pressed at the same time, regardless of the time from when one switch is pressed until the other switch is pressed.

【0038】また、上記アップスイッチ141A又はダ
ウンスイッチ141Bは、単独で操作されることによ
り、上述した各ページにおいて、そのページ内で規定さ
れている所定の要素を数値で指定し又は所定のデータを
入力するために使用される。例えば、音色選択ページで
は、アップスイッチ141A又はダウンスイッチ141
Bを操作して所望の数値(音色番号)を入力することに
より音色を指定するために使用される。同様に、リズム
選択ページでは、アップスイッチ141A又はダウンス
イッチ141Bを操作して所望の数値(リズム番号)を
入力することによりリズムを選択するために使用され
る。その他のページにおいても、上記と同様に、所定の
要素を選択し又は所定のデータを入力するために使用さ
れる。
When the up switch 141A or the down switch 141B is operated independently, in each page described above, a predetermined element specified in the page is designated by a numerical value or predetermined data is transmitted. Used to enter. For example, on the tone selection page, the up switch 141A or the down switch 141
It is used to designate a timbre by operating B and inputting a desired numerical value (timbre number). Similarly, the rhythm selection page is used to select a rhythm by operating the up switch 141A or the down switch 141B and inputting a desired numerical value (rhythm number). The other pages are also used for selecting a predetermined element or inputting predetermined data in the same manner as described above.

【0039】表示器142は、例えば7セグメントのL
ED表示器を2桁分備えて構成されている。この表示器
142には、CPU10から送られてくるデータに従っ
て、数字や英文字等が表示される。例えば、アップダウ
ンスイッチ141が操作されると、その操作に応じた数
値が表示される。なお、表示器142は、2桁に限らず
必要に応じて任意の桁の7セグメントLEDを用いるこ
とができる。また、表示器142は、7セグメントのL
EDに限らず、例えばLCD表示器やその他の表示器を
用いることもできる。
The display 142 has, for example, a 7-segment L
An ED display is provided for two digits. The display 142 displays numbers, English characters, and the like according to data sent from the CPU 10. For example, when the up / down switch 141 is operated, a numerical value corresponding to the operation is displayed. The display 142 is not limited to two digits, and a 7-segment LED of an arbitrary digit can be used as needed. In addition, the display 142 indicates a 7-segment L.
Not limited to the ED, for example, an LCD display or another display may be used.

【0040】上記パネルインタフェース回路13は、操
作パネル14とCPU10との間のデータの送受を制御
するものである。即ち、パネルインタフェース回路13
は操作パネル14に対してスキャン信号を送出し、この
スキャン信号に応答して操作パネル14から返送される
各スイッチのオン/オフを示す信号を入力する。そし
て、この信号から各スイッチのオン/オフを1ビットに
対応させたパネルデータを生成し、CPU10に送る。
このパネルデータは、CPU10の制御の下にRAM1
2に格納され、パネルイベントの有無の判断に使用され
る(詳細は後述する)。
The panel interface circuit 13 controls transmission and reception of data between the operation panel 14 and the CPU 10. That is, the panel interface circuit 13
Sends a scan signal to the operation panel 14 and inputs a signal indicating ON / OFF of each switch returned from the operation panel 14 in response to the scan signal. Then, from this signal, panel data in which on / off of each switch corresponds to 1 bit is generated and sent to the CPU 10.
This panel data is stored in the RAM 1 under the control of the CPU 10.
2 is used to determine the presence or absence of a panel event (details will be described later).

【0041】また、パネルインタフェース回路13は、
CPU10から送られてきた表示用データを操作パネル
14の表示器142に送る。これにより、表示器142
に所定の数字、英文字、記号等が表示される。
The panel interface circuit 13
The display data sent from the CPU 10 is sent to the display 142 of the operation panel 14. Thus, the display 142
, Predetermined numbers, English characters, symbols and the like are displayed.

【0042】鍵盤インタフェース回路15には、鍵盤装
置16が接続されている。鍵盤装置16は、音高を指定
するための複数の鍵を有している。鍵盤装置16の各鍵
には、押鍵又は離鍵に連動して開閉するキースイッチが
設けられており、このキースイッチのオン/オフを示す
信号は鍵盤インタフェース回路15に送られる。
A keyboard device 16 is connected to the keyboard interface circuit 15. The keyboard device 16 has a plurality of keys for designating a pitch. Each key of the keyboard device 16 is provided with a key switch that opens and closes in response to key depression or key release. A signal indicating ON / OFF of the key switch is sent to the keyboard interface circuit 15.

【0043】鍵盤インタフェース回路15は、鍵盤装置
16とCPU10との間のデータの送受を制御するもの
である。即ち、鍵盤インタフェース回路15は鍵盤装置
16に対してスキャン信号を送出し、このスキャン信号
に応答して鍵盤装置16から返送される各キースイッチ
のオン/オフを示す信号を入力する。そして、この信号
から各キースイッチのオン/オフを1ビットに対応させ
たキーデータを生成し、CPU10に送る。このキーデ
ータは、CPU10の制御の下にRAM12に格納さ
れ、鍵盤イベントの有無の判断に使用される(詳細は後
述する)。
The keyboard interface circuit 15 controls the transmission and reception of data between the keyboard device 16 and the CPU 10. That is, the keyboard interface circuit 15 sends a scan signal to the keyboard device 16 and inputs a signal indicating ON / OFF of each key switch returned from the keyboard device 16 in response to the scan signal. Then, from this signal, key data in which each key switch is turned on / off corresponding to one bit is generated and sent to the CPU 10. The key data is stored in the RAM 12 under the control of the CPU 10, and is used for determining the presence or absence of a keyboard event (details will be described later).

【0044】自動演奏データメモリ17は、例えばRO
Mで構成されている。この自動演奏データメモリ17に
は、複数のリズムに対応した自動演奏データが記憶され
ている。この自動演奏データは、例えばコード、ベース
及びドラムといった3つのパート音を発生するための3
種類のデータにより構成されている。各パートの自動演
奏データは、例えばMIDIデータと同様の形式で作成
され、発音タイミングを指示するためのステップタイム
データを含んでいる。この自動演奏データメモリ17に
記憶された自動演奏データは、後述する自動演奏処理に
おいて、音源19が処理することができる形式に変換さ
れて音源19に送られる。
The automatic performance data memory 17 stores, for example, RO
M. The automatic performance data memory 17 stores automatic performance data corresponding to a plurality of rhythms. This automatic performance data is used to generate three part sounds such as a chord, a bass and a drum.
It consists of different types of data. The automatic performance data of each part is created, for example, in the same format as the MIDI data, and includes step time data for instructing sounding timing. The automatic performance data stored in the automatic performance data memory 17 is converted to a format that can be processed by the sound source 19 and sent to the sound source 19 in an automatic performance process described later.

【0045】上記の自動演奏における各パートの音量
は、アップスイッチ141Aとダウンスイッチ141B
との同時押しにより、音量設定すべきパートを選択する
ためのページを選択し、その選択された状態において、
アップスイッチ141A又はダウンスイッチ141Bの
何れかを操作して音量変更するパートを選択し、その状
態で更にアップスイッチ141A又はダウンスイッチ1
41Bの何れかを操作して音量値を入力することにより
設定される。
The volume of each part in the above automatic performance is determined by an up switch 141A and a down switch 141B.
By pressing simultaneously with, select a page to select the part to set the volume, in the selected state,
Operate either the up switch 141A or the down switch 141B to select the part whose volume is to be changed, and in that state, further press the up switch 141A or the down switch 1
It is set by operating any one of 41B and inputting the volume value.

【0046】なお、上記自動演奏データは、自動演奏デ
ータメモリ17に代えて、RAM12の一部に記憶する
ように構成しても良い。この場合、システムバス30に
例えばフロッピーディスク装置(又はROMカード制御
装置)を接続すると共に、フロッピーディスク(又はR
OMカード)に自動演奏データを記憶させておき、例え
ば本電子楽器の電源投入時にフロッピーディスク装置に
装着されたフロッピーディスク(又はROMカード制御
装置に挿入されたROMカード)から上記自動演奏デー
タをRAM12にロードするように構成すれば良い。
The automatic performance data may be stored in a part of the RAM 12 instead of the automatic performance data memory 17. In this case, for example, a floppy disk device (or ROM card controller) is connected to the system bus 30 and a floppy disk (or R
The automatic performance data is stored in an OM card, and the automatic performance data is stored in a RAM 12 from a floppy disk (or a ROM card inserted in a ROM card control device) mounted on a floppy disk device when the electronic musical instrument is turned on. It may be configured to be loaded to

【0047】波形メモリ18には、パルスコード変調
(PCM)された波形データが記憶されている。この波
形メモリ18には、複数種類の音色を実現するべく、各
音色、各鍵域、押鍵速度等に対応した複数種類の波形デ
ータが記憶されている。この波形データは、CPU10
からの発音指示があった時点で指定されている音色、発
音指示された音高、発音指示に係る音のベロシティ等に
応じて選択されて読み出される。
The waveform memory 18 stores pulse code modulated (PCM) waveform data. The waveform memory 18 stores a plurality of types of waveform data corresponding to each tone, each key range, a key pressing speed, and the like in order to realize a plurality of types of tone colors. This waveform data is stored in the CPU 10
Is selected and read out according to the tone color specified at the time when the sounding instruction is issued, the pitch at which the sounding is instructed, the velocity of the sound related to the sounding instruction, and the like.

【0048】音源19は、例えば複数のオシレータを備
えて構成されている。そして、鍵盤装置16の押鍵に対
応した楽音、自動演奏の各パートに対応した楽音、又は
MIDIデータに基づく楽音をそれぞれ発生するために
定められている各発音チャンネルに対して1個乃至数個
のオシレータが割り当てられるようになっている。発音
が割り当てられたオシレータは、波形メモリ18に記憶
されている波形データを時分割で読み出し、これにエン
ベロープを付加してデジタル楽音信号を生成する。この
音源19において生成されたデジタル楽音信号は、D/
A変換器20に送られる。
The sound source 19 includes, for example, a plurality of oscillators. One to several sounding channels are defined for generating a tone corresponding to a key depression of the keyboard device 16, a tone corresponding to each part of an automatic performance, or a tone based on MIDI data. Oscillator is assigned. The oscillator to which the sound is assigned reads out the waveform data stored in the waveform memory 18 in a time-division manner, adds an envelope thereto, and generates a digital tone signal. The digital tone signal generated by the sound source 19 is D /
It is sent to the A converter 20.

【0049】D/A変換器20は、入力されたデジタル
楽音信号をアナログ楽音信号に変換して出力するもので
ある。このD/A変換器20が出力するアナログ楽音信
号は増幅器21に送られる。増幅器21は、入力された
アナログ楽音信号を所定の増幅率で増幅して出力するも
のである。この増幅器21が出力するアナログ楽音信号
はスピーカ22に送られる。スピーカ22は、電気信号
としてのアナログ楽音信号を音響信号に変換する周知の
ものである。このスピーカ22により、鍵盤装置16の
操作に応じた楽音、自動演奏データメモリ17から読み
出された自動演奏データに応じた楽音、又はMIDIデ
ータに基づく楽音が放音される。
The D / A converter 20 converts an input digital tone signal into an analog tone signal and outputs it. The analog tone signal output from the D / A converter 20 is sent to the amplifier 21. The amplifier 21 amplifies the input analog musical tone signal at a predetermined amplification rate and outputs the signal. The analog tone signal output from the amplifier 21 is sent to a speaker 22. The speaker 22 is a well-known device that converts an analog musical tone signal as an electric signal into an acoustic signal. The speaker 22 emits a tone corresponding to the operation of the keyboard device 16, a tone corresponding to the automatic performance data read from the automatic performance data memory 17, or a tone based on the MIDI data.

【0050】次に、上記の構成において、本発明に係る
電子楽器の実施例の動作につき、音量調整の動作を中心
に、図3〜図7に示したフローチャートを参照しながら
説明する。
Next, the operation of the embodiment of the electronic musical instrument according to the present invention in the above configuration will be described with reference to the flowcharts shown in FIGS.

【0051】図3は、本電子楽器のメインルーチンを示
すフローチャートであり、電源投入により起動される。
即ち、電源が投入されると、先ず、初期化処理が行われ
る(ステップS10)。
FIG. 3 is a flowchart showing a main routine of the electronic musical instrument, which is started when the power is turned on.
That is, when the power is turned on, first, an initialization process is performed (step S10).

【0052】この初期化処理では、CPU10の内部状
態が初期状態に設定されると共に、RAM12に定義さ
れているレジスタ、カウンタ或いはフラグ等に初期値が
設定される。また、この初期化処理では、音源19に所
定のデータが送られ、電源投入時に不要な音が発生され
るのを防止する処理が行われる。この初期化処理が終了
すると、次いでスイッチイベント処理が行われる(ステ
ップS11)。このスイッチイベント処理の詳細は、図
4のフローチャートに示されている。
In this initialization process, the internal state of the CPU 10 is set to the initial state, and an initial value is set to a register, a counter, a flag, or the like defined in the RAM 12. In this initialization processing, predetermined data is sent to the sound source 19, and processing for preventing generation of unnecessary sound when the power is turned on is performed. When the initialization process ends, a switch event process is performed (step S11). Details of the switch event process are shown in the flowchart of FIG.

【0053】スイッチイベント処理では、先ず、パネル
スキャンが行われる(ステップS20)。このパネルス
キャンは、先ず、既に説明したように、操作パネル14
からパネルインタフェース回路13を介してパネルデー
タ(以下、「新パネルデータ」という。)が読み込まれ
る。次いで、前回読み込んで既にRAM12に記憶され
ているパネルデータ(以下、「旧パネルデータ」とい
う。)と、上記新パネルデータとが比較されて相違する
ビットをオンにしたパネルイベントマップが作成され
る。
In the switch event processing, first, a panel scan is performed (step S20). This panel scan is performed by first operating the operation panel 14 as described above.
Panel data (hereinafter, referred to as "new panel data") through the panel interface circuit 13. Next, the panel data that has been read last time and has already been stored in the RAM 12 (hereinafter referred to as “old panel data”) is compared with the new panel data, and a panel event map in which different bits are turned on is created. .

【0054】上記ステップS20でパネルスキャン処
理、即ちパネルイベントマップの作成が終了すると、次
いで、スイッチイベントがあるかどうかが調べられる
(ステップS21)。このスイッチイベントの有無は、
上記パネルイベントマップを参照することにより判断さ
れる。即ち、パネルイベントマップ中にオンになってい
るビットが1つ以上存在するとスイッチイベントがあっ
た旨が判断される。
When the panel scan process, that is, the creation of the panel event map is completed in step S20, it is then checked whether or not there is a switch event (step S21). The presence or absence of this switch event
It is determined by referring to the panel event map. That is, if there is one or more ON bits in the panel event map, it is determined that a switch event has occurred.

【0055】ここで、スイッチイベントがないことが判
断されるとステップS22のスイッチ処理をスキップし
てステップS23へ分岐する。一方、スイッチイベント
があることが判断されると、そのイベントのあったスイ
ッチに対するスイッチ処理が行われる(ステップS2
2)。このスイッチ処理の詳細は、図5のフローチャー
トに示されている。
Here, when it is determined that there is no switch event, the switch processing in step S22 is skipped and the process branches to step S23. On the other hand, when it is determined that there is a switch event, switch processing is performed on the switch having the event (step S2).
2). Details of this switch processing are shown in the flowchart of FIG.

【0056】このスイッチ処理では、先ず、アップスイ
ッチ141Aのオンイベントがあるかどうかが調べられ
る(ステップS30)。これは、上記イベントマップ中
のアップスイッチ141Aに対応するビットがオンにな
っており、且つ新パネルデータ中のアップスイッチ14
1Aに対応するビットがオンになっているかどうかを調
べることにより行われる。
In this switch processing, first, it is checked whether or not there is an ON event of the up switch 141A (step S30). This is because the bit corresponding to the up switch 141A in the event map is on and the up switch 14A in the new panel data is on.
This is done by checking whether the bit corresponding to 1A is on.

【0057】ここでアップスイッチ141Aのオンイベ
ントがあることが判断されると、次いで、アップスイッ
チ処理が行われる(ステップS31)。このアップスイ
ッチ処理の詳細については、図6のフローチャートに示
されている。
If it is determined that there is an ON event of the up switch 141A, then up switch processing is performed (step S31). Details of the up-switch process are shown in the flowchart of FIG.

【0058】アップスイッチ処理ルーチンでは、先ず、
ダウンスイッチ141Bがオン状態にあるかどうかが調
べられる(ステップS40)。これは、上記旧パネルデ
ータ中のダウンスイッチ141Bに対応するビットがオ
ンになっているかどうかを調べることにより行われる。
ここでダウンスイッチ141Bがオンになっていること
が判断されると、アップスイッチ141Aとダウンスイ
ッチ141Bとが同時に押下されている旨が認識され、
引き続きページを更新する処理が行われる。
In the up switch processing routine, first,
It is checked whether or not the down switch 141B is on (step S40). This is performed by checking whether the bit corresponding to the down switch 141B in the old panel data is on.
Here, when it is determined that the down switch 141B is turned on, it is recognized that the up switch 141A and the down switch 141B are pressed at the same time,
Subsequently, a process of updating the page is performed.

【0059】即ち、ページカウンタPGCの内容が最大
値であるかどうかが調べられる(ステップS41)。こ
こで、ページカウンタPGCは、RAM12に設けられ
るカウンタであり、例えば、音色選択、リズム選択、音
響効果の種類の選択、デモ曲の選択、音量設定すべきパ
ートの選択等を行うための各ページ、または、音量設
定、各種パラメータを設定するための各ページに順番に
付された番号(以下、「ページ番号」という。)を計数
するものである。このページカウンタPGCの内容によ
り現在どのページが選択されているかが記憶される。
That is, it is checked whether or not the content of the page counter PGC is the maximum value (step S41). Here, the page counter PGC is a counter provided in the RAM 12, and includes, for example, each page for selecting a timbre, a rhythm, a type of a sound effect, a demo song, a part to be set in volume, and the like. Or a number (hereinafter, referred to as a “page number”) sequentially assigned to each page for setting the volume and various parameters. Which page is currently selected is stored by the contents of the page counter PGC.

【0060】上記ステップS41でページカウンタPG
Cの内容が最大値でないことが判断されると、ページカ
ウンタPGCの内容がインクリメントされ(ステップS
42)、一方、ページカウンタPGCの内容が最大値で
あることが判断されると、ページカウンタPGCの内容
がゼロにクリアされる(ステップS43)。ここで、
「最大値」は本電子楽器で定義されているページの数で
あり、電子楽器によって任意に定めることができる。上
記のステップS40〜S43の処理により、アップスイ
ッチ141Aとダウンスイッチ141Bとが同時に押さ
れた場合に、各ページを循環しながら順次変更して選択
する機能が実現されている。その後、このアップスイッ
チ処理ルーチンからリターンしてスイッチ処理ルーチン
に戻り、更に、スイッチ処理ルーチンからもリターンし
てスイッチイベント処理ルーチンに戻る。
In step S41, the page counter PG
If it is determined that the content of C is not the maximum value, the content of the page counter PGC is incremented (step S).
42) On the other hand, when it is determined that the content of the page counter PGC is the maximum value, the content of the page counter PGC is cleared to zero (step S43). here,
The “maximum value” is the number of pages defined by the electronic musical instrument, and can be arbitrarily determined by the electronic musical instrument. Through the processing of steps S40 to S43, a function of sequentially changing and selecting each page while circulating each page is realized when the up switch 141A and the down switch 141B are pressed at the same time. Thereafter, the routine returns from the up switch processing routine to return to the switch processing routine, and further returns from the switch processing routine to return to the switch event processing routine.

【0061】上記ステップS40でダウンスイッチ14
1Bがオンでないことが判断されると、アップスイッチ
141Aのみが押されていることが認識され、通常のア
ップスイッチ処理が行われる(ステップS44)。即
ち、その時点で選択されているページで設定されている
現在値(RAM12に設けられたバッファの内容)がイ
ンクリメントされる。例えば、音色選択のページが選択
されている状態であれば、RAM12に設けられている
音色番号バッファの内容がインクリメントされる。これ
により、音色番号が変更されて新しい音色が選択され
る。リズム選択、音量設定等のその他のページに対して
も上記音色選択の場合と同様の処理が行われる。その
後、このアップスイッチ処理ルーチンからリターンして
スイッチ処理ルーチンに戻り、更に、スイッチ処理ルー
チンからもリターンしてスイッチイベント処理ルーチン
に戻る。
At step S40, the down switch 14
If it is determined that 1B is not on, it is recognized that only the up switch 141A has been pressed, and normal up switch processing is performed (step S44). That is, the current value (contents of the buffer provided in the RAM 12) set in the page selected at that time is incremented. For example, if the tone color selection page is selected, the content of the tone color number buffer provided in the RAM 12 is incremented. Thereby, the timbre number is changed and a new timbre is selected. The same processing as in the above-described tone color selection is performed on other pages such as rhythm selection and volume setting. Thereafter, the routine returns from the up switch processing routine to return to the switch processing routine, and further returns from the switch processing routine to return to the switch event processing routine.

【0062】上記スイッチ処理ルーチンのステップS3
0において、アップスイッチ141Aのオンイベントで
ないことが判断されると、次いで、ダウンスイッチ14
1Bのオンイベントがあるかどうかが調べられる(ステ
ップS32)。これは、上記イベントマップ中のダウン
スイッチ141Bに対応するビットがオンになってお
り、且つ新パネルデータ中のダウンスイッチ141Bに
対応するビットがオンになっているかどうかを調べるこ
とにより行われる。
Step S3 of the above switch processing routine
0, if it is determined that the event is not the ON event of the up switch 141A, then the down switch
It is checked whether there is an ON event of 1B (step S32). This is performed by checking whether the bit corresponding to the down switch 141B in the event map is on, and whether the bit corresponding to the down switch 141B in the new panel data is on.

【0063】ここでダウンスイッチ141Bのオンイベ
ントであることが判断されると、次いで、ダウンスイッ
チ処理が行われる(ステップS33)。このダウンスイ
ッチ処理の詳細については、図7のフローチャートに示
されている。
If it is determined that the event is an ON event of the down switch 141B, then a down switch process is performed (step S33). Details of the down switch process are shown in the flowchart of FIG.

【0064】ダウンスイッチ処理ルーチンでは、先ず、
アップスイッチ141Aがオン状態にあるかどうかが調
べられる(ステップS50)。これは、上記旧パネルデ
ータ中のアップスイッチ141Aに対応するビットがオ
ンになっているかどうかを調べることにより行われる。
ここでアップスイッチ141Aがオンになっていること
が判断されると、アップスイッチ141Aとダウンスイ
ッチ141Bとが同時に押下されている旨が認識され、
引き続きページを更新する処理が行われる。
In the down switch processing routine, first,
It is checked whether or not the up switch 141A is on (step S50). This is performed by checking whether the bit corresponding to the up switch 141A in the old panel data is on.
Here, when it is determined that the up switch 141A is turned on, it is recognized that the up switch 141A and the down switch 141B are pressed at the same time,
Subsequently, a process of updating the page is performed.

【0065】即ち、上記アップスイッチ処理の場合と同
様に、ページカウンタPGCの内容が最大値であるかど
うかが調べられる(ステップS41)。そして、ページ
カウンタPGCの内容が最大値でないことが判断される
と、ページカウンタPGCの内容がインクリメントされ
(ステップS52)、一方、ページカウンタPGCの内
容が最大値であることが判断されると、ページカウンタ
PGCの内容がゼロにクリアされる(ステップS5
3)。その後、このアップスイッチ処理ルーチンからリ
ターンしてスイッチ処理ルーチンに戻り、更に、スイッ
チ処理ルーチンからもリターンしてスイッチイベント処
理ルーチンに戻る。
That is, as in the case of the up-switch process, it is checked whether or not the content of the page counter PGC is the maximum value (step S41). When it is determined that the content of the page counter PGC is not the maximum value, the content of the page counter PGC is incremented (step S52). On the other hand, when it is determined that the content of the page counter PGC is the maximum value, The contents of the page counter PGC are cleared to zero (step S5)
3). Thereafter, the routine returns from the up switch processing routine to return to the switch processing routine, and further returns from the switch processing routine to return to the switch event processing routine.

【0066】上記ステップS50でアップスイッチ14
1Aがオンでないことが判断されると、ダウンスイッチ
141Bのみが押されていることが認識され、通常のダ
ウンスイッチ処理が行われる(ステップS54)。即
ち、その時点で選択されているページで設定されている
現在値(RAM12に設けられたバッファの内容)がデ
クリメントされる。例えば、音色選択のページが選択さ
れている状態であれば、RAM12に設けられている音
色番号バッファの内容がデクリメントされる。これによ
り、音色番号が変更されて新しい音色が選択される。そ
の後、このダウンスイッチ処理ルーチンからリターンし
てスイッチ処理ルーチンに戻り、更に、スイッチ処理ル
ーチンからもリターンしてスイッチイベント処理ルーチ
ンに戻る。
In the above step S50, the up switch 14
If it is determined that 1A is not on, it is recognized that only the down switch 141B has been pressed, and normal down switch processing is performed (step S54). That is, the current value (contents of the buffer provided in the RAM 12) set in the page selected at that time is decremented. For example, when the tone color selection page is selected, the content of the tone color number buffer provided in the RAM 12 is decremented. Thereby, the timbre number is changed and a new timbre is selected. Thereafter, the routine returns from the down switch processing routine and returns to the switch processing routine, and further returns from the switch processing routine and returns to the switch event processing routine.

【0067】なお、本実施例1では、アップスイッチ1
41Aとダウンスイッチ141Bとが同時に押された場
合に、ページ番号をインクリメントするように構成した
が、ページ番号をデクリメントするように構成しても良
いことは勿論である。
In the first embodiment, the up switch 1
Although the page number is incremented when 41A and the down switch 141B are simultaneously pressed, it is needless to say that the page number may be decremented.

【0068】スイッチ処理ルーチンにおいては、ステッ
プS34でダウンスイッチ142Bのオンイベントでな
いことが判断されると、次いで、「その他のスイッチ処
理」が行われる(ステップS34)。この「その他のス
イッチ処理」では、アップダウンスイッチ141以外の
スイッチのイベントに対する処理が行われる。
In the switch processing routine, if it is determined in step S34 that the event is not the ON event of the down switch 142B, then "other switch processing" is performed (step S34). In this “other switch process”, a process for an event of a switch other than the up / down switch 141 is performed.

【0069】この「その他のスイッチ処理」では、例え
ば、パネルイベントマップ中の自動演奏スタートスイッ
チ140に対応するビットがオンになっているか否かを
調べることにより自動演奏スタートスイッチ140のイ
ベントがあったことが判断されると、自動演奏フラグを
反転する処理が行われる。自動演奏フラグは、RAM1
2に設けられるフラグであり、本電子楽器が自動演奏モ
ードにあるか通常演奏モードにあるかを記憶するもので
ある。これにより、自動演奏スタートスイッチ140が
押下される度に、自動演奏モードと通常演奏モードとが
交互に繰り返されることになる。
In this "other switch processing", for example, the event of the automatic performance start switch 140 is detected by checking whether or not the bit corresponding to the automatic performance start switch 140 in the panel event map is turned on. When it is determined that the automatic performance flag is inverted, a process of inverting the automatic performance flag is performed. The automatic performance flag is stored in RAM1
2, which stores whether the electronic musical instrument is in the automatic performance mode or the normal performance mode. Thus, each time the automatic performance start switch 140 is pressed, the automatic performance mode and the normal performance mode are alternately repeated.

【0070】なお、この「その他のスイッチ処理」にお
いては、操作パネル14に設けられた上記以外のスイッ
チに対する処理も行われるが、本発明とは直接関係しな
いので説明は省略する。この「その他のスイッチ処理」
が終了すると、このスイッチ処理ルーチンからリターン
してスイッチイベント処理ルーチンに戻る。
In this "other switch processing", processing for switches other than those described above provided on the operation panel 14 is also performed. However, since the processing is not directly related to the present invention, the description is omitted. This "other switch processing"
Is completed, the process returns from the switch processing routine and returns to the switch event processing routine.

【0071】スイッチイベント処理ルーチンでは、次い
で、LED処理が行われる(ステップS23)。このL
ED処理は、操作パネル14の表示器142に所定のデ
ータを表示させる処理である。このLED処理では、例
えば、アップスイッチ141Aとダウンスイッチ141
Bとが同時に押されることによりページ番号が更新され
た場合に、更新されたページ番号が表示される。この各
表示は、ページカウンタPGCにセットされているペー
ジ番号をパネルインタフェース回路13を介して操作パ
ネル14に送ることにより実現される。これにより、演
奏者は、現在どのページが選択されているかを知ること
ができる。
Next, in the switch event processing routine, LED processing is performed (step S23). This L
The ED process is a process of displaying predetermined data on the display 142 of the operation panel 14. In this LED processing, for example, the up switch 141A and the down switch 141
When the page number is updated by pressing B simultaneously, the updated page number is displayed. Each of these displays is realized by sending the page number set in the page counter PGC to the operation panel 14 via the panel interface circuit 13. This allows the player to know which page is currently selected.

【0072】また、LED処理では、例えば音色選択の
ページにおいてアップスイッチ141A又はダウンスイ
ッチ141Bが押下されることにより音色番号が変更さ
れると、上記と同様にして、変更後の音色番号が表示さ
れる。これにより、演奏者は、現在どの音色が選択され
ているかを知ることができる。その他のページにおける
現在値が変更された場合も同様にして表示が行われる。
In the LED processing, if the tone color number is changed by pressing down the up switch 141A or the down switch 141B on the tone color selection page, the changed tone color number is displayed in the same manner as described above. You. This allows the player to know which tone is currently selected. The display is performed in the same manner when the current value in other pages is changed.

【0073】このLED処理が終了すると、次いで、ベ
ンダーホイール処理が行われる(ステップS24)。こ
のベンダーホイール処理は、操作パネル14に設けられ
ている図示しないベンダーホイールの操作に応じて例え
ば発音中の楽音のピッチを変更する処理である。このベ
ンダーホイール処理は、本発明とは直接関係しないので
説明は省略する。このベンダーホイール処理が終了する
と、このスイッチイベント処理ルーチンからリターンし
てメインルーチンに戻る。
When the LED process is completed, a bender wheel process is performed (step S24). The bender wheel process is a process of changing, for example, the pitch of a musical tone being sounded according to the operation of a bender wheel (not shown) provided on the operation panel 14. Since the bender wheel processing is not directly related to the present invention, the description is omitted. When the bender wheel process ends, the process returns from the switch event process routine and returns to the main routine.

【0074】メインルーチンでは、次いで、鍵盤イベン
ト処理が行われる(ステップS12)。この鍵盤イベン
ト処理では、先ず、既に説明したように、鍵盤装置16
から鍵盤インタフェース回路15を介してキーデータ
(以下、「新キーデータ」という。)が読み込まれる。
次いで、前回読み込んで既にRAM12に記憶されてい
るキーデータ(以下、「旧キーデータ」という。)と、
上記新キーデータとが比較されて相違するビットをオン
にしたキーイベントマップが作成される。
In the main routine, a keyboard event process is performed (step S12). In this keyboard event processing, first, as described above, the keyboard device 16
, Key data (hereinafter, referred to as “new key data”) via the keyboard interface circuit 15.
Next, key data which has been read last time and has already been stored in the RAM 12 (hereinafter referred to as “old key data”),
The new key data is compared with the new key data to create a key event map in which different bits are turned on.

【0075】このキーイベントマップの作成が終了する
と、次いで、上記キーイベントマップを参照することに
よりキーイベントの有無が調べられる。これは、キーイ
ベントマップ中にオンになっているビットが1つ以上存
在するかどうかを調べることにより行われる。ここで、
キーイベントマップ中にオンになっているビットが1つ
も存在しないと、キーイベントがないことを認識し、鍵
盤処理を終了する。一方、キーイベントマップ中にオン
になっているビットが1つ以上存在すると、キーイベン
トがあったことを認識し、そのキーイベントはオンイベ
ントであるか又はオフイベントであるかが調べられる。
これは、イベントマップ中のオンになっているビットに
対応する新キーデータ中のビットがオンになっているか
否かを調べることにより行われる。
When the creation of the key event map is completed, the presence or absence of a key event is checked by referring to the key event map. This is done by checking if there is one or more bits that are on in the key event map. here,
If there is no ON bit in the key event map, it recognizes that there is no key event, and terminates the keyboard processing. On the other hand, if there is one or more ON bits in the key event map, it is recognized that a key event has occurred, and it is checked whether the key event is an ON event or an OFF event.
This is performed by checking whether or not the bit in the new key data corresponding to the bit being turned on in the event map is turned on.

【0076】ここでキーオンイベントであることが判断
されると発音処理が行われる。即ち、押鍵に係る鍵のキ
ーナンバ、その時点で選択されている音色番号、打鍵強
度を示すデータ等を音源19が解釈できる形式のデー
タ、例えば波形アドレス、周波数データ、エンベロープ
データ、フィルタ係数等に変換し音源19に送る。これ
により、音源19は、鍵盤装置16に割り当てられた発
音チャンネルに対応するオシレータを起動する。これに
より、オシレータは波形メモリ18から波形データを読
み出し、これにエンベロープを付加したデジタル楽音信
号を生成する。このデジタル楽音信号は、D/A変換器
20でアナログ楽音信号に変換され、増幅器21で所定
の増幅が行われた後にスピーカ22に送られる。これに
より、スピーカ22から押鍵に応じた楽音が発生される
ことになる。
Here, when it is determined that the event is a key-on event, a sound generation process is performed. That is, the key number of the key related to the key press, the tone number selected at that time, the data indicating the keying strength, and the like are converted into data in a format that can be interpreted by the sound source 19, for example, waveform address, frequency data, envelope data, filter coefficient, and the like. Converted and sent to sound source 19. As a result, the sound source 19 activates an oscillator corresponding to the sound channel assigned to the keyboard device 16. As a result, the oscillator reads the waveform data from the waveform memory 18 and generates a digital tone signal with an envelope added thereto. This digital tone signal is converted into an analog tone signal by a D / A converter 20 and is sent to a speaker 22 after being subjected to a predetermined amplification by an amplifier 21. As a result, a musical sound corresponding to the key depression is generated from the speaker 22.

【0077】一方、キーオフイベントであることが判断
されると消音処理が行われる。即ち、離鍵に係る鍵に対
応する発音中のオシレータを検索し、所定のデータを送
ることにより消音せしめる。
On the other hand, if it is determined that the event is a key-off event, a mute process is performed. That is, the sounding oscillator corresponding to the key related to the key release is searched, and the sound is muted by transmitting predetermined data.

【0078】この鍵盤イベント処理が終了すると、次い
で、MIDI処理が行われる(ステップS13)。この
MIDI処理では、MIDIインタフェース回路23を
介して外部装置、例えば他の電子楽器、シーケンサ、或
いはコンピュータ等との間でMIDIメッセージの送受
が行われる。このMIDIメッセージに対する処理は、
本発明とは直接関係しないので説明は省略する。
When the keyboard event process is completed, a MIDI process is performed (step S13). In the MIDI processing, a MIDI message is transmitted / received to / from an external device such as another electronic musical instrument, a sequencer, or a computer via the MIDI interface circuit 23. The processing for this MIDI message is
The description is omitted because it is not directly related to the present invention.

【0079】このMIDI処理が終了すると、次いで、
自動演奏処理が行われる(ステップS14)。自動演奏
処理は、自動演奏フラグがオンになっており、且つ自動
演奏データの読み出しタイミングになった時に行われ
る。自動演奏データの読み出しタイミングであるかどう
かは、テンポ値に応じて計数されている図示しないカウ
ンタの内容を参照することにより行われる。そして、読
み出しタイミングであることが判断されると、自動演奏
データメモリ17から1つの自動演奏データが読み出さ
れる。そして、自動演奏データに含まれているステップ
タイム値と図示しないタイムカウンタでカウントアップ
されているタイム値とが一致した場合に、発音又は消音
処理が行われる。
When the MIDI processing is completed,
Automatic performance processing is performed (step S14). The automatic performance processing is performed when the automatic performance flag is turned on and the timing for reading out the automatic performance data comes. Whether or not the timing for reading the automatic performance data is determined by referring to the contents of a counter (not shown) that is counted according to the tempo value. When it is determined that the timing is the read timing, one piece of automatic performance data is read from the automatic performance data memory 17. When the step time value included in the automatic performance data coincides with the time value counted up by the time counter (not shown), sound generation or mute processing is performed.

【0080】即ち、自動演奏データがノートオンデータ
であれば発音処理が行われる。発音処理では、自動演奏
データメモリ17から読み出した自動演奏データに基づ
いて、例えば波形アドレス、周波数データ、エンベロー
プデータ、フィルタ係数等が生成され、音源19に送ら
れる。そして音源19でデジタル楽音信号が生成され、
D/A変換器20でアナログ楽音信号に変換され、増幅
器21で増幅されてスピーカ22に送られる。これによ
りスピーカ22からリズム音が放音される。
That is, if the automatic performance data is note-on data, a tone generation process is performed. In the sound generation process, for example, a waveform address, frequency data, envelope data, a filter coefficient, and the like are generated based on the automatic performance data read from the automatic performance data memory 17 and sent to the sound source 19. Then, a digital tone signal is generated by the sound source 19,
The signal is converted into an analog tone signal by the D / A converter 20, amplified by the amplifier 21, and sent to the speaker 22. As a result, a rhythm sound is emitted from the speaker 22.

【0081】一方、ノートオフデータであれば、消音処
理が行われる。この消音処理は、所定のデータを音源1
9に送ることにより、音源19におけるデジタル楽音信
号の生成を停止せしめ、発音中の音を消音させる処理で
ある。なお、自動演奏データには、ノートオン又はノー
トオフを指示するデータ以外に、例えば音色変更、音量
変更等を指示するデータが含まれるが、本発明とは直接
関係しないので説明は省略する。
On the other hand, if the data is note-off data, a mute process is performed. In this silencing process, predetermined data is transmitted to the sound source 1
By sending the sound to the tone generator 9, the generation of the digital tone signal in the sound source 19 is stopped, and the sound being generated is muted. It should be noted that the automatic performance data includes, for example, data for instructing a tone color change, a volume change, etc., in addition to the data for instructing note-on or note-off.

【0082】上記自動演奏処理が終了すると、次いで、
「その他の処理」が行われる(ステップS15)。この
「その他の処理」には、図示しないフットペダルの押下
に伴うダンパ処理等が含まれる。その後ステップS11
に戻り、以下同様の処理を繰り返す。上記ステップS1
1〜S14の繰り返し実行の過程で、パネル操作や鍵盤
操作に基づくイベントが発生すると、そのイベントに対
応する処理が行われることにより電子楽器としての各種
機能が発揮される。
When the automatic performance processing is completed,
"Other processing" is performed (step S15). This “other processing” includes a damper processing accompanying depression of a foot pedal (not shown). Then step S11
And the same processing is repeated thereafter. Step S1 above
When an event based on a panel operation or a keyboard operation occurs in the process of repeatedly executing 1 to S14, various functions as an electronic musical instrument are exhibited by performing processing corresponding to the event.

【0083】以上説明したように、本実施例1のデータ
設定装置によれば、アップダウンスイッチ141を構成
するアップスイッチ141Aとダウンスイッチ141B
とが同時に押下されたことが検出される度にページ(設
定項目)が変更される。ここでページとしては、例え
ば、音色選択、リズム選択、音響効果の種類の選択、デ
モ曲の選択、音量設定すべきパートの選択、音量設定、
各種パラメータの設定等を定義することができる。
As described above, according to the data setting device of the first embodiment, the up switch 141A and the down switch 141B constituting the up / down switch 141
The page (setting item) is changed each time it is detected that are simultaneously pressed. Here, the page includes, for example, tone color selection, rhythm selection, sound effect type selection, demo song selection, selection of a part to be set for volume, volume setting,
Settings of various parameters can be defined.

【0084】そして、所定のページが選択されている状
態において、上記アップダウンスイッチ141を構成す
るアップスイッチ141A又はダウンスイッチ141B
の何れかを操作することにより、そのアップスイッチ1
41A又はダウンスイッチ141Bの操作に応じたデー
タが生成され、当該ページのデータとされる。例えば、
ページとして音色選択のページが選択されている状態に
おいてアップスイッチ141A又はダウンスイッチ14
1Bの何れかが操作されると、そのアップスイッチ14
1A又はダウンスイッチ141Bに対応するデータが生
成され、このデータが音色を指定する音色番号として使
用される。
When a predetermined page is selected, the up switch 141A or the down switch 141B constituting the up / down switch 141 is used.
By operating either of the above, the up switch 1
Data corresponding to the operation of the down switch 41A or the down switch 141B is generated and used as the data of the page. For example,
When the tone color selection page is selected as the page, the up switch 141A or the down switch 14
1B is operated, the up switch 14
Data corresponding to 1A or the down switch 141B is generated, and this data is used as a tone color number specifying a tone color.

【0085】これにより、アップスイッチ141Aとダ
ウンスイッチ141Bとで構成されるアップダウンスイ
ッチ141のみでページの選択及びページ内におけるデ
ータの設定や選択ができるので操作子の数を減らすこと
ができ、データ設定装置の構成が簡単になり、またコス
トの低減にも寄与できるものとなる。
As a result, the page can be selected and the data in the page can be set and selected only by the up / down switch 141 composed of the up / down switch 141A and the down switch 141B. The configuration of the setting device is simplified, and it is possible to contribute to cost reduction.

【0086】(実施例2)図8は、実施例2に係る操作
パネル14の構成を示す図である。この実施例2では、
上述した実施例1におけるアップダウンスイッチ141
の代わりに、マルチアサイナブルパッド143を用いて
いる。マルチアサイナブルパッド143は、例えば10
個のスイッチから構成されており、各スイッチには複数
の機能が割り当てられる。また、この実施例2では、C
PU10は、割当手段及び制御手段として機能する。
(Embodiment 2) FIG. 8 is a diagram showing a configuration of an operation panel 14 according to Embodiment 2. In the second embodiment,
Up / down switch 141 in the first embodiment described above
, A multi-assignable pad 143 is used. The multi-assignable pad 143 is, for example, 10
Each switch is assigned a plurality of functions. In the second embodiment, C
The PU 10 functions as an assignment unit and a control unit.

【0087】マルチアサイナブルパッド143はスイッ
チ群に対応し、このマルチアサイナブルパッド143を
構成する10個のスイッチ中の特定の2つのスイッチ、
例えば「PIANO」スイッチ(「1」スイッチ)及び
「E.PIANO」スイッチ(「2」スイッチ)は特定
の複数のスイッチに対応する。
The multi-assignable pad 143 corresponds to a switch group, and two specific switches among ten switches constituting the multi-assignable pad 143.
For example, a “PIANO” switch (“1” switch) and an “E. PIANO” switch (“2” switch) correspond to a specific plurality of switches.

【0088】上記マルチアサイナブルパッド143は、
「PIANO」スイッチと「E.PIANO」スイッチ
とが同時に押下されることにより、割当手段の一部とし
て機能する。即ち、「PIANO」スイッチと「E.P
IANO」スイッチとが同時に押下されることにより、
マルチアサイナブルパッド143の各スイッチは、順
次、例えば、音色選択スイッチ、リズム選択スイッチ、
音響効果の種類の選択スイッチ、デモ曲の選択スイッ
チ、音量設定すべきパートの選択スイッチ、或は音量や
各種パラメータを設定するためのテンキーとして割り当
てられる。
The multi-assignable pad 143 is
When the “PIANO” switch and the “E.PIANO” switch are pressed at the same time, they function as a part of the allocating means. That is, the "PIANO" switch and the "EP
By simultaneously pressing the “IANO” switch,
Each switch of the multi-assignable pad 143 is, for example, a tone selection switch, a rhythm selection switch,
It is assigned as a switch for selecting the type of sound effect, a switch for selecting a demo song, a switch for selecting a part to be set in volume, or a numeric keypad for setting volume and various parameters.

【0089】なお、上記「PIANO」スイッチと
「E.PIANO」スイッチとが同時に押下された旨の
検出は、上記実施例1で説明したアップダウンスイッチ
141と同じ方法で行われる。
The detection that the "PIANO" switch and the "E.PIANO" switch are simultaneously pressed is performed in the same manner as the up-down switch 141 described in the first embodiment.

【0090】また、上記マルチアサイナブルパッド14
3の各スイッチは、単独で操作されることにより、上述
した各割当状態において、その割当状態で規定されてい
る所定の要素を指定し、又は数値を入力するために使用
される。例えば、音色選択スイッチとして割り当てられ
ている場合は、例えば図示されているような各種音色が
ワンタッチで選択され、その音色に対応する音色番号が
生成されてRAM12に設けられている音色番号バッフ
ァに記憶される。また、例えばリズム選択スイッチとし
て割り当てられている場合は、各種リズムがワンタッチ
で選択され、そのリズムに対応するリズム番号が生成さ
れてRAM12に設けられているリズム番号バッファに
記憶される。同様に、例えば音量設定のテンキーとして
割り当てられている場合は、音量を示す値が直接入力さ
れ、RAM12に設けられている音量バッファに記憶さ
れる。更に、その他の機能が割り当てられている場合
も、上記と同様にして、所定の要素が選択され、又は所
定のデータが入力される。
The multi-assignable pad 14
Each switch of No. 3 is used alone to designate a predetermined element defined by the assigned state or to input a numerical value in each of the assigned states described above. For example, when assigned as a tone selection switch, for example, various tone colors as shown in the figure are selected with one touch, and tone numbers corresponding to the tone colors are generated and stored in a tone number buffer provided in the RAM 12. Is done. For example, when the switch is assigned as a rhythm selection switch, various rhythms are selected with one touch, and a rhythm number corresponding to the rhythm is generated and stored in a rhythm number buffer provided in the RAM 12. Similarly, for example, when assigned as a numeric keypad for volume setting, a value indicating the volume is directly input and stored in a volume buffer provided in the RAM 12. Further, when another function is assigned, a predetermined element is selected or predetermined data is input in the same manner as described above.

【0091】上記のように構成される操作パネル14の
動作は、図5〜図7に示されるフローチャートにおける
アップスイッチ141Aを「PIANO」スイッチに、
ダウンスイッチ141Bを「E.PIANO」スイッチ
に、それぞれ置き換えた場合の動作とほぼ同じであるの
で、説明は省略する。
The operation of the operation panel 14 configured as described above is realized by replacing the up switch 141A in the flowcharts shown in FIGS. 5 to 7 with a "PIANO" switch.
The operation is substantially the same as when the down switch 141B is replaced with an "E. PIANO" switch, and a description thereof will be omitted.

【0092】なお、本実施例2では、特定の複数のスイ
ッチとして「PIANO」スイッチ(「1」スイッチ)
及び「E.PIANO」スイッチ(「2」スイッチ)の
2個のスイッチを用いたが、特定の複数のスイッチとし
ては上記以外の任意の複数のスイッチを用いることがで
きる。また、特定の複数のスイッチとしては、2個に限
定されず3個以上のスイッチを用いることもできる。
In the second embodiment, a “PIANO” switch (“1” switch) is used as a plurality of specific switches.
And two switches of “E. PIANO” switch (“2” switch), but any of a plurality of switches other than the above can be used as the specific plurality of switches. Further, the specific plural switches are not limited to two, and three or more switches can be used.

【0093】以上説明したように、本実施例2のデータ
設定装置によれば、マルチアサイナブルパッド143に
含まれる特定の複数のスイッチ、例えば「PIANO」
スイッチと「E.PIANO」スイッチとが同時に押下
されたことが検出される度に、マルチアサイナブルパッ
ド143に割り当てる機能が更新される。ここで、マル
チアサイナブルパッド143に割り当てる機能として
は、例えば、音色選択、リズム選択、音響効果の種類の
選択、デモ曲の選択、音量設定すべきパートの選択、音
量設定、各種パラメータの設定等を行うための各機能を
挙げることができる。
As described above, according to the data setting device of the second embodiment, a plurality of specific switches included in the multi-assignable pad 143, for example, “PIANO”
Each time it is detected that the switch and the “E. PIANO” switch are pressed simultaneously, the function assigned to the multi-assignable pad 143 is updated. Here, the functions to be assigned to the multi-assignable pad 143 include, for example, tone color selection, rhythm selection, selection of a sound effect type, selection of a demo song, selection of a part to be volume-set, volume setting, setting of various parameters, and the like. Each function for performing can be listed.

【0094】そして、所定の機能が割り当てられた状態
において、上記マルチアサイナブルパッド143中の1
つのスイッチを操作することにより、そのスイッチに割
り当てられている要素を示すデータが生成され、当該機
能における1つの要素を示すデータとされる。例えば、
マルチアサイナブルパッド143に音色選択機能が割り
当てられている状態において1つのスイッチが操作され
ると、そのスイッチに対応する音色を示すデータが生成
され、このデータが音色を指定する音色番号として使用
される。
Then, when a predetermined function is assigned, one of the multi-assignable pads 143
By operating one switch, data indicating an element assigned to the switch is generated, and is used as data indicating one element in the function. For example,
When one switch is operated in a state where the tone assigning function is assigned to the multi-assignable pad 143, data indicating a tone corresponding to the switch is generated, and this data is used as a tone number designating the tone. .

【0095】これにより、マルチアサイナブルパッド1
43の中のスイッチのみで各スイッチの機能の割り当て
及び割り当てられた機能における各要素の選択ができる
のでスイッチの数を減らすことができ、データ設定装置
の構成が簡単になり、またコストの低減にも寄与できる
ものとなる。
Thus, the multi-assignable pad 1
The functions of each switch can be assigned and each element in the assigned function can be selected only by the switches in 43, so that the number of switches can be reduced, the configuration of the data setting device is simplified, and the cost is reduced. Can also contribute.

【0096】[0096]

【発明の効果】以上詳述したように、本発明によれば、
少ない操作子の数で種々の動作指示を行うことのできる
電子楽器のデータ設定装置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide an electronic musical instrument data setting device capable of giving various operation instructions with a small number of operators.

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

【図1】本発明の実施例1及び実施例2のデータ設定装
置が適用された電子楽器の概略的な構成を示すブロック
図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument to which a data setting device according to Embodiments 1 and 2 of the present invention is applied.

【図2】本発明の実施例1で使用される操作パネルの一
例を示す図である。
FIG. 2 is a diagram illustrating an example of an operation panel used in the first embodiment of the present invention.

【図3】本発明の実施例1及び実施例2の動作を示すフ
ローチャート(メインルーチン)である。
FIG. 3 is a flowchart (main routine) showing the operation of the first and second embodiments of the present invention.

【図4】本発明の実施例1及び実施例2の動作を示すフ
ローチャート(スイッチイベント処理ルーチン)であ
る。
FIG. 4 is a flowchart (switch event processing routine) showing an operation of the first and second embodiments of the present invention.

【図5】本発明の実施例1及び実施例2の動作を示すフ
ローチャート(スイッチ処理ルーチン)である。
FIG. 5 is a flowchart (switch processing routine) illustrating the operation of the first and second embodiments of the present invention.

【図6】本発明の実施例1及び実施例2の動作を示すフ
ローチャート(アップスイッチ処理ルーチン)である。
FIG. 6 is a flowchart (up-switch processing routine) illustrating the operation of the first and second embodiments of the present invention.

【図7】本発明の実施例1及び実施例2の動作を示すフ
ローチャート(ダウンスイッチ処理ルーチン)である。
FIG. 7 is a flowchart (down switch processing routine) showing an operation of the first and second embodiments of the present invention.

【図8】本発明の実施例2で使用される操作パネルの一
例を示す図である。
FIG. 8 is a diagram illustrating an example of an operation panel used in Embodiment 2 of the present invention.

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

10 CPU 11 プログラムメモリ 12 RAM 13 パネルインタフェース回路 14 操作パネル 15 鍵盤インタフェース回路 16 鍵盤装置 17 自動演奏データメモリ 18 波形メモリ 19 音源 20 D/A変換器 21 増幅器 22 スピーカ 23 MIDIインタフェース回路 30 システムバス 140 自動演奏スタートスイッチ 141A アップスイッチ 141B ダウンスイッチ 142 表示器 143 マルチアサイナブルパッド Reference Signs List 10 CPU 11 Program memory 12 RAM 13 Panel interface circuit 14 Operation panel 15 Keyboard interface circuit 16 Keyboard device 17 Automatic performance data memory 18 Waveform memory 19 Sound source 20 D / A converter 21 Amplifier 22 Speaker 23 MIDI interface circuit 30 System bus 140 Automatic Performance start switch 141A Up switch 141B Down switch 142 Display 143 Multi assignable pad

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 1/46 G06F 3/02 - 3/027 Continuation of the front page (58) Field surveyed (Int. Cl. 7 , DB name) G10H 1/00-1/46 G06F 3/02-3/027

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の操作子から成る操作子群と、 該操作子群の中の特定の複数の操作子が同時に押下され
たことが検出された場合に、複数の設定項目の中から1
つの設定項目を選択する選択手段と、 前記操作子群の中の1つの操作子が押下された場合に、
該操作子に応じたデータを生成し、その時点で前記選択
手段により選択されている設定項目のデータとする制御
手段、とを具備し 前記選択手段は、前記操作子群の中の特定の複数の操作
子が同時に押下されたことが検出される度に設定項目を
変更する ことを特徴とする電子楽器のデータ設定装置。
An operator group consisting of a plurality of operators, and a plurality of specific operators in the operator group are simultaneously depressed.
Is detected, one of a plurality of setting items
Selecting means for selecting one of the setting items; and when one of the operators in the group of operators is pressed,
Generate data corresponding to the operator, and select
Control for setting item data selected by means
Means, and, The selecting means may include a plurality of specific operations in the operator group
Each time it is detected that a child has been pressed simultaneously,
change A data setting device for an electronic musical instrument.
【請求項2】 データの増加を指示するアップスイッチ
とデータの減少を指示するダウンスイッチとから成るア
ップダウンスイッチと、 前記アップスイッチとダウンスイッチとが同時に押下さ
れたことが検出された場合に、複数の設定項目の中から
1つの設定項目を選択する選択手段と、 前記アップダウンスイッチの中のアップスイッチ又はダ
ウンスイッチが押下された場合に、該アップスイッチ又
はダウンスイッチに応じたデータを生成し、その時点で
前記選択手段により選択されている設定項目のデータと
する制御手段、とを備えたことを特徴とする 電子楽器の
データ設定装置。
(2)Up switch to instruct data increase
And a down switch for instructing data reduction.
Switch down, When the up switch and the down switch are pressed simultaneously
Is detected from among multiple setting items
Selecting means for selecting one setting item; An up switch or a switch in the up / down switch
When the down switch is pressed, the up switch or
Generates data according to the down switch, at which point
Data of the setting item selected by the selecting means;
Control means for performing Electronic musical instrument
Data setting device.
【請求項3】 前記選択手段は、前記アップスイッチと
ダウンスイッチとが押下されたことが検出される度に設
定項目を変更することを特徴とする請求項2に記載の
子楽器のデータ設定装置。
3. The method according to claim 2 , wherein said selecting means includes :
Each time it is detected that the down switch has been pressed,
The data setting device for an electronic musical instrument according to claim 2, wherein fixed items are changed .
JP5344786A 1993-12-20 1993-12-20 Electronic musical instrument data setting device Expired - Fee Related JP3045915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5344786A JP3045915B2 (en) 1993-12-20 1993-12-20 Electronic musical instrument data setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5344786A JP3045915B2 (en) 1993-12-20 1993-12-20 Electronic musical instrument data setting device

Publications (2)

Publication Number Publication Date
JPH07175480A JPH07175480A (en) 1995-07-14
JP3045915B2 true JP3045915B2 (en) 2000-05-29

Family

ID=18371978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5344786A Expired - Fee Related JP3045915B2 (en) 1993-12-20 1993-12-20 Electronic musical instrument data setting device

Country Status (1)

Country Link
JP (1) JP3045915B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133660A (en) * 1996-10-25 1998-05-22 Kawai Musical Instr Mfg Co Ltd Musical factor controller
GB2442765B (en) * 2006-10-09 2011-10-12 Marshall Amplification Plc Instrument amplication system
JP4530001B2 (en) * 2007-06-27 2010-08-25 ヤマハ株式会社 Parameter setting device for musical tone control device

Also Published As

Publication number Publication date
JPH07175480A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
JPH06259065A (en) Electronic musical instrument
JP3045915B2 (en) Electronic musical instrument data setting device
JP2885333B2 (en) Electronic musical instrument
JPH06259064A (en) Electronic musical instrument
JP3271447B2 (en) Electronic musical instrument tempo setting device
JP2953937B2 (en) Electronic musical instrument volume control device
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JP3307742B2 (en) Accompaniment content display device for electronic musical instruments
JP2538087B2 (en) Electronic musical instrument
JPH0816166A (en) Rhythm selecting device
JP2915753B2 (en) Electronic musical instrument
JPH07181966A (en) Data setting device of electronic musical instrument
JP3097888B2 (en) Electronic musical instrument volume setting device
JP3375215B2 (en) Electronic musical instrument
JPH086554A (en) Tone selecting device
JP2001125572A (en) Electronic musical instrument, musical sound generation control method and storage medium
JP2003099055A (en) Function allocation display device for electronic musical instrument
JPH07199940A (en) Demonstrative playing controller for electronic musical instrument
JPH05273972A (en) Electronic musical instrument
JPH09297577A (en) Touch display device and sound volume display device
JP3561967B2 (en) Electronic musical instrument system
JP2629564B2 (en) Chord detector
JPH0830273A (en) Tempo setting device for electronic musical instrument
JP2002297137A (en) Electronic musical instrument and its sound volume balance control method
JPH1063269A (en) Silence piano

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000307

LAPS Cancellation because of no payment of annual fees