JPH03282599A - Tempo controller - Google Patents

Tempo controller

Info

Publication number
JPH03282599A
JPH03282599A JP2083710A JP8371090A JPH03282599A JP H03282599 A JPH03282599 A JP H03282599A JP 2083710 A JP2083710 A JP 2083710A JP 8371090 A JP8371090 A JP 8371090A JP H03282599 A JPH03282599 A JP H03282599A
Authority
JP
Japan
Prior art keywords
performance
tempo
pitch
timing
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2083710A
Other languages
Japanese (ja)
Other versions
JP2745769B2 (en
Inventor
Hirobumi Mukono
博文 向野
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 JP2083710A priority Critical patent/JP2745769B2/en
Publication of JPH03282599A publication Critical patent/JPH03282599A/en
Application granted granted Critical
Publication of JP2745769B2 publication Critical patent/JP2745769B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a pattern for varying a tempo smoothly by calculating the sound generation timing of a next performance musical sound according to the current tempo every time the pitch of a musical sound coincides with the pitch of a performance pattern. CONSTITUTION:A keyboard 1 supplies performance information to a CPU 2 according to the key depression of a player and a CPU 2 executes a program for pattern comparison and tempo comparison stored in a ROM 3 to output musical sound information corresponding to the performance information to a musical sound generating means 5. The comparing means of the CPU 2 compares the pitch of the musical sound of performance with the pitch of the previously registered performance pattern in order to find a case wherein the pitch coincidence is obtained and every time the pitch coincidence is obtained, the arithmetic means calculates the sound generation timing of a next musical sound constituting the performance pattern according to the current tempo. When the pitch coincidence reaches a specific continuous frequency, a control means varies the timing of the performance for a musical sound played without matching the sound generation timing according to the deviation of the timing, thereby obtaining a smooth tempo.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、ライブ演奏中の電子楽器に用いて好適なテ
ンポコントローラに関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a tempo controller suitable for use in electronic musical instruments during live performances.

[従来の技術J 従来より、電子楽器によるライブ演奏においては、主旋
律を演奏者が演奏し、伴奏を自動演奏によって演奏する
場合がある。このようなライブ演奏では、演奏曲の変更
や曲感の変更などのために、伴奏のテンポを変更または
調整する必要がある。
[Prior Art J] Conventionally, in live performances using electronic musical instruments, there are cases in which a performer plays the main melody and automatic accompaniment. In such live performances, it is necessary to change or adjust the tempo of the accompaniment in order to change the music to be performed or the feel of the music.

このような場合、従来の電子楽器では、テンポボリュー
ムを操作することによって変更している。
In such cases, in conventional electronic musical instruments, the tempo is changed by operating the tempo volume.

[発明が解決しようとする課題」 ところで、上述した従来の電子楽器では、伴奏のテンポ
を変更しようとする度に、テンポボリュームを操作する
必要が生じ、演奏操作と合わせると、操作が頻繁になり
、かつ、難しくなるという問題を生じる。また、テンポ
ボリュームを手動により操作しているため、テンポの変
化を予めパターン化しておくことができず、例えば、テ
ンポを同じように変化さセ・ることを繰り返し行う演奏
箇所かあると、その都度、同じようにテンポ変更操作す
ることはできないという問題があった。
[Problems to be Solved by the Invention] By the way, in the conventional electronic musical instruments described above, it is necessary to operate the tempo volume every time the tempo of the accompaniment is changed, and when combined with the performance operation, the operation becomes frequent. , and it becomes difficult. Also, because the tempo volume is manually controlled, it is not possible to create a pattern of tempo changes in advance. There was a problem in that it was not possible to change the tempo in the same way every time.

この発明は、上述した問題に鑑みてなされたもので、回
路構成を複雑にすることなく、テンポの変更パターンが
簡単に作成でき、かつ、その場ですぐ利用できるととも
に、テンポを非常に滑らかに変化させることかできるテ
ンポコントローラを提供することを目的としている。
This invention was made in view of the above-mentioned problems, and allows tempo change patterns to be easily created and used on the spot without complicating the circuit configuration. The purpose is to provide a tempo controller that can be changed.

[課題を解決するための手段」 上述した問題点を解決するために、この発明では複数の
楽音からなる演奏パターンが記憶される記憶手段と、 演奏される楽音の音高と前記演奏パターンの音高とを比
較し、音高が一致した場合には次の演奏楽音の音高と前
記演奏パターンの次の楽音の音高とを順次比較する比較
手段と、 前記比較手段による音高一致が得られる毎に、次の演奏
楽音の発音タイミングを、その時点のテンポに応じて算
出する演算手段と、 t’r+j記比較手段による音高一致が連続し、所定回
数に達すると、該所定回数以降の演奏楽音のうち前記発
音タイミングに一致せずに演奏された楽音の演奏タイミ
ングに応じて自動演奏のテンポを変更する制御手段と を具備することを特徴とする。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a storage means for storing a performance pattern consisting of a plurality of musical tones, and a storage means for storing a performance pattern made up of a plurality of musical tones, and a storage device that stores the pitch of the musical tones to be played and the sound of the performance pattern. and a comparison means for sequentially comparing the pitch of the next performance musical note with the pitch of the next musical note of the performance pattern when the pitches match, and the pitch matching obtained by the comparison means. Each time the pitch is matched by a calculation means that calculates the sounding timing of the next performance musical tone according to the tempo at that time, and a comparison means written in t'r+j, the pitch matches continuously and reaches a predetermined number of times. The present invention is characterized by comprising a control means for changing the tempo of the automatic performance in accordance with the performance timing of a musical tone that is played out of the musical tones that are played without matching the sound generation timing.

「作用 」 まず、比較手段は、演奏される楽音の音高と予め登録さ
れている演奏パターンの音高とを比較し、音高が一致し
た場合には次の演奏楽音の音高と前記演奏パターンの次
の楽音の音高とを順次比較し、音高が一致しない場合に
はテンポを変更仕す、前記法の演奏楽音の音高と前記演
奏パターンの最初の楽音の音高との比較に戻る。次に、
演算手段は、上記比較手段による音高一致が得られる毎
に、前記演奏パターンを構成する次の楽音の発音タイミ
ングを、その時点のテンポに応じて算出する。また、制
御手段は、上記比較手段による音高一致が連続し、所定
回数(例えば2回)に達すると、該所定回数以降の音高
が一致した楽音のうち上記発音タイミングに一致せずに
演奏された楽音に対して、該楽音の演奏タイミングと上
記発音タイミングとのずれに応して演奏のテンポを変更
する。
"Operation" First, the comparison means compares the pitch of the musical tone to be played with the pitch of the performance pattern registered in advance, and if the pitches match, the pitch of the next musical tone and the pitch of the performance pattern registered in advance are compared. Compare the pitch of the next musical note of the pattern in sequence, and if the pitches do not match, change the tempo; Compare the pitch of the musical note played in the above method with the pitch of the first musical note of the performance pattern. Return to next,
The calculating means calculates the sounding timing of the next musical tone constituting the performance pattern, depending on the tempo at that time, every time pitch matching is obtained by the comparing means. In addition, when the pitch matching by the comparing means continues and reaches a predetermined number of times (for example, twice), the control means is configured to perform one of the musical tones whose pitches match after the predetermined number of times without matching the sound generation timing. The performance tempo of the musical tone is changed according to the difference between the performance timing of the musical tone and the sound generation timing.

「実施例」 次に図面を参照してこの発明の実施例について説明する
"Embodiments" Next, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例の構成を示すブロック図で
ある。この図において、lはキーホードであり、演奏者
の押綻に応じて、キーコード、キーオンなどの各種演奏
情報をCP[J (中央処理装置)2ヘバスラインを介
して供給する。CPU2は、ROM (リードオンリメ
モリ)3に記憶されているプログラムを実行して、上記
演奏情報に応じた楽音情報を生成して楽音発生手段5へ
出力するとともに、装置各部を制御する。上記ROM3
には、後述するテンポを変更するためのパターン比較用
プログラムやテンポ変更用プログラムが記憶されている
。また、4はRAM(ランダムアクセスメモリ)であり
、各種データが記憶されるとともに、後述するパターン
データP (i)(i=I−n)が記憶される。次に、
楽音発生手段5は、上記楽音情報に従って楽音信号を生
成し、この楽音信号をザウンドシステム6へ出力する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In this figure, l denotes a key fob, which supplies various performance information such as key codes and key-on signals to the CP[J (central processing unit) 2 via the bus line according to the performer's presses. The CPU 2 executes a program stored in a ROM (read only memory) 3, generates musical tone information according to the performance information, outputs it to the musical tone generating means 5, and controls each part of the apparatus. Above ROM3
A pattern comparison program and a tempo change program, which will be described later, are stored in the . Further, 4 is a RAM (random access memory) in which various data are stored, as well as pattern data P (i) (i=I-n), which will be described later. next,
The musical tone generating means 5 generates a musical tone signal according to the musical tone information, and outputs this musical tone signal to the sound system 6.

このサウンドノステム6は、上記楽音信号をアナログ信
号に変換するととしに、楽音として発音する。
This sound nostem 6 converts the musical tone signal into an analog signal and generates a musical tone.

次に、上述したパターンデータP (i)について説明
する。パターンデータP (i)は、単音、和音または
単音が連続した複数音(アルペジオなとのような楽音)
から構成されるデータである。
Next, the above-mentioned pattern data P (i) will be explained. Pattern data P (i) is a single note, a chord, or a plurality of consecutive single notes (musical sound such as an arpeggio)
This is data consisting of .

このパターンデータP (i)は、演奏者によって、例
えば、任意の符長で入力されて、クオンタイズか′かけ
られた後イこ登録される。また、このパターンデータP
(1)は、4ワード(−128ビツト)の配列とし、各
ビットがM I D I (Musical Ir+5
trc+l1ent Digital Interfa
ce)のN0TEデータに対応するようになっている。
This pattern data P (i) is input by the performer, for example, with an arbitrary note length, is quantized, and then registered. Also, this pattern data P
(1) is an array of 4 words (-128 bits), and each bit is MID I (Musical Ir+5
trc+l1ent Digital Interfa
ce) N0TE data.

次に、上述したパターン比較用プログラムについて説明
する。本実施例におけるパターン比較用プログラムは、
演奏される1音毎に、該演奏パターンと上記パターンデ
ータP (i)とを比較して、上記演奏パターンの中に
パターンデータと同じ楽音が最初から少なくとも2音以
上含まれ、かつパターンデータP(i)とのタイミング
がずれている場合、テンポ変更用プログラムを速やかに
実行してテンポを変更する。なお、テンポ変更用プログ
ラムについては動作説明において説明する。
Next, the pattern comparison program mentioned above will be explained. The pattern comparison program in this example is:
For each note played, the performance pattern is compared with the pattern data P (i), and the performance pattern contains at least two or more tones that are the same as the pattern data from the beginning, and the pattern data P If the timing is different from (i), the tempo change program is immediately executed to change the tempo. Note that the tempo changing program will be explained in the operation description.

次に、上述した構成によるライブ演奏におけるテンポ変
更動作について、第2図および第3図1こ示すフローチ
ャートを参照して説明する。始めに、パターンデータP
 (i)として連続した複数音を登録する場合を説明す
る。
Next, the tempo changing operation in a live performance with the above-described configuration will be explained with reference to the flowcharts shown in FIGS. 2 and 3. First, pattern data P
As (i), a case where consecutive plural sounds are registered will be explained.

まず、該装置の電源が投入されると、第2図に示すメイ
ンルーチンがCPU2によって実行される。このメイン
ルーチンでは、まず、ステップSA1において、各種変
数などがイニシャライズされる。そして、演奏者により
入力されるパターンデータP(1)〜P (n)を順次
取り込む。例えば、パターンデータP(i)として第4
図に示す「ドミソ」を入力する場合には、演奏者の入力
した演奏パターンは、4分音符でクオンタイズされろと
と乙に、パターンデータP(1)として「ド」1)(2
)として「ミ」およびP(3)として「ソ」か登録され
る。このように登録することによって、各楽音の音高お
よび符長が記憶されることになる。
First, when the power of the device is turned on, the main routine shown in FIG. 2 is executed by the CPU 2. In this main routine, first, in step SA1, various variables are initialized. Then, pattern data P(1) to P(n) input by the performer are sequentially captured. For example, as pattern data P(i), the fourth
When inputting the "domiso" shown in the figure, the performance pattern input by the performer is requested to be quantized to quarter notes, and the pattern data P(1) is "do" (1) (2).
) is registered as "Mi" and as P(3) is "So". By registering in this way, the pitch and note length of each musical tone are stored.

次に、ステップSA2に進み、N0TEオンイベントが
生じたか否かを判断する。このN0TEオンイベントは
、キーボード!における鍵盤が押鍵された場合に発生ず
る。したかつて、このステップSA2における判断結果
がrNOJの場合、すなわち演奏されない場合やある単
音が押されたままになっている場合など、新たに鍵盤か
押鍵されなかった場合には、ステップSA3へ進む。こ
のステップSA3では、演奏のテンポを変えることなく
、そのままのテンポで伴奏の自動演奏発音処理を行う。
Next, the process proceeds to step SA2, where it is determined whether a N0TE on event has occurred. This N0TE on event is a keyboard! Occurs when a key is pressed on the keyboard. If the judgment result in step SA2 is rNOJ, that is, if no new key is pressed, such as when the note is not played or when a certain single note remains pressed, the process proceeds to step SA3. . In step SA3, automatic accompaniment sound generation processing is performed at the same tempo without changing the tempo of the performance.

「始めの演奏音に対する処理] 一方、ステップSA2における判断結果が「YESJの
場合、すなわち、キーボードlか押鍵され、N0TEオ
ンイベントが生じた場合には、ステップSA4に進み、
N0TEオンイベントのN0TEコード(キーコード)
を変数N0TEに代入する。ところで、この変数N0T
Eに代入される演奏音は、常に変数iの値に従って処理
されることIこなるため、比較対象として第1 (=i
)の演奏音とする。したがって、変数iが「2」の場合
には、その時の演奏音を第2の演奏音とし、変数iが「
3」の場合には、その時の演奏音を第3の演奏音とする
。次に、ステップSA5へ進み、第3図に示すN0TE
  ON処理を行う。
"Processing for the first performance sound" On the other hand, if the judgment result in step SA2 is "YESJ", that is, if the keyboard key 1 is pressed and a N0TE on event occurs, the process proceeds to step SA4,
N0TE code (key code) for N0TE on event
Assign to variable N0TE. By the way, this variable N0T
Since the performance sound assigned to E is always processed according to the value of variable i, the first (=i
) is the performance sound. Therefore, when the variable i is "2", the performance sound at that time is the second performance sound, and the variable i is "2".
3'', the performance sound at that time is set as the third performance sound. Next, the process proceeds to step SA5, and the N0TE shown in FIG.
Performs ON processing.

このN0TE  ON処理では、まず、ステップSBI
において、変数N0TEがパターンP(1)(iの初期
値は「l」)に等しいか否かを判断する。ここで、変数
N0TEに代入された演奏音が「ド」以外の音高、例え
ば「ソ」であるとすると、前述したパターンデータP 
(1)に一致しないため、このステップSBIにおける
判断結果は1NO」となり、ステップSB2に進み、変
数iを「lJに戻して、メインルーチンのステップSA
6へ戻る。ステップSA6では、演奏音の「ソ」が発音
される。次に、ステップSA3へ進み、このステップS
A3では、テンポを変更することなく伴奏の自動演奏発
音を行う。次に、ステップSA2に戻り、(耳びN O
’I’ Eオンイベントの有無を調べる。
In this N0TE ON process, first, step SBI
, it is determined whether the variable N0TE is equal to the pattern P(1) (the initial value of i is "l"). Here, if the performance note assigned to the variable N0TE is a pitch other than "do", for example "g", then the pattern data P
Since it does not match (1), the judgment result in this step SBI is 1NO, and the process proceeds to step SB2, returns the variable i to lJ, and returns to step SA of the main routine.
Return to 6. In step SA6, the performance note "G" is sounded. Next, proceed to step SA3, and step S
In A3, automatic accompaniment performance sounding is performed without changing the tempo. Next, return to step SA2,
'I' Checks for presence of E-on event.

ここで、次のN0TEオンイヘントが発生すると、この
場合には変数lが「1」に戻されているため、次の演奏
音は前述した処理と同様に、第!の演奏音として扱われ
る。
Here, when the next N0TE on-event occurs, in this case, the variable l has been returned to "1", so the next performance sound is the same as the process described above. It is treated as a performance sound.

一方、ステップSB+における判断結果が「YESJの
場合、すなわち第1の演奏音が「ド」の場合には、パタ
ーンP (1)に一致するため、ステップSB3へ進む
。このステップSB3では、変数iが2以上であるか否
かを判断する。この場合、変数iは「l」であるため、
ステップSB3における判断結果はrNOJとなり、ス
テップSB8へ進む。このステップSB8では、変数1
をインクリメントした後、現在のテンポに従って、次の
パターンデータP(2)が演奏される予定タイミングを
算出してメインルーチンへ戻る。メインルーチンでは、
ステップSA6へ進み、演奏音「ドゴの発音処理を行う
。次に、ステップSA3へ進み、テンポを変更すること
なく伴奏の自動演奏する。このように、第1の演奏音の
比較処理の場合には(変数i=Iの場合には)、常にス
テップSB3における判断結果が「No」となるため、
パターンデータP(1)との一致、不一致とは関係なく
、テンポ変更処理は行われない。次に、ステップSA2
へ戻り、N0TEオンイベントの有無を調べる。ここで
、次のN0TEオンイベントが発生すると、この場合に
は変数iが「2」になっているため、該イベントは次に
説明する第2の演奏音として処理される。
On the other hand, if the determination result in step SB+ is "YESJ", that is, if the first performance note is "do", the process matches pattern P (1) and the process proceeds to step SB3. In this step SB3, it is determined whether the variable i is 2 or more. In this case, the variable i is "l", so
The determination result in step SB3 is rNOJ, and the process advances to step SB8. In this step SB8, variable 1
After incrementing , the scheduled timing at which the next pattern data P(2) will be played is calculated according to the current tempo, and the process returns to the main routine. In the main routine,
Proceeding to step SA6, the process of generating the performance sound "Dogo" is performed.Next, the process proceeds to step SA3, and the accompaniment is automatically played without changing the tempo.In this way, in the case of the comparison process of the first performance sound, (in the case of variable i=I), the judgment result in step SB3 is always "No", so
No tempo change processing is performed regardless of whether it matches or does not match pattern data P(1). Next, step SA2
Return to , and check whether there is a N0TE on event. Here, when the next N0TE on event occurs, the variable i is "2" in this case, so this event is processed as a second performance sound, which will be explained next.

[第2の演奏音に対する処理] 次に、メインルーチンのステップSA2において、次の
演奏音が検出されると、該ステップSA2の判断結果が
rYESJとなり、ステップSA4へ進む。ステップS
A4では、上述した第1の演奏音と同様に、ノートコー
ドを変数N0TEに代入し、ステップSA5へ進み、N
0TE  ON処理を実行する。
[Processing for Second Performance Sound] Next, in step SA2 of the main routine, when the next performance sound is detected, the determination result in step SA2 becomes rYESJ, and the process advances to step SA4. Step S
At A4, similarly to the first performance note described above, the note code is assigned to the variable N0TE, and the process proceeds to step SA5.
0TE Execute ON processing.

まず、ステップSBIにおいて、変数N0TEに代入さ
れた第2の演奏音とパターンデータP(2)カ同一であ
るか否かが判断される。この場合、上記第2の演奏音が
「ミ」以外の場合には、パターンデータP(2)と一致
しないため、上記ステップSB+における判断結果はr
NOJとなり、ステップSB2へ進む。ステップSB2
では、変数iをrlJに戻した後、メインルーチンへ戻
る。
First, in step SBI, it is determined whether the second performance sound assigned to the variable N0TE and the pattern data P(2) are the same. In this case, if the second performance note is other than "mi", it does not match the pattern data P(2), so the determination result in step SB+ is r
The result is NOJ, and the process proceeds to step SB2. Step SB2
Now, after returning the variable i to rlJ, the process returns to the main routine.

メインルーチンでは、ステップSA6およびSA3にお
いて、テンポを変更することなく演奏音の発音および伴
奏の自動演奏の発音を行う。 このように、第1の演奏
音とパターンデータP(1)が一致しても、第2の演奏
音とパターンデータP(2)が一致しない場合には、テ
ンポは変更されない。次に、ステップSA2に戻り、再
びN0TEオンイベントの有無を調べる。ここで、次の
NO’1’ Eオンイベントが発生すると、この場合に
は変数iがrlJに戻されているため、該イベントは前
述した処理と同様に第1の演奏音として扱われる。
In the main routine, in steps SA6 and SA3, the performance tones and automatic accompaniment are produced without changing the tempo. In this way, even if the first performance sound and pattern data P(1) match, if the second performance sound and pattern data P(2) do not match, the tempo is not changed. Next, the process returns to step SA2, and the presence or absence of the N0TE on event is checked again. Here, when the next NO'1'E-on event occurs, in this case, the variable i has been returned to rlJ, so this event is treated as the first performance sound in the same way as in the process described above.

一方、前述の第2の演奏音がrミJの場合には、パター
ンデータP(2)に一致するため、ステップSB’lに
おける判断結果はry E S Jとなり、ステップS
B3へ進む。この場合、変数iは「2」であるため、ス
テップSB3における判断結果はrYEsJとなり、ス
テップSB4へ進む。そして、ステップSB4において
、変数N0TEに代入された第2の演奏音の演奏タイミ
ングと、前述したステップSB8において算出されたパ
ターンデータP(2)との予定タイミングが一致してい
るか否かを判断する。ここで、演奏者がテンポを変えず
に演奏した場合には、第2の演奏音の演奏タイミングと
予定タイミングとは一致するため、上記ステップSB4
における判断結果はrYEsJとなり、テンポ変更は行
わずステップSB6へ進む。そして、ステップSB6で
は、変数iが最大値i、。X(この例の場合には、1 
max= 3 )に達したか否かを判断する。この場合
、変数iは「2」であるため、上記ステップSB6にお
ける判断結果はrNOJとなり、ステップ5I37へ進
む。このステップ5I37では、前述した第1番目の演
奏音の場合と同様に、まず、変数1をインクリメントし
た後、現在のテンポに基づいて、パターンデータP(3
)の予定タイミングを算出してメインルーチンへ戻る。
On the other hand, if the second performance note mentioned above is r mi J, it matches the pattern data P(2), so the determination result in step SB'l is ry E S J, and step S
Proceed to B3. In this case, since the variable i is "2", the determination result in step SB3 is rYEsJ, and the process advances to step SB4. Then, in step SB4, it is determined whether the performance timing of the second performance sound assigned to the variable N0TE matches the scheduled timing of the pattern data P(2) calculated in step SB8 described above. . Here, if the performer performs without changing the tempo, the performance timing of the second performance sound and the scheduled timing match, so step SB4
The determination result in is rYEsJ, and the process proceeds to step SB6 without changing the tempo. Then, in step SB6, the variable i is set to the maximum value i. X (in this example, 1
max=3) is reached. In this case, since the variable i is "2", the determination result in step SB6 is rNOJ, and the process proceeds to step 5I37. In this step 5I37, as in the case of the first performance note described above, first, after incrementing the variable 1, the pattern data P(3
) and return to the main routine.

そして、メインルーチンでは、ステップSA6およびS
A3において、テンポを変更することなく演奏音の発音
および伴奏の自動演奏の発音を行う。このように、第2
の演奏音の音高および演奏タイミングがパターンデータ
P(2)およびその予定タイミングに一致した場合には
テンポは変更されない。次に、ステップSA2に戻り、
再びN0TEオンイベントの有無を調べる。
In the main routine, steps SA6 and S
At A3, the performance tones and automatic accompaniment are produced without changing the tempo. In this way, the second
If the pitch and performance timing of the performance sound match the pattern data P(2) and its scheduled timing, the tempo is not changed. Next, return to step SA2,
The presence or absence of the N0TE on event is checked again.

ここで、次のN0TEオンイベントが発生すると、この
場合には変数iが「3」になっているため、該イベント
は後述する第3の演奏音として処理される。
Here, when the next N0TE on event occurs, in this case, since the variable i is "3", this event is processed as a third performance sound, which will be described later.

一方、演奏者が演奏のテンポを変えるために、上記演奏
音の演奏タイミングを速めるが、あるいは遅くした場合
には、上述したステップSB4における判断結果はrN
OJとなり、ステップSB5へ進む。そして、ステップ
S[35では、第2の演奏音の演奏タイミングとパター
ンデータI)(2)の予定タイミングとのずれに応じて
テンポ変更処理が行われる。
On the other hand, if the performer speeds up or slows down the performance timing of the performance sound in order to change the tempo of the performance, the determination result in step SB4 described above is rN.
It becomes OJ, and the process proceeds to step SB5. Then, in step S[35, a tempo change process is performed according to the difference between the performance timing of the second performance sound and the scheduled timing of pattern data I)(2).

このテンポ変更処理は、上述した演奏タイミングと予定
タイミングとのずれに応じて新たなテンポを算出する。
In this tempo change process, a new tempo is calculated according to the difference between the performance timing and the scheduled timing described above.

以下、この算出方法について詳述する。まず、上述した
演奏タイミングと予定タイミングのずれの70%にあた
る時間を求め、これに相当するずれを加減したテンポを
算出する。次に、この算出したテンポとこれまでのテン
ポを、例えば、6対4となるよう混合して新たなテンポ
を算出する。そして、この新たなテンポに合わせるよう
に、自動演奏が行われている演奏制御プログラム中のタ
イミングクロックの周期を変更する。
This calculation method will be explained in detail below. First, a time corresponding to 70% of the deviation between the above-mentioned performance timing and the scheduled timing is determined, and a tempo is calculated by adjusting the deviation corresponding to this. Next, a new tempo is calculated by mixing this calculated tempo and the previous tempo, for example, in a ratio of 6:4. Then, the cycle of the timing clock in the performance control program in which automatic performance is being performed is changed to match this new tempo.

メインルーチンのステップSA3における楽音発生は、
このタイミングクロックを基準にして行われるため、該
タイミングクロックの周期を変更することにより、演奏
のテンポが変化することになる。
The musical tone generation in step SA3 of the main routine is as follows:
Since the performance is performed based on this timing clock, changing the cycle of the timing clock changes the tempo of the performance.

そして、上記ステップSB5のテンポ変更処理か終了し
た後、ステップSB6へ進む。この場合、変数iは「2
」であるため、該ステップSB6における判断結果はr
NOJとなり、ステップSB7へ進む。このステップS
B7では、まず、変数1をインクリメントした後、現在
のテンポに基づいて、パターンデータP(3)が演奏さ
れる予定タイミングを算出し、メインルーチンへ戻る。
After the tempo changing process in step SB5 is completed, the process advances to step SB6. In this case, the variable i is “2
”, the judgment result in step SB6 is r
The result is NOJ, and the process advances to step SB7. This step S
At B7, first, after incrementing variable 1, the scheduled timing at which pattern data P(3) will be played is calculated based on the current tempo, and the process returns to the main routine.

メインルーチンでは、ステップSA6およびSA3にお
いて、新たなテンポに従って演奏音の発音および伴奏の
自動演奏の発音を行う。このように、第2の演奏音の音
高がパターンデータ(2)に−致し、かつ、演奏タイミ
ングがパターンデータP(2)の予定タイミングとずれ
ている場合にはテンポは変更される。次に、ステップS
A2に戻り、再びN0TEオンイベントの有無を調べる
。ここで、次のN 、OT Eオンイベントが発生する
と、この場合には変数iが「3」になっているため、該
イベントは次に説明する第3の演奏音として処理される
In the main routine, in steps SA6 and SA3, performance tones and automatic accompaniment are produced in accordance with the new tempo. In this way, when the pitch of the second performance sound matches the pattern data (2) and the performance timing deviates from the scheduled timing of the pattern data P(2), the tempo is changed. Next, step S
Return to A2 and check again for the presence or absence of the N0TE on event. Here, when the next N, OT E on event occurs, since the variable i is "3" in this case, the event is processed as the third performance sound, which will be explained next.

[第3の演奏音に対する処理] 次に、メインルーチンのステップSA2において、次の
演奏音が検出されると、前述の第2音の場合同様、ステ
ップSA2.SA4.SA5と進み、N0TE  ON
処理においてもステップSB6までは同様の処理が行わ
れる。
[Processing for Third Performance Sound] Next, in step SA2 of the main routine, when the next performance sound is detected, step SA2. SA4. Proceed to SA5 and N0TE ON
Similar processing is performed up to step SB6.

ステップSB6では、変数iが最大値1 waxに達し
たか否かを判断する。この場合、変数1は「3」である
ため、上記ステップSB6における判断結果はrYES
Jとなり、ステップSB8へ進む。
In step SB6, it is determined whether the variable i has reached the maximum value 1 wax. In this case, since variable 1 is "3", the judgment result in step SB6 is rYES.
J, and the process advances to step SB8.

このステップSB8では、変数iを「1」に戻して、メ
インルーチンへ戻る。メインルーチンにおけるテンポ変
更制御も前述の第2音と同じなので、ここでは省略する
In this step SB8, the variable i is returned to "1" and the process returns to the main routine. The tempo change control in the main routine is also the same as that for the second note described above, so it will be omitted here.

なお、上述した実施例では、パターンデータP(i)を
i=1〜3までの複数の単音としたが、複数の和音でも
よい。また、パターンデータP(i)は、1種類に限ら
ず、複数の種類用意してもよい。
In the above embodiment, the pattern data P(i) is a plurality of single tones with i=1 to 3, but it may be a plurality of chords. Further, the pattern data P(i) is not limited to one type, and a plurality of types may be prepared.

また、パターンデータP(i)として複数の和音とした
場合には、演奏音との比較は、和音の1音のみの一致で
もよく、また、和音を構成する全ての楽音が一致しなけ
ればならないようにしてもよい。
Furthermore, when multiple chords are used as the pattern data P(i), the comparison with the performance notes may be based on a match of only one note of the chord, and all musical tones making up the chord must match. You can do it like this.

また、上述した実施例では、新たなテンポを、まず、演
奏パターンの楽音とパターンデータP(i)の楽音との
時間差、すなわちタイミングのずれの70%にあたる時
間を求めた後、これに相当する拍数のテンポを算出し、
次に、このテンポとこれまでのテンポとを6対4となる
よう混合することによって求めるようにしたため、テン
ポを非常に滑らかに変化させることができるという利点
が得られる。
In addition, in the above-described embodiment, the new tempo is determined by first determining the time difference between the musical tone of the performance pattern and the musical tone of the pattern data P(i), that is, the time corresponding to 70% of the timing deviation. Calculate the tempo of the number of beats,
Next, since the tempo is determined by mixing this tempo and the previous tempo in a ratio of 6:4, there is an advantage that the tempo can be changed very smoothly.

「発明の効果」 以上、説明したように、この発明によれば、パターンマ
ツチングという単純な手法でテンポ制御するため、回路
構成を複雑にすることなく、演奏パターンの作成も容易
で、かつ、演奏に際しての利用も簡単であるとともに、
テンポを非常に清らかに変化さけることができる利点が
得られる。
"Effects of the Invention" As explained above, according to the present invention, since the tempo is controlled by a simple method called pattern matching, it is easy to create performance patterns without complicating the circuit configuration, and It is easy to use when performing, and
The advantage is that the tempo can be changed very clearly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例のメインルーチンの動作を説明するた
めのフローチャート、第3図は同実施例のN0TE  
ON処理の動作を説明するためのフローチャート、第4
図は同実施例において登録されるパターンデータを説明
するための説明図である。 ■・・・・・・キーボード、2・・・・・・CPU、3
・・・・・ROM。 4・・・・・・RAM、5・・・・楽音発生手段、6・
・・・・・サウンドシステム。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the operation of the main routine of the same embodiment, and FIG. 3 is a flowchart for explaining the operation of the main routine of the same embodiment.
Flowchart for explaining the operation of ON processing, No. 4
The figure is an explanatory diagram for explaining pattern data registered in the same embodiment. ■・・・Keyboard, 2・・・CPU, 3
...ROM. 4...RAM, 5...musical tone generation means, 6.
...Sound system.

Claims (1)

【特許請求の範囲】 複数の楽音からなる演奏パターンが記憶される記憶手段
と、 演奏される楽音の音高と前記演奏パターンの音高とを比
較し、音高が一致した場合には次の演奏楽音の音高と前
記演奏パターンの次の楽音の音高とを順次比較する比較
手段と、 前記比較手段による音高一致が得られる毎に、次の演奏
楽音の発音タイミングを、その時点のテンポに応じて算
出する演算手段と、 前記比較手段による音高一致が連続し、所定回数に達す
ると、該所定回数以降の演奏楽音のうち前記発音タイミ
ングに一致せずに演奏された楽音の演奏タイミングに応
じて自動演奏のテンポを変更する制御手段と を具備することを特徴とするテンポコントローラ。
[Scope of Claims] A storage means in which a performance pattern consisting of a plurality of musical tones is stored, and a pitch of a musical sound to be played and a pitch of the performance pattern are compared, and if the pitches match, the following is performed. a comparison means for sequentially comparing the pitch of the musical tone to be performed and the pitch of the next musical tone of the performance pattern; and each time a pitch match is obtained by the comparison means, the generation timing of the next musical tone to be performed is adjusted to the timing of the next musical tone to be played at that time. When the pitch matching by the calculation means that calculates according to the tempo and the comparison means continues and reaches a predetermined number of times, the musical tones that are played after the predetermined number of times without matching the sound generation timing are played. A tempo controller comprising a control means for changing the tempo of automatic performance according to timing.
JP2083710A 1990-03-30 1990-03-30 Tempo controller Expired - Fee Related JP2745769B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2083710A JP2745769B2 (en) 1990-03-30 1990-03-30 Tempo controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2083710A JP2745769B2 (en) 1990-03-30 1990-03-30 Tempo controller

Publications (2)

Publication Number Publication Date
JPH03282599A true JPH03282599A (en) 1991-12-12
JP2745769B2 JP2745769B2 (en) 1998-04-28

Family

ID=13810057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2083710A Expired - Fee Related JP2745769B2 (en) 1990-03-30 1990-03-30 Tempo controller

Country Status (1)

Country Link
JP (1) JP2745769B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2009075527A (en) * 2007-09-18 2009-04-09 Faniiboon:Kk Method for multiple vibration generation interlocked with human action

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2009075527A (en) * 2007-09-18 2009-04-09 Faniiboon:Kk Method for multiple vibration generation interlocked with human action

Also Published As

Publication number Publication date
JP2745769B2 (en) 1998-04-28

Similar Documents

Publication Publication Date Title
JP3812328B2 (en) Automatic accompaniment pattern generation apparatus and method
JPH0283591A (en) Automatic key determining device
JP2624090B2 (en) Automatic performance device
JP6175812B2 (en) Musical sound information processing apparatus and program
JP3049989B2 (en) Performance information analyzer and chord detector
JP3279204B2 (en) Sound signal analyzer and performance information generator
JPH03282599A (en) Tempo controller
JP2768233B2 (en) Electronic musical instrument
JP3054242B2 (en) Automatic accompaniment device
JP2943560B2 (en) Automatic performance device
US5483018A (en) Automatic arrangement apparatus including selected backing part production
JPH06202660A (en) Electronic musical instrument
JP3189837B2 (en) Performance information analyzer and performance information analysis method
JP3186752B2 (en) Performance information analyzer and performance information analysis method
JP2636477B2 (en) Electronic musical instrument
JP3186748B2 (en) Performance information analyzer and performance information analysis method
JPH0580766A (en) Automatic accompaniment device
JP3476863B2 (en) Automatic accompaniment device for electronic musical instruments
JP2947620B2 (en) Automatic accompaniment device
JPS6342272B2 (en)
JPH0683356A (en) Automatic accompaniment device
JPH08171387A (en) Pitch shifter
JPH04498A (en) Touch response device of electronic musical instrument
JPH05341787A (en) Automatic accompaniment device
JPH06282268A (en) Automatic accompanying device

Legal Events

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