JPH0830272A - Tempo setting device for electronic musical instrument - Google Patents

Tempo setting device for electronic musical instrument

Info

Publication number
JPH0830272A
JPH0830272A JP6190081A JP19008194A JPH0830272A JP H0830272 A JPH0830272 A JP H0830272A JP 6190081 A JP6190081 A JP 6190081A JP 19008194 A JP19008194 A JP 19008194A JP H0830272 A JPH0830272 A JP H0830272A
Authority
JP
Japan
Prior art keywords
tempo
switch
automatic performance
data
changing
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
JP6190081A
Other languages
Japanese (ja)
Inventor
Ichiro Matsuda
一郎 松田
Tatsuya Matsuda
達也 松田
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 JP6190081A priority Critical patent/JPH0830272A/en
Publication of JPH0830272A publication Critical patent/JPH0830272A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable changing a present tempo to a desired tempo by a few operation by providing an instruction means instructing a tempo change and changing the present tempo with a prescribed ratio according to the instruction. CONSTITUTION:Functions such as tempo setting and so forth are realized by processings such as tempo switch 142, half-tempo switch 143 and CPU and so forth. That is, in the case a tempo change is instructed with a half-tempo switch 143, a tempo set at the point of the time is changed to a half tempo. Moreover, in the case the tempo change is instructed with a tempo switch 142, the tempo is increased or decreased by one tempo. Thus, since the present tempo is made half by one operation of the half-tempo switch and in this state can be increased or decreased by every one tempo by operating the tempo switch 142, in the case a user is a beginner, a desired tempo is easily set by making the tempo half with one operation.

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 is applied to an electronic musical instrument having an automatic musical performance function and which sets the tempo of the automatic musical performance.

【0002】[0002]

【従来の技術】従来、自動演奏機能付電子楽器が開発さ
れ実用に供されている。かかる電子楽器は、例えば複数
のリズムによる自動演奏を可能にするべく、複数のリズ
ムに対応した複数の自動演奏データを有している。そし
て、操作者がリズムを選択して自動演奏の開始を指示す
ることにより、選択されたリズムによる自動演奏が開始
される。これにより、演奏者は、所望のリズムによる自
動伴奏をバックにしたメロディ演奏等が可能になってい
る。
2. Description of the Related Art Conventionally, an electronic musical instrument with an automatic performance function has been developed and put into practical use. Such an electronic musical instrument has a plurality of automatic performance data corresponding to a plurality of rhythms, for example, to enable an automatic performance with a plurality of rhythms. Then, when the operator selects a rhythm and gives an instruction to start the automatic performance, the automatic performance with the selected rhythm is started. This allows the performer to play a melody with automatic accompaniment with a desired rhythm as a background.

【0003】上記のような従来の自動演奏機能付き電子
楽器で自動演奏を行わせる場合のテンポは、選択された
リズムにより一意的に決定される。このような各リズム
の初期テンポをプリセットテンポという。各リズムのプ
リセットテンポは、リズムが選択された際に、自動演奏
データに含まれるプリセットテンポデータがテンポ制御
部に設定されることにより決定される。通常、プリセッ
トテンポは、当該リズムに最適なテンポが使用される。
The tempo when an electronic musical instrument with the conventional automatic musical performance function as described above is used to perform an automatic musical performance is uniquely determined by the selected rhythm. The initial tempo of each rhythm is called a preset tempo. The preset tempo of each rhythm is determined by setting the preset tempo data included in the automatic performance data in the tempo controller when the rhythm is selected. Usually, as the preset tempo, the optimum tempo for the rhythm is used.

【0004】しかし、演奏者のリズムに対する感覚、演
奏時の雰囲気等によりプリセットテンポを変更したい場
合がある。かかる要求に対応するべく、演奏者がリズム
を選択して自動演奏を開始させた後は、例えば操作パネ
ルに設けられたテンポスイッチを操作して演奏者の好み
のテンポに変更できるようになっている。
However, there are cases in which it is desired to change the preset tempo depending on the player's sense of the rhythm, the mood during the performance, and the like. In order to meet such demands, after the performer selects a rhythm and starts the automatic performance, the tempo switch provided on the operation panel can be operated to change the tempo to the player's favorite tempo, for example. There is.

【0005】[0005]

【発明が解決しようとする課題】ところで、テンポを変
更したいという要求は、上記のような場合だけでなく、
初心者が自動伴奏機能を使用して所定曲を練習する場合
にも発生する。初心者にとってプリセットテンポは速す
ぎると感じられる場合が多い。かかる場合は、初心者
は、リズムを選択する度にテンポスイッチを操作してテ
ンポを落とすという操作を行い、その後、所定曲の練習
を開始するという手順を踏んでいた。
By the way, the request to change the tempo is not limited to the above case,
It also occurs when a beginner uses the automatic accompaniment function to practice a certain song. The preset tempo is often felt too fast for beginners. In such a case, the beginner has performed the operation of operating the tempo switch every time a rhythm is selected to drop the tempo, and then starts practicing a predetermined piece of music.

【0006】従来のテンポスイッチは、例えばアップ/
ダウンスイッチで構成され、アップスイッチを押す毎に
テンポが1テンポずつ増加し、ダウンスイッチを押す毎
にテンポが1テンポずつ減少するという構成になってい
る。従って、現在のテンポを半分に落としたい場合、例
えばテンポ120をテンポ60に落としたい場合は、ダ
ウンスイッチを60回も押下する必要があり、非常に面
倒であるとともに時間がかかるという問題があった。し
かも、曲の先頭から練習を再開しようとしてリズム選択
スイッチを操作すると、テンポもプリセットテンポに戻
ってしまうので、その度にテンポを落とす操作が必要で
あり、煩雑に耐えないという問題があった。
The conventional tempo switch is, for example, up / down.
It is composed of a down switch, and the tempo increases by one tempo each time the up switch is pressed, and the tempo decreases by one tempo each time the down switch is pressed. Therefore, when it is desired to reduce the current tempo to half, for example, to reduce the tempo 120 to tempo 60, it is necessary to press the down switch 60 times, which is very troublesome and takes time. . Moreover, if the rhythm selection switch is operated in order to restart the practice from the beginning of the song, the tempo will also return to the preset tempo, and it is necessary to perform an operation to drop the tempo each time, and there is a problem in that it cannot be bothered.

【0007】本発明は、かかる事情に鑑みてなされたも
のであり、少ない操作で現在のテンポを所望のテンポに
変更することのできる電子楽器のテンポ設定装置を提供
することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a tempo setting device for an electronic musical instrument, which can change the current tempo to a desired tempo with a small number of operations.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、自動演奏音を発生するた
めの自動演奏機能を有する電子楽器において、前記自動
演奏音のテンポ変更を指示する第1の指示手段と、該第
1の指示手段の指示に応じて現在のテンポを予め定めら
れた割合で変更する第1のテンポ変更手段、とを備えた
ことを特徴とする。
In order to achieve the above object, the invention according to claim 1 is an electronic musical instrument having an automatic performance function for generating an automatic performance sound, wherein the tempo of the automatic performance sound is changed. And a first tempo changing means for changing the current tempo at a predetermined rate according to the instruction of the first instruction means.

【0009】また、同様の目的で、請求項2に記載の発
明は、自動演奏音を発生するための自動演奏機能を有す
る電子楽器において、前記自動演奏音のテンポ変更を指
示する第1の指示手段と、該第1の指示手段の指示に応
じて現在のテンポを予め定められた割合で変更する第1
のテンポ変更手段と、前記自動演奏音のテンポ変更を指
示する第2の指示手段と、該第2の指示手段の指示に応
じて現在のテンポを1テンポだけ変更する第2のテンポ
変更手段、とを備えたことを特徴とする。
For the same purpose, the invention according to claim 2 is, in an electronic musical instrument having an automatic performance function for generating an automatic performance sound, a first instruction for instructing a tempo change of the automatic performance sound. Means for changing the current tempo at a predetermined rate in response to an instruction from the first instruction means
The tempo changing means, the second instructing means for instructing to change the tempo of the automatic performance sound, and the second tempo changing means for changing the current tempo by one tempo in response to the instruction of the second instructing means. It is characterized by having and.

【0010】また、同様の目的で、請求項3に記載の発
明は、請求項1又は請求項2に記載の発明において、前
記第1のテンポ変更手段は、現在のテンポを半分にする
ことを特徴とする。
For the same purpose, the invention according to claim 3 is the invention according to claim 1 or claim 2, wherein the first tempo changing means halves the current tempo. Characterize.

【0011】また、同様の目的で、請求項4に記載の発
明は、自動演奏音を発生するための自動演奏機能を有す
る電子楽器において、前記自動演奏音のテンポ変更の割
合を指定する割合指定手段と、前記自動演奏音のテンポ
変更を指示する第1の指示手段と、該第1の指示手段の
指示に応じて現在のテンポを前記割合指定手段で指定さ
れた割合で変更する第1のテンポ変更手段、とを具備し
たことを特徴とする。
For the same purpose, the invention according to claim 4 is, in an electronic musical instrument having an automatic performance function for generating an automatic performance sound, a ratio designation for designating a tempo change ratio of the automatic performance sound. Means, a first instructing means for instructing a change in the tempo of the automatic performance sound, and a first changing means for changing the current tempo at a rate designated by the rate designating means in response to an instruction from the first instructing means. And a tempo changing means.

【0012】また、同様の目的で、請求項5に記載の発
明は、自動演奏音を発生するための自動演奏機能を有す
る電子楽器において、前記自動演奏音のテンポ変更の割
合を指定する割合指定手段と、前記自動演奏音のテンポ
変更を指示する第1の指示手段と、該第1の指示手段の
指示に応じて現在のテンポを前記割合指定手段で指定さ
れた割合で変更する第1のテンポ変更手段と、前記自動
演奏音のテンポ変更を指示する第2の指示手段と、該第
2の指示手段の指示に応じて現在のテンポを1テンポだ
け変更する第2のテンポ変更手段、とを具備したことを
特徴とする。
For the same purpose, the invention according to a fifth aspect is an electronic musical instrument having an automatic performance function for generating an automatic performance sound, and a ratio designation for designating a rate of tempo change of the automatic performance sound. Means, a first instructing means for instructing a change in the tempo of the automatic performance sound, and a first changing means for changing the current tempo at a rate designated by the rate designating means in response to an instruction from the first instructing means. Tempo changing means, second instructing means for instructing to change the tempo of the automatic performance sound, and second tempo changing means for changing the current tempo by one tempo in response to the instruction of the second instructing means. Is provided.

【0013】また、同様の目的で、請求項6に記載の発
明は、請求項4又は請求項5に記載の発明において、前
記第1のテンポ変更手段は、現在のテンポを半分にする
ことを特徴とする。
Further, for the same purpose, the invention according to claim 6 is the invention according to claim 4 or claim 5, wherein the first tempo changing means halves the current tempo. Characterize.

【0014】[0014]

【作用】請求項1に記載の電子楽器のテンポ設定装置に
おいては、第1の指示手段でテンポ変更が指示された場
合に、その時点で設定されているテンポが予め定められ
た割合で変更される。従って、テンポを変更する割合
を、例えば「−50%」と定めておけば、ワンタッチで
現在のテンポを半分にすることができる。この場合は、
初心者が自動伴奏機能を使用して曲を練習する場合にワ
ンタッチでテンポを落とすことができるので、操作が極
めて簡単であり、迅速に曲の練習を開始できるという効
果がある。
In the tempo setting device for an electronic musical instrument according to claim 1, when the tempo change is instructed by the first instructing means, the tempo set at that time is changed at a predetermined rate. It Therefore, if the rate of changing the tempo is set to, for example, "-50%", the current tempo can be halved with one touch. in this case,
When a beginner uses the automatic accompaniment function to practice a song, the tempo can be lowered with one touch, so that the operation is extremely simple and the practice of the song can be started quickly.

【0015】なお、上記とは逆に、テンポを変更する割
合を、例えば「+50%」と定めておけば、ワンタッチ
で現在のテンポを倍にすることもできる。また、予め定
める割合は±50%に限らず、任意の割合にすることが
できるのは勿論である。
Contrary to the above, if the tempo change rate is set to "+ 50%", for example, the current tempo can be doubled with one touch. Further, the predetermined ratio is not limited to ± 50%, and can be any ratio.

【0016】請求項2に記載の電子楽器のテンポ設定装
置においては、第1の指示手段でテンポ変更が指示され
た場合に、その時点で設定されているテンポが予め定め
られた割合で変更されると共に、第2の指示手段でテン
ポ変更が指示された場合に、その時点で設定されている
テンポが1テンポだけ変更される。従って、テンポを変
更する割合を、例えば「−50%」と定めておけば、ワ
ンタッチで現在のテンポを半分にすることができると共
に、その状態で第2の指示手段を操作して1テンポずつ
増減できる。この場合は、初心者が自動伴奏機能を使用
して曲を練習する場合にワンタッチでテンポを落とし、
更に細かく調整することができるので、操作が極めて簡
単であり、迅速に曲の練習を開始できると共に好みのテ
ンポに容易に設定できるという効果がある。
In the tempo setting device for an electronic musical instrument according to a second aspect, when the tempo change is instructed by the first instruction means, the tempo set at that time is changed at a predetermined rate. At the same time, when the tempo change is instructed by the second instruction means, the tempo set at that time is changed by one tempo. Therefore, if the rate of changing the tempo is set to, for example, "-50%", the current tempo can be halved with one touch, and the second instruction means can be operated in that state for each tempo. You can increase or decrease. In this case, if the beginner uses the automatic accompaniment function to practice the song, the tempo can be lowered with one touch,
Since finer adjustments can be made, the operation is extremely simple, and it is possible to quickly start practicing a song and easily set a desired tempo.

【0017】請求項3に記載の電子楽器のテンポ設定装
置においては、第1の指示手段による指示があった場合
に、現在のテンポを半分にし(50%落とし)、所謂ハ
ーフテンポに変更するようにしている。これにより、例
えば初心者が自動伴奏機能を用いて曲を練習する場合
に、ワンタッチでハーフテンポに設定することができる
ので操作性に優れたテンポ設定装置を提供できるという
効果がある。
In the tempo setting device for an electronic musical instrument according to a third aspect, when there is an instruction from the first instructing means, the current tempo is halved (dropped by 50%) and changed to a so-called half tempo. I have to. Thus, for example, when a beginner is practicing a piece of music using the automatic accompaniment function, it is possible to set the half tempo with one touch, and thus it is possible to provide a tempo setting device having excellent operability.

【0018】請求項4に記載の電子楽器のテンポ設定装
置においては、第1の指示手段でテンポ変更が指示され
た場合に、その時点で設定されているテンポが、割合指
定手段で指定された割合で変更される。従って、例えば
割合指定手段でテンポ変更の割合を予め「−30%」と
指定しておけば、第1の指示手段で指示することによ
り、ワンタッチで現在のテンポを30%だけ落とすこと
ができる。従って、初心者が自動伴奏機能を使用して曲
を練習する場合に、予め変更するテンポの割合を割合指
定手段を用いて指定しておけば、ワンタッチで所望のテ
ンポに設定することができるので、迅速に曲の練習を開
始できる。なお、割合指定手段で設定するテンポは、上
記の「−30%」に限定されず、任意の割合にすること
ができるのは勿論である。
In the tempo setting device for an electronic musical instrument according to a fourth aspect, when the tempo change is instructed by the first instructing means, the tempo set at that time is specified by the ratio specifying means. Changed in proportion. Therefore, for example, if the rate of tempo change is designated as "-30%" in advance by the rate designating means, the current tempo can be lowered by 30% by one touch by instructing by the first designating means. Therefore, when a beginner is practicing a song using the automatic accompaniment function, if the tempo ratio to be changed is designated in advance by using the ratio designating means, the desired tempo can be set with one touch. You can start practicing songs quickly. The tempo set by the ratio designating means is not limited to the above "-30%", and it goes without saying that the tempo can be set to any ratio.

【0019】請求項5に記載の電子楽器のテンポ設定装
置においては、第1の指示手段でテンポ変更が指示され
た場合に、その時点で設定されているテンポが、割合指
定手段で指定された割合で変更されると共に、第2の指
示手段でテンポ変更が指示された場合に、その時点で設
定されているテンポが1テンポだけ変更される。従っ
て、例えば割合指定手段でテンポ変更の割合を予め「−
30%」と指定しておけば、第1の指示手段で指示する
ことにより、ワンタッチで現在のテンポを30%だけ落
とすことができると共に、その状態で第2の指示手段を
操作して1テンポずつ増減できる。従って、初心者が自
動伴奏機能を使用して曲を練習する場合に、予め変更す
るテンポの割合を割合指定手段を用いて指定しておけ
ば、ワンタッチで所望のテンポ近傍に設定し、更に第2
の指示手段を用いて細かくテンポを変更することができ
るのでテンポ設定操作が簡単になり、迅速に曲の練習を
開始できる。なお、割合指定手段で設定するテンポは、
上記の「−30%」に限定されず、任意の割合にするこ
とができるのは勿論である。
In the tempo setting device for an electronic musical instrument according to the fifth aspect, when the tempo change is instructed by the first instructing means, the tempo set at that time is specified by the ratio specifying means. When the tempo change is instructed by the second instructing means, the tempo set at that time is changed by one tempo. Accordingly, for example, the rate of tempo change is previously set to "-
If you specify "30%", you can drop the current tempo by 30% with one touch by instructing with the first instructing means, and operate the second instructing means in that state You can increase or decrease by one. Therefore, when a beginner practices a song by using the automatic accompaniment function, if the proportion of tempo to be changed is designated in advance by the proportion designating means, the tempo can be set to a desired tempo vicinity by one touch, and the second tempo can be set.
Since the tempo can be finely changed by using the instruction means of, the tempo setting operation becomes easy and the practice of the song can be started quickly. The tempo set by the ratio designator is
It is needless to say that the ratio is not limited to the above "-30%" and may be any ratio.

【0020】請求項6に記載の電子楽器のテンポ設定装
置においては、第1の指示手段による指示があった場合
に、現在のテンポを半分にし(50%落とし)、所謂ハ
ーフテンポに変更することができると共に、第2の指示
手段でテンポ変更を指示することにより、半分にされた
テンポを更に1テンポずつ増減することができる。従っ
て、例えば初心者が自動伴奏機能を用いて曲を練習する
場合に、ワンタッチでハーフテンポに設定し、更にその
近傍の好みのテンポに設定することができるので操作性
に優れたテンポ設定装置を提供できる。
In the tempo setting device for an electronic musical instrument according to a sixth aspect, when there is an instruction from the first instructing means, the current tempo is halved (dropped by 50%) and changed to a so-called half tempo. In addition, it is possible to further increase or decrease the halved tempo by one tempo by instructing the tempo change by the second instruction means. Therefore, for example, when a beginner is practicing a song by using the automatic accompaniment function, it is possible to set the half tempo with one touch and set the tempo in the vicinity thereof to a tempo setting device with excellent operability. it can.

【0021】[0021]

【実施例】以下、本発明の電子楽器のテンポ設定装置の
実施例につき、図面を参照しながら詳細に説明する。本
発明のテンポ設定装置は、自動演奏機能付き電子楽器と
一体に構成されており、テンポ設定装置としての機能
は、主に、操作パネル14のテンポスイッチ142、ハ
ーフテンポスイッチ143及びCPU10の処理により
実現されている。従って、以下においては、電子楽器全
般について簡単に説明すると共に、テンポ設定装置とし
ての機能について詳細に説明する。
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. The tempo setting device of the present invention is configured integrally with an electronic musical instrument having an automatic performance function, and the function of the tempo setting device is mainly based on the processing of the tempo switch 142, the half tempo switch 143 of the operation panel 14 and the CPU 10. Has been realized. Therefore, in the following, the electronic musical instrument as a whole will be briefly described, and the function as the tempo setting device will be described in detail.

【0022】(1)実施例1 図1は、本発明のテンポ設定装置が適用された電子楽器
の実施例1の概略構成を示すブロック図である。
(1) First Embodiment FIG. 1 is a block diagram showing a schematic configuration of a first embodiment of an electronic musical instrument to which the tempo setting device of the present invention is applied.

【0023】本テンポ設定装置が適用された電子楽器
は、中央処理装置(以下、「CPU」という。)10、
プログラムメモリ11、ランダムアクセスメモリ(以
下、「RAM」という。)12、パネルインタフェース
回路13、鍵盤インタフェース回路15、自動演奏デー
タメモリ17、波形メモリ18及び音源(トーンジェネ
レータ)19がシステムバス30を介して相互に接続さ
れることにより構成されている。
An electronic musical instrument to which the present tempo setting device is applied is a central processing unit (hereinafter referred to as "CPU") 10,
A program memory 11, 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 (tone generator) 19 via a system bus 30. And are connected to each other.

【0024】システムバス30は、例えばアドレス線、
データ線及び制御信号線等で成り、上記各構成要素間に
おける各種データの送受のために使用される。このシス
テムバス30は、CPU10と音源19とにより時分割
で使用される。
The system bus 30 is, for example, an address line,
It is composed of a data line, a control signal line, etc., and is used for transmitting and receiving various data between the above-mentioned respective constituent elements. The system bus 30 is used by the CPU 10 and the sound source 19 in a time division manner.

【0025】CPU10は第1のテンポ変更手段及び第
2のテンポ変更手段に対応する。このCPU10は、プ
ログラムメモリ11に格納されている制御プログラムに
従って、電子楽器の全体を制御する。このCPU10の
動作の詳細については後述する。このCPU10には、
図示しないタイムカウンタが含まれている。このタイム
カウンタは、テンポに応じた周期でカウントアップされ
る。このタイムカウンタは、後述する自動演奏処理にお
いて発音又は消音のタイミングを検出するために使用さ
れる。
The CPU 10 corresponds to the first tempo changing means and the second tempo changing means. The CPU 10 controls the entire electronic musical instrument according to a control program stored in the program memory 11. Details of the operation of the CPU 10 will be described later. In this CPU 10,
A time counter (not shown) is included. This time counter counts up in a cycle according to the tempo. This time counter is used to detect the timing of sound generation or mute in the automatic performance processing described later.

【0026】プログラムメモリ11は、例えばリードオ
ンリメモリ(以下、「ROM」という。)で構成するこ
とができる。このプログラムメモリ11には、上述した
CPU10を動作させるための制御プログラムが記憶さ
れている他、CPU10が各種処理に用いる種々の固定
データが記憶されている。このプログラムメモリ11の
内容はCPU10により読み出される。即ち、CPU1
0は、プログラムメモリ11から制御プログラム(命
令)を読み出して解釈・実行すると共に、所定の固定デ
ータを読み出して各種処理に使用する。
The program memory 11 can be composed of, for example, a read only memory (hereinafter referred to as "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.

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

【0028】パネルインタフェース回路13には、操作
パネル14が接続されている。この操作パネル14は、
電子楽器に各種動作を指示するために使用される。この
操作パネル14には、例えば図2に示されるように、リ
ズムスタートスイッチ140、リズム選択スイッチ14
1、テンポスイッチ142、ハーフテンポスイッチ14
3及び表示器144が設けられている。なお、操作パネ
ル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. The operation panel 14 includes a rhythm start switch 140 and a rhythm selection switch 14 as shown in FIG.
1, tempo switch 142, half tempo switch 14
3 and an indicator 144 are provided. It should be noted that the operation panel 14 is provided with various switches and indicators in addition to the above, but these are not directly related to the present invention, and therefore are not shown in FIG.

【0029】リズムスタートスイッチ140は、自動演
奏の開始又は停止を指示するために使用される。このリ
ズムスタートスイッチ140は、例えば押下の度にオン
とオフとが交互に切り替わる。このリズムスタートスイ
ッチがオン状態にあるかオフ状態にあるかは、RAM1
2に定義された「自動演奏フラグ」で記憶される。
The rhythm start switch 140 is used to instruct the start or stop of the automatic performance. The rhythm start switch 140 is alternately switched on and off each time it is pressed. Whether the rhythm start switch is in the on state or the off state depends on the RAM 1
It is stored as the "automatic performance flag" defined in 2.

【0030】リズム選択スイッチ141は、例えば8ビ
ート、ワルツ、サンバ等といった複数のリズムに対応し
た複数のスイッチから構成されている。このリズム選択
スイッチ141の中の何れかのスイッチが押下されるこ
とによりリズムが選択される。このリズム選択スイッチ
141で選択されたリズムは、RAM12に定義された
「リズムバッファ」に、リズム番号として記憶される。
The rhythm selection switch 141 is composed of a plurality of switches corresponding to a plurality of rhythms such as 8-beat, waltz, samba, etc. A rhythm is selected by pressing any one of the rhythm selection switches 141. The rhythm selected by the rhythm selection switch 141 is stored as a rhythm number in the “rhythm buffer” defined in the RAM 12.

【0031】テンポスイッチ142は第2の指示手段に
対応するものである。このテンポスイッチ142は、テ
ンポアップスイッチ142Aとテンポダウンスイッチ1
42Bとにより構成されている。そして、テンポアップ
スイッチ142Aが押下される度にテンポ値が1ずつ増
加し、テンポダウンスイッチ142Bが押下される度に
テンポ値が1ずつ減少するように制御される。このテン
ポスイッチ142を用いて入力されたデータはRAM1
2に定義された「テンポバッファ」に記憶される。な
お、このテンポスイッチ142は、テンキー、スライド
式操作子、回転式操作子等で構成することもでき、これ
らの場合、テンポ値は±1ずつ変化するのではなく、所
望のテンポ値が直接入力される。
The tempo switch 142 corresponds to the second instruction means. The tempo switch 142 includes a tempo up switch 142A and a tempo down switch 1
And 42B. The tempo value is controlled to increase by 1 each time the tempo up switch 142A is pressed, and the tempo value is decreased by 1 each time the tempo down switch 142B is pressed. The data input using the tempo switch 142 is the RAM 1
It is stored in the "tempo buffer" defined in 2. The tempo switch 142 can also be configured by a numeric keypad, a slide type operator, a rotary type operator, etc. In these cases, the tempo value does not change by ± 1 but the desired tempo value is directly input. To be done.

【0032】ハーフテンポスイッチ143は第1の指示
手段に対応する。このハーフテンポスイッチ143は、
現在のテンポを半分に落とすことを指示するために使用
される。例えば、テンポ120で自動演奏が行われてい
る状態でハーフテンポスイッチ143を押されると、テ
ンポ60に変更される。
The half tempo switch 143 corresponds to the first instructing means. This half tempo switch 143
Used to indicate that the current tempo should be cut in half. For example, when the half tempo switch 143 is pressed while the automatic performance is being performed at the tempo 120, the tempo is changed to 60.

【0033】表示器144は、例えば7セグメントのL
ED表示器を2桁分備えて構成されている。この表示器
144には、CPU10から送られて来るデータに従っ
て、数字や英文字等が表示される。例えば、リズム選択
スイッチ141が操作されると押下されたスイッチに対
応するリズムのリズム番号が表示される。また、テンポ
スイッチ142が操作されると、その操作に応じたテン
ポ値が表示される。
The display 144 is, for example, a 7-segment L
The ED display is provided for two digits. The display 144 displays numbers, English characters, etc. 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. When the tempo switch 142 is operated, the tempo value corresponding to the operation is displayed.

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

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

【0036】また、パネルインタフェース回路13は、
CPU10から送られてきた表示用データを操作パネル
14に送る。これにより、表示器144に所定の数字又
は英文字等が表示される。
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, a predetermined number or English character is displayed on the display 144.

【0037】鍵盤インタフェース回路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.

【0038】鍵盤インタフェース回路15は、鍵盤装置
16とCPU10との間のデータの送受を制御する。具
体的には、鍵盤インタフェース回路15は、鍵盤装置1
6に対してスキャン信号を送出し、このスキャン信号に
応答して鍵盤装置16から返送されるキースイッチのオ
ン/オフ状態を示す信号を受け取る。そして、この受け
取った信号から、各鍵のオン/オフを1ビットに対応さ
せたキーデータ及び押鍵の速さ(強さ)を示すイニシャ
ルタッチデータを生成し、CPU10に送る。キーデー
タは鍵盤イベントの有無を判断するために使用される。
イニシャルタッチデータは、音量や音色を制御するため
に使用される。
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 includes the keyboard device 1
6, a scan signal is sent to 6 and a signal indicating the on / off state of the key switch is sent back from the keyboard device 16 in response to this scan signal. Then, 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 determine the presence / absence of a keyboard event.
The initial touch data is used to control the volume and timbre.

【0039】自動演奏データメモリ17は、例えばRO
Mで構成することができる。この自動演奏データメモリ
17には、複数のリズムに対応した自動演奏データが記
憶されている。1つのリズムに対応する自動演奏データ
は、例えば図6に示すように、ヘッダ部と自動演奏デー
タ部とで構成されている。ヘッダ部には、当該リズムの
繰り返し小節数データ、拍子データ及びプリセットテン
ポデータが記憶されている。プリセットテンポデータ
は、そのリズムによる自動演奏における最適なテンポと
なるようなテンポデータであり、このプリセットテンポ
データにより当該リズムのプリセットテンポが決定され
る。また、自動演奏データ部には、発音/消音等を指定
する自動演奏データが記憶されている。
The automatic performance data memory 17 is, for example, RO
It can be composed of M. The automatic performance data memory 17 stores automatic performance data corresponding to a plurality of rhythms. The automatic performance data corresponding to one rhythm is composed of a header section and an automatic performance data section as shown in FIG. 6, for example. The header section stores the number of repeated measures data, the time signature data, and the preset tempo data of the rhythm. The preset tempo data is tempo data that provides an optimum tempo for automatic performance with the rhythm, and the preset tempo of the rhythm is determined by the preset tempo data. Further, the automatic performance data section stores automatic performance data for designating sound generation / silence.

【0040】各リズムの自動演奏データは、詳細は図示
しないが、例えばコード、ベース及びドラムといった3
つのパート音を発生するためのデータにより構成されて
いる。各パートの自動演奏データは、例えばMIDIデ
ータと同様の形式で作成され、発音タイミングを指示す
るためのステップタイムデータが含まれている。この自
動演奏データメモリ17に記憶された自動演奏データ
は、後述する自動演奏処理において、音源19が処理す
ることができる形式に変換されて音源19に送られる。
Although not shown in detail, the automatic performance data of each rhythm includes, for example, 3 chords, bass and drums.
It is composed of data for generating one part sound. 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.

【0041】なお、上記自動演奏データは、自動演奏デ
ータメモリ17に代えて、RAM12の一部に記憶する
ように構成しても良い。この場合、システムバス30に
例えばフロッピーディスク装置(又はROMカード制御
装置)を接続すると共に、フロッピーディスク(又はR
OMカード)に自動演奏データを記憶させておき、例え
ば本電子楽器の電源投入時にフロッピーディスク装置に
装着されたフロッピーディスク(又はROMカード制御
装置に挿入されたROMカード)から上記各データをR
AM12にロードするように構成すれば良い。この構成
によれば、多種類の自動演奏を行うことができるという
利点がある。
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 each of the above data is read from a floppy disk (or a ROM card inserted in a ROM card controller) loaded in the floppy disk device when the electronic musical instrument is powered on.
It may be configured to be loaded into the AM 12. According to this structure, there is an advantage that many kinds of automatic performances can be performed.

【0042】波形メモリ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 (musical instrument sound), each tone range (key range), key depression speed, etc. in order to realize a plurality of tone colors.

【0043】音源19は、例えば複数のオシレータを備
えている。そして、各パートの楽音を発生する各発音チ
ャンネルに対して1個乃至数個のオシレータが割り当て
られる。発音が割り当てられたチャンネルに対応するオ
シレータは、波形メモリ18に記憶されている波形デー
タを読み出し、これにエンベロープを付加してデジタル
楽音信号を生成する。上記波形データの読み出しは、C
PU10と音源19とが時分割でシステムバス30を使
用して行われる。この音源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 corresponding to the channel to which the sound is assigned reads the waveform data stored in the waveform memory 18 and adds an envelope to the waveform data to generate a digital tone signal. To read the above waveform data, use C
The PU 10 and the sound source 19 are time-shared using the system bus 30. The digital musical tone signal generated by the sound source 19 is sent to the D / A converter 20.

【0044】D/A変換器20は、入力されたデジタル
楽音信号をアナログ楽音信号に変換して出力する。この
D/A変換器20から出力されたアナログ楽音信号は増
幅器21に送られる。増幅器21は、入力されたアナロ
グ楽音信号を所定の増幅率で増幅して出力する。この増
幅器21から出力されるアナログ楽音信号はスピーカ2
2に送られる。スピーカ22は、電気信号としてのアナ
ログ楽音信号を音響信号に変換する周知のものである。
このスピーカ22により、鍵盤装置16の鍵操作又は自
動演奏データメモリ17から読み出された自動演奏デー
タに応じた楽音が放音される。
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 from 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 from the amplifier 21 is the speaker 2
Sent to 2. 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 key operation of the keyboard device 16 or the automatic performance data read from the automatic performance data memory 17.

【0045】なお、上記実施例1では、リズム選択スイ
ッチ141として、リズム毎に設けられた複数のスイッ
チで構成されるものを例示したが、テンポスイッチ14
2と同様に、アップスイッチ「+」とダウンスイッチ
「−」とで成るアップダウンスイッチ、或いはテンキー
等で構成することもできる。
In the first embodiment, the rhythm selection switch 141 is composed of a plurality of switches provided for each rhythm.
Similar to the above-described item 2, it may be configured by an up / down switch including an up switch “+” and a down switch “−”, or a numeric keypad.

【0046】また、リズム選択スイッチ141をアップ
ダウンスイッチで構成する場合は、このリズム選択スイ
ッチとテンポスイッチ142とを共用するように構成す
ることもできる。この場合、テンポスイッチ142を汎
用スイッチと定義し、この汎用スイッチの動作モードを
切り換えるモード切換スイッチを別途設ける。そして、
このモード切換スイッチでテンポ設定モードにされた場
合は、汎用スイッチはテンポ設定するために使用され、
モード切換スイッチでリズム選択モードにされた場合
は、リズム番号を選択するために使用されるように構成
する。
When the rhythm selection switch 141 is composed of an up-down switch, the rhythm selection switch and the tempo switch 142 may be shared. 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. And
When the tempo setting mode is set with this mode selector switch, the general-purpose switch is used to set the tempo,
When the rhythm selection mode is set by the mode changeover switch, it is used to select the rhythm number.

【0047】更に、モード切換スイッチで、上記以外の
モード、例えば、音色選択モード、音響効果選択モード
又は音量設定モードにすることにより、それぞれ音色選
択スイッチ、音響効果選択スイッチ、又は音量設定スイ
ッチとして動作させるように構成することもできる。音
色選択スイッチとして動作する場合は、複数音色の中か
ら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. It is used to specify, and when operating as a volume setting switch, it is used to increase or decrease the volume value. According to such a configuration, there is an advantage that the number of switches can be reduced.

【0048】次に、上記の構成において、本発明に係る
テンポ設定装置が適用された電子楽器の動作につき、テ
ンポ設定装置としての動作を中心に、図面を参照しなが
ら説明する。
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.

【0049】図3〜図5は、本発明に係るテンポ設定装
置の実施例1の動作を示すフローチャートである。この
実施例1は、ハーフテンポスイッチ143を押下するこ
とにより自動演奏のテンポを、その時点で設定されてい
るテンポの半分に落とすというものである。以下、上記
機能を実現するための動作につき詳細に説明する。
3 to 5 are flow charts showing the operation of the first embodiment of the tempo setting device according to the present invention. In the first embodiment, by pressing the half tempo switch 143, the tempo of the automatic performance is reduced to half the tempo set at that time. Hereinafter, the operation for realizing the above function will be described in detail.

【0050】図3は、本発明のテンポ設定装置が適用さ
れた電子楽器のメインルーチンを示すフローチャートで
あり、電源投入により起動される。電源が投入される
と、先ず、初期化処理が行われる(ステップS10)。
この初期化処理は、CPU10の内部状態を初期状態に
設定すると共に、RAM12に定義されているレジス
タ、カウンタ或いはフラグ等に初期値を設定する処理で
ある。また、この初期化処理では、音源19に所定のデ
ータを送り、電源投入時に不要な音が発生されるのを防
止する処理が行われる。この初期化処理が終了すると、
次いでスイッチイベント処理が行われる(ステップS1
1)。このスイッチイベント処理の詳細は、図4のフロ
ーチャートに示されている。
FIG. 3 is a flow chart showing the main routine of the electronic musical instrument to which the tempo setting device of the present invention is applied, which is started by turning on the power. When the power is turned on, first, initialization processing is performed (step S10).
The 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, flags, etc. defined in the RAM 12. Further, in this initialization process, a process of sending predetermined data to the sound source 19 and preventing an unnecessary sound from being generated when the power is turned on is performed. When this initialization process ends,
Next, switch event processing is performed (step S1).
1). The details of this switch event process are shown in the flowchart of FIG.

【0051】スイッチイベント処理では、先ず、パネル
スキャンが行われる(ステップS20)。これは、次の
ようにして行われる。即ち、CPU10はパネルインタ
フェース回路13に対してスキャン指令を送出する。こ
れにより、パネルインタフェース回路13は、上述した
方法によりパネルデータを生成し、CPU10に送る。
CPU10は、このパネルデータ(以下、「新パネルデ
ータ」という。)をRAM12の所定領域に格納する。
次いで、前回読み込んで既にRAM12に記憶されてい
るパネルデータ(以下、「旧パネルデータ」という。)
と、上記新パネルデータとを比較して相違するビットを
オンにしたパネルイベントマップを作成する。スイッチ
イベントの有無は、このパネルイベントマップを参照す
ることにより判断される。
In the switch event process, first, a panel scan is performed (step S20). This is performed as follows. That is, the CPU 10 sends a scan command to the panel interface circuit 13. As a result, the panel interface circuit 13 generates panel data by the method described above and sends it to the CPU 10.
The CPU 10 stores this panel data (hereinafter referred to as “new panel data”) in a predetermined area of the RAM 12.
Next, the panel data that has been previously read and already stored in the RAM 12 (hereinafter referred to as "old panel data").
And the above new panel data are compared to create a panel event map in which different bits are turned on. The presence / absence of a switch event is determined by referring to this panel event map.

【0052】上記パネルスキャン処理が終了すると、次
いで、パネルイベントの有無が調べられる(ステップS
21)。即ち、パネルイベントマップ中にオンになって
いるビットが1つ以上存在するかどうかが調べられる。
ここでスイッチイベントがないことが判断されると、つ
まりパネルイベントマップ中にオンになっているビット
が1つも存在しないことが判断されると、このスイッチ
イベント処理ルーチンからリターンしてメインルーチン
に戻る。一方、上記ステップS21でスイッチイベント
があることが判断されると、次いで、そのスイッチイベ
ントはリズム選択スイッチ141のイベントであるか否
かが調べられる(ステップS22)。これは、パネルイ
ベントマップ中のリズム選択スイッチ141の各スイッ
チに対応するビットがオンになっているか否かを調べる
ことにより行われる。
When the panel scan process is completed, it is then checked whether or not there is a panel event (step S).
21). That is, it is checked if there is more than one bit turned on in the panel event map.
If it is determined here that there is no switch event, that is, if there is no bit that is turned on in the panel event map, the switch event processing routine returns and returns to the main routine. . On the other hand, if it is determined in step S21 that there is a switch event, then it is checked whether or not the switch event is the event of the rhythm selection switch 141 (step S22). 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.

【0053】ここで、リズム選択スイッチ141のイベ
ントであることが判断されると、リズム変更処理が行わ
れる(ステップS23)。このリズム変更処理では、リ
ズム選択スイッチ141の中の押下されたスイッチに対
応するリズム番号がリズムバッファに記憶される。この
リズムバッファに記憶されたリズム番号は、自動演奏処
理において、読み出すべき自動演奏データを特定するた
めに使用される。また、リズムバッファに格納されたリ
ズム番号がパネルインタフェース回路13に送られる。
これにより、選択されたリズムに対応するリズム番号が
表示器144に表示される。
Here, if it is determined that the event is the event of the rhythm selection switch 141, rhythm change processing is performed (step S23). In this rhythm changing process, the rhythm number corresponding to the pressed switch in the rhythm selection switch 141 is stored in the rhythm buffer. The rhythm number stored in this rhythm buffer is used to specify the automatic performance data to be read in the automatic performance processing. Further, the rhythm number stored in the rhythm buffer is sent to the panel interface circuit 13.
As a result, the rhythm number corresponding to the selected rhythm is displayed on the display 144.

【0054】また、このリズム変更処理では、選択され
たリズムに対応する自動演奏データのヘッダ部に含まれ
るプリセットテンポデータがテンポバッファに格納され
る。そして、テンポバッファに格納されたプリセットテ
ンポデータは、上述したタイムカウンタのカウントアッ
プ周期を決定するために、そのタイムカウンタの制御部
に送られる。これにより、タイムカウンタはプリセット
テンポデータに応じた周期でカウントアップされる。従
って、自動演奏処理により発生される自動演奏音は、初
期状態(テンポスイッチ142又はハーフテンポスイッ
チ143が操作されない状態)ではプリセットテンポと
なる。その後、このスイッチイベント処理ルーチンから
リターンしてメインルーチンに戻る。
In the rhythm changing process, the preset tempo data included in the header portion of the automatic performance data corresponding to the selected rhythm is stored in the tempo buffer. Then, the preset tempo data stored in the tempo buffer is sent to the control unit of the time counter in order to determine the count-up period of the time counter. As a result, the time counter counts up in a cycle according to the preset tempo data. Therefore, the automatic performance sound generated by the automatic performance process has a preset tempo in the initial state (a state in which the tempo switch 142 or the half tempo switch 143 is not operated). After that, the process returns from this switch event processing routine and returns to the main routine.

【0055】上記ステップS21でリズム選択スイッチ
141のイベントでないことが判断されると、次いで、
テンポスイッチ142のイベントであるかどうかが調べ
られる(ステップS24)。これは、パネルイベントマ
ップ中のテンポアップスイッチ142A又はテンポダウ
ンスイッチ142Bに対応するビットがオンになってい
るか否かを調べることにより行われる。
If it is determined in step S21 that the event is not the rhythm selection switch 141, then
It is checked whether the event is the tempo switch 142 (step S24). 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.

【0056】ここで、テンポスイッチ142のイベント
であることが判断されると、テンポ変更処理が行われる
(ステップS25)。このテンポ変更処理では、先ず、
テンポアップスイッチ142Aのオンイベントであるか
どうかが調べられ、テンポアップスイッチ142Aのオ
ンイベントであることが判断されると、テンポバッファ
の内容がインクリメント(+1)される。次いで、テン
ポダウンスイッチ142Bのオンイベントであるかどう
かが調べられ、テンポダウンスイッチ142Bのオンイ
ベントであることが判断されると、テンポバッファの内
容がデクリメント(−1)される。このようにして、テ
ンポバッファの内容が変更されると、テンポバッファの
内容は、上述したように、タイムカウンタの制御部に送
られる。これにより、タイムカウンタは変更されたテン
ポデータに応じた周期でカウントアップされる。従っ
て、自動演奏処理によって発生される自動演奏音は変更
後のテンポデータに応じたテンポとなる。その後、この
スイッチイベント処理ルーチンからリターンしてメイン
ルーチンに戻る。
If it is determined that the event is the tempo switch 142 event, a tempo change process is performed (step S25). In this tempo change process, first,
Whether the tempo up switch 142A is an on event is checked, and if it is determined that the tempo up switch 142A is an on event, the content of the tempo buffer is incremented (+1). Next, it is checked whether the tempo down switch 142B is an on event, and if it is determined that the tempo down switch 142B is an on event, the contents of the tempo buffer are decremented (-1). When the contents of the tempo buffer are changed in this way, the contents of the tempo buffer are sent to the control unit of the time counter, as described above. As a result, the time counter counts up in a cycle according to the changed tempo data. Therefore, the automatic performance sound generated by the automatic performance processing has a tempo according to the changed tempo data. After that, the process returns from this switch event processing routine and returns to the main routine.

【0057】上記ステップS24でテンポスイッチ14
2のイベントでないことが判断されると、次いで、ハー
フテンポスイッチ143のイベントであるかどうかが調
べられる(ステップS26)。これは、パネルイベント
マップ中のハーフテンポスイッチ143に対応するビッ
トがオンになっているか否かを調べることにより行われ
る。
In step S24, the tempo switch 14
If it is determined that the event is not the event of No. 2, then it is checked whether it is the event of the half tempo switch 143 (step S26). This is done by checking whether the bit corresponding to the half tempo switch 143 in the panel event map is on.

【0058】ここで、ハーフテンポスイッチ143のイ
ベントであることが判断されると、ハーフテンポ処理が
行われる(ステップS27)。このハーフテンポ処理で
は、テンポバッファの内容が半分にされる。そして、テ
ンポバッファの内容が、上述したように、タイムカウン
タの制御部に送られる。これにより、タイムカウンタは
半分にされたテンポデータに応じた周期でカウントアッ
プされる。従って、自動演奏処理によって発生される自
動演奏音は、その時点で設定されていたテンポの半分の
テンポとなる。その後、このスイッチイベント処理ルー
チンからリターンしてメインルーチンに戻る。
If it is determined that the event is the half tempo switch 143, the half tempo process is performed (step S27). In this half tempo process, the contents of the tempo buffer are halved. Then, the contents of the tempo buffer are sent to the control unit of the time counter, as described above. As a result, the time counter counts up at a cycle corresponding to the halved tempo data. Therefore, the automatic performance sound generated by the automatic performance processing has a tempo that is half the tempo set at that time. After that, the process returns from this switch event processing routine and returns to the main routine.

【0059】上記ステップS26でハーフテンポスイッ
チ143のイベントでないことが判断されると、次い
で、リズムスタートスイッチ140のイベントがあった
かどうかが調べられる(ステップS28)。これは、パ
ネルイベントマップ中のリズムスタートスイッチ140
に対応するビットがオンになっているかどうかを調べる
ことにより行われる。
If it is determined in step S26 that the event is not the half tempo switch 143, then it is checked whether or not there is an event of the rhythm start switch 140 (step S28). This is the rhythm start switch 140 in the panel event map.
By checking if the bit corresponding to is turned on.

【0060】ここで、リズムスタートスイッチ140の
イベントがあったことが判断されると、自動演奏フラグ
が反転される(ステップS29)。即ち、自動演奏フラ
グが「1」にセットされて自動演奏モードにあれば、
「0」にクリアされて通常演奏モードに移行される。逆
に、自動演奏フラグが「0」にクリアされて通常演奏モ
ードにあれば「1」にセットされて自動演奏モードに移
行される。これにより、リズムスタートスイッチ140
が押下される度に、自動演奏モードと通常演奏モードと
が交互に繰り返されるトグル機能が実現されている。そ
の後、このスイッチイベント処理ルーチンからリターン
してメインルーチンに戻る。
When it is determined that there is an event of the rhythm start switch 140, the automatic performance flag is reversed (step S29). That is, if the automatic performance flag is set to "1" and the automatic performance mode is set,
It is cleared to "0" and the normal performance mode is entered. Conversely, if the automatic performance flag is cleared to "0" and the normal performance mode is set, it is set to "1" and the automatic performance mode is entered. As a result, the rhythm start switch 140
A toggle function is realized in which the automatic performance mode and the normal performance mode are alternately repeated each time is pressed. After that, the process returns from this switch event processing routine and returns to the main routine.

【0061】上記ステップS28でリズムスタートスイ
ッチ140のイベントでないことが判断されると、次い
で、その他のスイッチに対する処理が行われる(ステッ
プS30)。この「その他のスイッチ処理」により、例
えば、音色選択スイッチのイベントに応じた音色ナンバ
がRAM12に定義された音色バッファに格納される。
また、音響効果選択スイッチ、音量設定スイッチの各イ
ベントに対応して、音響効果番号、音量値がそれぞれR
AM12に定義された音響効果バッファ、音量バッファ
に格納される。その他種々のスイッチのイベントに対す
る処理が行われるが、これらの各処理は本発明とは直接
関係しないので説明は省略する。この「その他のスイッ
チ処理」が終了すると、このスイッチイベント処理ルー
チンからリターンしてメインルーチンに戻る。
If it is determined in step S28 that the rhythm start switch 140 is not the event, then the other switches are processed (step S30). By this "other switch processing", for example, the tone color number corresponding to the event of the tone color selection switch is stored in the tone color buffer defined in the RAM 12.
In addition, the sound effect number and the sound volume value are R respectively corresponding to each event of the sound effect selection switch and the sound volume setting switch.
It is stored in the sound effect buffer and the volume buffer defined in AM12. Although processing for various other switch events is performed, each processing is not directly related to the present invention, and therefore description thereof is omitted. When this "other switch process" is completed, the process returns from this switch event process routine and returns to the main routine.

【0062】メインルーチンでは、次いで、鍵盤イベン
ト処理が行われる(ステップS12)。この鍵盤イベン
ト処理では、先ず、鍵盤イベントの有無が調べられる。
これは、次のようにして行われる。即ち、鍵盤インタフ
ェース回路15で鍵盤装置16をスキャンすることによ
り、各鍵の押下状態を示すデータ(以下、「新キーデー
タ」という。)を各鍵に対応したビット列として取り込
む。
In the main routine, keyboard event processing is then performed (step S12). In this keyboard event process, the presence or absence of a keyboard event is first checked.
This is performed 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.

【0063】次いで、前回読み込んで既に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 or not there is a different bit. 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.

【0064】上記で作成した鍵イベントマップを参照す
ることにより鍵盤イベントがあったことが判断される
と、鍵盤イベント処理が行われる。鍵盤イベント処理で
は、鍵のオンイベントがあったことが判断された場合は
発音処理が行われる。この発音処理では、メロディパー
ト(特定の発音チャンネル)に音源19中の所定のオシ
レータが割り当てられる。
If 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 processing, sound generation processing is performed when it is determined that there is a key on event. In this sound generation process, a predetermined oscillator in the sound source 19 is assigned to the melody part (specific sound generation channel).

【0065】次いで、そのオンイベントのあった鍵のキ
ーナンバ、鍵の押下の強さ(速度)を示すイニシャルタ
ッチデータ、及びその時点で選択されている音色ナンバ
(音色バッファに格納されている)等に基づいて、例え
ば波形アドレス、周波数データ、エンベロープデータ、
フィルタ係数等が生成され、音源19に送られる。これ
により、音源19の発音が割り当てられたオシレータ
で、上記各データに基づいた楽音の発音が行われる。一
方、鍵盤イベント処理で鍵のオフイベントがあったこと
が判断された場合は、消音処理が行われる。より具体的
には、オフイベントがあった鍵に割り当てられている音
源19中のオシレータが検索され、所定のデータが音源
19に送られることにより消音が行われる。
Next, the key number of the key having the on event, the initial touch data indicating the strength (speed) of key depression, and the tone color number (stored in the tone color buffer) selected at that time, etc. Based on, for example, waveform address, frequency data, envelope data,
Filter coefficients and the like are generated and sent to the sound source 19. As a result, the oscillator to which the tone generator 19 is assigned produces tone sounds based on the above data. On the other hand, when it is determined in the keyboard event process that there is a key off event, the mute process is performed. More specifically, the oscillator in the sound source 19 assigned to the key having the off event is searched for, and predetermined data is sent to the sound source 19 to mute the sound.

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

【0067】自動演奏処理では、先ず、自動演奏フラグ
が「1」であるか否かが調べられる(ステップS4
0)。そして、自動演奏フラグが「1」でない、つまり
通常演奏モードであることが判断されると、ステップS
31以下の処理を行うことなくこの自動演奏処理ルーチ
ンからリターンしてメインルーチンに戻る。
In the automatic performance process, it is first checked whether or not the automatic performance flag is "1" (step S4).
0). When it is determined that the automatic performance flag is not "1", that is, the normal performance mode is set, step S
The process returns from the automatic performance processing routine to the main routine without performing the processing of 31 and below.

【0068】一方、自動演奏フラグが「1」、つまり自
動演奏モードであることが判断されると、自動演奏の処
理タイミングであるかどうかが調べられる(ステップS
41)。即ち、自動演奏データメモリ17から1つの自
動演奏データが読み込まれ、その自動演奏データに含ま
れているステップタイムと図示しないタイムカウンタで
カウントアップされているタイム値とが比較される。
On the other hand, when it is determined that the automatic performance flag is "1", that is, the automatic performance mode is set, it is checked whether or not it is the processing timing of the automatic performance (step S).
41). That is, one piece of automatic performance data is read from the automatic performance data memory 17, and the step time included in the automatic performance data is compared with the time value counted up by a time counter (not shown).

【0069】ここで、上記比較の結果が一致しないこと
が判断されると、未だ発音又は消音タイミングに至って
いない旨が認識され、ステップS42以下の処理を行う
ことなくこの自動演奏処理ルーチンからリターンしてメ
インルーチンに戻る。この場合、次回に、本自動演奏処
理ルーチンがコールされた場合も、同じ自動演奏データ
が読み込まれ、処理タイミングになったかどうかが調べ
られることになる。
If it is determined that the comparison results do not match, it is recognized that the sounding or mute timing has not been reached yet, and the process returns from this automatic performance processing routine without performing the processing of step S42 and thereafter. Then return to the main routine. In this case, when the automatic performance processing routine is called next time, the same automatic performance data is read and it is checked whether or not the processing timing has come.

【0070】一方、上記の比較結果が一致して処理タイ
ミングになったことが判断されると発音又は消音タイミ
ングが到来した旨が認識され、次いで、自動演奏データ
メモリ17から読み込まれた自動演奏データがノートオ
ンデータであるか否かが調べられる(ステップS4
2)。そして、ノートオンデータであることが判断され
ると発音処理が行われる(ステップS43)。発音処理
は、上記ノートオンデータ、その時点で音色バッファに
セットされている音色ナンバ等に基づいて、例えば波形
アドレス、周波数データ、エンベロープデータ、フィル
タ係数等が生成され、音源19に送られる。その後の動
作は、上述した鍵盤イベント処理における発音処理と同
じであるので、説明は省略する。その後、この自動演奏
処理ルーチンからリターンしてメインルーチンに戻る。
On the other hand, when it is determined that the above comparison results match and the processing timing is reached, it is recognized that the sounding or mute timing has come, and then the automatic performance data read from the automatic performance data memory 17 is read. Is the note-on data (step S4).
2). Then, if it is determined that the data is note-on data, a sounding process is performed (step S43). In the tone generation processing, for example, a waveform address, frequency data, envelope data, filter coefficient, etc. are generated based on the note-on data, the tone color number set in the tone color buffer at that time, and the like and sent to the tone generator 19. Subsequent operations are the same as the sound generation processing in the above-mentioned keyboard event processing, so description thereof will be omitted. After that, the routine returns from this automatic performance processing routine and returns to the main routine.

【0071】上記ステップS42でノートオンデータで
ないことが判断されると、次いで、その他の処理が行わ
れる(ステップS44)。この「その他の処理」では、
ノートオフデータに基づく消音処理、エンドマークデー
タに基づく自動演奏の終了処理(又は繰り返し実行処
理)、音色変更処理、音量変更処理等が含まれるが、本
発明とは直接関係しないので説明は省略する。この「そ
の他の処理」が終了するとこの自動演奏処理ルーチンか
らリターンしてメインルーチンに戻る。
If it is determined in step S42 that the data is not note-on data, then other processing is performed (step S44). In this "other processing",
It includes mute processing based on note-off data, automatic performance end processing (or repetitive execution processing) based on end mark data, timbre change processing, volume change processing, etc., but description thereof is omitted because it is not directly related to the present invention. . When this "other processing" ends, the automatic performance processing routine returns and returns to the main routine.

【0072】メインルーチンでは、次いで、その他の処
理が行われる(ステップ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.

【0073】以上説明したように、本実施例1によれ
ば、ハーフテンポスイッチ143でテンポ変更が指示さ
れた場合に、その時点で設定されているテンポが半分の
テンポに変更される。また、テンポスイッチ142でテ
ンポ変更が指示された場合は、その時点で設定されてい
るテンポが1テンポだけ増減される。従って、ハーフテ
ンポスイッチ143にワンタッチすることで現在のテン
ポを半分にし、その状態でテンポスイッチ142を操作
して1テンポずつ増減できるので、初心者が自動伴奏機
能を使用して曲を練習する場合にワンタッチでテンポを
半分にし、更にテンポスイッチで細かく調整することが
できるので、極めて簡単な操作で好みのテンポに容易に
設定することができる。従って、自動演奏を最初からや
り直すような場合でも、迅速に曲の練習を開始できると
いう効果がある。
As described above, according to the first embodiment, when the tempo change is instructed by the half tempo switch 143, the tempo set at that time is changed to half the tempo. When the tempo switch 142 instructs to change the tempo, the tempo set at that time is increased or decreased by one tempo. Therefore, the current tempo can be halved by one-touching the half tempo switch 143, and the tempo switch 142 can be operated in that state to increase or decrease the tempo one by one. Therefore, when a beginner uses the automatic accompaniment function to practice a song. The tempo can be halved with one touch, and the tempo switch can be used to make fine adjustments, so you can easily set the tempo to your liking with extremely simple operations. Therefore, even when the automatic performance is restarted from the beginning, it is possible to quickly start practicing the music.

【0074】(2)実施例2 この実施例2は、ハーフテンポスイッチ143を押下す
ることにより自動演奏のテンポを、その時点で設定され
ているテンポの半分に落とすだけでなく、テンポを落と
す割合を選択できるようにしたものである。以下、上記
機能を実現するための構成と動作につき詳細に説明す
る。
(2) Second Embodiment In the second embodiment, by pressing the half tempo switch 143, not only the tempo of the automatic performance is lowered to half the tempo set at that time, but also the tempo is lowered. It is made possible to select. The configuration and operation for realizing the above functions will be described in detail below.

【0075】図7は、実施例2に適用される操作パネル
の構成を示す図である。本操作パネルは、実施例1に用
いた操作パネルの構成に加え、割合選択スイッチ145
が設けられている点で相違している。なお、実施例1の
操作パネル(図2)の構成と同一部分には同一符号を付
して説明は省略する。
FIG. 7 is a diagram showing the configuration of the operation panel applied to the second embodiment. In addition to the configuration of the operation panel used in the first embodiment, this operation panel has a ratio selection switch 145.
Is different in that it is provided. The same components as those of the operation panel (FIG. 2) of the first embodiment are designated by the same reference numerals and the description thereof will be omitted.

【0076】割合選択スイッチ145は割合指定手段に
対応するものである。この割合選択スイッチ145は、
複数の例えば押釦スイッチで構成され、それぞれテンポ
を変更すべき割合が決められている。例えば、「−50
%」のスイッチはハーフテンポスイッチ143が押され
た場合にテンポを50%落とすことを指示するために用
いられ、同様に、「−30%」のスイッチはテンポを3
0%落とすことを指示するために用いられ、同様に、
「±0%」のスイッチはテンポを変更しないことを指示
するために用いられ、同様に、「+50%」のスイッチ
はテンポを50%上げることを指示するために用いられ
る。なお、上記のテンポを変更する割合(%)は、例示
したものに限られず、任意の値を用いることができる。
この割合選択スイッチ145で選択されたテンポ変更の
割合を示すデータ(以下、「割合データ」という。)
は、RAM12の「割合バッファ」に記憶される。
The ratio selection switch 145 corresponds to ratio specifying means. This ratio selection switch 145
It is composed of a plurality of push button switches, for example, and the rate at which the tempo should be changed is determined for each. For example, "-50
The "%" switch is used to instruct to decrease the tempo by 50% when the half tempo switch 143 is pressed, and similarly, the "-30%" switch sets the tempo to 3%.
Used to instruct to drop 0%, as well as
The "± 0%" switch is used to instruct not to change the tempo, and similarly, the "+ 50%" switch is used to instruct to increase the tempo by 50%. The rate (%) for changing the tempo described above is not limited to the exemplified one, and any value can be used.
Data indicating the rate of tempo change selected by the rate selection switch 145 (hereinafter referred to as "rate data").
Are stored in the “ratio buffer” of the RAM 12.

【0077】また、本実施例2では、割合選択スイッチ
145として、割合値毎に設けられた複数のスイッチで
構成されるものを例示したが、テンポスイッチ142と
同様に、アップスイッチ「+」とダウンスイッチ「−」
とで成るアップダウンスイッチ、或いはテンキー等で構
成することもできる。
In the second embodiment, the ratio selection switch 145 is exemplified by a plurality of switches provided for each ratio value. However, like the tempo switch 142, the up switch "+" is used. Down switch "-"
It is also possible to configure with an up-down switch consisting of, or a numeric keypad.

【0078】また、割合選択スイッチ145をアップダ
ウンスイッチで構成する場合は、この割合選択スイッチ
145とテンポスイッチ142とを共用するように構成
することもできる。この場合、テンポスイッチ142を
汎用スイッチと定義し、この汎用スイッチの動作モード
を切り換えるモード切換スイッチを別途設ける。そし
て、このモード切換スイッチでテンポ設定モードにされ
た場合は、汎用スイッチはテンポ設定するために使用さ
れ、モード切換スイッチで割合選択モードにされた場合
は、テンポ変更すべき割合を選択するために使用される
ように構成する。かかる構成によれば、スイッチの数を
少なくできるという利点がある。
When the ratio selection switch 145 is composed of an up / down switch, the ratio selection switch 145 and the tempo switch 142 may be shared. 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. When the tempo setting mode is set by the mode changeover switch, the general-purpose switch is used for setting the tempo, and when the proportion selection mode is set by the mode changeover switch, the tempo change ratio is selected. Configure to be used. According to such a configuration, there is an advantage that the number of switches can be reduced.

【0079】以下、上記の機能を実現するための動作に
つき詳細に説明する。この実施例2においては、実施例
1で使用したメインルーチン(図3)及び自動演奏処理
ルーチン(図5)はそのまま使用されるので説明は省略
する。
The operation for realizing the above functions will be described in detail below. In the second embodiment, since the main routine (FIG. 3) and the automatic performance processing routine (FIG. 5) used in the first embodiment are used as they are, the description thereof will be omitted.

【0080】この実施例2のスイッチイベント処理ルー
チンは、図8に示されるように、実施例1のスイッチイ
ベント処理ルーチン(図4)の一部が変更されて使用さ
れる。具体的には、ステップS27の処理の内容が実施
例1とは異なり、また、実施例1の処理ステップに加
え、ステップS28A及びS29Aが追加されている。
その他のステップは、図4を参照して既に説明したので
説明は省略する(同一ステップには同一符号を付してあ
る)。
The switch event processing routine of the second embodiment is used by partially modifying the switch event processing routine (FIG. 4) of the first embodiment as shown in FIG. Specifically, the content of the process of step S27 is different from that of the first embodiment, and steps S28A and S29A are added to the process steps of the first embodiment.
Since the other steps have already been described with reference to FIG. 4, description thereof will be omitted (the same steps are denoted by the same reference numerals).

【0081】図8のフローチャートにおいて、ステップ
S20から順次処理が行われ、ステップS28でリズム
スタートスイッチ140のイベントでないことが判断さ
れると、次いで、割合選択スイッチ145のイベントで
あるか否かが調べられる(ステップS28A)。これ
は、パネルイベントマップ中の割合選択スイッチ145
の各スイッチに対応するビットがオンになっているか否
かを調べることにより行われる。
In the flowchart of FIG. 8, processing is sequentially performed from step S20, and if it is determined in step S28 that the event is not the rhythm start switch 140, then it is checked whether or not the event is the ratio selection switch 145. (Step S28A). This is the ratio selection switch 145 in the panel event map.
This is done by checking whether or not the bit corresponding to each switch is turned on.

【0082】ここで、割合選択スイッチ145のイベン
トであることが判断されると、割合変更処理が行われる
(ステップS29A)。この割合変更処理では、割合選
択スイッチ145の中の押下されたスイッチに対応する
割合データが割合バッファに記憶される。この割合バッ
ファに記憶された割合データは、ハーフテンポ処理(ス
テップS27)でテンポを変更する場合に使用される。
また、割合バッファに格納された割合データがパネルイ
ンタフェース回路13に送られる。これにより、選択さ
れた割合に対応するデータが表示器144に表示され
る。その後、このスイッチイベント処理ルーチンからリ
ターンしてメインルーチンに戻る。一方、割合選択スイ
ッチ145のイベントでない場合に行われる「その他の
処理」(ステップS30)は、実施例1と同じである。
If it is determined that the event is the ratio selection switch 145, a ratio changing process is performed (step S29A). In this ratio changing process, the ratio data corresponding to the pressed switch in the ratio selection switch 145 is stored in the ratio buffer. The ratio data stored in the ratio buffer is used when the tempo is changed in the half tempo process (step S27).
Further, the ratio data stored in the ratio buffer is sent to the panel interface circuit 13. Thereby, the data corresponding to the selected ratio is displayed on the display 144. After that, the process returns from this switch event processing routine and returns to the main routine. On the other hand, “other processing” (step S30) performed when the event is not the event of the ratio selection switch 145 is the same as that in the first embodiment.

【0083】上記のようにして変更された割合データ
(割合バッファの内容)は、その後にハーフテンポスイ
ッチ143が操作された場合に参照される。即ち、ステ
ップS24でハーフテンポスイッチ143のイベントが
あることが判断されるとハーフテンポ処理が行われる
(ステップS27A)。このハーフテンポ処理では、テ
ンポバッファの内容が割合バッファの内容に応じて変更
される。例えば、テンポバッファの内容が「テンポ=1
20」に設定されており、割合バッファの内容が「−2
0%」に設定されておれば、テンポバッファの内容は
「テンポ=84」に変更される。そして、テンポバッフ
ァの内容が、上述したように、タイムカウンタの制御部
に送られる。これにより、タイムカウンタは「テンポ=
84」に応じた周期でカウントアップされる。従って、
自動演奏処理によって発生される自動演奏音は、その時
点で設定されていたテンポの70%のテンポ、つまり
「テンポ=84」となる。その後、このスイッチイベン
ト処理ルーチンからリターンしてメインルーチンに戻
る。
The ratio data (contents of the ratio buffer) changed as described above is referred to when the half tempo switch 143 is subsequently operated. That is, if it is determined in step S24 that there is an event of the half tempo switch 143, half tempo processing is performed (step S27A). In this half tempo processing, the contents of the tempo buffer are changed according to the contents of the ratio buffer. For example, if the contents of the tempo buffer is “tempo = 1
20 "and the content of the ratio buffer is" -2.
If it is set to "0%", the content of the tempo buffer is changed to "tempo = 84". Then, the contents of the tempo buffer are sent to the control unit of the time counter, as described above. As a result, the time counter displays "tempo =
It is counted up in a cycle according to "84". Therefore,
The automatic performance sound generated by the automatic performance processing has a tempo of 70% of the tempo set at that time, that is, "tempo = 84". After that, the process returns from this switch event processing routine and returns to the main routine.

【0084】以上説明したように、本実施例2によれ
ば、ハーフテンポスイッチ143でテンポ変更が指示さ
れた場合に、その時点で設定されているテンポが、割合
選択スイッチ145で指定された割合で変更される。ま
た、テンポスイッチ142でテンポ変更が指示された場
合には、その時点で設定されているテンポが1テンポだ
け増減される。従って、例えば割合選択スイッチ145
でテンポ変更の割合を予め「−30%」と指定しておけ
ば、ハーフテンポスイッチ143を押下することによ
り、ワンタッチで現在のテンポを30%だけ落とすこと
ができる。更に、その状態でテンポスイッチ142を操
作して1テンポずつ増減できるので、初心者が自動伴奏
機能を使用して曲を練習する場合に、予め変更するテン
ポの割合を割合選択スイッチ145を用いて指定してお
けば、ワンタッチで所望のテンポ近傍に設定し、更にテ
ンポスイッチ142を用いて細かくテンポを変更するこ
とができるのでテンポ設定操作が簡単になり、迅速に曲
の練習を開始できる。
As described above, according to the second embodiment, when the tempo change is instructed by the half tempo switch 143, the tempo set at that time is the rate specified by the rate selection switch 145. Will be changed in. When the tempo switch 142 instructs to change the tempo, the tempo set at that time is increased or decreased by one tempo. Therefore, for example, the ratio selection switch 145
If the rate of tempo change is designated as "-30%" in advance, the current tempo can be lowered by 30% with one touch by pressing the half tempo switch 143. Further, in that state, the tempo switch 142 can be operated to increase / decrease the tempo one by one. Therefore, when a beginner practices the music by using the automatic accompaniment function, the proportion of the tempo to be changed is designated by using the proportion selection switch 145. By doing so, the tempo can be set near the desired tempo with one touch, and the tempo can be finely changed by using the tempo switch 142, so that the tempo setting operation becomes simple and the practice of the song can be started quickly.

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

【0086】[0086]

【発明の効果】以上詳述したように、本発明によれば、
少ない操作で現在のテンポを所望のテンポに変更するこ
とのできる電子楽器のテンポ設定装置を提供できる。
As described in detail above, according to the present invention,
A tempo setting device for an electronic musical instrument that can change the current tempo to a desired tempo with a few operations can be provided.

【図面の簡単な説明】[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に使用される操作パネルの一
例を示す図である。
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 an operation common to the first and second embodiments of the present invention.

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

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

【図6】本発明の実施例1及び実施例2で共通に使用さ
れる自動演奏データの一例を示す図である。
FIG. 6 is a diagram showing an example of automatic performance data commonly used in the first and second embodiments of the present invention.

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

【図8】本発明の実施例2の動作を示すフローチャート
(スイッチイベント処理ルーチン)である。
FIG. 8 is a flowchart (switch event processing routine) showing the operation of the second exemplary 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 ハーフテンポスイッチ 144 表示器 145 割合選択スイッチ 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 30 System Bus 140 Rhythm Start Switch 141 Rhythm Selection switch 142 Tempo switch 142A Tempo up switch 142B Tempo down switch 143 Half tempo switch 144 Indicator 145 Ratio selection switch

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 自動演奏音を発生するための自動演奏機
能を有する電子楽器において、 前記自動演奏音のテンポ変更を指示する第1の指示手段
と、 該第1の指示手段の指示に応じて現在のテンポを予め定
められた割合で変更する第1のテンポ変更手段、 とを具備したことを特徴とする電子楽器のテンポ設定装
置。
1. An electronic musical instrument having an automatic performance function for generating an automatic performance sound, comprising: a first instruction means for instructing a tempo change of the automatic performance sound; and an instruction from the first instruction means. A tempo setting device for an electronic musical instrument, comprising: a first tempo changing means for changing the current tempo at a predetermined rate.
【請求項2】 自動演奏音を発生するための自動演奏機
能を有する電子楽器において、 前記自動演奏音のテンポ変更を指示する第1の指示手段
と、 該第1の指示手段の指示に応じて現在のテンポを予め定
められた割合で変更する第1のテンポ変更手段と、 前記自動演奏音のテンポ変更を指示する第2の指示手段
と、 該第2の指示手段の指示に応じて現在のテンポを1テン
ポだけ変更する第2のテンポ変更手段、 とを具備したことを特徴とする電子楽器のテンポ設定装
置。
2. An electronic musical instrument having an automatic performance function for generating an automatic performance sound, comprising: a first instruction means for instructing a tempo change of the automatic performance sound; and an instruction of the first instruction means. A first tempo changing means for changing the current tempo at a predetermined rate, a second instructing means for instructing to change the tempo of the automatic performance sound, and a current in accordance with an instruction of the second instructing means. A tempo setting device for an electronic musical instrument, comprising: a second tempo changing means for changing only one tempo.
【請求項3】 前記第1のテンポ変更手段は、現在のテ
ンポを半分にすることを特徴とする請求項1又は請求項
2に記載の電子楽器のテンポ設定装置。
3. The tempo setting device for an electronic musical instrument according to claim 1, wherein the first tempo changing means halves the current tempo.
【請求項4】 自動演奏音を発生するための自動演奏機
能を有する電子楽器において、 前記自動演奏音のテンポ変更の割合を指定する割合指定
手段と、 前記自動演奏音のテンポ変更を指示する第1の指示手段
と、 該第1の指示手段の指示に応じて現在のテンポを前記割
合指定手段で指定された割合で変更する第1のテンポ変
更手段、 とを具備したことを特徴とする電子楽器のテンポ設定装
置。
4. An electronic musical instrument having an automatic performance function for generating an automatic performance sound, a ratio designating unit for designating a rate of change of the tempo of the automatic performance sound, and a command for changing the tempo of the automatic performance sound. An electronic device comprising: a first instruction means; and a first tempo changing means for changing the current tempo at a rate designated by the rate designating means in response to an instruction from the first instruction means. Instrument tempo setting device.
【請求項5】 自動演奏音を発生するための自動演奏機
能を有する電子楽器において、 前記自動演奏音のテンポ変更の割合を指定する割合指定
手段と、 前記自動演奏音のテンポ変更を指示する第1の指示手段
と、 該第1の指示手段の指示に応じて現在のテンポを前記割
合指定手段で指定された割合で変更する第1のテンポ変
更手段と、 前記自動演奏音のテンポ変更を指示する第2の指示手段
と、 該第2の指示手段の指示に応じて現在のテンポを1テン
ポだけ変更する第2のテンポ変更手段、 とを具備したことを特徴とする電子楽器のテンポ設定装
置。
5. An electronic musical instrument having an automatic performance function for generating an automatic performance sound, a ratio designating unit for designating a rate of tempo change of the automatic performance sound, and a command for changing the tempo of the automatic performance sound. 1 instructing means, 1st tempo changing means for changing the current tempo according to the instruction of the 1st instructing means at a rate designated by the rate designating means, and instructing to change the tempo of the automatic performance sound And a second tempo changing means for changing the current tempo by one tempo according to the instruction of the second indicating means. .
【請求項6】 前記第1のテンポ変更手段は、現在のテ
ンポを半分にすることを特徴とする請求項4又は請求項
5に記載の電子楽器のテンポ設定装置。
6. The tempo setting device for an electronic musical instrument according to claim 4 or 5, wherein the first tempo changing means halves the current tempo.
JP6190081A 1994-07-20 1994-07-20 Tempo setting device for electronic musical instrument Pending JPH0830272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6190081A JPH0830272A (en) 1994-07-20 1994-07-20 Tempo setting device for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6190081A JPH0830272A (en) 1994-07-20 1994-07-20 Tempo setting device for electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH0830272A true JPH0830272A (en) 1996-02-02

Family

ID=16252055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6190081A Pending JPH0830272A (en) 1994-07-20 1994-07-20 Tempo setting device for electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH0830272A (en)

Similar Documents

Publication Publication Date Title
JP2003099032A (en) Chord presenting device and computer program for chord presentation
JP3568326B2 (en) Electronic musical instrument
JPH06259064A (en) Electronic musical instrument
JP2885333B2 (en) Electronic musical instrument
JP3271447B2 (en) Electronic musical instrument tempo setting device
JP3171759B2 (en) Automatic performance device
JPH0830272A (en) Tempo setting device for electronic musical instrument
JPH06348258A (en) Automatic playing device of electronic musical instrument
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
JPH0830273A (en) Tempo setting device for electronic musical instrument
JP2953937B2 (en) Electronic musical instrument volume control device
JP3630266B2 (en) Automatic accompaniment device
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JP3385545B2 (en) Automatic performance device
JP3097888B2 (en) Electronic musical instrument volume setting device
JP3529123B2 (en) Automatic performance device and automatic performance method
JP3356326B2 (en) Electronic musical instrument
JPH0772869A (en) Tuning support system of electronic musical instrument
JPH06161438A (en) Data input device of electronic musical instrument
JP3375220B2 (en) Electronic musical instrument
JPH10254444A (en) Displaying device and recording medium in which program or data concerning relevant device are recorded.
JPH07199940A (en) Demonstrative playing controller for electronic musical instrument
JPH08106287A (en) Automatic playing device
JP2002287748A (en) Electronic musical instrument
JPH08106284A (en) Automatic playing device of electronic musical instrument

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20001213