JPH0436398B2 - - Google Patents

Info

Publication number
JPH0436398B2
JPH0436398B2 JP57199047A JP19904782A JPH0436398B2 JP H0436398 B2 JPH0436398 B2 JP H0436398B2 JP 57199047 A JP57199047 A JP 57199047A JP 19904782 A JP19904782 A JP 19904782A JP H0436398 B2 JPH0436398 B2 JP H0436398B2
Authority
JP
Japan
Prior art keywords
tempo
data
circuit
key
signal
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 - Lifetime
Application number
JP57199047A
Other languages
Japanese (ja)
Other versions
JPS5988795A (en
Inventor
Akio Imamura
Mitsuru Fukui
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 JP57199047A priority Critical patent/JPS5988795A/en
Publication of JPS5988795A publication Critical patent/JPS5988795A/en
Publication of JPH0436398B2 publication Critical patent/JPH0436398B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

(発明の分野) この発明は、鍵盤とメモリ手段とを備えこのメ
モリから順次読み出されるデータにしたがつて自
動演奏を実行する自動演奏機におけるテンポ制御
装置に関し、特に、この自動演奏のテンポを押鍵
のタイミングにしたがつて修正するとともにテン
ポ復帰スイツチの操作または前記メモリ手段から
読み出されるテンポ復帰データに基づいてその楽
曲本来のテンポに戻すようにした自動演奏機のテ
ンポ制御装置に関する。 (発明の背景) 従来の自動演奏機として、鍵盤とメモリ手段と
を備えこのメモリから順次読み出されるデータに
したがつてリズムや伴奏を自動演奏するとともに
鍵演奏に合せてこの自動演奏機のテンポを追従さ
せるようにしたものが知られている(例えば特開
昭57−5098号)。ところで、このような自動演奏
機においては、演奏の未然な人が鍵演奏を行なう
と、自動演奏のテンポが全くずれてしまい、次に
例えば熟練者が間奏を行なう場合など、演奏のテ
ンポを元のテンポ(標準テンポ)に戻そうとして
も中々元に戻らないという欠点があつた。 (発明の目的) この発明は、上述の従来形における問題点に鑑
みてなされたもので、自動演奏のテンポすなわち
鍵演奏のテンポ(模範テンポ)を実際の鍵演奏の
テンポに追従して逐次変更させていく自動演奏機
において、復帰信号を与えることによりこのテン
ポを直ちに進行中のフレーズに適当なテンポであ
る標準テンポに復帰できるようにした自動演奏機
のテンポ制御装置を提供することを目的とする。 (発明の構成) 上記目的を達成するためにこの発明では、自動
演奏のタイミングすなわち鍵演奏で押鍵すべきタ
イミングと実際の押鍵タイミングとのずれを検出
し、このずれ量に応じたテンポ修正データを発生
してテンポクロツク周波数制御用のテンポデータ
を修正することにより自動演奏機のテンポを鍵演
奏のテンポに追従させるとともに、テンポ復帰信
号発生器と楽曲の進行にしたがつた標準のテンポ
データを記憶する進行テンポレジスタとを設け、
テンポ復帰信号が発生したときは直ちに前記テン
ポクロツク周波数制御用のテンポデータを標準テ
ンポデータと入れ替えて自動演奏のテンポを標準
状態に戻すようにしている。 (実施例の全体構成説明) 以下、図面を用いてこの発明の実施例を説明す
る。第1図はこの発明の1実施例に係る自動演奏
機の構成を示す。同図の自動演奏機は、楽譜1に
形成された磁気ストライプ1aの記録データを楽
譜データ読取装置2で読み取り、この読取データ
に基づき、メロデイ音を演奏するために次に押下
すべき鍵を表示する押鍵案内表示機能、リズム音
を自動演奏するリズム音自動演奏機能、コード音
やベース音等の伴奏音を自動演奏する伴奏音自動
演奏機能、およびこれらのリズム音および伴奏音
をメロデイ音の演奏に追従させるテンポ追従機能
を備えた自動演奏機にこの発明を適用したもので
ある。 楽譜1に形成された磁気ストライプ1aには、
メロデイ音等鍵演奏すべき音の音高データ、符長
データ、楽曲の進行に従い進行中の各フレーズの
適切なテンポを示す標準テンポデータ、鍵演奏に
追従して変更されたテンポを前記標準テンポに戻
すためメロデイ音から間奏に移る直前等所望の箇
所に挿入されたテンポ復帰データおよび鍵演奏の
各押鍵の拍数を示す符長データ等の各データが記
録されている。 楽譜読取装置2は磁気ストライプ1aに記録さ
れたデータを読み取り、音高メモリ3および符長
メモリ4に送出するとともに磁気ストライプ1a
に記録されたデータの順序、またはこのデータと
ともに記録されている同期信号、ストローブ信号
もしくはアドレスデータ等に基づいて前記読取デ
ータが書き込まれるべきアドレスデータを発生す
る。 読出・書込制御回路5および6は、それぞれメ
モリ3および4へのデータ書込みおよびデータ読
出しを制御するもので、書込みの際は楽譜読取装
置2の出力するアドレスデータで指定されたアド
レス(メモリ3および4の別を含む)にこのアド
レスデータと同時に出力される読取データを書き
込み、また、読出の際は後述のステツプ信号が入
力する度にアドレスを歩進しながらそれぞれメモ
リ3および4からデータを読み出す。 メモリ3には楽譜読取装置2が磁気ストライプ
1aから読み取つたデータのうち音高データ、標
準テンポデータおよびテンポ復帰データが書き込
まれる。第1表はメモリ3内のデータ配列の1例
を示す。先頭アドレスにはその楽曲の初期テンポ
としての標準テンポ(絶対値)データTPA、続
いて音高データTN1,TN2,……、楽曲の途中
で標準テンポを変更するための標準テンポ(相対
値)データTPR1,TPR2,……および例えば間
奏の直前等所望の箇所に挿入されたテンポ復帰デ
ータRDが格納されている。これらの各データに
は、例えば各データの上位2ビツトを用いてその
データの種類が音高、テンポおよび復帰データの
いずれであるかを表わす識別マークID1,ID2,
……が付されている。
(Field of the Invention) The present invention relates to a tempo control device for an automatic musical instrument that includes a keyboard and a memory means and executes an automatic performance according to data sequentially read from the memory, and particularly relates to a tempo control device for an automatic musical performance machine that is equipped with a keyboard and a memory means and that executes an automatic performance according to data sequentially read from the memory. The present invention relates to a tempo control device for an automatic performance machine, which corrects the timing of a key and returns the original tempo of a piece of music based on the operation of a tempo return switch or tempo return data read from the memory means. (Background of the Invention) A conventional automatic performance machine is equipped with a keyboard and a memory means, and automatically plays rhythm and accompaniment according to data sequentially read from the memory, and also adjusts the tempo of the automatic performance machine in accordance with the key performance. There is a known device in which it is made to follow (for example, Japanese Patent Application Laid-Open No. 57-5098). By the way, in such an automatic performance machine, if a person who is new to playing plays the keys, the tempo of the automatic performance will be completely off. The problem was that even if you tried to return to the tempo (standard tempo), it would be difficult to return to the original tempo. (Object of the Invention) The present invention has been made in view of the problems in the conventional type described above, and the tempo of the automatic performance, that is, the tempo of the key performance (model tempo) is successively changed to follow the tempo of the actual key performance. An object of the present invention is to provide a tempo control device for an automatic musical instrument that is capable of immediately returning the tempo to a standard tempo that is appropriate for the phrase in progress by applying a return signal. do. (Structure of the Invention) In order to achieve the above object, the present invention detects a discrepancy between the timing of automatic performance, that is, the timing at which a key should be pressed during a key performance, and the actual key pressing timing, and adjusts the tempo according to the amount of this discrepancy. By generating data and modifying the tempo data for tempo clock frequency control, the tempo of the automatic musical instrument follows the tempo of the key performance, and the tempo return signal generator and standard tempo data that follow the progression of the song are generated. A progress tempo register is provided to store the progress.
When a tempo return signal is generated, the tempo data for controlling the tempo clock frequency is immediately replaced with standard tempo data to return the tempo of automatic performance to the standard state. (Explanation of overall configuration of embodiments) Examples of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an automatic musical instrument according to an embodiment of the present invention. The automatic performance machine shown in the figure reads recorded data of a magnetic stripe 1a formed on a musical score 1 with a musical score data reading device 2, and based on this read data, displays the next key to be pressed in order to play a melody note. A rhythm sound automatic play function that automatically plays rhythm sounds, an accompaniment sound automatic play function that automatically plays accompaniment sounds such as chord sounds and bass sounds, and a function that automatically plays accompaniment sounds such as chord sounds and bass sounds. The present invention is applied to an automatic musical instrument equipped with a tempo following function to follow the performance. On the magnetic stripe 1a formed on the musical score 1,
Pitch data for notes to be played on the key such as melody notes, note length data, standard tempo data indicating the appropriate tempo of each phrase in progress as the song progresses, and the tempo changed in accordance with the key playing as the standard tempo. Tempo return data inserted at a desired location, such as immediately before transition from melody to interlude, and note length data indicating the number of beats of each key press in a key performance are recorded. The music score reading device 2 reads the data recorded on the magnetic stripe 1a, sends it to the pitch memory 3 and note length memory 4, and also reads the data recorded on the magnetic stripe 1a.
The address data to which the read data is to be written is generated based on the order of the data recorded in the data or the synchronization signal, strobe signal, address data, etc. recorded together with this data. The read/write control circuits 5 and 6 control data writing and data reading into the memories 3 and 4, respectively, and when writing, the address specified by the address data output from the score reading device 2 (the memory 3 and 4), and write the read data that is output simultaneously with this address data, and when reading, read data from memories 3 and 4, respectively, while incrementing the address every time a step signal (described later) is input. read out. Of the data read from the magnetic stripe 1a by the score reading device 2, pitch data, standard tempo data, and tempo return data are written into the memory 3. Table 1 shows an example of the data arrangement within the memory 3. The first address contains standard tempo (absolute value) data TPA as the initial tempo of the song, followed by pitch data TN1, TN2, etc., and standard tempo (relative value) data for changing the standard tempo during the song. TPR1, TPR2, . . . and tempo return data RD inserted at a desired location, such as immediately before an interlude, are stored. Each of these data has identification marks ID1, ID2, ID2, etc., which use the upper two bits of each data to indicate whether the data type is pitch, tempo, or return data.
... is attached.

【表】【table】

【表】 なお、上述においては2番目以降の標準テンポ
データとして直前の標準テンポとの和または差を
表わす相対値を用いているがこれは鍵演奏に追従
するテンポ制御データを相対的に変更させないた
めと情報量を少なくするためで、これらのことを
考慮しないときは絶対値を用いてもよいことは勿
論である。 メモリ4には第2表に示すように符長データ
TL1,TL2,……が格納されている。これらの符
長データは
[Table] In the above, relative values representing the sum or difference from the previous standard tempo are used as the second and subsequent standard tempo data, but this does not relatively change the tempo control data that follows the key performance. Of course, absolute values may be used when these are not taken into account, in order to reduce the amount of information. Memory 4 stores note length data as shown in Table 2.
TL1, TL2, ... are stored. These note length data are

【表】 音高メモリ3に書き込まれた音高データと1音
符ごとに対応しており、音高データTNiと符長
データTLiとで楽譜上のi番目の音符が表わされ
る。なお、休符データは例えば全ビツト0の音高
データで表わしてもよく、また直前の音符の符長
データにこの付符の符長を合算して用いるように
してもよい。 この自動演奏機において、前述のように楽譜1
の磁気ストライプ1aに記録されたデータを楽譜
読取装置2で読み取つてメモリ3および4に書き
込んだ後、図示しないスタートストツプ制御回路
のスタートセツトスイツチをオンにすると、この
スタートストツプ制御回路は各カウンタ等を初期
セツトし、次にメモリ3および4から音符2ケ分
のデータを読み出し、最初の音符の音高データ
TN1をラツチ回路7に、かつ符長データTL1を
ラツチ回路8にラツチした後、メロデイ演奏鍵盤
9の押鍵を待機する。この状態では各レジスタお
よびラツチ回路10等は電源投入時のイニシヤラ
イズまたは前回のストツプ操作によつてクリアさ
れたままになつている。また、押鍵表示回路11
は音高データTN1に対応する鍵の表示ランプ
(図示せず)を点灯し、メモリ3および4はそれ
ぞれ音高データ(識別マークを含む)TN2およ
び符長データTL2を出力している。さらに、音高
データTN1およびTN2より前に読み出されたデ
ータ例えば標準テンポ(絶対値)データTPA等
はテンポ・復帰データ検出回路12を介してテン
ポ信号発生回路13内に設けられた進行テンポレ
ジスタ等に格納されている。 この状態で鍵盤9の表示ランプの点灯により示
された鍵を押下すると、鍵盤9は押下鍵を表わす
キーコードKCを発生する。楽音形成回路14は
このキーコードKCが示すメロデイ音に対応する
楽音信号を形成し、これをサウンドシステム15
に加え、メロデイ音として発音させる。 また、鍵盤9の発生するキーコードKCは押鍵
キー比較回路16に供給される。この比較回路1
6はこのキーコードKCとラツチ回路7にラツチ
されている音高データとを比較し、これらが一致
したとき、すなわち押鍵表示された鍵が押下され
たとき短いパルスの一致信号EQを発生する。こ
の一致信号EQはラツチ回路8にロード信号とし
て供給されるとともに読出・書込制御回路6にス
テツプ信号として供給される。従つてラツチ回路
8にはメモリ4の出力している符長データTL2が
ラツチされるとともに読出・書込制御回路6のア
ドレスカウンタが歩進されメモリ4は次の符長デ
ータTL3を出力する。 一致信号EQは、また、オア回路17を介して
アンド回路18の一方の入力端子および読出・書
込制御回路5のステツプ信号入力端子に供給され
る。アンド回路18の他方の入力端子にはメモリ
3の出力する各データの識別マークのうち音高デ
ータを表わす識別マークID2を検出して“1”を
出力する音高マーク検出回路19の出力端が接続
されている。そして、今、メモリ3は音高データ
TN2を出力しているからこの検出回路19の出
力は“1”である。従つて一致信号EQの発生と
ともにアンド回路18からラツチ回路7および1
0にロード信号が与えられ、ラツチ回路10はロ
ード信号すなわち一致信号EQの立ち上りでラツ
チ回路7の出力データTN1を取り込み、ロード
信号の立ち下りでこのデータTN1をラツチし、
出力する。ラツチ回路7も同様のタイミングでメ
モリ3の出力している音高データTN2をラツチ
する。また、読出・書込制御回路5内のアドレス
カウンタはオア回路17を介してステツプ信号と
して入力する一致信号EQによつて歩進され、メ
モリ3は次のデータTN3を出力する。 以上のようにして、一致信号EQが発生するた
びにメモリ3および4から音高データTNiおよ
び符長データTLiが順次読み出される。 なお、メモリ3から音高データ以外のデータが
読み出されたときは、テンポ・復帰データ検出回
路12がこれらのデータに付された識別マークに
よりデータの種類を判別し、音高データ以外のデ
ータを取り込むとともにデータの種類を示すテン
ポ絶対値信号ABT、テンポ相対値信号RLTおよ
び自動復帰信号ARのいずれかの信号と、メモリ
3の出力から識別マークを除去した読取データ
MTPを出力する。そして上記いずれかの信号が
“1”のときはオア回路21および17を介して
読出・書込制御回路5にステツプ信号“1”が与
えられアドレスカウンタはさらに歩進してメモリ
3から次のアドレスのデータを読み出す。すなわ
ち、制御回路5のアドレスカウンタは一致信号が
発生した後、次の音高データが読み出されるまで
歩進が繰り返され、この間各アドレスの標準テン
ポおよび復帰データ等を読み出しこれらのデータ
をテンポ・復帰データ検出回路12を介してテン
ポ信号発生回路13に供給するとともに押鍵待機
時メモリ3から次の音高データTNi+2が出力
されると停止する。またこの押鍵待機状態におい
て、ラツチ回路7は次に発音すべき音高データ
(次音高データ)TNi+1を、ラツチ回路10は
現在発音中の音高データ(現音高データ)TNi
を出力し、メモリ4は符長データTLi+2を、ラ
ツチ回路8は次符長データTLi+1を出力してい
る。 ゲート回路22は音高データに基づく発音をオ
ン・オフするもので、例えば発音セレクトスイツ
チ23と連動してこのスイツチ23がオンのとき
鍵盤9の押鍵によつてはキーオン信号のみを楽音
形成回路14に与えてラツチ回路10からの音高
データによるメロデイ音を発生させるとともに、
押鍵キー比較回路16も押鍵の一致不一致に拘ら
ずいずれかの鍵が押下されると一致信号EQを発
生させるようにすれば、楽譜1から読み取つた正
しい音高データのメロデイ演奏を所望の押鍵タイ
ミングに従つて行なうことができる。また、発音
セレクトスイツチ23がオフのときは押鍵表示回
路11によるランプ表示に従つた演奏者の鍵演奏
に基づいて楽音が発生する。 押鍵ずれ測定回路25はラツチ回路10のデー
タ取り込みと同期してラツチ回路8から取り込ま
れる現符長データTLiとテンポ信号発生回路13
の発生するテンポクロツクLCKとに基づいて定
まる次音高データTNi+1に対応する鍵を押鍵
すべきタイミングとこの鍵(TNi+1)の実際
の押鍵タイミングとのずれを検出し、このずれ量
(拍数)に応じたテンポ修正データ△TPを発生す
る。また、押鍵タイミングが押鍵すべきタイミン
グより遅れた場合は停止信号STPを発生する。 テンポ信号発生回路13は前述の最初の一致信
号EQが発生すると先ずスタート時に取り込んだ
標準テンポ(絶対値)データTPAに対応する周
波数のテンポクロツクLCKおよびTCKを発生す
る。以後このテンポデータは一致信号EQが発生
するたびに押鍵ずれ測定回路25からの修正デー
タに基づいて修正され、テンポクロツクLCK,
TCKの周波数すなわち模範テンポは鍵演奏のテ
ンポに追従させられる。また、この鍵演奏に追従
させられたテンポは、メモリ3から復帰データ
RDが読み出されてテンポ・復帰データ検出回路
12から自動復帰信号ARが与えられたとき、お
よび演奏者によつてイクスプレツシヨンスイツチ
等の復帰スイツチ26が操作されたとき、楽曲の
進行に従つて逐次更新されている標準テンポ(絶
対値換算)データと入れ替えられ、テンポクロツ
クLCK,TCKは直ちに楽曲のフレーズに適切な
テンポに対応する周波数に切り換えられる。 なお、テンポクロツクLCKは最初の一致信号
発生後、ストツプスイツチ(図示せず)等によつ
て自動演奏を終了するまで常時発生するテンポク
ロツクであり、テンポクロツクTCKはテンポク
ロツクLCKをさらに押鍵ずれ測定回路25から
の停止信号STPが発生したとき通過させないよ
うにしたものである。従つて、このテンポクロツ
クTCKによりパターンメモリ27からパターン
パルスを読み出すことによつて、押鍵タイミング
が遅れると停止信号STPによつてパターンパル
スの読出が停止し、このためリズム音等の自動演
奏と鍵演奏の一致を図ることができる。 リズム音源28および図示しない伴奏音形成回
路はテンポクロツクTCKによりパターンメモリ
27から読み出されるパターンパルスに基づいて
リズム音信号および和音やベース音等の伴奏音を
形成し、これをサウンドシステム15に与え、リ
ズム音および伴奏音として発音させる。 なお、このようにパターンパルスを発生する装
置、このパターンパルスに基づきコード音、ベー
ス音等の伴奏音を形成する装置およびリズム音を
形成する装置としては周知の種々のものを用いる
ことができるので詳細な構成説明についてはこの
明細書では省略する。 (押鍵ずれ測定回路25の詳細動作説明) 第2図は押鍵ずれ測定回路25の詳細ブロツク
図を示す。同図において、前述のように音高デー
タTN1に基づく押鍵表示に従つて最初の一致信
号EQ1が入力すると、ダウンカウンタ31はラツ
チ回路8(第1図)からプリセツトデータPSD
として供給される符長データTL1がプリセツトさ
れ、続いてテンポ信号発生回路13(第1図)か
らアンド回路32を介して与えられるテンポクロ
ツクLCKパルスをダウンカウントする。この押
鍵ずれ測定回路25においてはダウンカウンタ3
1の計数出力が0になるときが前記一致信号EQ1
発生後押鍵表示されている鍵(音高データTN2)
の押鍵すべきタイミングに設定されている。以下
第2音(TN2)の押鍵タイミングが前記押鍵す
べきタイミングに対して早い場合と、一致または
遅い場合とについて説明する。 (1) 押鍵タイミングが早い場合 押鍵タイミングが押鍵すべきタイミングより早
い場合は、第3図の一点鎖線で示すダウンカウン
タ31の計数出力が0になる前に第2音(TN2)
に対する一致信号EQ2が発生する。このとき、第
2図のオア回路33の出力は“1”であるから一
致信号EQ2=“1”が発生するとアンド回路34
が出力“1”を発生し、このためセレクタ35は
入力Aを選択する。このためセレクタ35はリミ
ツタ36を介して供給されるダウンカウンタ31
の計数出力をアドレス信号とする変換テーブル
ROM(リード・オンリ・メモリ)37の出力を
テンポ修正データ△TPとして出力する。変換
ROM37には第4図のグラフの右半分に相当す
る押鍵タイミングが早い場合の押鍵タイミングず
れ量すなわちダウンカウンタ31の計数出力に対
応するテンポ修正(加速)データがテーブルとし
て設けられている。また、変換テーブルROM3
8には第4図のグラフの左半分に相当するテーブ
ルが設けられており、このテーブルは押鍵タイミ
ングが遅い場合にアツプカウンタ39の計数出力
で参照されてテンポ修正(減速)データを出力す
る。第4図からもわかるようにROM37と38
のテーブルは異なるものを用いているが、これは
テンポの鍵演奏への追従性とテンポの安定性との
均衡を得るためで、押鍵タイミングが遅い場合は
停止信号STPを発生して自動演奏を停止させ自
動演奏と鍵演奏のタイミングの一致を図つている
ため、テンポ修正量を少なくしているのである。 なお、リミツタ36はダウンカウンタ31の計
数出力を制限し、押鍵タイミングが極端に早い場
合の計数出力を制限することによつてテンポデー
タが大巾に修正されることを防止し、誤押鍵等に
よるテンポの不安定の防止を図つている。 (2) 押鍵タイミングが一致した場合 ダウンカウンタ31に符長データTL1がプリセ
ツトされた後、押鍵すべきタイミング(第3図
to)に達するとカウンタ31の計数出力は0とな
り、オア回路33の出力は“0”になる。このた
めアンド回路32および34が非導通になる。従
つてダウンカウンタ31はクロツクパルスLCK
が供給されず、以後次の一致信号EQ3により符長
データTL2がプリセツトされるまで計数出力は0
で停止したままとなり、セレクタ35はインバー
タ41の出力により入力Bを選択されたままとな
る。この状態すなわち押鍵による一致信号EQ2が
発生すると、この押鍵ずれ測定回路25はアツプ
カウンタ39の計数出力0をアドレスとして
ROM38から読み出したテンポ修正データ△
TP=0を発生する。従つて、勿論この場合模範
テンポ(鍵演奏すべきテンポすなわち自動演奏の
テンポ)の修正は行なわれない。 (3) 押鍵タイミングが遅い場合 第3図toで示される押鍵すべきタイミングを経
過すると、前述のようにダウンカウンタ31は計
数を停止し、セレクタ35は入力Bすなわち
ROM38の出力を選択したままとなる。また、
オア回路33の出力が“0”であるため、インバ
ータ42から停止信号STP=“1”が発生し、こ
のため、自動演奏の進行が一致信号EQ2が発生す
るまで停止して鍵演奏のタイミングとの一致が図
られる。オア回路33の出力が“0”になると、
さらにアツプカウンタ39のリセツトが解除さ
れ、アツプカウンタ39はアンド回路43を介し
て供給されるクロツクパルスLCKをカウントし、
第3図点線で示される計数出力を発生する。この
計数出力でROM38をアドレスして得た第4図
のテンポ修正(減速)データ△TPはセレクタ3
5を介して出力され、テンポ信号発生回路13は
このデータ△TPのうち一致信号EQ2が発生した
ときのデータ△TPを取り込んでテンポの修正を
行なう。 最大値検知回路44はアツプカウンタ39の計
数出力が所定の値に達すると出力“1”を発生す
る。アンド回路43はこの出力をインバータ45
で反転した出力“0”によつて非導通にされ、こ
のためアツプカウンタ39はクロツクパルス
LCKの供給を停止されて前記所定値の計数出力
でカウントを停止する(第4図点線水平部)。こ
のようにアツプカウンタ39の最大計数値を制御
することにより、オーバーフロー後0から再カウ
ントすることによる誤まつた計数出力およびテン
ポ修正データ△TPの発生およびテンポが極端に
遅くなることを防止している。 なお、以上の動作説明においては最初および2
番目の音符の音高データTN1,TN2および最初
の符長データTL1について説明したが、以後の符
長データTLi等についても同様に押鍵ずれの測定
およびテンポ修正データ△TP等が送出される。 (テンポ信号発生回路13の詳細動作説明) 第5図はテンポ信号発生回路13の詳細ブロツ
ク図を示す。この自動演奏機において、楽譜1の
磁気ストライプ1aに記録されたデータを読み取
つてメモリ3,4に格納した後、図示しないスタ
ートセツトスイツチが押下され(第6図to)、音
高メモリ3の先頭アドレスに格納された最初の標
準テンポ(絶対値)データTPAが読出・書込制
御回路5によつて読み出されると、このデータ
TPAによつてテンポ・復帰データ検出回路12
はテンポ絶対値信号ABTと読出テンポデータ
MTPを発生する。第5図を参照して、この読出
テンポデータMTPは加算回路61の一方の端子
に入力されるが、ゲート回路62は信号RLT=
“0”によつて不能化されているため加算回路6
1の他方の端子の入力は0であるから加算回路6
1は読出テンポデータMTPをそのまま加算出力
として進行テンポレジスタ63の入力端子に供給
する。このときレジスタ63のロード入力端子に
は信号ABT=“1”がオア回路64を介して入力
しており、このため、レジスタ63には読出テン
ポデータMTPがそのまま標準テンポデータとし
て格納される(第6図一点鎖線)。また、信号
ABT=“1”は遅延回路65およびオア回路66
を介してセレクタ67にA入力選択信号として加
えられ、オア回路66の出力はさらにオア回路6
8を介してテンポ制御レジスタ69のロード入力
端子に加えられている。このため、レジスタ63
の出力する標準テンポデータはセレクタ67を介
してレジスタ69に格納される(第6図実線)。 分周比メモリ71はレジスタ69の出力する標
準テンポデータを分周比に変換し、テンポ発振器
72は所定のクロツクをこの分周比で分周した周
波数のテンポクロツクLCKを発生する。テンポ
クロツクTCKはこのテンポクロツクLCKをアン
ド回路73を介して出力したもので、このアンド
回路73を介して出力したもので、このアンド回
路73は一方の入力端子に押鍵ずれ測定回路25
の発生する停止信号STPをインバータ74を介
して加えることによりこの停止信号STPが“0”
のときクロツクLCKと同様のクロツクTCKを発
生し、停止信号STP=“1”が発生したときはク
ロツクTCKは出力されない。なお、このテンポ
発振器72は押鍵キー比較回路16(第1図)が
最初の一致信号EQ1を発生するまでは動作せず、
従つてリズムおよび伴奏の自動演奏は開始しな
い。これらの自動演奏は鍵演奏による最初の一致
信号EQ1と同期して開始される。 鍵演奏を開始後、押鍵ずれがあると、押鍵ずれ
測定回路25(第3図)から押鍵ずれ量に応じた
テンポ修正データ△TPが供給される。この修正
データ△TPは一致信号EQにより可能化されるゲ
ート回路79を介して加算回路76においてレジ
スタ69に格納されているテンポデータと加算さ
れる。この加算出力はスタートセツト時と後述の
復帰信号発生時以外はB入力を選択しているセレ
クタ67のB入力端子に加えられ、オア回路68
を介してレジスタ69のロード入力端子に加えら
れる一致信号EQによりレジスタ69の格納され
る。従つて、レジスタ69のテンポデータは一致
信号EQと同期して発生するテンポ修正データ△
TPにより修正され、この自動演奏のテンポは鍵
演奏のテンポに追従することになる。 メモリ3(第1図)からは鍵演奏に従つて音高
データが順次読み出されるが、楽曲の進行に従つ
て標準テンポが変わるところでは標準テンポ(相
対値)データTPRが読み出される(第6図t1,
t3)。すると、テンポ・復帰データ検出回路12
(第1図)はデータTPRをこのデータに付された
識別マークにより検出し、テンポ相対値信号
RLTと読出データMTP(=TPR)を発生する。
この読出データMTPはゲート回路80を介して
加算器76に加えられる。信号RTLはゲート回
路80を可能化すると共にオア回路68を介して
レジスタ69のロード入力端子に供給される。こ
れにより、標準テンポ(相対値)データTPRは
レジスタ69のテンポデータと加算され、新たな
テンポデータとしてレジスタ69に格納され自動
演奏のテンポは標準テンポ(相対値)データが発
生される毎に変更される。他方この読出データ
MTPは加算回路61の一方の入力端子に供給さ
れ、また、信号RLTはゲート回路62を可能化
するため、加算回路61の他方の入力端子にはレ
ジスタ63に格納されている今までの標準テンポ
データが供給される。さらに信号RLTはオア回
路64を介してレジスタ63にロード信号として
加えられる。このため、レジスタ63には今まで
の標準テンポデータに新たに読み出された標準テ
ンポ(相対値)データTPRを加算回路61で加
算したデータが新たに格納される。演奏中の新た
な標準テンポとして相対値データを用いたのは、
自動演奏のテンポを鍵演奏に追従したテンポを基
に変更するためであり、自動演奏のテンポを演奏
中相対信号RLTが到来しても変更しないように
する場合には演奏中の新たな標準テンポとして絶
対値データを利用することもできる。絶対値デー
タを利用した場合には相対値データを利用する場
合よりもデータ(ビツト数)が多くなることはも
ちろんである。また、絶対値を用いた場合はゲー
ト回路62は非導通となり、このため、レジスタ
63にはスタート時と同様読出データMTPがそ
のまま格納され、さらにレジスタ69にも標準テ
ンポデータが格納される(t2)。 メモリ3には音高データおよび標準テンポデー
タとともにメロデイ演奏から間奏に移る時点等所
望の箇所にテンポ復帰データRDが格納されてい
る。テンポ・復帰データ検出回路12はこの復帰
データRDがメモリ3から読み出されると(t4)
自動復帰信号ARを発生する。この信号ARは自
動演奏復帰モード選択用のセレクトスイツチ77
およびオア回路78を介してオア回路66に供給
される。従つてセレクトスイツチ77のオンを条
件としてオア回路66の出力は“1”となり、こ
のオア回路66の出力“1”はスタートセツト時
と同様、セレクタ67にA入力を選択する選択信
号として加えられるとともにオア回路67を介し
てレジスタ69にロード信号として加えられる。
これにより、レジスタ69にレジスタ63が格納
し出力する標準テンポデータがセレクタ67を介
してレジスタ69に取り込まれ、従つて自動演奏
のテンポは鍵演奏に追従させたテンポから楽曲本
来のテンポに戻ることとなる。 なお、標準テンポへの復帰は演奏者がテンポ復
帰スイツチ26を操作することによつても行なう
ことができる。この場合、演奏者が復帰スイツチ
26をオンさせるとオア回路78の第2の入力端
子に復帰信号RT=“1”が加えられオア回路7
8の出力が“1”となる。従つて前述の自動復帰
信号ARによる場合と同様にしてレジスタ63の
出力する標準テンポデータがレジスタ69に取り
込まれ、自動演奏のテンポは標準テンポに復帰す
る。 (発明の効果) 以上のようにこの発明によると楽譜の磁気スト
ライプ等に記録された押鍵すべきタイミングと鍵
演奏の押鍵タイミングとのずれを検出し、このず
れ量に応じて自動演奏のテンポを逐次修正するこ
とにより押鍵タイミングと自動演奏の発音タイミ
ングの一致を図ることができるとともに、前記磁
気ストライプ等に記録された楽曲の進行に従い進
行中のフレーズに適当なテンポすなわち標準テン
ポをレジスタに格納しておき、復帰信号を与える
ことにより自動演奏のテンポを直ちに標準テンポ
に戻すことができるようにしているため、自動演
奏のテンポが標準テンポから大巾にずれている場
合であつても直ちに標準テンポでかつ自動演奏に
よるリズム音または伴奏音と一致した演奏を行な
うことができる。
[Table] Each note corresponds to the pitch data written in the pitch memory 3, and the i-th note on the musical score is represented by pitch data TNi and note length data TLi. Note that the rest data may be represented by pitch data in which all bits are 0, for example, or the note length of this appended note may be added to the note length data of the immediately preceding note. In this automatic performance machine, as mentioned above, the musical score 1
After reading the data recorded on the magnetic stripe 1a with the music score reading device 2 and writing it into the memories 3 and 4, when the start set switch of the start/stop control circuit (not shown) is turned on, this start/stop control circuit After initially setting the counter, etc., read the data for two notes from memories 3 and 4, and read the pitch data of the first note.
After latching TN1 to the latch circuit 7 and latching the note length data TL1 to the latch circuit 8, the system waits for a key depression on the melody performance keyboard 9. In this state, each register, latch circuit 10, etc. remain cleared by initialization when the power is turned on or by the previous stop operation. In addition, the key press display circuit 11
lights up an indicator lamp (not shown) for the key corresponding to pitch data TN1, and memories 3 and 4 output pitch data (including identification marks) TN2 and note length data TL2, respectively. Further, data read out before the pitch data TN1 and TN2, such as standard tempo (absolute value) data TPA, etc., is sent to a progressive tempo register provided in the tempo signal generation circuit 13 via the tempo/return data detection circuit 12. It is stored in etc. In this state, when a key indicated by the lighting of the display lamp on the keyboard 9 is pressed, the keyboard 9 generates a key code KC representing the pressed key. The musical tone forming circuit 14 forms a musical tone signal corresponding to the melody tone indicated by this key code KC, and sends this to the sound system 15.
In addition to this, it is also pronounced as a melody sound. Further, the key code KC generated by the keyboard 9 is supplied to a depressed key comparison circuit 16. This comparison circuit 1
6 compares this key code KC with the pitch data latched in the latch circuit 7, and when they match, that is, when the displayed key is pressed, a short pulse matching signal EQ is generated. . This match signal EQ is supplied to the latch circuit 8 as a load signal and also to the read/write control circuit 6 as a step signal. Therefore, the code length data TL2 output from the memory 4 is latched in the latch circuit 8, the address counter of the read/write control circuit 6 is incremented, and the memory 4 outputs the next code length data TL3. The coincidence signal EQ is also supplied to one input terminal of the AND circuit 18 and the step signal input terminal of the read/write control circuit 5 via the OR circuit 17. The other input terminal of the AND circuit 18 is connected to the output terminal of a pitch mark detection circuit 19 that detects the identification mark ID2 representing pitch data among the identification marks of each data output from the memory 3 and outputs "1". It is connected. And now memory 3 is pitch data
Since it outputs TN2, the output of this detection circuit 19 is "1". Therefore, when the match signal EQ is generated, the AND circuit 18 outputs the latch circuits 7 and 1.
0, the latch circuit 10 takes in the output data TN1 of the latch circuit 7 at the rising edge of the load signal, that is, the coincidence signal EQ, and latches this data TN1 at the falling edge of the load signal.
Output. The latch circuit 7 also latches the pitch data TN2 output from the memory 3 at the same timing. Further, the address counter in the read/write control circuit 5 is incremented by the match signal EQ inputted as a step signal via the OR circuit 17, and the memory 3 outputs the next data TN3. As described above, pitch data TNi and note length data TLi are sequentially read out from memories 3 and 4 each time a coincidence signal EQ is generated. Note that when data other than pitch data is read from the memory 3, the tempo/return data detection circuit 12 determines the type of data based on the identification mark attached to these data, and reads data other than pitch data. reading data from which identification marks have been removed from the output of memory 3 and any of the tempo absolute value signal ABT, tempo relative value signal RLT, and automatic return signal AR that indicate the type of data.
Output MTP. When any of the above signals is "1", a step signal "1" is applied to the read/write control circuit 5 via the OR circuits 21 and 17, and the address counter further increments to read the next address from the memory 3. Read address data. That is, after a match signal is generated, the address counter of the control circuit 5 repeats increments until the next pitch data is read out. During this time, the standard tempo and return data of each address are read out and these data are used as the tempo and return data. It is supplied to the tempo signal generation circuit 13 via the data detection circuit 12, and stops when the next pitch data TNi+2 is output from the key press standby memory 3. In this key press standby state, the latch circuit 7 outputs the pitch data to be generated next (next pitch data) TNi+1, and the latch circuit 10 outputs the pitch data currently being generated (current pitch data) TNi.
The memory 4 outputs code length data TLi+2, and the latch circuit 8 outputs next code length data TLi+1. The gate circuit 22 turns on/off sound generation based on pitch data. For example, in conjunction with the sound generation select switch 23, when this switch 23 is on, depending on the key pressed on the keyboard 9, only the key-on signal is sent to the musical sound forming circuit. 14 to generate a melody sound based on the pitch data from the latch circuit 10,
If the pressed key comparison circuit 16 also generates a matching signal EQ when any key is pressed regardless of whether the pressed keys match or do not match, it is possible to perform the desired melody using the correct pitch data read from the musical score 1. This can be done according to key press timing. Furthermore, when the sound generation select switch 23 is off, musical tones are generated based on the player's key performance according to the lamp display by the key press display circuit 11. The key press deviation measuring circuit 25 receives the current note length data TLi taken in from the latch circuit 8 in synchronization with the data taking in the latch circuit 10, and the tempo signal generation circuit 13.
The difference between the timing at which the key corresponding to the next pitch data TNi+1, which is determined based on the tempo clock LCK generated by the ) generates tempo correction data △TP. Furthermore, if the key press timing is delayed from the key press timing, a stop signal STP is generated. When the first match signal EQ is generated, the tempo signal generating circuit 13 first generates tempo clocks LCK and TCK having a frequency corresponding to the standard tempo (absolute value) data TPA taken in at the start. Thereafter, this tempo data is corrected based on correction data from the key press deviation measuring circuit 25 every time a coincidence signal EQ is generated, and the tempo clock LCK,
The TCK frequency, that is, the model tempo, is made to follow the tempo of the key performance. In addition, the tempo that was made to follow this key performance is restored data from memory 3.
When the RD is read out and the automatic return signal AR is given from the tempo/return data detection circuit 12, and when the performer operates the return switch 26 such as an expression switch, the music progresses. Therefore, it is replaced with the standard tempo (absolute value conversion) data that is updated sequentially, and the tempo clocks LCK and TCK are immediately switched to a frequency corresponding to a tempo appropriate for the phrase of the song. Note that the tempo clock LCK is a tempo clock that is constantly generated after the first match signal is generated until the automatic performance is ended by a stop switch (not shown), etc., and the tempo clock TCK is a tempo clock that is generated by further adding the tempo clock LCK from the key press deviation measurement circuit 25. This prevents the signal from passing when the stop signal STP occurs. Therefore, when the pattern pulse is read out from the pattern memory 27 using the tempo clock TCK, if the key press timing is delayed, the readout of the pattern pulse is stopped by the stop signal STP. It is possible to achieve consistency in performance. The rhythm sound source 28 and an accompaniment sound forming circuit (not shown) form rhythm sound signals and accompaniment sounds such as chords and bass sounds based on pattern pulses read out from the pattern memory 27 by the tempo clock TCK, and provide these to the sound system 15 to generate rhythm sound signals. Pronounce it as a sound or an accompaniment sound. Note that various well-known devices can be used as the device for generating pattern pulses in this way, the device for forming accompaniment sounds such as chord tones and bass tones based on the pattern pulses, and the device for forming rhythm sounds. A detailed configuration description will be omitted in this specification. (Detailed Operational Description of Key Pressing Displacement Measuring Circuit 25) FIG. 2 shows a detailed block diagram of the key pressing deviation measuring circuit 25. As shown in FIG. In the figure, when the first coincidence signal EQ1 is input in accordance with the key press display based on the pitch data TN1 as described above, the down counter 31 receives the preset data PSD from the latch circuit 8 (Figure 1).
Then, the tempo clock LCK pulse applied from the tempo signal generating circuit 13 (FIG. 1) via the AND circuit 32 is counted down. In this key depression measuring circuit 25, the down counter 3
When the count output of 1 becomes 0, the coincidence signal EQ1
Keys displayed after the occurrence (pitch data TN2)
The key is set at the timing when the key should be pressed. Hereinafter, cases where the key press timing of the second tone (TN2) is earlier than the key press timing, and cases where the key press timing is coincident with or later than the key press timing will be explained. (1) When the key press timing is earlier If the key press timing is earlier than the key press timing, the second tone (TN2) is output before the counting output of the down counter 31, shown by the dashed line in FIG. 3, reaches 0.
A match signal EQ2 is generated. At this time, since the output of the OR circuit 33 in FIG. 2 is "1", when the match signal EQ2="1" is generated, the AND circuit
generates an output "1", so the selector 35 selects input A. Therefore, the selector 35 selects the down counter 31 supplied via the limiter 36.
Conversion table that uses count output as address signal
The output of the ROM (read only memory) 37 is output as tempo correction data ΔTP. conversion
The ROM 37 is provided with a table of tempo correction (acceleration) data corresponding to the key press timing shift amount when the key press timing is early, which corresponds to the right half of the graph in FIG. 4, that is, the count output of the down counter 31. Also, conversion table ROM3
8 is provided with a table corresponding to the left half of the graph in FIG. 4, and this table is referenced by the count output of the up counter 39 when the key press timing is late, and outputs tempo correction (deceleration) data. . As you can see from Figure 4, ROM37 and 38
A different table is used, but this is to achieve a balance between the ability to follow the tempo to the key performance and the stability of the tempo.If the key press timing is too late, a stop signal STP is generated and automatic playback is performed. The amount of tempo correction is reduced because the timing of the automatic performance and the key performance are made to match. Note that the limiter 36 limits the counting output of the down counter 31, and by limiting the counting output when the key press timing is extremely early, prevents the tempo data from being drastically modified, and prevents erroneous key presses. The aim is to prevent instability of the tempo due to such factors. (2) When the key press timings match After the note length data TL1 is preset in the down counter 31, the key press timings (Fig. 3)
to), the count output of the counter 31 becomes 0, and the output of the OR circuit 33 becomes "0". Therefore, AND circuits 32 and 34 become non-conductive. Therefore, the down counter 31 receives the clock pulse LCK.
is not supplied, and the counting output remains 0 until the next match signal EQ3 presets the note length data TL2.
The selector 35 continues to have input B selected by the output of the inverter 41. In this state, that is, when a coincidence signal EQ2 is generated due to the key press, the key press deviation measuring circuit 25 uses the count output 0 of the up counter 39 as an address.
Tempo correction data read from ROM38△
Generates TP=0. Therefore, of course, in this case, the model tempo (the tempo at which the keys should be played, that is, the tempo for automatic performance) is not corrected. (3) When the key press timing is late When the key press timing shown in FIG.
The output of ROM38 remains selected. Also,
Since the output of the OR circuit 33 is "0", the stop signal STP="1" is generated from the inverter 42, and therefore the progress of the automatic performance is stopped until the coincidence signal EQ2 is generated, and the timing of the key performance is adjusted. The goal is to achieve consistency. When the output of the OR circuit 33 becomes “0”,
Furthermore, the reset of the up counter 39 is released, and the up counter 39 counts the clock pulse LCK supplied via the AND circuit 43.
A counting output shown by the dotted line in FIG. 3 is generated. The tempo correction (deceleration) data △TP in Figure 4 obtained by addressing the ROM38 with this count output is selected by selector 3.
5, and the tempo signal generating circuit 13 takes in the data ΔTP when the matching signal EQ2 is generated from among the data ΔTP and corrects the tempo. The maximum value detection circuit 44 generates an output "1" when the count output of the up counter 39 reaches a predetermined value. The AND circuit 43 transfers this output to the inverter 45.
The up counter 39 is made non-conductive by the output "0" which is inverted by the clock pulse.
The supply of LCK is stopped and counting is stopped when the count output reaches the predetermined value (horizontal portion of the dotted line in FIG. 4). By controlling the maximum count value of the up counter 39 in this way, it is possible to prevent erroneous count output, generation of tempo correction data △TP, and extremely slow tempo due to re-counting from 0 after an overflow. There is. In addition, in the above operation explanation, the first and second
Although the pitch data TN1, TN2 of the th note and the first note length data TL1 have been described, key press deviation measurement and tempo correction data ΔTP are similarly sent for subsequent note length data TLi, etc. (Detailed Operational Description of Tempo Signal Generating Circuit 13) FIG. 5 shows a detailed block diagram of the tempo signal generating circuit 13. In this automatic performance machine, after reading the data recorded on the magnetic stripe 1a of the musical score 1 and storing it in the memories 3 and 4, a start set switch (not shown) is pressed (FIG. 6 to), and the beginning of the pitch memory 3 is pressed. When the first standard tempo (absolute value) data TPA stored at the address is read by the read/write control circuit 5, this data
Tempo/return data detection circuit 12 by TPA
is the tempo absolute value signal ABT and the read tempo data
Generate MTP. Referring to FIG. 5, this read tempo data MTP is input to one terminal of an adder circuit 61, but a gate circuit 62 receives a signal RLT=
Since it is disabled by “0”, the adder circuit 6
Since the input of the other terminal of 1 is 0, the adder circuit 6
1 supplies the read tempo data MTP as it is to the input terminal of the progressing tempo register 63 as an addition output. At this time, the signal ABT="1" is input to the load input terminal of the register 63 via the OR circuit 64, and therefore, the read tempo data MTP is stored in the register 63 as is as standard tempo data (No. (Dotted chain line in Figure 6). Also, the signal
ABT="1" means delay circuit 65 and OR circuit 66
The output of the OR circuit 66 is further applied to the selector 67 as an A input selection signal.
8 to the load input terminal of the tempo control register 69. Therefore, register 63
The standard tempo data output by is stored in the register 69 via the selector 67 (solid line in FIG. 6). A frequency division ratio memory 71 converts the standard tempo data output from the register 69 into a frequency division ratio, and a tempo oscillator 72 generates a tempo clock LCK having a frequency obtained by dividing a predetermined clock by this frequency division ratio. The tempo clock TCK is the tempo clock LCK outputted via an AND circuit 73.The AND circuit 73 has one input terminal connected to the key press deviation measurement circuit 25.
By applying the stop signal STP generated by the inverter 74, this stop signal STP becomes "0".
When this occurs, a clock TCK similar to the clock LCK is generated, and when a stop signal STP="1" is generated, the clock TCK is not output. Note that this tempo oscillator 72 does not operate until the pressed key comparison circuit 16 (FIG. 1) generates the first matching signal EQ1.
Therefore, automatic performance of rhythm and accompaniment does not start. These automatic performances are started in synchronization with the first coincidence signal EQ1 from the key performance. If there is a key press deviation after the start of key performance, the key press deviation measurement circuit 25 (FIG. 3) supplies tempo correction data ΔTP corresponding to the key press deviation amount. This modified data ΔTP is added to the tempo data stored in the register 69 in the adder circuit 76 via the gate circuit 79 enabled by the coincidence signal EQ. This addition output is applied to the B input terminal of the selector 67, which selects the B input except during start set and when a return signal is generated, which will be described later.
A match signal EQ applied to the load input terminal of the register 69 via the register 69 causes the register 69 to be stored. Therefore, the tempo data in the register 69 is the tempo correction data △ generated in synchronization with the coincidence signal EQ.
Modified by TP, the tempo of this automatic performance will follow the tempo of the key performance. Pitch data is read out sequentially from the memory 3 (Figure 1) as the keys are played, but where the standard tempo changes as the song progresses, standard tempo (relative value) data TPR is read out (Figure 6). t1,
t3). Then, the tempo/return data detection circuit 12
(Fig. 1) detects the data TPR by the identification mark attached to this data and generates a tempo relative value signal.
Generates RLT and read data MTP (=TPR).
This read data MTP is applied to adder 76 via gate circuit 80. Signal RTL enables gate circuit 80 and is applied via OR circuit 68 to the load input terminal of register 69. As a result, the standard tempo (relative value) data TPR is added to the tempo data in register 69 and stored in register 69 as new tempo data, and the tempo of automatic performance is changed every time standard tempo (relative value) data is generated. be done. On the other hand, this read data
MTP is supplied to one input terminal of the adder circuit 61, and since the signal RLT enables the gate circuit 62, the other input terminal of the adder circuit 61 is supplied with the conventional standard tempo stored in the register 63. Data is supplied. Furthermore, the signal RLT is applied to the register 63 via the OR circuit 64 as a load signal. Therefore, data obtained by adding the newly read standard tempo (relative value) data TPR to the previous standard tempo data by the adder circuit 61 is newly stored in the register 63. The reason for using relative value data as a new standard tempo during performance is
This is to change the tempo of automatic performance based on the tempo that follows the key performance, and if you want to prevent the tempo of automatic performance from changing even if the relative signal RLT arrives during performance, change the new standard tempo during performance. Absolute value data can also be used as Of course, when absolute value data is used, the amount of data (number of bits) is larger than when relative value data is used. Furthermore, when the absolute value is used, the gate circuit 62 becomes non-conductive, so the read data MTP is stored as is in the register 63 as at the start, and the standard tempo data is also stored in the register 69 (t2 ). In the memory 3, tempo return data RD is stored together with pitch data and standard tempo data at a desired location, such as at the time of transition from melody performance to interlude. When the tempo/return data detection circuit 12 reads out this return data RD from the memory 3 (t4)
Generate automatic return signal AR. This signal AR is the select switch 77 for selecting automatic performance return mode.
and is supplied to the OR circuit 66 via the OR circuit 78. Therefore, under the condition that the select switch 77 is turned on, the output of the OR circuit 66 becomes "1", and the output "1" of the OR circuit 66 is applied to the selector 67 as a selection signal to select the A input, as in the start setting. It is also applied to the register 69 via the OR circuit 67 as a load signal.
As a result, the standard tempo data stored and output by the register 63 is loaded into the register 69 via the selector 67, and the tempo of automatic performance returns from the tempo that followed the key performance to the original tempo of the song. becomes. Note that the return to the standard tempo can also be performed by the player operating the tempo return switch 26. In this case, when the performer turns on the return switch 26, the return signal RT="1" is applied to the second input terminal of the OR circuit 78.
The output of 8 becomes "1". Therefore, the standard tempo data output from the register 63 is taken into the register 69 in the same manner as in the case of the automatic return signal AR described above, and the tempo of the automatic performance is returned to the standard tempo. (Effects of the Invention) As described above, according to the present invention, the discrepancy between the key pressing timing recorded on the magnetic stripe of the musical score and the key pressing timing of the key performance is detected, and automatic performance is performed according to the amount of discrepancy. By successively correcting the tempo, it is possible to match the timing of key presses and the timing of automatic performance, and also to register an appropriate tempo, that is, a standard tempo, for the ongoing phrase according to the progress of the music recorded on the magnetic stripe, etc. Since the tempo of automatic performance can be immediately returned to the standard tempo by giving a return signal, even if the tempo of automatic performance deviates by a wide range from the standard tempo, It is possible to immediately perform a performance at a standard tempo and in accordance with automatically performed rhythm tones or accompaniment tones.

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

第1図はこの発明の1実施例に係る自動演奏機
のブロツク構成図、第2図は第1図の演奏機にお
ける押鍵ずれ検出回路の詳細ブロツク構成図、第
3図は第2図の回路におけるカウンタの動作を説
明するためのタイムチヤート、第4図は第2図の
回路におけるROMの入出力の関係を示すグラ
フ、第5図は第1図の演奏機におけるテンポ信号
発生回路の詳細ブロツク構成図、そして第6図は
第5図の回路における進行レジスタおよびテンポ
制御レジスタの動作説明のためのタイムチヤート
である。 1……楽譜、1a……磁気ストライプ、2……
楽譜データ読取装置、3……音高データメモリ、
4……符長データメモリ、5,6……読出・書込
制御回路、7,8,10……ラツチ回路、9……
鍵盤、11……押鍵表示回路、12……テンポ・
復帰データ検出回路、13……テンポ信号発生回
路、14……楽音形成回路、15……サウンドシ
ステム、16……押鍵キー比較回路、19……音
高マーク検出回路、25……押鍵ずれ測定回路、
26……復帰スイツチ、27……パターンメモ
リ、28……リズム音源、31……ダウンカウン
タ、35……セレクタ、37,38……ROM、
39……アツプカウンタ、63……進行レジス
タ、71……分周比メモリ、72……テンポ発振
器、77……セレクトスイツチ、78……オア回
路。
FIG. 1 is a block diagram of an automatic musical instrument according to an embodiment of the present invention, FIG. 2 is a detailed block diagram of a key depression detection circuit in the musical instrument of FIG. 1, and FIG. A time chart to explain the operation of the counter in the circuit, Figure 4 is a graph showing the relationship between input and output of the ROM in the circuit of Figure 2, and Figure 5 is a detailed diagram of the tempo signal generation circuit in the musical instrument of Figure 1. FIG. 6 is a block diagram and a time chart for explaining the operations of the progress register and tempo control register in the circuit of FIG. 1... Sheet music, 1a... Magnetic stripe, 2...
Musical score data reading device, 3...pitch data memory,
4... Sign length data memory, 5, 6... Read/write control circuit, 7, 8, 10... Latch circuit, 9...
Keyboard, 11...key press display circuit, 12...tempo/
Return data detection circuit, 13... Tempo signal generation circuit, 14... Musical tone forming circuit, 15... Sound system, 16... Key press key comparison circuit, 19... Pitch mark detection circuit, 25... Key press deviation measurement circuit,
26... Return switch, 27... Pattern memory, 28... Rhythm sound source, 31... Down counter, 35... Selector, 37, 38... ROM,
39...up counter, 63...progress register, 71...dividing ratio memory, 72...tempo oscillator, 77...select switch, 78...OR circuit.

Claims (1)

【特許請求の範囲】 1 鍵盤と、少なくとも押鍵すべきタイミングの
データと楽曲の進行に従つた標準テンポのデータ
とを含む楽曲データが格納されたメモリ手段を備
え、このメモリ手段から順次読み出されるデータ
に従つて自動演奏を実行する自動演奏機のテンポ
制御装置であつて、前記鍵盤における押鍵タイミ
ングと前記押鍵すべきタイミングとのずれを検出
する押鍵ずれ検出手段と、前記メモリ手段から順
次読み出されるデータ中の最新の標準テンポデー
タを取り込む進行テンポレジスタと、テンポ復帰
信号発生器と、演奏開始時およびテンポ復帰信号
発生時は前記進行テンポレジスタから前記標準テ
ンポデータを取り込むとともに演奏中は前記押鍵
ずれ検出手段の出力に基づき押鍵タイミングに追
従したテンポデータが格納されるテンポ制御レジ
スタと、このテンポ制御レジスタに格納されたテ
ンポデータの対応する周期でテンポクロツクを発
生するテンポ発振器とを具備することを特徴とす
るテンポ制御装置。 2 前記テンポ復帰信号発生器は操作スイツチを
含み、このスイツチが操作されたことを検出して
前記テンポ復帰信号を発生する特許請求の範囲第
1項記載のテンポ制御装置。 3 前記楽曲データはテンポ復帰データを含み、
前記テンポ復帰信号発生器は前記テンポ復帰信号
をこの楽曲データ中のテンポ復帰データより作成
する特許請求の範囲第1項記載のテンポ制御装
置。
[Scope of Claims] 1. A keyboard, and a memory means in which music data including at least key press timing data and standard tempo data according to the progress of the music is stored, and is sequentially read out from the memory means. A tempo control device for an automatic musical instrument that performs an automatic performance according to data, the device comprising: a key press deviation detection means for detecting a deviation between a key press timing on the keyboard and the key press timing; a progressing tempo register that takes in the latest standard tempo data among the data read out sequentially; a tempo return signal generator; A tempo control register that stores tempo data that follows the key press timing based on the output of the key press deviation detection means, and a tempo oscillator that generates a tempo clock at a cycle corresponding to the tempo data stored in the tempo control register. A tempo control device comprising: 2. The tempo control device according to claim 1, wherein the tempo return signal generator includes an operation switch, and generates the tempo return signal upon detecting that the switch is operated. 3. The music data includes tempo return data,
2. The tempo control device according to claim 1, wherein said tempo return signal generator generates said tempo return signal from tempo return data in this music data.
JP57199047A 1982-11-15 1982-11-15 Tempo controller for automatically performing machine Granted JPS5988795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57199047A JPS5988795A (en) 1982-11-15 1982-11-15 Tempo controller for automatically performing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57199047A JPS5988795A (en) 1982-11-15 1982-11-15 Tempo controller for automatically performing machine

Publications (2)

Publication Number Publication Date
JPS5988795A JPS5988795A (en) 1984-05-22
JPH0436398B2 true JPH0436398B2 (en) 1992-06-16

Family

ID=16401224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57199047A Granted JPS5988795A (en) 1982-11-15 1982-11-15 Tempo controller for automatically performing machine

Country Status (1)

Country Link
JP (1) JPS5988795A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2653232B2 (en) * 1990-09-25 1997-09-17 ヤマハ株式会社 Tempo controller
JP3080261B2 (en) * 1992-03-18 2000-08-21 ヤマハ株式会社 Automatic performance device
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument

Also Published As

Publication number Publication date
JPS5988795A (en) 1984-05-22

Similar Documents

Publication Publication Date Title
US5164531A (en) Automatic accompaniment device
JPH0356633B2 (en)
JPH05188956A (en) Electronic musical instrument with automatic playing function
JPH0436398B2 (en)
JP2650591B2 (en) Automatic accompaniment device
JPH0631977B2 (en) Electronic musical instrument
JPS6023352B2 (en) electronic musical instruments
JPH0367276B2 (en)
JPH0257319B2 (en)
JPS648832B2 (en)
JP2518356B2 (en) Automatic accompaniment device
JPS5999493A (en) Tempo controller for automatic performance
JPH0527752A (en) Automatic playing device
JPS5990895A (en) Tempo controller for automatically performing machine
JP2636393B2 (en) Automatic performance device
JPH0423280B2 (en)
JPS6344228B2 (en)
JPH0434756B2 (en)
JPH02304599A (en) Electronic musical instrument
JPH0428119B2 (en)
JPH0343638B2 (en)
JPH0434755B2 (en)
JP2674331B2 (en) Automatic accompaniment device
JPS62135894A (en) Automatic accompanying apparatus
JPS5824193A (en) Electronic musical instrument