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

Tempo setting device of electronic musical instrument

Info

Publication number
JPH07230286A
JPH07230286A JP6285867A JP28586794A JPH07230286A JP H07230286 A JPH07230286 A JP H07230286A JP 6285867 A JP6285867 A JP 6285867A JP 28586794 A JP28586794 A JP 28586794A JP H07230286 A JPH07230286 A JP H07230286A
Authority
JP
Japan
Prior art keywords
tempo
rhythm
value
standard
musical instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6285867A
Other languages
Japanese (ja)
Other versions
JP3271447B2 (en
Inventor
Sadasuke Wakuta
定資 和久田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP28586794A priority Critical patent/JP3271447B2/en
Priority to US08/343,859 priority patent/US5585586A/en
Publication of JPH07230286A publication Critical patent/JPH07230286A/en
Application granted granted Critical
Publication of JP3271447B2 publication Critical patent/JP3271447B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide a simple, inexpensive and highly operable tempo setting device of electronic musical instrument in which the tempo setting is easily done without looking at the tempo value shown on a display. CONSTITUTION:This tempo setting device is applicable to an electronic musical instrument which automatically performs a rhythm playing based on prescribed rhythm playing data selected from among the plural rhythm playing data stored in a rhythm playing data storage means 17. The device is provided with a standard tempo regulating means which sets the rhythm used in the playing based on the selected and prescribed rhythm playing data, a calculation means 10 which makes a prescribed standard tempo value correspond to the adjustment point of a tempo operation key 16 having an adjustment point at a specific position within a variable range of a prescribed range and calculates a new tempo value based on the standard tempo value in accordance with the amount of displacement of the key 16 from the adjustment point and a control means 10 which sets the calculated tempo value as the tempo value of the automatically played rhythm based on the selected and prescribed rhythm playing data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば8ビート、ワル
ツ、マンボ等といったリズムのテンポを設定する電子楽
器のテンポ設定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tempo setting device for an electronic musical instrument which sets the tempo of rhythm such as 8-beat, waltz, mambo, etc.

【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, generally, a plurality of rhythm performance data corresponding to a plurality of rhythms are stored in advance in a memory, and an operator selects an arbitrary rhythm from a plurality of rhythms. The performance can be automatically performed.

【0003】即ち、操作者がリズム選択スイッチでリズ
ムを選択した後、リズムスタートスイッチを操作してリ
ズム演奏の開始を指示することにより、リズム音の自動
演奏(自動リズム演奏)が開始される。リズム演奏の開
始が指示されると、電子楽器の制御部は、選択されたリ
ズムに対応するリズム演奏データをメモリから順次読み
出し、これを順次音源に送る。音源は、リズム演奏デー
タに基づいて楽音信号を生成し、これをスピーカに送
る。これによりスピーカからリズム音が自動的に発生さ
れる。
That is, after the operator selects a rhythm with the rhythm selection switch and operates the rhythm start switch to instruct the start of the rhythm performance, the automatic performance of the rhythm sound (automatic rhythm performance) is started. When the start of the rhythm performance is instructed, the control unit of the electronic musical instrument sequentially reads out the rhythm performance data corresponding to the selected rhythm from the memory, and sequentially sends it to the sound source. The sound source generates a tone signal based on the rhythm performance data and sends it to the speaker. As a result, a rhythm sound is automatically generated from the speaker.

【0004】かかる動作によりリズム演奏が自動的に行
われている状態で、演奏者は、その電子楽器の発音を指
示する操作子、例えば鍵盤型の電子楽器であれば鍵盤、
ギター型の電子楽器であれば弦等を操作することによ
り、リズム演奏をバックにしたメロディ演奏等が可能に
なっている。
In a state where the rhythm performance is automatically performed by such an operation, the performer gives an instruction to sound the electronic musical instrument, for example, a keyboard for a keyboard type electronic musical instrument,
In the case of a guitar-type electronic musical instrument, it is possible to play a melody with a rhythm performance as a back by operating a string or the like.

【0005】ところで、自動リズム演奏を行わせる場合
の適正なテンポ(標準テンポ)は、各リズムで区々であ
る。また、各リズムの適正なテンポは、演奏者のリズム
に対する感性によっても異なることが経験的に知られて
いる。従って、従来は、演奏者がリズムを選択して標準
テンポでリズム演奏を開始させた後に、更にテンポスイ
ッチを操作して好みのテンポに調整している。
By the way, the proper tempo (standard tempo) when performing an automatic rhythm performance is different for each rhythm. It has been empirically known that the proper tempo of each rhythm also depends on the rhythm of the performer. Therefore, conventionally, after the performer selects a rhythm and starts the rhythm performance at the standard tempo, the tempo switch is further operated to adjust the tempo to a desired tempo.

【0006】このようなテンポを調整するための装置と
してテンポ設定装置が用いられている。テンポ設定装置
としては、例えば、ロータリエンコーダを用いたダイヤ
ル型の操作子と、この操作子により設定されたテンポ値
を表示する表示器で構成されている。かかるテンポ設定
装置の操作子及び表示器は、鍵盤型の電子楽器では、演
奏者が操作し易く且つ見易いように演奏者の正面の操作
パネルに配置されるのが一般的である。従って、演奏者
は表示器を見ながら操作子を操作して好みのテンポ値に
設定することができる。
A tempo setting device is used as a device for adjusting the tempo. The tempo setting device includes, for example, a dial-type operator using a rotary encoder and a display device that displays the tempo value set by the operator. In a keyboard-type electronic musical instrument, the operator and the display of such a tempo setting device are generally arranged on an operation panel in front of the performer so that the performer can easily operate and see. Therefore, the player can set the desired tempo value by operating the manipulator while looking at the display.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、例えば
ギター型の電子楽器のように、肩から吊るして演奏する
電子楽器では操作子や表示器が演奏者から見にくい位置
になることが多い。従って、演奏中にテンポを変更する
ような場合に、そのリズムのテンポの標準値、現在値等
を知ることが困難であり、テンポ設定をスムーズに行う
ことができないという問題があった。
However, in an electronic musical instrument that is hung from the shoulder and played, such as a guitar-type electronic musical instrument, the operator and the display are often in a position that is difficult for the player to see. Therefore, when changing the tempo during a performance, it is difficult to know the standard value, the current value, etc. of the tempo of the rhythm, and there is a problem that the tempo cannot be set smoothly.

【0008】また、従来のテンポ設定装置では、テンポ
操作子の可動範囲は最小テンポ値から最大テンポ値まで
の範囲に対応しているので、リズムによっては、そのリ
ズムの標準テンポがテンポ操作子の可動範囲の中点付近
に対応せず、テンポ操作子の可動範囲の一端側に偏って
しまうことがあった。かかる場合は、演奏者は、リズム
の標準テンポを変更しようとする場合に、上記偏った位
置を中心としてテンポを変更しなければならないので、
上記偏った方向に更にリズムを変更しようとするとテン
ポ操作子を動かせる範囲が狭くなり、テンポ調整が困難
になるという問題があった。
Further, in the conventional tempo setting device, since the movable range of the tempo operator corresponds to the range from the minimum tempo value to the maximum tempo value, depending on the rhythm, the standard tempo of the rhythm is the tempo operator's. There was a case where it did not correspond to the midpoint of the movable range and was biased toward one end of the movable range of the tempo operator. In such a case, when the performer tries to change the standard tempo of the rhythm, the tempo must be changed centering on the biased position.
If the rhythm is further changed in the biased direction, the range in which the tempo operator can be moved becomes narrower, which makes it difficult to adjust the tempo.

【0009】本発明は、かかる事情に鑑みてなされたも
のであり、簡単且つ安価であるにもかかわらずテンポ値
の表示器を見なくても容易にテンポ設定ができる操作性
に優れた電子楽器のテンポ設定装置を提供することを目
的とする。
The present invention has been made in view of the above circumstances, and is an electronic musical instrument excellent in operability that can be easily set at a low tempo without looking at the tempo value display, despite being simple and inexpensive. It is an object of the present invention to provide a tempo setting device.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の電子楽器のテンポ設定装置は、リ
ズム演奏データ記憶手段に記憶された複数のリズム演奏
データの中から選択された所定のリズム演奏データに基
づいて自動的にリズム演奏を行う電子楽器に適用される
テンポ設定装置であって、前記選択された所定のリズム
演奏データに基づいて演奏されるリズムの標準テンポ値
を規定する標準テンポ規定手段と、所定範囲で可動であ
り、該可動範囲内の特定位置に調整点を有するテンポ操
作子と、該テンポ操作子の前記調整点に、前記標準テン
ポ規定手段で規定された標準テンポ値を対応させ、前記
調整点からのテンポ操作子の変位量に応じて前記標準テ
ンポ値に基づき新しいテンポ値を算出する算出手段と、
該算出手段で算出されたテンポ値を、前記選択された所
定のリズム演奏データに基づいて自動演奏されるリズム
のテンポ値として設定する制御手段、とを備えて構成さ
れている。
To achieve the above object, the tempo setting device for an electronic musical instrument according to claim 1 is selected from a plurality of rhythm performance data stored in rhythm performance data storage means. A tempo setting device applied to an electronic musical instrument that automatically performs rhythm performance based on predetermined rhythm performance data, wherein a standard tempo value of a rhythm played based on the selected predetermined rhythm performance data is set. Standard tempo defining means for defining, a tempo operator that is movable within a predetermined range and has an adjustment point at a specific position within the movable range, and the adjustment point of the tempo operator is defined by the standard tempo defining means. And a calculation means for calculating a new tempo value based on the standard tempo value in accordance with the displacement amount of the tempo operator from the adjustment point.
Control means for setting the tempo value calculated by the calculating means as the tempo value of the rhythm automatically played based on the selected predetermined rhythm performance data.

【0011】また、同様の目的で、請求項2に記載の電
子楽器のテンポ設定装置は、前記標準テンポ規定手段と
して、各リズム演奏データの標準テンポ値が記憶された
標準テンポ値記憶手段を用いたことを特徴とする。
For the same purpose, the tempo setting device for an electronic musical instrument according to a second aspect uses standard tempo value storage means for storing the standard tempo value of each rhythm performance data as the standard tempo defining means. It is characterized by having been.

【0012】また、同様の目的で、請求項3に記載の電
子楽器のテンポ設定装置は、前記標準テンポ規定手段と
して、任意の標準テンポ値を入力できる入力手段を用い
たことを特徴とする。
For the same purpose, the tempo setting device for an electronic musical instrument according to a third aspect of the invention is characterized in that an input means for inputting an arbitrary standard tempo value is used as the standard tempo defining means.

【0013】また、同様の目的で、請求項4に記載の電
子楽器のテンポ設定装置は、前記テンポ操作子の調整点
を、該テンポ操作子の可動範囲の中点近傍の所定範囲に
設けたことを特徴とする。
For the same purpose, in the tempo setting device for an electronic musical instrument according to a fourth aspect, the adjustment point of the tempo operator is provided in a predetermined range near the midpoint of the movable range of the tempo operator. It is characterized by

【0014】また、同様の目的で、請求項5に記載の電
子楽器のテンポ設定装置は、前記テンポ操作子として、
前記調整点にクリックを有する回転式のポテンショメー
タを用いたことを特徴とする。
Further, for the same purpose, the tempo setting device for an electronic musical instrument according to a fifth aspect is characterized in that:
A rotary potentiometer having a click at the adjustment point is used.

【0015】また、同様の目的で、請求項6に記載の電
子楽器のテンポ設定装置は、前記テンポ操作子として、
前記調整点にクリックを有するスライド式のポテンショ
メータを用いたことを特徴とする。
Further, for the same purpose, the tempo setting device for an electronic musical instrument according to a sixth aspect is characterized in that, as the tempo operator,
A sliding potentiometer having a click at the adjustment point is used.

【0016】また、同様の目的で、請求項7に記載の電
子楽器のテンポ設定装置は、前記選択されたリズム演奏
データ毎に最小テンポ値及び最大テンポ値を記憶する記
憶手段を更に備え、前記算出手段は、前記テンポ操作子
の可動範囲の一端から調整点までを前記最小テンポ値か
ら標準テンポ値までに対応させ、前記テンポ操作子の可
動範囲の調整点から他端までを前記標準テンポ値から最
大テンポ値までに対応させ、前記調整点からのテンポ操
作子の変位量に応じて新しいテンポ値を算出することを
特徴とする。
Further, for the same purpose, the tempo setting device for an electronic musical instrument according to a seventh aspect further comprises storage means for storing a minimum tempo value and a maximum tempo value for each of the selected rhythm performance data, The calculating means associates from one end of the movable range of the tempo operator to the adjustment point with the minimum tempo value to the standard tempo value, and from the adjustment point of the movable range of the tempo operator to the other end with the standard tempo value. To the maximum tempo value, and a new tempo value is calculated according to the amount of displacement of the tempo operator from the adjustment point.

【0017】[0017]

【作用】請求項1に記載の電子楽器のテンポ設定装置に
おいては、例えば所定のリズムの選択に応じてそのリズ
ムの標準テンポが規定されると、その標準テンポを表す
標準テンポ値がテンポ操作子の調整点に対応付けられ
る。そして、テンポ操作子が操作されると、調整点に対
応付けられた標準テンポ値を基準として、テンポ操作子
の変位量に応じて上記標準テンポ値に基づいて新しいテ
ンポ値が算出される。この新しいテンポ値がそのリズム
のテンポ値として設定される。以後は、新たに設定され
たテンポ値に応じたテンポで自動リズム演奏が行われ
る。
In the tempo setting device for an electronic musical instrument according to claim 1, for example, when a standard tempo of a rhythm is defined according to selection of a predetermined rhythm, the standard tempo value representing the standard tempo is the tempo operator. Associated with the adjustment point of. When the tempo operator is operated, a new tempo value is calculated based on the standard tempo value according to the displacement amount of the tempo operator, with the standard tempo value associated with the adjustment point as a reference. This new tempo value is set as the tempo value for that rhythm. After that, the automatic rhythm performance is performed at the tempo according to the newly set tempo value.

【0018】これにより、演奏者は、調整点に対応付け
られた標準テンポを基準に、テンポ操作子を操作して好
みのテンポに変更できる。例えば調整点をテンポ操作子
の可動範囲の中点近傍に設定すれば、その中点近傍を中
心にテンポ操作子を操作することにより当該リズムのテ
ンポを好みのテンポに変更することができる。従って、
従来のように、テンポ操作子の可動範囲内の偏った位置
を中心としてテンポを変更する必要がなく、テンポ設定
操作が容易になる。
As a result, the performer can operate the tempo operator based on the standard tempo associated with the adjustment point to change the tempo to a desired tempo. For example, if the adjustment point is set near the midpoint of the movable range of the tempo operator, the tempo of the rhythm can be changed to a desired tempo by operating the tempo operator around the midpoint. Therefore,
Unlike the conventional case, it is not necessary to change the tempo centered on a biased position within the movable range of the tempo operator, and the tempo setting operation becomes easy.

【0019】また、請求項2に記載の電子楽器のテンポ
設定装置は、前記標準テンポ規定手段として、各リズム
演奏データの標準テンポ値が記憶された標準テンポ値記
憶手段を用いている。即ち、各リズム演奏データに基づ
き演奏されるリズムの標準テンポ値を、予め各リズム演
奏データに対応せしめて標準テンポ値記憶手段に記憶し
ておき、例えばリズム選択スイッチ等でリズムが選択さ
れた場合に、選択されたリズムに対応する標準テンポ値
を読み出して新しい標準テンポ値とする。
In the tempo setting device for an electronic musical instrument according to a second aspect of the present invention, the standard tempo value storage means for storing the standard tempo value of each rhythm performance data is used as the standard tempo defining means. That is, when the standard tempo value of the rhythm to be played based on each rhythm performance data is stored in advance in the standard tempo value storage means in association with each rhythm performance data, for example, when the rhythm is selected by the rhythm selection switch or the like. Then, the standard tempo value corresponding to the selected rhythm is read and set as a new standard tempo value.

【0020】これにより、例えばリズム選択スイッチに
よるリズム選択操作に連動してそのリズムの標準テンポ
値をテンポ操作子の調整点に対応させることができるの
で、リズム毎の標準テンポ値を設定する手間が省け、操
作性が向上する。
Thus, for example, the standard tempo value of the rhythm can be made to correspond to the adjustment point of the tempo operator in conjunction with the rhythm selection operation by the rhythm selection switch, so that it is troublesome to set the standard tempo value for each rhythm. Saves and improves operability.

【0021】また、請求項3に記載の電子楽器のテンポ
設定装置においては、入力手段から入力された値を新し
い標準テンポ値と決定するようにしている。これによ
り、演奏者は、各リズムの標準テンポ値として任意の値
をテンポ操作子の調整点に対応させることができるの
で、演奏者の感性に合った標準テンポを設定することが
できる。
In the tempo setting device for an electronic musical instrument according to a third aspect of the present invention, the value input from the input means is determined as a new standard tempo value. As a result, the performer can associate any value as the standard tempo value of each rhythm with the adjustment point of the tempo operator, so that the standard tempo can be set according to the sensitivity of the performer.

【0022】また、請求項4に記載の電子楽器のテンポ
設定装置においては、前記テンポ操作子の調整点は、該
テンポ操作子の可動範囲の中点近傍の所定範囲に設けら
れている。これにより、演奏者は、テンポ操作子の可動
範囲の中点近傍の所定範囲を中心としてテンポを設定
(変更)することができるので、テンポ設定操作が容易
になり、操作性が向上する。
Further, in the tempo setting device for an electronic musical instrument according to a fourth aspect, the adjustment point of the tempo operator is provided in a predetermined range near the midpoint of the movable range of the tempo operator. This allows the player to set (change) the tempo around a predetermined range near the midpoint of the movable range of the tempo operator, which facilitates the tempo setting operation and improves operability.

【0023】また、請求項5又は請求項6に記載の電子
楽器のテンポ設定装置においては、前記操作子として、
それぞれ前記調整点にクリックを有する回転式のポテン
ショメータ、又は前記調整点にクリックを有するスライ
ド式のポテンショメータを用いているので、演奏者は、
テンポ値を表示する表示器が見えなくてもクリック位置
を手掛かりにその時点で選択されているリズムの標準テ
ンポを知ることができる。従って、演奏者は、一旦テン
ポ操作子をクリック位置に設定して標準テンポを認識し
た上でテンポ操作子を操作して自分の好みのテンポに変
更することができるので、テンポ設定操作が容易にな
り、操作性に優れたテンポ設定装置を提供できる。
Further, in the tempo setting device for an electronic musical instrument according to claim 5 or 6, as the operation element,
Since each uses a rotary potentiometer having a click at the adjustment point or a slide potentiometer having a click at the adjustment point, the performer is
Even if the display for displaying the tempo value cannot be seen, the standard tempo of the rhythm currently selected can be known by using the click position as a clue. Therefore, the performer can set the tempo manipulator to the click position once, recognize the standard tempo, and then operate the tempo manipulator to change the tempo to his or her own preference, which facilitates the tempo setting operation. Therefore, it is possible to provide a tempo setting device having excellent operability.

【0024】また、請求項7に記載の電子楽器のテンポ
設定装置においては、前記テンポ操作子の可動範囲の一
端から調整点までが前記最小テンポ値から標準テンポ値
までに対応付けられ、前記テンポ操作子の可動範囲の調
整点から他端までが前記標準テンポ値から最大テンポ値
までに対応付けられる。この状態において、テンポ操作
子の位置に対応するテンポが算出される。
In the tempo setting device for an electronic musical instrument according to a seventh aspect of the present invention, one end of the movable range of the tempo operator to the adjustment point is associated with the minimum tempo value to the standard tempo value, and the tempo is set. From the adjustment point of the movable range of the operator to the other end is associated with the standard tempo value to the maximum tempo value. In this state, the tempo corresponding to the position of the tempo operator is calculated.

【0025】これにより、調整点に標準テンポが対応付
けられると共に、テンポ操作子の全可動範囲に対して最
小テンポ値から最大テンポ値までの範囲のテンポ値が対
応付けられるので、テンポ操作子の全可動範囲をテンポ
設定のために使用することが可能となり、精密且つ容易
にテンポ設定操作ができる。
As a result, the standard tempo is associated with the adjustment point, and the tempo values in the range from the minimum tempo value to the maximum tempo value are associated with the entire movable range of the tempo operator. The entire movable range can be used for tempo setting, and the tempo setting operation can be performed precisely and easily.

【0026】[0026]

【実施例】以下、本発明の電子楽器のテンポ設定装置の
実施例につき、図面を参照しながら詳細に説明する。な
お、本実施例では、ギター型の電子楽器に適用されたテ
ンポ設定装置を想定しているので鍵盤装置は備えられて
いない。しかし、本発明はギター型の電子楽器に限ら
ず、鍵盤型、その他如何なるタイプの電子楽器に適用で
きる。以下においては、電子楽器のうち、テンポ設定装
置として機能する部分の構成及び動作を中心に説明す
る。
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. In this embodiment, a tempo setting device applied to a guitar-type electronic musical instrument is assumed, so a keyboard device is not provided. However, the present invention is not limited to a guitar-type electronic musical instrument, but can be applied to a keyboard-type electronic musical instrument or any other type of electronic musical instrument. In the following, the configuration and operation of a portion of the electronic musical instrument that functions as a tempo setting device will be mainly described.

【0027】図1は、本発明のテンポ設定装置が適用さ
れた電子楽器の実施例の概略構成を示すブロック図であ
る。図1においては、弾弦に応じた信号に基づいて発音
する機能に係る部分の構成は省略されている。
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. In FIG. 1, the configuration of the portion related to the function of producing sound based on a signal corresponding to a string is omitted.

【0028】本電子楽器は、中央処理装置(以下、「C
PU」という。)10、プログラムメモリ11、ランダ
ムアクセスメモリ(以下、「RAM」という。)12、
パネルインタフェース回路13、リズム演奏データメモ
リ17、波形メモリ18及び音源(トーンジェネレー
タ)19がシステムバス30で相互に接続されて構成さ
れている。
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,
A panel interface circuit 13, a rhythm performance data memory 17, a waveform memory 18 and a tone generator (tone generator) 19 are connected to each other by a system bus 30.

【0029】CPU10は、プログラムメモリ11に格
納されている制御プログラムに従って、本電子楽器の全
体を制御する。本発明のテンポ設定装置の算出手段及び
制御手段は、このCPU10により実現されている。こ
のCPU10の動作の詳細については後述する。このC
PU10には、図示しないタイムカウンタが含まれてい
る。このタイムカウンタは、リズム演奏モード(通常演
奏モードに相対する動作モードであり、自動リズム演奏
が行われるモードである。)にされた場合に動作が開始
され、以後リズム演奏モードが継続されている間は一定
周期でカウントアップされる。このタイムカウンタは、
後述するリズム演奏処理において発音又は消音のタイミ
ングを検出するために使用される。
The CPU 10 controls the entire electronic musical instrument according to a control program stored in the program memory 11. The calculation means and control means of the tempo setting device of the present invention are realized by the CPU 10. Details of the operation of the CPU 10 will be described later. This C
The PU 10 includes a time counter (not shown). This time counter starts its operation when it is set to the rhythm performance mode (an operation mode relative to the normal performance mode and is a mode in which automatic rhythm performance is performed), and thereafter the rhythm performance mode is continued. The period is incremented at regular intervals. This time counter is
It is used to detect the timing of sound generation or mute in the rhythm performance processing described later.

【0030】このCPU10には、MIDIインタフェ
ース回路23が接続されている。MIDIインタフェー
ス回路23は、本電子楽器と外部装置との間のMIDI
データの送受を制御する。外部装置としては、それぞれ
例えばMIDIインタフェースを有するパーソナルコン
ピュータ、シーケンサ、他の電子楽器等を挙げることが
できる。
A MIDI interface circuit 23 is connected to the CPU 10. The MIDI interface circuit 23 is a MIDI interface between the electronic musical instrument and an external device.
Control the sending and receiving of data. Examples of the external device include a personal computer, a sequencer, and other electronic musical instruments each having a MIDI interface.

【0031】プログラムメモリ11は、例えばリードオ
ンリメモリ(以下、「ROM」という。)で構成されて
いる。このプログラムメモリ11には、上述したCPU
10を動作させるための制御プログラムが記憶されてい
る他、CPU10が各種処理に用いる種々の固定データ
が記憶されている。また、このプログラムメモリ11に
は、図6に示される変換テーブル110が記憶されてい
る。この変換テーブル110の詳細については後述す
る。
The program memory 11 is composed of, for example, a read only memory (hereinafter referred to as "ROM"). The program memory 11 includes the CPU described above.
A control program for operating the CPU 10 is stored, and various fixed data used by the CPU 10 for various processes are stored. Further, the conversion table 110 shown in FIG. 6 is stored in the program memory 11. Details of the conversion table 110 will be described later.

【0032】このプログラムメモリ11の内容はCPU
10により読み出される。即ち、CPU10は、プログ
ラムメモリ11から制御プログラム(命令)を読み出し
て解釈・実行すると共に、所定の固定データを読み出し
て各種処理に使用し、更に変換テーブル110を用いて
後述するテンポ設定ボリューム16から取り込んだデー
タを変換する処理等を行う。CPU10の処理の詳細に
ついては後述する。
The content of this program memory 11 is the CPU
Read by 10. That is, the CPU 10 reads a control program (command) from the program memory 11 for interpretation / execution, reads predetermined fixed data for use in various processes, and further uses the conversion table 110 to read from a tempo setting volume 16 described later. Perform processing such as converting the captured data. Details of the processing of the CPU 10 will be described later.

【0033】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.

【0034】パネルインタフェース回路13には、操作
パネル14及びA/D変換器15が接続されている。ま
た、A/D変換器15には、操作パネル14に搭載され
たテンポ設定ボリューム16が接続されている。
An operation panel 14 and an A / D converter 15 are connected to the panel interface circuit 13. The tempo setting volume 16 mounted on the operation panel 14 is connected to the A / D converter 15.

【0035】操作パネル14は、本電子楽器に各種動作
を指示するために使用されるものであり、例えば図2に
示されるように構成されている。この操作パネル14に
は、上記テンポ設定ボリューム16の他、リズムスター
トスイッチ140、リズム選択スイッチ141、表示器
142が設けられている。なお、図2では本発明と関係
しないスイッチ、表示器等の記載は省略してある。
The operation panel 14 is used for instructing the electronic musical instrument to perform various operations, and is constructed, for example, as shown in FIG. In addition to the tempo setting volume 16, the operation panel 14 is provided with a rhythm start switch 140, a rhythm selection switch 141, and a display 142. Note that, in FIG. 2, illustrations of switches, indicators, and the like not related to the present invention are omitted.

【0036】リズムスタートスイッチ140は、リズム
演奏の開始又は停止を指示するために使用される。本電
子楽器の動作モードは、このリズムスタートスイッチ1
40が押下される度にリズム演奏モードと通常演奏モー
ドとが交互に反転される。リズム選択スイッチ141
は、例えば8ビート、ワルツ、マンボ等といった各種リ
ズムの中から1つのリズムを選択するために使用され
る。このリズム選択スイッチ141が押下されると、そ
の度にリズム番号がインクリメントされ、当該リズム番
号に対応付けられた新たなリズムが選択される。
The rhythm start switch 140 is used to instruct the start or stop of the rhythm performance. The operation mode of this electronic musical instrument is the rhythm start switch 1
Each time 40 is pressed, the rhythm performance mode and the normal performance mode are alternately inverted. Rhythm selection switch 141
Is used to select one rhythm from various rhythms such as 8-beat, waltz and mambo. Each time the rhythm selection switch 141 is pressed, the rhythm number is incremented and a new rhythm associated with the rhythm number is selected.

【0037】表示器142は、例えば7セグメントのL
ED表示器を2桁分備えて構成されている。この表示器
142には、CPU10から送られて来る表示データに
従って、数字、文字、記号等が表示される。例えば、リ
ズム選択スイッチ141の操作に応じて新たなリズムの
リズム番号が表示され、また、テンポ設定ボリューム1
6の操作に応じて新たなテンポ値が表示される。なお、
表示器142としては、7セグメントのLEDに限ら
ず、例えばLCD表示器、CRT表示器、その他の如何
なる表示器をも用いることができる。
The display 142 is, for example, an L segment of 7 segments.
The ED display is provided for two digits. On the display 142, numbers, characters, symbols and the like are displayed according to the display data sent from the CPU 10. For example, the rhythm number of a new rhythm is displayed according to the operation of the rhythm selection switch 141, and the tempo setting volume 1
A new tempo value is displayed according to the operation of 6. In addition,
The display 142 is not limited to a 7-segment LED, and for example, an LCD display, a CRT display, or any other display can be used.

【0038】テンポ設定ボリューム16はテンポ操作子
に対応するものであり、リズム演奏のテンポを変更する
ために使用される。このテンポ設定ボリューム16は、
例えば回転式ポテンショメータで構成されており、つま
みを最も左側に回した位置(MIN位置)から最も右側
に回した位置(MAX位置)までの可動範囲を有してい
る。このテンポ設定ボリューム16には、調整点として
その可動範囲の中点位置(MID位置)にクリックが設
けられている。このテンポ設定ボリューム16からは、
その回転位置に応じたアナログ電圧が出力される。例え
ば、図2において、MIN位置では最小電圧(例えば接
地電圧)が出力され、MAX位置では最大電圧(例えば
電源電圧)が出力され、MID位置では、接地電圧と電
源電圧の中間の電圧が出力される。このテンポ設定ボリ
ューム16から出力されるアナログ電圧は、A/D変換
器15に送られる。
The tempo setting volume 16 corresponds to a tempo operator and is used to change the tempo of the rhythm performance. This tempo setting volume 16
For example, it is composed of a rotary potentiometer, and has a movable range from a position where the knob is turned to the leftmost (MIN position) to a position where it is turned to the rightmost (MAX position). The tempo setting volume 16 is provided with a click at the midpoint position (MID position) of its movable range as an adjustment point. From this tempo setting volume 16,
An analog voltage corresponding to the rotational position is output. For example, in FIG. 2, the minimum voltage (eg, ground voltage) is output at the MIN position, the maximum voltage (eg, power supply voltage) is output at the MAX position, and the intermediate voltage between the ground voltage and the power supply voltage is output at the MID position. It The analog voltage output from the tempo setting volume 16 is sent to the A / D converter 15.

【0039】なお、このテンポ設定ボリューム16とし
て、中点クリック付きのスライド式の操作子を用いるこ
ともできる。また、テンポ設定ボリューム16として
は、中点クリックを有しない回転式又はスライド式の操
作子を用いることもできる。この場合、中点位置を例え
ば刻印などにより操作パネル14上の所定位置に表示す
るように構成すれば良い。なお、テンポ設定ボリューム
16の中点位置は、可動範囲の中点近傍の所定範囲内の
位置であれば良く、厳密な中点である必要はない。
As the tempo setting volume 16, a slide type operator with a middle point click can be used. Further, as the tempo setting volume 16, it is possible to use a rotary or slide type operator having no middle point click. In this case, the midpoint position may be displayed at a predetermined position on the operation panel 14 by marking, for example. The midpoint position of the tempo setting volume 16 may be a position within a predetermined range near the midpoint of the movable range, and need not be a strict midpoint.

【0040】また、テンポ設定ボリューム16として
は、ロータリエンコーダを使用したダイヤル型の操作子
を用いることもできる。この場合、ダイヤルの回転に応
じて発生されるパルスが直接パネルインタフェース回路
13に送られる。パネルインタフェース回路13では、
受け取ったパルス数を計数して設定されたテンポとす
る。この方法によれば、A/D変換器が不要になるとい
う利点がある。
As the tempo setting volume 16, a dial type operator using a rotary encoder can be used. In this case, the pulse generated according to the rotation of the dial is directly sent to the panel interface circuit 13. In the panel interface circuit 13,
The number of pulses received is counted and used as the set tempo. According to this method, there is an advantage that the A / D converter becomes unnecessary.

【0041】A/D変換器15は、アナログ電圧信号を
デジタル信号に変換する周知のものであり、集積回路で
構成されたA/D変換器、又はラダー抵抗を用いて構成
されたA/D変換回路等を用いることができる。このA
/D変換器15に入力されたアナログ電圧は、最小電圧
であれば「00H」(末尾の「H」は16進数であるこ
とを示す。以下、同じ。)のデジタル信号に変換され、
最大電圧であれば「FFH」のデジタル信号に変換さ
れ、中間の電圧であれば「00H〜FFH」の範囲内で
入力電圧に応じたデジタル信号に変換される。このA/
D変換器15が出力するデジタル信号は、パネルインタ
フェース回路13に送られる。
The A / D converter 15 is a well-known one for converting an analog voltage signal into a digital signal, and is an A / D converter composed of an integrated circuit or an A / D composed of a ladder resistor. A conversion circuit or the like can be used. This A
If the analog voltage input to the / D converter 15 is the minimum voltage, the analog voltage is converted to a digital signal of "00H"("H" at the end indicates a hexadecimal number. The same applies hereinafter),
If it is the maximum voltage, it is converted into a digital signal of "FFH", and if it is an intermediate voltage, it is converted into a digital signal according to the input voltage within the range of "00H to FFH". This A /
The digital signal output by the D converter 15 is sent to the panel interface circuit 13.

【0042】パネルインタフェース回路13は、操作パ
ネル14(テンポ設定ボリューム16を含む。)とCP
U10との間のデータの送受を制御する。即ち、パネル
インタフェース回路13は、CPU10からのパネルス
キャン指令に応じて操作パネル14(テンポ設定ボリュ
ーム16を除く。)に対してスキャン信号を送出し、こ
のスキャン信号に応答して操作パネル14から返送され
る各スイッチのオン/オフを示す信号を入力する。そし
て、この信号から各スイッチのオン/オフを1ビットに
対応させたパネルデータを生成し、CPU10に送る。
このパネルデータは、CPU10の制御の下にRAM1
2に格納され、パネルイベントの有無を判断するめに使
用される(詳細は後述する)。
The panel interface circuit 13 includes an operation panel 14 (including a tempo setting volume 16) and a CP.
It controls the sending and receiving of data to and from U10. That is, the panel interface circuit 13 sends a scan signal to the operation panel 14 (excluding the tempo setting volume 16) in response to a panel scan command from the CPU 10, and returns from the operation panel 14 in response to the scan signal. A signal indicating ON / OFF of each switch is input. Then, from this signal, panel data in which ON / OFF of each switch is associated with 1 bit is generated and sent to the CPU 10.
This panel data is stored in RAM1 under the control of CPU10.
2 and is used to determine the presence / absence of a panel event (details will be described later).

【0043】また、パネルインタフェース回路13は、
A/D変換器15をスキャンし、テンポ設定ボリューム
16の現在の設定位置を示すデジタル信号を取り込む。
このデジタル信号は、テンポデータとしてCPU10に
送られる。このテンポデータは、CPU10の制御の下
に所定のテーブル変換が施された後にRAM12に格納
され、テンポ設定ボリューム16のイベントの有無の判
断に使用される(詳細は後述する)。
Further, the panel interface circuit 13 is
The A / D converter 15 is scanned and a digital signal indicating the current setting position of the tempo setting volume 16 is captured.
This digital signal is sent to the CPU 10 as tempo data. The tempo data is stored in the RAM 12 after being subjected to a predetermined table conversion under the control of the CPU 10 and used to determine the presence / absence of an event in the tempo setting volume 16 (details will be described later).

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

【0045】リズム演奏データメモリ17は複数のリズ
ム演奏データが記憶されたリズム演奏データ記憶手段及
び各リズム演奏データの標準テンポ値が記憶された標準
テンポ値記憶手段に対応するものであり、例えばROM
で構成されている。このリズム演奏データメモリ17に
は、複数のリズムに対応した複数のリズム演奏データが
記憶されている。また、このリズム演奏データメモリ1
7には、スタートアドレステーブル及びテンポテーブル
が記憶されている。
The rhythm performance data memory 17 corresponds to a rhythm performance data storage means for storing a plurality of rhythm performance data and a standard tempo value storage means for storing a standard tempo value of each rhythm performance data, for example, a ROM.
It is composed of. The rhythm performance data memory 17 stores a plurality of rhythm performance data corresponding to a plurality of rhythms. Also, this rhythm performance data memory 1
7, a start address table and a tempo table are stored.

【0046】上記リズム演奏データは、例えばコード、
ベース及びドラムといった3つのパートの楽音を発生す
るための3種類のデータにより構成されている。各パー
トのリズム演奏データは、例えばMIDIデータと同様
の形式で作成され、発音タイミングを指示するためのス
テップタイムデータが含まれている。このリズム演奏デ
ータメモリ17に記憶されたリズム演奏データは、後述
するリズム演奏処理において、音源19が処理すること
ができる形式に変換されて音源19に送られる。
The rhythm performance data is, for example, a chord,
It is composed of three types of data for generating musical sounds of three parts such as 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. 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 and sent to the sound source 19 in the rhythm performance processing described later.

【0047】上記スタートアドレステーブルは、各リズ
ムに対応したリズム演奏データの先頭アドレスが記憶さ
れたテーブルである。リズムが変更された場合に、この
スタートアドレステーブルから、新たに選択されたリズ
ムに対応するリズム演奏データの先頭アドレス(スター
トアドレス)が取り出され、その先頭アドレスからリズ
ム演奏データの読み出しが開始される。
The start address table is a table in which the start address of the rhythm performance data corresponding to each rhythm is stored. When the rhythm is changed, the start address (start address) of the rhythm performance data corresponding to the newly selected rhythm is extracted from this start address table, and the reading of the rhythm performance data is started from the start address. .

【0048】また、テンポテーブルには、リズム演奏デ
ータに基づいてリズム演奏が行われる際に、そのリズム
演奏の標準的なテンポを与える標準テンポ値(プリセッ
トテンポ値)の他、最小テンポ値及び最大テンポ値が、
各リズム演奏データに対応して記憶されている。
Further, the tempo table has a minimum tempo value and a maximum tempo value in addition to a standard tempo value (preset tempo value) that gives a standard tempo of the rhythm performance when the rhythm performance is performed based on the rhythm performance data. If the tempo value is
It is stored corresponding to each rhythm performance data.

【0049】なお、上記リズム演奏データ、スタートア
ドレステーブル及びテンポテーブルは、リズム演奏デー
タメモリ17に代えて、RAM12の一部に記憶するよ
うに構成しても良い。この場合、システムバス30に例
えばフロッピーディスク装置(又はROMカード制御装
置)を接続すると共に、フロッピーディスク(又はRO
Mカード)にリズム演奏データ、スタートアドレステー
ブル及びテンポテーブルを記憶させておき、例えば本電
子楽器の電源投入時にフロッピーディスク装置に装着さ
れたフロッピーディスク(又はROMカード制御装置に
挿入されたROMカード)から上記各データをRAM1
2にロードするように構成すれば良い。
The rhythm performance data, start address table and 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 a ROM card controller) is connected to the system bus 30, and a floppy disk (or RO) is connected.
The rhythm performance data, the start address table and the tempo table are stored in the M card), and for example, a floppy disk (or a ROM card inserted in the ROM card control device) installed in the floppy disk device when the electronic musical instrument is powered on. From the above data to RAM1
It may be configured so that it is loaded to 2.

【0050】波形メモリ18には、例えばパルスコード
変調(PCM)された波形データが記憶されている。こ
の波形メモリ18には、複数種類の音色を実現するべ
く、各音色、各鍵域、押鍵速度等に対応した複数種類の
波形データが記憶されている。この波形データは、発音
指示があった際に、その時点で指定されている音色、発
音指示に係る音高(鍵域)、発音指示に係る音のベロシ
ティ等に応じて選択されて読み出される。
The waveform memory 18 stores, for example, 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. When there is a sounding instruction, this waveform data is selected and read according to the tone color specified at that time, the pitch (key range) related to the sounding instruction, the velocity of the sound related to the sounding instruction, and the like.

【0051】音源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 sounding channel for generating the musical sound 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.

【0052】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.

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

【0054】スピーカ22は、電気信号としてのアナロ
グ楽音信号を音響信号に変換する周知のものである。こ
のスピーカ22により、リズム演奏データメモリ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 sound corresponding to the rhythm performance data read from the rhythm performance data memory 17 is emitted.

【0055】次に、上記の構成において、本発明に係る
テンポ設定装置が適用された電子楽器の実施例の動作に
つき、テンポ設定装置としての動作を中心に、図3〜図
5に示されたフローチャートを参照しながら説明する。
なお、以下の各フローチャートに示された処理は、CP
U10により実現されるものである。
Next, regarding the operation of the embodiment of the electronic musical instrument to which the tempo setting device according to the present invention is applied in the above-mentioned configuration, the operation as the tempo setting device is mainly shown in FIGS. This will be described with reference to the flowchart.
In addition, the processing shown in each of the following flowcharts is performed by the CP
It is realized by U10.

【0056】図3は、本発明に係るテンポ設定装置が適
用された電子楽器の実施例のメインルーチンを示すフロ
ーチャートであり、電源投入により起動される。即ち、
電源が投入されると、先ず、初期化処理が行われる(ス
テップS10)。
FIG. 3 is a flowchart showing the main routine of the embodiment of the electronic musical instrument to which the tempo setting device according to the present invention is applied, which is started by turning on the power. That is,
When the power is turned on, first, initialization processing is performed (step S10).

【0057】この初期化処理では、CPU10の内部状
態が初期状態に設定されると共に、RAM12に定義さ
れているレジスタ、カウンタ或いはフラグ等に初期値が
設定される。また、この初期化処理では、音源19に所
定のデータを送り、電源投入時に不要な音が発生される
のを防止する処理も行われる。この初期化処理が終了す
ると、次いでスイッチイベント処理が行われる(ステッ
プS11)。このスイッチイベント処理の詳細は、図4
のフローチャートに示されている。
In this initialization process, the internal state of the CPU 10 is set to the initial state, and the initial values are set 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 also performed. When this initialization processing is completed, switch event processing is then performed (step S11). Details of this switch event processing are shown in FIG.
Is shown in the flowchart.

【0058】スイッチイベント処理では、先ず、パネル
スキャンが行われる(ステップS20)。このパネルス
キャン処理では、CPU10は、パネルインタフェース
回路13にスキャン指令を与える。これにより、上述し
たように、パネルインタフェース回路13からパネルデ
ータ(以下、「新パネルデータ」という。)がCPU1
0に送られてくる。次いで、前回のパネルスキャン処理
で読み込まれて既にRAM12に記憶されているパネル
データ(以下、「旧パネルデータ」という。)と上記新
パネルデータとが比較され、相違するビットがオンにさ
れたパネルイベントマップが作成される。
In the switch event process, first, a panel scan is performed (step S20). In this panel scan process, the CPU 10 gives a scan command to the panel interface circuit 13. As a result, as described above, the panel data (hereinafter referred to as “new panel data”) from the panel interface circuit 13 is sent to the CPU 1.
It is sent to 0. Next, the panel data (hereinafter referred to as “old panel data”) read in the previous panel scan process and already stored in the RAM 12 is compared with the new panel data, and the different bits are turned on. An event map is created.

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

【0060】ここで、スイッチイベントがないことが判
断されるとステップS23へ分岐し、そうでなければイ
ベントのあったスイッチに対するスイッチ処理が行われ
る(ステップS22)。このスイッチ処理では、リズム
スタートスイッチ140、リズム選択スイッチ141等
の各スイッチイベントに対する処理が行われる。
If it is determined that there is no switch event, the process branches to step S23, and if not, the switch process is performed on the switch having the event (step S22). In this switch processing, processing for each switch event such as the rhythm start switch 140 and the rhythm selection switch 141 is performed.

【0061】例えば、パネルイベントマップ中のリズム
スタートスイッチ140に対応するビットがオンになっ
ているか否かが調べられることによりリズムスタートス
イッチ140のオンイベントがあったことが判断される
と、リズム演奏フラグの反転が行われる。リズム演奏フ
ラグはRAM12に設けられるフラグであり、電子楽器
がリズム演奏モードにあるか通常演奏モードにあるかを
記憶するために使用される。これにより、リズムスター
トスイッチ140が押下される度に、リズム演奏モード
と通常演奏モードとが交互に繰り返される機能が実現さ
れている。
For example, if it is determined that there is an on event of the rhythm start switch 140 by checking whether or not the bit corresponding to the rhythm start switch 140 in the panel event map is turned on, the rhythm performance is determined. The flag is inverted. The rhythm performance flag is a flag provided in the RAM 12 and is used to store whether the electronic musical instrument is in the rhythm performance mode or the normal performance mode. This realizes a function in which the rhythm performance mode and the normal performance mode are alternately repeated each time the rhythm start switch 140 is pressed.

【0062】また、例えば、パネルイベントマップ中の
リズム選択スイッチ141に対応するビットがオンにな
っているか否かが調べられることによりリズム選択スイ
ッチ141のオンイベントがあったことが判断される
と、リズム変更処理が行われる。このリズム変更処理で
は、先ず、リズム選択スイッチ141によって新たに選
択されたリズムのリズム番号が、RAM12に設けられ
たリズム番号レジスタにセットされる。次いで、このリ
ズム番号に対応する標準テンポ値Tcが、テンポテーブ
ルから取り出され、RAM12の標準テンポ値バッファ
に格納される。この標準テンポ値Tcは、後述するテン
ポ設定ボリューム処理(ステップS24)で新しいテン
ポ値を計算するために使用される。また、このリズム変
更処理では、テンポ変更リクエストフラグTREQが
「1」にセットされる。このテンポ変更リクエストフラ
グTREQは、RAM12に定義されるフラグであり、
後述するテンポ設定ボリューム処理(ステップS24)
で参照され、テンポ値の計算を行うか否かを判断するた
めに使用される。
Further, for example, when it is determined that there is an on event of the rhythm selection switch 141 by checking whether or not the bit corresponding to the rhythm selection switch 141 in the panel event map is turned on, Rhythm change processing is performed. In this rhythm changing process, first, the rhythm number of the rhythm newly selected by the rhythm selection switch 141 is set in the rhythm number register provided in the RAM 12. Then, the standard tempo value T c corresponding to this rhythm number is retrieved from the tempo table and stored in the standard tempo value buffer of the RAM 12. This standard tempo value Tc is used to calculate a new tempo value in the tempo setting volume process (step S24) described later. Further, in this rhythm change processing, the tempo change request flag TREQ is set to "1". The tempo change request flag TREQ is a flag defined in the RAM 12,
Tempo setting volume processing described later (step S24)
Is used to determine whether to calculate the tempo value.

【0063】以上のスイッチ処理が終了すると、次い
で、LED処理が行われる(ステップS23)。このL
ED処理では、表示器142に所定のデータを表示させ
る処理が行われる。このLED処理では、例えば、リズ
ム選択スイッチ141が押下されることにより新たに選
択されたリズムの番号を表示する処理等が行われる。こ
れは、リズム番号レジスタにセットされているリズム番
号に対応するデータがパネルインタフェース回路13を
介して操作パネル14に送られることにより実現され
る。これにより、演奏者は、現在どのリズムが選択され
ているかを知ることができる。
When the above switch processing is completed, then LED processing is performed (step S23). This L
In the ED process, a process of displaying predetermined data on the display 142 is performed. In this LED process, for example, a process of displaying the number of the rhythm newly selected by pressing the rhythm selection switch 141 is performed. This is realized by sending the data corresponding to the rhythm number set in the rhythm number register to the operation panel 14 via the panel interface circuit 13. This allows the performer to know which rhythm is currently selected.

【0064】このLED処理が終了すると、次いで、テ
ンポ設定ボリューム処理が行われる(ステップS2
4)。このテンポ設定ボリューム処理の詳細は、図5の
フローチャートに示されている。
When the LED processing is completed, the tempo setting volume processing is then performed (step S2).
4). Details of this tempo setting volume processing are shown in the flowchart of FIG.

【0065】テンポ設定ボリューム処理では、先ず、テ
ンポデータの取り込みが行われる(ステップS30)。
即ち、CPU10は、その時点でテンポ設定ボリューム
16で設定されているテンポデータをA/D変換器15
及びパネルインタフェース回路13を介して取り込む。
ここで取り込まれるテンポデータは、テンポ設定ボリュ
ーム16の設定位置に応じて「00H〜FFH」の範囲
内のいずれかの値を有する。
In the tempo setting volume process, first, tempo data is taken in (step S30).
That is, the CPU 10 uses the A / D converter 15 to convert the tempo data set in the tempo setting volume 16 at that time.
And via the panel interface circuit 13.
The tempo data fetched here has any value within the range of “00H to FFH” according to the setting position of the tempo setting volume 16.

【0066】次いで、テーブル変換処理が行われる(ス
テップS31)。このテーブル変換処理では、テンポ設
定ボリューム16が操作されたこと以外に起因する電圧
変動、例えば電源電圧の変動による影響が排除されると
共に、「00H〜FFH」の256段階のテンポデータ
が「00H〜7FH」の128段階のテンポデータに圧
縮される。なお、本実施例では、256段階のテンポデ
ータを128段階のテンポデータに圧縮する場合の例に
ついて説明するが、128段階よりも更に圧縮するよう
に構成しても良いし、256段階のテンポデータをその
まま用いても良い。このテーブル変換処理には、例えば
図11に示した変換テーブル110が使用される。
Next, a table conversion process is performed (step S31). In this table conversion process, the influence of voltage fluctuations other than the operation of the tempo setting volume 16 such as fluctuations of the power supply voltage is eliminated, and the 256-step tempo data of "00H to FFH" is "00H to FFH". It is compressed to tempo data of 128 steps of "7FH". In the present embodiment, an example in which the 256-step tempo data is compressed to the 128-step tempo data will be described. However, the tempo data may be further compressed than the 128-step tempo data or the 256-step tempo data. May be used as is. The conversion table 110 shown in FIG. 11, for example, is used for this table conversion processing.

【0067】変換テーブル110は、テンポ設定ボリュ
ーム16の下限位置(図2中のMIN位置)、中点位置
(図2中のMID位置)及び上限位置(図2中のMAX
位置)の各近傍に不感帯を形成するべく、入力値が「0
0H〜0FH」の場合には「00H」を出力し、入力値
が「78H〜87H」の場合には「40H」を出力し、
入力値が「F0H〜FFH」の場合には「7FH」を出
力するように構成されている。また、入力値が「10H
〜77H」及び「88H〜EFH」の範囲では、入力値
に応じて漸増する値が出力される。
The conversion table 110 has a lower limit position (MIN position in FIG. 2), a middle point position (MID position in FIG. 2) and an upper limit position (MAX in FIG. 2) of the tempo setting volume 16.
Input value "0" to form a dead zone near each position).
In the case of 0H to 0FH, "00H" is output, and in the case of an input value of "78H to 87H", "40H" is output,
When the input value is "F0H to FFH", "7FH" is output. In addition, the input value is "10H
In the range of "~ 77H" and "88H to EFH", a value that gradually increases according to the input value is output.

【0068】かかる構成により、テンポ設定ボリューム
16が下限位置、中点位置又は上限位置の各近傍に設定
されている状態で電源電圧が多少変動してもテンポ値は
従前の状態が維持され、ノイズに強いテンポ設定装置が
実現されている。また、この構成によれば、テンポ設定
ボリューム16から読み込まれたテンポデータが変換テ
ーブル110で変換されるだけで128段階のテンポデ
ータが得られるので、演算によりテンポデータを変換す
る場合に比べ、テンポ設定ボリューム16の操作に対す
る応答が速いという利点がある。
With such a configuration, even if the power supply voltage slightly changes while the tempo setting volume 16 is set in the vicinity of the lower limit position, the midpoint position, or the upper limit position, the tempo value is maintained at the previous state and noise is reduced. A strong tempo setting device has been realized. Further, according to this configuration, since the tempo data read from the tempo setting volume 16 is converted by the conversion table 110, the 128-step tempo data can be obtained. There is an advantage that the response to the operation of the setting volume 16 is fast.

【0069】なお、テンポ設定ボリューム16の操作に
対する応答速度よりもテンポ設定の確実性が重視される
テンポ設定装置の場合には、テンポ設定ボリューム16
からテンポデータを複数回読み込み、これらが同一値の
時にのみテンポ設定ボリューム16で実際に設定された
テンポデータであると判断するように構成することがで
きる。この構成によれば、処理に若干の時間はかかるも
のの、ノイズを排除できるという利点がある。
In the case of a tempo setting device in which the certainty of the tempo setting is more important than the response speed to the operation of the tempo setting volume 16, the tempo setting volume 16
It is possible to read the tempo data from a plurality of times and to judge that the tempo data is actually set in the tempo setting volume 16 only when the tempo data have the same value. According to this configuration, the processing takes some time, but there is an advantage that noise can be eliminated.

【0070】上記テーブル変換処理が終了すると、次い
で、テーブル変換処理により得られたテンポデータDT
が、前回のテーブル変換処理により得られてRAM12
の所定領域に格納されているテンポデータと違うか否か
が調べられる(ステップS32)。そして、前回のテン
ポデータと同じであることが判断されるとテンポ設定ボ
リューム16のイベントはなかったものと認識され、次
いで、テンポ変更リクエストフラグTREQが「1」で
あるか否か、つまりリズム選択スイッチ141により新
しいリズムが選択されたか否かが調べられる(ステップ
S33)。ここで、テンポ変更リクエストフラグTRE
Qが「1」でないことが判断されるとテンポを変更する
必要がないことが認識され、このテンポ設定ボリューム
処理ルーチンからリターンしてスイッチイベント処理ル
ーチンに戻り、更にスイッチイベント処理ルーチンもリ
ターンしてメインルーチンに戻る。
When the table conversion process is completed, the tempo data DT obtained by the table conversion process is then generated.
Is obtained by the previous table conversion process and is stored in the RAM 12
It is checked whether or not it is different from the tempo data stored in the predetermined area (step S32). When it is determined that the tempo data is the same as the previous tempo data, it is recognized that there is no event of the tempo setting volume 16, and then whether the tempo change request flag TREQ is "1", that is, rhythm selection It is checked whether a new rhythm has been selected by the switch 141 (step S33). Here, the tempo change request flag TRE
When it is determined that Q is not "1", it is recognized that the tempo does not need to be changed, and the process returns from this tempo setting volume processing routine to the switch event processing routine, and the switch event processing routine also returns. Return to the main routine.

【0071】一方、テンポ変更リクエストフラグTRE
Qが「1」であることが判断されると、新たなリズムが
選択されたのでテンポを変更する必要があることが認識
され、ステップS34以下のテンポ設定処理が行われ
る。上記ステップS32でテンポ設定ボリューム16の
イベントがあったことが判断された場合も、同様に、テ
ンポを変更する必要があることが認識され、ステップS
34以下のテンポ設定処理が行われる。
On the other hand, tempo change request flag TRE
If it is determined that Q is "1", it is recognized that the tempo needs to be changed because a new rhythm has been selected, and the tempo setting process from step S34 is performed. Even when it is determined in the above step S32 that there is an event of the tempo setting volume 16, similarly, it is recognized that the tempo needs to be changed,
A tempo setting process of 34 or less is performed.

【0072】テンポ設定処理では、先ず、テンポ計算処
理が行われる(ステップS34)。このテンポ計算処理
では、上記テーブル変換処理で得られたテンポデータD
Tが中点位置を示すデータ(例えば「40H」)より大
きいか否かにより、それぞれ下式(1)又は(2)によ
ってテンポ計算が行われる。
In the tempo setting process, first, a tempo calculation process is performed (step S34). In this tempo calculation process, the tempo data D obtained by the table conversion process
Depending on whether or not T is larger than the data indicating the midpoint position (for example, “40H”), the tempo is calculated by the following formulas (1) and (2), respectively.

【0073】即ち、テンポデータDTが中点位置を示す
データより大きい場合には、下記(1)式に基づいて新
しいテンポ値Tが算出される。 テンポ値T={(DT-40H)/(7FH-40H)}×(Tmax-Tc)+Tc…(1) 一方、テンポデータDTが中点位置を示すデータより小
さい場合には、下記(2)式に基づいて新しいテンポ値
Tが算出される。 テンポ値T={(DT-40H)/(40H-00H)}×(Tc-Tmin)+Tc…(2) ここで、DTはテーブル変換により得られたテンポデー
タ、Tmaxはそのリズムにおけるテンポの上限値(最大
テンポ値)、Tminはそのリズムにおけるテンポの下限
値(最小テンポ値)、Tcはそのリズムの標準テンポ値
である。なお、標準テンポ値Tc、最大テンポ値Tmax
び最小テンポ値Tminは、上述したテンポテーブルに各
リズム演奏データ毎に記憶されている。
That is, when the tempo data DT is larger than the data indicating the midpoint position, a new tempo value T is calculated based on the following equation (1). Tempo value T = {(DT-40H) / (7FH-40H)} × (T max -T c ) + T c (1) On the other hand, when the tempo data DT is smaller than the data indicating the midpoint position, A new tempo value T is calculated based on the following equation (2). Tempo value T = {(DT-40H) / (40H-00H)} × (T c -T min ) + T c (2) where DT is tempo data obtained by table conversion and T max is the tempo data The upper limit value (maximum tempo value) of the tempo in the rhythm, T min is the lower limit value (minimum tempo value) of the tempo in the rhythm, and T c is the standard tempo value of the rhythm. The standard tempo value T c , the maximum tempo value T max, and the minimum tempo value T min are stored in the above-mentioned tempo table for each rhythm performance data.

【0074】上記(1)式は、テンポ設定ボリューム1
6が中点のクリック位置より上側に設定されているとき
は、テンポ設定ボリューム16の中点のクリック位置か
ら上限位置までが、その時点で選択されているリズムの
標準テンポ値Tcから最大テンポ値Tmaxまでに対応付け
られ、テンポ設定ボリューム16の変位量に応じたテン
ポ値が算出されることを意味する。
Equation (1) above is the tempo setting volume 1
When 6 is set above the midpoint click position, the midpoint click position of the tempo setting volume 16 to the upper limit position is the maximum tempo from the standard tempo value T c of the rhythm selected at that time. It means that a tempo value corresponding to the value up to the value T max and calculated according to the displacement amount of the tempo setting volume 16 is calculated.

【0075】同様に、上記(2)式は、テンポ設定ボリ
ューム16が中点のクリック位置より下側に設定されて
いるときは、テンポ設定ボリューム16の下限位置から
中点のクリック位置までが、その時点で選択されている
リズムの最小テンポ値Tminから標準テンポ値Tcまでに
対応付けられ、テンポ設定ボリューム16の変位量に応
じたテンポ値が算出されることを意味する。
Similarly, when the tempo setting volume 16 is set below the midpoint click position, the above equation (2) is from the lower limit position of the tempo setting volume 16 to the midpoint click position. This means that a tempo value corresponding to the displacement amount of the tempo setting volume 16 is calculated in association with the minimum tempo value T min of the rhythm selected at that time to the standard tempo value T c .

【0076】かかる構成により、その時点で選択されて
いるリズムの標準テンポ値がテンポ設定ボリューム16
の中点のクリック位置に対応付けられると共に、テンポ
設定ボリューム16の全可動範囲に対して最小テンポ値
から最大テンポ値までの範囲のテンポ値が対応付けられ
るので、リズムの種類の如何に拘わらずテンポ設定ボリ
ューム16の全可動範囲をテンポ設定のために使用する
ことが可能となり、精密且つ容易にテンポ設定操作がで
きる。
With this structure, the standard tempo value of the rhythm selected at that time is set to the tempo setting volume 16
Since the tempo values in the range from the minimum tempo value to the maximum tempo value are associated with the entire movable range of the tempo setting volume 16 in addition to being associated with the click position at the middle point, regardless of the type of rhythm. The entire movable range of the tempo setting volume 16 can be used for setting the tempo, and the tempo setting operation can be performed precisely and easily.

【0077】本発明の算出手段は、本実施例のステップ
S34におけるテンポ計算処理、つまり、上述した
(1)式又は(2)式に基づいて新たなテンポ値を算出
する処理により実現されているが、本発明の算出手段
は、上記(1)式又は(2)式に限定されず、任意の関
数を用いて新たなテンポ値を算出するように構成しても
良い。
The calculation means of the present invention is realized by the tempo calculation process in step S34 of the present embodiment, that is, the process of calculating a new tempo value based on the above equation (1) or equation (2). However, the calculation means of the present invention is not limited to the above formula (1) or formula (2), and may be configured to calculate a new tempo value using an arbitrary function.

【0078】また、上記(1)式若しくは(2)式、又
は任意の関数に基づき算出されたデータが記憶された変
換テーブルを予め作成しておき、テンポ計算処理では、
この変換テーブルを参照して新たなテンポ値を算出する
ように構成しても良い。この方法によれば、1回のテー
ブル変換により新たなテンポ値を算出できるので、テン
ポ値の算出処理が簡単になると共に、テンポ設定ボリュ
ーム16に対する応答が速くなるという利点がある。
Further, a conversion table in which data calculated based on the above formula (1) or formula (2) or an arbitrary function is stored is created in advance, and in the tempo calculation process,
A new tempo value may be calculated with reference to this conversion table. According to this method, since a new tempo value can be calculated by performing one table conversion, there are advantages that the tempo value calculation process is simple and the response to the tempo setting volume 16 is fast.

【0079】また、本実施例のステップS34における
テンポ計算処理においては、所定のリズムの標準テンポ
値をテンポ設定ボリューム16の中点クリック位置に対
応させ、この中点クリック位置からのテンポ設定ボリュ
ーム16の変位量に応じて標準テンポ値に基づき新たな
テンポを算出するように構成しても良い。
Further, in the tempo calculation process in step S34 of the present embodiment, the standard tempo value of a predetermined rhythm is made to correspond to the midpoint click position of the tempo setting volume 16, and the tempo setting volume 16 from this midpoint click position. Alternatively, a new tempo may be calculated based on the standard tempo value according to the displacement amount.

【0080】以上のテンポ計算処理が終了すると、次い
で、テンポ設定処理が行われる(ステップS35)。こ
のテンポ設定処理では、上記ステップS34で計算され
たテンポ値TがRAM12に設けられたテンポレジスタ
にセットされる。このテンポレジスタの値は、例えば2
の補数がとられて所定のワークカウンタにセットされ、
このワークカウンタの内容は、符号なしの絶対値とみな
されて一定時間間隔でデクリメントされる。そして、ワ
ークカウンタの内容がゼロになると再度テンポレジスタ
の値の2の補数値がワークカウンタにセットされる。ま
た、ワークカウンタの内容がゼロになった時点がリズム
演奏データメモリ17から1つのリズム演奏データを読
み出すタイミングとされる。
When the above tempo calculation processing is completed, then tempo setting processing is performed (step S35). In this tempo setting process, the tempo value T calculated in step S34 is set in the tempo register provided in the RAM 12. The value of this tempo register is, for example, 2
Is complemented and set in a predetermined work counter,
The contents of the work counter are regarded as an unsigned absolute value and decremented at regular time intervals. Then, when the content of the work counter becomes zero, the two's complement value of the value of the tempo register is set again in the work counter. The time when the content of the work counter becomes zero is the timing for reading one rhythm performance data from the rhythm performance data memory 17.

【0081】従って、テンポレジスタに大きい値がセッ
トされるとリズム演奏データの読み出し間隔が小さくな
りテンポが速くなる。逆に、テンポレジスタに小さい値
がセットされるとリズム演奏データの読み出し間隔が大
きくなりテンポが遅くなる。このようにして、テンポ設
定ボリューム16の操作に応じてテンポが変更されるこ
とになる。
Therefore, when a large value is set in the tempo register, the reading interval of the rhythm performance data becomes smaller and the tempo becomes faster. On the contrary, if a small value is set in the tempo register, the reading interval of the rhythm performance data becomes large and the tempo becomes slow. In this way, the tempo is changed according to the operation of the tempo setting volume 16.

【0082】次いで、テンポ変更リクエストフラグTR
EQが「0」にクリアされる(ステップS36)。この
テンポ変更リクエストフラグTREQが「0」にクリア
されることにより、テンポ設定ボリューム16が操作さ
れるか、又はリズム選択スイッチ141で新たなリズム
が選択されるまではテンポの変更は行われない。その
後、このテンポ設定ボリューム処理ルーチンからリター
ンしてスイッチイベント処理ルーチンに戻り、更にスイ
ッチイベント処理ルーチンもリターンしてメインルーチ
ンに戻る。
Next, the tempo change request flag TR
The EQ is cleared to "0" (step S36). By clearing the tempo change request flag TREQ to "0", the tempo is not changed until the tempo setting volume 16 is operated or a new rhythm is selected by the rhythm selection switch 141. After that, the process returns from this tempo setting volume processing routine to return to the switch event processing routine, and the switch event processing routine also returns to return to the main routine.

【0083】メインルーチンでは、次いで、MIDI処
理が行われる(ステップS12)。このMIDI処理で
は、MIDIインタフェース回路23を介して外部装
置、例えば他の電子楽器、シーケンサ、或いはコンピュ
ータ等との間でMIDIデータの送受が行われる。この
MIDI処理は、本発明とは直接関係しないので説明は
省略する。なお、上記テンポの設定は、テンポ設定を指
示するMIDIメッセージによっても行われる。即ち、
テンポ設定を指示するMIDIメッセージを受信する
と、CPU10は、MIDIメッセージに含まれるテン
ポデータをRAM12内のテンポレジスタにセットす
る。これにより、操作パネル14を操作してテンポを設
定した場合と同様に、テンポの変更が行われる。その他
のMIDIメッセージに対する処理は、本発明とは直接
関係しないので説明は省略する。
In the main routine, MIDI processing is then carried out (step S12). In this MIDI processing, MIDI data is exchanged with an external device, such as another electronic musical instrument, a sequencer, or a computer, via the MIDI interface circuit 23. This MIDI processing is not directly related to the present invention, so its explanation is omitted. The tempo is set also by a MIDI message instructing the tempo setting. That is,
When the MIDI message instructing the tempo setting is received, the CPU 10 sets the tempo data included in the MIDI message in the tempo register in the RAM 12. As a result, the tempo is changed in the same manner as when the operation panel 14 is operated to set the tempo. The processing for other MIDI messages is not directly related to the present invention, and thus the description thereof is omitted.

【0084】このMIDI処理が終了すると、次いで、
リズム演奏処理が行われる(ステップS13)。リズム
演奏処理は、リズム演奏フラグが「1」であり、且つリ
ズム演奏データの読み出しタイミングである場合に行わ
れる。リズム演奏データの読み出しタイミングであるか
どうかは、上述したワークカウンタの内容がゼロになっ
たかどうかにより判断される。そして、上記条件が満足
されると、リズム演奏データメモリ17から1つのリズ
ム演奏データが読み出される。そして、リズム演奏デー
タに含まれているステップタイム値と図示しないタイム
カウンタでカウントアップされているタイム値とが一致
した場合に、発音又は消音処理が行われる。
Upon completion of this MIDI processing, next,
Rhythm performance processing is performed (step S13). The rhythm performance process is performed when the rhythm performance flag is "1" and the rhythm performance data is read out. Whether or not it is the read timing of the rhythm performance data is determined by whether or not the content of the work counter has become zero. When the above conditions are satisfied, one rhythm performance data is read from the rhythm performance data memory 17. Then, when the step time value included in the rhythm performance data and the time value counted up by a time counter (not shown) match, sounding or mute processing is performed.

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

【0086】一方、ノートオフデータであれば、消音処
理が行われる。この消音処理では、所定のデータが音源
19に送られることにより、音源19におけるデジタル
楽音信号の生成が停止され、発音中の音が消音される。
なお、リズム演奏データには、ノートオン又はノートオ
フを指示するデータ以外に、例えば音色変更、音量変更
等を指示するデータが含まれるが、本発明とは直接関係
しないので説明は省略する。
On the other hand, if it is the note-off data, the muffling process is performed. In this sound deadening process, by sending predetermined data to the sound source 19, the generation of the digital musical tone signal in the sound source 19 is stopped, and the sound being sounded is muted.
Note that the rhythm performance data includes, for example, data for instructing tone color change, volume change, etc. in addition to data for instructing note-on or note-off, but description thereof is omitted because it is not directly related to the present invention.

【0087】上記リズム演奏処理が終了すると、次い
で、「その他の処理」が行われる(ステップS14)。
この「その他の処理」には、図示しない弦の弾弦に伴う
発音処理等が含まれる。その後ステップS11に戻り、
以下同様の処理を繰り返す。上記ステップS11〜S1
4の繰り返し実行の過程で、パネル操作や弦操作に基づ
くイベントが発生すると、そのイベントに対応する処理
が行われることにより電子楽器としての各種機能が発揮
される。
When the rhythm performance process is completed, "other process" is then performed (step S14).
This "other processing" includes sounding processing associated with a string of unillustrated strings. Then return to step S11,
The same process is repeated thereafter. Steps S11 to S1
When an event based on a panel operation or a string operation occurs in the process of repeatedly executing No. 4, various functions as an electronic musical instrument are exerted by performing processing corresponding to the event.

【0088】以上説明したように、本実施例によれば、
所定のリズムが選択されてそのリズムの標準テンポが指
定されると、その標準テンポを表す標準テンポ値がテン
ポ設定ボリューム16の中点のクリック位置に対応付け
られる。そして、テンポ設定ボリューム16が操作され
ると、テンポ設定ボリューム16の下限位置から中点位
置までが最小テンポ値から標準テンポ値までに対応付け
られ、中点位置から上限位置までが標準テンポ値から最
大テンポ値までに対応付けられる。この状態において、
テンポ設定ボリューム16が設定されている位置に対応
するテンポが算出される。より具体的には、テンポ設定
ボリューム16が操作されると、その時点でのテンポ設
定ボリューム16の設定位置に応じた新しいテンポ値が
上記(1)式又は(2)式に基づいて算出される。この
算出された新しいテンポ値がそのリズムのテンポ値とし
て設定される。以後は、新たに設定されたテンポで自動
リズム演奏が行われる。
As described above, according to this embodiment,
When a predetermined rhythm is selected and the standard tempo of the rhythm is designated, the standard tempo value representing the standard tempo is associated with the click position at the midpoint of the tempo setting volume 16. When the tempo setting volume 16 is operated, the lower limit position to the midpoint position of the tempo setting volume 16 is associated with the minimum tempo value to the standard tempo value, and the midpoint position to the upper limit position is changed from the standard tempo value. It is associated with up to the maximum tempo value. In this state,
The tempo corresponding to the position where the tempo setting volume 16 is set is calculated. More specifically, when the tempo setting volume 16 is operated, a new tempo value corresponding to the setting position of the tempo setting volume 16 at that time is calculated based on the above equation (1) or equation (2). . The calculated new tempo value is set as the tempo value of the rhythm. After that, the automatic rhythm performance is performed at the newly set tempo.

【0089】これにより、演奏者は、テンポ値を表示す
る表示器が見えなくてもクリック位置を手掛かりにその
時点で選択されているリズムの標準テンポを知ることが
できる。従って、演奏者は、標準テンポを認識した上で
テンポ設定ボリューム16を操作して自分の好みのテン
ポに設定変更することができるのでテンポ設定操作が容
易になる。その時点で選択されているリズムの標準テン
ポ値がテンポ設定ボリューム16の中点のクリック位置
に対応付けられると共に、テンポ設定ボリューム16の
全可動範囲に対して最小テンポ値から最大テンポ値まで
の範囲のテンポ値が対応付けられるので、テンポ設定ボ
リューム16の全可動範囲をテンポ設定のために使用す
ることが可能となり、精密且つ容易にテンポ設定操作が
できる。
As a result, the player can know the standard tempo of the rhythm selected at that time by using the click position as a clue even if the display device for displaying the tempo value cannot be seen. Therefore, the player can recognize the standard tempo and operate the tempo setting volume 16 to change the tempo to his or her preference, which facilitates the tempo setting operation. The standard tempo value of the rhythm selected at that time is associated with the click position at the midpoint of the tempo setting volume 16, and the range from the minimum tempo value to the maximum tempo value with respect to the entire movable range of the tempo setting volume 16. Since the tempo values are associated with each other, the entire movable range of the tempo setting volume 16 can be used for setting the tempo, and the tempo setting operation can be performed precisely and easily.

【0090】なお、上記実施例では、各リズムの標準テ
ンポ値は、予め用意されたテンポテーブルから読み出し
て決定するようにしたが、演奏者が入力手段としての操
作パネル14を用いて入力するように構成しても良い。
この場合、例えば、電子楽器に種々のパラメータを設定
するために一般的に設けられているシステム設定モード
を用いて行うことができる。例えば、リズムスタートス
イッチ140とリズム選択スイッチ141とが同時に押
された場合にシステム設定モードに移行するように構成
し、このシステム設定モードにおいてテンポ設定ボリュ
ーム16を操作して標準テンポ値を設定するように構成
することができる。かかる構成によれば、演奏者は、標
準テンポとして任意のテンポを設定することができるの
で、テンポ設定の自由度が増す。
In the above embodiment, the standard tempo value of each rhythm is read from the prepared tempo table and determined, but the performer inputs it using the operation panel 14 as an input means. It may be configured to.
In this case, for example, a system setting mode generally provided for setting various parameters in the electronic musical instrument can be used. For example, when the rhythm start switch 140 and the rhythm selection switch 141 are pressed at the same time, the system is switched to the system setting mode, and the tempo setting volume 16 is operated in this system setting mode to set the standard tempo value. Can be configured to. With this configuration, the performer can set an arbitrary tempo as the standard tempo, so that the degree of freedom in setting the tempo increases.

【0091】また、操作パネル14に特別のスイッチを
設け、標準テンポ値をテンポテーブルから読み出して決
定するかシステム設定モードで設定するかを選択できる
ように構成しても良い。かかる構成によれば、テンポ設
定の自由度は更に増すので、より操作性が優れたものと
なる。
Also, a special switch may be provided on the operation panel 14 so that the standard tempo value can be read out from the tempo table and determined or can be set in the system setting mode. According to such a configuration, the degree of freedom in setting the tempo is further increased, so that the operability is further improved.

【0092】[0092]

【発明の効果】以上詳述したように、本発明によれば、
簡単且つ安価であるにもかかわらずテンポ値の表示器を
見なくても容易にテンポ設定ができる操作性に優れた電
子楽器のテンポ設定装置を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a tempo setting device for an electronic musical instrument which is simple and inexpensive, and which has an excellent operability in which the tempo can be easily set without looking at the tempo value display.

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

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

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

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

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

【図5】本発明の動作を示すフローチャート(テンポ設
定ボリューム処理ルーチン)である。
FIG. 5 is a flowchart showing an operation of the present invention (tempo setting volume processing routine).

【図6】本発明の実施例で使用する変換テーブルの一例
を示す図である。
FIG. 6 is a diagram showing an example of a conversion table used in the embodiment of the present invention.

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

10 CPU 11 プログラムメモリ 12 RAM 13 パネルインタフェース回路 14 操作パネル 15 A/D変換器 16 テンポ設定ボリューム 17 リズム演奏データメモリ 18 波形メモリ 19 音源 20 D/A変換器 21 増幅器 22 スピーカ 30 システムバス 110 変換テーブル 140 リズムスタートスイッチ 141 リズム選択スイッチ 142 表示器 10 CPU 11 Program Memory 12 RAM 13 Panel Interface Circuit 14 Operation Panel 15 A / D Converter 16 Tempo Setting Volume 17 Rhythm Performance Data Memory 18 Waveform Memory 19 Sound Source 20 D / A Converter 21 Amplifier 22 Speaker 30 System Bus 110 Conversion Table 140 Rhythm start switch 141 Rhythm selection switch 142 Indicator

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 リズム演奏データ記憶手段に記憶された
複数のリズム演奏データの中から選択された所定のリズ
ム演奏データに基づいて自動的にリズム演奏を行う電子
楽器に適用されるテンポ設定装置であって、 前記選択された所定のリズム演奏データに基づいて演奏
されるリズムの標準テンポ値を規定する標準テンポ規定
手段と、 所定範囲で可動であり、該可動範囲内の特定位置に調整
点を有するテンポ操作子と、 該テンポ操作子の前記調整点に、前記標準テンポ規定手
段で規定された標準テンポ値を対応させ、前記調整点か
らのテンポ操作子の変位量に応じて前記標準テンポ値に
基づき新しいテンポ値を算出する算出手段と、 該算出手段で算出されたテンポ値を、前記選択された所
定のリズム演奏データに基づいて自動演奏されるリズム
のテンポ値として設定する制御手段、 とを具備したことを特徴とする電子楽器のテンポ設定装
置。
1. A tempo setting device applied to an electronic musical instrument that automatically performs rhythm performance based on predetermined rhythm performance data selected from a plurality of rhythm performance data stored in rhythm performance data storage means. And a standard tempo defining means for defining a standard tempo value of a rhythm to be played based on the selected predetermined rhythm performance data, and a movable within a predetermined range, and an adjustment point at a specific position within the movable range. A tempo operator having the standard tempo value defined by the standard tempo defining means is associated with the adjustment point of the tempo operator, and the standard tempo value is determined according to the displacement amount of the tempo operator from the adjustment point. Calculating means for calculating a new tempo value based on the above, and a tempo value calculated by the calculating means for automatically playing the tempo value based on the selected predetermined rhythm performance data. Control means for setting a tempo value, tempo setting device for an electronic musical instrument characterized by comprising the city.
【請求項2】 前記標準テンポ規定手段は、各リズム演
奏データの標準テンポ値が記憶された標準テンポ値記憶
手段であることを特徴とする請求項1に記載の電子楽器
のテンポ設定装置。
2. The tempo setting device for an electronic musical instrument according to claim 1, wherein the standard tempo defining means is a standard tempo value storage means in which a standard tempo value of each rhythm performance data is stored.
【請求項3】 前記標準テンポ規定手段は、任意の標準
テンポ値を入力できる入力手段であることを特徴とする
請求項1に記載の電子楽器のテンポ設定装置。
3. The tempo setting device for an electronic musical instrument according to claim 1, wherein the standard tempo defining means is an input means capable of inputting an arbitrary standard tempo value.
【請求項4】 前記テンポ操作子の調整点は、該テンポ
操作子の可動範囲の中点近傍の所定範囲に設けられるこ
とを特徴とする請求項1〜請求項3の何れかに記載のデ
ータのテンポ設定装置。
4. The data according to claim 1, wherein the adjustment point of the tempo operator is provided in a predetermined range near a midpoint of a movable range of the tempo operator. Tempo setting device.
【請求項5】 前記テンポ操作子は、前記調整点にクリ
ックを有する回転式のポテンショメータであることを特
徴とする請求項1〜請求項4の何れかに記載の電子楽器
のテンポ設定装置。
5. The tempo setting device for an electronic musical instrument according to claim 1, wherein the tempo operator is a rotary potentiometer having a click at the adjustment point.
【請求項6】 前記テンポ操作子は、前記調整点にクリ
ックを有するスライド式のポテンショメータであること
を特徴とする請求項1〜請求項4の何れかに記載の電子
楽器のテンポ設定装置。
6. The tempo setting device for an electronic musical instrument according to claim 1, wherein the tempo operator is a slide potentiometer having a click at the adjustment point.
【請求項7】 前記選択されたリズム演奏データ毎に最
小テンポ値及び最大テンポ値を記憶する記憶手段を更に
備え、前記算出手段は、前記テンポ操作子の可動範囲の
一端から調整点までを前記最小テンポ値から標準テンポ
値までに対応させ、前記テンポ操作子の可動範囲の調整
点から他端までを前記標準テンポ値から最大テンポ値ま
でに対応させ、前記調整点からのテンポ操作子の変位量
に応じて新しいテンポ値を算出することを特徴とする請
求項1〜請求項6の何れかに記載の電子楽器のテンポ設
定装置。
7. A storage unit for storing a minimum tempo value and a maximum tempo value for each of the selected rhythm performance data is further provided, and the calculation unit is configured to store the minimum tempo value and the maximum tempo value from one end of a movable range of the tempo operator to an adjustment point. Corresponding from the minimum tempo value to the standard tempo value, from the adjustment point of the movable range of the tempo operator to the other end from the standard tempo value to the maximum tempo value, and the displacement of the tempo operator from the adjustment point The tempo setting device for an electronic musical instrument according to any one of claims 1 to 6, wherein a new tempo value is calculated according to the amount.
JP28586794A 1993-11-17 1994-10-26 Electronic musical instrument tempo setting device Expired - Fee Related JP3271447B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28586794A JP3271447B2 (en) 1993-11-17 1994-10-26 Electronic musical instrument tempo setting device
US08/343,859 US5585586A (en) 1993-11-17 1994-11-17 Tempo setting apparatus and parameter setting apparatus for electronic musical instrument

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5-311274 1993-11-17
JP31127493 1993-11-17
JP28586794A JP3271447B2 (en) 1993-11-17 1994-10-26 Electronic musical instrument tempo setting device

Publications (2)

Publication Number Publication Date
JPH07230286A true JPH07230286A (en) 1995-08-29
JP3271447B2 JP3271447B2 (en) 2002-04-02

Family

ID=26556055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28586794A Expired - Fee Related JP3271447B2 (en) 1993-11-17 1994-10-26 Electronic musical instrument tempo setting device

Country Status (1)

Country Link
JP (1) JP3271447B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133660A (en) * 1996-10-25 1998-05-22 Kawai Musical Instr Mfg Co Ltd Musical factor controller
JP2006295052A (en) * 2005-04-14 2006-10-26 Sony Corp Controller and display device having the same
KR100789588B1 (en) * 2006-07-03 2007-12-28 엘지전자 주식회사 Method for mixing music file and terminal using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10133660A (en) * 1996-10-25 1998-05-22 Kawai Musical Instr Mfg Co Ltd Musical factor controller
JP2006295052A (en) * 2005-04-14 2006-10-26 Sony Corp Controller and display device having the same
KR100789588B1 (en) * 2006-07-03 2007-12-28 엘지전자 주식회사 Method for mixing music file and terminal using the same

Also Published As

Publication number Publication date
JP3271447B2 (en) 2002-04-02

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JPH06259065A (en) Electronic musical instrument
US5585586A (en) Tempo setting apparatus and parameter setting apparatus for electronic musical instrument
JP3271447B2 (en) Electronic musical instrument tempo setting device
JP2885333B2 (en) Electronic musical instrument
JP3045915B2 (en) Electronic musical instrument data setting device
JP3171759B2 (en) Automatic performance device
JP3077787B2 (en) Electronic musical instrument tempo adjustment device
JP2953937B2 (en) Electronic musical instrument volume control device
JP3226268B2 (en) Concert magic automatic performance device
JP2915753B2 (en) Electronic musical instrument
JP3097888B2 (en) Electronic musical instrument volume setting device
JP3630266B2 (en) Automatic accompaniment device
JP3436636B2 (en) Automatic accompaniment device for electronic and electric musical instruments
JP3356326B2 (en) Electronic musical instrument
JPH07181966A (en) Data setting device of electronic musical instrument
JPH0830273A (en) Tempo setting device for electronic musical instrument
JPH0772857A (en) Automatic music playing device for electronic musical instrument
JPH0830272A (en) Tempo setting device for electronic musical instrument
JPH06161438A (en) Data input device of electronic musical instrument
JPH0772869A (en) Tuning support system of electronic musical instrument
JPH08248957A (en) Operator of electronic musical instrument
JPH07199940A (en) Demonstrative playing controller for electronic musical instrument
JPH08320688A (en) Automatic performance device
JP2005010458A (en) Automatic arpeggio device and computer program applied to the device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020107

LAPS Cancellation because of no payment of annual fees