JPH0728467A - Chord detecting device - Google Patents

Chord detecting device

Info

Publication number
JPH0728467A
JPH0728467A JP5191833A JP19183393A JPH0728467A JP H0728467 A JPH0728467 A JP H0728467A JP 5191833 A JP5191833 A JP 5191833A JP 19183393 A JP19183393 A JP 19183393A JP H0728467 A JPH0728467 A JP H0728467A
Authority
JP
Japan
Prior art keywords
key
chord
time
performance data
musical performance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5191833A
Other languages
Japanese (ja)
Other versions
JP2629564B2 (en
Inventor
Atsushi Tougi
温 東儀
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 JP5191833A priority Critical patent/JP2629564B2/en
Priority to US08/270,457 priority patent/US5641928A/en
Publication of JPH0728467A publication Critical patent/JPH0728467A/en
Application granted granted Critical
Publication of JP2629564B2 publication Critical patent/JP2629564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To accurately detect a chord on the basis of musical performance data which are generated in a normal musical performance state without any special musical performance for chord detection. CONSTITUTION:An input means input musical performance data regarding key depression, key release, etc., which are generated according to operation on a keyboard 8, etc. A key depression state detecting means 5 detects a key depression state within a specific time on the basis of the musical performance data inputted through this input means. A chord detecting means detects a chord with a specific reference time signal irrelevantly to the input time of the musical performance data from the input means on the basis of the key depression state detected by the key depression state detecting means 5 at specific periodically set intervals of time and the musical performance data corresponding to the key depression state. For example, when there is only one peak of the number of depressed keys in a specific time, the chord is detected on the basis of the musical performance data at the peak time and when there are >=2 peaks of the number of depressed keys, the chord is detected on the basis of the musical performance data at peak time right before it or on the basis of the musical performance data generated when the longest peak time is obtained.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は鍵盤楽器等の演奏に応
じて発生した演奏データに基づいて和音を検出する和音
検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a chord detecting device for detecting chords based on performance data generated in response to performance of a keyboard instrument or the like.

【0002】[0002]

【従来の技術】和音検出装置は、例えば電子楽器の鍵盤
を手弾き演奏(押鍵)することにより発生した演奏デー
タすなわち各ノートのオン・オフ状態の組み合わせ(押
鍵パターン)に対応した和音の根音及び種類(タイプ)
を検出するものである。従来の和音検出装置は、押鍵イ
ベントが発生する毎にその押鍵パターンに基づいて和音
を検出したり、又は全鍵離鍵の状態から最初の押鍵イベ
ントが発生してから所定時間が経過するまでの間に発生
した押鍵イベントのパターンに応じて和音を検出したり
していた。
2. Description of the Related Art A chord detecting device generates chords corresponding to a combination of performance data, that is, a combination of on / off states of each note (key depression pattern), which is generated by playing a keyboard of an electronic musical instrument (key depression). Root sound and type
Is to detect. The conventional chord detection device detects a chord each time a key press event occurs based on the key press pattern, or a predetermined time elapses after the first key press event occurs in the state where all keys are released. The chord was detected according to the pattern of the key depression event that occurred until the time.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
方法は、新たに和音を検出する前に予め全鍵を離鍵状態
にした後でなければ、和音を検出することができないの
で、全鍵が離鍵状態となるように和音検出用の特別の演
奏を行わなければならず、通常の演奏状態(メロディー
演奏等)の下では全鍵が離鍵状態にならない限り、和音
を検出することができないという問題を有する。
However, in the conventional method, the chord cannot be detected unless all the keys are released before the new chord is detected. A special performance for chord detection must be performed so that the keys are released. Under normal performance conditions (melody performance, etc.), chords cannot be detected unless all keys are released. Have the problem.

【0004】この発明は上述の点に鑑みてなされたもの
であり、和音検出のための特別な演奏を行わなくても通
常の演奏状態で発生する演奏データに基づいて和音を正
確に検出することのできる和音検出装置を提供すること
を目的とする。
The present invention has been made in view of the above points, and can accurately detect chords on the basis of performance data generated in a normal performance state without performing a special performance for detecting chords. It is an object of the present invention to provide a chord detection device capable of playing.

【0005】[0005]

【課題を解決するための手段】この発明に係る和音検出
装置は、演奏に対応して発生する演奏データを入力する
入力手段と、前記演奏データに基づいて所定時間内にお
ける押鍵状態を検出する押鍵状態検出手段と、前記入力
手段からの演奏データの入力時刻とは無関係に所定の基
準時間信号に基づいて定期的に設定される前記所定時間
毎に前記押鍵状態検出手段で検出された押鍵状態及びそ
の押鍵状態に対応した演奏データに基づいて和音を検出
する和音検出手段とを具えたものである。
SUMMARY OF THE INVENTION A chord detecting device according to the present invention detects a key-depression state within a predetermined time on the basis of input means for inputting performance data generated corresponding to a performance and the performance data. The key-depression state detecting means and the key-depression state detecting means detect the key-depression state at every predetermined time which is periodically set based on a predetermined reference time signal irrespective of the input time of the performance data from the input means. It is provided with chord detection means for detecting a chord based on a key-depressed state and performance data corresponding to the key-depressed state.

【0006】[0006]

【作用】従来は、押鍵に関する演奏データが入力した
ら、その入力時刻に同期させて、和音検出処理を行って
いた。ところが、この発明の和音検出装置は演奏データ
の入力時刻とは無関係に所定の基準時間信号に基づいて
定期的に設定される所定時間毎に和音の検出を行ってい
る。すなわち、押鍵状態検出手段は入力手段から次々と
入力してくる演奏データに基づいて前記所定時間内にお
ける押鍵状態を検出する。すなわち、演奏データの中に
は、押鍵及び離鍵に関するものが存在するので、押鍵状
態検出手段は所定時間内に入力手段から押鍵に関するデ
ータが入力した場合には1だけ増加し、離鍵に関するデ
ータが入力した場合には1だけ減少することによって、
所定時間内における押鍵数の変化を押鍵状態として検出
する。
In the past, when performance data regarding key depression was input, chord detection processing was performed in synchronization with the input time. However, the chord detection device of the present invention detects chords at predetermined time intervals that are periodically set based on a predetermined reference time signal, regardless of the input time of performance data. That is, the key-depression state detecting means detects the key-depression state within the predetermined time, based on the performance data successively input from the input means. That is, since the performance data includes data related to key depression and key release, the key depression state detection means increases by 1 when data related to key depression is input from the input means within a predetermined time, and the key release state is released. When the data related to the key is input, it is decreased by 1
A change in the number of key presses within a predetermined time is detected as a key press state.

【0007】和音検出手段は、この押鍵状態検出手段で
検出された押鍵状態及び演奏データに基づいて入力手段
からの演奏データの入力時刻とは無関係に所定の基準時
間信号に基づいて定期的に設定される所定時間毎に和音
を検出する。すなわち、押鍵状態は、押鍵及び離鍵に関
するデータに応じて所定時間内で種々変化するので、和
音検出手段は所定時間内における押鍵状態に基づいて最
も効率的に和音を検出することのできる方法で和音を検
出する。例えば、所定時間内に押鍵数のピークが1つし
か存在しない場合には、そのピーク時における演奏デー
タに基づいて和音を検出したり、又は押鍵数のピークが
2以上存在する場合には、その中の直前のピーク時にお
ける演奏データに基づいて和音を検出したり、若しくは
ピーク時間の最も長い時の演奏データに基づいて和音を
検出したりする。これによって、和音検出のための特別
な演奏を行わなくても通常の演奏状態で発生する演奏デ
ータに基づいて和音を正確に検出することができるよう
になる。
The chord detecting means is based on the key-depression state and the performance data detected by the key-depression state detecting means, and periodically based on a predetermined reference time signal regardless of the input time of the performance data from the input means. The chord is detected at every predetermined time set to. That is, the key depression state changes variously within a predetermined time period according to the data regarding key depression and key release, so that the chord detection means can detect the chord most efficiently based on the key depression state within the predetermined time period. Detect chords in any way you can. For example, when there is only one peak in the number of key presses within a predetermined time, a chord is detected based on the performance data at the peak, or when there are two or more peak key presses. , A chord is detected based on the performance data at the immediately preceding peak time, or a chord is detected based on the performance data at the longest peak time. This makes it possible to accurately detect chords on the basis of performance data generated in a normal performance state without performing a special performance for detecting chords.

【0008】[0008]

【実施例】以下、添付図面を参照してこの発明の一実施
例を詳細に説明する。図2はこの発明に係る和音検出装
置を内蔵した電子楽器のハードウェア構成を示すブロッ
ク図である。この実施例の電子楽器は、マイクロプロセ
ッサユニット(CPU)1、プログラムメモリ(RO
M)2、ワーキングメモリ(RAM)3を含むマイクロ
コンピュータの制御の下に各種の処理を実行するように
なっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 2 is a block diagram showing the hardware configuration of an electronic musical instrument incorporating the chord detection device according to the present invention. The electronic musical instrument of this embodiment includes a microprocessor unit (CPU) 1, a program memory (RO
M) 2 and various memories are executed under the control of a microcomputer including a working memory (RAM) 3.

【0009】CPU1は、この電子楽器全体の動作を制
御するものである。このCPU1に対して、データ及び
アドレスバス13を介してプログラムメモリ2、ワーキ
ングメモリ3、自動伴奏装置4、押鍵検出回路5、スイ
ッチ検出回路6、音源回路7が接続されている。
The CPU 1 controls the operation of the entire electronic musical instrument. A program memory 2, a working memory 3, an automatic accompaniment device 4, a key pressing detection circuit 5, a switch detection circuit 6, and a tone generator circuit 7 are connected to the CPU 1 via a data and address bus 13.

【0010】プログラムメモリ2はCPU1のシステム
プログラム、楽音に関する各種パラメータや各種データ
等を格納しているものであり、リードオンリーメモリ
(ROM)で構成されている。ワーキングメモリ3は、
CPU1がプログラムを実行する際に発生する各種のデ
ータやフラグを一時的に記憶するものであり、ランダム
アクセスメモリ(RAM)の所定のアドレス領域がそれ
ぞれ割り当てられる。自動伴奏装置4は、和音の根音及
び種類(タイプ)に関するデータやベース進行に関する
データ等を記憶した伴奏パターンメモリを内蔵してお
り、これらのデータに基づいて自動伴奏音を生成する。
The program memory 2 stores a system program of the CPU 1, various parameters and various data relating to musical tones, and is composed of a read only memory (ROM). Working memory 3
The CPU 1 temporarily stores various data and flags generated when the CPU 1 executes the program, and a predetermined address area of a random access memory (RAM) is allocated to each. The automatic accompaniment apparatus 4 has a built-in accompaniment pattern memory that stores data regarding roots and types of chords, data regarding bass progression, and the like, and generates automatic accompaniment sounds based on these data.

【0011】鍵盤8は、発音すべき楽音の音高を選択す
るための複数の鍵を備えており、各鍵に対応したキース
イッチを有しており、また必要に応じて押圧力検出装置
等のタッチ検出手段を有している。鍵盤8は音楽演奏の
ための基本的な操作子であり、これ以外の演奏操作子で
もよいことはいうまでもない。
The keyboard 8 is provided with a plurality of keys for selecting the pitch of a musical tone to be produced, has a key switch corresponding to each key, and if necessary, a pressing force detecting device or the like. It has a touch detection means. It is needless to say that the keyboard 8 is a basic operator for playing music, and may be a performance operator other than this.

【0012】押鍵検出回路5は、発生すべき楽音の音高
を指定する鍵盤8のそれぞれの鍵に対応して設けられた
キースイッチ回路を含むものである。この押鍵検出回路
5は、鍵盤8の離鍵状態から押鍵状態への変化を検出し
てキーオンイベントを出力し、押鍵状態から離鍵状態へ
の変化を検出してキーオフイベントを出力すると共にそ
れぞれのキーオンイベント及びキーオフイベントに関す
る鍵の音高を示すキーコード(ノートナンバ)を出力す
る。押鍵検出回路5は、この他にも鍵押し下げ時の押鍵
操作速度や押圧力等を検出してベロシティデータやアフ
タタッチデータとして出力する。
The key depression detection circuit 5 includes a key switch circuit provided corresponding to each key of the keyboard 8 for designating the pitch of a musical tone to be generated. The key-depression detection circuit 5 detects a change from the key-released state to a key-depressed state of the keyboard 8 and outputs a key-on event, and detects a change from the key-depressed state to the key-released state and outputs a key-off event. At the same time, a key code (note number) indicating the pitch of the key for each key-on event and key-off event is output. In addition to this, the key-depression detection circuit 5 detects a key-depression operation speed, a pressure, and the like when the key is depressed, and outputs it as velocity data or after-touch data.

【0013】スイッチ検出回路6は、パネルスイッチ9
に設けられた各々の操作子(スイッチ)に対応して設け
られており、各々の操作子の操作状況に応じた操作デー
タをイベント情報として出力する。パネルスイッチ9
は、自動伴奏のスタート/ストップ、スタイル、発生す
べき楽音の音色、音量、音高、効果等を選択、設定、制
御するための各種の操作子を含むものである。
The switch detection circuit 6 includes a panel switch 9
It is provided corresponding to each operator (switch) provided in the, and outputs operation data according to the operation status of each operator as event information. Panel switch 9
Includes various operators for selecting, setting, and controlling automatic accompaniment start / stop, style, tone color of musical tone to be generated, volume, pitch, effect, and the like.

【0014】音源回路7は、複数のチャンネルで楽音信
号の同時発生が可能であり、データ及びアドレスバス1
3を経由して与えられる演奏データの内、メロディ演奏
に関するものを入力し、それに基づいたメロディに関す
る楽音信号を発生する。ミキサ10は、音源回路7から
のメロディに関する楽音信号と自動伴奏装置4からの和
音演奏又はベース演奏に関する楽音信号とを入力し、両
者を混合した楽音信号をサウンドシステム11に出力す
る。
The tone generator circuit 7 is capable of simultaneously generating musical tone signals on a plurality of channels.
Of the performance data given via 3, data relating to the melody performance is input, and a musical tone signal relating to the melody is generated based on the input data. The mixer 10 inputs the musical tone signal regarding the melody from the tone generator circuit 7 and the musical tone signal regarding the chord performance or the bass performance from the automatic accompaniment device 4, and outputs a musical tone signal obtained by mixing the both to the sound system 11.

【0015】自動伴奏装置4や音源回路7における楽音
信号発生方式はいかなるものを用いてもよい。例えば、
発生すべき楽音の音高に対応して変化するアドレスデー
タに応じて波形メモリに記憶した楽音波形サンプル値デ
ータを順次読み出すメモリ読み出し方式、又は上記アド
レスデータを位相角パラメータデータとして所定の周波
数変調演算を実行して楽音波形サンプル値データを求め
るFM方式、あるいは上記アドレスデータを位相角パラ
メータデータとして所定の振幅変調演算を実行して楽音
波形サンプル値データを求めるAM方式等の公知の方式
を適宜採用してもよい。
Any musical tone signal generating method may be used in the automatic accompaniment apparatus 4 and the tone generator circuit 7. For example,
A memory reading method for sequentially reading the musical tone waveform sample value data stored in the waveform memory according to the address data that changes corresponding to the pitch of the musical tone to be generated, or a predetermined frequency modulation calculation using the above address data as phase angle parameter data. And a known method such as an FM method for obtaining musical tone waveform sample value data or a method for performing a predetermined amplitude modulation calculation using the above address data as phase angle parameter data to obtain musical tone waveform sample value data. You may.

【0016】ミキサ10で混合された楽音信号はサウン
ドシステム11内のデジタル−アナログ変換器(AD
C)、アンプ及びスピーカを介して発音される。タイマ
12は和音検出用の所定時間間隔を計時したり、自動伴
奏のテンポを設定したりするためのテンポクロックパル
スを発生するものであり、このテンポクロックパルスの
周波数はパネルスイッチ9上のテンポスイッチ(図示し
ていない)によって調整される。発生したテンポクロッ
クパルスはCPU1に対してインタラプト命令として与
えられ、CPU1はインタラプト処理により自動伴奏の
各種処理を実行する。
The tone signal mixed by the mixer 10 is converted into a digital-analog converter (AD) in the sound system 11.
C), sound is produced via an amplifier and a speaker. The timer 12 generates a tempo clock pulse for measuring a predetermined time interval for chord detection and setting the tempo of automatic accompaniment. The frequency of this tempo clock pulse is the tempo switch on the panel switch 9. (Not shown). The generated tempo clock pulse is given to the CPU 1 as an interrupt command, and the CPU 1 executes various processes of automatic accompaniment by the interrupt process.

【0017】次に、マイクロコンピュータによって実行
される和音検出装置の処理の一例を図1、図3及び図4
のフローチャートに基づいて説明する。図3は、マイク
ロコンピュータが処理するメインルーチンの一例を示す
図である。このメインルーチンはつぎのようなステップ
で順番に実行される。
Next, an example of the processing of the chord detection device executed by the microcomputer will be described with reference to FIGS. 1, 3 and 4.
A description will be given based on the flowchart. FIG. 3 is a diagram showing an example of a main routine processed by the microcomputer. This main routine is sequentially executed in the following steps.

【0018】ステップ31:まず、電源が投入される
と、CPU1はプログラムメモリ2に格納されている制
御プログラムに応じた処理を開始する。そして、この
「初期設定」処理では、ワーキングメモリ3内の各種レ
ジスタやフラグ等を初期化する。 ステップ32:押鍵検出回路5をスキャンして鍵盤8が
操作され、キーイベントが発生したかどうかを判定し、
キーイベント有り(YES)の場合は次のステップ33
に進み、キーイベント無し(NO)の場合はステップ3
4にジャンプする。
Step 31: First, when the power is turned on, the CPU 1 starts the processing according to the control program stored in the program memory 2. Then, in this "initial setting" processing, various registers and flags in the working memory 3 are initialized. Step 32: Scan the key-depression detection circuit 5 to operate the keyboard 8 to determine whether or not a key event has occurred,
If there is a key event (YES), the next step 33
If there is no key event (NO), go to step 3
Jump to 4.

【0019】ステップ33は鍵盤8が操作され、キーイ
ベントが発生する毎に行われる処理である。この処理の
詳細は図4に示されているので、後述する。 ステップ34:スイッチ検出回路6をスキャンしてスタ
ート/ストップスイッチが操作され、オンイベントが発
生したかどうかを判定し、オンイベント有り(YES)
の場合は次のステップ35に進み、オンイベント無し
(NO)の場合はステップ39にジャンプする。
Step 33 is a process performed each time the keyboard 8 is operated and a key event occurs. Details of this processing are shown in FIG. 4, and will be described later. Step 34: Scan the switch detection circuit 6 to operate the start / stop switch to determine whether an on event has occurred, and there is an on event (YES).
In case of NO, the process proceeds to the next step 35, and in case of no ON event (NO), the process jumps to step 39.

【0020】ステップ35:演奏走行状態フラグRUN
を反転する。すなわち、この実施例では、スタート/ス
トップスイッチが操作される毎に自動伴奏が開始又は停
止する。 ステップ36:演奏走行状態フラグRUNが『1』かど
うかを判定し、『1』(YES)の場合、すなわち自動
伴奏が開始される場合は次のステップ37に進み、そう
でない(NO)場合、すなわち自動伴奏が停止される場
合はステップ38進む。 ステップ37:前のステップ36の処理で演奏走行状態
フラグRUNが反転された結果、それが『1』である
と、すなわち自動伴奏が開始されたと判定されたので、
ここでは自動伴奏装置4にスタート信号を出力する。 ステップ38:同じく前のステップ36の処理で演奏走
行状態フラグRUNが反転された結果、それが『0』で
あると、すなわち自動伴奏が停止されたと判定されたの
で、自動伴奏装置4にストップ信号を出力する。 ステップ39:パネルスイッチ9上のスタイル選択スイ
ッチのオンイベント有りかどうかを判定し、オンイベン
ト有り(YES)の場合は次のステップ3Aに進み、そ
うでない(NO)場合はステップ3Cにジャンプする。 ステップ3A:スタイル選択スイッチで選択された演奏
のスタイル番号をスタイルレジスタSTYLに格納す
る。ここでスタイルとは、ロック、ワルツ、ボサノバ、
マーチ、サンバ等の各種のリズムに従った演奏スタイル
のことである。
Step 35: Performance running state flag RUN
Invert. That is, in this embodiment, the automatic accompaniment starts or stops each time the start / stop switch is operated. Step 36: It is determined whether or not the performance running state flag RUN is "1". If "1" (YES), that is, if automatic accompaniment is started, the process proceeds to the next step 37, otherwise (NO), That is, when the automatic accompaniment is stopped, the process proceeds to step 38. Step 37: As a result of the performance running state flag RUN being inverted in the process of the previous step 36, it is determined that it is "1", that is, the automatic accompaniment is started,
Here, a start signal is output to the automatic accompaniment device 4. Step 38: Similarly, as a result of the performance running state flag RUN being inverted in the process of the previous step 36, it is determined that it is "0", that is, the automatic accompaniment is stopped, so the stop signal is sent to the automatic accompaniment apparatus 4. Is output. Step 39: It is determined whether or not there is an on event of the style selection switch on the panel switch 9. If there is an on event (YES), the process proceeds to the next step 3A, and if not (NO), the process jumps to step 3C. Step 3A: The style number of the performance selected by the style selection switch is stored in the style register STYL. Style means rock, waltz, bossa nova,
It is a performance style that follows various rhythms such as march and samba.

【0021】ステップ3B:スタイルレジスタSTYL
に対応する演奏スタイルの各パートの音色を、それぞれ
の音色に対応したチャンネル番号と共に自動伴奏装置4
に出力する。 ステップ3C:パネルスイッチ9におけるその他の操作
子の操作に基づく処理や、その他の音量変更処理等の種
々の処理をおこなう。
Step 3B: Style register STYL
The tone color of each part of the performance style corresponding to, along with the channel number corresponding to each tone color
Output to. Step 3C: Various processes such as a process based on the operation of other operators on the panel switch 9 and other volume changing processes are performed.

【0022】図4は、マイクロコンピュータが処理する
図3のステップ33のキーイベント処理の一例を示す図
である。このキーイベント処理は鍵盤8が操作され、キ
ーイベントが発生する毎に、つぎのようなステップで順
番に実行される。
FIG. 4 is a diagram showing an example of the key event process of step 33 of FIG. 3 processed by the microcomputer. This key event process is sequentially executed in the following steps every time the keyboard 8 is operated and a key event occurs.

【0023】ステップ41:キーイベントがキーオフイ
ベントかどうかを判定し、キーオフイベント(YES)
の場合はステップ42に進み、そうでない(NO)場合
はステップ4Aに進む。 ステップ42:前のステップ41でキーオンイベントと
判定されたので、そのキーオンイベントに対応するキー
コードをキーコードレジスタKCに格納する。 ステップ43:そのキーオンイベントに対応するキーコ
ードの発音処理(キーオン処理)をおこなう。
Step 41: It is judged whether or not the key event is the key-off event, and the key-off event (YES)
If No, the process proceeds to Step 42. If not (NO), the process proceeds to Step 4A. Step 42: Since the key-on event is determined in the previous step 41, the key code corresponding to the key-on event is stored in the key code register KC. Step 43: The tone generation processing (key-on processing) of the key code corresponding to the key-on event is performed.

【0024】ステップ44:キーコードレジスタKCに
格納されているキーコードをN番目のリストレジスタL
IST(N)に格納する。ここで、Nは変数レジスタの
格納値であり、この値は現在キーオン状態にある鍵の数
(押鍵数)を示すものである。従って、キーオンイベン
トがある毎にステップ45でインクリメント処理され、
逆にキーオフイベントがある毎にステップ50でデクリ
メント処理される。
Step 44: The key code stored in the key code register KC is transferred to the Nth list register L.
Store in IST (N). Here, N is the value stored in the variable register, and this value indicates the number of keys that are currently in the key-on state (the number of pressed keys). Therefore, every time there is a key-on event, it is incremented in step 45,
Conversely, each time there is a key-off event, decrement processing is performed in step 50.

【0025】ステップ45:変数レジスタNを1だけイ
ンクリメント処理する。これによって、この変数レジス
タNには現在の押鍵数が格納される。 ステップ46:キーコードバッファBF内のデータをク
リアし、リストレジスタLIST(i)に格納されてい
るキーコードをキーコードバッファBF(i)に格納し
て、リターンする。すなわち、キーオンイベントが発生
する毎にキーコードバッファ内のデータを現在押鍵中の
キーコードに書き換える。
Step 45: The variable register N is incremented by 1. As a result, the current number of pressed keys is stored in the variable register N. Step 46: Clear the data in the key code buffer BF, store the key code stored in the list register LIST (i) in the key code buffer BF (i), and return. That is, each time a key-on event occurs, the data in the key code buffer is rewritten to the key code currently being pressed.

【0026】ステップ47:前のステップ41でキーオ
フイベントと判定されたので、そのキーオフイベントに
対応するキーコードをキーコードレジスタKCに格納す
る。 ステップ48:そのキーオフイベントに対応するキーコ
ードの消音処理(キーオフ処理)をおこなう。
Step 47: Since the key-off event is determined in the previous step 41, the key code corresponding to the key-off event is stored in the key code register KC. Step 48: Mute processing (key-off processing) of the key code corresponding to the key-off event is performed.

【0027】ステップ49:リストレジスタLIST
(0)〜LIST(N−1)の中からキーオフイベント
に対応するキーコードすなわちステップ47でキーコー
ドレジスタKCに格納されたキーコードを検索して削除
する。そして、削除によって生じたリストレジスタLI
STの空き領域を無くすために、これより後のキーコー
ドを前に詰める。 ステップ48:前のステップ49でリストレジスタLI
STからキーコードが削除されたので、それに合わせて
変数レジスタNを1だけデクリメント処理して、リター
ンする。
Step 49: List register LIST
The key code corresponding to the key-off event, that is, the key code stored in the key code register KC in step 47 is searched and deleted from (0) to LIST (N-1). Then, the list register LI generated by the deletion
In order to eliminate the ST empty area, the key code after this is packed forward. Step 48: List register LI from previous step 49
Since the key code has been deleted from ST, the variable register N is decremented by 1 in accordance with it, and the process returns.

【0028】図1は、1小節当たり96回の割り込みで
実行されるタイマインタラプト処理を示す図である。こ
の処理では、和音検出の制御を行う。この処理はつぎの
ようなステップで順番に実行される。 ステップ21:演奏走行状態フラグRUNが『1』かど
うかを判定し、『1』(YES)の場合、すなわち自動
伴奏が開始される場合は次のステップ22に進み、そう
でない(NO)場合、すなわち自動伴奏が停止される場
合はリターンする。 ステップ22:キーコードバッファBF(0)〜BF
(N−1)に格納されているキーコードを音の低い順に
ソートし(並び変え)、そのソートした結果をソートレ
ジスタSRT(0)〜SRT(N−1)に格納する。
FIG. 1 is a diagram showing a timer interrupt process executed by 96 interrupts per bar. In this process, chord detection control is performed. This process is sequentially executed in the following steps. Step 21: It is judged whether or not the performance running state flag RUN is "1", and if "1" (YES), that is, if automatic accompaniment is started, proceed to the next step 22, otherwise (NO), That is, the process returns when the automatic accompaniment is stopped. Step 22: Key code buffer BF (0) to BF
The key codes stored in (N-1) are sorted (sorted) in ascending order of sound, and the sorted results are stored in sort registers SRT (0) to SRT (N-1).

【0029】ステップ23:キーコードバッファBF
(i)に格納されているキーコードの数が4個の場合に
はソートレジスタSRT(0)〜SRT(3)に格納さ
れている4個のキーコードに基づいて和音を検出する。
キーコードバッファBF(i)に格納されているキーコ
ードの数が4個以下の場合には、その個数に対応して、
ソートレジスタSRT(0)〜SRT(2)、SRT
(0)〜SRT(1)又はSRT(0)内のキーコード
に基づいて和音を検出する。なお、キーコードの数が2
個又は1個の場合には、前に検出された和音に基づいて
和音タイプを検出する。
Step 23: Key code buffer BF
When the number of key codes stored in (i) is four, a chord is detected based on the four key codes stored in the sort registers SRT (0) to SRT (3).
When the number of key codes stored in the key code buffer BF (i) is 4 or less,
Sort registers SRT (0) to SRT (2), SRT
A chord is detected based on the key code in (0) to SRT (1) or SRT (0). The number of key codes is 2
In the case of one or one, the chord type is detected based on the previously detected chord.

【0030】ステップ24:和音検出が終了したかどう
か、すなわち前のステップ23の処理によって和音を検
出することができたかどうかを判定し、和音検出が終了
した(YES)場合は次のステップ25に進み、終了し
ていない(NO)場合はリターンする。すなわち、ソー
トレジスタSRT(i)内のキーコードの組み合わせに
基づいて和音を検出できない場合が存在するので、その
場合には直ちにリターンする。 ステップ25:検出された和音の根音を根音レジスタR
Tに格納し、検出された和音の種類を和音タイプレジス
タTPに格納する。 ステップ26:根音レジスタRT及び和音タイプレジス
タTPに格納されている根音及び和音の種類を自動伴奏
装置4に出力する。これによって、自動伴奏装置4は検
出された和音に基づいた伴奏を行う。
Step 24: It is judged whether or not the chord detection is completed, that is, whether or not the chord can be detected by the process of the previous step 23. If the chord detection is completed (YES), the process proceeds to the next step 25. Proceed, and if not completed (NO), return. That is, there is a case where the chord cannot be detected based on the combination of the key codes in the sort register SRT (i), and in that case, the process immediately returns. Step 25: Root register R of the detected root of the chord
The stored chord type is stored in T and the detected chord type is stored in the chord type register TP. Step 26: Output the types of root note and chord stored in the root note register RT and the chord type register TP to the automatic accompaniment apparatus 4. As a result, the automatic accompaniment device 4 performs accompaniment based on the detected chord.

【0031】図5はこの実施例に係る和音検出装置の動
作を説明するための図であり、横軸に時間を、縦軸に押
鍵状態すなわち押鍵数を示す。図5の(a)は押鍵の途
中で第1取り込み時刻t1となり、押鍵の途中で第2取
り込み時刻t2となった場合を示す。図5の(b)は押
鍵の途中で第1取り込み時刻t1となり、第2取り込み
時刻t2よりも前に全鍵離鍵状態となった場合を示す。
図5の(c)は第1取り込み時刻t1と第2取り込み時
刻t2との間に押鍵及び離鍵が行われた場合を示す。図
5の(d)は押鍵の途中で第1取り込み時刻t1とな
り、第1取り込み時刻t1と第2取り込み時刻t2との
間で押鍵及び離鍵が行われ、押鍵数のピークが2ヵ所生
じた場合を示す。
FIG. 5 is a diagram for explaining the operation of the chord detection device according to this embodiment, in which the horizontal axis represents time and the vertical axis represents the key depression state, that is, the number of keys depressed. FIG. 5A shows a case where the first loading time t1 is reached during the key depression and the second loading time t2 is reached during the key depression. FIG. 5B shows a case where the first key-in time t1 is reached in the middle of key depression, and all keys are released before the second key-in time t2.
FIG. 5C shows a case where key depression and key release are performed between the first loading time t1 and the second loading time t2. In (d) of FIG. 5, the first take-in time t1 is reached in the middle of key depression, key depression and key release are performed between the first take-in time t1 and the second take-in time t2, and the peak number of key depressions is 2 The case where it occurs in one place is shown.

【0032】まず、図5の(a)について説明する。図
5の(a)において、第1取り込み時刻t1前の時刻t
0から押鍵(キーオンイベント)が発生し、その押鍵数
は徐々に増加する。この押鍵に応じて、図4のキーイベ
ント処理のステップ41〜46が繰り返し実行され、キ
ーコードバッファBF(i)の内容は押鍵のたびに書き
換えられる。この時、押鍵数3個の途中で第1取り込み
時刻t1になると、図1の割込処理が実行される。キー
コードバッファBF(i)内には3個目の押鍵によって
書き換えられた最新のキーコードが3個格納されている
ので、図1の割込処理ではこの3個のキーコードに基づ
いて和音の検出処理が行われる。
First, FIG. 5A will be described. In FIG. 5A, time t before the first capture time t1
A key press (key-on event) occurs from 0, and the number of key presses gradually increases. In response to this key depression, steps 41 to 46 of the key event process of FIG. 4 are repeatedly executed, and the contents of the key code buffer BF (i) are rewritten every time the key is depressed. At this time, when the first fetch time t1 is reached while the number of key depressions is 3, the interrupt process of FIG. 1 is executed. In the key code buffer BF (i), the three latest key codes rewritten by the third key depression are stored, so in the interrupt processing of FIG. 1, chords are generated based on these three key codes. Is detected.

【0033】第1取り込み時刻t1以降も押鍵に応じ
て、図4のキーイベント処理のステップ41〜46が繰
り返し実行される。この例では、押鍵数5個の状態が維
持されたままである。第2取り込み時刻t2でも同様に
図1の割込処理が実行される。今回は、キーコードバッ
ファBF(i)内には5個目の押鍵によって書き換えら
れた最新のキーコードが5個格納されているので、図1
の割込処理ではこの5個のキーコードに基づいて和音の
検出処理が行われる。
Even after the first fetching time t1, steps 41 to 46 of the key event process of FIG. 4 are repeatedly executed in response to a key press. In this example, the state of five key presses is still maintained. The interrupt process of FIG. 1 is also executed at the second fetch time t2. This time, since the five latest key codes rewritten by the fifth key depression are stored in the key code buffer BF (i), FIG.
In the interrupt processing of, chord detection processing is performed based on these five key codes.

【0034】時刻taで離鍵(キーオフイベント)が開
始することによって、図4のステップ47〜4Aが繰り
返し実行され、これまでの押鍵に対応してリストレジス
タLIST(i)に格納されていたキーコードが次々と
削除され、リストレジスタLIST(i)内にはキーコ
ードが存在しなくなる。そして、次の押鍵(キーオン)
が発生することによって新たなキーコードがリストレジ
スタLIST(i)に格納され、所定時間すなわち取り
込み時刻毎に和音検出処理が実行されるようになる。
When the key release event (key-off event) starts at time ta, steps 47 to 4A of FIG. 4 are repeatedly executed and stored in the list register LIST (i) corresponding to the previous key depression. The key code is deleted one after another, and the key code does not exist in the list register LIST (i). And next key press (key on)
When a new key code is generated, a new key code is stored in the list register LIST (i), and the chord detection process is executed at a predetermined time, that is, at each fetch time.

【0035】次に、図5の(b)について説明する。図
5の(b)において、第1取り込み時刻t1よりも前の
時刻t0から押鍵(キーオンイベント)が発生し、その
押鍵数は徐々に増加する。この押鍵に応じて、図4のキ
ーイベント処理のステップ41〜46が繰り返し実行さ
れ、キーコードバッファBF(i)の内容は押鍵のたび
に書き換えられる。この時、押鍵数3個の途中で第1取
り込み時刻t1になると、図5の(a)と同様に図1の
割込処理が実行され、3個のキーコードに基づいて和音
の検出処理が行われる。
Next, FIG. 5B will be described. In FIG. 5B, a key depression (key-on event) occurs from time t0 before the first acquisition time t1, and the number of key depressions gradually increases. In response to this key depression, steps 41 to 46 of the key event process of FIG. 4 are repeatedly executed, and the contents of the key code buffer BF (i) are rewritten every time the key is depressed. At this time, when the first take-in time t1 is reached in the middle of pressing three keys, the interrupt process of FIG. 1 is executed as in the case of FIG. 5A, and the chord detection process is performed based on the three key codes. Is done.

【0036】第1取り込み時刻t1以降も押鍵に応じ
て、図4のキーイベント処理のステップ41〜46が繰
り返し実行される。そして、この例では第2取り込み時
刻t2前の時刻tbで離鍵(キーオフイベント)が始ま
り、第2取り込み時刻t2前に全鍵の離鍵が終了する。
すると、この離鍵に応じて図4のステップ47〜4Aが
実行され、リストレジスタLIST(i)からは次々と
対応するキーコードが削除され、第2取り込み時刻t2
の時点ではリストレジスタLIST(i)内には何らキ
ーコードが存在しなくなる。
Even after the first fetching time t1, steps 41 to 46 of the key event process of FIG. 4 are repeatedly executed in response to a key press. In this example, the key release (key-off event) starts at time tb before the second acquisition time t2, and the key release of all keys ends before the second acquisition time t2.
Then, steps 47 to 4A of FIG. 4 are executed in response to this key release, the corresponding key codes are deleted from the list register LIST (i) one after another, and the second fetch time t2.
At the time of, there is no key code in the list register LIST (i).

【0037】ところが、この実施例では、第1取り込み
時刻t1と第2取り込み時刻t2との間に発生した最後
の押鍵の時点で押鍵状態にあるキーコードが全てキーコ
ードバッファBF(i)に既に格納してあるので、第2
取り込み時刻t2で図1の割込処理が実行されても、キ
ーコードバッファBF(i)に格納されている5個のキ
ーコードに基づいて和音の検出処理が行われる。
However, in this embodiment, all the key codes that are in the key-depressed state at the time of the last key depression that occurs between the first fetch time t1 and the second fetch time t2 are the key code buffer BF (i). Since it is already stored in
Even if the interrupt process of FIG. 1 is executed at the fetch time t2, the chord detection process is performed based on the five key codes stored in the key code buffer BF (i).

【0038】次に、図5の(c)について説明する。図
5の(c)においては、第1取り込み時刻t1後の時刻
tcで押鍵(キーオンイベント)が発生し、第2取り込
み時刻t2前に全鍵が離鍵状態となっている。従って,
この場合にも同様に最後の押鍵の時点で押鍵状態にある
キーコードが全てキーコードバッファBF(i)に既に
格納してあるので、第2取り込み時刻t2で図1の割込
処理が実行されても、キーコードバッファBF(i)に
格納されている5個のキーコードに基づいて和音の検出
処理が行われる。
Next, FIG. 5C will be described. In (c) of FIG. 5, a key depression (key-on event) occurs at time tc after the first loading time t1 and all keys are released before the second loading time t2. Therefore,
In this case as well, all the key codes in the key-depressed state at the time of the last key depression are already stored in the key code buffer BF (i), so that the interruption process of FIG. Even if executed, the chord detection process is performed based on the five key codes stored in the key code buffer BF (i).

【0039】次に、図5の(d)について説明する。図
5の(d)において、第1取り込み時刻t1前の時刻t
0から押鍵(キーオンイベント)が発生し、その押鍵数
は徐々に増加する。この押鍵に応じて、図4のキーイベ
ント処理のステップ41〜46が繰り返し実行され、キ
ーコードバッファBF(i)の内容は押鍵のたびに書き
換えられる。この時、押鍵数3個の途中で第1取り込み
時刻t1になると、図5の(a)と同様に図1の割込処
理が実行され、キーコードバッファBF(i)内に格納
されている3個のキーコードに基づいて和音の検出処理
が行われる。
Next, FIG. 5D will be described. In FIG. 5D, time t before the first capture time t1
A key press (key-on event) occurs from 0, and the number of key presses gradually increases. In response to this key depression, steps 41 to 46 of the key event process of FIG. 4 are repeatedly executed, and the contents of the key code buffer BF (i) are rewritten every time the key is depressed. At this time, when the first fetch time t1 is reached in the middle of pressing three keys, the interrupt process of FIG. 1 is executed as in the case of FIG. 5 (a), and is stored in the key code buffer BF (i). Chord detection processing is performed based on the three key codes that are present.

【0040】この例では、時刻td1の後に2個の離鍵
(キーオフイベント)が発生するので、その離鍵に応じ
て図4のステップ47〜4Aが実行され、リストレジス
タLIST(i)から2個の離鍵に対応したキーコード
が削除される。
In this example, two key-releases (key-off events) occur after time td1, so steps 47 to 4A in FIG. 4 are executed in response to the key-releases, and the list registers LIST (i) to 2 The key code corresponding to this key release is deleted.

【0041】ところが、時刻td2で再び押鍵が発生し
ているので、この押鍵に応じて、図4のキーイベント処
理のステップ42〜46が実行され、キーコードバッフ
ァBF(i)内には最新のキーコードが4個格納され
る。そして、時刻td3で再び離鍵が始まり、第2取り
込み時刻t2前に全権が離鍵状態となる。従って、時刻
td3以降は図4のステップ47〜4Aが実行され、リ
ストレジスタLIST(i)から離鍵に対応したキーコ
ードが全て削除され、第2取り込み時刻t2の時点では
リストレジスタLIST(i)の中には何らデータが存
在しなくなる。
However, since the key depression occurs again at time td2, steps 42 to 46 of the key event processing of FIG. 4 are executed in response to this key depression, and the key code buffer BF (i) is stored in the key code buffer BF (i). The latest four key codes are stored. Then, the key release is started again at time td3, and all rights are in the key release state before the second acquisition time t2. Therefore, after the time td3, steps 47 to 4A of FIG. 4 are executed, all the key codes corresponding to the key release are deleted from the list register LIST (i), and the list register LIST (i) is deleted at the second fetch time t2. There is no data inside.

【0042】すなわち、この例では、時刻td2の押鍵
に対応してキーコードバッファBF(i)内の内容が書
き換えられるので、キーコードバッファBF(i)内に
はキーコードとして最新の押鍵ピーク部分に対応したキ
ーコードが格納される。そして、第2取り込み時刻t2
で図1の割込処理が実行され、キーコードバッファBF
(i)に格納されている4個のキーコードに基づいて和
音の検出処理が行われる。
That is, in this example, since the contents in the key code buffer BF (i) are rewritten corresponding to the key depression at time td2, the latest key depression as the key code is made in the key code buffer BF (i). The key code corresponding to the peak part is stored. Then, the second acquisition time t2
Then, the interrupt process of Fig. 1 is executed, and the key code buffer BF
The chord detection process is performed based on the four key codes stored in (i).

【0043】なお、上述の実施例では、鍵盤のどの領域
かを判断せず全てのキーイベントに対して和音検出を行
う場合について説明したが、鍵盤8の所定の鍵を境に右
鍵域と左鍵域に分割し、右鍵域の演奏操作はメロディの
演奏に対応するものとして、和音検出することなく対応
する音高の楽音を制御し、左鍵域の演奏操作が和音の演
奏に対応するものと判断して、対応する演奏データに基
づいて和音を検出するようにしてもよい。
In the above-described embodiment, the case where chord detection is performed for all key events without determining which region of the keyboard has been described. However, the right key region and the left key region are separated by a predetermined key on the keyboard 8. Dividing into the keyboard range, the right keyboard performance operation corresponds to the performance of a melody, the musical tone of the corresponding pitch is controlled without detecting the chord, and the left keyboard performance operation corresponds to the chord performance. Alternatively, the chord may be detected based on the corresponding performance data.

【0044】また、上述の実施例では電子楽器について
説明したが、自動伴奏処理をおこなうシーケンサモジュ
ールと、押鍵検出回路や音源回路からなる音源モジュー
ルとがそれぞれ別々に構成され、各モジュール間のデー
タの授受を周知のMIDI規格でおこなうように構成さ
れたものにも同様に適用できることは言うまでもない。
Although the electronic musical instrument has been described in the above embodiment, the sequencer module for performing the automatic accompaniment process and the tone generator module including the key-depression detection circuit and the tone generator circuit are separately configured, and the data between the modules are separately arranged. It is needless to say that the same can be applied to a device configured to perform the transmission and reception of the known MIDI standard.

【0045】なお、上述の実施例では、押鍵の途中で取
り込み時刻になった場合でも、和音検出を行うようにな
っているが、押鍵の途中で取り込み時刻になった場合に
はその押鍵状態の変化しない時間が所定の時間、例えば
取り込み時間間隔の約4分の1以上ある場合に限りその
押鍵に対応して和音を検出するようにしてもよい。この
ようにすることによって、図5の(a)の場合には、第
1取り込み時刻t1では和音検出処理を行わず、第2取
り込み時刻t2で和音検出処理を行うようになり、押鍵
途中で和音を検出するといったことがなくなる。例え
ば、「ド」「ミ」「ソ」「シ」の順番で押鍵された場合
に、第3番目までの押鍵、すなわち「ド」「ミ」「ソ」
に基づいて和音を検出すると、その和音はCメジャーで
あると誤って判定され、正確な和音検出が困難となる
が、上述のように押鍵状態の変化しない時間が所定時間
以上であるかどうかをみることによって、次の取り込み
時刻で和音検出を行い、「ド」「ミ」「ソ」「シ」に基
づいてCセブンスという正確な和音を検出することがで
きるようになる。
In the above-described embodiment, the chord is detected even when the take-in time is reached during the key depression, but when the take-in time is reached during the key depression, the chord is detected. The chord may be detected corresponding to the key depression only when the time during which the key state does not change is a predetermined time, for example, about 1/4 or more of the take-in time interval. By doing so, in the case of FIG. 5A, the chord detection process is not performed at the first loading time t1, but the chord detection process is performed at the second loading time t2, and during the key depression. There is no need to detect chords. For example, when the keys are pressed in the order of “do”, “mi”, “so”, and “shi”, the third key is pressed, that is, “do”, “mi”, and “so”.
If a chord is detected on the basis of, the chord is erroneously determined to be a C major, and it becomes difficult to detect the chord accurately. By seeing, it becomes possible to detect a chord at the next fetching time, and to detect an accurate chord called C Seventh based on “do”, “mi”, “so”, and “shi”.

【0046】また、上述の実施例では、図5の(d)の
ように所定時間内に押鍵数のピークが2以上存在する場
合には、最新のピークに対応する押鍵データに基づいて
和音を検出する場合について説明したが、これに限ら
ず、所定時間内においてピーク部分の維持時間が最も長
いもののピークに対応する押鍵データに基づいて和音を
検出するようにしてもよい。更にまた、ピーク毎に和音
を検出し、検出された方または優先順位が高いものにす
るなどしてもよい。
Further, in the above embodiment, when there are two or more peaks of the number of key presses within the predetermined time as shown in FIG. 5D, the key press data corresponding to the latest peak is used. Although the case of detecting a chord has been described, the present invention is not limited to this, and the chord may be detected based on the key depression data corresponding to the peak of the peak portion having the longest maintenance time within the predetermined time. Furthermore, a chord may be detected for each peak and the detected one or the one with higher priority may be set.

【0047】[0047]

【発明の効果】この発明によれば、和音検出のための特
別な演奏を行わなくても通常の演奏状態で発生する演奏
データに基づいて和音を正確に検出することができると
いう効果がある。
According to the present invention, there is an effect that a chord can be accurately detected based on performance data generated in a normal performance state without performing a special performance for detecting the chord.

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

【図1】 1小節当たり96回の割り込みで実行される
タイマインタラプト処理の詳細を示すフローチャート図
である。
FIG. 1 is a flowchart showing details of timer interrupt processing executed by interruption of 96 times per bar.

【図2】 この発明に係る和音検出装置を内蔵した電子
楽器の一実施例を示すハード構成ブロック図である。
FIG. 2 is a hardware block diagram showing an embodiment of an electronic musical instrument incorporating the chord detection device according to the present invention.

【図3】 マイクロコンピュータが処理するメインルー
チンの一例を示す図である。
FIG. 3 is a diagram showing an example of a main routine processed by a microcomputer.

【図4】 図3のキーイベント処理の詳細を示す図であ
る。
FIG. 4 is a diagram showing details of a key event process of FIG.

【図5】 この実施例に係る和音検出装置の動作を説明
するための図である。
FIG. 5 is a diagram for explaining the operation of the chord detection device according to this embodiment.

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

1…CPU、2…プログラムメモリ、3…ワーキングメ
モリ、4…自動伴奏パターンメモリ、5…押鍵検出回
路、6…スイッチ検出回路、…鍵盤、7…音源回路、8
…鍵盤、9…パネルスイッチ、10…デジタル−アナロ
グ変換器、11…サウンドシステム、12…タイマ、1
3…データ及びアドレスバス
1 ... CPU, 2 ... Program memory, 3 ... Working memory, 4 ... Automatic accompaniment pattern memory, 5 ... Key detection circuit, 6 ... Switch detection circuit, ... Keyboard, 7 ... Sound source circuit, 8
... keyboard, 9 ... panel switch, 10 ... digital-analog converter, 11 ... sound system, 12 ... timer, 1
3 ... Data and address bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 演奏に対応して発生する演奏データを入
力する入力手段と、 前記演奏データに基づいて所定時間内における押鍵状態
を検出する押鍵状態検出手段と、 前記入力手段からの演奏データの入力時刻とは無関係に
所定の基準時間信号に基づいて定期的に設定される前記
所定時間毎に前記押鍵状態検出手段で検出された押鍵状
態及びその押鍵状態に対応した演奏データに基づいて和
音を検出する和音検出手段とを具えたことを特徴とする
和音検出装置。
1. Input means for inputting performance data generated in response to a performance, key-depression state detection means for detecting a key-depression state within a predetermined time based on the performance data, and performance from the input means. The key-depression state detected by the key-depression state detecting means and the performance data corresponding to the key-depression state at each of the predetermined times which are set periodically based on a predetermined reference time signal regardless of the data input time. And a chord detecting means for detecting a chord based on
JP5191833A 1993-07-07 1993-07-07 Chord detector Expired - Fee Related JP2629564B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5191833A JP2629564B2 (en) 1993-07-07 1993-07-07 Chord detector
US08/270,457 US5641928A (en) 1993-07-07 1994-07-05 Musical instrument having a chord detecting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5191833A JP2629564B2 (en) 1993-07-07 1993-07-07 Chord detector

Publications (2)

Publication Number Publication Date
JPH0728467A true JPH0728467A (en) 1995-01-31
JP2629564B2 JP2629564B2 (en) 1997-07-09

Family

ID=16281281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5191833A Expired - Fee Related JP2629564B2 (en) 1993-07-07 1993-07-07 Chord detector

Country Status (1)

Country Link
JP (1) JP2629564B2 (en)

Also Published As

Publication number Publication date
JP2629564B2 (en) 1997-07-09

Similar Documents

Publication Publication Date Title
US5278348A (en) Musical-factor data and processing a chord for use in an electronical musical instrument
US5218158A (en) Musical tone generating apparatus employing control of musical parameters in response to note duration
JP2624090B2 (en) Automatic performance device
US5641928A (en) Musical instrument having a chord detecting function
US5220120A (en) Automatic play device having controllable tempo settings
JP2768233B2 (en) Electronic musical instrument
JPH05188956A (en) Electronic musical instrument with automatic playing function
JPH07306679A (en) Electronic keyed instrument
JP2629564B2 (en) Chord detector
US4619176A (en) Automatic accompaniment apparatus for electronic musical instrument
US6169243B1 (en) Automatic performance apparatus with quick start by accelerated loading of setting data
US5942711A (en) Roll-sound performance device and method
USRE37459E1 (en) Electronic musical instrument having a ryhthm performance function
JP3045915B2 (en) Electronic musical instrument data setting device
JP3210582B2 (en) Automatic performance device and electronic musical instrument equipped with the automatic performance device
US5159142A (en) Electronic musical instrument with lone modification for polyphonic effect
JP2921013B2 (en) Performance information display device
US4429605A (en) Electronic musical instrument
JP2713107B2 (en) Automatic performance device
JPH09114461A (en) Electronic musical instrument
JP2504260B2 (en) Musical tone frequency information generator
JP3033393B2 (en) Automatic accompaniment device
JP2513014B2 (en) Electronic musical instrument automatic performance device
US5426261A (en) Musical tone control waveform signal generating apparatus utilizing waveform data parameters in time-division intervals
JPH0515279B2 (en)

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090418

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090418

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100418

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 14

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 15

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 16

LAPS Cancellation because of no payment of annual fees