JPH07175480A - Data setter for electronic musical instrument - Google Patents

Data setter for electronic musical instrument

Info

Publication number
JPH07175480A
JPH07175480A JP5344786A JP34478693A JPH07175480A JP H07175480 A JPH07175480 A JP H07175480A JP 5344786 A JP5344786 A JP 5344786A JP 34478693 A JP34478693 A JP 34478693A JP H07175480 A JPH07175480 A JP H07175480A
Authority
JP
Japan
Prior art keywords
switch
data
electronic musical
setting
musical instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5344786A
Other languages
Japanese (ja)
Other versions
JP3045915B2 (en
Inventor
Sadasuke Wakuta
定資 和久田
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)

Abstract

PURPOSE:To provide a data setter for electronic musical instruments which is used for giving various operation instructions to the electronic musical instruments and is capable of making the various operation instructions with a small number of operators. CONSTITUTION:This data setter has an operator group consisting of the plural operators, an item selecting means 10 which selects one set item among the plural set items when the simultaneous depression of the specific plural operators in the operator group is detected and a control means 10 which forms the data meeting the operators and determines this data as the data of the set item selected by the item selecting means at the point of this time when the one operator in the operator group is depressed.

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 Generally, an electronic musical instrument has a large number of operators for designating tone colors, rhythms, types of sound effects and the like. The state is being set.

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

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

【0005】[0005]

【発明が解決しようとする課題】ところで、近年の電子
楽器には多数の操作子が搭載されているので、操作が煩
雑になると共にコストアップにつながるという問題があ
った。従って、操作子の数を極力減らし、操作性の改善
とコストダウンを図ることのできるデータ設定装置が望
まれていた。特に小型の電子楽器では、操作子の数の削
減という強い要請があった。
By the way, since a large number of operators are mounted on recent electronic musical instruments, there is 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 the operability and reducing the cost. Especially for small electronic musical instruments, there has been a strong demand to reduce the number of operators.

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

【0007】[0007]

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

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

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

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

【0011】また、同様の目的で、本発明の電子楽器の
データ設定装置の第3の態様は、複数の選択されるべき
要素に対応する複数のスイッチから成るスイッチ群と、
該スイッチ群の中の特定の複数のスイッチが同時に押下
されたことが検出された場合に、前記スイッチ群の各ス
イッチに所定の機能を割り当てる割当手段と、前記スイ
ッチ群の中の1つのスイッチが押下された場合に、該ス
イッチに応じたデータを生成し、その時点で前記割当手
段により割り当てられている機能の中の1つの要素を示
すデータとする制御手段、を備えたことを特徴とする。
Further, for the same purpose, a third aspect of the electronic musical instrument data setting device of the present invention is a switch group including a plurality of switches corresponding to a plurality of elements to be selected,
When it is detected that a specific plurality of switches in the switch group are pressed at the same time, an assigning unit that assigns a predetermined function to each switch in the switch group, and one switch in the switch group are provided. And a control means for generating data according to the switch when the button is pressed and for making the data to represent one element in 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 electronic musical instrument data setting apparatus of the present invention, the assigning means causes a plurality of specific switches in the switch group to be pressed. It is characterized in that it controls so that the function to be assigned is changed every time when a failure 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 operators included in the operator group are simultaneously pressed, it is prepared in advance, for example. One setting item is selected from the plurality of setting items that are present. Examples of setting items include tone color selection, rhythm selection, acoustic effect type selection, demo song selection, volume part setting, volume setting, and various parameter settings. it can.

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

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

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

【0017】これにより、設定項目を選択するための特
別の操作子は不要となり、しかも、設定項目を変化させ
るための特定の複数の操作子は、設定項目内のデータの
設定又は選択にも兼用されるので、操作子の数を減らし
た簡単な構成で、且つ低コストのデータ設定装置を提供
することができる。
As a result, a special operator for selecting a setting item is unnecessary, and a plurality of specific operators for changing the setting item are also used for setting or selecting the 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つの設定項目が選択される。
ここで設定項目としては、例えば、上述した音色選択、
リズム選択、音響効果の種類の選択、デモ曲の選択、音
量設定すべきパートの選択、音量設定、各種パラメータ
の設定等の各項目を挙げることができる。
Further, 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, it is prepared in advance. One setting item is selected from among the plurality of setting items that are set.
Here, as the setting items, for example, the tone color selection described above,
Examples include rhythm selection, sound effect type selection, demo song selection, volume part setting, volume setting, and various parameter settings.

【0019】そして、所定の設定項目が選択された状態
において、上記アップダウンスイッチを構成するアップ
スイッチ又はダウンスイッチの何れかを操作することに
より、そのアップスイッチ又はダウンスイッチの操作に
応じたデータが生成され、当該設定項目のデータとされ
る。例えば、設定項目として音色選択の項目が選択され
ている状態においてアップスイッチ又はダウンスイッチ
の何れかが操作されると、そのアップスイッチ又はダウ
ンスイッチに対応するデータが生成され、このデータが
音色を指定するデータとして使用される。
Then, by operating either the up switch or the down switch constituting the up / down switch in the state where the predetermined setting item is selected, the 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 while the tone color selection item is selected as the setting item, data corresponding to the up switch or the down switch is generated, and this data specifies the tone color. It is used as data.

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

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

【0022】これにより、設定項目を選択するための特
別の操作子は不要となり、しかも、設定項目を変化させ
るためのアップスイッチ及びダウンスイッチは、設定項
目内のデータの設定又は選択にも兼用されるので、操作
子の数を減らした簡単な構成で、且つ低コストのデータ
設定装置を提供することができる。
This eliminates the need for a special operator for selecting a setting item, and the up switch and the down switch for changing the setting item are also used for setting or selecting the 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 of 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, for example, a multi-assignable pad can be used as the switch group. The functions assigned to the switch groups include, for example, tone color selection, rhythm selection,
The functions include selection of types of sound effects, selection of demo songs, selection of parts whose volume should be set, volume setting, setting of various parameters, and the like.

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

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

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

【0027】これにより、スイッチ群に割り当てる機能
を選択するための特別の操作子は不要となり、しかも、
スイッチ群に割り当てる機能を変えるための特定のスイ
ッチは、スイッチ群に割り当てられた機能の中の所定の
要素を選択するためにも兼用されるので、操作子の数を
減らした簡単な構成で、且つ低コストのデータ設定装置
を提供することができる。
This eliminates the need for a special operator for selecting the function assigned to the switch group.
Since the specific switch for changing the function assigned to the switch group is also used for selecting a predetermined element in the function assigned to the switch group, a simple configuration with a reduced number of operators, Moreover, 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 of the present invention will be described below in detail with reference to the drawings. In this embodiment, a keyboard-type electronic musical instrument is adopted and the configuration and operation relating to the switch operation 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. The electronic musical instrument includes a central processing unit (hereinafter referred to as “CPU”) 10 and a program memory 1.
1. A random access memory (hereinafter referred to as “RAM”) 12, a panel interface circuit 13, a keyboard interface circuit 15, an automatic performance data memory 17, a waveform memory 18 and a tone generator 19 are interconnected by a system bus 30. 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 the 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 relative to the normal performance mode,
In this mode, automatic performance such as rhythm performance is performed. ) Is set, the counting operation is started, and while the automatic performance mode is continued thereafter, the counting operation is incremented at a constant cycle. This time counter is used to detect the timing of sound generation or mute in the automatic performance processing described later.

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

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

【0033】RAM12は、CPU10が制御プログラ
ムを実行する際に、種々のデータを一時記憶するために
使用される。このRAM12には、例えばデータバッフ
ァ、レジスタ、カウンタ、フラグ等の各領域が定義され
ている。
The RAM 12 is used for temporarily storing various data when the CPU 10 executes the 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
A display 142 and the like are provided. Although switches and indicators other than those mentioned above are provided on the operation panel 14, the parts directly related to the present invention are not shown.

【0035】自動演奏スタートスイッチ140は、自動
演奏の開始又は停止を指示するために使用される。本電
子楽器の動作モードは、この自動演奏スタートスイッチ
140が押下される度に自動演奏モードと通常演奏モー
ドとが交互に反転される。
The automatic performance start switch 140 is used to instruct the start or stop of the automatic performance. Regarding the operation mode of the electronic musical instrument, the automatic performance mode and the normal performance mode are alternately inverted 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 the operator group, and the up switch 141A and the down switch 1
41B corresponds to a plurality of specific operators. The up / down switch 141 is the up switch 14
When 1A and the down switch 141B are pressed at the same time, they function as a part of selection means and are used to select a setting item. Here, the setting items include, for example, timbre selection, rhythm selection, sound effect type selection, demo song selection, volume part setting, or the like, or
It corresponds to each state for setting the volume and setting various parameters. In the following description, this setting item may be called a "page".

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

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

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

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

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

【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 conjunction with key depression or key release, and 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 transmission / 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 the ON / OFF state of each key switch returned from the keyboard device 16 in response to the scan signal. Then, from this signal, key data in which ON / OFF of each key switch is associated with 1 bit is generated and sent to the CPU 10. This key data is stored in the RAM 12 under the control of the CPU 10 and is used to determine the presence / 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 is, for example, RO
It is composed of 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 chord, bass and drum.
It is composed of various types of data. The automatic performance data of each part is created in the same format as MIDI data, for example, and includes step time data for instructing sounding timing. The automatic performance data stored in the automatic performance data memory 17 is converted into a format that can be processed by the tone generator 19 and sent to the tone generator 19 in an automatic performance process described later.

【0045】上記の自動演奏における各パートの音量
は、アップスイッチ141Aとダウンスイッチ141B
との同時押しにより、音量設定すべきパートを選択する
ためのページを選択し、その選択された状態において、
アップスイッチ141A又はダウンスイッチ141Bの
何れかを操作して音量変更するパートを選択し、その状
態で更にアップスイッチ141A又はダウンスイッチ1
41Bの何れかを操作して音量値を入力することにより
設定される。
The volume of each part in the above-mentioned automatic performance is determined by the up switch 141A and the down switch 141B.
By pressing and at the same time, select the page for selecting the part whose volume should be set, and in the selected state,
By operating either the up switch 141A or the down switch 141B to select the part whose volume is to be changed, further up switch 141A or down switch 1 is selected in that state.
It is set by operating any of 41B to input 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) installed in a floppy disk device when the electronic musical instrument is powered on. It should be configured to load into.

【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 color, each key range, key pressing speed, etc. in order to realize a plurality of tone colors. This waveform data is stored in the CPU 10
Is selected and read according to the tone color designated at the time when the pronunciation instruction is issued, the pitch for which the pronunciation instruction is issued, the velocity of the sound related to the pronunciation instruction, and the like.

【0048】音源19は、例えば複数のオシレータを備
えて構成されている。そして、鍵盤装置16の押鍵に対
応した楽音、自動演奏の各パートに対応した楽音、又は
MIDIデータに基づく楽音をそれぞれ発生するために
定められている各発音チャンネルに対して1個乃至数個
のオシレータが割り当てられるようになっている。発音
が割り当てられたオシレータは、波形メモリ18に記憶
されている波形データを時分割で読み出し、これにエン
ベロープを付加してデジタル楽音信号を生成する。この
音源19において生成されたデジタル楽音信号は、D/
A変換器20に送られる。
The sound source 19 is composed of, for example, a plurality of oscillators. Then, one to a few musical tones corresponding to key depressions of the keyboard device 16, musical tones corresponding to each part of the automatic performance, or musical tones based on MIDI data are generated. The oscillator of is assigned. The oscillator, to which the sound is assigned, reads the waveform data stored in the waveform memory 18 in a time division manner and adds an envelope to the waveform data to generate a digital musical tone signal. The digital musical 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 the input digital musical tone signal into an analog musical tone signal and outputs it. The analog tone signal output by the D / A converter 20 is sent to the amplifier 21. The amplifier 21 amplifies the input analog musical tone signal with a predetermined amplification factor and outputs it. The analog tone signal output by the amplifier 21 is sent to the speaker 22. The speaker 22 is a well-known one that converts an analog musical tone signal as an electric signal into an acoustic signal. The speaker 22 emits a musical sound according to the operation of the keyboard device 16, a musical sound according to the automatic performance data read from the automatic performance data memory 17, or a musical sound based on the MIDI data.

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

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

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

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

【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 judged by referring to the panel event map. That is, if there is at least one bit that is turned on in the panel event map, it is determined that there is a switch event.

【0055】ここで、スイッチイベントがないことが判
断されるとステップS22のスイッチ処理をスキップし
てステップS23へ分岐する。一方、スイッチイベント
があることが判断されると、そのイベントのあったスイ
ッチに対するスイッチ処理が行われる(ステップS2
2)。このスイッチ処理の詳細は、図5のフローチャー
トに示されている。
If it is determined that there is no switch event, the switch process of 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, the switch process is performed on the switch having the event (step S2).
2). The details of this switch processing are shown in the flowchart of FIG.

【0056】このスイッチ処理では、先ず、アップスイ
ッチ141Aのオンイベントがあるかどうかが調べられ
る(ステップS30)。これは、上記イベントマップ中
のアップスイッチ141Aに対応するビットがオンにな
っており、且つ新パネルデータ中のアップスイッチ14
1Aに対応するビットがオンになっているかどうかを調
べることにより行われる。
In this switch processing, it is first 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 turned on and the up switch 14 in the new panel data is
This is done by checking if the bit corresponding to 1A is turned 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). The details of this 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 in the on state (step S40). This is done by checking whether or not the bit corresponding to the down switch 141B in the old panel data is turned on.
If 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 simultaneously pressed,
Processing for continuously 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 for example, each page for selecting a tone color, a rhythm, a type of a sound effect, a demo song, a part to be volume-set, and the like. , Or the number sequentially assigned to each page for setting the volume and setting various parameters (hereinafter referred to as “page number”). Which page is currently selected is stored according to 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
When 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 this electronic musical instrument, and can be arbitrarily determined by the electronic musical instrument. By the processes of steps S40 to S43 described above, when the up switch 141A and the down switch 141B are pressed at the same time, the function of sequentially changing and selecting each page is realized. After that, the process returns from the up switch process routine to return to the switch process routine, and further returns from the switch process routine to return to the switch event process routine.

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

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

【0063】ここでダウンスイッチ141Bのオンイベ
ントであることが判断されると、次いで、ダウンスイッ
チ処理が行われる(ステップS33)。このダウンスイ
ッチ処理の詳細については、図7のフローチャートに示
されている。
If it is determined here that the down switch 141B is an on event, then a down switch process is performed (step S33). Details of this 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 in the on state (step S50). This is done by checking whether or not the bit corresponding to the up switch 141A in the old panel data is turned on.
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 simultaneously pressed,
Processing for continuously 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). Then, if 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), while if 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). After that, the process returns from the up switch process routine to return to the switch process routine, and further returns from the switch process routine to return to the switch event process routine.

【0066】上記ステップS50でアップスイッチ14
1Aがオンでないことが判断されると、ダウンスイッチ
141Bのみが押されていることが認識され、通常のダ
ウンスイッチ処理が行われる(ステップS54)。即
ち、その時点で選択されているページで設定されている
現在値(RAM12に設けられたバッファの内容)がデ
クリメントされる。例えば、音色選択のページが選択さ
れている状態であれば、RAM12に設けられている音
色番号バッファの内容がデクリメントされる。これによ
り、音色番号が変更されて新しい音色が選択される。そ
の後、このダウンスイッチ処理ルーチンからリターンし
てスイッチ処理ルーチンに戻り、更に、スイッチ処理ル
ーチンからもリターンしてスイッチイベント処理ルーチ
ンに戻る。
In step S50, the up switch 14
When it is determined that 1A is not on, it is recognized that only the down switch 141B is pressed, and the 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 contents of the tone color number buffer provided in the RAM 12 are decremented. As a result, the tone color number is changed and a new tone color is selected. After that, the process returns from the down 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.

【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 pressed at the same time, it goes without saying 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 down switch 142B is not an on event, then "other switch processing" is performed (step S34). In this "other switch processing", processing 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, there is an event of the automatic performance start switch 140 by checking whether or not the bit corresponding to the automatic performance start switch 140 in the panel event map is turned on. If it is determined, the process of inverting the automatic performance flag is performed. The automatic performance flag is RAM1
2 is a flag provided to store whether the electronic musical instrument is in the automatic performance mode or the normal performance mode. As a result, every 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 the above provided on the operation panel 14 is also performed, but the description thereof is omitted because it is not directly related to the present invention. This "other switch processing"
Is completed, the process returns from this switch processing routine to the switch event processing routine.

【0071】スイッチイベント処理ルーチンでは、次い
で、LED処理が行われる(ステップS23)。このL
ED処理は、操作パネル14の表示器142に所定のデ
ータを表示させる処理である。このLED処理では、例
えば、アップスイッチ141Aとダウンスイッチ141
Bとが同時に押されることによりページ番号が更新され
た場合に、更新されたページ番号が表示される。この各
表示は、ページカウンタPGCにセットされているペー
ジ番号をパネルインタフェース回路13を介して操作パ
ネル14に送ることにより実現される。これにより、演
奏者は、現在どのページが選択されているかを知ること
ができる。
In the switch event processing routine, LED processing is then carried out (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 and at the same time, the updated page number is displayed. Each display 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 performer to know which page is currently selected.

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

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

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

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

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

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

【0078】この鍵盤イベント処理が終了すると、次い
で、MIDI処理が行われる(ステップS13)。この
MIDI処理では、MIDIインタフェース回路23を
介して外部装置、例えば他の電子楽器、シーケンサ、或
いはコンピュータ等との間でMIDIメッセージの送受
が行われる。このMIDIメッセージに対する処理は、
本発明とは直接関係しないので説明は省略する。
When this keyboard event processing is completed, MIDI processing is then carried out (step S13). In this 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 this MIDI processing is completed, then,
Automatic performance processing is performed (step S14). The automatic performance process is performed when the automatic performance flag is turned on and it is time to read the automatic performance data. Whether or not it is 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 it is the read timing, one piece of automatic performance data is read from the automatic performance data memory 17. Then, when the step time value included in the automatic performance data and the time value counted up by a time counter (not shown) match, sounding 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, sound generation processing is performed. In the tone generation processing, for example, waveform addresses, frequency data, envelope data, filter coefficients, etc. are generated based on the automatic performance data read from the automatic performance data memory 17, and are sent to the sound source 19. Then, the digital tone signal is generated by the sound source 19,
The D / A converter 20 converts the analog musical tone signal, the amplifier 21 amplifies the signal, and the amplified signal is 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 it is the note-off data, the muffling process is performed. In this muffling process, predetermined data is generated by the sound source 1.
9 is a process in which the generation of the digital musical tone signal in the sound source 19 is stopped and the sound being sounded is muted. Note that the automatic performance data includes, for example, data for instructing tone color change, volume change, etc. in addition to data for instructing note-on or note-off, but description thereof is omitted because it is not directly related to the present invention.

【0082】上記自動演奏処理が終了すると、次いで、
「その他の処理」が行われる(ステップS15)。この
「その他の処理」には、図示しないフットペダルの押下
に伴うダンパ処理等が含まれる。その後ステップS11
に戻り、以下同様の処理を繰り返す。上記ステップS1
1〜S14の繰り返し実行の過程で、パネル操作や鍵盤
操作に基づくイベントが発生すると、そのイベントに対
応する処理が行われることにより電子楽器としての各種
機能が発揮される。
When the automatic performance process is completed, then,
"Other processing" is performed (step S15). This "other processing" includes damper processing and the like accompanying depression of a foot pedal (not shown). Then step S11
Then, the same processing is repeated thereafter. Step S1
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 which constitute the up / down switch 141.
The page (setting item) is changed every time it is detected that and are pressed at the same time. Here, as the page, for example, timbre selection, rhythm selection, sound effect type selection, demo song selection, volume setting part selection, volume setting,
Settings of various parameters can be defined.

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

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

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

【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 the 10 switches constituting the multi-assignable pad 143,
For example, the “PIANO” switch (“1” switch) and the “E.PIANO” switch (“2” switch) correspond to a specific plurality of switches.

【0088】上記マルチアサイナブルパッド143は、
「PIANO」スイッチと「E.PIANO」スイッチ
とが同時に押下されることにより、割当手段の一部とし
て機能する。即ち、「PIANO」スイッチと「E.P
IANO」スイッチとが同時に押下されることにより、
マルチアサイナブルパッド143の各スイッチは、順
次、例えば、音色選択スイッチ、リズム選択スイッチ、
音響効果の種類の選択スイッチ、デモ曲の選択スイッ
チ、音量設定すべきパートの選択スイッチ、或は音量や
各種パラメータを設定するためのテンキーとして割り当
てられる。
The above-mentioned 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 allocation means. That is, the "PIANO" switch and the "EP
By simultaneously pressing the "IANO" switch,
The switches of the multi-assignable pad 143 are sequentially arranged, for example, in a tone color selection switch, a rhythm selection switch,
It is assigned as a sound effect type selection switch, a demo song selection switch, a volume selection part selection switch, or a numeric keypad for setting the 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 by the same method as the up / down switch 141 described in the first embodiment.

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

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

【0092】なお、本実施例2では、特定の複数のスイ
ッチとして「PIANO」スイッチ(「1」スイッチ)
及び「E.PIANO」スイッチ(「2」スイッチ)の
2個のスイッチを用いたが、特定の複数のスイッチとし
ては上記以外の任意の複数のスイッチを用いることがで
きる。また、特定の複数のスイッチとしては、2個に限
定されず3個以上のスイッチを用いることもできる。
In the second embodiment, the "PIANO" switch ("1" switch) is used as the specific plurality of switches.
Although two switches, the “E.PIANO” switch (“2” switch) and the “E. PIANO” switch, are used, the arbitrary plurality of switches other than the above can be used as the specific plurality of switches. Further, the specific plurality of switches is 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 at the same time, the function assigned to the multi-assignable pad 143 is updated. Here, as functions to be assigned to the multi-assignable pad 143, for example, tone color selection, rhythm selection, sound effect type selection, demo song selection, volume part setting, volume setting, various parameter setting, etc. Each function for performing can be mentioned.

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

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

【0096】[0096]

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

【図面の簡単な説明】[Brief description of 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 first and second embodiments of the present invention is applied.

【図2】本発明の実施例1で使用される操作パネルの一
例を示す図である。
FIG. 2 is a diagram showing 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 the operation of the first and second embodiments of the present invention.

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

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

【図8】本発明の実施例2で使用される操作パネルの一
例を示す図である。
FIG. 8 is a diagram showing an example of an operation panel used in Example 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 マルチアサイナブルパッド 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

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の操作子から成る操作子群と、 該操作子群の中の特定の複数の操作子が同時に押下され
たことが検出された場合に、複数の設定項目の中から1
つの設定項目を選択する選択手段と、 前記操作子群の中の1つの操作子が押下された場合に、
該操作子に応じたデータを生成し、その時点で前記選択
手段により選択されている設定項目のデータとする制御
手段、 とを具備したことを特徴とする電子楽器のデータ設定装
置。
1. An operator group consisting of a plurality of operators and one of a plurality of setting items when it is detected that a plurality of specific operators in the operator group are simultaneously pressed.
Selecting means for selecting one setting item, and when one operator in the operator group is pressed,
A data setting device for an electronic musical instrument, comprising: a control unit that generates data according to the operator and sets the data of the setting item selected by the selecting unit at that time.
【請求項2】 前記選択手段は、前記操作子群の中の特
定の複数の操作子が同時に押下されたことが検出される
度に設定項目を変更することを特徴とする請求項1に記
載の電子楽器のデータ設定装置。
2. The selection unit changes the setting item each time it is detected that a plurality of specific controls in the control group are simultaneously pressed. Electronic musical instrument data setting device.
【請求項3】 データの増加を指示するアップスイッチ
とデータの減少を指示するダウンスイッチとから成るア
ップダウンスイッチと、 前記アップスイッチとダウンスイッチとが同時に押下さ
れたことが検出された場合に、複数の設定項目の中から
1つの設定項目を選択する選択手段と、 前記アップダウンスイッチの中のアップスイッチ又はダ
ウンスイッチが押下された場合に、該アップスイッチ又
はダウンスイッチに応じたデータを生成し、その時点で
前記選択手段により選択されている設定項目のデータと
する制御手段、とを備えたことを特徴とする電子楽器の
データ設定装置。
3. An up / down switch comprising an up switch for instructing an increase of data and a down switch for instructing a decrease of data; and when it is detected that the up switch and the down switch are simultaneously pressed, Selecting means for selecting one setting item from a plurality of setting items; and generating data according to the up switch or the down switch when the up switch or the down switch in the up down switch is pressed. A data setting device for an electronic musical instrument, comprising: a control unit that sets data of a setting item selected by the selection unit at that time.
【請求項4】 前記選択手段は、前記アップスイッチと
ダウンスイッチとが押下されたことが検出される度に設
定項目を変更することを特徴とする請求項3に記載の電
子楽器のデータ設定装置。
4. The data setting device for an electronic musical instrument according to claim 3, wherein the selection means changes a setting item each time it is detected that the up switch and the down switch are pressed. .
【請求項5】 複数の選択されるべき要素に対応する複
数のスイッチから成るスイッチ群と、 該スイッチ群の中の特定の複数のスイッチが同時に押下
されたことが検出された場合に、前記スイッチ群の各ス
イッチに所定の機能を割り当てる割当手段と、 前記スイッチ群の中の1つのスイッチが押下された場合
に、該スイッチに応じたデータを生成し、その時点で前
記割当手段により割り当てられている機能の中の1つの
要素を示すデータとする制御手段、 とを備えたことを特徴とする電子楽器のデータ設定装
置。
5. A switch group consisting of a plurality of switches corresponding to a plurality of elements to be selected, and the switch when it is detected that a plurality of specific switches in the switch group are simultaneously pressed. Assigning means for assigning a predetermined function to each switch of the group, and when one switch in the switch group is pressed, data corresponding to the switch is generated and assigned at that time by the assigning means. A data setting device for an electronic musical instrument, comprising: a control unit that stores data indicating one element of the function.
【請求項6】 前記割当手段は、前記スイッチ群の中の
特定の複数のスイッチが押下されたことが検出される度
に割り当てる機能を変更することを特徴とする請求項5
に記載の電子楽器のデータ設定装置。
6. The assigning means changes the assigning function each time it is detected that a specific plurality of switches in the switch group are pressed.
A data setting device for an electronic musical instrument according to item 1.
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 true JPH07175480A (en) 1995-07-14
JP3045915B2 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)

Cited By (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
JP2009008827A (en) * 2007-06-27 2009-01-15 Yamaha Corp Parameter setup unit in musical sound control device
JP2010506227A (en) * 2006-10-09 2010-02-25 マーシャル アンプリフィケイション ピーエルシー Musical instrument amplification system

Cited By (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
JP2010506227A (en) * 2006-10-09 2010-02-25 マーシャル アンプリフィケイション ピーエルシー Musical instrument amplification system
JP2009008827A (en) * 2007-06-27 2009-01-15 Yamaha Corp Parameter setup unit in musical sound control device

Also Published As

Publication number Publication date
JP3045915B2 (en) 2000-05-29

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JP2583809B2 (en) Electronic musical instrument
JP3045915B2 (en) Electronic musical instrument data setting device
JPH06259064A (en) Electronic musical instrument
JP2885333B2 (en) Electronic musical instrument
JP2953937B2 (en) Electronic musical instrument volume control device
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JPH07181966A (en) Data setting device of electronic musical instrument
JPH0816166A (en) Rhythm selecting device
JPH07230286A (en) Tempo setting device of electronic musical instrument
JP2953217B2 (en) Electronic musical instrument
JP2956924B2 (en) Automatic accompaniment device for electronic musical instruments
JPH1063269A (en) Silence piano
JPH07219531A (en) Electronic musical instrument
JP3097888B2 (en) Electronic musical instrument volume setting device
JP3375215B2 (en) Electronic musical instrument
JPH07199940A (en) Demonstrative playing controller for electronic musical instrument
JP2003099055A (en) Function allocation display device for electronic musical instrument
JPH07152374A (en) Electronic musical instrument
JPH06161438A (en) Data input device of electronic musical instrument
JPH0830273A (en) Tempo setting device for electronic musical instrument
JP2915753B2 (en) Electronic musical instrument
JP2629564B2 (en) Chord detector
JP2002297137A (en) Electronic musical instrument and its sound volume balance control method
JPH086554A (en) Tone selecting device

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