JPH0784578A - Tempo setting device of electronic musical instrument - Google Patents

Tempo setting device of electronic musical instrument

Info

Publication number
JPH0784578A
JPH0784578A JP5251177A JP25117793A JPH0784578A JP H0784578 A JPH0784578 A JP H0784578A JP 5251177 A JP5251177 A JP 5251177A JP 25117793 A JP25117793 A JP 25117793A JP H0784578 A JPH0784578 A JP H0784578A
Authority
JP
Japan
Prior art keywords
rhythm
tempo
switch
performance
data
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.)
Pending
Application number
JP5251177A
Other languages
Japanese (ja)
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 JP5251177A priority Critical patent/JPH0784578A/en
Publication of JPH0784578A publication Critical patent/JPH0784578A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide the tempo setting device of the electronic musical instrument which enables a player to start a rhythm musical performance with desired tempo and prevents the flow of the rhythm musical performance from being spoiled even when a rhythm is changed halfway in the rhythm musical performance. CONSTITUTION:This device is equipped with a rhythm selecting means 141 which selects a specific rhythm, a tempo setting means 142 which sets the tempo of the rhythm musical performance, a rhythm musical performance start indicating means 140 which indicates the start of the rhythm musical performance, and a control means which makes the electronic musical instrument carry out the rhythm musical performance with newly set tempo when the specific rhythm is selected by the rhythm selecting means and new tempo is set by the tempo setting means 142 at the time of the indication for the start of the rhythm musical performance and with tempo predetermined corresponding to the selected rhythm when the specific rhythm is selected by the rhythm selecting means 141 and the new tempo is not set by the tempo setting means 142.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、リズム演奏の開始やリ
ズム変更時に適正なテンポに設定することのできる電子
楽器のテンポ設定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tempo setting device for an electronic musical instrument which can set an appropriate tempo when starting a rhythm performance or changing a rhythm.

【0002】[0002]

【従来の技術】従来、リズム演奏機能付電子楽器が開発
され実用に供されている。かかる電子楽器では、一般
に、複数種類のリズム演奏を可能にするべく、複数のリ
ズムに対応した複数のリズム演奏データが記憶されてい
る。
2. Description of the Related Art Conventionally, electronic musical instruments with a rhythm playing function have been developed and put into practical use. In such an electronic musical instrument, in general, a plurality of rhythm performance data corresponding to a plurality of rhythms are stored in order to enable a plurality of types of rhythm performance.

【0003】そして、操作者がリズムを選択し、リズム
演奏の開始を指示することにより、リズム音の自動演奏
(リズム演奏)が開始される。即ち、電子楽器の制御部
は、選択されたリズムに対応するリズム演奏データを順
次読み出し、これを音源に送る。音源では、リズム演奏
データに基づいた楽音信号が生成され、これがスピーカ
に送られることによりリズム音が発生される。
When the operator selects a rhythm and gives an instruction to start the rhythm performance, an automatic performance of the rhythm sound (rhythm performance) is started. That is, the control unit of the electronic musical instrument sequentially reads the rhythm performance data corresponding to the selected rhythm and sends it to the sound source. The tone generator generates a tone signal based on the rhythm performance data and sends it to a speaker to generate a rhythm tone.

【0004】かかる動作によりリズム演奏が自動的に行
われている状態で、演奏者が鍵盤を操作することによ
り、リズム演奏をバックにしたメロディ演奏等が可能に
なっている。
When the rhythm performance is automatically performed by such an operation, the player can operate the keyboard to perform a melody performance with the rhythm performance as a back.

【0005】ところで、リズム演奏を行わせる場合の適
正なテンポは、各リズムで区々であり、また、演奏者の
リズムに対する感性によっても異なることが経験的に知
られている。従って、従来は、演奏者がリズムを選択し
てリズム演奏を開始させた後に、演奏者がテンポスイッ
チを操作して適正なテンポに調整している。しかしなが
ら、上記従来の方法ではテンポを適正値に設定するまで
時間がかかってしまうという問題が生じていた。
By the way, it is empirically known that the proper tempo for performing a rhythm performance is different for each rhythm, and also depends on the sensitivity of the performer to the rhythm. Therefore, conventionally, after the performer selects a rhythm and starts the rhythm performance, the performer operates the tempo switch to adjust the tempo to an appropriate tempo. However, the conventional method described above has a problem that it takes time to set the tempo to an appropriate value.

【0006】そこで、最近は、リズム演奏時のテンポ設
定方法として、リズムを選択した後にテンポスイッチが
操作された時、或いはリズムを選択した後に専用のスイ
ッチが押された時に、各リズムに対応して予め決められ
ているテンポに自動的に設定されるもの(第1の方法)
が知られている。また、他のテンポ設定方法として、リ
ズム演奏の開始が指示された時に、各リズムに対応して
予め決められているテンポに自動的に設定されるもの
(第2の方法)が知られている。
Therefore, recently, as a tempo setting method at the time of playing a rhythm, when a tempo switch is operated after selecting a rhythm, or when a dedicated switch is pressed after selecting a rhythm, it corresponds to each rhythm. That is automatically set to a tempo that is determined in advance (first method)
It has been known. Further, as another tempo setting method, there is known a method (second method) in which the tempo is automatically set to a predetermined tempo corresponding to each rhythm when the start of the rhythm performance is instructed. .

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記第
1の方法は、新たにリズム演奏を開始する場合に問題と
なることは少ないが、リズム演奏途中でリズムを変えた
いときに問題が生じる。即ち、リズム演奏途中でリズム
を変えると、新たなテンポによるリズム演奏が以前のリ
ズムに対応したテンポで行われる時間帯ができてしま
い、リズム演奏の流れがスムーズでなくなるという問題
がある。
However, the first method described above hardly causes a problem when a rhythm performance is newly started, but causes a problem when it is desired to change the rhythm during the rhythm performance. That is, when the rhythm is changed during the rhythm performance, there is a problem that a rhythm performance with a new tempo is performed at a tempo corresponding to the previous rhythm, and the flow of the rhythm performance is not smooth.

【0008】また、上記第2のテンポ設定方法は、リズ
ム演奏の開始が指示された時に強制的に予め定められた
テンポでリズム演奏が開始されるので、演奏者が好みの
テンポでリズム演奏を開始させることができないという
問題がある。
In the second tempo setting method, since the rhythm performance is forcibly started at the predetermined tempo when the start of the rhythm performance is instructed, the performer can perform the rhythm performance at the desired tempo. There is a problem that it cannot be started.

【0009】本発明は、かかる事情に鑑みてなされたも
のであり、演奏者が好みのテンポでリズム演奏を開始さ
せることができると共に、リズム演奏途中でリズムを変
えてもリズム演奏の流れが損なわれるのを防止できる電
子楽器のテンポ設定装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and enables a performer to start a rhythm performance at a tempo of his or her preference and, even if the rhythm is changed during the rhythm performance, the flow of the rhythm performance is impaired. It is an object of the present invention to provide a tempo setting device for an electronic musical instrument that can prevent such a situation.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明の電子楽器のテンポ設定装置の第1の態様
は、複数のリズムに対応したリズム演奏を行う電子楽器
において、前記複数のリズムの中から所定のリズムを選
択するリズム選択手段と、該選択手段で選択されたリズ
ムによるリズム演奏のテンポを設定するテンポ設定手段
と、前記選択手段で選択されたリズムによるリズム演奏
の開始を指示するリズム演奏開始指示手段と、該リズム
演奏開始指示手段によりリズム演奏の開始が指示さた場
合に、前記リズム選択手段で所定のリズムが選択され、
且つ前記テンポ設定手段で新たなテンポが設定されてい
れば新たに設定されたテンポでリズム演奏を行わせ、前
記リズム選択手段で所定のリズムが選択され、且つ前記
テンポ設定手段で新たなテンポが設定されていなけれ
ば、選択されたリズムに対応して予め定められているテ
ンポでリズム演奏を行わせる制御手段、とを備えたこと
を特徴とする。
In order to achieve the above object, a first aspect of a tempo setting device for an electronic musical instrument of the present invention is an electronic musical instrument which performs a rhythm performance corresponding to a plurality of rhythms. Rhythm selecting means for selecting a predetermined rhythm from the rhythms, tempo setting means for setting the tempo of the rhythm performance by the rhythm selected by the selecting means, and start of the rhythm performance by the rhythm selected by the selecting means. A rhythm performance start instruction means for instructing, and a predetermined rhythm is selected by the rhythm selection means when the start of the rhythm performance is instructed by the rhythm performance start instruction means,
If a new tempo is set by the tempo setting means, a rhythm performance is performed at the newly set tempo, a predetermined rhythm is selected by the rhythm selecting means, and a new tempo is set by the tempo setting means. If it is not set, the control means for performing a rhythm performance at a predetermined tempo corresponding to the selected rhythm is provided.

【0011】また、同様の目的で、本発明の電子楽器の
テンポ設定装置の第2の態様は、複数のリズムに対応し
たリズム演奏を行う電子楽器において、前記複数のリズ
ムの中から所定のリズムを選択するリズム選択手段と、
該選択手段で選択されたリズムによるリズム演奏のテン
ポを設定するテンポ設定手段と、前記選択手段で選択さ
れたリズムによるリズム演奏の開始を指示するリズム演
奏開始指示手段と、リズム演奏のテンポを従前のテンポ
に固定すべきことを指示する固定指示手段と、前記リズ
ム演奏開始指示手段によりリズム演奏の開始が指示さた
場合に、前記固定指示手段による指示があり、且つ前記
テンポ設定手段で新たなテンポが設定されていれば新た
に設定されたテンポでリズム演奏を行わせ、前記固定指
示手段による指示があり、且つ前記テンポ設定手段で新
たなテンポが設定されていなければ、その時点で設定さ
れているテンポでリズム演奏を行わせる制御手段、とを
備えたことを特徴とする。
For the same purpose, a second aspect of the tempo setting device for an electronic musical instrument of the present invention is an electronic musical instrument which performs a rhythm performance corresponding to a plurality of rhythms, and a predetermined rhythm is selected from the plurality of rhythms. Rhythm selection means for selecting
Tempo setting means for setting the tempo of the rhythm performance by the rhythm selected by the selection means, rhythm performance start instruction means for instructing the start of the rhythm performance by the rhythm selected by the selection means, and the tempo of the rhythm performance before. Fixed instruction means for instructing that the tempo should be fixed to the tempo, and when the rhythm performance start instruction means instructs the start of the rhythm performance, the fixed instruction means gives an instruction and If the tempo is set, the rhythm performance is performed at the newly set tempo, and if there is an instruction from the fixed instruction means and a new tempo is not set by the tempo setting means, the tempo is set at that time. And a control means for performing a rhythm performance at a certain tempo.

【0012】[0012]

【作用】第1の態様に係る電子楽器のテンポ設定装置に
おいては、リズム選択手段で所定のリズムが選択され、
次いでテンポ設定手段で新たなテンポが設定され、その
後リズム演奏の開始が指示された場合は、新たに設定さ
れたテンポでリズム演奏を行う。一方、リズム選択手段
で所定のリズムが選択され、その後テンポ設定手段で新
たなテンポが設定されることなくリズム演奏の開始が指
示された場合は、例えばプリセットテンポデータによっ
て予め規定されているテンポでリズム演奏を行う。
In the tempo setting device for an electronic musical instrument according to the first aspect, the rhythm selecting means selects a predetermined rhythm,
Next, when a new tempo is set by the tempo setting means and then the start of the rhythm performance is instructed, the rhythm performance is performed at the newly set tempo. On the other hand, when a predetermined rhythm is selected by the rhythm selection means and then the start of the rhythm performance is instructed without setting a new tempo by the tempo setting means, for example, the tempo preset by the preset tempo data is used. Perform rhythm performance.

【0013】これにより、演奏者は、リズムを選択して
リズム演奏を行わせる場合に、特にテンポを変える必要
がないときは、そのままリズム演奏開始指示手段でリズ
ム演奏の開始を指示することにより、そのリズムの適正
値として予め定められているテンポでリズム演奏を開始
させることができる。一方、リズム選択手段で選択した
リズムの適正値として予め定められているテンポを変更
したい場合は、テンポ設定手段を操作して所望のテンポ
値を設定し、その後、リズム演奏開始指示手段でリズム
演奏の開始を指示することにより、自分の感性に合った
テンポでリズム演奏を開始させることができる。
Therefore, when the performer selects a rhythm and performs the rhythm performance, if the tempo does not need to be changed, the performer directly instructs the rhythm performance start instruction means to start the rhythm performance. It is possible to start the rhythm performance at a tempo preset as an appropriate value of the rhythm. On the other hand, when it is desired to change the tempo preset as the proper value of the rhythm selected by the rhythm selecting means, the tempo setting means is operated to set a desired tempo value, and then the rhythm performance start instructing means performs the rhythm performance. By instructing the start of, the rhythm performance can be started at a tempo that suits one's sensitivity.

【0014】また、第2の態様に係る電子楽器のテンポ
設定装置においては、固定指示手段によってテンポを従
前の状態に固定すべきことが指示されている状態で、リ
ズム選択手段で所定のリズムが選択され、次いでテンポ
設定手段で新たなテンポが設定され、その後リズム演奏
の開始が指示された場合は、新たに設定されたテンポで
リズム演奏を行う。一方、固定指示手段によってテンポ
を従前の状態に固定すべきことが指示されている状態
で、リズム選択手段で所定のリズムが選択され、その後
テンポ設定手段で新たなテンポが設定されることなくリ
ズム演奏の開始が指示された場合は、リズム選択が行わ
れる前のリズム演奏で設定されていたテンポでリズム演
奏を行う。
Further, in the tempo setting device for an electronic musical instrument according to the second aspect, the rhythm selecting means gives a predetermined rhythm while the fixing instruction means gives an instruction to fix the tempo to the previous state. When a new tempo is selected by the selected tempo setting means and then the start of the rhythm performance is instructed, the rhythm performance is performed at the newly set tempo. On the other hand, in a state where the tempo should be fixed to the previous state by the fixing instruction device, a predetermined rhythm is selected by the rhythm selection device, and then the rhythm is set without setting a new tempo by the tempo setting device. When the start of the performance is instructed, the rhythm performance is performed at the tempo set in the rhythm performance before the rhythm selection.

【0015】これにより、演奏者は、リズムを変更して
もテンポを変えたくない場合は、予め固定指示手段によ
ってその旨を指示した後にリズム選択を行うことによ
り、従前のリズム演奏時のテンポをそのまま継続するこ
とができる。また、固定指示手段によってテンポを変更
しない旨を指示している場合であっても、テンポ設定手
段で新たにテンポを設定すれば、そのテンポでリズム演
奏が行われる。従って、リズム変更時に演奏者が意図し
ないテンポの時間帯が発生することを防止できるものと
なっている。
Thus, when the performer does not want to change the tempo even if the rhythm is changed, the performer selects the rhythm after instructing the fact by the fixed instructing means in advance, so that the tempo at the time of the previous rhythm performance is changed. You can continue as it is. Even if the fixed instruction means does not change the tempo, if the tempo setting means sets a new tempo, the rhythm performance is performed at that tempo. Therefore, when the rhythm is changed, it is possible to prevent a tempo time zone that the player does not intend to occur.

【0016】[0016]

【実施例】以下、本発明の電子楽器のテンポ設定装置の
実施例につき、図面を参照しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the tempo setting device for an electronic musical instrument of the present invention will be described below in detail with reference to the drawings.

【0017】図1は、本発明のテンポ設定装置が適用さ
れた電子楽器の実施例の概略構成を示すブロック図であ
る。このブロック図に示される構成は、以下に説明する
実施例1及び実施例2に共通に適用される。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an electronic musical instrument to which the tempo setting device of the present invention is applied. The configuration shown in this block diagram is commonly applied to the first and second embodiments described below.

【0018】本電子楽器は、中央処理装置(以下、「C
PU」という。)10、プログラムメモリ11、ランダ
ムアクセスメモリ(以下、「RAM」という。)12、
パネルインタフェース回路13、鍵盤インタフェース回
路15、リズム演奏データメモリ17、波形メモリ18
及び音源(トーンジェネレータ)19の各主要構成要素
が相互に接続されることにより構成されている。
This electronic musical instrument has a central processing unit (hereinafter referred to as "C
PU ”. ) 10, a program memory 11, a random access memory (hereinafter referred to as “RAM”) 12,
Panel interface circuit 13, keyboard interface circuit 15, rhythm performance data memory 17, waveform memory 18
Also, each main component of the sound source (tone generator) 19 is connected to each other.

【0019】システムバス30は、例えばアドレス線、
データ線及び制御信号線等で成る。このシステムバス3
0は、上記各構成要素間における各種データの送受のた
めに使用される。以下の説明においては、上記各構成要
素間のデータの送受はシステムバス30を介して行われ
る旨の記載は省略する。このシステムバス30は、CP
U10と音源19とにより時分割で使用される。
The system bus 30 is, for example, an address line,
It consists of data lines and control signal lines. This system bus 3
0 is used for transmitting and receiving various data between the above-mentioned components. In the following description, description that data transmission / reception between the above-mentioned components is performed via the system bus 30 is omitted. This system bus 30 is a CP
It is used by U10 and the sound source 19 in a time division manner.

【0020】CPU10は制御手段に対応するものであ
る。CPU10は、プログラムメモリ11に格納されて
いる制御プログラムに従って、本電子楽器の全体を制御
する。例えば、CPU10は、操作パネル14や鍵盤装
置16から送られてくる各種情報に基づいて所定の楽音
を発生させる処理を行う。また、CPU10は、リズム
演奏データメモリ17から送られてくるリズム演奏デー
タに基づいて所定のリズム演奏を行わせる処理を行う。
これらの詳細については、後述する。
The CPU 10 corresponds to the control means. The CPU 10 controls the entire electronic musical instrument according to the control program stored in the program memory 11. For example, the CPU 10 performs a process of generating a predetermined musical sound based on various information sent from the operation panel 14 or the keyboard device 16. Further, the CPU 10 performs a process for performing a predetermined rhythm performance based on the rhythm performance data sent from the rhythm performance data memory 17.
Details of these will be described later.

【0021】このCPU10には、図示しないタイムカ
ウンタが含まれている。このタイムカウンタは、スター
ト指令により動作が開始され、以降は一定周期でカウン
トアップ動作を行う。このタイムカウンタは、後述する
リズム演奏処理において発音又は消音のタイミングを検
出するために使用される。
The CPU 10 includes a time counter (not shown). The time counter starts its operation by a start command, and thereafter, counts up at a constant cycle. This time counter is used to detect the timing of sound generation or mute in the rhythm performance processing described later.

【0022】プログラムメモリ11は、例えばROMで
構成される。このプログラムメモリ11には、上述した
CPU10を動作させるための制御プログラムが記憶さ
れている他、CPU10が各種処理に用いる種々の固定
データが記憶されている。このプログラムメモリ11の
内容はCPU10により読み出される。即ち、CPU1
0は、プログラムメモリ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. The contents of the program memory 11 are read by the CPU 10. That is, CPU1
0 reads a control program (command) from the program memory 11 for interpretation / execution and reads predetermined fixed data for use in various processes.

【0023】RAM12は、制御プログラムの実行に用
いられる種々のデータを一時記憶するものである。RA
M12には、例えばデータバッファ、レジスタ、カウン
タ、フラグ等の各領域が定義されている。このRAM1
2は、CPU10によりアクセスされる。
The RAM 12 temporarily stores various data used for executing the control program. RA
Areas such as a data buffer, a register, a counter, and a flag are defined in the M12. This RAM1
2 is accessed by the CPU 10.

【0024】パネルインタフェース回路13には、操作
パネル14が接続されている。この操作パネル14は、
本電子楽器に各種動作を指示するために使用される。こ
の操作パネル14には、例えば図2に示されるように、
リズムスタートスイッチ140、リズム選択スイッチ1
41、テンポスイッチ142及び表示器143が設けら
れている。なお、操作パネル14には、上記以外の各種
スイッチ、表示器等が設けられているが、図2には、本
実施例に直接関係する部分のみが図示されている。
An operation panel 14 is connected to the panel interface circuit 13. This operation panel 14
It is used to instruct the electronic musical instrument to perform various operations. On the operation panel 14, for example, as shown in FIG.
Rhythm start switch 140, rhythm selection switch 1
41, a tempo switch 142, and a display 143 are provided. Although the operation panel 14 is provided with various switches and indicators other than those described above, FIG. 2 shows only the portions directly related to the present embodiment.

【0025】リズムスタートスイッチ140は、リズム
演奏開始指示手段に対応するものであり、リズム演奏の
開始又は停止を指示するために使用される。このリズム
スタートスイッチ140は、例えば押下の度にオンとオ
フとが交互に反転するスイッチで構成されている。
The rhythm start switch 140 corresponds to a rhythm performance start instruction means, and is used for instructing the start or stop of the rhythm performance. The rhythm start switch 140 is composed of, for example, a switch in which ON and OFF are alternately inverted each time the button is pressed.

【0026】リズム選択スイッチ141は、リズム選択
手段に対応するものである。このリズム選択スイッチ1
41は、例えば8ビート、ワルツ、マンボ等といった各
種リズムに対応した複数のスイッチから構成されてい
る。このリズム選択スイッチ141の中の何れかのスイ
ッチが押下されることによりリズム選択が行われる。
The rhythm selection switch 141 corresponds to rhythm selection means. This rhythm selection switch 1
41 is composed of a plurality of switches corresponding to various rhythms such as 8-beat, waltz, mambo, and the like. The rhythm is selected by pressing any one of the rhythm selection switches 141.

【0027】テンポスイッチ142は、テンポ設定手段
及び固定指示手段に対応するものである。このテンポス
イッチ142は、テンポアップスイッチ142Aとテン
ポダウンスイッチ142Bとにより構成されている。そ
して、テンポアップスイッチ142Aが押下される度に
テンポ値が増加し、テンポダウンスイッチ142Bが押
下される度にテンポ値が減少するように制御される。
The tempo switch 142 corresponds to tempo setting means and fixing instruction means. The tempo switch 142 is composed of a tempo up switch 142A and a tempo down switch 142B. The tempo value is controlled to increase each time the tempo up switch 142A is pressed, and to decrease each time the tempo down switch 142B is pressed.

【0028】このテンポスイッチ142を用いて入力さ
れたデータはRAM12に設けられたテンポバッファに
記憶される。なお、このテンポスイッチ142は、テン
キー、スライド式操作子、回転式操作子等で代替させる
こともできる。
The data input using the tempo switch 142 is stored in the tempo buffer provided in the RAM 12. The tempo switch 142 can be replaced with a ten-key pad, a slide type operator, a rotary type operator or the like.

【0029】表示器143は、例えば7セグメントのL
ED表示器を2桁分備えて構成されている。この表示器
143には、CPU10から送られて来るデータに従っ
て、数字や英文字等が表示される。例えば、リズム選択
スイッチ141が操作されると押下されたスイッチに対
応するリズムのリズム番号が表示され、また、テンポス
イッチ141が操作されると、その操作に応じたテンポ
値が表示されるように制御される。
The display 143 is, for example, a 7-segment L
The ED display is provided for two digits. On the display 143, numbers, letters and the like are displayed according to the data sent from the CPU 10. For example, when the rhythm selection switch 141 is operated, the rhythm number of the rhythm corresponding to the pressed switch is displayed, and when the tempo switch 141 is operated, the tempo value according to the operation is displayed. Controlled.

【0030】なお、本実施例では、表示器143は、7
セグメントのLEDが2桁で構成されるものを例示した
が、これに限定されるものではない。例えば、表示器1
43は、7セグメントのLEDを1桁分又は3桁分以上
備えて構成しても良いし、文字や数字を表示可能なLC
D表示器やCRTを用いて構成しても良いし、更に、そ
の他種々の表示装置を用いて構成することができる。
In the present embodiment, the indicator 143 is 7
Although the LED of the segment is composed of two digits, it is not limited to this. For example, display 1
The 43 may be configured by including 7-segment LEDs for one digit or three digits or more, and is an LC capable of displaying characters and numbers.
It may be configured by using a D display or a CRT, or may be configured by using various other display devices.

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

【0032】また、パネルインタフェース回路13は、
CPU10から送られてきた表示用データを操作パネル
14に送る。これにより、表示器143に所定の数字又
は英文字等が表示される。
Further, the panel interface circuit 13 is
The display data sent from the CPU 10 is sent to the operation panel 14. As a result, the display device 143 displays a predetermined number, an alphabetic character, or the like.

【0033】鍵盤インタフェース回路15には鍵盤装置
16が接続されている。鍵盤装置16は、音高を指示す
るための複数の鍵を有している。この鍵盤装置16とし
ては、例えば2接点方式の鍵盤装置が用いられ、鍵のオ
ン/オフと共に、イニシャルタッチデータの検出が可能
になっている。即ち、鍵盤装置16の各鍵は、押鍵又は
離鍵動作によってオン/オフする2個のキースイッチを
有し、それぞれのキースイッチは異なる押圧深さでオン
/オフされる。
A keyboard device 16 is connected to the keyboard interface circuit 15. The keyboard device 16 has a plurality of keys for indicating a pitch. As the keyboard device 16, for example, a two-contact type keyboard device is used, and it is possible to detect the initial touch data as well as turning the key on / off. That is, each key of the keyboard device 16 has two key switches that are turned on / off by a key pressing operation or a key releasing operation, and each key switch is turned on / off at different pressing depths.

【0034】鍵盤インタフェース回路15は、鍵盤装置
16とCPU10との間のデータの送受を制御するもの
である。具体的には、鍵盤インタフェース回路15は、
鍵盤装置16に対してスキャン信号を送出し、このスキ
ャン信号に応答して鍵盤装置16から返送される各鍵の
2個のキースイッチのオン/オフ状態示す信号を受け取
る。
The keyboard interface circuit 15 controls transmission / reception of data between the keyboard device 16 and the CPU 10. Specifically, the keyboard interface circuit 15
A scan signal is sent to the keyboard device 16, and a signal indicating the on / off state of the two key switches of each key is sent back from the keyboard device 16 in response to the scan signal.

【0035】そして、この受け取った信号から、各鍵の
オン/オフを1ビットに対応させたキーデータ及び押鍵
の速さ(強さ)を示すイニシャルタッチデータを生成
し、CPU10に送る。キーデータは鍵盤イベントの有
無の判断に使用される。イニシャルタッチデータは、音
色や音量を制御するために使用される。
From the received signal, key data in which ON / OFF of each key is associated with 1 bit and initial touch data indicating the speed (strength) of key depression are generated and sent to the CPU 10. The key data is used to judge the presence / absence of a keyboard event. The initial touch data is used to control the tone color and volume.

【0036】リズム演奏データメモリ17は、例えばR
OMで構成されている。このリズム演奏データメモリ1
7には、複数のリズムに対応したリズム演奏データの
他、スタートアドレステーブル及びプリセットテンポテ
ーブルが記憶されている。
The rhythm performance data memory 17 stores, for example, R
It is composed of OM. This rhythm performance data memory 1
A rhythm performance data corresponding to a plurality of rhythms, a start address table and a preset tempo table are stored in 7.

【0037】リズム演奏データは、例えばコード、ベー
ス及びドラムといった3つのパート音を発生するための
データにより構成されている。各パートのリズム演奏デ
ータは、例えばMIDIデータと同様の形式で作成さ
れ、発音タイミングを指示するためのステップタイムデ
ータが含まれている。
The rhythm performance data is composed of data for generating three part sounds such as a chord, a bass and a drum. The rhythm performance data of each part is created in the same format as MIDI data, for example, and includes step time data for instructing the sounding timing.

【0038】本実施例では、各パートは、以下のよう
に、各発音チャンネル(CHn)に対応付けられている
ものとする。 CH0:メロディ CH1:メロディ CH2:コード CH3:ベース CH4:ドラム
In this embodiment, it is assumed that each part is associated with each tone generation channel (CHn) as follows. CH0: Melody CH1: Melody CH2: Chord CH3: Bass CH4: Drum

【0039】このリズム演奏データメモリ17に記憶さ
れたリズム演奏データは、後述するリズム演奏処理にお
いて音源19が処理することができる形式に変換されて
音源19に送られる。
The rhythm performance data stored in the rhythm performance data memory 17 is converted into a format that can be processed by the sound source 19 in the rhythm performance processing described later and is sent to the sound source 19.

【0040】スタートアドレステーブルは、各リズムに
対応したリズム演奏データの先頭アドレスを記憶したテ
ーブルである。リズムの変更があった場合に、このスタ
ートアドレステーブルから、新たに選択されたリズムに
対応するリズム演奏データのスタートアドレスが取り出
される。
The start address table is a table storing the start address of the rhythm performance data corresponding to each rhythm. When the rhythm is changed, the start address of the rhythm performance data corresponding to the newly selected rhythm is fetched from this start address table.

【0041】また、プリセットテンポテーブルには、所
定のリズム演奏データに基づいてリズム演奏を行う際
に、そのリズム演奏に最適なテンポとなるテンポデータ
(プリセットテンポデータ)が、リズム毎に記憶されて
いる。
The preset tempo table stores, for each rhythm, tempo data (preset tempo data) that is the optimum tempo for performing a rhythm performance based on predetermined rhythm performance data. There is.

【0042】なお、上記リズム演奏データ、スタートア
ドレステーブル及びプリセットテンポテーブルは、リズ
ム演奏データメモリ17に代えて、RAM12の一部に
記憶するように構成しても良い。この場合、システムバ
ス30に例えばフロッピーディスク装置(又はROMカ
ード制御装置)を接続すると共に、フロッピーディスク
(又はROMカード)にリズム演奏データ、スタートア
ドレステーブル及びプリセットテンポテーブルを記憶さ
せておき、例えば本電子楽器の電源投入時にフロッピー
ディスク装置に装着されたフロッピーディスク(又はR
OMカード制御装置に挿入されたROMカード)から上
記各データをRAM12にロードするように構成すれば
良い。
The rhythm performance data, the start address table and the preset tempo table may be stored in a part of the RAM 12 instead of the rhythm performance data memory 17. In this case, for example, a floppy disk device (or ROM card control device) is connected to the system bus 30, and rhythm performance data, a start address table, and a preset tempo table are stored in the floppy disk (or ROM card), for example. The floppy disk (or R
The above data may be loaded into the RAM 12 from a ROM card inserted in the OM card controller.

【0043】波形メモリ18には、パルスコード変調
(PCM)された波形データが記憶されている。この波
形メモリ18には、複数種類の音色を実現するべく、各
音色、各鍵域、押鍵速度等に対応した複数種類の波形デ
ータが記憶されている。
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.

【0044】音源19は、例えば複数のオシレータを備
えている。そして、各パートの楽音を発生する各発音チ
ャンネルに対して1個乃至数個のオシレータが割り当て
られるようになっている。発音が割り当てられたオシレ
ータは、波形メモリ18に記憶されている波形データを
時分割で読み出し、これにエンベロープを付加してデジ
タル楽音信号を生成する。この音源19において生成さ
れたデジタル楽音信号は、D/A変換器20に送られ
る。
The sound source 19 includes, for example, a plurality of oscillators. Then, one to several oscillators are assigned to each tone generation channel that generates the tone of each part. 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 sent to the D / A converter 20.

【0045】D/A変換器20は、入力されたデジタル
楽音信号をアナログ楽音信号に変換して出力するもので
ある。このD/A変換器20が出力するアナログ楽音信
号は増幅器21に送られる。
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.

【0046】増幅器21は、入力されたアナログ楽音信
号を所定の増幅率で増幅して出力するものである。この
増幅器21が出力するアナログ楽音信号はスピーカ22
に送られる。
The amplifier 21 amplifies the input analog tone signal by a predetermined amplification factor and outputs it. The analog tone signal output by the amplifier 21 is a speaker 22.
Sent to.

【0047】スピーカ22は、電気信号としてのアナロ
グ楽音信号を音響信号に変換する周知のものである。こ
のスピーカ22により、鍵盤装置16の押鍵又はリズム
演奏データメモリ17から読み出されたリズム演奏デー
タに応じた楽音が放音されることになる。
The speaker 22 is a known one which converts an analog musical tone signal as an electric signal into an acoustic signal. By the speaker 22, a musical tone corresponding to the key depression of the keyboard device 16 or the rhythm performance data read from the rhythm performance data memory 17 is emitted.

【0048】なお、上述したリズム選択スイッチ141
は、リズム毎に設けられた複数のスイッチで構成される
ものを例示したが、テンポスイッチ142と同様に、ア
ップスイッチ「+」とダウンスイッチ「−」とで成るア
ップダウンスイッチ、或いはテンキー等で構成すること
もできる。
The rhythm selection switch 141 described above is used.
Exemplifies the one composed of a plurality of switches provided for each rhythm, but like the tempo switch 142, an up / down switch composed of an up switch “+” and a down switch “−”, or a numeric keypad or the like is used. It can also be configured.

【0049】また、リズム選択スイッチ141をアップ
ダウンスイッチで構成する場合は、テンポスイッチ14
2をリズム選択スイッチと兼用するように構成すること
もできる。この場合、テンポスイッチ142を汎用スイ
ッチと定義し、この汎用スイッチの動作モードを切り換
えるモード切換スイッチを別途設ける。そして、このモ
ード切換スイッチでテンポ設定モードにされた場合は、
汎用スイッチはテンポ設定するために使用され、モード
切換スイッチでリズム選択モードにされた場合は、リズ
ム番号を選択するために使用されるように構成する。
When the rhythm selection switch 141 is composed of an up / down switch, the tempo switch 14
It is also possible to configure 2 as a rhythm selection switch. In this case, the tempo switch 142 is defined as a general-purpose switch, and a mode switching switch for switching the operation mode of this general-purpose switch is separately provided. Then, when the tempo setting mode is set with this mode selector switch,
The general-purpose switch is used to set the tempo, and is configured to be used to select the rhythm number when the rhythm selection mode is set by the mode changeover switch.

【0050】更に、モード切換スイッチで、上記以外の
モード、例えば、音色選択モード、音響効果選択モード
又は音量設定モードにすることにより、それぞれ音色選
択スイッチ、音響効果選択スイッチ、又は音量設定スイ
ッチとして動作させるように構成することもできる。音
色選択スイッチとして動作する場合は、複数音色の中か
ら1つの音色を選択するために使用され、音響効果選択
スイッチとして動作する場合は複数の音響効果の中から
1つの音響効果(例えばリバーブ)を指定するために使
用され、音量設定スイッチとして動作する場合は、音量
値を制御するために使用される。かかる構成によれば、
スイッチの数を少なくできる。
Further, by operating the mode changeover switch to a mode other than the above, for example, a tone color selection mode, a sound effect selection mode or a volume setting mode, they respectively operate as a tone color selection switch, a sound effect selection switch or a volume setting switch. It is also possible to configure so as to allow it. When operating as a timbre selection switch, it is used to select one timbre from a plurality of timbres, and when operating as a sound effect selection switch, one sonic effect (for example, reverb) is selected from a plurality of sonic effects. Used to specify, when used as a volume setting switch, used to control the volume value. According to this configuration,
The number of switches can be reduced.

【0051】次に、上記の構成において、本発明に係る
テンポ設定装置が適用された電子楽器の動作につき、テ
ンポ設定装置としての動作を中心に、図面を参照しなが
ら説明する。
Next, the operation of the electronic musical instrument to which the tempo setting device according to the present invention is applied in the above configuration will be described with reference to the drawings, focusing on the operation as the tempo setting device.

【0052】(実施例1)図3〜図8は、本発明に係る
テンポ設定装置の実施例1の動作を示すフローチャート
である。この実施例1は、リズム選択スイッチ141が
操作された後に、テンポスイッチ142が操作されるこ
となく、リズムスタートスイッチ140が押下された場
合は、プリセットテンポデータに基づくテンポによりリ
ズム演奏を行い、一方、リズム選択スイッチ141が操
作された後に、テンポスイッチ142が操作され、その
後リズムスタートスイッチ140が押下された場合は、
テンポスイッチ142で設定されたテンポによりリズム
演奏を行うというものである。
(Embodiment 1) FIGS. 3 to 8 are flow charts showing the operation of Embodiment 1 of the tempo setting device according to the present invention. In the first embodiment, when the rhythm start switch 140 is pressed without the tempo switch 142 being operated after the rhythm selection switch 141 is operated, the rhythm performance is performed at the tempo based on the preset tempo data. If the rhythm selection switch 141 is operated, the tempo switch 142 is operated, and then the rhythm start switch 140 is pressed,
The rhythm performance is performed at the tempo set by the tempo switch 142.

【0053】以下、上記の機能を実現するための動作に
つき詳細に説明する。図3は、本電子楽器のメインルー
チンを示すフローチャートであり、電源投入により起動
される。即ち、電源が投入されると、先ず、初期化処理
が行われる(ステップS10)。
The operation for realizing the above function will be described in detail below. FIG. 3 is a flowchart 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).

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

【0055】スイッチイベント処理では、先ず、スイッ
チイベントの有無が調べられる(ステップS20)。こ
れは、次のようにして行われる。即ち、先ずパネルイン
タフェース回路13が操作パネル14をスキャンするこ
とにより得られる各スイッチのオン/オフ状態を示すデ
ータ(以下、「新パネルデータ」という。)を各スイッ
チに対応したビット列として取り込む。
In the switch event processing, the presence or absence of a switch event is first checked (step S20). This is done as follows. That is, first, the panel interface circuit 13 takes in data indicating the on / off state of each switch obtained by scanning the operation panel 14 (hereinafter referred to as "new panel data") as a bit string corresponding to each switch.

【0056】次いで、前回読み込んで既にRAM12に
記憶されているデータ(以下、「旧パネルデータ」とい
う。)と、上記新パネルデータとを比較して相違するビ
ットをオンにしたパネルイベントマップを作成する。ス
イッチイベントの有無は、このパネルイベントマップを
参照することにより判断される。即ち、パネルイベント
マップ中にオンになっているビットが1つでも存在する
とスイッチイベントがあった旨が判断される。
Next, the panel event map is created in which the data read last time and already stored in the RAM 12 (hereinafter referred to as "old panel data") is compared with the new panel data and different bits are turned on. To do. The presence / absence of a switch event is determined by referring to this panel event map. That is, if there is even one bit that is turned on in the panel event map, it is determined that there is a switch event.

【0057】上記ステップS20でスイッチイベントが
ないことが判断されると、このスイッチイベント処理ル
ーチンからリターンしてメインルーチンに戻る。一方、
上記ステップS20でスイッチイベントがあることが判
断されると、次いで、そのスイッチイベントはリズム選
択スイッチ141のイベントであるか否かが調べられる
(ステップS21)。これは、パネルイベントマップ中
のリズム選択スイッチ141の各スイッチに対応するビ
ットがオンになっているか否かを調べることにより行わ
れる。
When it is determined in step S20 that there is no switch event, the process returns from this switch event processing routine and returns to the main routine. on the other hand,
When it is determined in step S20 that there is a switch event, it is then checked whether or not the switch event is the rhythm selection switch 141 event (step S21). This is performed by checking whether or not the bit corresponding to each switch of the rhythm selection switch 141 in the panel event map is turned on.

【0058】ここで、リズムス選択スイッチ141のイ
ベントでないことが判断されるとステップS23に進
み、一方、リズム選択スイッチ141のイベントである
ことあるが判断されると、リズム変更処理が行われる
(ステップS22)。このリズム変更処理の詳細につい
ては、図5のフローチャートに示されている。
If it is determined that the event is not the rhythm selection switch 141 event, the process proceeds to step S23. If it is determined that the event is the rhythm selection switch 141 event, the rhythm change process is performed (step S23). S22). Details of this rhythm change processing are shown in the flowchart of FIG.

【0059】リズム変更処理では、先ず、プリセットテ
ンポリクエストフラグが「1」にセットされる(ステッ
プS40)。このプリセットテンポリクエストフラグ
は、RAM12に定義されるフラグであり、リズム演奏
のテンポをプリセットテンポデータで指定されるテンポ
に変更すべき旨を指示するために使用される。このプリ
セットテンポリクエストフラグは、リズム選択スイッチ
141が操作された場合に「1」にセットされ、テンポ
アップスイッチ142A又はテンポダウンスイッチ14
2Bの何れか一方が操作された場合に「0」にクリアさ
れるように制御される。
In the rhythm changing process, first, the preset tempo request flag is set to "1" (step S40). The preset tempo request flag is a flag defined in the RAM 12 and is used to instruct that the tempo of the rhythm performance should be changed to the tempo specified by the preset tempo data. This preset tempo request flag is set to "1" when the rhythm selection switch 141 is operated, and the tempo up switch 142A or the tempo down switch 14 is set.
When either one of 2B is operated, it is controlled so as to be cleared to "0".

【0060】次いで、リズム選択スイッチ141中の押
下されたスイッチに対応するリズムのリズム番号を、リ
ズム番号レジスタにセットする(ステップS41)。リ
ズム番号レジスタは、RAM12に設けられるレジスタ
であり、リズム選択スイッチ141で選択されたリズム
番号を記憶するために使用される。また、リズム選択ス
イッチ141中の押下されたスイッチとリズム番号の対
応は、例えばプログラムメモリ11の中にテーブル形式
で記憶されている。
Then, the rhythm number of the rhythm corresponding to the pressed switch in the rhythm selection switch 141 is set in the rhythm number register (step S41). The rhythm number register is a register provided in the RAM 12 and is used to store the rhythm number selected by the rhythm selection switch 141. The correspondence between the pressed switch in the rhythm selection switch 141 and the rhythm number is stored in the program memory 11 in a table format, for example.

【0061】次いで、リズム演奏フラグが「1」である
か否かが調べられる(ステップS42)。ここで、リズ
ム演奏フラグが「1」でない、つまり、リズム演奏中で
ないことが判断されると、全パート、つまり発音チャン
ネルCH0〜CH4の設定状態がオフにされ、リズム番
号レジスタにセットされているリズム番号に対応するベ
ース及びコードの音色がセットされる(ステップS4
3)。これにより、例えば、ウッドベースのベース音が
エレキベースのベース音に変更され、或いはピアノのコ
ード音がストリングスのコード音に変更される。その
後、ステップS46に分岐する。
Then, it is checked whether or not the rhythm performance flag is "1" (step S42). If it is determined that the rhythm performance flag is not "1", that is, that the rhythm performance is not being performed, the setting state of all the parts, that is, the tone generation channels CH0 to CH4 is turned off and set in the rhythm number register. The bass and chord tones corresponding to the rhythm number are set (step S4).
3). As a result, for example, the bass sound of wood bass is changed to the bass sound of electric bass, or the chord sound of the piano is changed to the chord sound of strings. Then, it branches to step S46.

【0062】ステップS46では、リズム番号が表示器
143に表示される。即ち、リズム番号レジスタにセッ
トされているリズム番号に対応するデータがパネルイン
タフェース回路13を介して操作パネル14に送られる
ことにより、選択されたリズム番号が表示される。これ
により、演奏者は、現在どのリズムが選択されているか
を知ることができる。その後、このリズム変更処理ルー
チンからリターンしてスイッチイベント処理ルーチンに
戻る。
In step S46, the rhythm number is displayed on the display 143. That is, the data corresponding to the rhythm number set in the rhythm number register is sent to the operation panel 14 via the panel interface circuit 13 to display the selected rhythm number. This allows the performer to know which rhythm is currently selected. After that, the process returns from this rhythm change processing routine and returns to the switch event processing routine.

【0063】一方、上記ステップS42で、リズム演奏
フラグが「1」である、つまりリズム演奏中であること
が判断されると、リズムストップ処理が行われる(ステ
ップS44)。これにより、コード進行が停止されると
共に、コード展開処理が停止される。
On the other hand, if it is determined in step S42 that the rhythm performance flag is "1", that is, the rhythm performance is being performed, rhythm stop processing is performed (step S44). As a result, the chord progression is stopped and the chord expanding process is stopped.

【0064】次いで、リズムスタート処理が行われる
(ステップS45)。このリズムスタート処理について
は、詳細は後述するが、プリセットテンポリクエストフ
ラグが「1」であれば、プリセットテンポテーブルに記
憶されているテンポデータに基づくテンポで、プリセッ
トテンポリクエストフラグが「0」であれば、その時点
で設定されているテンポデータに基づくテンポで、それ
ぞれリズム番号レジスタにセットされているリズム番号
に対応したリズム演奏(コード進行及びコード展開処
理)を開始させるものである。
Then, a rhythm start process is performed (step S45). This rhythm start processing will be described in detail later, but if the preset tempo request flag is "1", the tempo is based on the tempo data stored in the preset tempo table and the preset tempo request flag is "0". For example, the rhythm performance (chord progression and chord expansion processing) corresponding to the rhythm number set in the rhythm number register is started at the tempo based on the tempo data set at that time.

【0065】次いで、リズム番号が表示器143に表示
され(ステップS46)、その後、このリズム変更処理
ルーチンからリターンしてスイッチイベント処理ルーチ
ンに戻る。
Then, the rhythm number is displayed on the display unit 143 (step S46), and then the routine returns from the rhythm change processing routine to the switch event processing routine.

【0066】スイッチイベント処理ルーチンでは、次い
で、テンポスイッチ142のイベントがあったか否かが
調べられる(ステップS23)。これは、パネルイベン
トマップ中のテンポアップスイッチ142A又はテンポ
ダウンスイッチ142Bに対応するビットがオンになっ
ているか否かを調べることにより行われる。
In the switch event processing routine, it is then checked whether or not there is an event of the tempo switch 142 (step S23). This is performed by checking whether or not the bit corresponding to the tempo up switch 142A or the tempo down switch 142B in the panel event map is turned on.

【0067】ここで、テンポスイッチ142のイベント
でないことが判断されるとステップS25に進み、一
方、テンポスイッチ142のイベントであることあるが
判断されると、テンポ変更処理が行われる(ステップS
24)。このテンポ変更処理の詳細については、図6の
フローチャートに示されている。
If it is determined that the event is not the tempo switch 142 event, the process proceeds to step S25. If it is determined that the event is the tempo switch 142 event, the tempo change process is performed (step S25).
24). Details of this tempo change processing are shown in the flowchart of FIG.

【0068】即ち、テンポ変更処理では、先ず、テンポ
アップスイッチ142Aのオンイベントであるか否かが
調べられる(ステップS50)。そして、テンポアップ
スイッチ142Aのオンイベントであることが判断され
ると、現在設定されているテンポデータ(RAM12に
設けられたカレントテンポレジスタに記憶されてい
る。)をテンポラリバッファAに取り込み(ステップS
53)、このテンポラリバッファAの内容、つまり現在
のテンポデータは、最大値以上であるか否かが調べられ
る(ステップS54)。ここで最大値とは、本電子楽器
の最大テンポを意味し、例えば、テンポが「0〜12
7」の128段階で制御される構成の場合は、「12
7」が最大値となる。
That is, in the tempo change processing, it is first checked whether or not it is an on event of the tempo up switch 142A (step S50). When it is determined that the tempo up switch 142A is an on event, the currently set tempo data (stored in the current tempo register provided in the RAM 12) is loaded into the temporary buffer A (step S
53), it is checked whether or not the content of the temporary buffer A, that is, the current tempo data is equal to or more than the maximum value (step S54). Here, the maximum value means the maximum tempo of the electronic musical instrument, and for example, the tempo is "0 to 12".
In the case of the configuration that is controlled in 128 steps of "7", "12"
7 ”is the maximum value.

【0069】そして、最大値以上でないことが判断され
ると、テンポラリバッファAの内容をインクリメントし
(ステップS55)、その後、ステップS56に進む。
一方、上記ステップS54で最大値以上であることが判
断されると、ステップS55の処理はスキップされる。
これにより、テンポが、本電子楽器で定められた最大値
を越えないように制御されている。
If it is determined that the maximum value is not exceeded, the contents of the temporary buffer A are incremented (step S55), and then the process proceeds to step S56.
On the other hand, if it is determined in step S54 that the value is greater than or equal to the maximum value, the process in step S55 is skipped.
As a result, the tempo is controlled so as not to exceed the maximum value defined by the electronic musical instrument.

【0070】上記ステップS50で、テンポアップスイ
ッチ142Aのオンイベントでない、つまりテンポダウ
ンスイッチ142Bのオンイベントであることが判断さ
れると、カレントテンポレジスタに設定されているテン
ポデータをテンポラリバッファAに取り込み(ステップ
S59)、このテンポラリバッファAの内容、つまり現
在のテンポデータは、最小値以下であるか否かが調べら
れる(ステップS60)。ここで最小値とは、本電子楽
器の最小テンポを意味し、例えば、テンポが「0〜12
7」の128段階で制御される構成の場合は、「0」が
最小値となる。
When it is determined in step S50 that the tempo up switch 142A is not the on event, that is, the tempo down switch 142B is the on event, the tempo data set in the current tempo register is fetched into the temporary buffer A. (Step S59), it is checked whether or not the content of the temporary buffer A, that is, the current tempo data is less than or equal to the minimum value (step S60). Here, the minimum value means the minimum tempo of the electronic musical instrument, for example, the tempo is "0 to 12".
In the case of a configuration in which it is controlled in 128 steps of "7", "0" becomes the minimum value.

【0071】そして、最小値以下でないことが判断され
ると、テンポラリバッファAの内容をデクリメントし
(ステップS61)、その後、ステップS56へ分岐す
る。一方、上記ステップS60で最小値以下であること
が判断されると、ステップS61の処理はスキップされ
る。これにより、テンポが、本電子楽器で定められた最
小値以下とならないように制御されている。
If it is determined that the value is not less than the minimum value, the contents of the temporary buffer A are decremented (step S61), and then the process branches to step S56. On the other hand, if it is determined in step S60 that the value is equal to or smaller than the minimum value, the process in step S61 is skipped. As a result, the tempo is controlled so as not to fall below the minimum value defined by this electronic musical instrument.

【0072】ステップS56では、上記ステップS55
又はS61で更新されたテンポラリバッファAの内容を
カレントテンポレジスタにセットすることにより新たな
テンポデータの現在値が得られる。次いで、プリセット
テンポリクエストフラグが「0」にクリアされる(ステ
ップS57)。このプリセットテンポリクエストフラグ
が「0」にクリアされることにより、後述するリズムス
タート処理ルーチンで、カレントテンポレジスタに記憶
されている現在のテンポデータ、つまりテンポアップス
イッチ142A又はテンポダウンスイッチ142Bで設
定されたテンポデータに基づくテンポでリズム演奏が行
われることになる。その後、このテンポ変更処理ルーチ
ンからリターンしてスイッチイベント処理ルーチンに戻
る。
In step S56, the above step S55
Alternatively, the current value of the new tempo data can be obtained by setting the contents of the temporary buffer A updated in S61 in the current tempo register. Next, the preset tempo request flag is cleared to "0" (step S57). When the preset tempo request flag is cleared to “0”, the current tempo data stored in the current tempo register, that is, the tempo up switch 142A or the tempo down switch 142B is set in the rhythm start processing routine described later. The rhythm performance is performed at the tempo based on the tempo data. After that, the process returns from this tempo change processing routine and returns to the switch event processing routine.

【0073】スイッチイベント処理ルーチンでは、次い
で、リズムスタートスイッチ140のイベントがあった
か否かが調べられる(ステップS25)。これは、パネ
ルイベントマップ中のリズムスタートスイッチ140に
対応するビットがオンになっているか否かを調べること
により行われる。
In the switch event processing routine, it is then checked whether or not there is an event of the rhythm start switch 140 (step S25). This is done by checking whether the bit corresponding to the rhythm start switch 140 in the panel event map is on.

【0074】ここで、リズムスタートスイッチ140の
イベントがあったことが判断されると、そのイベントは
オンイベントであるか否かが調べられる(ステップS2
6)。これは、新パネルデータ中のリズムスタートスイ
ッチ140に対応するビットがオンになっているか否か
を調べることにより行われる。
When it is determined that there is an event of the rhythm start switch 140, it is checked whether or not the event is an on event (step S2).
6). This is done by checking whether the bit corresponding to the rhythm start switch 140 in the new panel data is on.

【0075】ここで、リズムスタートスイッチ140の
オンイベントであることが判断されると、先ず、リズム
演奏フラグが「1」にセットされる(ステップS2
7)。このリズム演奏フラグは、RAM12に定義され
るフラグであり、本電子楽器がリズム演奏モードにされ
ていることを記憶するために使用される。このリズム演
奏フラグが「1」にセットされることにより、本電子楽
器はリズム演奏モードに移行される。
If it is determined that the rhythm start switch 140 is on, the rhythm performance flag is set to "1" (step S2).
7). The rhythm performance flag is a flag defined in the RAM 12 and is used to store that the electronic musical instrument is in the rhythm performance mode. When this rhythm performance flag is set to "1", the electronic musical instrument is shifted to the rhythm performance mode.

【0076】次いで、タイムカウンタのスタート処理が
行われる(ステップS28)。これは、CPU10に含
まれる図示しないタイムカウンタにスタート指令を与え
てカウントアップ動作を開始させる処理である。以降、
このタイムカウンタは一定時間間隔でカウントアップさ
れることになる。
Then, the start processing of the time counter is performed (step S28). This is a process of giving a start command to a time counter (not shown) included in the CPU 10 to start the count-up operation. Or later,
This time counter is counted up at fixed time intervals.

【0077】次いで、リズムスタート処理が行われる
(ステップS29)。このリズムスタート処理の詳細
は、図7のフローチャートに示されている。
Next, a rhythm start process is performed (step S29). The details of this rhythm start process are shown in the flowchart of FIG.

【0078】リズムスタート処理では、先ず、プリセッ
トテンポリクエストフラグが「1」にセットされている
か否かが調べられる(ステップS71)。そして、
「1」にセットされていることが判断されると、リズム
選択後にテンポスイッチ142の操作がなかったものと
認識し、その時点で選択されているリズム番号(リズム
番号レジスタに記憶されている。)に対応するプリセッ
トテンポデータをプリセットテンポテーブルから取り出
し、カレントテンポレジスタにセットする(ステップS
72)。これにより、選択されたリズムに最適であると
して予め定められたテンポでリズム演奏が行われること
になる。
In the rhythm start process, it is first checked whether or not the preset tempo request flag is set to "1" (step S71). And
If it is determined that it is set to "1", it is recognized that the tempo switch 142 has not been operated after the rhythm has been selected, and the rhythm number selected at that time (stored in the rhythm number register). ) Of the preset tempo data is fetched from the preset tempo table and set in the current tempo register (step S
72). As a result, the rhythm performance is performed at the tempo that is determined to be optimum for the selected rhythm.

【0079】一方、プリセットテンポリクエストフラグ
が「0」にクリアされていることが判断されると、リズ
ム選択後にテンポスイッチ142が操作されたものと認
識し、上記ステップS72の処理はスキップされる。こ
れにより、その時点でカレントテンポレジスタにセット
されているテンポデータ、換言すればテンポスイッチ1
42でセットされたテンポデータに応じたテンポでリズ
ム演奏が行われることになる。
On the other hand, when it is determined that the preset tempo request flag is cleared to "0", it is recognized that the tempo switch 142 has been operated after the rhythm is selected, and the process of step S72 is skipped. As a result, the tempo data set in the current tempo register at that time, in other words, tempo switch 1
The rhythm performance is performed at the tempo according to the tempo data set at 42.

【0080】次いで、拍子のセットが行われる(ステッ
プS73)。これは、操作パネル14の図示しないスイ
ッチを用いて拍子が入力されるので、これらを所定のレ
ジスタにセットする処理である。以下においては、上記
所定のレジスタにセットされた拍子に基づいて、リズム
演奏が行われることになる。
Next, the time signature is set (step S73). This is a process of setting the beats by using a switch (not shown) of the operation panel 14, and setting them in a predetermined register. In the following, the rhythm performance is performed based on the time signature set in the predetermined register.

【0081】次いで、リズム演奏データのスタートアド
レスが読み込まれる(ステップS74)。即ち、リズム
番号レジスタにセットされているリズム番号に対応する
スタートアドレステーブルのエントリからスタートアド
レスが読み込まれる。そして、この読み込まれたリズム
演奏データのスタートアドレスがカレントポインタにセ
ットされる(ステップS75)。
Then, the start address of the rhythm performance data is read (step S74). That is, the start address is read from the entry in the start address table corresponding to the rhythm number set in the rhythm number register. Then, the start address of the read rhythm performance data is set in the current pointer (step S75).

【0082】ここで、カレントポインタは、RAM12
に設けられたポインタであり、リズム演奏データの現在
位置を記憶するために使用される。このカレントポイン
タには、初期値としてスタートアドレスがセットされ、
リズム演奏データ中の1つのデータ(以下、「ステップ
データ」という。)に対する処理が完了する度にインク
リメントされる。
Here, the current pointer is the RAM 12
Is a pointer provided for the rhythm performance data and is used to store the current position of the rhythm performance data. A start address is set as an initial value in this current pointer,
It is incremented every time the processing for one data (hereinafter referred to as “step data”) in the rhythm performance data is completed.

【0083】次いで、コード音色の読み込みが行われる
(ステップS76)。即ち、操作パネル14の図示しな
いスイッチを用いてコードパートの音色が入力されるの
で、これを音色データとして読み込む。この音色データ
は所定のレジスタにセットされる(ステップS77)。
これにより、リズム演奏を行う際のコードパートの音色
が決定されることになる。
Next, the chord tone color is read (step S76). That is, since the tone color of the chord part is input using the switch (not shown) of the operation panel 14, this is read as tone color data. This tone color data is set in a predetermined register (step S77).
As a result, the tone color of the chord part at the time of performing the rhythm performance is determined.

【0084】次いで、ベース音色の読み込みが行われる
(ステップS78)。即ち、操作パネル14の図示しな
いスイッチを用いてベースパートの音色が入力されるの
で、これを音色データとして読み込む。この音色データ
は所定のレジスタにセットされる(ステップS79)。
これにより、リズム演奏を行う際のベースパートの音色
が決定されることになる。以上のようにして、リズムス
タート処理が終了するとこのリズムスタート処理ルーチ
ンからリターンしてスイッチイベント処理ルーチンに戻
る。
Next, the bass tone color is read (step S78). That is, since the tone color of the bass part is input using a switch (not shown) of the operation panel 14, this is read as tone color data. This tone color data is set in a predetermined register (step S79).
As a result, the tone color of the bass part when performing the rhythm performance is determined. When the rhythm start processing is completed as described above, the routine returns from this rhythm start processing routine and returns to the switch event processing routine.

【0085】スイッチイベント処理ルーチンにおいて、
ステップS26で、リズムスタートスイッチ140のイ
ベントがオンイベントでないことが判断されると、リズ
ム演奏フラグが「0」にクリアされる(ステップS3
0)。このリズム演奏フラグを「0」にクリアすること
により、本電子楽器はリズム演奏モードから通常演奏モ
ードに移行される。
In the switch event processing routine,
When it is determined in step S26 that the event of the rhythm start switch 140 is not the on event, the rhythm performance flag is cleared to "0" (step S3).
0). By clearing the rhythm performance flag to "0", the electronic musical instrument is switched from the rhythm performance mode to the normal performance mode.

【0086】次いで、タイムカウンタのストップ処理が
行われる(ステップS31)。これは、CPU10に含
まれる図示しないタイムカウンタにストップ指令を与え
て動作を停止させる処理であり、以降、タイムカウンタ
のカウントアップ動作は停止される。
Next, the stop processing of the time counter is performed (step S31). This is a process of giving a stop command to a time counter (not shown) included in the CPU 10 to stop the operation, and thereafter, the count-up operation of the time counter is stopped.

【0087】以上のリズムスタートスイッチ140のイ
ベントに対する処理(ステップS25〜S31)が終了
し、又は上記ステップS25でリズムスタートスイッチ
140のイベントでないことが判断されると、次いで、
その他のスイッチに対する処理が行われる(ステップS
33)。この「その他のスイッチ処理」により、例え
ば、音色選択スイッチ、音響効果選択スイッチ、音量設
定スイッチ等の各スイッチイベントに対する処理が行わ
れることになるが、これらの各処理は本発明とは直接関
係しないので説明は省略する。この「その他のスイッチ
処理」が終了すると、スイッチイベント処理ルーチンか
らリターンしてメインルーチンに戻る。
When the above processing for the event of the rhythm start switch 140 (steps S25 to S31) is completed or it is determined in step S25 that the event is not the rhythm start switch 140, then,
Processing for other switches is performed (step S).
33). By this "other switch process", for example, a process for each switch event such as a tone color selection switch, a sound effect selection switch, and a volume setting switch is performed, but these respective processes are not directly related to the present invention. Therefore, the description is omitted. When this "other switch process" ends, the process returns from the switch event process routine to the main routine.

【0088】メインルーチンでは、次いで、鍵盤イベン
ト処理が行われる(ステップS12)。この鍵盤イベン
ト処理では、先ず、鍵盤イベントの有無が調べられる。
これは、次のようにして行われる。即ち、鍵盤インタフ
ェース回路15で鍵盤装置16をスキャンすることによ
り、各鍵の押下状態を示すデータ(以下、「新キーデー
タ」という。)を各鍵に対応したビット列として取り込
む。
Next, in the main routine, keyboard event processing is performed (step S12). In this keyboard event process, the presence or absence of a keyboard event is first checked.
This is done as follows. That is, by scanning the keyboard device 16 with the keyboard interface circuit 15, data indicating the pressed state of each key (hereinafter referred to as “new key data”) is fetched as a bit string corresponding to each key.

【0089】次いで、前回読み込んで既にRAM12に
記憶されているデータ(以下、「旧キーデータ」とい
う。)と、上記新キーデータとを比較して相違するビッ
トが存在するか否かを調べ、相違するビットをオンにし
た鍵イベントマップを作成する。鍵盤イベントの有無の
判断はこの鍵イベントマップを参照することにより行わ
れる。即ち、鍵イベントマップ中にオンになっているビ
ットが1つでも存在すると鍵盤イベントがあった旨が判
断されることになる。
Then, the data previously read and already stored in the RAM 12 (hereinafter referred to as "old key data") is compared with the above new key data to check whether there is a different bit or not. Create a key event map with the different bits turned on. The presence / absence of a keyboard event is determined by referring to this key event map. That is, if there is even one bit that is turned on in the key event map, it is determined that there is a keyboard event.

【0090】上記で作成した鍵イベントマップを参照す
ることにより鍵盤イベントがあったことが判断される
と、鍵盤イベント処理が行われる。鍵盤イベント処理で
は、鍵のオンイベントの場合は、メロディパート(発音
チャンネルCH0又はCH1)に音源19中の所定のオ
シレータが割り当てられる。
When it is determined that there is a keyboard event by referring to the key event map created above, keyboard event processing is performed. In the keyboard event process, in the case of a key on event, a predetermined oscillator in the sound source 19 is assigned to the melody part (sound generation channel CH0 or CH1).

【0091】次いで、そのオンイベントのあった鍵を示
すキーナンバ、鍵の押下の強さ(速度)を示すイニシャ
ルタッチデータ、及びその時点で選択されている音色ナ
ンバ等に基づいて、例えば波形アドレス、周波数デー
タ、エンベロープデータ、フィルタ係数等が生成され、
音源19に送られる。これにより、上述したような動作
により、音源19の割り当てられたオシレータで、上記
各データに基づいた楽音の発音が行われる。
Next, based on the key number indicating the key having the on event, the initial touch data indicating the strength (speed) of key depression, and the tone color number selected at that time, for example, a waveform address, Frequency data, envelope data, filter coefficients, etc. are generated,
It is sent to the sound source 19. As a result, according to the above-described operation, the oscillator to which the sound source 19 is assigned emits a musical sound based on the above-mentioned data.

【0092】一方、オフイベントがあった場合は、その
オフイベントがあった鍵に割り当てられている音源19
中のオシレータが検索され、所定のデータが音源19に
送られることにより消音が行われる。
On the other hand, if there is an off event, the sound source 19 assigned to the key for which the off event occurred.
The internal oscillator is searched, and predetermined data is sent to the sound source 19 to mute the sound.

【0093】この鍵盤イベント処理が終了すると、次い
で、リズム演奏処理が行われる(ステップS13)。こ
のリズム演奏処理の詳細は、図8のフローチャートに示
されている。
When this keyboard event process is completed, a rhythm performance process is then carried out (step S13). The details of this rhythm performance processing are shown in the flowchart of FIG.

【0094】リズム演奏処理では、先ず、リズム演奏フ
ラグが「1」であるか否かが調べられる(ステップS9
0)。そして、リズム演奏フラグが「0」、即ち通常演
奏モードであることが判断されると、以下の処理を行う
ことなくこのリズム演奏処理ルーチンからリターンして
メインルーチンに戻る。
In the rhythm performance processing, it is first checked whether or not the rhythm performance flag is "1" (step S9).
0). When it is determined that the rhythm performance flag is "0", that is, the normal performance mode, it is returned from the rhythm performance processing routine to the main routine without performing the following processing.

【0095】一方、リズム演奏フラグが「1」、即ち、
リズム演奏モードであることが判断されると、リズム演
奏データの読み込みが行われる(ステップS91)。即
ち、CPU10は、リズム演奏データメモリ17中のリ
ズム演奏データの中からカレントポインタで示される1
つのステップデータを取り出す。次いで、リズム演奏イ
ベントの有無が調べられる(ステップS92)。これ
は、ステップデータに含まれているステップタイムと図
示しないタイムカウンタでカウントアップされているタ
イム値とを比較することにより行われる。
On the other hand, the rhythm performance flag is "1", that is,
When it is determined that the mode is the rhythm performance mode, the rhythm performance data is read (step S91). That is, the CPU 10 selects 1 from the rhythm performance data stored in the rhythm performance data memory 17 as indicated by the current pointer.
Retrieve one step data. Then, it is checked whether or not there is a rhythm performance event (step S92). This is performed by comparing the step time included in the step data with the time value counted up by a time counter (not shown).

【0096】ここで、リズム演奏イベントが無い、即ち
上記比較の結果が一致しないことが判断されると、未だ
発音又は消音タイミングに至っていない旨が認識され、
以下の処理を行うことなくこのリズム演奏処理ルーチン
からリターンしてメインルーチンに戻る。この場合、カ
レントポインタはインクリメントされずに元の状態を維
持する。従って、ステップS91では次回も同じステッ
プデータが読み出されることになる。
If it is determined that there is no rhythm performance event, that is, the results of the comparison do not match, it is recognized that the timing of sounding or mute has not come yet.
The routine returns from this rhythm performance processing routine and returns to the main routine without performing the following processing. In this case, the current pointer is not incremented and maintains its original state. Therefore, in step S91, the same step data will be read next time.

【0097】一方、リズム演奏イベントが有る、即ち上
記の比較結果が一致することが判断されると、発音又は
消音タイミングが到来した旨が認識され、次いで、リズ
ム演奏データメモリ17から読み込まれたステップデー
タがノートオンデータであるか否かが調べられる(ステ
ップS93)。
On the other hand, when it is determined that there is a rhythm performance event, that is, the comparison results are the same, it is recognized that the sounding or mute timing has come, and then the step read from the rhythm performance data memory 17 is executed. It is checked whether or not the data is note-on data (step S93).

【0098】ここで、ノートオンデータであることが判
断されると、発音処理が行われる(ステップS94)。
この際、カレントポインタがインクリメントされる。従
って、次回のステップS91では、次のステップデータ
が読み出されることになる。
If it is determined that the data is note-on data, sound generation processing is performed (step S94).
At this time, the current pointer is incremented. Therefore, in the next step S91, the next step data is read.

【0099】発音処理は、リズム演奏データメモリ17
から読み出したステップデータに基づいて、例えば波形
アドレス、周波数データ、エンベロープデータ、フィル
タ係数等が生成され、音源19に送られることを除け
ば、上述した鍵盤イベント処理における発音処理と同じ
であるので、説明は省略する。その後、このリズム演奏
処理ルーチンからリターンしてメインルーチンに戻る。
The tone generation processing is performed by the rhythm performance data memory 17
Based on the step data read from, for example, waveform address, frequency data, envelope data, filter coefficients, etc. are generated, and are the same as the sound generation processing in the above-described keyboard event processing, except that they are sent to the sound source 19. The description is omitted. After that, the process returns from this rhythm performance processing routine and returns to the main routine.

【0100】上記ステップS93でノートオンデータで
ないことが判断されると、次いで、ノートオフデータで
あるか否かが調べられる(ステップS95)。そして、
ノートオフデータであることが判断されると、消音処理
が行われる(ステップS96)。
If it is determined in step S93 that the data is not note-on data, it is then checked whether or not it is note-off data (step S95). And
If it is determined that the data is note-off data, the muffling process is performed (step S96).

【0101】この消音処理は、上述した鍵盤イベント処
理におけるキーオフイベントの場合と同様に、ノートオ
フが指示された楽音に割り当てられているオシレータを
検索し、所定のデータを音源19に送ることにより発音
中の音を消音させる処理である。その後、このリズム演
奏処理ルーチンからリターンしてメインルーチンに戻
る。
In this mute processing, as in the case of the key-off event in the above-mentioned keyboard event processing, the oscillator assigned to the musical note for which the note-off is instructed is searched, and the predetermined data is sent to the sound source 19 to generate the sound. This is a process of muting the inside sound. After that, the process returns from this rhythm performance processing routine and returns to the main routine.

【0102】上記ステップS95でノートオフデータで
ないことが判断されると、次いで、エンドマークである
か否かが調べられる(ステップS97)。エンドマーク
は、リズム演奏データの終わりを示す特別のデータであ
る。ここで、エンドマークであることが判断されると、
リズム演奏フラグを「0」にクリアし(ステップS9
8)、その後、このリズム演奏処理ルーチンからリター
ンしてメインルーチンに戻る。これにより、リズム演奏
が終了し、通常演奏モードに移行される。
If it is determined in the above step S95 that it is not note-off data, it is then checked whether or not it is an end mark (step S97). The end mark is special data indicating the end of the rhythm performance data. Here, if it is determined that it is an end mark,
Clear the rhythm performance flag to "0" (step S9
8) Then, the process returns from this rhythm performance processing routine and returns to the main routine. As a result, the rhythm performance ends, and the normal performance mode is entered.

【0103】なお、ステップS98で、リズム演奏フラ
グを「0」にクリアするのではなく、リズムスタート処
理ルーチンをコールするように構成することもできる。
この構成によれば、一連のリズム演奏が終了しても再度
同じリズム演奏が開始されるので、同じリズム演奏を繰
り返すことができる。
It should be noted that, in step S98, the rhythm performance flag may be set not to be cleared to "0" but to call the rhythm start processing routine.
According to this configuration, the same rhythm performance is started again even after the series of rhythm performance is completed, so that the same rhythm performance can be repeated.

【0104】上記ステップS97でエンドマークでない
ことが判断されると、その他の処理が行われる(ステッ
プS99)。この「その他の処理」には、上述したノー
トオン、ノートオフ又はエンドマーク以外のリズム演奏
データに対する処理、例えば音色変更処理、音量変更処
理等が含まれるが、本発明とは直接関係しないので説明
は省略する。この「その他の処理」が終了するとこのリ
ズム演奏処理ルーチンからリターンしてメインルーチン
に戻る。
If it is determined in step S97 that the mark is not the end mark, other processing is performed (step S99). This "other processing" includes processing for rhythm performance data other than the note-on, note-off, or end mark described above, such as timbre change processing, volume change processing, etc., but is not directly related to the present invention. Is omitted. When this "other processing" ends, the rhythm performance processing routine returns and returns to the main routine.

【0105】メインルーチンでは、次いで、その他の処
理が行われる(ステップS14)。この「その他の処
理」には、図示しないMIDIインタフェース回路を介
して行うMIDIデータの送受信処理等が含まれる。そ
の後ステップS11に戻り、以下同様の処理を繰り返
す。上記ステップS11〜S14の繰り返し実行の過程
で、パネル操作又は鍵盤操作に基づくイベントが発生す
ると、そのイベントに対応する処理が行われることによ
り電子楽器としての各種機能が発揮される。
In the main routine, other processing is then performed (step S14). The "other processing" includes MIDI data transmission / reception processing performed via a MIDI interface circuit (not shown). After that, the process returns to step S11, and the same processing is repeated thereafter. In the process of repeatedly executing steps S11 to S14, when an event based on a panel operation or a keyboard operation occurs, the process corresponding to the event is performed, so that various functions as an electronic musical instrument are exhibited.

【0106】以上説明したように、本実施例1によれ
ば、リズム選択スイッチ141で所定のリズムが選択さ
れ、次いでテンポスイッチ142で新たなテンポが設定
され、その後リズムスタートスイッチ140が押された
場合は、新たに設定されたテンポでリズム演奏を行う。
一方、リズム選択スイッチ141で所定のリズムが選択
され、その後テンポスイッチ142で新たなテンポが設
定されることなくリズムスタートスイッチ140が押さ
れた場合は、プリセットテンポデータによって予め規定
されているテンポでリズム演奏を行う。
As described above, according to the first embodiment, the rhythm selection switch 141 selects a predetermined rhythm, the tempo switch 142 sets a new tempo, and then the rhythm start switch 140 is pressed. In this case, the rhythm performance is performed at the newly set tempo.
On the other hand, when a predetermined rhythm is selected by the rhythm selection switch 141 and then the rhythm start switch 140 is pressed without setting a new tempo by the tempo switch 142, the tempo preset by the preset tempo data is used. Perform rhythm performance.

【0107】これにより、演奏者は、リズムを選択して
リズム演奏を行わせる場合に、特にテンポを変える必要
がないときは、そのままリズムスタートスイッチ140
を押してリズム演奏の開始を指示することにより、その
リズムの適正値として予め定められているテンポでリズ
ム演奏を開始させることができる。一方、選択したリズ
ムのテンポを変更したい場合は、テンポスイッチ142
を操作して所望のテンポ値を設定し、その後、リズムス
タートスイッチ140を押してリズム演奏を開始させる
ことにより、自分の感性に合ったテンポでリズム演奏を
開始させることができる。
As a result, when the performer selects a rhythm and performs a rhythm performance, if there is no particular need to change the tempo, the performer does not change the rhythm start switch 140.
By pressing to instruct the start of the rhythm performance, it is possible to start the rhythm performance at a tempo preset as an appropriate value of the rhythm. On the other hand, if you want to change the tempo of the selected rhythm, the tempo switch 142
Is operated to set a desired tempo value, and then the rhythm start switch 140 is pressed to start the rhythm performance, whereby the rhythm performance can be started at a tempo suitable for one's own sensitivity.

【0108】(実施例2)この実施例2は、テンポアッ
プスイッチ142A及びテンポダウンスイッチ142B
を同時に押下した後に、リズム選択スイッチ141を操
作してリズムを選択し、テンポスイッチ142を操作す
ることなくリズムスタートスイッチ140を押下した場
合は、その時点で設定されているテンポ、つまりリズム
を変更する前のテンポで新たなリズム演奏を行い、一
方、テンポアップスイッチ142A及びテンポダウンス
イッチ142Bを同時に押下した後に、リズム選択スイ
ッチ141を操作してリズムを選択し、更にテンポスイ
ッチ142を操作してテンポを変更した後にリズムスタ
ートスイッチ140を押下した場合は、テンポスイッチ
141で設定したテンポで新たなリズム演奏を行うよう
にしたものである。
(Embodiment 2) In Embodiment 2, the tempo up switch 142A and the tempo down switch 142B are used.
After simultaneously pressing, the rhythm selection switch 141 is operated to select a rhythm, and when the rhythm start switch 140 is pressed without operating the tempo switch 142, the tempo set at that time, that is, the rhythm is changed. Perform a new rhythm at the tempo before playing, while simultaneously pressing the tempo up switch 142A and the tempo down switch 142B, operate the rhythm selection switch 141 to select a rhythm, and further operate the tempo switch 142. When the rhythm start switch 140 is pressed after changing the tempo, a new rhythm performance is performed at the tempo set by the tempo switch 141.

【0109】以下、上記の機能を実現するための動作に
つき詳細に説明する。この実施例2においては、実施例
1で使用したメインルーチン(図3)、スイッチイベン
ト処理ルーチン(図4)、リズム変更処理ルーチン(図
5)及びリズム演奏処理ルーチン(図8)はそのまま使
用されるので説明は省略する。
The operation for realizing the above function will be described in detail below. In the second embodiment, the main routine (FIG. 3), the switch event processing routine (FIG. 4), the rhythm change processing routine (FIG. 5) and the rhythm performance processing routine (FIG. 8) used in the first embodiment are used as they are. Therefore, the description is omitted.

【0110】また、テンポ変更処理ルーチン(図6)及
びリズムスタート処理ルーチン(図7)は、それぞれ一
部が変更されて使用される。変更後の、上記各ルーチン
は、それぞれ図9及び図10に示されている。以下、実
施例1に対して変更された部分を中心に説明する。
The tempo change processing routine (FIG. 6) and the rhythm start processing routine (FIG. 7) are partially changed and used. The modified routines are shown in FIGS. 9 and 10, respectively. In the following, the description will focus on the parts that are different from the first embodiment.

【0111】この実施例2においては、テンポを制御す
るためにテンポ固定フラグが用いられている。このテン
ポ固定フラグは、RAM12に定義されるフラグであ
り、リズム演奏のテンポを従前のテンポで行うべき旨を
指示するために使用される。このテンポ固定フラグは、
テンポアップスイッチ142A及びテンポダウンスイッ
チ142Bが同時に押された場合に「1」にセットさ
れ、テンポアップスイッチ142A又はテンポダウンス
イッチ142Bの何れか一方が操作された場合に「0」
にクリアされるように制御される。
In the second embodiment, the tempo fixed flag is used to control the tempo. This tempo fixed flag is a flag defined in the RAM 12, and is used to instruct that the tempo of the rhythm performance should be the previous tempo. This tempo fixed flag is
Set to "1" when the tempo up switch 142A and the tempo down switch 142B are pressed simultaneously, and "0" when either the tempo up switch 142A or the tempo down switch 142B is operated.
It is controlled to be cleared to.

【0112】即ち、スイッチイベント処理ルーチン(図
4)で、テンポスイッチ142のイベントであることあ
るが判断されると、テンポ変更処理が行われる(ステッ
プS24)。このテンポ変更処理の詳細については、図
9のフローチャートに示されている。なお、図9におい
ては、図6と同じステップには同じ符号を付して説明を
省略乃至簡略化する。
That is, in the switch event processing routine (FIG. 4), if it is determined that the event is the event of the tempo switch 142, the tempo change processing is performed (step S24). Details of this tempo change processing are shown in the flowchart of FIG. In FIG. 9, the same steps as those in FIG. 6 are designated by the same reference numerals, and the description thereof will be omitted or simplified.

【0113】テンポ変更処理では、先ず、テンポアップ
スイッチ142Aのオンイベントが有るか否かが調べら
れる(ステップS50)。そして、テンポアップスイッ
チ142Aのオンイベントが有ることが判断されると、
次いで、テンポダウンスイッチ142Bのオンイベント
が有るか否かが調べられる(ステップS51)。そし
て、テンポダウンスイッチ142Bのオンイベントが有
ることが判断されると、テンポアップスイッチ142A
及びテンポダウンスイッチ142Bが同時に押されたも
のと判断し、テンポ固定フラグを「1」にセットする
(ステップS52)。その後、このテンポ変更処理ルー
チンからリターンしてスイッチイベント処理ルーチンに
戻る。これにより、以降においてリズム選択スイッチ1
41を用いてリズムが変更された場合でも、従前のリズ
ム演奏で使用されていたテンポでリズム演奏が行われ
る。
In the tempo change processing, first, it is checked whether or not there is an on event of the tempo up switch 142A (step S50). When it is determined that there is an on event of the tempo up switch 142A,
Next, it is checked whether or not there is an on event of the tempo down switch 142B (step S51). When it is determined that the tempo down switch 142B has an ON event, the tempo up switch 142A
Also, it is determined that the tempo down switch 142B is pressed at the same time, and the tempo fixed flag is set to "1" (step S52). After that, the process returns from this tempo change processing routine and returns to the switch event processing routine. As a result, the rhythm selection switch 1
Even if the rhythm is changed using 41, the rhythm performance is performed at the tempo used in the conventional rhythm performance.

【0114】テンポアップスイッチ142A及びテンポ
ダウンスイッチ142Bが同時に押された場合は、これ
らのスイッチはテンポを変更するためではなく、テンポ
を固定すべきことを指示するためのスイッチとして用い
られる。なお、テンポを固定すべきことを指示するため
のスイッチとして特別のスイッチを設けても良い。この
場合、ステップS50及びS51の代わりに、その特別
のスイッチのオン又はオフを調べるステップを設ければ
良い。
When the tempo up switch 142A and the tempo down switch 142B are pressed at the same time, these switches are used as switches for instructing that the tempo should be fixed, not for changing the tempo. A special switch may be provided as a switch for instructing that the tempo should be fixed. In this case, instead of steps S50 and S51, a step of checking ON or OFF of the special switch may be provided.

【0115】一方、テンポアップスイッチ142A又は
テンポダウンスイッチ142Bの何れか一方が押された
場合は、図6を参照して既に説明したように、カレント
テンポレジスタの内容がインクリメント又はデクリメン
トされ(ステップS53〜S57、S59〜S61)、
最後にテンポ固定フラグが「0」にクリアされる(ステ
ップS58)。その後、このテンポ変更処理ルーチンか
らリターンしてスイッチイベント処理ルーチンに戻る。
On the other hand, when either the tempo up switch 142A or the tempo down switch 142B is pressed, the contents of the current tempo register are incremented or decremented as already described with reference to FIG. 6 (step S53). ~ S57, S59 to S61),
Finally, the tempo fixed flag is cleared to "0" (step S58). After that, the process returns from this tempo change processing routine and returns to the switch event processing routine.

【0116】これにより、テンポアップスイッチ142
A又はテンポダウンスイッチ142Bの何れか一方が押
された場合は、たとえ先にテンポアップスイッチ142
A及びテンポダウンスイッチ142Bが同時に押されて
テンポを固定すべき旨が指示されていても、テンポスイ
ッチ141で新たに設定されたテンポでリズム演奏が開
始されることになる。
As a result, the tempo up switch 142
If either the A or tempo down switch 142B is pressed, the tempo up switch 142
Even if A and the tempo down switch 142B are simultaneously pressed to instruct that the tempo should be fixed, the rhythm performance is started at the tempo newly set by the tempo switch 141.

【0117】リズムスタート処理ルーチンでは、上記の
テンポ変更処理ルーチンでセット又はクリアされたテン
ポ固定フラグを参照し、次のように制御される。即ち、
リズムスタート処理では、先ず、テンポ固定フラグが
「1」にセットされているか否かが調べられる(ステッ
プS70)。そして、「1」にセットされていることが
判断されると、以下のプリセットテンポリクエストフラ
グのオン/オフを調べる処理(ステップS71)及びプ
リセットテンポデータをカレントテンポレジスタにセッ
トする処理(ステップS72)はスキップされる。
In the rhythm start processing routine, the tempo fixed flag set or cleared in the above tempo change processing routine is referred to, and control is performed as follows. That is,
In the rhythm start process, it is first checked whether or not the tempo fixed flag is set to "1" (step S70). Then, if it is determined that the preset tempo is set to "1", the following processing for checking ON / OFF of the preset tempo request flag (step S71) and processing for setting preset tempo data in the current tempo register (step S72) Is skipped.

【0118】このことは、プリセットテンポリクエスト
フラグのオン/オフに拘らず、カレントテンポレジスタ
にセットされているテンポデータに基づくテンポで、つ
まり前回のリズム演奏で使用していたテンポでリズム演
奏が開始されることを意味する。
This means that the rhythm performance starts at the tempo based on the tempo data set in the current tempo register, that is, at the tempo used in the previous rhythm performance, regardless of whether the preset tempo request flag is on or off. Means to be done.

【0119】一方、ステップS70で、テンポ固定フラ
グが「1」にセットされていないことが判断された場合
は、実施例1の場合と同様に、プリセットテンポリクエ
ストフラグのオン/オフに応じて、プリセットテンポデ
ータとして予め定められたテンポでリズム演奏が行わ
れ、又はテンポスイッチ142で設定されたテンポでリ
ズム演奏が行われることになる。
On the other hand, when it is determined in step S70 that the tempo fixed flag is not set to "1", the preset tempo request flag is turned on / off in the same manner as in the first embodiment. The rhythm performance is performed at a predetermined tempo as preset tempo data, or the rhythm performance is performed at the tempo set by the tempo switch 142.

【0120】なお、上記テンポ固定フラグのクリアは、
テンポアップスイッチ142A又はテンポダウンスイッ
チ142Bの何れか一方が押された場合だけでなく、リ
ズム演奏が終了した時点でもクリアするようにしたほう
が好ましい。これは、図8に示されるリズム演奏処理ル
ーチンのステップS98、及びスイッチイベント処理ル
ーチンのステップS31で、それぞれテンポ固定フラグ
を「0」にクリアする処理を追加することで実現でき
る。この構成によれば、例えばリズム演奏を一旦終了
し、その後再度リズム演奏を行う場合に、テンポ値を固
定にしていたことを忘れたとしても、初期状態からリズ
ム演奏を開始することができる。
The clearing of the tempo fixed flag is as follows.
It is preferable to clear not only when either the tempo up switch 142A or the tempo down switch 142B is pressed, but also when the rhythm performance ends. This can be realized by adding processing for clearing the tempo fixed flag to "0" in step S98 of the rhythm performance processing routine and step S31 of the switch event processing routine shown in FIG. With this configuration, for example, when the rhythm performance is once ended and then the rhythm performance is performed again, even if the user forgets that the tempo value is fixed, the rhythm performance can be started from the initial state.

【0121】以上説明したように、本実施例2によれ
ば、テンポアップスイッチ142A及びテンポダウンス
イッチ142Bを同時に押すことによりテンポを従前の
状態に固定すべきことが指示されている状態で、リズム
選択スイッチ141で所定のリズムが選択され、次いで
テンポアップスイッチ142A又はテンポダウンスイッ
チ142Bの何れか一方を押下することにより新たなテ
ンポが設定され、その後リズムスタートスイッチ140
でリズム演奏の開始が指示された場合は、新たに設定さ
れたテンポでリズム演奏を行う。一方、、テンポアップ
スイッチ142A及びテンポダウンスイッチ142Bを
同時に押すことによりテンポを従前の状態に固定すべき
ことが指示されている状態で、リズム選択スイッチ14
1で所定のリズムが選択され、その後テンポアップスイ
ッチ142A又はテンポダウンスイッチ142Bが操作
されることなくリズムスタートスイッチ140でリズム
演奏の開始が指示された場合は、リズム選択が行われる
前の従前のリズム演奏で設定されていたテンポでリズム
演奏を行うようにしている。
As described above, according to the second embodiment, when the tempo up switch 142A and the tempo down switch 142B are pressed at the same time, it is instructed that the tempo should be fixed to the previous state. A predetermined rhythm is selected by the selection switch 141, then a new tempo is set by pressing either the tempo up switch 142A or the tempo down switch 142B, and then the rhythm start switch 140
When the start of the rhythm performance is instructed by, the rhythm performance is performed at the newly set tempo. On the other hand, when the tempo up switch 142A and the tempo down switch 142B are simultaneously pressed to instruct that the tempo should be fixed to the previous state, the rhythm selection switch 14
When a predetermined rhythm is selected by 1 and then the rhythm start switch 140 is instructed to start the rhythm performance without operating the tempo up switch 142A or the tempo down switch 142B, the conventional rhythm before the rhythm selection is performed. The rhythm performance is performed at the tempo set for the rhythm performance.

【0122】これにより、演奏者は、リズムを変更して
もテンポを変えたくない場合は、予めテンポアップスイ
ッチ142A及びテンポダウンスイッチ142Bを同時
に押した後にリズム選択を行うことにより、従前のリズ
ム演奏時のテンポをそのまま継続することができる。ま
た、テンポアップスイッチ142A及びテンポダウンス
イッチ142Bを同時に押すことによりテンポを固定す
る旨を指示している場合であっても、テンポアップスイ
ッチ142A又はテンポダウンスイッチ142Bの何れ
か一方を押すことにより新たにテンポを設定すれば、そ
のテンポでリズム演奏が行われる。従って、リズム変更
時に演奏者が意図しないテンポの時間帯が発生すること
を防止できるものとなっている。
Thus, when the performer does not want to change the tempo even if the rhythm is changed, the performer selects the rhythm by pressing the tempo up switch 142A and the tempo down switch 142B at the same time in advance, thereby performing the conventional rhythm performance. You can continue the tempo of time. Further, even when the tempo is fixed by pressing the tempo up switch 142A and the tempo down switch 142B at the same time, pressing either the tempo up switch 142A or the tempo down switch 142B causes a new If you set the tempo to, the rhythm performance will be performed at that tempo. Therefore, when the rhythm is changed, it is possible to prevent a tempo time zone that the player does not intend to occur.

【0123】なお、上記実施例1及び実施例2では、全
パートのリズム演奏のテンポを制御する場合の動作につ
いて説明したが、各パート毎のテンポスイッチを設けれ
ば、各パート毎のテンポを制御する場合にも、同様に適
用できる。また、全パートを、1つ又は複数のパートが
含まれる複数のグループに分類し、各グループ単位でテ
ンポを制御する場合にも、同様に適用できる。
In the first and second embodiments described above, the operation in the case of controlling the tempo of the rhythm performance of all parts has been described, but if the tempo switch for each part is provided, the tempo for each part will be changed. The same applies to the case of controlling. Further, it is also applicable to the case where all parts are classified into a plurality of groups including one or a plurality of parts and the tempo is controlled in each group.

【0124】また、上記実施例1及び実施例2では、操
作パネル14からテンポスイッチ142を用いてテンポ
を変更する場合について説明したが、リズム演奏データ
に含まれるテンポチェンジのデータ、あるいは、外部か
ら送信されてくるMIDIデータに含まれるテンポチェ
ンジのデータによりテンポを変更する場合にも、同様に
適用できる。
In the above-mentioned first and second embodiments, the case where the tempo is changed from the operation panel 14 by using the tempo switch 142 has been described. However, the tempo change data included in the rhythm performance data or from the outside The same can be applied to the case where the tempo is changed by the tempo change data included in the transmitted MIDI data.

【0125】[0125]

【発明の効果】以上詳述したように、本発明によれば、
演奏者が好みのテンポでリズム演奏を開始させることが
できると共に、リズム演奏途中でリズムを変えてもリズ
ム演奏の流れが損なわれるのを防止できる電子楽器のテ
ンポ設定装置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a tempo setting device for an electronic musical instrument that allows a performer to start a rhythm performance at a desired tempo and prevent the flow of the rhythm performance from being impaired even if the rhythm is changed during the rhythm performance.

【図面の簡単な説明】[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 tempo setting device commonly used in Examples 1 and 2 of the present invention is applied.

【図2】本発明の実施例1及び実施例2に共通に使用さ
れる電子楽器の操作パネルの一例を示す図である。
FIG. 2 is a diagram showing an example of an operation panel of an electronic musical instrument commonly used in the first and second embodiments of the present invention.

【図3】本発明の実施例1及び実施例2に共通の動作を
示すフローチャート(メインルーチン)である。
FIG. 3 is a flowchart (main routine) showing an operation common to 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 an embodiment common to the first and second embodiments of the present invention.

【図5】本発明の実施例1及び実施例2に共通の動作を
示すフローチャート(リズム変更処理ルーチン)であ
る。
FIG. 5 is a flowchart (rhythm change processing routine) showing an operation common to the first and second embodiments of the present invention.

【図6】本発明の実施例1の動作を示すフローチャート
(テンポ変更処理ルーチン)である。
FIG. 6 is a flowchart (tempo change processing routine) showing the operation of the first embodiment of the present invention.

【図7】本発明の実施例1の動作を示すフローチャート
(リズムスタート処理ルーチン)である。
FIG. 7 is a flowchart (rhythm start processing routine) showing the operation of the first embodiment of the present invention.

【図8】本発明の実施例1及び実施例2に共通の動作を
示すフローチャート(リズム演奏処理ルーチン)であ
る。
FIG. 8 is a flowchart (rhythm performance processing routine) showing an operation common to the first and second embodiments of the present invention.

【図9】本発明の実施例2の動作を示すフローチャート
(テンポ変更処理ルーチン)である。
FIG. 9 is a flowchart (tempo change processing routine) showing the operation of the second embodiment of the present invention.

【図10】本発明の実施例2の動作を示すフローチャー
ト(リズムスタート処理ルーチン)である。
FIG. 10 is a flowchart (rhythm start processing routine) showing the operation of the second embodiment of the present invention.

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

10 CPU 11 プログラムメモリ 12 RAM 13 パネルインタフェース回路 14 操作パネル 15 鍵盤インタフェース回路 16 鍵盤装置 17 リズム演奏データメモリ 18 波形メモリ 19 音源 20 D/A変換器 21 増幅器 22 スピーカ 30 システムバス 140 リズムスタートスイッチ 141 リズム選択スイッチ 142 テンポスイッチ 142A テンポアップスイッチ 142B テンポダウンスイッチ 143 表示器 10 CPU 11 Program Memory 12 RAM 13 Panel Interface Circuit 14 Operation Panel 15 Keyboard Interface Circuit 16 Keyboard Device 17 Rhythm Performance Data Memory 18 Waveform Memory 19 Sound Source 20 D / A Converter 21 Amplifier 22 Speaker 30 System Bus 140 Rhythm Start Switch 141 Rhythm Selection switch 142 Tempo switch 142A Tempo up switch 142B Tempo down switch 143 Indicator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のリズムに対応したリズム演奏を行
う電子楽器において、 前記複数のリズムの中から所定のリズムを選択するリズ
ム選択手段と、 該選択手段で選択されたリズムによるリズム演奏のテン
ポを設定するテンポ設定手段と、 前記選択手段で選択されたリズムによるリズム演奏の開
始を指示するリズム演奏開始指示手段と、 該リズム演奏開始指示手段によりリズム演奏の開始が指
示さた場合に、前記リズム選択手段で所定のリズムが選
択され、且つ前記テンポ設定手段で新たなテンポが設定
されていれば新たに設定されたテンポでリズム演奏を行
わせ、前記リズム選択手段で所定のリズムが選択され、
且つ前記テンポ設定手段で新たなテンポが設定されてい
なければ、選択されたリズムに対応して予め定められて
いるテンポでリズム演奏を行わせる制御手段、 とを備えたことを特徴とする電子楽器のテンポ設定装
置。
1. An electronic musical instrument for performing a rhythm performance corresponding to a plurality of rhythms, a rhythm selecting means for selecting a predetermined rhythm from the plurality of rhythms, and a tempo of the rhythm performance by the rhythm selected by the selecting means. The tempo setting means for setting the rhythm performance, the rhythm performance start instruction means for instructing the start of the rhythm performance by the rhythm selected by the selection means, and the rhythm performance start instruction means for instructing the start of the rhythm performance, If a predetermined rhythm is selected by the rhythm selection means and a new tempo is set by the tempo setting means, the rhythm performance is performed at the newly set tempo, and the predetermined rhythm is selected by the rhythm selection means. ,
And a control means for performing a rhythm performance at a predetermined tempo corresponding to the selected rhythm unless a new tempo is set by the tempo setting means. Tempo setting device.
【請求項2】 複数のリズムに対応したリズム演奏を行
う電子楽器において、 前記複数のリズムの中から所定のリズムを選択するリズ
ム選択手段と、 該選択手段で選択されたリズムによるリズム演奏のテン
ポを設定するテンポ設定手段と、 前記選択手段で選択されたリズムによるリズム演奏の開
始を指示するリズム演奏開始指示手段と、 リズム演奏のテンポを従前のテンポに固定すべきことを
指示する固定指示手段と、 前記リズム演奏開始指示手段によりリズム演奏の開始が
指示さた場合に、前記固定指示手段による指示があり、
且つ前記テンポ設定手段で新たなテンポが設定されてい
れば新たに設定されたテンポでリズム演奏を行わせ、前
記固定指示手段による指示があり、且つ前記テンポ設定
手段で新たなテンポが設定されていなければ、その時点
で設定されているテンポでリズム演奏を行わせる制御手
段、 とを備えたことを特徴とする電子楽器のテンポ設定装
置。
2. An electronic musical instrument for performing a rhythm performance corresponding to a plurality of rhythms, a rhythm selecting means for selecting a predetermined rhythm from the plurality of rhythms, and a tempo of the rhythm performance by the rhythm selected by the selecting means. A tempo setting means for setting, a rhythm performance start instruction means for instructing the start of a rhythm performance by the rhythm selected by the selection means, and a fixed instruction means for instructing that the tempo of the rhythm performance is fixed to the previous tempo. When the start of the rhythm performance is instructed by the rhythm performance start instruction means, there is an instruction by the fixed instruction means,
If a new tempo is set by the tempo setting means, a rhythm performance is performed at the newly set tempo, an instruction is given by the fixed instruction means, and a new tempo is set by the tempo setting means. If not, a tempo setting device for an electronic musical instrument, comprising: a control means for performing a rhythm performance at the tempo set at that time.
JP5251177A 1993-09-13 1993-09-13 Tempo setting device of electronic musical instrument Pending JPH0784578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5251177A JPH0784578A (en) 1993-09-13 1993-09-13 Tempo setting device of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5251177A JPH0784578A (en) 1993-09-13 1993-09-13 Tempo setting device of electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH0784578A true JPH0784578A (en) 1995-03-31

Family

ID=17218834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5251177A Pending JPH0784578A (en) 1993-09-13 1993-09-13 Tempo setting device of electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH0784578A (en)

Similar Documents

Publication Publication Date Title
JP3568326B2 (en) Electronic musical instrument
US5430242A (en) Electronic musical instrument
JP4318194B2 (en) Automatic accompaniment apparatus and automatic accompaniment method for electronic musical instrument
JP3097888B2 (en) Electronic musical instrument volume setting device
JP2885333B2 (en) Electronic musical instrument
JPH0784578A (en) Tempo setting device of electronic musical instrument
JP3630266B2 (en) Automatic accompaniment device
JPH06348258A (en) Automatic playing device of electronic musical instrument
JP2953937B2 (en) Electronic musical instrument volume control device
JP3549083B2 (en) Volume control device
JPH11338472A (en) Automatic accompaniment device, and automatic accompanying method
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JP2714893B2 (en) Chord information output device
JPH0772869A (en) Tuning support system of electronic musical instrument
JP3150580B2 (en) Automatic performance device and automatic performance method
JPH08234737A (en) Electronic keyboard musical instrument
JPH0830273A (en) Tempo setting device for electronic musical instrument
JPH07175480A (en) Data setter for electronic musical instrument
JPH05108068A (en) Phrase information input and output device
JP3169535B2 (en) Automatic performance device and automatic performance method
JP3015226B2 (en) Electronic musical instrument
JPH0830272A (en) Tempo setting device for electronic musical instrument
JP3356326B2 (en) Electronic musical instrument
JPH08106287A (en) Automatic playing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990827