JPH0432397B2 - - Google Patents
Info
- Publication number
- JPH0432397B2 JPH0432397B2 JP57055877A JP5587782A JPH0432397B2 JP H0432397 B2 JPH0432397 B2 JP H0432397B2 JP 57055877 A JP57055877 A JP 57055877A JP 5587782 A JP5587782 A JP 5587782A JP H0432397 B2 JPH0432397 B2 JP H0432397B2
- Authority
- JP
- Japan
- Prior art keywords
- tempo
- signal
- circuit
- timing
- 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 - Lifetime
Links
- 230000033764 rhythmic process Effects 0.000 claims description 22
- 230000010355 oscillation Effects 0.000 claims 2
- 238000001514 detection method Methods 0.000 description 12
- 230000003111 delayed effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 4
- 230000004069 differentiation Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 229930101283 tetracycline Natural products 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
この発明は鍵等の操作タイミングに対応して自
動演奏の進行を修正するとともに、テンポ設定が
容易な自動演奏装置に関する。
従来の自動演奏装置は、楽譜データの読み出し
に基づきメロデイ音、オブリガード音、ベース
音、コード音およびリズム音を自動演奏するも
の、或いはこれらを適宜組み合わせて自動演奏す
るものがあるが、いずれも最初にテンポを設定し
てスタートさせてしまうとこの初期テンポが最後
まで維持されて自動演奏が行なわれる。
したがつて、かかる自動演奏装置からの自動演
奏にしたがつて押鍵による演奏を行なう場合、自
動演奏は難しい演奏箇所もやさしい演奏箇所も常
に一定のテンポで進行するため、初心者にとつて
は押鍵タイミングと自動演奏とがずれ、鍵盤での
押鍵練習に支障をきたしていた。
また、自動演奏のテンポの設定はテンポ調整用
ボリユーム等の操作によつて行なわれるが、イメ
ージに合つたテンポの設定は例えば自動リズム音
を実際に発音させながらテンポ調整用ボリユーム
を操作しなければならず、テンポ設定に時間を要
するとともにむだな自動演奏が必要であつた。
この発明は上記実情に鑑みてなされたもので、
押鍵操作すべきタイミングに対し演奏者の押鍵操
作タイミングが違れた場合には自動演奏を一時停
止することにより鍵盤演奏と自動演奏との進行一
致を図り、またテンポの設定、変更が容易にでき
る自動演奏装置を提供することを目的とする。
この発明によれば、テンポ設定スイツチにおけ
る押圧タイミングに関連して自動演奏を進めるテ
ンポクロツクを発生するようにし、また操作すべ
きタイミングと操作タイミングとを比較し、操作
すべきタイミングに対し操作タイミングが遅いと
きは操作すべきタイミングから操作タイミングま
での間前記テンポクロツクの発生を禁止して自動
演奏の進行を一時停止するようにしている。
以下、この発明を添付図面を参照して詳細に説
明する。
第1図は、楽譜1に形成された磁気テープ1a
の記録データをデータ読取装置2で読み取り、こ
の読取データに基づきメロデイ音を自動演奏する
メロデイ音自動演奏機能およびオブリガード音を
自動演奏するオブリガード音自動演奏機能を有す
るとともに、伴奏用鍵盤3での押鍵に基づき自動
コード音、自動ベース音等の伴奏音を形成し、こ
の伴奏音を自動演奏する伴奏音自動演奏機能およ
び適宜手段によつて指定されたリズムに対応する
リズム音を自動演奏するリズム音自動演奏機能を
具えた電子楽器にこの発明を適用した一実施例を
示したものである。また、この電子楽器はメロデ
イ演奏練習のためにデータ読取装置2で読み取つ
たデータに基づき次に押下すべきメロデイ用鍵盤
4の鍵の表示を行なう鍵表示機能も有している。
データ読取装置2は楽譜1の磁気テープ1aか
らオブリガード演奏およびメロデイ演奏に対応す
るオブリガードデータおよびメロデイデータを読
み取り、この読取データをそれぞれオブリガード
データメモリ5およびメロデイデータメモリ6に
転送する。なお、データ読取時にはデータ書込読
出制御回路7および8はそれぞれ書込みモードに
なり、各メモリ5および6の書込アドレスを指定
してオブリガードデータおよびメロデイデータを
各メモリ5および6に書き込む。
ここで、オブリガードデータおよびメロデイデ
ータに対応するデータフオーマツトの一例を示す
と第1表のようになる。
The present invention relates to an automatic performance device that corrects the progress of an automatic performance in accordance with the timing of key operation and that allows easy tempo setting. Conventional automatic performance devices include those that automatically play melody sounds, obbligato sounds, bass sounds, chord sounds, and rhythm sounds based on reading musical score data, or those that automatically play a combination of these as appropriate. When you first set a tempo and start playing, this initial tempo is maintained until the end and automatic performance is performed. Therefore, when playing by pressing the keys in accordance with the automatic performance from such an automatic performance device, automatic performance always progresses at a constant tempo for both difficult and easy performance parts, making it difficult for beginners to perform. The key timing and automatic performance were out of sync, causing problems in practicing keystrokes on the keyboard. Furthermore, the tempo of automatic performance is set by operating the tempo adjustment volume, etc., but in order to set the tempo that matches the image, for example, you must operate the tempo adjustment volume while actually playing the automatic rhythm sound. However, it took time to set the tempo, and unnecessary automatic performance was required. This invention was made in view of the above circumstances.
If the timing of the performer's key presses is different from the timing when the keys should be pressed, the automatic performance is paused to ensure that the progress of the keyboard performance matches the automatic performance, and the tempo can be easily set and changed. The purpose of the present invention is to provide an automatic performance device that can perform the following functions. According to this invention, a tempo clock is generated to advance the automatic performance in relation to the timing at which the tempo setting switch is pressed, and the timing at which the operation should be performed is compared with the timing at which the operation should be performed. In this case, the generation of the tempo clock is prohibited from the timing of the operation to the timing of the operation, and the progress of the automatic performance is temporarily stopped. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 shows a magnetic tape 1a formed on a musical score 1.
The data reading device 2 reads the recorded data, and the accompaniment keyboard 3 has an automatic melody sound performance function that automatically plays melody sounds based on this read data, and an automatic obbligato sound performance function that automatically plays obbligado sounds. Accompaniment tone automatic performance function that forms accompaniment tones such as automatic chord tones and automatic bass tones based on key presses and automatically plays these accompaniment tones, and automatically plays rhythm tones corresponding to the rhythm specified by appropriate means. This figure shows an embodiment in which the present invention is applied to an electronic musical instrument equipped with an automatic rhythm tone performance function. This electronic musical instrument also has a key display function that displays the next key to be pressed on the melody keyboard 4 based on the data read by the data reading device 2 for melody performance practice. The data reading device 2 reads obbligado data and melody data corresponding to an obbligado performance and a melody performance from the magnetic tape 1a of the musical score 1, and transfers the read data to an obbligado data memory 5 and a melody data memory 6, respectively. Note that when reading data, the data write/read control circuits 7 and 8 each enter a write mode, designate the write address of each memory 5 and 6, and write obligate data and melody data to each memory 5 and 6. Here, Table 1 shows an example of the data format corresponding to the obligate data and melody data.
【表】
すなわち各データDi(i=1…n)は音高デー
タTL1および符長データTL2からなり、音高デ
ータTL1は例えばノートを示す4ビツトのノー
トコードNCおよびオクターブを示す3ビツトの
オクターブコードOCの計7ビツトのデータから
構成され、符長データは例えば8ビツトのデータ
から構成される。符長データの一例を示すと第2
表のようになる。[Table] That is, each data Di (i=1...n) consists of pitch data TL1 and note length data TL2, and pitch data TL1 is, for example, a 4-bit note code NC indicating a note and a 3-bit octave indicating an octave. The code OC is composed of a total of 7 bits of data, and the code length data is composed of, for example, 8 bits of data. An example of note length data is the second
It will look like a table.
【表】
また休符は音高データの各ビツトを全て“0”
にすることにより表わされ、データの終了を示す
終了データDnは音高データTL1および符長デー
タTL2の各ビツトを全て“1”にすることによ
つて表わされる。
オブリガードデータメモリ5およびメロデイデ
ータメモリ6からの各データの読み出しはそれぞ
れデータ書込読出制御回路7および8によつて行
なわれる。
まず、自動演奏を開始する場合は、スタートス
イツチ9をオンにし、待機用フリツプフロツプ
FF1をセツトするとともに、演奏用フリツプフ
ロツプFF2をリセツトする。待機用フリツプフ
ロツプFF1がセツトされると、その出力端子Q
から信号“1”が微分回路10およびデイレイフ
リツプフロツプDF1に加えられる。これにより
微分回路10はプリセツト信号△PR(1発のパル
ス)を出力し、デイレイフリツプフロツプDF1
はこの信号“1”を所定時間遅延したのちアンド
回路A1に加えアンド回路A1を動作可能にす
る。
プリセツト信号△PRはデータ書込読出制御回
路7および8に加わり、各回路7および8を読出
モードにするとともに、その内部のアドレスカウ
ンタをイニシヤルの番地にする。これにより、オ
ブリガードデータメモリ5およびメロデイデータ
メモリ6からは記憶された最初のデータが読み出
される。また、プリセツト信号△PRはオア回路
OR1およびOR2を介してラツチ回路L1,L
2およびL3,L4の各ロード端子LDに加えら
れるため、ラツチ回路L1は最初のオブリガード
データを、ラツチ回路L3は最初のメロデイデー
タをラツチする。
一方、演奏用フリツプフロツプFF2はリセツ
トされているため、プレイ信号PL(“1”)を出力
せず、信号“0”をインバータIN1〜IN5に加
える。インバータIN1は信号“0”を反転し、
信号“1”オア回路OR3を介して符長カウンタ
11のリセツト端子Rに加え、同様にインバータ
IN2は信号“0”を反転し、信号“1”をオア
回路OR4を介して符長カウンタ11のリセツト
端子Rに加え、またインバータIN3およびIN4
はそれぞれ信号“0”を反転し、信号“1”をオ
ア回路OR5およびOR6を介してフリツプフロ
ツプFF3およびFF4の各リセツト端子Rに加
え、またインバータIN5は信号“0”を反転し、
信号“1”をアドレスカウンタ13に加えてい
る。したがつて、演奏用フリツプフロツプFF2
がリセツトされていると、符長カウンタ11およ
び12、フリツプフロツプFF3およびFF4、ア
ドレスカウンタ13は全てリセツトされる。
また、前記ラツチ回路L3でラツチされたメロ
デイデータのうち音高データTL1は鍵表示装置
14、比較器15および休符検出回路16に加え
られ、鍵表示装置14はメロデイ演奏の第1音の
鍵(最初に押下すべき鍵)をその鍵に配設された
表示ランプを点灯することにより表示する。
この状態で、メロデイ用鍵盤4の表示ランプが
点灯している鍵を押下すると、この押下鍵を示す
キーコードKC(4ビツトのノードコートNCおよ
び3ビツトのオクターブコードOCから構成され
る)が出力される。このキーコードKCはメロデ
イ音形成回路17に加えられる。メロデイ音形成
回路17はこのキーコードKCが示すメロデイ音
に対応する楽音信号を形成し、これを増幅器18
を介してスピーカ19に加え、メロデイ音として
発音させる。
また、メロデイ用鍵盤4から出力されるキーコ
ードKCは比較器15のB入力に加えられる。比
較器15は、A入力にラツチ回路L3にラツチさ
れたデータのうち音高データTL1が加えられて
おり、このA入力に加えられる音高データTL1
(押下すべき音を示す)とB入力に加えられるキ
ーコードKC(押下した音を示す)が一致すると、
一致端子EQより一致信号を出力する。この一致
信号はアンド回路A2に加えられる。アンド回路
A2は、他の入力にメロデイ用鍵盤3から出力さ
れるキーコードKCのオア条件をとるオア回路
OR7から出力されるエニイキーオン信号AKON
(いずれかの鍵が押下されると“1”となる信号)
を微分回路20で微分した信号が加えられてお
り、表示ランプが点灯している鍵を押下したとい
う条件で、鍵の押下に同期したパルス(押鍵一致
信号)KEQを出力する。この押鍵一致信号KEQ
はセレクトスイツチ2を介してアンド回路A3,
A4,A5に加えられるとともに、アンド回路A
1およびオア回路OR8を介して待機用フリツプ
フロツプFF1のリセツト端子Rに加えられる。
アンド回路A1はデイレイフリツプフロツプ
DF1によつて動作可能になつているため、押鍵
一致信号KEQの入力によりパルス信号△PLを出
力し、またこのパルス信号△PLを演奏用フリツ
プフロツプFF2のセツト端子Sに加える。演奏
用フリツプフロツプFF2はこのパルス信号△PL
によつてセツトされ、プレイ信号PLを出力する。
一方、待機用フリツプフロツプFF1はリセツト
され、以後アンド回路A1を不動作にする。
アンド回路A1から出力されるパルス信号△
PLはそれぞれオア回路OR9およびOR10を介
してデータ書込読出制御回路7および8に加わ
り、その内部のアドレスカウンタを1ステツプ進
める。これにより、オブリガードデータメモリ5
およびメロデイデータメモリ6からは2番目のデ
ータが読み出される。また、パルス信号△PLは
オア回路OR9,OR1を介してラツチ回路L1
およびL2のロード端子LDに加わるため、ラツ
チ回路L1は2番目に読み出されたオブリガード
データをラツチし、ラツチ回路L2はラツチ回路
L1でラツチされた最初のオブリガードデータを
ラツチする。同様にパルス信号△PLはオア回路
OR10,OR2を介してラツチ回路L3及びL
4のロード端子LDに加わるため、ラツチ回路L
3は2番目に読み出されたメロデイデータをラツ
チし、ラツチ回路L4はラツチ回路L3でラツチ
された最初のメロデイデータをラツチする。
ラツチ回路L2でラツチされたオブリガードデ
ータは終了検出回路22に加えられるとともに、
オブリガードデータのうち音高データTL1はオ
ブリガード音形成回路23に加えられ、符長デー
タTL2は比較器24のA入力に加えられる。終
了検出回路22はオブリガードデータ(音高デー
タTL1+符長データTL2)の各ビツトが全て
“1”のときデータの終了を検出し、終了信号
F1Nを出力する。この終了信号F1Nはそれぞれ
オア回路OR8およびOR11を介して待機用フ
リツプフロツプFF1および演奏用フリツプフロ
ツプFF2のリセツト端子Rに加わり、待機用フ
リツプフロツプFF1および演奏用フリツプフロ
ツプFF2をリセツトする。これにより自動演奏
は終了する。オブリガード音形成回路23は入力
する音高データTL1が示すオブリガード音に対
応する楽音信号を形成し、これを増幅器18を介
してスピーカ19に加え、オブリガード音として
発音させる。
ラツチ回路L3でラツチされた2番目のメロデ
イデータのうち音高データTL1は鍵表示装置1
4に加えられ、鍵表示装置14はメロデイ演奏の
第2音の鍵を点灯表示する。なお、この点灯表示
は前述の場合と同様にして行なわれる。
また、ラツチ回路L4でラツチされた最初のメ
ロデイデータのうち音高データTL1はメロデイ
音形成回路25に加えられ、符長データTL2は
比較器26のA入力に加えられる。メロデイ音形
成回路25は入力する音高データTL1が示すメ
ロデイ音に対応する楽音信号を形成し、これを増
幅器18を介してスピーカ19に加え、自動メロ
デイ音として発音させる。なお、メロデイ用鍵盤
4での押鍵に基づいてメロデイ音形成回路17に
加えられるキーコードKCと、この押鍵に基づい
てラツチ回路L4でラツチされメロデイ音形成回
路25に加えられる音高データTL1とは同一の
データであることは勿論である。したがつて、マ
ニアルメロデイ音と自動メロデイ音との音色を異
音色にするか又は自動メロデイ音の音量を絞るよ
うにしたほうが好ましい。
また、演奏用フリツプフロツプFF2から発生
されるプレイ信号PLは、インバータIN1〜IN5
に加えられる。これにより、符長カウンタ11お
よび12、アドレスカウンタ13はリセツトが解
除され計数可能になる。また、フリツプフロツプ
FF3およびFF4の各リセツト端Rにはインバー
タIN3およびIN4からのリセツト入力はなくな
る。
符長カウンタ11および12、アドレスカウン
タ13の各クロツク端子CKにはテンポパルス発
生回路27からアンド回路A6を介してテンポク
ロツクTCLが加えられている。なお、アンド回
路A6は、他の入力にフリツプフロツプFF4か
らの出力信号(この場合“0”)がインバータIN
6で反転されて加えられているため動作可能にな
つている。また、テンポパルス発生回路27は自
動演奏のテンポを決定すべく適宜の周波数のテン
ポクロツクTCLを発生するもので、その詳細に
ついては後に説明する。
アドレスカウンタ13は前記テンポクロツク
TCLを計数し、その計数値をパターンメモリ2
8のためのアドレス信号としてパターンメモリ2
8に加える。パターンメモリ28は各リズム毎に
それぞれ複数のベースパターン、コードパターン
およびリズムパターンを記憶している。このパタ
ーンメモリ28は予めリズム選択スイツチ(図示
せず)により選択されたリズムに対応して読み出
すべき上記パターンが指定され、アドレスカウン
タ13から出力されるアドレス信号に応じてそれ
ぞれベースパターン信号BPおよびベース音発音
タイミング信号BT、コード音発音タイミング信
号CTおよびリズムパターン信号RPを読み出す。
ここで、ベースパターン信号BPは発音すべき自
動ベース音の根音(この根音は伴奏用鍵盤4での
押鍵に関連して指定される)に対する音程関係を
示す情報であり、ベース音発音タイミング信号
BTは自動ベース音の発音タイミングを示す信号
であり、コード音発音タイミング信号CTは自動
コード音(このコード音は伴奏用鍵盤4での押鍵
に関連して指定される)の発音タイミングを示す
信号であり、リズムパターン信号RPは発音すべ
きリズム音の種類とその発音タイミングを示す情
報である。
伴奏音形成回路29は、伴奏用鍵盤3から出力
される自動ベース音の根音を示すキーコードと前
記ベースパターン信号BPとを加算して自動ベー
ス音を示すキーコードを形成し、このキーコード
から自動ベース音に対応する楽音信号を形成し、
この楽音信号を前記ベース音発音タイミング信号
BTに応じて開閉エンベロープ制御して出力し、
また伴奏用鍵盤4から出力される自動コード音を
示すキーコードから自動コード音に対応する楽音
信号を形成し、この楽音信号を前記コード音発音
タイミング信号CTに応じて開閉エンベロープ制
御して出力する。これらの自動伴奏音を示す楽音
信号は増幅器18を介してスピーカ19に加えら
れ、自動伴奏音として発音される。
また、パターンメモリ28から出力されるリズ
ムパターン信号RPはリズム音源回路30に加え
られる。リズム音源回路30は入力するリズムパ
ターン信号RPに応じて各種リズム楽器音を示す
リズム音信号を発生し、これを増幅器18を介し
てスピーカ19に加え、自動リズム音として発音
させる。
一方、符長カウンタ11および12はテンポパ
ルス発生回路27からアンド回路46を介して加
えられる前記テンポクロツクTCLを計数し、そ
の計数値を符長データとしてそれぞれ比較器24
および26のB入力に加える。比較器24はラツ
チ回路L2でラツチされたオブリガードデータの
符長データTL2がA入力に加えられている。こ
の場合、比較器24のA入力に加えられている符
長データTL2は前述した説明から明らかなよう
にオブリガード音の第1音に関する符長データで
ある。比較器24はA入力に加えられる符長デー
タTL2と最初の押鍵タイミング時から計数を開
始した符長カウンタ11の計数値とを比較し、両
データが一致してA=Bとなるとラインl1に信
号“1”のパルス信号を出力する。このパルス信
号はオア回路OR9を介してデータ書込読出制御
回路7に加わり、その内部のアドレスカウンタを
1ステツプ進める。これにより、オブリガードメ
モリ5からは3番目のデータが読み出される。ま
た、このパルス信号はオア回路OR9,OR1を
介してラツチ回路L1およびL2のロード端子
LDに加わるため、ラツチ回路L1は3番目に読
み出されたオブリガードデータをラツチし、ラツ
チ回路L2はラツチ回路L1でラツチされた2番
目のオブリガードデータをラツチする。また、こ
のパルス信号はオア回路OR3を介して符長カウ
ンタ11のリセツト端子Rに加わり、符長カウン
タ11をリセツトする。
このようにしてオブリガードデータは順次読み
出され、自動オブリガード演奏が行なわれる。
また、メロデイデータの読み出しは、押鍵タイ
ミングが押鍵すべきタイミングよりも早い場合に
は押鍵すべきタイミングで読み出しが行なわれ、
押鍵タイミングが押鍵すべきタイミングよりも遅
い場合には押鍵タイミングで読み出しが行なわれ
る。
以下、第2音に関する押鍵タイミングが押鍵す
べきタイミングよりも早い場合、一致した場合お
よび遅い場合における動作を説明する。
(1) 押鍵タイミングが押鍵すべきタイミングより
も早い場合
押鍵タイミングがラツチ回路L4でラツチさ
れている符長データTL2に対して早い場合は、
符長カウンタ12の計数値が上記符長データ
TL2に達する前に押鍵一致信号KEQが生じ
る。したがつて、押鍵一致信号KEQが生じた
タイミングにおいて比較器26からはラインl
3に信号“1”が生じており(比較器26はA
入力よりもB入力の方が小さい場合に信号
“1”をラインl3に出力する)、押鍵一致信号
KEQ、ラインl3の信号および休符検出回路
16からの休符検出信号RDをインバータIN7
で反転した信号(この場合、休符検出信号RD
は“0”とする)のアンド条件をとるアンド回
路A3の出力は“1”となる。このアンド回路
A3の出力信号“1”はフリツプフロツプFF
3のセツト端子Sに加わり、フリツプフロツプ
FF3をセツトする。これにより、フリツプフ
ロツプFF3は、出力端子Qから信号“1”を
デイレイフリツプフロツプDF2を介してアン
ド回路A7に加え、アンド回路A7を動作可能
にする。アンド回路A7の他の入力には、押鍵
すべきタイミングと押鍵タイミングが一致した
とき(A=B)、比較器26から出力されるラ
インl2の信号を微分回路31で微分した符長
一致信号LEQが加えられるようになつている。
したがつて、アンド回路A7は比較器26にお
いてA=Bが成立し、符長一致信号LEQが生
じた時間でそのアンド条件が成立し、信号
“1”(パルス信号)を出力する。この信号はオ
ア回路OR10を介してデータ書込読出制御回
路8およびオア回路OR10,OR2を介して
ラツチ回路L3,L4に加わり、次のメロデイ
データの読み出しを行なう。なお、フリツプフ
ロツプFF3のリセツト端子Rにはアンド回路
A7の出力、プレイ信号PLを反転するインバ
ータIN3の出力のオア条件をとるオア回路OR
5の出力が加えられており、この場合はアンド
回路A7の出力によつてフリツプフロツプFF
3はリセツトされる。
(2) 押鍵タイミングが押鍵すべきタイミングに一
致した場合
押鍵タイミングがラツチ回路L4にラツチさ
れている符長データTL2に一致した場合は、
押鍵一致信号KEQと同時に比較器26におい
てA=Bが成立し、ラインl2に信号“1”が
生じる。この信号“1”は微分回路31で微分
され、符長一致信号LEQとしてアンド回路A
4に加えられる。アンド回路A4は、他の入力
に休符検出信号RDを反転したインバータIN8
の出力および押鍵一致信号KEQが加えられて
いる。したがつて、アンド回路A4のアンド条
件は成立し、信号“1”(パルス信号)をオア
回路OR10を介して出力する。この信号
“1”によつて次のメロデイデータの読み出し
が行なわれる。
(3) 押鍵タイミングが押鍵すべきタイミングより
も遅い場合
押鍵タイミングがラツチ回路L4にラツチさ
れている符長データTL2に対して遅い場合、
またはミスタツチにより正確な押鍵が遅れた場
合は、押鍵一致信号KEQが生じる前に符長カ
ウンタ12の計数値は上記符長データに達し、
比較器26でA=Bが成立し、微分回路31か
ら符長一致信号LEQが生じる。この符長一致
信号LEQはアンド回路A8に加えられる。ア
ンド回路A8は、他の入力にインバータIN9
の出力信号およびアンド回路A4の出力をイン
バータIN10で反転した信号が加えられてお
り、この場合は休符検出信号RDは“0”、ア
ンド回路A4の出力は“0”であるからアンド
回路A8のアンド条件は成立し、信号“1”を
出力する。このアンド回路A8の出力は、他の
入力にフリツプフロツプFF3の反転出力Q
(この場合は“1”である)が加わり動作可能
になつているアンド回路A9を介してフリツプ
フロツプFF4のセツト端子Sに加わる。これ
により、フリツプフロツプFF4はセツトされ
出力端子Qから停止信号STを出力する。この
停止信号STはインバータIN6で反転されてア
ンド回路A6に加わり、アンド回路A6を不動
作にしてテンポパルス発生回路27から発生さ
れるテンポクロツクTCLの出力を停止し、自
動演奏の進行を一時停止する。
また、フリツプフロツプFF4から出力され
る停止信号STはデイレイフリツプフロツプDF
3を介してアンド回路A5に加わる。アンド回
路A5は他の入力に押鍵一致信号KEQが加え
られるようになつている。したがつて、アンド
回路A5は押鍵一致信号KEQのタイミングで
そのアンド条件が成立し、信号“1”(パルス
信号)をオア回路OR10を介して出力する。
この信号“1”によつて次のメロデイデータの
読み出しが行なわれる。なお、停止信号STを
出力するフリツプフロツプFF4のリセツト端
子Rにはアンド回路A5の出力、プレイ信号
PLを反転するインバータIN4の出力のオア条
件をとるオア回路OR6の出力が加えられてお
り、この場合はアンド回路A5の出力によつて
フリツプフロツプFF4はリセツトされ、停止
信号は“0”となる。
以上の動作説明は、休符検出回路16から出力
される休符検出信号RDが“0”であるとした
が、休符検出信号RDが“1”の場合は、休符検
出信号RDと符長一致信号LEQとのアンド条件を
とるアンド回路A10が符長一致信号LEQが生
じるタイミングで、すなわち比較器26における
比較において符長カウンタ12の計数値がラツチ
回路L4にラツチされた符長データTL2に一致
した時点で信号“1”(パルス信号)をオア回路
OR10を介して出力する。この信号“1”によ
つて次のメロデイデータの読み出しが行なわれ
る。
このようにしてメロデイデータは順次読み出さ
れ、押鍵すべき鍵が表示されるとともに、自動メ
ロデイ演奏が行なわれる。
なお、セレクトスイツチ21を切替え使用する
と、メロデイ用鍵盤3で押鍵さえすればミスタツ
チしても(押圧すべき鍵と押圧した鍵とが不一
致)押鍵一致信号KEQを出力することができ、
自動演奏を進行させることができる。
次に、テンポパルス発生回路27について説明
する。
テンポパルス発生回路27はテンポ設定スイツ
チ32での押圧間隔に基づいて適宜の周波数のテ
ンポクロツクTCLを発生するものである。まず、
テンポの設定を行なう場合は所望の間隔で、例え
ば拍子の単位となる拍毎にテンポ設定スイツチ3
2を押圧する。なお、このテンポ設定スイツチ3
2は自己復帰型スイツチで構成される。テンポ設
定スイツチ32が押圧されると、その押圧毎に信
号“1”が微分回路33に加えられる。微分回路
33は入力する信号“1”の立ち上がり微分をと
り、信号TSWとしてテンポパルス発生回路27
に加える。
第2図はテンポパルス発生回路27の一実施例
を示すブロツク図で、前記信号TSWはデイレイ
フリツプフロツプDF4およびDF8に加えられ
る。最初の信号TSWが入力するとき、カウンタ
34は全てのビツトが“1”になつており、カウ
ンタ34の各ビツト出力のナンド条件をとるナン
ド回路NAは信号“0”を出力している。これに
より、アンド回路A11〜A14は不動作になつ
ている。
デイレイフリツプフロツプDF4およびDF8は
それぞれ入力信号TWSを高速クロツクパルスφ
の時間間隔だけ遅らせて次段のデイレイフリツプ
フロツプDF5およびDF9に出力し、同様にして
デイレイフリツプフロツプDF5およびDF9はそ
れぞれデイレイフリツプフロツプDF6およびDF
10に、デイレイフリツプフロツプDF6および
DF10はそれぞれデイレイフリツプフロツプDF
7およびカウンタ34のリセツト端子Rに前記信
号TSWを高速クロツクパルスφの時間間隔だけ
遅らせて出力する。
カウンタ35はデイレイフリツプフロツプDF
10から加わる信号TSWによつてリセツトされ、
カウンタ34はデイレイフリツプフロツプDF7
で更に1クロツクパルスφの時間間隔だけ遅延さ
れた信号TSWによつてリセツトされる。カウン
タ34がリセツトされると、カウンタ34の各ビ
ツト出力のナンド条件をとるナンド回路NAは信
号“1”を出力し、アンド回路A11〜A14を
動作可能にする。
ここで、テンポ設定スイツチ32での押圧に基
づいて2番目の信号TSWが加えられると、この
信号TSWはデイレイフリツプフロツプDF4およ
びDF8に加わるとともに、アンド回路A12を
介してラツチ回路L5のロード端子LDに加えら
れる。これによりラツチ回路L5はラツチ回路L
6にラツチされている情報をラツチし、この情報
を平均値演算回路36に出力する。同様にして、
ラツチ回路L6は、デイレイフリツプフロツプ
DF8で1クロツクパルスの時間間隔だけ遅延さ
れた前記信号TSWをアンド回路A13を介して
そのロード端子LDに入力し、ラツチ回路L7に
ラツチされている情報をラツチしてこの情報を平
均値演算回路36に出力し、またラツチ回路L7
は、デイレイフリツプフロツプDF8およびDF9
で2クロツクパルスの時間間隔だけ遅延された前
記信号TSWをアンド回路A14を介してそのロ
ード端子LDに入力し、カウンタ35の計数値
(最初の信号TSWと2番目の信号TSWとの時間
間隔を示す情報)をラツチし、この情報を平均値
演算回路36に出力する。
なお、カウンタ34および35のリセツトは上
記と同様にして行なわれる。また、カウンタ34
は信号TSWの時間間隔が所定時間(短くとも考
えられる最長の拍子間隔)以上隔間したとき、そ
の時間間隔に対応する情報は取り込まないように
するためのものである。すなわち、前述したよう
にカウンタ34は上記の場合は全てのビツト出力
が“1”となり、アンド回路A11〜A14を不
動作にする。
平均値演算回路36はラツチ回路L5,L6,
L7から加わる数値情報の平均値を演算し、この
平均値を可変分周器37に出力する。可変分周器
37は入力する平均値を分周比データとして高速
クロツクパルスφを分周することによりテンポク
ロツクTCLを発生する。
したがつて、テンポ設定スイツチ32での押圧
間隔が長くなると発生するテンポクロツクTCL
の周波数は低くなり、押圧間隔が短くなると発生
するテンポクロツクTCLの周波数は高くなりう
る。すなわち、テンポ設定スイツチ32での押圧
間隔に基づいて適宜の周波数のテンポクロツク
TCLを発生することができ、これにより自動演
奏のテンポを制御することができる。
なお、この実施例では3つの数値情報の平均値
を演算し、この平均値に基づいてテンポクロツク
TCLの周波数を決定しているため、演奏前にテ
ンポを設定する場合にはテンポ設定スイツチ32
を少なくとも4回以上押圧することが好ましい。
また、演奏中任意箇所でテンポを変更することも
可能で、テンポ設定スイツチ32を2回以上押圧
することによりテンポを変えることができる。
第3図はテンポパルス発生回路27の他の実施
例を示すブロツク図で、このテンポ発生回路27
は演奏前はテンポ設定器38での操作に基づいて
テンポを決定し、演奏中はメロデイの音高の変化
時(符長一致信号LEQの出力時)近傍でのテン
ポ設定スイツチ32(第1図)の押圧タイミング
から符長一致信号LEQとテンポ設定スイツチ3
2の押圧に基づく信号TSWとのずれ分を測定し、
この測定値に基づいて前記テンポを修正するもの
である。
符長一致信号LEQは、第1図に示すように比
較器26において符長データTL2と符長カウン
タ12の計数値が一致したとき(A=B)、微分
回路31から破線で示すラインl4を介してテン
ポパルス発生回路27に加えられ、信号TSWは
テンポ設定スイツチ32の押圧時に微分回路33
からテンポパルス発生回路27に加えられる。
第3図において、符長一致信号LEQが第4図
aに示すパルス列で入力し、信号TSWが第4図
dに示すパルス列で入力した場合の動作について
説明する。ワンシヨツト回路39は符長一致信号
LEQの入力により、パルス幅Tのパルス信号を
ラインl6に出力し(第4図c)、インバータIN
11はラインl6の出力の反転出力をラインl5
に出力する(第4図b)。同様に、ワンシヨツト
回路40は信号TSWの入力により、パルス幅T
のパルス信号をラインl8に出力し(第4図f)、
インバータIN12はラインl8の出力の反転出
力をラインl7に出力する(第4図e)。
アンド回路A15は符長一致信号LEQとライ
ンl7に生じる信号とのアンド条件をとるもの
で、この場合、符長一致信号LEQ1の出力時点
でパルス信号“1”を出力する(第4図g)。ア
ンド回路A16は信号TSWとラインl5に生じ
る信号とのアンド条件をとるもので、この場合、
信号TSW2の出力時点でパルス信号“1”を出
力する(第4図h)。
また、アンド回路A17は符長一致信号LEQ
とラインl8に生じる信号とのアンド条件をとる
もので、この場合、符長一致信号LEQ2の出力
時点でパルス信号“1”を出力する(第4図i)。
アンド回路A18は信号TSWとラインl6に生
じる信号とのアンド条件をとるもので、この場
合、信号TSW1の出力時点でパルス信号“1”
を出力する(第4図j)。
アンド回路A15およびA16の出力は、オア
回路OR11を介してカウンタ41のリセツト端
子Rに加わりカウンタ40をリセツトする。ま
た、アンド回路A17およびA18の出力はオア
回路OR12を介してラツチ回路L8およびデイ
レイフリツプフロツプDF11に加えられ、アン
ド回路A18の出力はデイレイフリツプフロツプ
DF13にも加えられるようになつている。
ラツチ回路L8はそのロード端子LDにオア回
路OR12を介してパルス信号が加えられると、
ラツチ回路L9にラツチされている情報をラツチ
し、この情報を平均値演算回路42のA入力に加
える。ラツチ回路L9はデイレイフリツプフロツ
プDF11で1クロツクパルスの時間間隔だけ遅
延された前記パルス信号をそのロード端子LDに
入力し、ラツチ回路L10にラツチされている情
報をラツチしてこの情報を平均値演算回路42の
B入力に加える。ラツチ回路L10はデイレイフ
リツプフロツプDF11およびDF12で2クロツ
クパルスの時間間隔だけ遅延された前記パルス信
号をそのロード端子LDに入力し、カウンタ41
の計数値(カウンタ41がアンド回路A15また
はA16の出力によつてリセツトされてからアン
ド回路A17またはA18の出力によつてラツチ
回路が動作するまでの時間間隔を示す情報)をラ
ツチするとともに、デイレイフリツプフロツプ
DF13およびDF14で2クロツクパルスの時間
間隔だけ遅延されインバータIN13で反転され
たアンド回路A18の出力を符号情報としてラツ
チし、これらの情報を平均値演算回路42のC入
力に加える。なお、符号情報が“0”の場合(ア
ンド回路A18の出力が“1”となる場合)は符
号一致信号LEQに対する信号TSWのずれ分は
「負」、すなわち符長一致信号LEQの出力タイミ
ングよりも信号TSWの出力タイミングの方が遅
れていることを示し、符号情報が“1”の場合は
符長一致信号LEQに対する信号TSWのずれ分は
「正」であることを示す。
したがつて、符長一致信号LEQおよび信号
TSWがそれぞれ第4図aおよび第4図dに示す
タイミングで入力すると、ラツチ回路L10はま
ず負のずれ分t1に対応する情報をラツチし、次に
正のずれ分t2に対応する情報をラツチする。
平均値演算回路42はラツチ回路L8,L9,
L10から加わる数値情報の平均値を演算し、こ
の平均値をテンポクロツクTCLの周波数の補正
データとしてテンポ発振器42に出力する。テン
ポ発振器43は可変分周器を有し、演奏前はテン
ポ設定器38によつて設定したテンポに対応する
分周比データをテンポ設定器38から入力してこ
の分周比データに基づいて高速クロツクパルスを
分周することによりテンポクロツクTCLを発生
し、また演奏中にテンポ設定スイツチ32での押
圧タイミングに基づいて平均値演算回路42から
前記補正データが加えられると、前記分周比デー
タから補正データを減算し、これを新たな分周比
データとして高速クロツクパルスを分周すること
によりテンポクロツクTCLを発生する。
したがつて、補正データが正の場合(ずれ分の
平均値が正の場合)は、テンポクロツクTCLの
周波数は高くなり、自動演奏のテンポは早くな
る。また補正データが負の場合は、テンポクロツ
クTTCLの周波数は低くなり、自動演奏のテンポ
は遅くなる。
以上説明したようにこの発明によれば、操作す
べきタイミングに対し操作タイミングが遅れた場
合には自動演奏を一時停止することにより鍵盤演
奏と自動演奏との進行一致を図ることができる。
また、誤打鍵した場合には自動演奏を一時停止す
ることも可能で、鍵盤での押鍵練習に大きな効果
が期待できる。また、テンポの設定、変更をテン
ポ設定スイツチにおける押圧タイミングによりテ
ンポの設定、変更ができるため、自動演奏のテン
ポを所望のテンポに容易に設定することができ
る。[Table] Also, for rests, all bits of pitch data are set to “0”.
End data Dn indicating the end of data is represented by setting all bits of pitch data TL1 and note length data TL2 to "1". Reading of each data from obbrigade data memory 5 and melody data memory 6 is performed by data write/read control circuits 7 and 8, respectively. First, to start automatic performance, turn on the start switch 9 and turn on the standby flip-flop.
At the same time as setting FF1, the performance flip-flop FF2 is reset. When standby flip-flop FF1 is set, its output terminal Q
A signal "1" is applied to the differentiating circuit 10 and the delay flip-flop DF1. As a result, the differentiating circuit 10 outputs a preset signal ΔPR (one pulse), and the delay flip-flop DF1
After delaying this signal "1" for a predetermined time, it is added to the AND circuit A1 to enable the AND circuit A1. The preset signal ΔPR is applied to the data write/read control circuits 7 and 8 to put each circuit 7 and 8 into the read mode and set the internal address counter to the initial address. As a result, the first stored data is read out from the obligate data memory 5 and the melody data memory 6. Also, the preset signal △PR is an OR circuit.
Latch circuit L1, L via OR1 and OR2
2, L3, and L4, the latch circuit L1 latches the first obbliged data, and the latch circuit L3 latches the first melody data. On the other hand, since the performance flip-flop FF2 has been reset, it does not output the play signal PL ("1") and applies the signal "0" to the inverters IN1 to IN5. Inverter IN1 inverts the signal “0”,
In addition to the signal “1” via the OR circuit OR3 to the reset terminal R of the note length counter 11, the inverter
IN2 inverts the signal "0" and applies the signal "1" to the reset terminal R of the note length counter 11 via the OR circuit OR4, and also inverts the inverters IN3 and IN4.
each inverts the signal "0", applies the signal "1" to each reset terminal R of flip-flops FF3 and FF4 via OR circuits OR5 and OR6, and inverter IN5 inverts the signal "0",
A signal "1" is added to the address counter 13. Therefore, the performance flip-flop FF2
If the data has been reset, the mark length counters 11 and 12, flip-flops FF3 and FF4, and address counter 13 are all reset. Further, pitch data TL1 of the melody data latched by the latch circuit L3 is applied to the key display device 14, the comparator 15 and the rest detection circuit 16, and the key display device 14 is the key of the first note of the melody performance. (the key to be pressed first) is displayed by lighting up the indicator lamp disposed on that key. In this state, if you press a key on the melody keyboard 4 whose display lamp is lit, a key code KC (consisting of a 4-bit node code NC and a 3-bit octave code OC) indicating the pressed key will be output. be done. This key code KC is applied to the melody tone forming circuit 17. The melody sound forming circuit 17 forms a musical sound signal corresponding to the melody sound indicated by this key code KC, and sends this to the amplifier 18.
is added to the speaker 19 via the melody, and is generated as a melody sound. Further, the key code KC output from the melody keyboard 4 is added to the B input of the comparator 15. The comparator 15 has pitch data TL1 of the data latched in the latch circuit L3 added to its A input, and the pitch data TL1 added to this A input.
(indicating the sound to be pressed) and the key code KC added to the B input (indicating the sound to be pressed) match,
A match signal is output from the match terminal EQ. This coincidence signal is applied to AND circuit A2. AND circuit A2 is an OR circuit that takes the OR condition of the key code KC output from the melody keyboard 3 to other inputs.
Any key-on signal AKON output from OR7
(Signal that becomes “1” when any key is pressed)
A signal differentiated by a differentiating circuit 20 is added, and on condition that a key whose display lamp is lit is pressed, a pulse (key press coincidence signal) KEQ synchronized with the press of the key is output. This key press coincidence signal KEQ
is connected to AND circuit A3 via select switch 2,
A4, A5, and AND circuit A
1 and the OR circuit OR8 to the reset terminal R of the standby flip-flop FF1. AND circuit A1 is a delay flip-flop
Since it is enabled to operate by DF1, it outputs a pulse signal ΔPL upon input of the key press coincidence signal KEQ, and also applies this pulse signal ΔPL to the set terminal S of the performance flip-flop FF2. The performance flip-flop FF2 uses this pulse signal △PL
is set by PL, and outputs the play signal PL.
On the other hand, the standby flip-flop FF1 is reset and the AND circuit A1 is made inactive thereafter. Pulse signal △ output from AND circuit A1
PL is applied to data write/read control circuits 7 and 8 via OR circuits OR9 and OR10, respectively, and advances the internal address counter by one step. As a result, the obligate data memory 5
Then, the second data is read out from the melody data memory 6. In addition, the pulse signal △PL is passed through the OR circuits OR9 and OR1 to the latch circuit L1.
Since the data is applied to the load terminal LD of L2, the latch circuit L1 latches the second read obbligor data, and the latch circuit L2 latches the first obbrigade data latched by the latch circuit L1. Similarly, the pulse signal △PL is an OR circuit
Latch circuit L3 and L via OR10 and OR2
Since it is added to the load terminal LD of No. 4, the latch circuit L
3 latches the second read melody data, and latch circuit L4 latches the first melody data latched by latch circuit L3. The obligated data latched by the latch circuit L2 is applied to the end detection circuit 22, and
Of the obbligard data, pitch data TL1 is applied to the obbligado tone forming circuit 23, and note length data TL2 is applied to the A input of the comparator 24. The end detection circuit 22 detects the end of the data when all bits of the obbligard data (pitch data TL1 + note length data TL2) are "1", and outputs an end signal.
Output F1N. This end signal F1N is applied to the reset terminals R of the standby flip-flop FF1 and performance flip-flop FF2 via OR circuits OR8 and OR11, respectively, and resets the standby flip-flop FF1 and performance flip-flop FF2. This ends the automatic performance. The obbligado sound forming circuit 23 forms a musical sound signal corresponding to the obbligado sound indicated by the input pitch data TL1, and applies this to the speaker 19 via the amplifier 18 to generate the obbligado sound. Of the second melody data latched by the latch circuit L3, the pitch data TL1 is the key display device 1.
4, the key display device 14 lights up and displays the key of the second note of the melody performance. Note that this lighting display is performed in the same manner as in the case described above. Of the first melody data latched by the latch circuit L4, pitch data TL1 is applied to the melody tone forming circuit 25, and note length data TL2 is applied to the A input of the comparator 26. The melody sound forming circuit 25 forms a musical sound signal corresponding to the melody sound indicated by the input pitch data TL1, and applies this signal to the speaker 19 via the amplifier 18 to generate an automatic melody sound. Note that the key code KC is added to the melody sound forming circuit 17 based on the key pressed on the melody keyboard 4, and the pitch data TL1 is latched by the latch circuit L4 and added to the melody sound forming circuit 25 based on this key pressed. Of course, these are the same data. Therefore, it is preferable to make the manual melody sound and the automatic melody sound different tones, or to reduce the volume of the automatic melody sound. In addition, the play signal PL generated from the performance flip-flop FF2 is transferred to the inverters IN1 to IN5.
added to. As a result, the reset of the note length counters 11 and 12 and the address counter 13 is released and they can be counted. Also, flip-flop
There is no reset input from inverters IN3 and IN4 to each reset terminal R of FF3 and FF4. A tempo clock TCL is applied to each clock terminal CK of note length counters 11 and 12 and address counter 13 from a tempo pulse generating circuit 27 via an AND circuit A6. Note that the AND circuit A6 has the output signal (“0” in this case) from the flip-flop FF4 as the other input to the inverter IN.
6 is inverted and added, making it operable. Further, the tempo pulse generating circuit 27 generates a tempo clock TCL of an appropriate frequency to determine the tempo of automatic performance, the details of which will be explained later. The address counter 13 is connected to the tempo clock.
Count TCL and store the counted value in pattern memory 2
Pattern memory 2 as address signal for 8
Add to 8. The pattern memory 28 stores a plurality of bass patterns, chord patterns, and rhythm patterns for each rhythm. In this pattern memory 28, the above-mentioned pattern to be read is designated in advance in accordance with the rhythm selected by a rhythm selection switch (not shown), and the base pattern signal BP and the base pattern signal Read out the sound generation timing signal BT, chord tone generation timing signal CT, and rhythm pattern signal RP.
Here, the bass pattern signal BP is information indicating the pitch relationship to the root note of the automatic bass note to be produced (this root note is specified in relation to the keys pressed on the accompaniment keyboard 4), and timing signal
BT is a signal indicating the generation timing of the automatic bass tone, and the chord tone generation timing signal CT indicates the generation timing of the automatic chord tone (this chord tone is specified in relation to the keys pressed on the accompaniment keyboard 4). The rhythm pattern signal RP is information indicating the type of rhythm sound to be generated and the timing of its generation. The accompaniment sound forming circuit 29 adds the key code representing the root note of the automatic bass sound output from the accompaniment keyboard 3 and the bass pattern signal BP to form a key code representing the automatic bass sound, and adds this key code to the base pattern signal BP. to automatically form a musical tone signal corresponding to the bass tone,
This musical tone signal is used as the bass tone generation timing signal.
Open/close envelope control and output according to BT,
Also, a musical tone signal corresponding to the automatic chord tone is formed from the key code indicating the automatic chord tone outputted from the accompaniment keyboard 4, and this musical tone signal is outputted after being subjected to opening/closing envelope control according to the chord tone generation timing signal CT. . Musical tone signals representing these automatic accompaniment tones are applied to a speaker 19 via an amplifier 18, and are emitted as automatic accompaniment tones. Further, the rhythm pattern signal RP output from the pattern memory 28 is applied to the rhythm sound source circuit 30. The rhythm sound source circuit 30 generates rhythm sound signals representing various rhythm instrument sounds in accordance with the input rhythm pattern signal RP, and applies the signals to the speaker 19 via the amplifier 18 to generate automatic rhythm sounds. On the other hand, the note length counters 11 and 12 count the tempo clock TCL applied from the tempo pulse generation circuit 27 via the AND circuit 46, and use the counted value as note length data for the respective comparators 24 and 24.
and 26 to the B input. The comparator 24 has the code length data TL2 of the obligate data latched by the latch circuit L2 applied to its A input. In this case, the note length data TL2 applied to the A input of the comparator 24 is the note length data regarding the first note of the obbligado note, as is clear from the above explanation. The comparator 24 compares the note length data TL2 added to the A input with the count value of the note length counter 11 which started counting from the timing of the first key press, and when both data match and A=B, line l1 A pulse signal of signal “1” is output. This pulse signal is applied to the data write/read control circuit 7 via the OR circuit OR9, and advances the internal address counter by one step. As a result, the third data is read out from the obligate memory 5. In addition, this pulse signal is passed through OR circuits OR9 and OR1 to the load terminals of latch circuits L1 and L2.
In order to be added to the LD, the latch circuit L1 latches the third obbligor data read out, and the latch circuit L2 latches the second obbligate data latched by the latch circuit L1. Further, this pulse signal is applied to the reset terminal R of the note length counter 11 via the OR circuit OR3, and resets the note length counter 11. In this way, the obligate data is read out sequentially, and automatic obbligado performance is performed. In addition, when the melody data is read out, if the key press timing is earlier than the key press timing, the melody data is read out at the key press timing,
If the key press timing is later than the key press timing, reading is performed at the key press timing. Hereinafter, operations will be described when the key press timing for the second tone is earlier than the key press timing, when they match, and when the key press timing is later than the key press timing. (1) When the key press timing is earlier than the key press timing When the key press timing is earlier than the note length data TL2 latched by the latch circuit L4,
The count value of note length counter 12 is the above note length data.
The key press coincidence signal KEQ is generated before reaching TL2. Therefore, at the timing when the key press coincidence signal KEQ is generated, the line l is output from the comparator 26.
A signal “1” is generated at A 3 (the comparator 26
If the B input is smaller than the input, a signal “1” is output to line l3), key press coincidence signal
KEQ, the signal on line l3 and the rest detection signal RD from the rest detection circuit 16 are transferred to the inverter IN7.
(in this case, the rest detection signal RD
is assumed to be "0"), the output of the AND circuit A3 becomes "1". The output signal "1" of this AND circuit A3 is a flip-flop FF.
It is added to the set terminal S of 3, and the flip-flop
Set FF3. As a result, flip-flop FF3 applies a signal "1" from output terminal Q to AND circuit A7 via delay flip-flop DF2, thereby enabling AND circuit A7. The other input of the AND circuit A7 is a note length match obtained by differentiating the signal on line l2 output from the comparator 26 by the differentiating circuit 31 when the timing to press the key matches the timing to press the key (A=B). Signal LEQ is now added.
Therefore, the AND condition is satisfied at the time when A=B is established in the comparator 26 and the code length match signal LEQ is generated, and the AND circuit A7 outputs a signal "1" (pulse signal). This signal is applied to the data write/read control circuit 8 via the OR circuit OR10 and to the latch circuits L3 and L4 via the OR circuits OR10 and OR2 to read out the next melody data. Furthermore, the reset terminal R of the flip-flop FF3 has an OR circuit OR which takes the OR condition of the output of the AND circuit A7 and the output of the inverter IN3 which inverts the play signal PL.
In this case, the output of flip-flop FF is added by the output of AND circuit A7.
3 is reset. (2) When the key press timing matches the key press timing When the key press timing matches the note length data TL2 latched in the latch circuit L4,
At the same time as the key press coincidence signal KEQ, A=B is established in the comparator 26, and a signal "1" is generated on the line 12. This signal "1" is differentiated by the differentiating circuit 31 and outputted to the AND circuit A as the code length matching signal LEQ.
Added to 4. AND circuit A4 has an inverter IN8 which inverts the rest detection signal RD to the other input.
output and a key press coincidence signal KEQ are added. Therefore, the AND condition of the AND circuit A4 is satisfied, and a signal "1" (pulse signal) is outputted via the OR circuit OR10. This signal "1" causes the next melody data to be read. (3) When the key press timing is later than the key press timing When the key press timing is later than the note length data TL2 latched in the latch circuit L4,
Alternatively, if accurate key presses are delayed due to a mistouch, the counted value of the note length counter 12 reaches the above note length data before the key press coincidence signal KEQ is generated.
The comparator 26 establishes A=B, and the differentiation circuit 31 generates a code length match signal LEQ. This code length match signal LEQ is applied to AND circuit A8. AND circuit A8 connects inverter IN9 to the other input.
The output signal of the AND circuit A4 and the signal obtained by inverting the output of the AND circuit A4 by the inverter IN10 are added. In this case, the rest detection signal RD is "0" and the output of the AND circuit A4 is "0", so the AND circuit A8 The AND condition is satisfied and a signal "1" is output. The output of this AND circuit A8 is connected to the other input as the inverted output Q of the flip-flop FF3.
(in this case, it is "1") is applied to the set terminal S of the flip-flop FF4 via the AND circuit A9, which is enabled to operate. As a result, flip-flop FF4 is set and outputs a stop signal ST from output terminal Q. This stop signal ST is inverted by the inverter IN6 and applied to the AND circuit A6, which disables the AND circuit A6 and stops the output of the tempo clock TCL generated from the tempo pulse generation circuit 27, thereby temporarily halting the progress of the automatic performance. . Also, the stop signal ST output from flip-flop FF4 is output from delay flip-flop DF.
3 to the AND circuit A5. The AND circuit A5 is configured such that a key press coincidence signal KEQ is added to other inputs. Therefore, the AND condition of the AND circuit A5 is satisfied at the timing of the key press coincidence signal KEQ, and outputs a signal "1" (pulse signal) via the OR circuit OR10.
This signal "1" causes the next melody data to be read. Note that the output of the AND circuit A5 and the play signal are connected to the reset terminal R of the flip-flop FF4 which outputs the stop signal ST.
The output of the OR circuit OR6 which takes the OR condition of the output of the inverter IN4 which inverts PL is added. In this case, the flip-flop FF4 is reset by the output of the AND circuit A5, and the stop signal becomes "0". In the above operation description, it is assumed that the rest detection signal RD output from the rest detection circuit 16 is "0". However, if the rest detection signal RD is "1", the rest detection signal RD is The AND circuit A10, which takes an AND condition with the length match signal LEQ, outputs the code length data TL2, which is the counted value of the code length counter 12 latched in the latch circuit L4, at the timing when the code length match signal LEQ occurs, that is, in the comparison in the comparator 26. When it matches, OR circuit the signal “1” (pulse signal)
Output via OR10. This signal "1" causes the next melody data to be read. In this way, the melody data is sequentially read out, the keys to be pressed are displayed, and an automatic melody performance is performed. Furthermore, when the select switch 21 is switched and used, as long as a key is pressed on the melody keyboard 3, even if there is a mistouch (the key to be pressed and the pressed key do not match), the key press coincidence signal KEQ can be output.
Automatic performance can proceed. Next, the tempo pulse generation circuit 27 will be explained. The tempo pulse generating circuit 27 generates a tempo clock TCL of an appropriate frequency based on the interval at which the tempo setting switch 32 is pressed. first,
When setting the tempo, turn the tempo setting switch 3 at desired intervals, for example, for each beat, which is the unit of time signature.
Press 2. In addition, this tempo setting switch 3
2 consists of a self-resetting switch. When the tempo setting switch 32 is pressed, a signal "1" is applied to the differentiation circuit 33 each time the tempo setting switch 32 is pressed. The differentiating circuit 33 takes the rising edge differential of the input signal "1" and outputs it as the signal TSW to the tempo pulse generating circuit 27.
Add to. FIG. 2 is a block diagram showing one embodiment of the tempo pulse generating circuit 27, in which the signal TSW is applied to delay flip-flops DF4 and DF8. When the first signal TSW is input, all bits of the counter 34 are "1", and the NAND circuit NA, which takes the NAND condition of each bit output of the counter 34, outputs a signal "0". As a result, AND circuits A11 to A14 are rendered inoperative. Delay flip-flops DF4 and DF8 each convert input signal TWS into high-speed clock pulse φ.
The delay flip-flops DF5 and DF9 of the next stage are outputted with a delay of a time interval of
10, delay flip-flop DF6 and
Each DF10 is a day-lay flip-flop DF.
7 and the reset terminal R of the counter 34, the signal TSW is delayed by the time interval of the high speed clock pulse φ and output. Counter 35 is a delay flip-flop DF
It is reset by the signal TSW applied from 10,
Counter 34 is a delay flip-flop DF7
Then, it is reset by the signal TSW which is further delayed by a time interval of one clock pulse φ. When the counter 34 is reset, the NAND circuit NA which takes the NAND condition of each bit output of the counter 34 outputs a signal "1", thereby enabling the AND circuits A11 to A14. Here, when the second signal TSW is applied based on the depression of the tempo setting switch 32, this signal TSW is applied to the delay flip-flops DF4 and DF8, and is also applied to the load of the latch circuit L5 via the AND circuit A12. Added to terminal LD. As a result, the latch circuit L5 becomes the latch circuit L5.
6 and outputs this information to the average value calculation circuit 36. Similarly,
The latch circuit L6 is a delay flip-flop
The signal TSW delayed by the time interval of one clock pulse in DF8 is input to the load terminal LD via the AND circuit A13, the information latched in the latch circuit L7 is latched, and this information is sent to the average value calculation circuit 36. and latch circuit L7.
are delay flip-flops DF8 and DF9
The signal TSW delayed by a time interval of two clock pulses is inputted to the load terminal LD via the AND circuit A14, and the counted value of the counter 35 (indicating the time interval between the first signal TSW and the second signal TSW) is input to the load terminal LD of the AND circuit A14. information) and outputs this information to the average value calculation circuit 36. Note that the counters 34 and 35 are reset in the same manner as described above. In addition, the counter 34
This is to prevent information corresponding to the time interval from being captured when the time interval of the signal TSW exceeds a predetermined time (the longest beat interval that can be considered short). That is, as described above, all bit outputs of the counter 34 become "1" in the above case, and the AND circuits A11 to A14 are rendered inoperable. The average value calculation circuit 36 includes latch circuits L5, L6,
The average value of the numerical information added from L7 is calculated, and this average value is output to the variable frequency divider 37. The variable frequency divider 37 generates a tempo clock TCL by frequency-dividing the high speed clock pulse φ using the input average value as frequency division ratio data. Therefore, the tempo clock TCL that occurs when the pressing interval of the tempo setting switch 32 becomes longer.
The frequency of the tempo clock TCL may become lower, and the frequency of the generated tempo clock TCL may become higher as the press interval becomes shorter. That is, the tempo clock is set at an appropriate frequency based on the interval at which the tempo setting switch 32 is pressed.
It can generate TCL, which allows you to control the tempo of automatic performance. In this embodiment, the average value of three pieces of numerical information is calculated, and the tempo clock is set based on this average value.
Since the TCL frequency is determined, if you want to set the tempo before playing, use the tempo setting switch 32.
It is preferable to press at least four times or more.
It is also possible to change the tempo at any point during the performance, and the tempo can be changed by pressing the tempo setting switch 32 two or more times. FIG. 3 is a block diagram showing another embodiment of the tempo pulse generation circuit 27.
Before playing, the tempo is determined based on the operation on the tempo setting device 38, and during the performance, when the pitch of the melody changes (when the note length matching signal LEQ is output), the tempo setting switch 32 (see Fig. ) from the pressing timing to the note length match signal LEQ and tempo setting switch 3
Measure the deviation from the signal TSW based on the pressure in step 2,
The tempo is corrected based on this measured value. As shown in FIG. 1, when the code length data TL2 and the counted value of the note length counter 12 match in the comparator 26 (A=B), the code length match signal LEQ is output from the differentiating circuit 31 to a line l4 shown by a broken line. The signal TSW is applied to the tempo pulse generation circuit 27 via the differential circuit 33 when the tempo setting switch 32 is pressed.
is applied to the tempo pulse generation circuit 27. In FIG. 3, the operation will be described when the code length matching signal LEQ is input as a pulse train shown in FIG. 4a, and the signal TSW is input as a pulse train shown in FIG. 4d. The one-shot circuit 39 is a note length match signal.
By inputting LEQ, a pulse signal with a pulse width T is output to line l6 (Fig. 4c), and the inverter IN
11 is the inverted output of the output of line l6 to line l5
(Figure 4b). Similarly, the one-shot circuit 40 receives the signal TSW to generate a pulse width T.
A pulse signal of is outputted to line l8 (Fig. 4 f),
Inverter IN12 outputs the inverted output of line l8 to line l7 (FIG. 4e). The AND circuit A15 takes an AND condition between the code length match signal LEQ and the signal generated on the line 17, and in this case, outputs a pulse signal "1" at the time the code length match signal LEQ1 is output (Fig. 4g). . The AND circuit A16 takes an AND condition between the signal TSW and the signal generated on the line 15, and in this case,
A pulse signal "1" is output at the time when the signal TSW2 is output (Fig. 4h). Also, the AND circuit A17 outputs the code length match signal LEQ.
In this case, a pulse signal "1" is output at the time when the note length match signal LEQ2 is output (FIG. 4i).
The AND circuit A18 takes the AND condition of the signal TSW and the signal generated on the line l6, and in this case, the pulse signal "1" is output when the signal TSW1 is output.
(Fig. 4 j). The outputs of AND circuits A15 and A16 are applied to reset terminal R of counter 41 via OR circuit OR11 to reset counter 40. The outputs of AND circuits A17 and A18 are applied to latch circuit L8 and delay flip-flop DF11 via OR circuit OR12, and the output of AND circuit A18 is applied to delay flip-flop DF11.
It is also becoming possible to add it to DF13. When a pulse signal is applied to the latch circuit L8 through the OR circuit OR12 to its load terminal LD,
The information latched in the latch circuit L9 is latched and this information is added to the A input of the average value calculation circuit 42. The latch circuit L9 inputs the pulse signal delayed by the time interval of one clock pulse by the delay flip-flop DF11 to its load terminal LD, latches the information latched in the latch circuit L10, and averages this information. It is added to the B input of the arithmetic circuit 42. The latch circuit L10 inputs the pulse signal delayed by the time interval of two clock pulses by the delay flip-flops DF11 and DF12 to its load terminal LD,
(information indicating the time interval from when the counter 41 is reset by the output of the AND circuit A15 or A16 to when the latch circuit is activated by the output of the AND circuit A17 or A18), and the delay is flip flop
The output of the AND circuit A18, which is delayed by a time interval of two clock pulses by DF13 and DF14 and inverted by the inverter IN13, is latched as sign information, and this information is added to the C input of the average value calculation circuit 42. Note that when the code information is "0" (when the output of the AND circuit A18 is "1"), the deviation of the signal TSW from the code matching signal LEQ is "negative", that is, from the output timing of the code length matching signal LEQ. also indicates that the output timing of the signal TSW is delayed, and when the code information is "1", it indicates that the deviation of the signal TSW with respect to the code length matching signal LEQ is "positive". Therefore, the note length match signal LEQ and the signal
When TSW is input at the timing shown in FIG. 4a and FIG. 4d, the latch circuit L10 first latches the information corresponding to the negative deviation t1 , and then the information corresponding to the positive deviation t2. Latch. The average value calculation circuit 42 includes latch circuits L8, L9,
The average value of the numerical information added from L10 is calculated, and this average value is output to the tempo oscillator 42 as correction data for the frequency of the tempo clock TCL. The tempo oscillator 43 has a variable frequency divider, and before performance, frequency division ratio data corresponding to the tempo set by the tempo setting device 38 is inputted from the tempo setting device 38, and based on this frequency division ratio data, high speed A tempo clock TCL is generated by frequency dividing the clock pulse, and when the correction data is added from the average value calculation circuit 42 based on the pressing timing of the tempo setting switch 32 during performance, the correction data is generated from the frequency division ratio data. The tempo clock TCL is generated by subtracting , and using this as new frequency division ratio data to divide the high speed clock pulse. Therefore, when the correction data is positive (when the average value of the deviations is positive), the frequency of the tempo clock TCL becomes higher and the tempo of automatic performance becomes faster. If the correction data is negative, the frequency of the tempo clock TTCL will be lower, and the tempo of automatic performance will be slower. As explained above, according to the present invention, when the operation timing is delayed with respect to the timing when the operation should be performed, the automatic performance is temporarily stopped, thereby making it possible to match the progress of the keyboard performance and the automatic performance.
It is also possible to temporarily stop the automatic performance if you hit a key incorrectly, which can be expected to be very effective for practicing keystrokes on the keyboard. Further, since the tempo can be set or changed by the timing of pressing the tempo setting switch, the tempo of automatic performance can be easily set to a desired tempo.
第1図はこの発明の一実施例を示すブロツク
図、第2図はこの発明にかかるテンポパルス発生
回路の一実施例を示すブロツク図、第3図はこの
発明にかかるテンポパルス発生回路の他の実施例
を示すブロツク図、第4図は第3図の動作を説明
するために用いたタイミングチヤートである。
1……楽譜、2……データ読取装置、3……伴
奏用鍵盤、4……メロデイ用鍵盤、5……オブリ
ガードデータメモリ、6……メロデイデータメモ
リ、7,8……データ書込読出制御回路、11,
12……符長カウンタ、13……アドレスカウン
タ、14……鍵表示装置、15,24,26……
比較器、17,25……メロデイ音形成回路、2
3……オブリガード音形成回路、27……テンポ
パルス発生回路、28……パターンメモリ、29
……伴奏音形成回路、30……リズム音源回路、
32……テンポ設定スイツチ、34,35,41
……カウンタ、36,42……平均値演算回路、
37……可変分周器、38……テンポ設定器、4
3……テンポ発振器。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing an embodiment of the tempo pulse generating circuit according to the present invention, and FIG. 3 is a block diagram showing an embodiment of the tempo pulse generating circuit according to the present invention. FIG. 4 is a timing chart used to explain the operation of FIG. 3. 1...Score, 2...Data reading device, 3...Accompaniment keyboard, 4...Melody keyboard, 5...Obligado data memory, 6...Melody data memory, 7, 8...Data writing/reading control circuit, 11,
12... Note length counter, 13... Address counter, 14... Key display device, 15, 24, 26...
Comparator, 17, 25... Melody sound forming circuit, 2
3...Obligado sound forming circuit, 27...Tempo pulse generation circuit, 28...Pattern memory, 29
... Accompaniment sound formation circuit, 30 ... Rhythm sound source circuit,
32...Tempo setting switch, 34, 35, 41
... Counter, 36, 42 ... Average value calculation circuit,
37... Variable frequency divider, 38... Tempo setter, 4
3... Tempo oscillator.
Claims (1)
ンポクロツク発生手段と、 前記記憶手段から前記符長データを順次読み出
す読出手段と、 前記読出手段によつて読み出された符長データ
の示す前記鍵盤を操作すべきタイミングと前記鍵
盤の操作タイミングとを比較し、前記操作すべき
タイミングに対して前記操作タイミングが早い場
合は、前記操作すべきタイミングまで待つて前記
記憶手段から符長データを読み出すように前記読
出手段を制御し、遅い場合は前記操作すべきタイ
ミングから前記操作タイミングまでの間前記自動
演奏の進行を一時停止し、前記操作タイミングに
同期して前記記憶手段から符長データを読み出す
ように前記読出手段を制御する制御手段と を具えた自動演奏装置。 2 前記テンポクロツク発生手段は、 テンポ設定スイツチと、 前記テンポ設定スイツチの押圧間隔を基準間隔
として、該基準間隔に対応する周波数のテンポク
ロツクを発生する手段と を具備した特許請求の範囲第1項記載の自動演奏
装置。 3 前記テンポクロツク発生手段は、 テンポ設定スイツチと、 テンポ設定手段と、 テンポ発振器と を具備し、 前記テンポ発振器は、前記テンポ設定手段の出
力に基づいて初期テンポクロツクの発振周波数を
決定し、 前記操作すべきタイミングと前記テンポ設定ス
イツチの押圧タイミングとのずれに基づいて前記
初期テンポクロツクの発振周波数を補正する特許
請求の範囲第1項記載の自動演奏装置。 4 前記記憶手段は、 前記符長データとともに音高データを記憶し、 前記音高データは前記読出手段によつて読み出
されて押鍵表示装置に加えられ、押鍵すべき鍵を
表示する特許請求の範囲第1項記載の自動演奏装
置。 5 前記制御手段は、前記操作すべきタイミング
から操作タイミングまでの間、前記テンポクロツ
クの発生を禁止することにより前記自動演奏の進
行を一時停止する特許請求の範囲第1項記載の自
動演奏装置。 6 前記自動演奏は、自動リズム演奏、自動コー
ド演奏、自動ベース演奏、自動リズム演奏および
自動オブリガード演奏の少なくとも1つを含む特
許請求の範囲第1項記載の自動演奏装置。[Scope of Claims] 1. A keyboard, storage means for storing at least note length data, tempo clock generation means for generating a tempo clock for advancing automatic performance, reading means for sequentially reading out the note length data from the storage means, and the above. The timing at which the keyboard should be operated, which is indicated by the note length data read by the reading means, is compared with the operation timing of the keyboard, and if the operation timing is earlier than the timing at which the keyboard should be operated, the operation is performed. The reading means is controlled so as to wait until the desired timing and then read out the note length data from the storage means, and if it is too late, the progress of the automatic performance is temporarily stopped from the desired timing to the operating timing, and an automatic performance device comprising: control means for controlling the reading means to read note length data from the storage means in synchronization with operation timing. 2. The tempo clock generating means comprises: a tempo setting switch; and means for generating a tempo clock at a frequency corresponding to the reference interval, using the pressing interval of the tempo setting switch as a reference interval. Automatic performance device. 3. The tempo clock generation means includes a tempo setting switch, a tempo setting means, and a tempo oscillator, and the tempo oscillator determines the oscillation frequency of the initial tempo clock based on the output of the tempo setting means, and 2. The automatic performance apparatus according to claim 1, wherein the oscillation frequency of the initial tempo clock is corrected based on the difference between the timing at which the tempo setting switch should be pressed and the timing at which the tempo setting switch is pressed. 4. The storage means stores pitch data together with the note length data, and the pitch data is read out by the readout means and added to a pressed key display device to display the key to be pressed. An automatic performance device according to claim 1. 5. The automatic performance device according to claim 1, wherein the control means temporarily stops the progress of the automatic performance by prohibiting generation of the tempo clock from the timing at which the operation is to be performed to the operation timing. 6. The automatic performance device according to claim 1, wherein the automatic performance includes at least one of automatic rhythm performance, automatic chord performance, automatic bass performance, automatic rhythm performance, and automatic obbligato performance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57055877A JPS58172697A (en) | 1982-04-02 | 1982-04-02 | Automatic performer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57055877A JPS58172697A (en) | 1982-04-02 | 1982-04-02 | Automatic performer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58172697A JPS58172697A (en) | 1983-10-11 |
JPH0432397B2 true JPH0432397B2 (en) | 1992-05-29 |
Family
ID=13011319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57055877A Granted JPS58172697A (en) | 1982-04-02 | 1982-04-02 | Automatic performer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58172697A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2707853B2 (en) * | 1991-03-01 | 1998-02-04 | ヤマハ株式会社 | Key press indicating device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS575098A (en) * | 1980-06-11 | 1982-01-11 | Nippon Musical Instruments Mfg | Automatic performance device |
JPS6327719A (en) * | 1986-07-22 | 1988-02-05 | Sumitomo Chem Co Ltd | Portionwise collection of very small amount of powder |
-
1982
- 1982-04-02 JP JP57055877A patent/JPS58172697A/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS575098A (en) * | 1980-06-11 | 1982-01-11 | Nippon Musical Instruments Mfg | Automatic performance device |
JPS6327719A (en) * | 1986-07-22 | 1988-02-05 | Sumitomo Chem Co Ltd | Portionwise collection of very small amount of powder |
Also Published As
Publication number | Publication date |
---|---|
JPS58172697A (en) | 1983-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4484507A (en) | Automatic performance device with tempo follow-up function | |
JPH022153B2 (en) | ||
US4357854A (en) | Automatic rhythm performance device | |
JPH0432397B2 (en) | ||
JPS648832B2 (en) | ||
JPH0125994Y2 (en) | ||
JPS6037599A (en) | Automatic performer | |
JPH0436398B2 (en) | ||
JPH0363759B2 (en) | ||
JPH0367276B2 (en) | ||
JPS5824193A (en) | Electronic musical instrument | |
JPH0631977B2 (en) | Electronic musical instrument | |
JPS648837B2 (en) | ||
JPS6253839B2 (en) | ||
JPS6344228B2 (en) | ||
JPH0155471B2 (en) | ||
JPS6327718B2 (en) | ||
JPS5990895A (en) | Tempo controller for automatically performing machine | |
JPH058638Y2 (en) | ||
JPH0434755B2 (en) | ||
JPS5824194A (en) | Electronic musical instrument | |
JPH0157917B2 (en) | ||
JPS6321040Y2 (en) | ||
JP2639380B2 (en) | Automatic performance device | |
JPS62135894A (en) | Automatic accompanying apparatus |