JP2541021B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP2541021B2
JP2541021B2 JP3024005A JP2400591A JP2541021B2 JP 2541021 B2 JP2541021 B2 JP 2541021B2 JP 3024005 A JP3024005 A JP 3024005A JP 2400591 A JP2400591 A JP 2400591A JP 2541021 B2 JP2541021 B2 JP 2541021B2
Authority
JP
Japan
Prior art keywords
performance
accompaniment
state quantity
switching
pattern data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3024005A
Other languages
Japanese (ja)
Other versions
JPH04240696A (en
Inventor
勤 今泉
靖 鞍掛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP3024005A priority Critical patent/JP2541021B2/en
Priority to US07/821,023 priority patent/US5241128A/en
Publication of JPH04240696A publication Critical patent/JPH04240696A/en
Application granted granted Critical
Publication of JP2541021B2 publication Critical patent/JP2541021B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、予め記憶されている伴
奏パターンデータを時間経過に従って読み出して、同デ
ータに基づく和音構成音、ベース音、打楽器音などの伴
奏音を自動的に発生する自動伴奏装置を内蔵した電子楽
器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention automatically reads accompaniment pattern data stored in advance as time passes, and automatically generates accompaniment sounds such as chord constituent tones, bass tones and percussion instrument sounds based on the data. The present invention relates to an electronic musical instrument having a built-in accompaniment device.

【0002】[0002]

【従来の技術】従来、この種の装置は、例えば特開平2
−71293〜71296号公報、実開平1−1012
99号公報などに示されているように、鍵タッチ量、押
鍵間隔などの鍵演奏状態量を検出するとともに、同検出
した鍵演奏状態量と予め定めた基準値とを比較して、同
鍵演奏状態量が前記基準値を越えたとき、伴奏データメ
モリから読み出されれる伴奏パターンデータを切り換
え、楽曲の演奏中、鍵演奏状態に応じて伴奏パターンを
自動的に切り換えれるようにして、演奏楽曲に適した伴
奏音が発音されるとともに同伴奏音が単調にならないよ
うにしている。
2. Description of the Related Art Conventionally, this type of apparatus is disclosed in
-71293-71296 gazette, actual Kaihei 1-1012.
As disclosed in Japanese Patent Publication No. 99, etc., a key performance state quantity such as a key touch amount and a key press interval is detected, and the detected key performance state quantity is compared with a predetermined reference value to determine the same. When the key performance state amount exceeds the reference value, the accompaniment pattern data read from the accompaniment data memory is switched, and the accompaniment pattern can be automatically switched according to the key performance state during the performance of the music. The accompaniment sound suitable for the music being played is generated, and the accompaniment sound is not monotonous.

【0003】[0003]

【発明が解決しようとする課題】しかるに、上記従来の
装置にあっては、前記演奏状態量と比較される基準値が
一定であるため、演奏曲の曲想、演奏者の癖、演奏音の
音色などが変化すると、検出される鍵演奏状態量が変化
するので、楽曲の演奏中、伴奏パターンが頻繁に切り換
えられ過ぎたり、伴奏パターンがめったに切り換えられ
なかったりして、伴奏パターンの切り換え頻度が適切に
ならないという問題がある。本発明は上記問題に対処す
るためなされたもので、その目的は、楽曲の演奏中に、
鍵盤などの演奏操作手段の演奏状態に応じて、伴奏パタ
ーンが適切な頻度で切り換えられるようにした電子楽器
を提供することにある。
However, in the above-mentioned conventional apparatus, since the reference value compared with the performance state quantity is constant, the musical composition of the musical composition, the habit of the performer, and the tone color of the musical performance sound. Change the detected key playing state amount, the accompaniment patterns are switched too frequently during the performance of the song, or the accompaniment patterns are rarely switched. There is a problem that does not become. The present invention has been made to address the above problems, and its purpose is to
An object of the present invention is to provide an electronic musical instrument in which accompaniment patterns can be switched at an appropriate frequency according to the performance state of a performance operation means such as a keyboard.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、上記請求項1に記載の発明の構成上の特徴は、複数
の鍵からなる演奏操作手段と、異なる区間内における鍵
の各操作回数の差を演奏状態量として検出する演奏状態
量検出手段と、複数種の伴奏パターンデータを記憶した
伴奏データメモリと、複数種の伴奏パターンデータの1
つを読み出す読み出し手段と、演奏状態量検出手段によ
り検出された演奏状態量と予め定めた基準値とを比較し
て同演奏状態量が同基準値を境に一方の範囲に属すると
き読み出し手段により読み出される伴奏パターンデータ
を異なる伴奏パターンデータに切り換える切り換え手段
と、演奏操作手段の複数の鍵の操作に応じて楽音信号を
発生するとともに前記読み出された伴奏パターンデータ
に応じて伴奏音信号を発生する楽音信号発生手段と、
り換え手段による切り換え条件を選択する切り換え条件
選択手段と、切り換え条件選択手段により選択された切
り換え条件に応じて前記検出された演奏状態量又は前記
基準値の少なくとも一方を変更する変更手段とを備えた
ことにある。
In order to achieve the above-mentioned object, the structural features of the invention described in claim 1 are plural.
And the key or Ranaru performance operation means of, key in a different section within the
Performance state amount detecting means for detecting the difference in the number of times of each operation as a performance state amount, an accompaniment data memory storing a plurality of types of accompaniment pattern data, and a plurality of types of accompaniment pattern data.
When the performance state quantity detected by the performance state quantity detecting means and a predetermined reference value are compared and the performance state quantity belongs to one of the ranges with the reference value as a boundary, the reading means Switching means for switching the read accompaniment pattern data to different accompaniment pattern data, and generating a musical tone signal in response to the operation of a plurality of keys of the performance operating means and an accompaniment tone signal in accordance with the read accompaniment pattern data. Tone signal generating means , switching condition selecting means for selecting switching conditions by the switching means, and at least one of the detected playing state quantity and the reference value in accordance with the switching conditions selected by the switching condition selecting means. <br/> in that a changing means for.

【0005】[0005]

【0006】[0006]

【0007】[0007]

【0008】また、上記請求項2に記載の発明の構成上
の特徴は、前記請求項1に係る発明の演奏状態量検出手
段を、異なる区間内における鍵の各平均鍵タッチ量の差
を演奏状態量として検出する演奏状態量検出手段で置換
したことにある。
Further, the structural feature of the invention described in claim 2 is that the performance state quantity detection hand of the invention according to claim 1 is
Is the difference between the average key touches of keys in different sections.
Is replaced by a performance state quantity detecting means for detecting as a performance state quantity .

【0009】また、上記請求項3に記載の発明の構成上
の特徴は、複数の演奏操作子からなる演奏操作手段と、
演奏操作手段による演奏状態量を検出する演奏状態量検
出手段と、複数種の伴奏パターンデータを記憶した伴奏
データメモリと、複数種の伴奏パターンデータの1つを
読み出す読み出し手段と、演奏状態量検出手段により検
出された演奏状態量と予め定めた基準値とを比較して同
演奏状態量が同基準値を境に一方の範囲に属するとき読
み出し手段により読み出される伴奏パターンデータを異
なる伴奏パターンデータに切り換える切り換え手段と、
演奏操作手段の複数の演奏操作子の操作に応じて楽音信
号を発生するとともに前記読み出された伴奏パターンデ
ータに応じて伴奏音信号を発生する楽音信号発生手段と
を備えた電子楽器において、演奏操作手段の操作に応じ
て発生される楽音信号の音色を選択する音色選択手段
と、音色選択手段により選択された音色に応じて前記検
出された演奏状態量又は前記基準値の少なくとも一方を
変更する変更手段とを設けたことにある。
Further, the structural feature of the invention described in claim 3 is that the performance operation means comprises a plurality of performance operators.
Performance state quantity detection that detects performance state quantity by performance operation means
Accompaniment that stores output means and accompaniment pattern data of multiple types
Data memory and one of multiple types of accompaniment pattern data
The reading means for reading and the playing state quantity detecting means detect
Compare the performance state quantity that was issued and a predetermined reference value, and compare
Read when the playing state quantity belongs to one range with the same reference value as the boundary.
Different accompaniment pattern data read by the projecting means.
Switching means for switching to the accompaniment pattern data
A musical tone is transmitted according to the operation of a plurality of performance operators of the performance operation means.
Signal and the read accompaniment pattern data
Tone signal generating means for generating an accompaniment tone signal according to the data
In the electronic musical instrument provided with, a tone color selecting means for selecting a tone color of a tone signal generated in response to an operation of the performance operating means, and the detected playing state amount or the tone state amount according to the tone color selected by the tone color selecting means And a changing means for changing at least one of the reference values.

【0010】また、上記請求項4〜7に記載の発明の構
成上の特徴は、前記請求項3に係る発明の複数の演奏操
作子を複数の鍵で構成するとともに、同請求項3に係る
演奏状態量検出手段を、前記演奏状態量として、所定区
間内における鍵の操作回数を検出する手段、所定区間内
における鍵の平均鍵タッチ量を検出する手段、異なる区
間内における鍵の各操作回数の差を検出する手段、及び
異なる区間内における鍵の各平均鍵タッチ量の差を検出
する手段でそれぞれ構成したことにある。
Further, the structural features of the invention described in claims 4 to 7 are such that the plurality of performance operators of the invention according to claim 3 are composed of a plurality of keys, and the invention is related to the invention of claim 3. <br/> The performance state quantity detecting means is used as the performance state quantity in a predetermined section.
Means to detect the number of key operations in the interval, within a predetermined interval
For detecting the average key touch amount of keys in different groups
Means for detecting the difference in the number of times each key operation is performed, and
Detect the difference between the average key touch amount of keys in different sections
It is configured by each means .

【0011】また、上記請求項8に記載の発明の構成上
の特徴は、前記請求項3に係る発明と同様の演奏操作手
段、伴奏データメモリ、読み出し手段、切り換え手段及
び楽音信号発生手段を備えるとともに、演奏操作手段に
よる演奏状態量を所定の区間毎に検出する演奏状態量検
出手段を備えた電子楽器において、演奏状態量検出手段
により検出された前回の区間の演奏状態量に基づいて切
り換え手段が読み出し伴奏パターンデータの切り換えを
したか否かを表す切り換え評価値を記憶する切り換え評
価値記憶手段と、前記記憶されている切り換え評価値に
応じて前記検出された演奏状態量又は前記基準値の少な
くとも一方を変更する変更手段とを設けたことにある。
The structural feature of the invention described in claim 8 is the same as that of the invention according to claim 3 in that the performance operation means, accompaniment data memory, reading means, switching means and tone signal generating means are provided. At the same time, in the electronic musical instrument provided with the performance state quantity detecting means for detecting the performance state quantity by the performance operating means for each predetermined section, the switching means based on the performance state quantity of the previous section detected by the performance state quantity detecting means. A switching evaluation value storage means for storing a switching evaluation value indicating whether or not the read accompaniment pattern data has been switched, and the detected performance state quantity or the reference value in accordance with the stored switching evaluation value. The change means for changing at least one of them is provided.

【0012】また、上記請求項9〜12に記載の発明の
構成上の特徴は、前記請求項8に係る発明の複数の演奏
操作子と演奏状態量検出手段とを、前記請求項4〜7
係る発明と同種のもので構成したことにある。
[0012] The billing structural feature of the invention according to claim 9 to 12, and a plurality of performance operators and performance state quantity detecting means of the invention according to claim 8, wherein the claim 4-7 It is composed of the same kind as the invention according to.

【0013】また、上記請求項13に記載の発明の構成
上の特徴は、複数の演奏操作子からなる第1演奏操作手
段と、複数の演奏操作子からなる第2演奏操作手段と、
複数種の伴奏パターンデータを記憶した伴奏データメモ
リと、複数種の伴奏パターンデータの1つを読み出す読
み出し手段と、前記読み出した伴奏パターンデータを第
2演奏操作手段の複数の演奏操作子の操作に応じて変換
する変換手段と、第1演奏操作手段の複数の演奏操作子
の操作に応じて楽音信号を発生するとともに前記変換さ
れた伴奏パターンデータに応じて伴奏音信号を発生する
楽音信号発生手段とを備えた電子楽器において、第1演
奏操作手段による演奏状態量を検出する第1演奏状態量
検出手段と、第2演奏操作手段による演奏状態量を検出
する第2演奏状態量検出手段と、第1又は第2演奏状態
量検出手段により検出された各演奏状態量のいずれかを
選択する選択手段と、前記選択された演奏状態量と予め
定めた基準値とを比較して同演奏状態量が同基準値を境
に一方の範囲に属するとき読み出し手段により読み出さ
れる伴奏パターンデータを異なる伴奏パターンデータに
切り換える切り換え手段とを設けたことにある。
Further, according to the thirteenth aspect of the present invention, there is provided a first performance operating means composed of a plurality of performance operators, and a second performance operating means composed of a plurality of performance operators.
Accompaniment data memory storing a plurality of types of accompaniment pattern data, reading means for reading one of a plurality of types of accompaniment pattern data, and operation of the read accompaniment pattern data for a plurality of performance operators of the second performance operation means. And a musical tone signal generating means for generating a musical tone signal according to the operation of a plurality of performance operators of the first performance operating means and for generating an accompaniment tone signal according to the converted accompaniment pattern data. An electronic musical instrument comprising: a first performance state quantity detecting means for detecting a performance state quantity by the first performance operating means; a second performance state quantity detecting means for detecting a performance state quantity by the second performance operating means; Selecting means for selecting one of the respective performance state quantities detected by the first or second performance state quantity detecting means; and the selected performance state quantity and a predetermined reference value. Compare to the play state quantity is in fact provided a switching means for switching to a different accompaniment pattern data accompaniment pattern data read by the reading means when belonging to one of the ranges the boundary of the reference value.

【0014】また、上記請求項14に記載の発明の構成
上の特徴は、前記請求項13に係る発明と同様の第1演
奏操作手段、第2演奏操作手段、伴奏データメモリ、読
み出し手段、変換手段及び楽音信号発生手段とを備えた
電子楽器において、第1演奏操作手段による演奏状態量
を検出する第1演奏状態量検出手段と、第2演奏操作手
段による演奏状態量を検出する第2演奏状態量検出手段
と、第1若しくは第2演奏状態量検出手段により検出さ
れた各演奏状態量のうちの少なくとも一方の演奏状態
量、又は第1演奏状態量検出手段により検出された演奏
状態量に第2演奏状態量検出手段により検出された演奏
状態量を加味した演奏状態量のいずれかを選択する選択
手段と、前記選択された演奏状態量と予め定めた基準値
とを比較して同演奏状態量が同基準値を境に一方の範囲
に属するとき前記読み出し手段により読み出される伴奏
パターンデータを異なる伴奏パターンデータに切り換え
る切り換え手段とを設けたことにある。
The structure of the invention described in claim 14 is the same as that of the invention according to claim 13, in which the first performance operating means, the second performance operating means, the accompaniment data memory, the reading means, and the converting means. In an electronic musical instrument provided with a means and a tone signal generating means, a first performance state quantity detecting means for detecting a performance state quantity by the first performance operating means and a second performance for detecting a performance state quantity by the second performance operating means. At least one of the playing state quantities detected by the state quantity detecting means and the first or second playing state quantity detecting means, or the playing state quantity detected by the first playing state quantity detecting means. Selection means for selecting one of the performance state quantities in consideration of the performance state quantity detected by the second performance state quantity detecting means and the selected performance state quantity are compared with a predetermined reference value to perform the same performance. In the amount of state is provided and switching means for switching to a different accompaniment pattern data accompaniment pattern data read by said reading means when belonging to one of the ranges the boundary of the reference value.

【0015】上記請求項15に記載の発明の構成上の特
徴は、前記請求項13又は14に係る発明の第1演奏操
作手段の複数の演奏操作子をメロディを演奏するための
複数の鍵で構成するとともに、同発明の第2演奏操作手
段の複数の演奏操作子を和音を演奏するための複数の鍵
で構成したことにある。
According to a fifteenth aspect of the present invention, the plurality of performance operators of the first performance operating means of the thirteenth or fourteenth aspect of the invention are provided with a plurality of keys for playing a melody. In addition to the above, the plurality of performance operators of the second performance operating means of the present invention are composed of a plurality of keys for playing chords.

【0016】[0016]

【発明の作用及び効果】上記のように構成した請求項
1,2に係る発明においては、切り換え手段が、演奏状
態量検出手段により検出された演奏状態量と予め定めた
基準値とを比較して、同演奏状態量が同基準値を境に一
方の範囲に属するとき、読み出し手段により読み出され
る伴奏パターンデータを異なる伴奏パターンデータに切
り換えるので、楽音信号発生手段から発生される伴奏音
信号のパターンが、演奏操作手段における演奏状態量に
応じて自動的に切り換えられる。一方、演奏者が切り換
え条件選択手段を用いて切り換え条件を変更すれば、変
更手段が前記検出した演奏状態量又は前記基準値の少な
くとも一方を前記変更した切り換え条件に応じて変更す
るので、前記切り換え手段における切り換えの判断基準
が演奏者の前記選択に応じて変更される。
[Advantages and effects of the invention] Claims configured as described above
In the inventions 1 and 2 , the switching means compares the performance state quantity detected by the performance status quantity detection means with a predetermined reference value, and the performance status quantity is set to one of the reference values. When belonging to the range, the accompaniment pattern data read by the reading means is switched to different accompaniment pattern data, so that the pattern of the accompaniment sound signal generated from the musical sound signal generating means is automatically changed according to the performance state amount in the performance operation means. Can be switched. On the other hand, if the performer changes the switching condition using the switching condition selecting means, the changing means changes at least one of the detected playing state quantity and the reference value according to the changed switching condition. The criterion for switching in the means is changed according to the player's selection.

【0017】この請求項1,2に係る発明においては、
演奏操作手段は複数の鍵で構成されていて、演奏状態量
検出手段は、演奏状態量として、異なる区間内における
鍵の各操作回数の差、及び異なる区間内における鍵の各
平均鍵タッチ量の差をそれぞれ検出するので、前記伴奏
パターンは、鍵演奏中、鍵操作回数差又は平均鍵タッチ
量差に応じて自動的に切り換えられる。
[0017] In the invention according to claim 1, 2 This is
The performance operation means is composed of multiple keys
Detecting means, a play state quantity, and detects the difference in the number of operations of the key at different intervals within and different in the interval key the difference between the average key touch weight respectively, the accompaniment pattern is in the key play, It is automatically switched according to the difference in the number of key operations or the difference in the average key touch amount.

【0018】その結果、前記請求項1,2に係る発明に
よれば、曲想の異なる楽曲を演奏する場合でも、音色を
異ならせて楽曲を演奏する場合でも、演奏者が固有の癖
をもっている場合でも、楽曲の演奏前に、演奏者が切り
換え条件を前記曲想、音色及び癖に合わせて適当に選択
することにより、楽曲の演奏中に、鍵操作回数差及び平
均鍵タッチ量差の各演奏状態量に応じて、伴奏パターン
が適切な頻度で自動的に切り換えられるようになり、高
品質の音楽を奏でることができる。
As a result, according to the inventions according to claims 1 and 2 , the player has a peculiar habit even when playing music having different musical compositions and playing music with different tone colors. However, before the performance of the musical composition, the player appropriately selects the switching condition in accordance with the musical composition, the tone color and the habit, so that the difference in the number of key operations and the even key touch amount during the performance of the musical composition. depending on each Starring Kanade state quantity difference, accompaniment patterns become automatically switch at a suitable frequency, it is possible to play music with high quality.

【0019】また、上記請求項3〜7に係る発明におい
も、楽音信号発生手段から発生される伴奏音信号のパ
ターンが、演奏操作手段における演奏状態量(例えば、
鍵操作回数、平均鍵タッチ量、鍵操作回数差、平均鍵タ
ッチ量差などの鍵演奏状態)に応じて自動的に切り換え
られる。そして、この場合には、特に、変更手段は音色
選択手段により選択された音色に応じて前記検出された
演奏状態量又は前記基準値の少なくとも一方を変更する
ので、前記切り換え手段における切り換えの判断基準が
演奏音の音色に応じて自動的に変更される。
[0019] Also in the invention according to the claims 3 to 7, the pattern of accompaniment sound signal generated from the comfortable sound signal generating unit, the performance state quantity of the performance operation means (e.g.,
It is automatically switched according to the key performance number, the average key touch amount, the key operation number difference, the average key touch amount difference, etc.). In this case, in particular, the changing means changes at least one of the detected playing state quantity and the reference value according to the timbre selected by the timbre selecting means. Is automatically changed according to the tone of the performance sound.

【0020】その結果、前記請求項3〜7に係る発明に
よれば、演奏音の音色が異なったり、演奏中に音色が切
り換えられたりして、演奏操作手段による演奏状態が変
化しても(例えば、ストリングス系の音色の場合には、
ゆっくした演奏になるとともに鍵タッチも変化に乏しい
ものとなる)、切り換え条件が演奏音の音色に応じて自
動的に切り換えられので、演奏者が演奏中に格別の操作
をすることもなく、鍵操作回数、平均鍵タッチ量、鍵操
作回数差、平均鍵タッチ量差などの演奏状態量に応じ
て、伴奏パターンが適切な頻度で自動的に切り換えられ
るようになり、高品質の音楽を奏でることができる。
As a result, according to the inventions according to claims 3 to 7 , even if the performance state of the performance operating means changes due to a difference in the tone color of the performance sound or switching of the tone color during the performance ( For example, in the case of strings tone,
As the playing becomes slower and the key touches are less likely to change), the switching conditions are automatically switched according to the tone color of the performance sound, so the performer does not have to perform special operations during the performance. Accompaniment patterns can be automatically switched at an appropriate frequency according to performance state quantities such as the number of key operations, the average key touch amount, the difference in key operation numbers, and the difference in average key touch amount, and high quality music can be played. be able to.

【0021】また、上記請求項8〜12に係る発明にお
いても、楽音信号発生手段から発生される伴奏音信号の
パターンが、演奏操作手段における演奏状態量(例え
ば、鍵操作回数、平均鍵タッチ量、鍵操作回数差、平均
鍵タッチ量差などの鍵演奏状態)に応じて自動的に切り
換えられる。そして、この場合には、特に、評価値記憶
手段が前回の区間の伴奏パターンデータの切り換えの有
無を表す切り換え評価値を記憶し、変更手段は前記記憶
されている切り換え評価値に応じて前記検出された演奏
状態量又は前記基準値の少なくとも一方を変更するの
で、前記切り換え手段における切り換えの判断基準が伴
奏パターンの前回の切り換えの有無に応じて自動的に変
更される。
[0021] Also in the invention according to the claims 8 to 12, the pattern of accompaniment sound signal generated by the easy tone signal generation means, playing state quantity of the performance operation means (e.g., a key operation number, the average key touch Volume, key operation number difference, average key touch amount difference, etc.). In this case, in particular, the evaluation value storage means stores the switching evaluation value indicating whether or not the accompaniment pattern data in the previous section has been switched, and the changing means detects the detection value according to the stored switching evaluation value. Since at least one of the played state quantity and the reference value is changed, the switching reference in the switching means is automatically changed according to whether or not the accompaniment pattern was previously switched.

【0022】その結果、前記請求項8〜12に係る発明
によれば、伴奏パターンを短期間に連続して切り換えな
いようにすることができる。これにより、演奏者が演奏
中に格別の操作をすることもなく、鍵操作回数、平均鍵
タッチ量、鍵操作回数差、平均鍵タッチ量差などの演奏
状態量に応じて、伴奏パターンが適切な頻度で自動的に
切り換えられるようになり、高品質の音楽を奏でること
ができる。
As a result, according to the inventions of claims 8 to 12 , it is possible to prevent the accompaniment patterns from being continuously switched in a short period of time. This allows the performer to perform an appropriate accompaniment pattern according to the performance state quantity such as the number of key operations, the average key touch amount, the difference in the number of key operations, and the difference in the average key touch amount without performing any special operation during the performance. It can be switched automatically at any frequency, and high quality music can be played.

【0023】また、上記のように構成した請求項13に
係る発明においては、第1及び第2演奏操作手段による
各演奏状態量が第1及び第2演奏状態量検出手段によっ
てそれぞれ検出されるとともに、これらの第1又は第2
演奏状態量のいずれかが選択手段により選択され、切り
換え手段が前記選択された演奏状態量と予め定めた基準
値とを比較して同演奏状態量が同基準値を境に一方の範
囲に属するとき読み出し手段により読み出される伴奏パ
ターンデータを切り換える。これにより、楽音信号発生
手段から発生される伴奏音信号のパターンは、演奏中
に、第1演奏操作手段における演奏操作又は第2演奏操
作手段における演奏操作のいずれかに応じて自動的に切
り換えられる。
Further, in the invention according to claim 13 configured as described above, each performance state amount by the first and second performance operating means is respectively detected by the first and second performance state amount detecting means. Detected and these first or second
One of the playing state quantities is selected by the selecting means, and the switching means compares the selected playing state quantity with a predetermined reference value, and the playing state quantity belongs to one range with the same reference value as a boundary. At this time, the accompaniment pattern data read by the reading means is switched. As a result, the pattern of the accompaniment sound signal generated by the musical sound signal generating means is automatically switched during the performance in accordance with either the performance operation of the first performance operation means or the performance operation of the second performance operation means. .

【0024】また、上記のように構成した請求項14に
係る発明においては、選択手段は、第1若しくは第2演
奏状態量検出手段により検出された各演奏状態量のうち
の少なくとも一方の演奏状態量、又は第1演奏状態量検
出手段により検出された演奏状態量に第2演奏状態量検
出手段により検出された演奏状態量を加味した演奏状態
量のいずれかを選択するので、楽音信号発生手段から発
生される伴奏音信号のパターンは、演奏中に、第1若し
くは第2演奏操作手段におけるいずれかの演奏操作、又
は第1及び第2演奏操作手段における両演奏操作のいず
れかに応じて自動的に切り換えられる。
Further, in the invention according to claim 14 configured as described above, the selection means includes at least one of the performance state quantities detected by the first or second performance state quantity detection means. Either one of the playing state quantities or the playing state quantity in which the playing state quantity detected by the second playing state quantity detecting means is added to the playing state quantity detected by the first playing state quantity detecting means is selected. The pattern of the accompaniment sound signal generated from the musical sound signal generating means is either a performance operation in the first or second performance operating means or both performance operations in the first and second performance operating means during performance. It is automatically switched according to.

【0025】これらの請求項13,14に係る発明の場
合、例えば、前記請求項15に係る発明のように、第1
演奏操作手段の複数の演奏操作子はメロディを演奏する
ための複数の鍵で構成されるとともに、第2演奏操作手
段の複数の演奏操作子は和音を演奏するための複数の鍵
で構成されているので、前記伴奏パターンの自動切り換
えはメロディ演奏又は和音演奏に応じて選択的に行われ
る。
In the case of the invention according to claims 13 and 14, for example, as in the invention according to claim 15 , the first
The plurality of performance operators of the performance operation means are composed of a plurality of keys for playing a melody, and the plurality of performance operators of the second performance operation means are composed of a plurality of keys for playing a chord. Therefore, the automatic switching of the accompaniment pattern is selectively performed according to the melody performance or the chord performance.

【0026】その結果、前記請求項13〜15に係る発
明によれば、演奏者は、選択手段を用いて、伴奏パター
ンの自動切り換えに適したメロディ演奏、和音演奏など
の各種演奏を選択でき、この選択の基に伴奏パターンの
切り換えが制御されるので、演奏中における伴奏パター
ンの切り換えの頻度を適切にすることができる。
As a result, according to the thirteenth to fifteenth inventions, the player can select various performances such as melody performance and chord performance suitable for automatic switching of accompaniment patterns by using the selection means. Since the switching of the accompaniment pattern is controlled based on this selection, the frequency of switching the accompaniment pattern during the performance can be made appropriate.

【0027】[0027]

【実施例】以下、本発明の一実施例を図面を用いて説明
すると、図1は本発明に係る電子楽器の全体をブロック
図により示している。この電子楽器は左鍵盤11、右鍵
盤12及び操作パネル20を備えている。左鍵盤11は
複数の鍵からなり、和音演奏のために利用される。右鍵
盤12も複数の鍵からなり、メロディ演奏のために利用
される。これらの各鍵の押離鍵は押鍵検出回路13内に
各鍵に対応して設けた複数の鍵スイッチの開閉成により
検出されるとともに、同押離鍵に伴う鍵タッチ(イニシ
ャルタッチ)が鍵タッチ検出回路14により検出される
ようになっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the entire electronic musical instrument according to the present invention. This electronic musical instrument includes a left keyboard 11, a right keyboard 12, and an operation panel 20. The left keyboard 11 includes a plurality of keys and is used for playing a chord. The right keyboard 12 also comprises a plurality of keys and is used for playing a melody. The key press / release of each key is detected by opening / closing of a plurality of key switches provided for each key in the key press detection circuit 13, and a key touch (initial touch) accompanying the key press / release is detected. The key touch detection circuit 14 detects it.

【0028】操作パネル20には、図2に示すように、
複数の音色選択スイッチ群21、複数の伴奏スタイルス
イッチ群22、テンポボリューム23、スタートスイッ
チ24a、ストップスイッチ24b、選択スイッチ2
5、切り換え条件スイッチ26、判定領域スイッチ27
及びランプ28a,28bが設けられている。
On the operation panel 20, as shown in FIG.
A plurality of tone color selection switch groups 21, a plurality of accompaniment style switch groups 22, a tempo volume 23, a start switch 24a, a stop switch 24b, a selection switch 2
5, switching condition switch 26, determination area switch 27
And lamps 28a and 28b are provided.

【0029】音色選択スイッチ群21は、バイオリン、
ギター、ピアノ等、複数の音色にそれぞれ対応してお
り、各スイッチは前記複数の音色の中からメロディ音の
ための1つの音色を指定するものである。伴奏スタイル
スイッチ群22は、マーチ、ロック等、複数の伴奏スタ
イルにそれぞれ対応しており、各スイッチは前記複数の
伴奏スタイルの1つを指定するものである。テンポボリ
ューム23は自動伴奏のテンポを設定するものである。
スタートスイッチ24aは自動伴奏の開始を指示し、ま
たストップスイッチ24bは同伴奏の停止を指示するも
のである。選択スイッチ25は、自動伴奏の演奏中に、
鍵演奏状態(鍵タッチ又は押鍵数)に応じて、自動的に
伴奏パターンを切り換えるか否かを選択するものであ
る。切り換え条件スイッチ26は、前記伴奏パターンの
自動切り換えを行うための鍵演奏状態量の基準値を3段
階に切り換えるものである。判定領域スイッチ27は、
左鍵盤11の鍵演奏状態のみに応じて前記切り換えを行
うか、右鍵盤12の鍵演奏状態のみにより前記切り換え
を行うか、両鍵盤11,12の鍵演奏状態に応じて前記
切り換えを行うかを選択するものである。ランプ28
a,28bはそれぞれ発光ダイオードで構成されてお
り、演奏中の伴奏パターン(第1又は第2パターン)を
示す。これらの各スイッチ21〜27の操作はスイッチ
操作検出回路20aにより検出されるようになっている
とともに、各ランプ28a,28bは表示制御回路20
bにより点灯及び消灯制御されるようになっている。
The tone color selection switch group 21 includes a violin,
It corresponds to a plurality of tone colors such as guitar and piano, and each switch designates one tone color for a melody tone from the plurality of tone colors. The accompaniment style switch group 22 corresponds to a plurality of accompaniment styles such as march and rock, and each switch specifies one of the plurality of accompaniment styles. The tempo volume 23 sets the tempo of automatic accompaniment.
The start switch 24a instructs the start of the automatic accompaniment, and the stop switch 24b instructs the stop of the accompaniment. The selection switch 25 is used for playing the automatic accompaniment.
Whether or not to automatically switch the accompaniment pattern is selected according to the key performance state (key touch or key press number). The switching condition switch 26 switches the reference value of the key performance state quantity for automatically switching the accompaniment pattern in three steps. The judgment area switch 27 is
Whether to perform the switching in accordance with only the key playing state of the left keyboard 11, whether to perform the switching only in the key playing state of the right keyboard 12, or whether to perform the switching in accordance with the key playing state of both keyboards 11 and 12. It is something to choose. Lamp 28
Each of a and 28b is composed of a light emitting diode and indicates an accompaniment pattern (first or second pattern) during performance. The operation of each of the switches 21 to 27 is detected by the switch operation detection circuit 20a, and the lamps 28a and 28b are connected to the display control circuit 20.
Lighting and extinction are controlled by b.

【0030】押鍵検出回路13a、スイッチ操作検出回
路20a及び表示制御回路20bはバス30に接続され
ており、同バス30には、楽音信号形成回路40、マイ
クロコンピュータ部50及び伴奏データメモリ60が接
続されている。楽音信号形成回路40は複数の楽音信号
形成チャンネルを備えており、各楽音信号形成チャンネ
ルは、マイクロコンピュータ部50からバス30を介し
て供給されたキーコードKC、音量データVOL、キーオン
信号KON等の制御データに基づき、ピアノ、クラリネッ
ト等の音高の変化するメロディ音信号及び伴奏音信号を
形成するとともに、ドラム、シンバル等の打楽器音信号
(本件では伴奏音信号の一部として定義される)を形成
して出力する。楽音信号形成回路40の出力はアンプ4
1を介してスピーカ42に接続されている。
The key press detection circuit 13a, the switch operation detection circuit 20a and the display control circuit 20b are connected to a bus 30, and the bus 30 includes a tone signal forming circuit 40, a microcomputer section 50 and an accompaniment data memory 60. It is connected. The tone signal forming circuit 40 is provided with a plurality of tone signal forming channels, and each tone signal forming channel includes a key code KC, a volume data VOL, a key-on signal KON, etc. supplied from the microcomputer unit 50 via the bus 30. Based on the control data, it forms a melody sound signal and an accompaniment sound signal, such as a piano and a clarinet, whose pitch changes, and a percussion instrument sound signal such as a drum or cymbal (defined as a part of the accompaniment sound signal in this case). Form and output. The output of the tone signal forming circuit 40 is an amplifier 4
1 is connected to the speaker 42.

【0031】マイクロコンピュータ部50は、バス30
にそれぞれ接続されたプログラムメモリ51、テンポク
ロック発生器52、CPU53及びワーキングメモリ5
4からなる。プログラムメモリ51はROMにより構成
され、図8〜図25に示すフローチャートに対応したプ
ログラムを記憶している。テンポクロック発生器52は
可変周波数発振器で構成され、CPU53からバス30
を介して供給されるテンポ制御データに応じた周期でテ
ンポクロック信号を発生する。なお、このテンポクロッ
ク信号の周期は4分音符を24分割したタイミングに対
応している。CPU53は、電源スイッチ(図示しな
い)の投入後、図8に示すフローチャートに対応した
「メインプログラム」を実行し続けるとともに、前記テ
ンポクロック信号の到来により前記プログラムの実行を
中断して、図13に示すフローチャートに対応した「イ
ンタラプトプログラム」を割り込み実行するものであ
る。ワーキングメモリ54はRAMにより構成され、前
記プログラムの実行に必要なデータを一時的に記憶する
ものである。
The microcomputer unit 50 includes a bus 30.
Memory 51, tempo clock generator 52, CPU 53 and working memory 5 connected to
It consists of 4. The program memory 51 is composed of a ROM and stores a program corresponding to the flowcharts shown in FIGS. The tempo clock generator 52 is composed of a variable frequency oscillator, and is connected from the CPU 53 to the bus 30.
The tempo clock signal is generated at a cycle according to the tempo control data supplied via the. The period of the tempo clock signal corresponds to the timing obtained by dividing a quarter note into 24. After turning on the power switch (not shown), the CPU 53 continues to execute the “main program” corresponding to the flowchart shown in FIG. The "interrupt program" corresponding to the flowchart shown is executed by interruption. The working memory 54 is constituted by a RAM, and temporarily stores data necessary for executing the program.

【0032】伴奏データメモリ60はROMにより構成
され、スタイルテーブルSTLTBL、パターンテーブルPTNT
BL、演奏データテーブルPLDT、切り換え条件テーブルCG
CTBL及び係数テーブルKTBLを備えるとともに、その他の
伴奏用データを記憶する領域も備えている。スタイルテ
ーブルSTLTBLは、図3に示すように、各伴奏スタイルを
表すスタイル番号STLNにより指定される記憶領域STLTBL
(STLN)に分割されており、各記憶領域STLTBL(STLN)には
小節数BAR が記憶されている。ここで、小節数BAR は各
伴奏スタイルの第1及び第2伴奏パターンの1周期の小
節数を示している。なお、本実施例の自動伴奏装置にお
いては、各伴奏スタイル毎に、第1伴奏パターンと第2
伴奏パターンが用意されており、第2伴奏パターンは第
1伴奏パターンに比べて盛り上がり感が大きい(華やか
である)。
The accompaniment data memory 60 is composed of a ROM, and has a style table STLTBL and a pattern table PTNT.
BL, performance data table PLDT, switching condition table CG
In addition to the CTBL and the coefficient table KTBL, it also has an area for storing other accompaniment data. As shown in FIG. 3, the style table STLTBL is a storage area STLTBL designated by a style number STLN representing each accompaniment style.
It is divided into (STLN), and each storage area STLTBL (STLN) stores the bar number BAR. Here, the bar number BAR indicates the bar number of one cycle of the first and second accompaniment patterns of each accompaniment style. In the automatic accompaniment apparatus of this embodiment, the first accompaniment pattern and the second accompaniment pattern are provided for each accompaniment style.
An accompaniment pattern is prepared, and the second accompaniment pattern has a greater sense of excitement (more colorful) than the first accompaniment pattern.

【0033】パターンテーブルPTNTBLは、図4に示すよ
うに、各伴奏スタイルの各伴奏パターン(第1及び第2
伴奏パターン)に対応した記憶領域PTNTBL(STLN,PTRN)
に分割されており、各記憶領域PTNTBL(STLN,PTRN) はス
タイル番号STLN及びパターン番号PTRN(0又は1)によ
り指定されるようになっている。各記憶領域PTNTBL(STL
N,PTRN)には、各トラック番号TRKN(0〜8)毎に発音追加
フラグADD及び音量データVOL が記憶されている。この
トラック番号TRKNは、0〜5により和音の構成音列を表
し、6によりベース音列を表し、7,8により打楽器音
列を表している。また、発音追加フラグADD は、”0”
により各トラックの伴奏音がノーマル音であることを表
し、かつ”1”により各トラックの伴奏音が追加音であ
ることを表す。なお、ノーマル音とは第1及び第2伴奏
パターンにおいて常に発音されるものであり、追加音と
は第1及び第2伴奏パターンにおいてアレンジモード
(アレンジフラグARNG=”1”)のときのみ発音される
音である。音量データVOL は、各トラック毎の伴奏音の
相対音量を表している。
As shown in FIG. 4, the pattern table PTNTBL contains the accompaniment patterns (first and second accompaniment styles) of each accompaniment style.
Storage area corresponding to accompaniment pattern) PTNTBL (STLN, PTRN)
Each storage area PTNTBL (STLN, PTRN) is designated by a style number STLN and a pattern number PTRN (0 or 1). Each storage area PTNTBL (STL
N, PTRN) stores a sound addition flag ADD and volume data VOL for each track number TRKN (0 to 8). The track number TRKN represents a chord component sound sequence from 0 to 5, 6 represents a bass tone sequence, and 7, 8 represent a percussion instrument tone sequence. The pronunciation addition flag ADD is "0".
Indicates that the accompaniment sound of each track is a normal sound, and that "1" indicates that the accompaniment sound of each track is an additional sound. Note that the normal sound is always sounded in the first and second accompaniment patterns, and the additional sound is sounded only in the arrangement mode (arrangement flag ARNG = "1") in the first and second accompaniment patterns. Sound. Volume data VOL represents the relative volume of the accompaniment sound for each track.

【0034】演奏データテーブルPLDTは、図5(A)に示
すように、各伴奏スタイル、各伴奏パターン(第1及び
第2伴奏パターン)、各トラックにそれぞれ対応した記
憶領域PLDT(STLN,PTRN,TRKN)に分割されており、各記憶
領域PLDT(STLN,PTRN,TRKN)はスタイル番号STLN、パター
ン番号PTRN及びトラック番号TRKNにより指定されるよう
になっている。各記憶領域PLDT(STLN,PTRN,TRKN)には、
ノートデータNOTE、音色データTC及び小節線データBARL
からなる一連の演奏データ列が前記各トラック毎に時間
経過に従って記憶されている。ノートデータNOTEは、図
5(B)に示すように、識別コード、イベントタイムEVT
、キーコードKC、キータッチKT及びキーオン時間KOT
からなる1組のデータにより構成されている。この場
合、識別コードはこの1組のデータがノートデータNOTE
であることを表すもので、イベントタイムEVT は同デー
タNOTEの読み出しタイミングを小節の頭からの時間で表
すもので、キーコードKCは伴奏音の音高をメジャ和音を
基準としてC音からの半音間隔数で表す(ただし、打楽
器音に関してはその種類を表す)もので、キータッチKT
は伴奏音の相対音量を表し、かつキーオン時間KOT は伴
奏音の持続時間を表す。音色データTCは、図5(C)に示
すように、識別コード、イベントタイムEVT 、音色番号
VOINからなる1組のデータにより構成されている。この
場合、識別コードはこの1組のデータが音色データTCで
あることを表すもので、イベントタイムEVT は同データ
TCの読み出しタイミングを小節の頭からの時間で表すも
ので、かつ音色番号VOINは伴奏音の音色を表す(ただ
し、打楽器音に関しては同一音の微妙な変化を表す)も
のである。小節線データBARLは、伴奏音列が小節の句切
りであることを表す識別コードのみからなる。
As shown in FIG. 5A, the performance data table PLDT is a storage area PLDT (STLN, PTRN, PTRN, STRLN, PTRN, corresponding to each accompaniment style, each accompaniment pattern (first and second accompaniment pattern), and each track. TRKN), and each storage area PLDT (STLN, PTRN, TRKN) is specified by a style number STLN, a pattern number PTRN and a track number TRKN. Each storage area PLDT (STLN, PTRN, TRKN) has
Note data NOTE, tone color data TC and bar line data BARL
A series of performance data strings consisting of is stored for each track as time passes. As shown in FIG. 5B, the note data NOTE includes an identification code and an event time EVT.
, Key code KC, key touch KT and key-on time KOT
And a set of data consisting of In this case, the identification code is a note data NOTE
The event time EVT indicates the read timing of the same data NOTE by the time from the beginning of the bar, and the key code KC indicates the pitch of the accompaniment sound based on the major chord as a semitone from the C sound. It is expressed by the number of intervals (however, for percussion sounds, it indicates the type), and key touch KT
Represents the relative volume of the accompaniment sound, and the key-on time KOT represents the duration of the accompaniment sound. As shown in FIG. 5C, the timbre data TC includes an identification code, an event time EVT, and a timbre number.
It consists of one set of data consisting of VOIN. In this case, the identification code indicates that this set of data is the tone color data TC, and the event time EVT is the same data.
The TC read timing is represented by the time from the beginning of the bar, and the timbre number VOIN represents the timbre of the accompaniment sound (however, for percussion instrument sounds, it represents a subtle change of the same sound). The bar line data BARL is composed only of an identification code indicating that the accompaniment sound string is a phrase break.

【0035】切り換え条件テーブルCGCTBLは、図6(A)
に示すように、切り換え条件スイッチ26により設定さ
れる3段階の切り換えセンシティビティSENS(=0〜
2)に対応して、8種類の基準値RDNT,RDVL,RVUP,RVDW,
RNUP,RNDW,LVUP,LVDW を記憶している。基準値RDNTは右
鍵盤12における連続する2区間(本件実施例の場合、
各区間は1小節に長さに対応している)の各押鍵数の差
に応じて伴奏パターンを切り換えるためのものであり、
基準値RDVLは右鍵盤12における連続する2区間の各平
均鍵タッチ量の差に応じて伴奏パターンを切り換えるた
めのものである。基準値RVUP,RVDWは、右鍵盤12にお
ける1区間の平均鍵タッチ量の大きさに対して、伴奏パ
ターンを盛り上がる方向及びその逆方向へそれぞれ切り
換えるためのものである。基準値RNUP,RNDW は、右鍵盤
12における1区間の押鍵数に対して、伴奏パターンを
盛り上がる方向及びその逆方向へそれぞれ切り換えるた
めのものである。基準値LVUP,LVDW は、左鍵盤11にお
ける1区間の平均鍵タッチ量の大きさに対して、伴奏パ
ターンを盛り上がる方向及びその逆方向へそれぞれ切り
換えるためのものである。
The switching condition table CGCTBL is shown in FIG. 6 (A).
, The three-stage switching sensitivity SENS (= 0 to 0 set by the switching condition switch 26
Corresponding to 2), 8 types of reference values RDNT, RDVL, RVUP, RVDW,
It stores RNUP, RNDW, LVUP, LVDW. The reference value RDNT is two consecutive sections on the right keyboard 12 (in the case of the present embodiment,
(Each section corresponds to the length of one bar) The accompaniment pattern is switched according to the difference in the number of keys pressed.
The reference value RDVL is for switching the accompaniment pattern according to the difference between the average key touch amounts of two consecutive sections on the right keyboard 12. The reference values RVUP and RVDW are used to switch the accompaniment pattern in the direction of raising the accompaniment pattern and in the opposite direction with respect to the magnitude of the average key touch amount in one section on the right keyboard 12. The reference values RNUP and RNDW are used to switch the accompaniment pattern in the direction in which the accompaniment pattern is raised and in the opposite direction, with respect to the number of keys pressed in one section on the right keyboard 12. The reference values LVUP and LVDW are for switching the accompaniment pattern in the direction of raising the accompaniment pattern and in the direction opposite thereto with respect to the magnitude of the average key touch amount in one section on the left keyboard 11.

【0036】係数テーブルKTBLは、図6(B)に示すよう
に、前記8個の基準値RDNT,RDVL,RVUP,RVDW,RNUP,RNDW,
LVUP,LVDW にそれぞれ対応したテーブル係数TK(i)(i
=0〜7)を記憶している。なお、これらののテーブル係
数TK(i)はメロディ音の音色がストリングス系の音色で
ある場合に、前記各基準値に乗算されるものである。
As shown in FIG. 6 (B), the coefficient table KTBL has eight reference values RDNT, RDVL, RVUP, RVDW, RNUP, RNDW,
Table coefficient TK (i) (i corresponding to LVUP and LVDW respectively)
= 0 to 7) is stored. It should be noted that these table coefficients TK (i) are multiplied by the respective reference values when the timbre of the melody is a strings timbre.

【0037】その他の伴奏データを記憶する領域には、
和音を検出するための和音検出テーブルと、伴奏音を検
出和音に基づいて同和音の構成音に変換する変換テーブ
ルが設けられている。
In the area for storing other accompaniment data,
A chord detection table for detecting a chord and a conversion table for converting an accompaniment tone into a constituent tone of the chord based on the detected chord are provided.

【0038】次に、上記実施例の動作をフローチャート
を参照しながら説明する。まず、電源スイッチ(図示し
ない)が投入されると、CPU53は図8のステップ1
00にて「メインプログラム」の実行を開始し、ステッ
プ102にて楽音信号形成回路40及びワーキングメモ
リ54を初期状態に設定する。特に、前記初期設定処理
においては、パターン番号PTRNが第1伴奏パターンを表
す「0」に設定され、切り換え評価係数CFが「1」に設
定され、かつ音色係数K(i) (i=0〜7)がそれぞれ
「1」に設定される。なお、これらの各係数CF,K(i)は
伴奏パターンの自動切り換えの評価に利用されるもの
で、切り換え評価係数CFは前の区間にて伴奏パターンが
切り換えられたときに「1」に設定されるとともに前区
間にて伴奏パターンが切り換えられなかったときに「0.
5」 に設定されるものであり、音色係数K(i)はメロディ
音の音色がストリングス系の音色のときに前記テーブル
音色係数TK(i) に設定されるとともにメロディ音の色が
ストリングス系の音色以外のときには「1」に設定され
るものである。この初期設定後、CPU53はステップ
104〜110からなる循環処理を実行し続ける。
Next, the operation of the above embodiment will be described with reference to the flow chart. First, when a power switch (not shown) is turned on, the CPU 53 executes step 1 in FIG.
At 00, the execution of the “main program” is started, and at step 102, the tone signal forming circuit 40 and the working memory 54 are set to the initial state. Particularly, in the initialization process, the pattern number PTRN is set to "0" representing the first accompaniment pattern, the switching evaluation coefficient CF is set to "1", and the tone color coefficient K (i) (i = 0 to 7) are set to "1" respectively. Each of these coefficients CF, K (i) is used to evaluate the automatic switching of accompaniment patterns, and the switching evaluation coefficient CF is set to "1" when the accompaniment patterns are switched in the previous section. When the accompaniment pattern was not switched in the previous section, `` 0.
5 '', the tone color coefficient K (i) is set to the table tone color coefficient TK (i) when the melody tone color is a strings type tone color, and the melody tone color is a string type tone color. It is set to "1" when the tone color is other than the tone color. After this initial setting, the CPU 53 continues to execute the circulation processing consisting of steps 104 to 110.

【0039】このステップ104〜110からなる循環
処理中、左鍵盤11及び右鍵盤12のいずれかの鍵が押
離鍵されると、CPU53はステップ104にて「YE
S」と判定して、ステップ106にて「キーイベントル
ーチン」を実行する。この「キーイベントルーチン」
は、図9に詳細に示されているように、ステップ120
〜142からなり、このルーチンにて、左鍵盤11及び
右鍵盤12の演奏に応じて、メロディ音の発生が制御さ
れるとともに演奏和音が検出される。
When one of the keys on the left keyboard 11 and the right keyboard 12 is pressed and released during the circulation processing consisting of steps 104 to 110, the CPU 53 determines "YE" at step 104.
If "S" is determined, the "key event routine" is executed in step 106. This "key event routine"
Step 120, as shown in detail in FIG.
In this routine, the generation of the melody sound is controlled and the performance chord is detected in accordance with the performance of the left keyboard 11 and the right keyboard 12.

【0040】右鍵盤12のいずれかの鍵が押鍵された場
合、CPU53はステップ122,124にて共に「Y
ES」と判定して、ステップ126にてキーオン処理を
実行する。このキーオン処理においては、押鍵を表すキ
ーオン信号KON 、押鍵された鍵名を表すキーコードKC、
及び鍵タッチ検出回路14にて検出された鍵タッチの強さ
を表す鍵タッチ信号KTが楽音信号形成回路40に出力さ
れ、同形成回路40は前記キーコードKCにより表された
音高であり、かつ前記鍵タッチ信号KTに比例した音量の
メロディ音信号を形成し、同信号をアンプ41を介して
スピーカ42へ出力する。なお、このメロディ音信号の
音色は、後述の処理により、音色選択スイッチ群21の
操作により決定される。前記ステップ126の処理後、
ステップ128にて前記鍵タッチの強さを表す値が鍵タ
ッチ検出値VEL として設定され、ステップ130にて右
鍵盤12のための鍵タッチ量RVSMに前記検出値VEL が加
算されるとともに、右鍵盤12のための押鍵数RNSMに
「1」が加算される。なお、前記鍵タッチ量RVSMは、後
述する左鍵盤11のための鍵タッチ量LVSMと共に、1小
節に渡って、右鍵盤12における各鍵タッチの強さを累
算するための変数である。前記押鍵数RNSMは、左鍵盤1
1のための押鍵数LNSMと共に、1小節に渡って、右鍵盤
12における押鍵回数を累算するための変数である。
When one of the keys on the right keyboard 12 is depressed, the CPU 53 proceeds to "Y" at steps 122 and 124.
ES ”, and a key-on process is executed at step 126. In this key-on processing, a key-on signal KON representing a key depression, a key code KC representing a key name depressed,
And a key touch signal KT indicating the strength of the key touch detected by the key touch detection circuit 14 is output to the tone signal formation circuit 40, and the formation circuit 40 has a pitch represented by the key code KC, Further, a melody sound signal having a volume proportional to the key touch signal KT is formed, and the melody sound signal is output to the speaker 42 via the amplifier 41. The tone color of this melody tone signal is determined by operating the tone color selection switch group 21 by the process described later. After the processing of step 126,
In step 128, a value representing the strength of the key touch is set as the key touch detection value VEL, and in step 130, the detection value VEL is added to the key touch amount RVSM for the right keyboard 12, and the right keyboard is also added. "1" is added to the number of pressed keys RNSM for 12. The key touch amount RVSM is a variable for accumulating the strength of each key touch on the right keyboard 12 over one measure together with the key touch amount LVSM for the left keyboard 11 which will be described later. The number of keys pressed RNSM is the left keyboard 1
This is a variable for accumulating the number of key presses on the right keyboard 12 over one measure together with the number of key presses for 1 LNSM.

【0041】また、右鍵盤12のいずれかの鍵が離鍵さ
れた場合、ステップ122,124にてそれぞれ「YE
S」、「NO」と判定され、ステップ132にてキーオ
フ処理が実行される。このキーオフ処理においては、前
記離鍵された鍵名を表すキーコードKC及びキーオフ信号
KOF が楽音信号形成回路40に出力され、同形成回路4
0は前記キーコードKCにより表された音高のメロディ音
信号の形成を停止する。このように、右鍵盤12のいず
れかの鍵が押離鍵されると、同押離鍵に応じたメロディ
音がスピーカ42から発音されるとともに、右鍵盤12
のための鍵タッチ量RVSM及び押鍵数RNSMが前記押鍵に応
じて更新される。
If any of the keys on the right keyboard 12 is released, "YE" is entered in steps 122 and 124, respectively.
S "and" NO "are determined, and a key-off process is executed in step 132. In this key-off process, the key code KC and the key-off signal that represent the released key name.
KOF is output to the tone signal forming circuit 40,
0 stops the formation of the melody tone signal of the pitch represented by the key code KC. As described above, when any key of the right keyboard 12 is pressed and released, a melody sound corresponding to the pressed and released key is emitted from the speaker 42 and the right keyboard 12 is released.
The key touch amount RVSM and the number of pressed keys RNSM are updated according to the key pressed.

【0042】一方、左鍵盤11のいずれかの鍵が押鍵又
は離鍵されると、CPU53は前記ステップ122にて
「NO」と判定し、ステップ134にて和音検出処理を
実行する。この処理においては、左鍵盤11にて押鍵さ
れている鍵の組合せに応じて伴奏データメモリ60内の
和音検出テーブルが参照されて、和音が検出されるとと
もに、同検出和音の根音及びタイプを表すデータが和音
根音CRT 及び和音タイプCTP として記憶される。このス
テップ134の処理後、左鍵盤11の鍵操作が押鍵に関
するものである場合には、ステップ136における「Y
ES」との判定の基に、前記ステップ128,130の
処理と同様なステップ138,140の処理により、左
鍵盤11のための鍵タッチ量LVSM及び押鍵数LNSMが前記
左鍵盤11の新たな押鍵に応じて更新される。
On the other hand, when one of the keys on the left keyboard 11 is pressed or released, the CPU 53 makes a "NO" determination at step 122 and executes chord detection processing at step 134. In this process, the chord detection table in the accompaniment data memory 60 is referred to in accordance with the combination of the keys pressed on the left keyboard 11, the chord is detected, and the root note and type of the detected chord are detected. Is stored as a chord root note CRT and a chord type CTP. After the process of step 134, if the key operation of the left keyboard 11 is related to the key depression, "Y" in step 136 is executed.
Based on the determination of “ES”, the key touch amount LVSM and the number of key presses LNSM for the left keyboard 11 are newly set by the processing of steps 138 and 140 similar to the processing of steps 128 and 130. Updated in response to key presses.

【0043】前記図8のステップ104〜110からな
る循環処理中、操作パネル20上のいずれかのスイッチ
又はボリュームが操作された場合には、CPU53は、
ステップ108にて「YES」と判定して、ステップ1
10にて「スイッチイベントルーチン」を実行する。こ
の「スイッチイベントルーチン」は、図10に詳細に示
されているように、ステップ150〜174からなり、
同ルーチンにて、各スイッチ及びボリューム21〜27
の操作に応じて、メロディ音の音色が設定されるととも
に、伴奏音の発生が制御される。
If any switch or volume on the operation panel 20 is operated during the circulation process consisting of steps 104 to 110 in FIG. 8, the CPU 53
In step 108, “YES” is determined, and step 1
At 10, a "switch event routine" is executed. This "switch event routine" comprises steps 150 to 174, as shown in detail in FIG.
In the same routine, each switch and volume 21-27
In response to the operation, the tone color of the melody sound is set, and the generation of the accompaniment sound is controlled.

【0044】音色選択スイッチ群21のいずれかが操作
されると、CPU53は、ステップ152の判定処理に
より、ステップ154にて前記操作された音色選択スイ
ッチ21を表す音色番号データVOINを楽音信号形成回路
40へ出力する。これにより、楽音信号形成回路40は
前述のメロディ音の音色を制御する。前記ステップ15
4の処理後、前記音色選択スイッチ群21により選択さ
れたメロディ音の音色がストリングス系の音色であれ
ば、CPU53は、ステップ156における「YES」
との判定の基に、ステップ157にて係数テーブルKTBL
(図6(B))を参照して、音色係数K(i)(i=0〜7)を
前記テーブルKTBLに記憶されているテーブル音色係数値
TK(i) (i=0〜7)にそれぞれ設定する。また、前記音
色選択スイッチ群21により選択されたメロディ音の音
色がストリングス系の音色以外であれば、ステップ15
6における「NO」との判定の基に、ステップ158に
て各音色係数K(i)を「1」に設定する。
When any one of the tone color selection switch groups 21 is operated, the CPU 53 determines the tone color number data VOIN representing the operated tone color selection switch 21 in step 154 by the determination processing in step 152. Output to 40. As a result, the tone signal forming circuit 40 controls the tone color of the melody tone. Step 15
After the processing of 4, if the tone color of the melody tone selected by the tone color selection switch group 21 is a strings tone color, the CPU 53 makes a "YES" determination at step 156.
On the basis of the determination of, it is determined in step 157 that the coefficient table KTBL
(FIG. 6 (B)), the tone color coefficient K (i) (i = 0 to 7) is stored in the table KTBL as a table tone color coefficient value.
Set to TK (i) (i = 0 to 7) respectively. If the tone color of the melody tone selected by the tone color selection switch group 21 is other than the strings tone color, step 15
Based on the determination of "NO" in No. 6, each timbre coefficient K (i) is set to "1" in step 158.

【0045】伴奏スタイルスイッチ群22のいずれかが
操作された場合、CPU53は、ステップ152の判定
処理により、ステップ161にて操作された伴奏スタイ
ルスイッチ22を表す値をスタイル番号STLNとして設定
し、ステップ162にてスタイル番号STLN及びパターン
番号PTRNにより指定される各トラック毎の演奏データ記
憶領域PLDT(STLN,PTRN,0)〜PLDT(STLN,PTRN,8)のアドレ
ス指定のための9個のポインタを、カレントバーCBAR及
びカレントタイミングCTIMに基づいて設定する。なお、
カレントバーCBARは各パターン内における進行小節値0
〜n−1(nは各パターンの繰り返し周期に対応した小
節数)を表し、カレントタイミングCTIMは各小節内にお
いて4分音符を24分割した各進行タイミングを表す。
なお、この場合には、前記ステップ162の処理は、後
述する図12のステップ202の処理との関係で、通常
不要であるが、伴奏スタイルスイッチ群22が自動伴奏
の動作中に操作されても、新たに指定された伴奏スタイ
ルによる自動伴奏を正しい進行位置から開始させるため
に必要である。
When any of the accompaniment style switch groups 22 is operated, the CPU 53 sets the value representing the accompaniment style switch 22 operated in step 161 as the style number STLN by the determination processing of step 152, and 162 pointers for addressing performance data storage areas PLDT (STLN, PTRN, 0) to PLDT (STLN, PTRN, 8) for each track designated by style number STLN and pattern number PTRN in 162 , Current bar CBAR and current timing CTIM. In addition,
The current bar CBAR has a progressive bar value of 0 in each pattern.
.About.n-1 (n is the number of bars corresponding to the repetition period of each pattern), and the current timing CTIM represents each progress timing obtained by dividing a quarter note into 24 within each bar.
In this case, the process of step 162 is usually unnecessary in connection with the process of step 202 of FIG. 12 described later, but even if the accompaniment style switch group 22 is operated during the automatic accompaniment operation. , It is necessary to start the automatic accompaniment with the newly specified accompaniment style from the correct progress position.

【0046】テンポボリューム23が操作された場合、
CPU53は、ステップ152の判定処理により、ステ
ップ160にてテンポ設定処理を実行する。このテンポ
設定処理においては、テンポボリューム23の操作位置
に対応したテンポ制御データがテンポクロック発生器5
2へ出力されて、同発生器は52はこのテンポ制御デー
タに対応した周期でCPU53へテンポクロック信号を
出力する。なお、このテンポクロック信号の周期は4分
音符を24分割したタイミングに対応している。
When the tempo volume 23 is operated,
The CPU 53 executes tempo setting processing in step 160 based on the determination processing in step 152. In this tempo setting process, the tempo control data corresponding to the operation position of the tempo volume 23 is transmitted to the tempo clock generator 5.
The generator 52 outputs a tempo clock signal to the CPU 53 at a cycle corresponding to the tempo control data. The period of the tempo clock signal corresponds to the timing obtained by dividing a quarter note into 24.

【0047】スタートスイッチ24aが操作されると、
CPU53は、ステップ152の判定処理により、ステ
ップ166にてランフラグRUNを”1”に設定するとと
もに、ステップ168にて「パターン起動ルーチン」を
実行して、自動伴奏の動作を開始させる。また、ストッ
プスイッチ24bが操作されると、CPU53は、ステ
ップ152の判定処理により、ステップ170にてラン
フラグRUN を”0”に設定するとともに、ステップ17
2にて楽音信号形成回路40に対する消音処理を実行し
て、自動伴奏の動作を停止させる。なお、ランフラグRU
N は”0”により自動伴奏の停止中を表し、かつ”1”
により同伴奏の動作中を表す。
When the start switch 24a is operated,
The CPU 53 sets the run flag RUN to “1” in step 166 and executes a “pattern activation routine” in step 168 to start the operation of the automatic accompaniment in the determination processing in step 152. When the stop switch 24b is operated, the CPU 53 sets the run flag RUN to “0” in step 170 by the determination process in step 152, and
In step 2, the tone signal forming circuit 40 is silenced to stop the automatic accompaniment operation. Run flag RU
N is "0" to indicate that automatic accompaniment is stopped, and "1"
Indicates that the accompaniment is operating.

【0048】選択スイッチ25が操作されると、CPU
53は、ステップ152の判定処理により、ステップ1
65にて前記操作毎に切り換え選択フラグCNGFを反転す
る(”1”から”0”へ、又は”0”から”1”へ切り
換える)。この場合、切り換え選択フラグCNGFは、”
1”により左右鍵盤11,12の鍵タッチ及び押鍵数す
なわち押鍵状態に応じて伴奏パターンを自動的に切り換
えるモードを表し、かつ”0”により前記切り換えを禁
止するモードを表す。切り換え条件スイッチ26が操作
されると、CPU53は、ステップ152の判定処理に
より、ステップ163にて切り換えセンシティビティSE
NSを同スイッチ26の操作位置に対応した値(0〜2)
に設定する。また、判定鍵域スイッチ27が操作される
と、CPU53は、ステップ152の判定処理により、
ステップ164にて、判定鍵域フラグRNG を同スイッチ
27の操作位置に対応した値(0〜2)に設定する。な
お、この判定鍵域フラグRNG は、”0”により左鍵盤1
1を表し、”1”により右鍵盤12を表し、”2”によ
り両鍵盤11,12を表す。
When the selection switch 25 is operated, the CPU
53 is step 1 based on the determination processing of step 152.
At 65, the switching selection flag CNGF is inverted for each operation (switching from "1" to "0" or from "0" to "1"). In this case, the switching selection flag CNGF is set to “
"1" represents a mode in which the accompaniment pattern is automatically switched according to the number of key touches and the number of pressed keys on the left and right keyboards 11 and 12, that is, the pressed state, and "0" represents a mode in which the switching is prohibited. When the CPU 26 is operated, the CPU 53 determines in step 163 the switching sensitivity SE in the determination processing of step 152.
NS is a value corresponding to the operation position of the switch 26 (0 to 2)
Set to. When the determination key range switch 27 is operated, the CPU 53 causes the determination process of step 152 to
In step 164, the determination key range flag RNG is set to a value (0 to 2) corresponding to the operation position of the switch 27. The judgment key range flag RNG is set to "0" by the left keyboard 1
1, the right keyboard 12 is represented by "1", and both keyboards 11 and 12 are represented by "2".

【0049】次に、このような左右鍵盤11,12及び
操作パネル20上の各スイッチの操作に基づく自動伴奏
の動作について、詳細に説明する。まず、切り換え選択
フラグCNGFが”0”に設定されている場合について説明
する。
Next, the operation of automatic accompaniment based on the operation of the switches on the left and right keyboards 11 and 12 and the operation panel 20 will be described in detail. First, the case where the switching selection flag CNGF is set to "0" will be described.

【0050】前述のように、スタートスイッチ24aの
操作により、CPU53は図10のステップ168の
「パターン起動ルーチン」を実行する。この「パターン
起動ルーチン」においては、図11に詳細に示されてい
るように、その実行がステップ180にて開始され、ス
テップ182にてカレントタイミングCTIM、カレントバ
ーCBAR及び区間フラグPERFが初期値「0」に設定され
る。なお、これらの各変数CTIM,CBAR は上述のとおりで
あり、区間フラグPERFは、自動伴奏の動作開始時におい
て1小節毎に「1」ずつ増加して、同伴奏の進行位置を
表すものである。ステップ182の処理後、ステップ1
84にて左右鍵盤11,12のための各鍵タッチ量RVS
M,LVSM及び押鍵数RNSM,LNSMが「0」に初期設定され、
ステップ186にて区間鍵タッチ量QRV(0)〜QRV(2),QLV
(0)〜QLV(2) 及び区間押鍵数QRN(0)〜QRN(2),QLN(0)〜Q
LN(2) が「0」に初期設定される。なお、区間鍵タッチ
量QRV(0)〜QRV(2),QLV(0)〜QLV(2)は左右鍵盤11,1
2のための1小節毎の過去3区間分の各鍵タッチ量RVS
M,LVSMの合計値をそれぞれ表し、区間押鍵数QRN(0)〜QR
N(2),QLN(0)〜QLN(2)は左右鍵盤11,12のための1
小節毎の過去3区間分の各押鍵数RNSM,LNSM の合計値を
それぞれ表すものである。次に、ステップ188にて
「パターン切り換えルーチン」が実行されて、ステップ
190にて「パターン起動ルーチン」が終了する。
As described above, by operating the start switch 24a, the CPU 53 executes the "pattern activation routine" of step 168 of FIG. In this "pattern activation routine", as shown in detail in FIG. 11, its execution is started in step 180, and in step 182, the current timing CTIM, the current bar CBAR and the section flag PERF are set to the initial value " It is set to "0". Each of these variables CTIM and CBAR is as described above, and the section flag PERF is increased by "1" for each bar at the start of the automatic accompaniment operation, and represents the progress position of the accompaniment performance. . After the processing of step 182, step 1
Each key touch amount RVS for the left and right keyboards 11 and 12 at 84
M, LVSM and number of keys pressed RNSM, LNSM are initialized to "0",
In step 186, the section key touch amount QRV (0) to QRV (2), QLV
(0) to QLV (2) and number of section keys QRN (0) to QRN (2), QLN (0) to Q
LN (2) is initialized to "0". The section key touch amounts QRV (0) to QRV (2), QLV (0) to QLV (2) are the left and right keyboards 11, 1
Each key touch amount RVS for the past 3 sections per bar for 2
Indicates the total value of M and LVSM, and the number of section keys QRN (0) to QR
N (2), QLN (0) to QLN (2) are 1 for the left and right keyboards 11 and 12.
It represents the total value of the number of keys pressed RNSM, LNSM for the past 3 sections for each measure. Next, in step 188, the “pattern switching routine” is executed, and in step 190, the “pattern activation routine” ends.

【0051】「パターン切り換えルーチン」は、図12
に詳細に示されているように、ステップ200〜212
からなり、ステップ202にて、上記図10のステップ
158と同様な処理により、演奏データ記憶領域PLDT(S
TLN,PTRN,0)〜PLDT(STLN,PTRN,8)のアドレス指定のため
の9個のポインタが新めて設定される。次に、CPU5
3は、ステップ204〜210の処理により、パターン
番号PTRNが「0」であればランプ28aの点灯を制御
し、かつパターン番号PTRNが「1」であればランプ28
bの点灯を制御して、「パターン切り換えルーチン」の
実行を終了する。これにより、設定されているパターン
番号PTRN(初期には「0」であり、その後「1」に切り
換えられたり、「0」に再び切り換えられたりする)に
応じて、ランプ28a,28bが点灯する。
The "pattern switching routine" is shown in FIG.
Steps 200-212, as detailed in FIG.
In step 202, the performance data storage area PLDT (S
Nine pointers for addressing TLN, PTRN, 0) to PLDT (STLN, PTRN, 8) are newly set. Next, CPU5
3 controls the lighting of the lamp 28a if the pattern number PTRN is "0" by the processing of steps 204 to 210, and the lamp 28 if the pattern number PTRN is "1".
The lighting of “b” is controlled, and the execution of the “pattern switching routine” ends. As a result, the lamps 28a and 28b are turned on in accordance with the set pattern number PTRN (initial value is "0", and then switched to "1" or switched to "0" again). .

【0052】このような状態で、テンポクロック発生器
52が4分音符を24分割したタイミング毎にテンポク
ロック信号をCPU53へ出力すると、同CPU53は
このタイミング毎に「メインプログラム」(図8)の実
行を中断して、図13のステップ220にて「インタラ
プトプログラム」を実行し始め、ステップ222にて前
記”1”に設定されているランフラグRUN に基づいて
「YES」と判定して、ステップ224〜240の処理
を実行する。なお、この場合、切り換え選択選択フラグ
CNGFは”0”に設定されているので、ステップ238の
「自動変換ルーチン」は実行されない。
In this state, when the tempo clock generator 52 outputs a tempo clock signal to the CPU 53 at each timing of dividing a quarter note into 24, the CPU 53 outputs the "main program" (FIG. 8) at each timing. The execution is interrupted, the “interrupt program” is started to be executed in step 220 of FIG. 13, and it is determined “YES” based on the run flag RUN set to “1” in step 222, and step 224 is executed. The processes of 240 to 240 are executed. In this case, switch selection flag
Since CNGF is set to "0", the "automatic conversion routine" of step 238 is not executed.

【0053】CPU53は、ステップ224,228,
230の処理により、変数iを「0」から「8」まで
「1」ずつ増加させながら、ステップ226にて「再生
ルーチン」を繰り返し実行する。この「再生ルーチン」
は、図14に詳細に示すように、ステップ250にて実
行が開始され、ステップ252にて、スタイル番号STL
N、パターン番号PTRN及び各トラックを示す変数iによ
り指定される各記憶領域PLDT(STLN,PTRN,i) から各トラ
ック毎のポインタにより指示された1組の演奏データが
順次読み出されて、ステップ254以降の処理が実行さ
れる。
The CPU 53 executes steps 224, 228,
By the process at 230, the “reproduction routine” is repeatedly executed at step 226 while incrementing the variable i by “1” from “0” to “8”. This "reproduction routine"
As shown in detail in FIG. 14, execution starts at step 250, and at step 252, the style number STL
N, a pattern number PTRN, and a set of performance data pointed to by a pointer for each track are sequentially read from each storage area PLDT (STLN, PTRN, i) specified by a variable i indicating each track. The processing after 254 is executed.

【0054】この場合、前記1組の演奏データが小節線
データBARLであれば、ステップ254にて「YES」と
判定され、ステップ266にてそのトラックのポインタ
が進められるとともに、プログラムは再度ステップ25
2に戻されて、同一トラックの次の演奏データが読み出
される。また、前記1組の演奏データがノートデータNO
TEであり、かつそのイベントタイムEVT がカレントタイ
ミングCTIMに等しければ、ステップ254,256,2
58にてそれぞれ「NO」、「YES」、「YES」と
判定され、ステップ260の判定処理及びステップ26
2の「ノートルーチン」の処理が実行されて楽音の発生
が制御される。また、前記1組の演奏データが音色デー
タTCであり、かつそのイベントタイムEVTがカレントタ
イミングCTIM に等しければ、ステップ254,25
6,258にてそれぞれ「NO」、「YES」、「N
O」と判定され、ステップ264にて発生楽音の音色が
制御される。これらのステップ262,264の処理後
も、ステップ266にてそのトラックのポインタが進め
られるとともに、プログラムは再度ステップ252に戻
されて、同一トラックの次の演奏データが読み出され
る。一方、前記1組の演奏データがノートデータNOTE又
は音色データTCであり、かつそれらのイベントタイムEV
T がカレントタイミングCTIMに等しくなければ、ステッ
プ254,256にて共に「NO」と判定されて、ステ
ップ268にて「再生ルーチン」が終了する。これによ
り、記憶領域PLDT(STLN,PTRN,0)〜PLDT(STLN,PTRN,8)に
記憶されているノートデータNOTE及び音色データTCがポ
インタの指示により順次読み出され、それらのイベント
タイムEVT がカレントタイミングCTIMに等しくなる毎
に、楽音の発生及び発生楽音の音色が制御される。
In this case, if the one set of performance data is bar line data BARL, it is judged "YES" in step 254, the pointer of the track is advanced in step 266, and the program is executed again in step 25.
2 and the next performance data on the same track is read. Also, the set of performance data is the note data NO.
If it is TE and the event time EVT is equal to the current timing CTIM, steps 254, 256, 2
At 58, “NO”, “YES”, and “YES” are determined.
The process of the "note routine" of No. 2 is executed to control the generation of musical tones. If the set of performance data is the timbre data TC and the event time EVT is equal to the current timing CTIM, steps 254 and 25 are executed.
6, NO at "NO", "YES", "N"
It is determined to be "O", and the tone color of the generated musical tone is controlled in step 264. After the processing of steps 262 and 264, the pointer of the track is advanced in step 266, and the program returns to step 252 again to read the next performance data of the same track. On the other hand, the one set of performance data is note data NOTE or tone color data TC, and their event time EV
If T is not equal to the current timing CTIM, both are determined to be "NO" in steps 254 and 256, and the "reproduction routine" ends in step 268. As a result, the note data NOTE and the tone color data TC stored in the storage areas PLDT (STLN, PTRN, 0) to PLDT (STLN, PTRN, 8) are sequentially read by the pointer instruction, and their event time EVT is The generation of a musical tone and the tone color of the generated musical tone are controlled each time it becomes equal to the current timing CTIM.

【0055】次に、これらの楽音の発生及び発生楽音の
音色の制御について詳しく説明する。まず、音色の制御
について説明すると、前記ステップ264の処理におい
ては、音色データTC中の音色番号VOIN及び変数iが楽音
信号形成回路40へ出力される。楽音信号形成回路40
は、これらの音色番号VOIN及び変数iに基づいて、変数
iにより指定されたトラックの伴奏音の音色を音色番号
VOINにより指定される音色に設定する。
Next, the generation of these musical tones and the control of the tone color of the generated musical tones will be described in detail. First, the control of the timbre will be described. In the process of step 264, the timbre number VOIN and the variable i in the timbre data TC are output to the tone signal forming circuit 40. Tone signal forming circuit 40
Is the tone color of the accompaniment sound of the track specified by the variable i, based on these tone color numbers VOIN and the variable i.
Set to the tone specified by VOIN.

【0056】次に、楽音の発生について説明すると、ス
テップ260の判定処理により、アレンジフラグARNG
=”1”であるか、またはスタイル番号STLN、パターン
番号PTRN及び各トラックを表す変数iにより指定される
パターンテーブルPTNTBL内の発音追加フラグPTNTBL(STL
N,PTRN,i).ADD が”0”である場合にのみ、ステップ2
62の「ノートルーチン」の処理が実行されて、伴奏音
の発音が制御される。この「ノートルーチン」は、図1
5に示すように、ステップ270〜286からなり、変
数iが「6」以下であれば、ステップ272にて「YE
S」と判定され、ステップ274にて前記読み出された
ノートデータNOTEを構成するキーコードKCが、上記検出
した和音根音CRT及び和音タイプCTPに基づき、左鍵盤1
1にて演奏された和音に対応した和音構成音又はベース
音を表すキーコードKCに変換される。また、変数iが
「7」以上であれば、ステップ272にて「NO」と判
定され、ステップ274の変換処理はなされない。これ
は、変数iは0〜6により和音の構成音列及びベース音
列のトラックを示しており、7,8により打楽器音列の
トラックを示しているためである(図4参照)。次に、
ステップ276,278にて、スタイル番号STLN、パタ
ーン番号PTRN及び変数iにより指定されるパターンテー
ブルPTNTBL(STLN,PTRN,i)内の音量データVOL(図4参
照)と、前記読み出したノートデータNOTE中のキーオン
時間KOT 及びキータッチKT(図5参照)とに基づく下記
数1の演算の実行により、音量VOL及びキーオフタイムK
OFT(i)が計算される。
Next, the generation of a musical sound will be described. The arrangement flag ARNG is determined by the determination processing in step 260.
= “1”, or a sound addition flag PTNTBL (STL) in the pattern table PTNTBL specified by the style number STLN, the pattern number PTRN, and the variable i representing each track.
Step 2 only if N, PTRN, i) .ADD is "0"
The process of "note routine" 62 is executed to control the pronunciation of the accompaniment sound. This "note routine" is shown in Figure 1.
As shown in FIG. 5, Steps 270 to 286 are performed, and if the variable i is equal to or less than “6”, in Step 272, “YE
S ”, and the key code KC that constitutes the read note data NOTE in step 274 is determined based on the detected chord root CRT and chord type CTP.
The key code is converted into a key code KC representing a chord component sound or a bass sound corresponding to the chord played in Step 1. If the variable i is “7” or more, “NO” is determined in the step 272, and the conversion process in the step 274 is not performed. This is because the variable i indicates a track of a chord component sound sequence and a base sound sequence by 0 to 6 and a track of a percussion sound sequence by 7 and 8 (see FIG. 4). next,
In steps 276 and 278, the volume data VOL (see FIG. 4) in the pattern table PTNTBL (STLN, PTRN, i) specified by the style number STLN, the pattern number PTRN and the variable i, and the read note data NOTE The volume VOL and the key-off time K are calculated by executing the following mathematical formula 1 based on the key-on time KOT and the key touch KT (see FIG. 5)
OFT (i) is calculated.

【数1】 VOL=PTNTBL(STLN,PTRN,i).VOL+KT KOFT(i)=TIME+KOT この場合、タイムTIMEは後述する「カウントルーチン」
にて0〜5000まで順次カウントアップする絶対的な
経過時間を表すものであり、キーオフタイムKOFT(i) は
発生楽音の終了タイミングを前記絶対的な時間に基づい
て規定するものである。前記ステップ278の処理後、
ステップ280,282の処理により、前記数1の結
果、キーオフタイムKOFT(i) が「5000」より大きく
なった場合には、同タイムKOFT(i) はその値から「50
00」を減算することにより「5000」未満の値に変
更される。
[Equation 1] VOL = PTNTBL (STLN, PTRN, i) .VOL + KT KOFT (i) = TIME + KOT In this case, the time TIME is the "count routine" described later.
Represents an absolute elapsed time which sequentially counts up from 0 to 5000, and the key-off time KOFT (i) defines the end timing of the generated musical sound based on the absolute time. After the processing of the step 278,
If the key-off time KOFT (i) becomes larger than "5000" as a result of the above equation 1 by the processing of steps 280 and 282, the same time KOFT (i) is decremented by "50" from the value.
By subtracting “00”, the value is changed to a value less than “5000”.

【0057】次に、ステップ284にて前記変換された
キーコードKC(ただし、変数iが7,8であれば変換さ
れないキーコードKC)、音量VOL、キーオン信号KON及び
変数iが楽音信号形成回路40へ出力される。楽音信号
形成回路40は、これらのキーコードKC、音量VOL 、キ
ーオン信号KON 及び変数iに基づいて、変数iにより指
定されたトラックの伴奏音信号を形成してアンプ41を
介してスピーカ42へ出力し始める。この場合、伴奏音
信号の音高は前記キーコードKCにより指定されたもので
あり(変数iが7,8の場合には、打楽器音の種類が前
記キーコードKCにより指定されたものであり)、伴奏音
信号の音色は前記音色番号VOINにより設定されものであ
り、伴奏音の音量は前記音量VOL に指定されたものであ
る。その結果、スピーカ42からは、和音構成音、ベー
ス音及び打楽器音からなる一連の伴奏音が発音される。
Next, at step 284, the converted key code KC (however, if the variable i is 7 or 8, the key code KC is not converted), the volume VOL, the key-on signal KON and the variable i are the tone signal forming circuit. It is output to 40. The tone signal forming circuit 40 forms an accompaniment tone signal of the track designated by the variable i based on the key code KC, the volume VOL, the key-on signal KON and the variable i, and outputs it to the speaker 42 via the amplifier 41. Begin to. In this case, the pitch of the accompaniment sound signal is designated by the key code KC (when the variable i is 7 or 8, the type of percussion instrument sound is designated by the key code KC). The tone color of the accompaniment tone signal is set by the tone color number VOIN, and the volume of the accompaniment tone is specified by the volume VOL. As a result, a series of accompaniment sounds composed of chord constituent sounds, bass sounds, and percussion sounds are emitted from the speaker 42.

【0058】ふたたび、図13の「インタラプトプログ
ラム」に戻り、上記ステップ226〜230の処理後、
ステップ232にて「キーオフルーチン」が実行される
とともに、ステップ234にて「カウントルーチン」が
実行される。「キーオフルーチン」は、図16に詳細に
示すように、ステップ290〜300からなり、ステッ
プ292〜296にて、変数iを0〜8まで変化させな
がらタイムTIMEと一致するキーオフタイムKOFT(i) を検
索し、その結果、ステップ298にて一致したキーオフ
タイムKOFT(i) に関する変数iとキーオフ信号を楽音信
号形成回路40へ出力する。楽音信号形成回路40は変
数iにより表されたトラックの伴奏音信号の形成を終了
するので、スピーカ42から同信号に対応した伴奏音の
発音が終了する。
Again, returning to the "interrupt program" of FIG. 13, after the processing of the above steps 226 to 230,
At step 232, a “key-off routine” is executed, and at step 234, a “count routine” is executed. As shown in detail in FIG. 16, the "key-off routine" includes steps 290 to 300. In steps 292 to 296, the key-off time KOFT (i) matching the time TIME while changing the variable i from 0 to 8 As a result, at step 298, the variable i relating to the key-off time KOFT (i) and the key-off signal are output to the tone signal forming circuit 40. Since the musical sound signal forming circuit 40 ends the formation of the accompaniment sound signal of the track represented by the variable i, the sounding of the accompaniment sound corresponding to the signal from the speaker 42 ends.

【0059】「カウントルーチン」は図17に詳細に示
されており、その実行がステップ310にて開始され、
ステップ312,318の処理により、タイムTIME及び
カレトンタイミングCTIMは「1」ずつカウントアップす
るとともに、タイムTIMEはステップ314,316の処
理により「5000」に達すると「0」にクリアされ、
またカレトンタイミングCTIMはステップ320,322
の処理により1小節時間に達すると「0」にクリアされ
る。これにより、テンポクロック信号発生器52がテン
ポクロック信号を発生する毎に、すなわち4分音符を2
4分割したタイミング毎に、タイムTIMEは「0」から
「4999」まで順次「1」ずつ増加する。なお、この
「4999」は値自体には意味がなく、他の時間を表す
変数に比べてきわめて大きな値であれば、いかなる値で
もよい。カレトンタイミングCTIMは、各小節区間におい
て前記タイミング毎に「1」ずつ増加する。カレントバ
ーCBARは、ステップ320,324〜328の処理によ
り、スタイル番号STLN及びパターン番号PTRNにより指定
されるパターンの一周期に渡って、1小節時間毎に、
「0」から小節数「STLTBL(STLN).BAR−1」まで「1」
ずつ増加する。
The "count routine" is shown in detail in FIG. 17 and its execution begins at step 310,
By the processing of steps 312 and 318, the time TIME and the carreton timing CTIM are counted up by “1”, and when the time TIME reaches “5000” by the processing of steps 314 and 316, it is cleared to “0”,
The caleton timing CTIM is set to steps 320 and 322.
Is cleared to "0" when one bar time is reached by the processing of. As a result, every time the tempo clock signal generator 52 generates a tempo clock signal, that is, two quarter notes are generated.
At each of the four divided timings, the time TIME is sequentially increased by “1” from “0” to “4999”. Note that this “4999” has no meaning in the value itself, and may be any value as long as it is an extremely large value as compared with other variables representing time. The Caleton timing CTIM increases by "1" at each timing in each bar section. The current bar CBAR is processed by steps 320, 324 to 328, and every one bar time over one cycle of the pattern specified by the style number STLN and the pattern number PTRN.
From "0" to the number of measures "STLTBL (STLN) .BAR-1""1"
It increases in steps.

【0060】以上説明したように、スタートスイッチ2
4aの操作により、自動伴奏が動作し始めて、テンポク
ロック信号発生器52がテンポクロック信号を発生する
毎(4分音符を24分割したタイミング毎)に「インタ
ラプトプログラム」が実行され、同プログラムにおい
て、スタイル番号STLN及びパターン番号PTRNにより指定
される伴奏データメモリ60内の演奏データが繰り返し
読み出されて、伴奏音の発音が制御される。
As described above, the start switch 2
By the operation of 4a, the automatic accompaniment starts to operate, and the “interrupt program” is executed each time the tempo clock signal generator 52 generates a tempo clock signal (at the timing of dividing a quarter note into 24). The performance data in the accompaniment data memory 60 specified by the style number STLN and the pattern number PTRN is repeatedly read, and the sounding of the accompaniment sound is controlled.

【0061】次に、選択スイッチ25の操作により、切
り換え選択フラグCNGFが”1”に設定されている場合に
ついて説明する。この場合、上記図13の「インタラプ
トプログラム」のステップ236にて「YES」と判定
されて、ステップ238にて「自動変換ルーチン」が実
行される。
Next, the case where the switching selection flag CNGF is set to "1" by operating the selection switch 25 will be described. In this case, "YES" is determined in step 236 of the "interrupt program" in FIG. 13, and the "automatic conversion routine" is executed in step 238.

【0062】この「自動変換ルーチン」は、図18に示
すように、ステップ340〜356からなり、同ルーチ
ンにおいては、カレントタイミングCTIMが「0」である
ときのみ(CTIM=0) 、すなわち1小節毎に、ステップ
342における「YES」との判定の基にステップ34
4〜354の各処理が実行がされ、それ以外のときには
実質的な処理が実行されない。ステップ344において
は、右鍵盤12のための区間鍵タッチ量QRV(0),QRV(1),
QRV(2)が、区間鍵タッチ量QRV(1),QRV(2) 及び右鍵盤1
2のための鍵タッチ量RVSMに順次更新されるとともに、
鍵タッチ量RVSMが「0」に初期設定される。ステップ3
46においては、右鍵盤12のための区間押鍵数QRN
(0),QRN(1),QRN(2)が、区間押鍵数QRN(1),QRN(2) 及び
右鍵盤12のための押鍵数RNSMに順次更新されるととも
に、押鍵数RNSMが「0」に初期設定される。ステップ3
48においては、左鍵盤12のための区間鍵タッチ量QL
V(0),QLV(1),QLV(2)が、区間鍵タッチ量QLV(1),QLV(2)
及び左鍵盤12のための鍵タッチ量LVSMに順次更新され
るとともに、鍵タッチ量LVSMが「0」に初期設定され
る。ステップ350においては、左鍵盤12のための区
間押鍵数QLN(0),QLN(1),QLN(2)が、区間押鍵数QLN(1),Q
LN(2) 及び左鍵盤12のための押鍵数LNSMに順次更新さ
れるとともに、押鍵数LNSMが「0」に初期設定される。
その結果、1小節毎に、過去3区間毎の左右鍵盤11,
12のための各区間鍵タッチ量QRV(0)〜QRV(2),QLV(0)
〜QLV(2) 及び区間鍵押鍵数QRN(0)〜QRN(2),QLN(0)〜QL
N(2) が計算されることになる。
As shown in FIG. 18, this "automatic conversion routine" consists of steps 340 to 356. In this routine, only when the current timing CTIM is "0" (CTIM = 0), that is, one measure. For each time, based on the determination of “YES” in step 342, step 34
Each process of 4 to 354 is executed, and in other cases, the substantial process is not executed. In step 344, the section key touch amounts QRV (0), QRV (1), for the right keyboard 12
QRV (2) is the section key touch amount QRV (1), QRV (2) and right keyboard 1
The key touch amount for 2 is updated to RVSM,
The key touch amount RVSM is initialized to "0". Step 3
In 46, the number of section keys for the right keyboard 12 QRN
(0), QRN (1), QRN (2) are sequentially updated to the number of section keys QRN (1), QRN (2) and the number of key presses RNSM for the right keyboard 12, and the number of key presses RNSM Is initially set to "0". Step 3
In 48, the section key touch amount QL for the left keyboard 12
V (0), QLV (1), QLV (2) is the section key touch amount QLV (1), QLV (2)
And the key touch amount LVSM for the left keyboard 12 are sequentially updated, and the key touch amount LVSM is initialized to "0". At step 350, the number of section keys QLN (0), QLN (1), QLN (2) for the left keyboard 12 is changed to the number of section keys QLN (1), Q.
The number of pressed keys LNSM for LN (2) and the left keyboard 12 is sequentially updated, and the number of pressed keys LNSM is initialized to "0".
As a result, the left and right keyboards 11 for each of the past three sections for each bar,
Each section key touch amount for 12 QRV (0) ~ QRV (2), QLV (0)
~ QLV (2) and number of section keys pressed QRN (0) ~ QRN (2), QLN (0) ~ QL
N (2) will be calculated.

【0063】次に、ステップ352にて「変換判断ルー
チン」が実行される。この「変換判断ルーチン」は、図
19に示すように、ステップ360〜380からなり、
同ルーチンにおいては、まず、ステップ362にてアッ
プダウン指標UDが「0」に初期設定され、ステップ36
4にて区間フラグPERFが「2」以上であるか否かが判定
される。区間フラグPERFが「2」未満であるある間は、
ステップ364にて「NO」と判定されて、ステップ3
66にて同フラグPERFに「1」が加算され、ステップ3
68以降の処理が実行されない。これは、区間フラグPE
RFは自動伴奏の動作開始時には「0」に初期設定される
もので、同ラグPERFが「2」になるまで、伴奏パターン
の切り換え評価をするための過去3区間の区間鍵タッチ
量及び区間押鍵数が計算されていないためである。そし
て、3区間が経過すると、区間フラグPERFは「2」なっ
ており、以降、この「変換判断ルーチン」においては、
前記ステップ364における「YES」との判定の基
に、ステップ368〜378の処理が実行される。
Next, at step 352, the "conversion determination routine" is executed. As shown in FIG. 19, this "conversion determination routine" consists of steps 360-380,
In the routine, first, in step 362, the up / down index UD is initialized to “0”, and then in step 36.
At 4, it is determined whether the section flag PERF is "2" or more. While the section flag PERF is less than "2",
When it is determined to be “NO” in step 364, step 3
At 66, "1" is added to the flag PERF, and step 3
The processes after 68 are not executed. This is the section flag PE
RF is initially set to "0" at the start of the automatic accompaniment operation, and until the lag PERF becomes "2", the section key touch amount and the section press of the past three sections for performing the switching evaluation of the accompaniment pattern are performed. This is because the number of keys has not been calculated. When three sections have passed, the section flag PERF is "2", and thereafter, in this "conversion determination routine",
Based on the determination of “YES” in step 364, the processes of steps 368 to 378 are executed.

【0064】ステップ368〜378の処理は左右鍵盤
11,12の演奏状態に応じてアップダウン指標UDを計
算する処理であり、判定鍵域フラグRNG が、伴奏パター
ンを右鍵盤12の演奏状態のみにより切り換えることを
表す”1”であれば、ステップ368における「NO」
及びステップ376における「YES」との判定の基
に、ステップ370〜374のみの処理が実行される。
The process of steps 368 to 378 is a process of calculating the up / down index UD according to the playing state of the left and right keyboards 11 and 12, and the judgment key range flag RNG indicates that the accompaniment pattern depends on the playing state of the right keyboard 12 only. If it is "1" indicating switching, "NO" in step 368.
Then, based on the determination of “YES” in step 376, only the processes of steps 370 to 374 are executed.

【0065】ステップ370においては、図20に示す
「第1演算ルーチン」が実行される。この「第1演算ル
ーチン」においては、その実行がステップ390にて開
始され、ステップ392の判定処理により、右鍵盤12
のための過去3区間の各区間押鍵数QRN(0)〜QRN(2)のい
ずれも「0」でなければ、すなわち過去3区間のいずれ
においても右鍵盤12の押鍵があれば、同ステップ39
2にて「YES」と判定され、ステップ394〜398
にて連続する2区間の押鍵数の差に基づく指数X(0)が算
出されるとともに、ステップ400,402にて連続す
る2区間の平均鍵タッチ量の差に基づく指数X(1)が算出
される。また、右鍵盤12のための過去3区間の各区間
押鍵数QRN(0)〜QRN(2)のいずれかが「0」であれば、す
なわち過去3区間のいずれかにおいて右鍵盤12の押鍵
がなければ、前記ステップ392にて「NO」と判定さ
れ、ステップ404にて前記両指数X(0),X(1) は共に
「0」に設定される。
In step 370, the "first operation routine" shown in FIG. 20 is executed. In the "first operation routine", its execution is started in step 390, and the right keyboard 12 is executed by the determination processing in step 392.
If none of the number of key presses QRN (0) to QRN (2) in the past three sections for “0”, that is, if there is a key press on the right keyboard 12 in any of the past three sections, Step 39
It is determined to be “YES” in Step 2, and steps 394 to 398.
In step 400, 402, an index X (0) based on the difference in the number of pressed keys in two consecutive sections is calculated, and in step 400, 402, an index X (1) based on the difference in the average key touch amount in two consecutive sections is calculated. It is calculated. Further, if any one of the number of section keys QRN (0) to QRN (2) of the past three sections for the right keyboard 12 is “0”, that is, the right keyboard 12 is pressed in any of the past three sections. If there is no key, it is determined to be "NO" in step 392, and both the indexes X (0) and X (1) are set to "0" in step 404.

【0066】前記指数X(0)は、下記数2に基づく2つの
論理演算の一方が成立したとき、ステップ394におけ
る「YES」との判定の基に、ステップ396にて下記
数3に基づいて計算される。また、下記数2に基づく2
つの論理演算の両方が不成立であれば、ステップ394
にて「NO」と判定され、ステップ398にて指数X(0)
は「0」に設定される。
The exponent X (0) is calculated based on the following expression 3 in step 396 based on the judgment of “YES” in step 394 when one of the two logical operations based on the following expression 2 is established. Calculated. Also, 2 based on the following equation 2
If both logical operations are not satisfied, step 394.
Is determined to be "NO" at step 398 and the index X (0)
Is set to "0".

【数2】 QRN(2)≧QRN(1)>QRN(0) QRN(2)≦QRN(1)<QRN(0)[Equation 2] QRN (2) ≧ QRN (1)> QRN (0) QRN (2) ≦ QRN (1) <QRN (0)

【数3】 X(0)=CF×{QRN(2)-QRN(1)}/{K(0)×RDNT(SENS)} これらの演算の結果、過去3区間に渡る各区間押鍵数QR
N(0),QRN(1),QRN(2)が順次増加する場合には、指数X(0)
は前々回と前回の区間押鍵数QRN(1),QRN(2) との差を表
す正の値となる。過去3区間に渡る各区間押鍵数QRN
(0),QRN(1),QRN(2)が順次減少する場合には、指数X(0)
は前々回と前回の区間押鍵数QRN(1),QRN(2) との差を表
す負の値となる。この場合、切り換え評価係数CFは、伴
奏パターンが前回切り換えられていれば「0.5」に設定
されるとともに、伴奏パターンが前回切り換えられてい
なければ「1」に設定されるものであるので、伴奏パタ
ーンが前回切り換えられていれば、指数X(0)の絶対値は
小さくなる。さらに、音色係数K(0)は、メロディ音の音
色がストリングス系の音色のときに「0.8」 に設定され
る(図6(B)参照)とともに、メロディ音の音色のそれ
以外のときに「1」に設定されているものであるので、
メロディ音の音色がストリングス系の音色のとき、指数
X(0)の絶対値は大きくなる。一方、過去3区間に渡る各
区間押鍵数QRN(0),QRN(1),QRN(2)が順次減少したり、順
次増加したりしない場合には、指数X(0)は「0」に設定
される。
[Equation 3] X (0) = CF x {QRN (2) -QRN (1)} / {K (0) x RDNT (SENS)} As a result of these operations, the number of pressed keys in each section over the past three sections QR
If N (0), QRN (1), QRN (2) increase sequentially, the index X (0)
Is a positive value that represents the difference between the number of times the key was pressed two times before and the number of times the key was pressed QRN (1), QRN (2). Number of keys pressed in each section over the past three sections QRN
When (0), QRN (1), QRN (2) decrease sequentially, the index X (0)
Is a negative value that represents the difference between the number of key presses QRN (1) and QRN (2) two times before and the previous time. In this case, the switching evaluation coefficient CF is set to "0.5" if the accompaniment pattern was previously switched, and is set to "1" if the accompaniment pattern was not previously switched. If was previously switched, the absolute value of the index X (0) will be small. Further, the tone color coefficient K (0) is set to "0.8" when the melody tone color is a strings tone color (see FIG. 6 (B)), and is set to "0" when the melody tone color is other than that. Since it is set to "1",
When the melody tone is a strings tone, the index
The absolute value of X (0) becomes large. On the other hand, if the number of keys pressed in each section QRN (0), QRN (1), QRN (2) over the past three sections does not decrease or increase sequentially, the index X (0) is "0". Is set to.

【0067】前記指数X(1)は、ステップ400,402
にて、下記数4に基づいて計算される。
The index X (1) is calculated in steps 400 and 402.
Is calculated based on the following equation 4.

【数4】 AVL1={QRV(0)+QRV(1)}/{QRN(0)+QRN(1)} AVL2={QRV(1)+QRV(2)}/{QRN(1)+QRN(2)} X(1)=CF×(AVL2−AVL1)/{K(1)×RDVL(SENS)} これらの演算の結果、区間鍵タッチ量QRV(0),QRV(1),QR
V(2)が増加傾向にあれば、指数X(1)は、前回及び前々回
の区間に渡る平均鍵タッチ量AVL1と、前々回及びその前
の区間に渡る平均鍵タッチ量AVL2との差を表す正の値と
なる。区間鍵タッチ量QRV(0),QRV(1),QRV(2)が減少傾向
にあれば、指数X(1)は前記両平均鍵タッチ量AVL1,AVL2
の差を表す負の値となる。この場合も、切り換え評価係
数CF及び音色係数K(1)が指数X(1)の絶対値に与える影響
は同じである。
[Formula 4] AVL1 = {QRV (0) + QRV (1)} / {QRN (0) + QRN (1)} AVL2 = {QRV (1) + QRV (2)} / {QRN (1) + QRN (2)} X (1) = CF x (AVL2-AVL1) / {K (1) x RDVL (SENS)} As a result of these calculations, the section key touch amount QRV (0), QRV (1), QR
If V (2) is on the increase, the index X (1) represents the difference between the average key touch amount AVL1 over the last and the previous-previous section and the average key touch amount AVL2 over the previous-and-previous section. It will be a positive value. If the section key touch amount QRV (0), QRV (1), QRV (2) is decreasing, the index X (1) is the average key touch amount AVL1, AVL2
It is a negative value that represents the difference between. Also in this case, the switching evaluation coefficient CF and the tone color coefficient K (1) have the same influence on the absolute value of the index X (1).

【0068】ステップ372(図19)においては、図
21に示す「第2演算ルーチン」が実行される。この
「第2演算ルーチン」においては、その実行が410に
て開始され、ステップ412の判定処理により、右鍵盤
12のための前回の区間押鍵数QRN(2)が「0」でなけれ
ば、すなわち前回の区間において右鍵盤12の押鍵があ
れば、同ステップ412にて「YES」と判定され、ス
テップ414〜424にて前回の区間の平均鍵タッチ量
AVL に基づいて指数X(2)が算出されるとともに、ステッ
プ426〜434にて前回の区間押鍵数QRN(2)に基づい
て指数X(3)が算出される。また、右鍵盤12のための前
回の区間押鍵数QRN(2)が「0」であれば、すなわち前回
の区間において右鍵盤12の押鍵がなければ、前記ステ
ップ412にて「NO」と判定され、ステップ436に
て前記両指数X(2),X(3) は共に「0」に設定される。
In step 372 (FIG. 19), the "second operation routine" shown in FIG. 21 is executed. In the "second operation routine", its execution is started at 410, and if the previous section key press number QRN (2) for the right keyboard 12 is not "0" by the judgment processing of step 412, That is, if there is a key press on the right keyboard 12 in the previous section, it is determined as “YES” in the same step 412, and the average key touch amount in the previous section in steps 414 to 424.
The index X (2) is calculated on the basis of the AVL, and the indexes X (3) are calculated on the basis of the previous section key press number QRN (2) in steps 426 to 434. If the previous section key press number QRN (2) for the right keyboard 12 is "0", that is, if there is no key press on the right keyboard 12 in the previous section, "NO" is given in step 412. It is determined and both the indexes X (2) and X (3) are set to "0" in step 436.

【0069】前記指数X(2)の演算においては、ステップ
414にて前回の区間の平均鍵タッチ量AVL が計算さ
れ、この平均鍵タッチ量AVLが、切り換え条件テーブルC
GCTBL(図6(A))から読み出した基準値RVUP(SENS)に
音色係数K(2)を乗じた値K(2)×RVUP(SENS)以上であれ
ば、ステップ416にて「YES」と判定され、ステッ
プ420にて指数X(2)は「1」に設定される。平均鍵タ
ッチ量AVL が、切り換え条件テーブルCGCTBLから読み出
した基準値RVDW(SENS)に音色係数K(3)を乗じた値K(3)×
RVDW(SENS)以下であれば、ステップ418にて「YE
S」と判定され、ステップ422にて指数X(2)は「−
1」に設定される。また、平均鍵タッチ量AVL が前記両
値K(2)×RVUP(SENS),K(3)×RVDW(SENS)の間にあれば、
ステップ416,418にて共に「NO」と判定され、
ステップ424にて指数X(2)は「0」に設定される。こ
の場合、音色係数K(2),K(3) は、メロディ音の音色がス
トリングス系の音色のときに「0.8」「1.2」にそれぞれ
設定される(図6(B)参照)とともに、メロディ音の音
色のそれ以外のときに「1」に設定されているものであ
るので、メロディ音の音色がストリングス系の音色のと
き、平均鍵タッチ量AVL の変化が乏しくても、指数X(2)
は正(=1)又は負(=−1)になり易くなる。
In the calculation of the index X (2), the average key touch amount AVL in the previous section is calculated in step 414, and this average key touch amount AVL is calculated as the switching condition table C.
If the reference value RVUP (SENS) read from GCTBL (FIG. 6 (A)) is multiplied by the tone color coefficient K (2) value K (2) × RVUP (SENS) or more, then “YES” is determined in step 416. It is determined and the index X (2) is set to “1” in step 420. The average key touch amount AVL is the value K (3) × the reference value RVDW (SENS) read from the switching condition table CGCTBL multiplied by the tone color coefficient K (3).
If it is less than RVDW (SENS), in step 418, "YE
S ”, and the index X (2) is“ − ”in step 422.
It is set to 1 ”. If the average key touch amount AVL is between the above two values K (2) × RVUP (SENS) and K (3) × RVDW (SENS),
Both of the steps 416 and 418 are determined to be “NO”,
In step 424, the index X (2) is set to "0". In this case, the tone color coefficients K (2) and K (3) are set to "0.8" and "1.2" when the tone color of the melody tone is a strings tone tone (see FIG. 6 (B)) and the melody tone. Since it is set to "1" in other tones, when the melody tone is a strings type tone, even if the average key touch amount AVL changes little, the index X (2 )
Tends to be positive (= 1) or negative (= -1).

【0070】前記指数X(3)の演算においては、前回の区
間における右鍵盤12のための区間押鍵数QRN(2)が、切
り換え条件テーブルCGCTBL(図6(A))から読み出した
基準値RNUP(SENS)に音色係数K(4)を乗じた値K(4)×RNUP
(SENS)以上であれば、ステップ426にて「YES」と
判定され、ステップ430にて指数X(3)は「1」に設定
される。区間押鍵数QRN(2)が、切り換え条件テーブルCG
CTBLから読み出した基準値RNDW(SENS)に音色係数K(5)を
乗じた値K(5)×RNDW(SENS)以下であれば、ステップ42
8にて「YES」と判定され、ステップ432にて指数
X(4)は「−1」に設定される。また、区間押鍵数QRN(2)
が前記両値K(4)×RNUP(SENS),K(5)×RNUP(SENS)の間に
あれば、ステップ426,428にて共に「NO」と判
定され、ステップ434にて指数X(3)は「0」に設定さ
れる。この場合も、音色係数K(4),K(5) の指数X(3)に対
する影響度は前記場合と同じであり、メロディ音の音色
がストリングス系の音色のとき、区間押鍵数QRN(2)の変
化が乏しくても、指数X(3)は正(=1)又は負(=−
1)になり易くなる。
In the calculation of the index X (3), the section key press number QRN (2) for the right keyboard 12 in the previous section is the reference value read from the switching condition table CGCTBL (FIG. 6 (A)). RNUP (SENS) multiplied by tone color coefficient K (4) K (4) × RNUP
If (SENS) or more, it is determined to be "YES" in step 426, and the index X (3) is set to "1" in step 430. The number of section keys QRN (2) is the switching condition table CG
If the reference value RNDW (SENS) read out from CTBL is multiplied by the tone color coefficient K (5) K (5) × RNDW (SENS) or less, step 42
It is determined to be “YES” in step 8, and the index is set in step 432.
X (4) is set to "-1". The number of section keys QRN (2)
Is between the above two values K (4) × RNUP (SENS) and K (5) × RNUP (SENS), both are determined to be “NO” in steps 426 and 428, and the index X ( 3) is set to "0". In this case as well, the degree of influence of the tone color coefficients K (4) and K (5) on the index X (3) is the same as in the above case. The index X (3) is positive (= 1) or negative (=-) even if the change in 2) is poor.
It becomes easy to become 1).

【0071】前記ステップ370,372の「第1及び
第2演算ルーチン」(図19)の実行後、ステップ37
4にて前記算出された指数X(0)〜X(3)が合算されてアッ
プダウン指標UDとして設定され、ステップ374におけ
る「NO」との判定後、ステップ380にて「変換判断
ルーチン」が終了する。ふたたび、図18の「自動変換
ルーチン」に戻り、同ルーチンのステップ354にて
「変換ルーチン」が実行される。この「変換ルーチン」
は、図23に詳細に示すように、ステップ460〜47
6からなり、ステップ462,464にてアップダウン
指標UDが評価される。このアップダウン指標UDが「1」
以上であれば、鍵演奏状態はアップ状態(盛り上がり状
態)にあるとの評価の基に、ステップ462にて「YE
S」と判定されて、ステップ466にて「アップルーチ
ン」が実行される。また、アップダウンUDが「−1」以
下であれば、鍵演奏状態はダウン状態にあるとの評価の
基に、ステップ464にて「YES」と判定され、ステ
ップ468にて「ダウンルーチン」が実行される。一
方、アップダウン指標UDが「−1」と「1」との間の値
を示していれば、鍵演奏状態が変化していないとの評価
の基に、ステップ462,464にて共に「NO」と判
定され、前記「アップルーチン」及び「ダウンルーチ
ン」が実行されずに、ステップ474にて、切り換え評
価係数CFがパターンの自動切り換えをしていないことを
表す「1」に設定される。
After executing the "first and second operation routines" (FIG. 19) in steps 370 and 372, step 37
In step 4, the calculated indexes X (0) to X (3) are added and set as the up / down index UD, and after the determination of “NO” in step 374, the “conversion determination routine” is executed in step 380. finish. Again, returning to the "automatic conversion routine" of FIG. 18, the "conversion routine" is executed at step 354 of the routine. This "conversion routine"
23, as shown in detail in FIG.
6 and the up / down index UD is evaluated in steps 462 and 464. This up / down indicator UD is "1"
If it is above, based on the evaluation that the key playing state is in the up state (exciting state), "YE" is determined in step 462.
It is determined to be "S", and the "up routine" is executed in step 466. If the up-down UD is "-1" or less, the key playing state is evaluated as being in the down state, and "YES" is determined in step 464, and the "down routine" is determined in step 468. To be executed. On the other hand, if the up / down index UD indicates a value between "-1" and "1", it is determined that both of the steps 462 and 464 are "NO" based on the evaluation that the key playing state has not changed. Is determined, the switching evaluation coefficient CF is set to "1" indicating that the pattern is not automatically switched in step 474 without executing the "up routine" and the "down routine".

【0072】「アップルーチン」は、図24に示すよう
に、ステップ480〜492からなり、同ルーチンにお
いては、現在のアレンジフラグARNGが「0」であれば、
ステップ482にて「NO」と判定されて、ステップ4
84にて同フラグARNGは「1」に変更される。また、現
在のアレンジフラグARNGが「1」であれば、ステップ4
82における「YES」との判定の基に、現在のパター
ン番号PTRNが「0」であるときのみ、ステップ486に
て「YES」と判定され、ステップ488にてパターン
番号PTRNが「1」に変更されるとともに、ステップ49
0にてアレンジフラグARNGが「0」に変更される。
As shown in FIG. 24, the "up routine" consists of steps 480 to 492. In this routine, if the current arrangement flag ARNG is "0",
When it is determined to be “NO” in step 482, step 4
At 84, the same flag ARNG is changed to "1". If the current arrangement flag ARNG is “1”, step 4
Based on the determination of “YES” in 82, only when the current pattern number PTRN is “0”, it is determined to be “YES” in step 486, and the pattern number PTRN is changed to “1” in step 488. And step 49
At 0, the arrangement flag ARNG is changed to "0".

【0073】このような「アップルーチン」の処理後、
プログラムは図23のステップ470の「パターン切り
換えルーチン」に進められ、同ルーチンにおいて、前述
したように、前記変更されたパターン番号PTRNに応じて
自動伴奏パターンが切り換えられる。また、前記ステッ
プ470の処理後、ステップ472にて切り換え評価係
数CFがパターンの自動切り換えをしたことを表す「0.
5」に設定される。
After such "up routine" processing,
The program proceeds to the "pattern switching routine" of step 470 of FIG. 23, and in this routine, as described above, the automatic accompaniment pattern is switched according to the changed pattern number PTRN. In addition, after the processing of step 470, the switching evaluation coefficient CF indicates that the pattern is automatically switched in step 472 "0.
Set to 5 ".

【0074】その結果、アップダウン指標UDが「1」以
上の場合には、図7に示すように、現在演奏中の自動伴
奏パターンが第1又は第2伴奏パターン(PTRN=0,1 )
のノーマルモード(ARNG=0 )であれば、自動伴奏パタ
ーンは第1又は第2伴奏パターンのアレンジモード( A
RNG=1)にそれぞれ変更される。また、現在演奏中の自
動伴奏パターンが第1伴奏パターン( PTRN=0)のアレ
ンジモード( ARNG=1)であれば、自動伴奏パターンは
第2伴奏パターン( PTRN=1)のノーマルモード(ARNG
=0)に変更される。
As a result, when the up-down index UD is "1" or more, as shown in FIG. 7, the automatic accompaniment pattern currently playing is the first or second accompaniment pattern (PTRN = 0,1).
In the normal mode (ARNG = 0), the automatic accompaniment pattern is the arrangement mode of the first or second accompaniment pattern (A
RNG is changed to 1). If the automatic accompaniment pattern currently being played is the first accompaniment pattern (PTRN = 0) arrange mode (ARNG = 1), the automatic accompaniment pattern is the second accompaniment pattern (PTRN = 1) normal mode (ARNG).
= 0).

【0075】「ダウンルーチン」は、図25に示すよう
に、ステップ500〜512からなり、同ルーチンにお
いては、現在のアレンジフラグARNGが「1」であれば、
ステップ502にて「NO」と判定されて、ステップ5
04にて同フラグARNGは「0」に変更される。また、現
在のアレンジフラグARNGが「0」であれば、ステップ5
02における「YES」との判定の基に、現在のパター
ン番号PTRNが「1」であるときのみ、ステップ506に
て「YES」と判定され、ステップ508にてパターン
番号PTRNが「0」に変更されるとともに、ステップ51
0にてアレンジフラグARNGが「1」に変更される。
As shown in FIG. 25, the "down routine" comprises steps 500 to 512. In this routine, if the current arrangement flag ARNG is "1",
When it is determined to be “NO” in step 502, step 5
At 04, the same flag ARNG is changed to "0". If the current arrangement flag ARNG is “0”, step 5
Based on the determination of “YES” in 02, only when the current pattern number PTRN is “1”, it is determined to be “YES” in step 506, and the pattern number PTRN is changed to “0” in step 508. And step 51
At 0, the arrangement flag ARNG is changed to "1".

【0076】このような「ダウンルーチン」の処理後、
プログラムは図23のステップ470の「パターン切り
換えルーチン」に進められ、同ルーチンにおいて、前述
したように、前記変更されたパターン番号PTRNに応じて
自動伴奏パターンが切り換えられる。また、前記ステッ
プ470の処理後、ステップ472にて切り換え評価係
数CFがパターンの自動切り換えをしたことを表す「0.
5」に設定される。
After such "down routine" processing,
The program proceeds to the "pattern switching routine" of step 470 of FIG. 23, and in this routine, as described above, the automatic accompaniment pattern is switched according to the changed pattern number PTRN. In addition, after the processing of step 470, the switching evaluation coefficient CF indicates that the pattern is automatically switched in step 472 "0.
Set to 5 ".

【0077】その結果、アップダウン指標UDが「−1」
以下の場合には、図7に示すように、現在演奏中の自動
伴奏パターンが第1又は第2伴奏パターン(PTRN=0,1
)のアレンジモード(ARNG=1 )であれば、自動伴奏
パターンは第1又は第2伴奏パターンのノーマルモード
(ARNG=0)にそれぞれ変更される。また、現在演奏中
の自動伴奏パターンが第2伴奏パターン( PTRN=1)の
ノーマルモード(ARNG=0)であれば、自動伴奏パター
ンは第1伴奏パターン(PTRN=0)のアレンンジモード
(ARNG=1)に変更される。
As a result, the up / down index UD is "-1".
In the following cases, as shown in FIG. 7, the automatic accompaniment pattern currently playing is the first or second accompaniment pattern (PTRN = 0,1).
) Arrange mode (ARNG = 1), the automatic accompaniment pattern is changed to the normal mode (ARNG = 0) of the first or second accompaniment pattern. If the automatic accompaniment pattern currently being played is the second accompaniment pattern (PTRN = 1) normal mode (ARNG = 0), the automatic accompaniment pattern is the first accompaniment pattern (PTRN = 0) arrange mode (ARNG). = 1).

【0078】このような説明からも理解できるように、
判定鍵域フラグRNGが伴奏パターンを右鍵盤12の演奏
状態のみにより切り換えることを表す”1”であれば、
自動伴奏の動作中、右鍵盤12の鍵演奏状態量、すなわ
ち連続する複数区間における右鍵盤12の各押鍵数QRN
(0)〜QRN(2)の差及び各平均鍵タッチ量AVL1,AVL2 の差
に応じて自動伴奏パターンが自動的に切り換えられると
ともに、所定区間における右鍵盤12の平均鍵タッチ量
AVL 及び区間押鍵数QRN(2)に応じて自動伴奏パターンが
切り換えられる。そして、この場合、前記押鍵数QRN(0)
〜QRN(2)の差、平均鍵タッチ量AVL1,AVL2 の差、平均鍵
タッチ量AVL 及び区間押鍵数QRN(2)に対応してなり前記
切り換えの評価に利用する基準値RDNT(SENS),RDVL(SEN
S),RVUP(SENS),RVDW(SENS),RNUP(SENS),RNDW(SENS)
は、切り換え条件スイッチ26の操作により、3段階に
切り換えられるので、演奏者の個性又は曲想に応じて、
演奏者が前記自動伴奏パターンの切り換え条件を任意に
選択できる。また、前記切り換えの評価においては、音
色選択スイッチ群21により選択されたメロディ音の音
色がスクリングス系の場合とそうでない場合とで異なる
値に設定される音色係数K(i)( テーブル音色係数TK
(i))と、前回の伴奏パターンの切り換えの有無に応じ
て異なる値に設定される切り換え評価係数CFとを考慮す
るようにしたので、前記伴奏パターンの自動切り換えの
条件がメロディ音の音色及び過去のパターン切り換え状
態に応じて変更制御される。
As can be understood from the above description,
If the determination range flag RNG is "1" indicating that the accompaniment pattern is switched only by the playing state of the right keyboard 12,
During the automatic accompaniment operation, the key playing state amount of the right keyboard 12, that is, the number of keys pressed by the right keyboard 12 in a plurality of consecutive sections QRN
The automatic accompaniment pattern is automatically switched according to the difference between (0) to QRN (2) and the difference between each average key touch amount AVL1, AVL2, and the average key touch amount of the right keyboard 12 in the predetermined section.
The automatic accompaniment pattern is switched according to the AVL and the number of section keys QRN (2). And in this case, the number of keys pressed QRN (0)
~ QRN (2) difference, average key touch amount AVL1, AVL2 difference, average key touch amount AVL and section key press number QRN (2) corresponding reference value RDNT (SENS) , RDVL (SEN
S), RVUP (SENS), RVDW (SENS), RNUP (SENS), RNDW (SENS)
Can be switched in three steps by operating the changeover condition switch 26, so that depending on the performer's individuality or musical idea,
The performer can arbitrarily select the automatic accompaniment pattern switching condition. Further, in the evaluation of the switching, the tone color coefficient K (i) (table tone color coefficient TK is set to different values depending on whether the tone color of the melody tone selected by the tone color selection switch group 21 is scrings type or not.
(i)) and the switching evaluation coefficient CF, which is set to a different value depending on the presence / absence of the previous accompaniment pattern switching, the conditions for automatic switching of the accompaniment pattern are melody tone and Change control is performed according to the past pattern switching state.

【0079】次に、判定鍵域フラグRNG が伴奏パターン
を左鍵盤11の演奏状態のみにより切り換えることを表
す”0”に設定されている場合について説明する。この
場合、前記「変換判断ルーチン」(図19)のステップ
368にて「YES」と判定され、ステップ347の
「第3演算ルーチン」のみが実行される。
Next, a case will be described in which the determination key range flag RNG is set to "0" indicating that the accompaniment pattern is switched only by the performance state of the left keyboard 11. In this case, "YES" is determined in step 368 of the "conversion determination routine" (FIG. 19), and only the "third calculation routine" in step 347 is executed.

【0080】この「第3演算ルーチン」においては、図
22に示すように、ステップ440にてその実行が開始
され、ステップ442の判定処理により、左鍵盤11の
ための前回の区間押鍵数QLN(2)が「0」でなければ、す
なわち前回の区間において左鍵盤11の押鍵があれば、
同ステップ442にて「YES」と判定され、ステップ
444〜452にて左鍵盤11のための前回の区間の平
均鍵タッチ量AVL に基づいてアップダウン指標UDが算出
される。また、前記区間押鍵数QLN(2)が「0」であれ
ば、すなわち前回の区間において左鍵盤11の押鍵がな
ければ、前記ステップ442にて「NO」と判定され
て、ステップ454にてこのルーチンの実行が終了する
ので、アップダウン指標UDが前記ステップ362(図1
9)の初期設定による「0」に維持される。
As shown in FIG. 22, the execution of this "third calculation routine" is started at step 440, and the determination processing of step 442 determines the previous section key press count QLN for the left keyboard 11. If (2) is not "0", that is, if the left keyboard 11 is pressed in the previous section,
In the same step 442, it is determined as “YES”, and in steps 444 to 452, the up / down index UD is calculated based on the average key touch amount AVL of the previous section for the left keyboard 11. If the section key press count QLN (2) is “0”, that is, if there is no key press on the left keyboard 11 in the previous section, it is determined to be “NO” in step 442, and step 454 is performed. Since the execution of the lever routine is completed, the up / down index UD is set in the step 362 (see FIG. 1).
It is maintained at "0" by the initial setting of 9).

【0081】前記アップダウン指数UDの演算において
は、ステップ444にて左鍵盤11のための前回の区間
の平均鍵タッチ量AVL が計算され、この平均鍵タッチ量
AVL が、切り換え条件テーブルCGCTBL(図6(A))から
読み出した基準値LVUP(SENS)に音色係数K(6)を乗じた値
K(6)×LVUP(SENS)以上であれば、ステップ446にて
「YES」と判定されて、ステップ450にてアップダ
ウン指数UDは「1」に設定される。平均鍵タッチ量AVL
が、切り換え条件テーブルCGCTBLから読み出した基準値
LVDW(SENS)に音色係数K(7)を乗じた値K(7)×LVDW(SENS)
以下であれば、ステップ448にて「YES」と判定さ
れ、ステップ452にてアップダウン指数UDはは「−
1」に設定される。また、平均鍵タッチ量AVL が前記両
値K(6)×LVUP(SENS),K(7)×LVDW(SENS)の間にあれば、
ステップ446,448にて共に「NO」と判定され、
ステップ424にてアップダウン指標UDが前記と同様に
「0」に維持される。この場合、音色係数K(6),K(7)
は、メロディ音の音色がストリングス系の音色のときに
「0.8」「1.2」にそれぞれ設定される(図6(B)参照)
とともに、メロディ音の音色のそれ以外のときに「1」
に設定されているものであるので、メロディ音の音色が
ストリングス系の音色のとき、平均鍵タッチ量AVL の変
化が乏しくても、アップダウン指標UDは正(=1)又は
負(=−1)になり易くなる。
In the calculation of the up / down index UD, the average key touch amount AVL for the left keyboard 11 in the previous section is calculated in step 444, and this average key touch amount is calculated.
AVL value obtained by multiplying the reference value LVUP (SENS) read from the switching condition table CGCTBL (Fig. 6 (A)) by the tone color coefficient K (6).
If K (6) × LVUP (SENS) or more, it is determined to be “YES” in step 446, and the up / down index UD is set to “1” in step 450. Average key touch amount AVL
Is the reference value read from the switching condition table CGCTBL
Value obtained by multiplying LVDW (SENS) by tone color coefficient K (7) K (7) × LVDW (SENS)
If it is less than or equal to “YES” in step 448, the up / down index UD is “−” in step 452.
It is set to 1 ”. If the average key touch amount AVL is between the above two values K (6) × LVUP (SENS), K (7) × LVDW (SENS),
Both are determined as “NO” in steps 446 and 448,
In step 424, the up / down index UD is maintained at "0" as described above. In this case, the timbre coefficients K (6), K (7)
Are set to "0.8" and "1.2" when the melody tone is a strings tone (see Fig. 6 (B)).
And "1" when the melody tone color is other than that.
Since the melody tone is a strings tone, the up / down index UD is positive (= 1) or negative (= -1) even if the average key touch amount AVL changes little. ).

【0082】この「第3演算ルーチン」(図19のステ
ップ378、図22)の実行後、図18の「自動変換ル
ーチン」のステップ354にて「変換ルーチン」が実行
される。この「変換ルーチン」(図23)においては、
前述のように、前記計算したアップダウン指標UDが
「1」以上であれば、左鍵盤11の鍵演奏状態はアップ
状態(盛り上がり状態)にあるとの評価の基に、図24
の「アップルーチン」が実行されて、自動伴奏パターン
は盛り上がる方向に切り換えられる(図7参照)。前記
アップダウン指標UDが「−1」以下であれば、左鍵盤1
1の鍵演奏状態はダウン状態にあるとの評価の基に、図
25の「ダウンルーチン」が実行されて、自動伴奏パタ
ーンは前記とは逆方向に切り換えられる(図7参照)。
また、前記アップダウン指標UDが「1」と「−1」との
間の値であれば、左鍵盤11の鍵演奏状態は変化してい
ないとの評価の基に、前記「アップルーチン」及び「ダ
ウンルーチン」も実行されず、自動伴奏パターンは変更
されない。
After the execution of this "third calculation routine" (step 378 in FIG. 19, FIG. 22), the "conversion routine" is executed in step 354 of the "automatic conversion routine" in FIG. In this "conversion routine" (Fig. 23),
As described above, if the calculated up-down index UD is “1” or more, the key playing state of the left keyboard 11 is evaluated to be in the up state (climbing state), and FIG.
The "up routine" is executed, and the automatic accompaniment pattern is switched in the direction of rising (see FIG. 7). If the up / down index UD is "-1" or less, the left keyboard 1
Based on the evaluation that the key playing state of 1 is the down state, the "down routine" of FIG. 25 is executed, and the automatic accompaniment pattern is switched in the opposite direction to the above (see FIG. 7).
If the up / down index UD is a value between “1” and “−1”, the “up routine” and the “up routine” are evaluated based on the evaluation that the key playing state of the left keyboard 11 has not changed. The "down routine" is not executed either, and the automatic accompaniment pattern is not changed.

【0083】このような説明からも理解できるように、
判定鍵域フラグRNGが伴奏パターンを左鍵盤11の演奏
状態のみにより切り換えることを表す”0”であれば、
自動伴奏の動作中、左鍵盤11の鍵演奏状態量、すなわ
ち所定区間における左鍵盤11の平均鍵タッチ量AVL に
応じて自動伴奏パターンが切り換えられる。そして、こ
の場合、平均鍵タッチ量AVL に対応してなり前記切り換
えの評価に利用する基準値LVUP(SENS),LVDW(SENS) は、
切り換え条件スイッチ26の操作により、3段階に切り
換えられるので、演奏者の個性又は曲想に応じて、演奏
者が前記自動伴奏パターンの切り換え条件を任意に選択
できる。また、前記切り換えの評価においては、音色選
択スイッチ群21により選択されたメロディ音の音色が
スクリングス系の場合とそうでない場合とで異なる値に
設定される音色係数K(i)( テーブル音色係数TK(i))が
考慮されるので、前記伴奏パターンの自動切り換えの条
件がメロディ音の音色に応じて変更制御される。この場
合、音色係数K(6),K(7) は、メロディ音の音色がストリ
ングス系の音色のときに「0.8」「1.2」にそれぞれ設定
される(図6(B)参照)とともに、メロディ音の音色の
それ以外のときに「1」に設定されているものであるの
で、メロディ音の音色がストリングス系の音色のとき、
平均鍵タッチ量AVL の変化が乏しくても、アップダウン
指標UDは正(=1)又は負(=−1)になり易くなり、
前記パターン切り換えが行われ易くなる。
As can be understood from the above description,
If the determination range flag RNG is “0” indicating that the accompaniment pattern is switched only by the performance state of the left keyboard 11,
During the automatic accompaniment operation, the automatic accompaniment pattern is switched according to the key playing state amount of the left keyboard 11, that is, the average key touch amount AVL of the left keyboard 11 in the predetermined section. Then, in this case, the reference values LVUP (SENS) and LVDW (SENS) corresponding to the average key touch amount AVL and used for the evaluation of the switching are
By operating the switching condition switch 26, the switching can be performed in three steps, so that the player can arbitrarily select the switching condition of the automatic accompaniment pattern according to the player's individuality or musical idea. Further, in the evaluation of the switching, the timbre coefficient K (i) (table timbre coefficient TK Since (i)) is taken into consideration, the condition for automatic switching of the accompaniment pattern is changed and controlled according to the tone color of the melody tone. In this case, the tone color coefficients K (6) and K (7) are respectively set to "0.8" and "1.2" when the melody tone color is a strings tone color (see FIG. 6 (B)) and the melody tone. Since it is set to "1" at other times than the tone of the tone, when the tone of the melody tone is a strings tone,
Even if the change in the average key touch amount AVL is small, the up / down index UD tends to be positive (= 1) or negative (= -1),
The pattern switching is facilitated.

【0084】さらに、判定鍵域フラグRNG が伴奏パター
ンを左鍵盤11及び右鍵盤12の両者の演奏状態により
切り換えることを表す”2”に設定されている場合につ
いて、説明する。この場合、前記「変換判断ルーチン」
(図19)のステップ368,376にて共に「NO」
と判定され、前記ステップ370〜374の処理により
右鍵盤12の演奏状態に応じてアップダウン指標UDが計
算されるとともに、前記ステップ378の処理により左
鍵盤11の演奏状態に応じて前記アップダウン指標UDが
修正される。そして、図23の「変換ルーチン」の処理
により、この修正されたアッダウン指標UDに応じて伴奏
パターンの切り換えが制御されるので、同伴奏パターン
が左鍵盤11及び右鍵盤12の演奏状態に応じて変更制
御される。このように、判定領域フラグRNGの値”0”
〜”2”に応じて伴奏パターンの切り換えを制御する鍵
盤が選択され、この判定フラグRNG は判定領域スイッチ
27の操作により選択的に設定されるので、演奏者は伴
奏パターンを切り換えに利用しようとする鍵盤を任意に
選択できる。
Further, a case will be described in which the determination range flag RNG is set to "2", which indicates that the accompaniment pattern is switched depending on the performance state of both the left keyboard 11 and the right keyboard 12. In this case, the "conversion judgment routine"
Both are “NO” in steps 368 and 376 of (FIG. 19).
It is determined that the up / down index UD is calculated according to the playing state of the right keyboard 12 by the processing of the steps 370 to 374, and the up / down index UD is calculated according to the playing state of the left keyboard 11 by the processing of the step 378. UD is fixed. Then, by the processing of the "conversion routine" of FIG. 23, the switching of the accompaniment pattern is controlled according to the corrected updown index UD, so that the accompaniment pattern is changed according to the performance state of the left keyboard 11 and the right keyboard 12. Change controlled. In this way, the value of the judgment area flag RNG is “0”
A keyboard for controlling the switching of the accompaniment pattern is selected according to "2", and the determination flag RNG is selectively set by the operation of the determination area switch 27. Therefore, the performer intends to use the accompaniment pattern for the switching. You can select the desired keyboard.

【0085】なお、上記実施例においては、右鍵盤12
の鍵演奏状態量として、2区間の押鍵数の差QRN(2)〜QR
N(1)、2区間の平均鍵タッチ量の差AVL2−AVL1、所定区
間の平均鍵タッチ量AVL(QRV(2)/QRN(2)) 及び所定区
間の押鍵数QRN(2)を検出して伴奏パターンの切り換え制
御に利用したが(図19の「変換判断ルーチン」参
照)、これらの4つの鍵演奏状態量のうち、必要に応じ
て1〜3つの鍵演奏状態量を検出して伴奏パターンの切
り換えに利用するようにしてよい。また、上記実施例に
おいては、前記平均鍵タッチ量AVL(QRV(2)/QRN(2))
及び押鍵数QRN(2)に、メロディ音の音色を表す音色係数
K(2)〜K(5)及び切り換え条件スイッチ26にて選択され
る基準値RVUP(SENS),RVDW(SENS),RNUP(SENS),RNDW(SEN
S)のみを加味して指数X(2),X(3)を計算するようにした
が(図21の「第2演算ルーチン」参照)、指数X(0),X
(1) の場合と同様、前回の伴奏パターンの切り換え状態
を表す切り換え評価係数CFを、前記平均鍵タッチ量AVL
(QRV(2)/QRN(2))及び押鍵数QRN(2)に加味して指数X
(2),X(3)を計算するようにしてもよい。また、上記実施
例においては、前記押鍵数の差QRN(2)−QRN(1)、平均鍵
タッチ量の差AVL2−AVL1、平均鍵タッチ量AVL(=QRV
(2)/QRN(2)) 及び押鍵数QRN(2)に、前記音色係数K(0)
〜K(5)、切り換え評価係数CF及び基準値RDNT(SENS),RDV
L(SENS),RVUP(SENS),RVDW(SENS),RNUP(SENS),RNDW(SEN
S)を加味して指数X(0)〜X(3)を計算するとともにアップ
ダウン指標UDを計算し(図19の「変換判断ルーチ
ン」、図20及び図21の「第1及び第2演算ルーチ
ン」参照)、その後、このアップダウン指標UDと基準値
「1」、「−1」とを比較して伴奏パターンの切り換え
を決定するようにしたが(図23の「変換ルーチン」参
照)、前記基準値「1」、「−1」を前記メロディ音の
音色に対応した係数、前回の伴奏パターンの切り換え状
態を表す切り換え評価係数及び切り換え条件スイッチ2
6にて選択される値に応じて変更するようにしてもよ
い。さらに、指数X(0)〜X(3)及びアップダウン指標UD側
と、基準値「1」、「−1」側の両者を、前記メロディ
音の音色に対応した係数、前回の伴奏パターンの切り換
え状態を表す切り換え評価係数及び切り換え条件スイッ
チ26にて選択される値に応じて変更するようにしても
よい。
In the above embodiment, the right keyboard 12
As the key playing state quantity of, the difference in the number of keys pressed in the two sections QRN (2) to QR
N (1) Detects the difference AVL2-AVL1 between the average key touch amounts in the two sections, the average key touch amount AVL in the predetermined section (QRV (2) / QRN (2)) and the number of key presses QRN (2) in the predetermined section Then, it was used to control the switching of the accompaniment pattern (see “conversion judgment routine” in FIG. 19), but from among these four key playing state quantities, one to three key playing state quantities were detected as necessary. It may be used for switching the accompaniment pattern. In the above embodiment, the average key touch amount AVL (QRV (2) / QRN (2))
And the number of keys pressed, QRN (2), the timbre coefficient that represents the timbre of the melody.
Reference values RVUP (SENS), RVDW (SENS), RNUP (SENS), RNDW (SEN) selected by K (2) to K (5) and switching condition switch 26
Although the indexes X (2) and X (3) are calculated by taking only S) into consideration (see “Second operation routine” in FIG. 21), the indexes X (0), X
As in the case of (1), the switching evaluation coefficient CF representing the switching state of the previous accompaniment pattern is set to the average key touch amount AVL.
(QRV (2) / QRN (2)) and the number of key presses QRN (2), the index X
(2) and X (3) may be calculated. Further, in the above embodiment, the difference in the number of pressed keys QRN (2) -QRN (1), the difference in the average key touch amount AVL2-AVL1, the average key touch amount AVL (= QRV
(2) / QRN (2)) and the number of key presses QRN (2), the tone color coefficient K (0)
~ K (5), switching evaluation coefficient CF and reference value RDNT (SENS), RDV
L (SENS), RVUP (SENS), RVDW (SENS), RNUP (SENS), RNDW (SEN
S) is added to calculate the indices X (0) to X (3) and the up / down index UD is calculated (“conversion judgment routine” in FIG. 19 and “first and second calculation in FIGS. 20 and 21”). Then, the up / down index UD is compared with the reference values “1” and “−1” to decide the switching of the accompaniment pattern (see “conversion routine” in FIG. 23). The reference values "1" and "-1" are coefficients corresponding to the timbre of the melody tone, a switching evaluation coefficient indicating the previous switching state of the accompaniment pattern, and a switching condition switch 2.
It may be changed according to the value selected in 6. Furthermore, both the indexes X (0) to X (3) and the up / down index UD side, and the reference values “1” and “−1” side are set to the coefficient corresponding to the timbre of the melody tone and the previous accompaniment pattern. It may be changed according to the switching evaluation coefficient indicating the switching state and the value selected by the switching condition switch 26.

【0086】また、上記実施例においては、左鍵盤11
の鍵演奏状態量として、所定区間の平均鍵タッチ量AVL
(=QLV(2)/QLN(2)) のみを検出して伴奏パターンの
切り換え制御に利用したが(図19の「変換判断ルーチ
ン」、図22の「第3演算ルーチン」及び図23の「変
換ルーチン」参照)、この左鍵盤11の鍵演奏状態量と
して、右鍵盤12の場合と同様、2区間の押鍵数の差、
2区間の平均鍵タッチ量の差及び所定区間の押鍵数を検
出して伴奏パターンの切り換え制御に利用するようにし
てもよい。また、この左鍵盤11の場合も、前記検出し
た押鍵数の差、平均鍵タッチ量の差、平均鍵タッチ量及
び押鍵数を、メロディ音又は伴奏音の音色に応じた係
数、前回の伴奏パターンの切り換え状態を表す切り換え
評価係数及び切り換え条件スイッチ26にて選択される
値に応じて変更するようにしてもよい。さらに、前記検
出した押鍵数の差、平均鍵タッチ量の差、平均鍵タッチ
量及び押鍵数が比較される基準値「1」、「−1」側、
又は検出値側と基準値側の両者を、前記メロディ音の音
色に対応した係数、前回の伴奏パターンの切り換え状態
を表す切り換え評価係数及び切り換え条件スイッチ26
にて選択される値に応じて変更するようにしてもよい。
In the above embodiment, the left keyboard 11
The average key touch amount AVL in a predetermined section as the key playing state amount of
Only (= QLV (2) / QLN (2)) was detected and used for accompaniment pattern switching control (“conversion judgment routine” in FIG. 19, “third calculation routine” in FIG. 22 and “conversion routine in FIG. 23”). "Conversion routine"), as the key playing state quantity of the left keyboard 11, as in the case of the right keyboard 12, the difference in the number of keys pressed in the two sections,
The difference between the average key touch amounts in the two sections and the number of keys pressed in the predetermined section may be detected and used for the accompaniment pattern switching control. Also in the case of the left keyboard 11, the detected difference in the number of key depressions, the difference in the average key touch amounts, the average key touch amount and the number of key depressions are calculated by the coefficient corresponding to the timbre of the melody sound or the accompaniment sound, It may be changed according to the switching evaluation coefficient indicating the switching state of the accompaniment pattern and the value selected by the switching condition switch 26. Furthermore, the reference value “1”, “−1” side with which the detected difference in the number of pressed keys, the difference in the average key touch amount, the average key touch amount and the number of pressed keys are compared,
Alternatively, for both the detection value side and the reference value side, a coefficient corresponding to the timbre of the melody tone, a switching evaluation coefficient indicating the switching state of the previous accompaniment pattern, and a switching condition switch 26.
It may be changed according to the value selected in.

【0087】また、左右鍵盤11,12の鍵演奏状態量
として、次のような量を前記鍵演奏状態量として検出す
るようにしてもよい。左鍵盤11により指定されるメ
ジャ、マイナなどの和音タイプの所定区間に渡る演奏頻
度右鍵盤12の黒鍵又は白鍵の所定区間に渡る押鍵回
数左右鍵盤11,12における押鍵時間の所定区間に
渡る平均
Further, as the key playing state quantity of the left and right keyboards 11 and 12, the following quantity may be detected as the key playing state quantity. Performance frequency over a specified section of a chord type such as major or minor specified by the left keyboard 11 Number of key presses over a specified section of a black or white key on the right keyboard 12 Average across

【0088】また、上記実施例においては、演奏状態量
を検出する区間を1小節としたが、この区間の長さは1
小節より短くしてもよいし、長くてもよい。例えば、2
拍毎、2小節を所定区間としてもよい。また、前記区間
を絶対的な時間により定めてもよい。さらに、前記区間
を、テンポボリューム23にて設定される自動伴奏のテ
ンポに応じて可変にしてもよい。この場合、テンポが速
ければ前記区間を長くし、テンポが遅ければ前記区間を
短くすると有効である。
In the above embodiment, the section for detecting the playing state quantity is one bar, but the length of this section is one.
It may be shorter or longer than the bar. For example, 2
For each beat, 2 bars may be set as the predetermined section. Moreover, you may determine the said area | region by absolute time. Further, the section may be variable according to the tempo of the automatic accompaniment set by the tempo volume 23. In this case, it is effective to lengthen the section if the tempo is fast and shorten the section if the tempo is slow.

【0089】また、上記実施例においては、伴奏スタイ
ル毎の伴奏パターンデータとして、第1及び第2伴奏パ
ターン(PTRN0,1)をノーマルモード(ARNG=0)とアレ
ンジモード(ARNG=1 )との2種の発音態様に分けて、
4種の伴奏パターンを実現するようにしたが、独立した
伴奏パターンを伴奏スタイル毎に4種類ずつ用意するよ
うにしてもよい。また、前記種類数は4種に限らず異な
る数でもよい。
In the above embodiment, the first and second accompaniment patterns (PTRN0,1) are used as the accompaniment pattern data for each accompaniment style in the normal mode (ARNG = 0) and the arrange mode (ARNG = 1). Divided into two types of pronunciation,
Although four types of accompaniment patterns are realized, four types of independent accompaniment patterns may be prepared for each accompaniment style. Further, the number of types is not limited to four, and may be different.

【0090】また、上記実施例においては、伴奏データ
メモリ60内には、予め決められた演奏データを記憶す
るようにしたが、このメモリ60をRAMで構成し、演
奏者が任意のデータを書き込めるようにしてもよいし、
磁気テープ、磁気ディスクなどの外部記録媒体から任意
のデータを書き込めるようにしてもよい。
Further, in the above embodiment, the accompaniment data memory 60 stores the predetermined performance data, but the memory 60 is composed of the RAM so that the performer can write arbitrary data. You can
It is possible to write arbitrary data from an external recording medium such as a magnetic tape or a magnetic disk.

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

【図1】 本発明の一実施例を示す自動伴奏装置を備
えた電子楽器の全体ブロック図である。
FIG. 1 is an overall block diagram of an electronic musical instrument having an automatic accompaniment device according to an embodiment of the present invention.

【図2】 図1の操作パネルの詳細図である。FIG. 2 is a detailed view of an operation panel of FIG.

【図3】 図1の伴奏データメモリ内のスタイルテー
ブルのデータフォーマット図である。
FIG. 3 is a data format diagram of a style table in the accompaniment data memory of FIG.

【図4】 図1の伴奏データメモリ内のパターンテー
ブルのデータフォーマット図である。
FIG. 4 is a data format diagram of a pattern table in the accompaniment data memory of FIG. 1;

【図5】 図1の伴奏データメモリ内の演奏データテ
ーブルのデータフォーマット図である。
FIG. 5 is a data format diagram of a performance data table in the accompaniment data memory of FIG. 1;

【図6】 (A)は図1の伴奏データメモリ内の切り換
え条件テーブルのデータフォーマット図であり、(B)は
同メモリ内の音色係数テーブルのデータフォーマット図
である。
6A is a data format diagram of a switching condition table in the accompaniment data memory of FIG. 1, and FIG. 6B is a data format diagram of a tone color coefficient table in the memory.

【図7】 自動伴奏パターンの変更態様を説明するた
めの説明図である。
FIG. 7 is an explanatory diagram for explaining a manner of changing an automatic accompaniment pattern.

【図8】 図1のマイクロコンピュータ部により実行
される「メインプログラム」のフローチャートである。
FIG. 8 is a flowchart of a “main program” executed by the microcomputer unit of FIG. 1;

【図9】 図8の「キーイベントルーチン」の詳細フ
ローチャートである。
FIG. 9 is a detailed flowchart of a “key event routine” of FIG. 8;

【図10】 図8の「スイッチイベントルーチン」の詳
細フローチャートである。
10 is a detailed flowchart of the "switch event routine" of FIG.

【図11】 図10の「パターン起動ルーチン」の詳細
なフローチャートである。
FIG. 11 is a detailed flowchart of a “pattern activation routine” in FIG. 10;

【図12】 図11,23の「パターン切り換えルーチ
ン」の詳細フローチャートである。
FIG. 12 is a detailed flowchart of the “pattern switching routine” of FIGS.

【図13】 図1のマイクロコンピュータ部により実行
される「インタラプトプログラム」のフローチャートで
ある。
FIG. 13 is a flowchart of an “interrupt program” executed by the microcomputer unit of FIG. 1;

【図14】 図13の「再生ルーチン」の詳細フローチ
ャートである。
FIG. 14 is a detailed flowchart of a “reproduction routine” shown in FIG.

【図15】 図14の「ノートルーチン」の詳細フロー
チャートである。
FIG. 15 is a detailed flowchart of a “note routine” of FIG. 14;

【図16】 図13の「キーオフルーチン」の詳細フロ
ーチャートである。
FIG. 16 is a detailed flowchart of a “key-off routine” in FIG. 13;

【図17】 図13の「カウントルーチン」の詳細フロ
ーチャートである。
FIG. 17 is a detailed flowchart of the “count routine” of FIG.

【図18】 図13の「自動変換ルーチン」の詳細フロ
ーチャートである。
FIG. 18 is a detailed flowchart of an “automatic conversion routine” of FIG.

【図19】 図18の「変換判断ルーチン」の詳細フロ
ーチャートである。
FIG. 19 is a detailed flowchart of the “conversion determination routine” of FIG. 18.

【図20】 図19の「第1演算ルーチン」の詳細フロ
ーチャートである。
FIG. 20 is a detailed flowchart of the “first calculation routine” of FIG.

【図21】 図19の「第2演算ルーチン」の詳細フロ
ーチャートである。
FIG. 21 is a detailed flowchart of the “second operation routine” of FIG.

【図22】 図19の「第3演算ルーチン」の詳細フロ
ーチャートである。
FIG. 22 is a detailed flowchart of the “third calculation routine” in FIG.

【図23】 図18の「変換ルーチン」の詳細フローチ
ャートである。
23 is a detailed flowchart of the "conversion routine" of FIG.

【図24】 図23の「アップルーチン」の詳細フロー
チャートである。
FIG. 24 is a detailed flowchart of the “up routine” of FIG. 23.

【図25】 図23の「ダウンルーチン」の詳細フロー
チャートである。
FIG. 25 is a detailed flowchart of the “down routine” of FIG. 23.

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

11…左鍵盤、12…右鍵盤、13…押鍵検出回路、1
4…鍵タッチ検出回路、20…操作パネル、22…伴奏
スタイルスイッチ群、24a…スタートスイッチ、24
b…ストップスイッチ、25…選択スイッチ、26…切
り換え条件スイッチ、27…判定領域スイッチ、40…
楽音信号形成回路、50…マイクロコンピュータ部、6
0…伴奏データメモリ。
11 ... left keyboard, 12 ... right keyboard, 13 ... key detection circuit, 1
4 ... Key touch detection circuit, 20 ... Operation panel, 22 ... Accompaniment style switch group, 24a ... Start switch, 24
b ... Stop switch, 25 ... Selection switch, 26 ... Switching condition switch, 27 ... Judgment area switch, 40 ...
Tone signal forming circuit, 50 ... Microcomputer section, 6
0 ... Accompaniment data memory.

Claims (15)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の鍵からなる演奏操作手段と、異なる区間内における前記鍵の各操作回数の差を演奏状
態量として 検出する演奏状態量検出手段と、 複数種の伴奏パターンデータを記憶した伴奏データメモ
リと、 前記複数種の伴奏パターンデータの1つを読み出す読み
出し手段と、 前記演奏状態量検出手段により検出された演奏状態量と
予め定めた基準値とを比較して同演奏状態量が同基準値
を境に一方の範囲に属するとき前記読み出し手段により
読み出される伴奏パターンデータを異なる伴奏パターン
データに切り換える切り換え手段と、 前記演奏操作手段の複数の鍵の操作に応じて楽音信号を
発生するとともに前記読み出された伴奏パターンデータ
に応じて伴奏音信号を発生する楽音信号発生手段と、 前記切り換え手段による切り換え条件を選択する切り換
え条件選択手段と、 前記切り換え条件選択手段により選択された切り換え条
件に応じて前記検出された演奏状態量又は前記基準値の
少なくとも一方を変更する変更手段とを備えたことを特
徴とする電子楽器。
1. A play-like and a plurality of keys or Ranaru performance operation means, the difference between the number of operations of the key at different intervals in
Performance state amount detecting means for detecting as a state quantity, accompaniment data memory storing a plurality of types of accompaniment pattern data, reading means for reading out one of the plurality of types of accompaniment pattern data, and detection by the performance state amount detecting means Switching the accompaniment pattern data read by the reading means to a different accompaniment pattern data when the performance state quantity is compared with a predetermined reference value and the performance state quantity belongs to one range with the same reference value as a boundary. Means, a musical tone signal generating means for generating a musical tone signal in response to the operation of a plurality of keys of the performance operating means, and a musical accompaniment signal in accordance with the read accompaniment pattern data, and switching by the switching means. Switching condition selecting means for selecting a condition, and the switching condition selected by the switching condition selecting means. Electronic musical instrument characterized by comprising a changing means for changing at least one of the detected playing state amount or the reference value Flip.
【請求項2】複数の鍵からなる演奏操作手段と、異なる区間内における前記鍵の各平均鍵タッチ量の差を
演奏状態量として 検出する演奏状態量検出手段と、 複数種の伴奏パターンデータを記憶した伴奏データメモ
リと、 前記複数種の伴奏パターンデータの1つを読み出す読み
出し手段と、 前記演奏状態量検出手段により検出された演奏状態量と
予め定めた基準値とを比較して同演奏状態量が同基準値
を境に一方の範囲に属するとき前記読み出し手段により
読み出される伴奏パターンデータを異なる伴奏パターン
データに切り換える切り換え手段と、 前記演奏操作手段の複数の鍵の操作に応じて楽音信号を
発生するとともに前記読み出された伴奏パターンデータ
に応じて伴奏音信号を発生する楽音信号発生手段と、 前記切り換え手段による切り換え条件を選択する切り換
え条件選択手段と、 前記切り換え条件選択手段により選択された切り換え条
件に応じて前記検出された演奏状態量又は前記基準値の
少なくとも一方を変更する変更手段とを備えたことを特
徴とする電子楽器。
2. A plurality of keys or Ranaru performance operation means, the difference between the average key touch of the key at different intervals in
The performance state amount detecting means for detecting the performance state amount, the accompaniment data memory storing a plurality of types of accompaniment pattern data, the reading means for reading out one of the plurality of types of accompaniment pattern data, and the performance state amount detecting means. The detected performance state quantity is compared with a predetermined reference value, and when the performance state quantity belongs to one of the ranges with the same reference value as a boundary, the accompaniment pattern data read by the reading means is switched to different accompaniment pattern data. The switching means, the musical tone signal generating means for generating a musical tone signal in response to the operation of a plurality of keys of the performance operating means and the accompaniment tone signal in accordance with the read accompaniment pattern data, and the switching means. Switching condition selecting means for selecting a switching condition, and switching selected by the switching condition selecting means Electronic musical instrument characterized by comprising a changing means for changing at least one of the detected playing state amount or the reference value in accordance with the matter.
【請求項3】 複数の演奏操作子からなる演奏操作手段
と、前記演奏操作手段による演奏状態量を検出する演奏
状態量検出手段と、複数種の伴奏パターンデータを記憶
した伴奏データメモリと、前記複数種の伴奏パターンデ
ータの1つを読み出す読み出し手段と、前記演奏状態量
検出手段により検出された演奏状態量と予め定めた基準
値とを比較して同演奏状態量が同基準値を境に一方の範
囲に属するとき前記読み出し手段により読み出される伴
奏パターンデータを異なる伴奏パターンデータに切り換
える切り換え手段と、前記演奏操作手段の複数の演奏操
作子の操作に応じて楽音信号を発生するとともに前記読
み出された伴奏パターンデータに応じて伴奏音信号を発
生する楽音信号発生手段とを備えた電子楽器において、 前記演奏操作手段の操作に応じて発生される楽音信号の
音色を選択する音色選択手段と、 前記音色選択手段により選択された音色に応じて前記検
出された演奏状態量又は前記基準値の少なくとも一方を
変更する変更手段とを設けたことを特徴とする電子楽
器。
3. A performance operating means composed of a plurality of performance operators, a performance state quantity detecting means for detecting a performance state quantity by the performance operating means, an accompaniment data memory storing a plurality of types of accompaniment pattern data, and A reading means for reading out one of a plurality of types of accompaniment pattern data is compared with the performance state quantity detected by the performance state quantity detecting means and a predetermined reference value, and the performance state quantity is bordered by the same reference value. Switching means for switching the accompaniment pattern data read by the reading means to different accompaniment pattern data when belonging to one of the ranges, and generating and outputting a musical tone signal in response to operation of a plurality of performance operators of the performance operating means. And a musical tone signal generating means for generating an accompaniment tone signal according to the generated accompaniment pattern data. A tone color selecting means for selecting a tone color of a tone signal generated in response to an operation, and a changing means for changing at least one of the detected playing state amount and the reference value according to the tone color selected by the tone color selecting means. An electronic musical instrument characterized by having and.
【請求項4】 前記複数の演奏操作子を複数の鍵で構成
するとともに、前記演奏状態量検出手段を前記演奏状態
量として所定区問内における前記鍵の操作回数を検出す
る手段で構成した前記請求項3に記載の電子楽器。
4. The plurality of performance operators are composed of a plurality of keys, and the performance state quantity detecting means is a means for detecting the number of times the key is operated in a predetermined section as the performance state quantity. The electronic musical instrument according to claim 3 .
【請求項5】 前記複数の演奏操作子を複数の鍵で構成
するとともに、前記演奏状態量検出手段を前記演奏状態
量として所定区間内における前記鍵の平均鍵タッチ量を
検出する手段で構成した前記請求項3に記載の電子楽
器。
5. The plurality of performance operators are composed of a plurality of keys, and the performance state amount detecting means is a means for detecting an average key touch amount of the keys in a predetermined section as the performance state amount. The electronic musical instrument according to claim 3 .
【請求項6】 前記複数の演奏操作子を複数の鍵で構成
するとともに、前記演奏状態量検出手段を前記演奏状態
量として異なる区間内における前記鍵の各操作回数の差
を検出する手段で構成した前記請求項3に記載の電子楽
器。
6. The plurality of performance operators are composed of a plurality of keys, and the performance state quantity detecting means is a means for detecting a difference in the number of times each key is operated in different sections as the performance state quantity. The electronic musical instrument according to claim 3, wherein
【請求項7】 前記複数の演奏操作子を複数の鍵で構成
するとともに、前記演奏状態量検出手段を前記演奏状態
量として異なる区間内における前記鍵の各平均鍵タッチ
量の差を検出する手段で構成した前記請求項3に記載の
電子楽器。
7. The means for configuring the plurality of performance operators with a plurality of keys, and means for detecting a difference between average key touch amounts of the keys in different sections with the performance state quantity detecting means as the performance state quantity. The electronic musical instrument according to claim 3, wherein the electronic musical instrument comprises:
【請求項8】 複数の演奏操作子からなる演奏操作手段
と、前記演奏操作手段による演奏状態量を所定の区間毎
に検出する演奏状態量検出手段と、複数種の伴奏パター
ンデータを記憶した伴奏データメモリと、前記複数種の
伴奏パターンデータの1つを読み出す読み出し手段と、
前記演奏状態量検出手段により検出された演奏状態量と
予め定めた基準値とを比較して同演奏状態量が同基準値
を境に一方の範囲に属するとき前記読み出し手段により
読み出される伴奏パターンデータを異なる伴奏パターン
データに切り換える切り換え手段と、前記演奏操作手段
の複数の演奏操作子の操作に応じて楽音信号を発生する
とともに前記読み出された伴奏パターンデータに応じて
伴奏音信号を発生する楽音信号発生手段とを備えた電子
楽器において、 前記演奏状態量検出手段により検出された前回の区間の
演奏状態量に基づいて切り換え手段が読み出し伴奏パタ
ーンデータの切り換えをしたか否かを表す切り換え評価
値を記憶する切り換え評価値記憶手段と、 前記記憶されている切り換え評価値に応じて前記検出さ
れた演奏状態量又は前記基準値の少なくとも一方を変更
する変更手段とを設けたことを特徴とする電子楽器。
8. A performance operating means comprising a plurality of performance operators, a performance state amount detecting means for detecting a performance state amount by the performance operating means for each predetermined section, and an accompaniment storing a plurality of types of accompaniment pattern data. A data memory and a reading means for reading one of the plurality of types of accompaniment pattern data,
Accompaniment pattern data read by the reading means when the playing state quantity detected by the playing state quantity detecting means is compared with a predetermined reference value and the playing state quantity belongs to one range with the same reference value as a boundary. Switching means for switching between different accompaniment pattern data, and a musical sound signal for generating an accompaniment sound signal in response to the operation of a plurality of performance operators of the performance operation means and an accompaniment sound signal in accordance with the read accompaniment pattern data. In an electronic musical instrument provided with signal generating means, a switching evaluation value indicating whether or not the switching means has switched the read accompaniment pattern data based on the performance state quantity of the previous section detected by the performance state quantity detecting means. Switching evaluation value storage means for storing, and the detected performance state according to the stored switching evaluation value. Or electronic musical instrument, characterized in that a changing means for changing at least one of the reference values.
【請求項9】 前記複数の演奏操作子を複数の鍵で構成
するとともに、前記演奏状態量検出手段を前記演奏状態
量として前記区間内における前記鍵の操作回数を検出す
る手段で構成した前記請求項8に記載の電子楽器。
9. The apparatus according to claim 1, wherein the plurality of performance operators are composed of a plurality of keys, and the performance state amount detecting means is a means for detecting the number of times the key is operated in the section as the performance state amount. Item 8. The electronic musical instrument according to Item 8 .
【請求項10】 前記複数の演奏操作子を複数の鍵で構
成するとともに、前記演奏状態量検出手段を前記演奏状
態量として前記区間内における前記鍵の平均鍵タッチ量
を検出する手段で構成した前記請求項8に記載の電子楽
器。
10. The plurality of performance operators are composed of a plurality of keys, and the performance state amount detecting means is a means for detecting an average key touch amount of the keys in the section as the performance state amount. The electronic musical instrument according to claim 8 .
【請求項11】 前記複数の演奏操作子を複数の鍵で構
成するとともに、前記演奏状態量検出手段を前記演奏状
態量として異なる前記区間内における前記鍵の各操作回
数の差を検出する手段で構成した前記請求項8に記載の
電子楽器。
11. A means for configuring the plurality of performance operators with a plurality of keys, and using the performance state quantity detecting means as means for detecting a difference in the number of times each key is operated in the different sections as the performance state quantity. The electronic musical instrument according to claim 8, which is configured.
【請求項12】 前記複数の演奏操作子を複数の鍵で構
成するとともに、前記演奏状態量検出手段を前記演奏状
態量として異なる前記区間内における前記鍵の各平均鍵
タッチ量の差を検出する手段で構成した前記請求項8に
記載の電子楽器。
12. The plurality of performance operators are composed of a plurality of keys, and the performance state amount detecting means detects the difference between the average key touch amounts of the keys in different sections as the performance state amount. The electronic musical instrument according to claim 8, which is configured by means.
【請求項13】 複数の演奏操作子からなる第1演奏操
作手段と、複数の演奏操作子からなる第2演奏操作手段
と、複数種の伴奏パターンデータを記憶した伴奏データ
メモリと、前記複数種の伴奏パターンデータの1つを読
み出す読み出し手段と、前記読み出した伴奏パターンデ
ータを前記第2演奏操作手段の複数の演奏操作子の操作
に応じて変換する変換手段と、前記第1演奏操作手段の
複数の演奏操作子の操作に応じて楽音信号を発生すると
ともに前記変換された伴奏パターンデータに応じて伴奏
音信号を発生する楽音信号発生手段とを備えた電子楽器
において、 前記第1演奏操作手段による演奏状態量を検出する第1
演奏状態量検出手段と、 前記第2演奏操作手段による演奏状態量を検出する第2
演奏状態量検出手段と、 前記第1又は第2演奏状態量検出手段により検出された
各演奏状態量のいずれかを選択する選択手段と、 前記選択された演奏状態量と予め定めた基準値とを比較
して同演奏状態量が同基準値を境に一方の範囲に属する
とき前記読み出し手段により読み出される伴奏パターン
データを異なる伴奏パターンデータに切り換える切り換
え手段とを設けたことを特徴とする電子楽器。
13. A first performance operating means comprising a plurality of performance operators, a second performance operating means comprising a plurality of performance operators, an accompaniment data memory storing a plurality of types of accompaniment pattern data, and the plurality of types. Reading means for reading one of the accompaniment pattern data, converting means for converting the read accompaniment pattern data according to the operation of a plurality of performance operators of the second performance operating means, and the first performance operating means. An electronic musical instrument comprising: a musical tone signal generating means for generating a musical tone signal in response to an operation of a plurality of musical performance operators and for generating an accompaniment tone signal in accordance with the converted accompaniment pattern data. To detect the playing state quantity by
A performance state quantity detecting means, and a second means for detecting a performance state quantity by the second performance operating means
Playing state quantity detecting means, selecting means for selecting one of the playing state quantities detected by the first or second playing state quantity detecting means, the selected playing state quantity and a predetermined reference value And a switching means for switching the accompaniment pattern data read by the reading means to different accompaniment pattern data when the same playing state amount belongs to one range with the same reference value as a boundary. .
【請求項14】 複数の演奏操作子からなる第1演奏操
作手段と、複数の演奏操作子からなる第2演奏操作手段
と、複数種の伴奏パターンデータを記憶した伴奏データ
メモリと、前記複数種の伴奏パターンデータの1つを読
み出す読み出し手段と、前記読み出した伴奏パターンデ
ータを前記第2演奏操作手段の複数の演奏操作子の操作
に応じて変換する変換手段と、前記第1演奏操作手段の
複数の演奏操作子の操作に応じて楽音信号を発生すると
ともに前記変換された伴奏パターンデータに応じて伴奏
音信号を発生する楽音信号発生手段とを備えた電子楽器
において、 前記第1演奏操作手段による演奏状態量を検出する第1
演奏状態量検出手段と、 前記第2演奏操作手段による演奏状態量を検出する第2
演奏状態量検出手段と、 前記第1若しくは第2演奏状態量検出手段により検出さ
れた各演奏状態量のうちの少なくとも一方の演奏状態
量、又は前記第1演奏状態量検出手段により検出された
演奏状態量に前記第2演奏状態量検出手段により検出さ
れた演奏状態量を加味した演奏状態量のいずれかを選択
する選択手段と、 前記選択された演奏状態量と予め定めた基準値とを比較
して同演奏状態量が同基準値を境に一方の範囲に属する
とき前記読み出し手段により読み出される伴奏パターン
データを異なる伴奏パターンデータに切り換える切り換
え手段とを設けたことを特徴とする電子楽器。
14. A first performance operating means comprising a plurality of performance operators, a second performance operating means comprising a plurality of performance operators, an accompaniment data memory storing a plurality of types of accompaniment pattern data, and the plurality of types. Reading means for reading one of the accompaniment pattern data, converting means for converting the read accompaniment pattern data according to the operation of a plurality of performance operators of the second performance operating means, and the first performance operating means. An electronic musical instrument comprising: a musical tone signal generating means for generating musical tone signals in response to operations of a plurality of musical performance operators and for generating musical accompaniment tone signals in accordance with the converted accompaniment pattern data. To detect the playing state quantity by
A performance state quantity detecting means, and a second means for detecting a performance state quantity by the second performance operating means
Performance state quantity detecting means and at least one of the performance state quantities detected by the first or second performance state quantity detecting means, or the performance detected by the first performance state quantity detecting means. The selection means for selecting one of the playing state quantities in which the playing state quantity detected by the second playing state quantity detecting means is added to the state quantity, and the selected playing state quantity is compared with a predetermined reference value. Then, the electronic musical instrument is provided with switching means for switching the accompaniment pattern data read by the reading means to different accompaniment pattern data when the same performance state amount belongs to one of the ranges with the same reference value as a boundary.
【請求項15】 前記第1演奏操作手段の複数の演奏操
作子をメロディを演奏するための複数の鍵で構成すると
ともに、前記第2演奏操作手段の複数の演奏操作子を和
音を演奏するための複数の鍵で構成した前記請求項13
又は14に記載の電子楽器。
15. A plurality of performance operators of the first performance operating means are composed of a plurality of keys for playing a melody, and a plurality of performance operators of the second performance operating means play chords. 14. The method according to claim 13, wherein the plurality of keys are provided.
Or the electronic musical instrument according to 14 .
JP3024005A 1991-01-16 1991-01-23 Electronic musical instrument Expired - Fee Related JP2541021B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3024005A JP2541021B2 (en) 1991-01-23 1991-01-23 Electronic musical instrument
US07/821,023 US5241128A (en) 1991-01-16 1992-01-15 Automatic accompaniment playing device for use in an electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3024005A JP2541021B2 (en) 1991-01-23 1991-01-23 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH04240696A JPH04240696A (en) 1992-08-27
JP2541021B2 true JP2541021B2 (en) 1996-10-09

Family

ID=12126451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3024005A Expired - Fee Related JP2541021B2 (en) 1991-01-16 1991-01-23 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2541021B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4507801B2 (en) * 2004-09-30 2010-07-21 カシオ計算機株式会社 Musical sound control device and musical sound control processing program

Also Published As

Publication number Publication date
JPH04240696A (en) 1992-08-27

Similar Documents

Publication Publication Date Title
JP5574474B2 (en) Electronic musical instrument having ad-lib performance function and program for ad-lib performance function
JP2576700B2 (en) Automatic accompaniment device
US8314320B2 (en) Automatic accompanying apparatus and computer readable storing medium
US8324493B2 (en) Electronic musical instrument and recording medium
JPH11126074A (en) Arpeggio sounding device, and medium recorded with program for controlling arpeggio sounding
EP0853308B1 (en) Automatic accompaniment apparatus and method, and machine readable medium containing program therefor
US4887504A (en) Automatic accompaniment apparatus realizing automatic accompaniment and manual performance selectable automatically
US5241128A (en) Automatic accompaniment playing device for use in an electronic musical instrument
JP2541021B2 (en) Electronic musical instrument
JP2586744B2 (en) Automatic accompaniment device for electronic musical instruments
JP2000356987A (en) Arpeggio sounding device and medium recording program for controlling arpeggio sounding
JP2513340B2 (en) Electronic musical instrument
JP2833229B2 (en) Automatic accompaniment device for electronic musical instruments
JP3120806B2 (en) Automatic accompaniment device
JP3171436B2 (en) Automatic accompaniment device
JPH04186299A (en) Electronic musical instrument
JP2943560B2 (en) Automatic performance device
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2848322B2 (en) Automatic accompaniment device
JP2513003B2 (en) Electronic musical instrument
JP2504260B2 (en) Musical tone frequency information generator
JP2576296B2 (en) Automatic accompaniment device for electronic musical instruments
JPH0734158B2 (en) Automatic playing device
JPH0727368B2 (en) Electronic musical instrument
JPH07181973A (en) Automatic accompaniment device of electronic musical instrument

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees