JPH07152375A - Chord detection device - Google Patents

Chord detection device

Info

Publication number
JPH07152375A
JPH07152375A JP5325830A JP32583093A JPH07152375A JP H07152375 A JPH07152375 A JP H07152375A JP 5325830 A JP5325830 A JP 5325830A JP 32583093 A JP32583093 A JP 32583093A JP H07152375 A JPH07152375 A JP H07152375A
Authority
JP
Japan
Prior art keywords
chord
special
root
chords
pitch information
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
JP5325830A
Other languages
Japanese (ja)
Other versions
JP3385691B2 (en
Inventor
Eiichiro Aoki
栄一郎 青木
Hiroshi Munekawa
博 宗川
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 JP32583093A priority Critical patent/JP3385691B2/en
Publication of JPH07152375A publication Critical patent/JPH07152375A/en
Application granted granted Critical
Publication of JP3385691B2 publication Critical patent/JP3385691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To reduce a memory capacity by detecting a chord through the use of a pitch name in a pitch information when a chord is not detected by a first detection device which detects a chord in accordance with the relative relationships among inputted sound pitch information. CONSTITUTION:The device consists of a keyboard 1 to which a player inputs a chord and a melody, a switch group which consists of switches to select various accompaniment patterns, a CPU 3 which controls the entire device, a special chord table 4 which stores special chord patterns and a conventional chord table 5 which stores conventional chord patterns. In order to detect a normal chord which is often used, a conventional scheme is used, that is, a pattern in that corresponding pits of the keyboard sounds are made to '1' and a pattern of the table 5 are shifted and a matching is made. In order to detect a special chord which is not frequently used or the chord in which elementary sounds are omitted, the table 4, which is constituted by the information indicating the relative relationships among absolute sound pitches is used.

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 from pitch information.

【0002】[0002]

【従来の技術】従来、音高情報から和音を検出する和音
検出装置と呼ばれるものが提案されている。かかる和音
検出装置として、本出願人は、根音(Root)を“C”と
して和音の種類(Type)毎に対応する音名のビットを
“1”としたビットパターンをテーブルデータとして記
憶し、押鍵音(音高情報)の音名のビットを“1”とし
て一時的に記憶したパターンをシフトしながら前記テー
ブルデータのビットパターンとマッチングさせることに
より和音を検出するように構成したもの(特公昭57−
16359号公報参照)や、和音の根音(Root)と種類
(Type)に対応する音名のビットパターンをテーブルデ
ータとして記憶し、押鍵音の音名に対応するビットを
“1”として一時的に記憶したパターンとマッチングさ
せることにより和音を検出するように構成したもの(特
公昭63−39078号公報参照)を提案した。
2. Description of the Related Art Conventionally, a so-called chord detection device for detecting chords from pitch information has been proposed. As such a chord detection device, the present applicant stores, as table data, a bit pattern in which a root note (Root) is "C" and a bit of a note name corresponding to each chord type (Type) is "1". A configuration in which chords are detected by matching the bit pattern of the table data while shifting the temporarily stored pattern with the bit of the note name of the key depression sound (pitch information) as "1" (special feature) Kosho 57-
16359) or a bit pattern of a note name corresponding to the root note (Root) and type of the chord is stored as table data, and the bit corresponding to the note name of the key depression note is temporarily set to "1". It has been proposed that a chord is detected by matching with a pattern that is stored in memory (see Japanese Patent Publication No. 63-39078).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記提
案された従来の和音検出装置では、同じ音名で構成され
ていても絶対音高の相対関係が変わると異なる和音とな
るものや和音の根音等を押鍵しない場合の和音等(以
下、これらの和音を「特殊和音」という)を検出するこ
とはできなかった。
However, in the above proposed conventional chord detection device, even if the chords are composed of the same pitch name, different chords or root notes of chords are generated when the relative relationship of absolute pitch changes. It was not possible to detect chords (hereinafter, these chords are referred to as "special chords") when the keys are not pressed.

【0004】図7は、上記従来技術の不具合を説明する
ための図であり、和音101〜104がC9の和音(C
ナインス・コード)を示し、和音105,106がEm7
の和音(Eマイナセブンス・コード)を示している。こ
こで、和音101と和音105とは構成音名が同一であ
り、和音101と和音106とは、後者の構成音“G”
が前者の構成音“G”に比較して1オクターブ高い位置
にある。また、和音101〜106は、根音等が押され
ていない和音の例を示している。
FIG. 7 is a diagram for explaining the disadvantage of the above-mentioned prior art, in which the chords 101 to 104 are C 9 chords (C
Nine chord) and chords 105 and 106 are Em 7
Shows the chord (E minor 7th chord). Here, the chord 101 and the chord 105 have the same constituent name, and the chord 101 and the chord 106 are the latter constituent "G".
Is one octave higher than the former constituent sound "G". Further, chords 101 to 106 are examples of chords in which no root note or the like is pressed.

【0005】例えば、和音105,106を上記従来の
和音検出装置により検出すると、その検出結果は和音1
01の検出結果に一致する。しかし、実際には和音10
5,106は、Em7の和音と判別した方が適切である。
さらに、例えば、和音101〜104はC9の和音の根
音省略形であるので、上記従来の和音検出装置により和
音101〜104を検出することは非常に困難である。
For example, when the chords 105 and 106 are detected by the conventional chord detecting device, the detection result is chord 1
Matches the detection result of 01. However, the chord is actually 10
It is more appropriate to distinguish 5, 106 as Em 7 chords.
Further, for example, since the chords 101 to 104 are abbreviations of the root chords of the chord of C 9 , it is very difficult to detect the chords 101 to 104 by the conventional chord detection device.

【0006】なお、テーブルデータのデータ量を増加さ
せ、検出したい全ての和音に対してその相対関係を記憶
させれば、所望の和音を検出することは可能である。し
かし、これにより和音の検出時間の増加、メモリ容量の
増加およびそれの伴うコストの増加等の問題を招くこと
になる。
It is possible to detect a desired chord by increasing the amount of table data and storing the relative relationship of all chords to be detected. However, this causes problems such as an increase in chord detection time, an increase in memory capacity, and an accompanying increase in cost.

【0007】本発明は、上記問題に鑑みてなされたもの
で、特殊和音を検出できるとともに、和音の検出時間の
低減化、メモリ容量の低減化およびそれに伴うコストの
低減化を図ることが可能な和音検出装置を提供すること
を目的とする。
The present invention has been made in view of the above problems, and is capable of detecting a special chord and reducing the chord detection time, the memory capacity, and the associated cost. An object is to provide a chord detection device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
本発明は、音高情報を入力する音高情報入力手段と、該
入力された音高情報の相対関係に応じて和音を検出する
第1の和音検出手段と前記入力された音高情報の音名に
応じて和音を検出する第2の和音検出手段と前記第1の
和音検出手段により和音が検出されなかった場合に前記
第2の和音検出手段により和音を検出する制御手段とを
有することを特徴とする。
In order to achieve the above object, the present invention provides a pitch information inputting means for inputting pitch information and a chord detecting according to a relative relation between the inputted pitch information. One chord detecting means and a second chord detecting means for detecting a chord according to the note name of the inputted pitch information, and the second chord detecting means when the chord is not detected by the first chord detecting means. And a control unit for detecting a chord by the chord detection unit.

【0009】[0009]

【作用】制御手段により、音高情報入力手段により入力
された音高情報に応じて、その和音が第1の和音検出手
段により検出され、その結果、和音が検出されないとき
には第2の和音検出手段により検出される。
According to the pitch information input by the pitch information inputting means, the control means detects the chord by the first chord detecting means, and as a result, when the chord is not detected, the second chord detecting means. Detected by.

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0011】図1は、本発明に係る和音検出装置を適用
した自動伴奏装置の一実施例の概略構成を示すブロック
図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an automatic accompaniment apparatus to which the chord detection apparatus according to the present invention is applied.

【0012】同図において、本実施例の自動伴奏装置
は、演奏者が和音やメロディ等を入力するための鍵盤1
と、各種の伴奏パターンを選択するためのスイッチ等か
ら成るスイッチ群2と、装置全体の制御を司るCPU3
と、特殊な和音のパターンを記憶する特殊和音テーブル
4と、通常の和音のパターンを記憶する通常の和音テー
ブル5と、CPU3が実行するプログラムやデータ等を
記憶するプログラムメモリ6と、CPU3が実行する演
算結果や各種入力情報等を一時的に格納するワーキング
メモリ7と、鍵盤1の押鍵により出力された和音情報や
スイッチ群2により選択された伴奏パターンに応じて自
動伴奏を行う自動伴奏装置8と、鍵盤1の押鍵により出
力されたイベントデータに応じて楽音信号を出力するト
ーンジェネレータ(TG)9とにより主として構成され
ている。
Referring to FIG. 1, the automatic accompaniment apparatus of this embodiment has a keyboard 1 for a performer to input chords, melodies and the like.
And a switch group 2 including switches for selecting various accompaniment patterns, and a CPU 3 that controls the entire apparatus.
, A special chord table 4 for storing special chord patterns, a normal chord table 5 for storing normal chord patterns, a program memory 6 for storing programs and data executed by the CPU 3, and a CPU 3 execution The working memory 7 for temporarily storing the calculation result and various input information, and the automatic accompaniment device for performing the automatic accompaniment according to the chord information output by pressing the keyboard 1 and the accompaniment pattern selected by the switch group 2. 8 and a tone generator (TG) 9 for outputting a tone signal in accordance with the event data output by pressing the keyboard 1.

【0013】自動伴奏装置8の出力側およびトーンジェ
ネレータ9の出力側は、各要素8,9の楽音信号出力を
混合するための混合器10の入力側に接続され、混合器
10の出力側は、混合された楽音信号を楽音に変換する
サウンドシステム11に接続され、さらに、上記各要素
1〜9は、バス12を介して、相互に接続されている。
なお、要素4〜6は、ROMにより構成され、要素7
は、RAMにより構成されている。
The output side of the automatic accompaniment device 8 and the output side of the tone generator 9 are connected to the input side of a mixer 10 for mixing the tone signal outputs of the respective elements 8 and 9, and the output side of the mixer 10 is , Is connected to a sound system 11 for converting a mixed musical tone signal into a musical tone, and the above-mentioned respective elements 1 to 9 are mutually connected via a bus 12.
The elements 4 to 6 are composed of a ROM, and the element 7
Is composed of a RAM.

【0014】図2は、図1の特殊和音テーブル4に記憶
されているテーブルデータの一例を示す図であり、同図
の各テーブルデータは、上からそれぞれ図7の和音10
1〜105のC9の和音に対応している。
FIG. 2 is a diagram showing an example of table data stored in the special chord table 4 of FIG. 1. Each table data in FIG. 2 is the chord 10 of FIG. 7 from the top.
Corresponds to the chord of C 9 of 1-105.

【0015】また、同図中、D(1)は、前記鍵盤1に
より重ねて押鍵された音の最低音高の音とその次の音高
の音との差を示し、半音を1単位としてしている。同様
に、D(2)は、最低音高の音とさらにその次の音高の
音との差を示し、D(3)は、最低音高の音とまたさら
にその次の音高の音との差を示している。なお、重ねて
押鍵された音が3つのときには、D(3)は「なし」と
なる。
Further, in the figure, D (1) represents the difference between the lowest pitched note of the notes overlapped by the keyboard 1 and the next pitched note, and a semitone is one unit. As Similarly, D (2) indicates the difference between the lowest pitched sound and the next pitched sound, and D (3) is the lowest pitched sound and the next further pitched sound. It shows the difference with. It should be noted that when there are three tones that are pressed repeatedly, D (3) is "none".

【0016】例えば、図2のテーブルデータ内の最初の
データ、即ち、図7の和音101に対応するデータは、
構成音1012と構成音1011との差が半音単位で
“2”であり、構成音1013と構成音1011との差が
半音単位で“5”であるので、C9となる。このとき、
「ルート(根音)」の欄には構成音1011と根音
(“C”)との差が記憶され、その記憶された値(“1
0”)と構成音1011の値とを加算することにより根
音(“C”)が算出されるように構成されている。な
お、「ルート」の欄に値とともに示される括弧内の文字
(A#)は、その値(“10”)が“C”の位置から数
えたときの音名(A#)を示している。また、「タイ
プ」の欄は、和音のタイプを示している。
For example, the first data in the table data of FIG. 2, that is, the data corresponding to the chord 101 of FIG.
Since the difference between the constituent sound 101 2 and the constituent sound 101 1 is “2” in semitone units, and the difference between the constituent sound 101 3 and the constituent sound 101 1 is “5” in semitone units, it is C 9 . At this time,
The difference between the constituent sound 101 1 and the root sound (“C”) is stored in the “root (root sound)” column, and the stored value (“1”) is stored.
The root note ("C") is calculated by adding 0 ") and the value of the constituent sound 101 1. It should be noted that the characters in parentheses that are shown together with the value in the" Root "column are shown. (A #) indicates the note name (A #) when the value (“10”) is counted from the position of “C”. The "Type" column indicates the type of chord.

【0017】図3は、図1の通常の和音テーブル5に記
憶されているテーブルデータを示す図である。同図中、
各データは、“C”を基準とした和音のタイプに応じて
その和音の構成音の音名のビットが“1”に設定され、
他のビットは“0”に設定されている。例えば、m
7(マイナー・セブンス)は、“C”,“D#”,“A
#”の構成音から構成されているために、この構成音に
対応したビットが立てられている。なお、この通常の和
音テーブルを用いた和音の検出方法については後述す
る。
FIG. 3 is a diagram showing table data stored in the ordinary chord table 5 of FIG. In the figure,
In each data, the bit of the note name of the constituent sound of the chord is set to "1" according to the chord type based on "C",
The other bits are set to "0". For example, m
7 (Minor Seventh) is "C", "D #", "A"
Since it is composed of the constituent sounds of "#", a bit corresponding to this constituent sound is set. A chord detecting method using this normal chord table will be described later.

【0018】以下、以上のように構成された自動伴奏装
置のCPU3が実行する制御処理を、図4〜図6のフロ
ーチャートを参照して説明する。
The control process executed by the CPU 3 of the automatic accompaniment apparatus configured as described above will be described below with reference to the flow charts of FIGS.

【0019】図4は、メインルーチンの処理手順を示す
フローチャートである。
FIG. 4 is a flowchart showing the processing procedure of the main routine.

【0020】まず、ステップS1で各種初期設定を行
い、ステップS2で鍵盤1の押鍵(キーイベント)があ
るか否かの判別を行い、キーイベントがあるときには後
述するキーイベント処理のサブルーチンを実行し(ステ
ップS3)、一方、キーイベントがないときにはステッ
プS3をスキップしてステップS4に進む。ステップS
4では、前記スイッチ群2のスタイル選択スイッチ(図
示せず)のイベントがあるか否かの判別を行い、イベン
トがあるときには選択されたスタイル(例えば、アルペ
ジオ等)の番号を図1のワーキングメモリ7の領域ST
YL(以下、その内容を「スタイルSTYL」という)
に格納し(ステップS5)、図1の自動伴奏装置8にス
タイルSTYLを出力する(ステップS6)。一方、ス
テップS4の判別で、スタイル選択スイッチのオンイベ
ントがないときにはステップS5,6をスキップしてス
テップS7に進む。
First, various initial settings are made in step S1, and it is determined in step S2 whether or not there is a key depression (key event) of the keyboard 1. If there is a key event, a key event processing subroutine described later is executed. On the other hand, when there is no key event (step S3), step S3 is skipped and the process proceeds to step S4. Step S
4, it is determined whether or not there is an event of the style selection switch (not shown) of the switch group 2, and when there is an event, the number of the selected style (for example, arpeggio etc.) is assigned to the working memory of FIG. Area ST of 7
YL (Hereinafter, the content is called "style STYL")
(Step S5), and the style STYL is output to the automatic accompaniment apparatus 8 of FIG. 1 (step S6). On the other hand, when it is determined in step S4 that there is no on event of the style selection switch, steps S5 and S6 are skipped and the process proceeds to step S7.

【0021】続くステップS7では、スイッチ群2のス
タートスイッチ(図示せず)のオンイベントがあるか否
かの判別を行い、オンイベントがあるときには自動伴奏
装置8をスタートさせるためのスタート信号を出力し
(ステップS8)、一方、オンイベントがないときには
ステップS8をスキップしてステップS9に進む。
In a succeeding step S7, it is determined whether or not there is an on event of a start switch (not shown) of the switch group 2, and when there is an on event, a start signal for starting the automatic accompaniment device 8 is output. (Step S8), on the other hand, when there is no on event, step S8 is skipped and the process proceeds to step S9.

【0022】さらに、ステップS9ではスイッチ群2の
ストップスイッチ(図示せず)のオンイベントがあるか
否かの判別を行い、オンイベントがあるときには自動伴
奏装置8をストップさせるためのストップ信号を出力し
(ステップS10)、一方、オンイベントがないときに
はステップS10をスキップしてステップS11に進
む。
Further, in step S9, it is determined whether or not there is an on event of the stop switch (not shown) of the switch group 2, and when there is an on event, a stop signal for stopping the automatic accompaniment device 8 is output. (Step S10), on the other hand, when there is no on event, step S10 is skipped and the process proceeds to step S11.

【0023】ステップS11では以上説明した処理の他
の処理を行った後にステップS2に戻り、上記ステップ
S2〜ステップS11の処理を繰り返す。
In step S11, after performing the other processes of the above-described process, the process returns to step S2, and the processes of steps S2 to S11 are repeated.

【0024】図5は、図4のステップS3のキーイベン
ト処理のサブルーチンの詳細な手順を示すフローチャー
トであり、本サブルーチンは和音の検出を行っている。
FIG. 5 is a flow chart showing the detailed procedure of the key event processing subroutine of step S3 of FIG. 4, and this subroutine detects chords.

【0025】まず、ステップS21で、キーが押鍵され
たか(キーオン)または離鍵されたか(キーオフ)の判
別を行い、押鍵されたときにはその鍵に応じた発音処理
を行う(ステップS22)とともに当該キーコードをリ
ストKC()に加え(ステップS23)、リストK
C()内のキーコードを小さい順に並び変え(ソート)
て(ステップS24)、リストKC()の要素の数を前
記ワーキングメモリ7の領域Nに格納(以下、その内容
を「要素数N」という)する(ステップS25)。ここ
で、本実施例では、リストKC()と呼ばれる領域を前
記ワーキングメモリ7の所定領域に確保し、キーが押鍵
されると当該キーコードがリストKC()に記憶されて
ソートされ、リストKC()に記憶されたキーコードに
対応するキーが離鍵されると当該キーコードがリストK
C()から削除されて、リストKC()に記憶されたキ
ーコードに応じて各種の処理が実行されるように構成さ
れている。なお、リストKC()に記憶されてソートさ
れたキーコードを小さい順にキーコードKC(i)(i
=0,1,…)とする。
First, in step S21, it is determined whether a key is pressed (key on) or released (key off). When the key is pressed, a sounding process corresponding to the key is performed (step S22). The key code is added to the list KC () (step S23), and the list K is added.
Sort the key codes in C () in ascending order (sort)
(Step S24), the number of elements of the list KC () is stored in the area N of the working memory 7 (hereinafter, the content is referred to as "element number N") (step S25). Here, in this embodiment, an area called a list KC () is secured in a predetermined area of the working memory 7, and when a key is pressed, the key code is stored in the list KC () and sorted. When the key corresponding to the key code stored in KC () is released, the key code is listed K
Various processes are executed according to the key code deleted from C () and stored in the list KC (). The key codes stored and sorted in the list KC () are sorted in ascending order of key code KC (i) (i
= 0, 1, ...).

【0026】続くステップS26では要素数Nが“3”
以上であるか否かを判別し、“3”以上のときには要素
数Nが“3”であるか否かを判別し(ステップS2
7)、その結果、要素数Nが“3”より大きいときには
要素数Nを“4”にし(ステップS28)、一方、要素
数Nが“3”のときにはステップS28をスキップして
ステップS29に進む。
In the following step S26, the number N of elements is "3".
It is determined whether or not the above, and when it is "3" or more, it is determined whether or not the number of elements N is "3" (step S2).
7) As a result, when the number N of elements is larger than "3", the number N of elements is set to "4" (step S28), while when the number N of elements is "3", step S28 is skipped and the process proceeds to step S29. .

【0027】ステップS29では後述する和音検出処理
のサブルーチンを実行した後に、本サブルーチン処理を
終了する。
In step S29, a sub-routine for chord detection processing, which will be described later, is executed, and then this sub-routine processing is terminated.

【0028】一方、ステップS26の判別で、要素数N
が“3”より小さいときにはステップS27〜ステップ
S29をスキップして本サブルーチン処理を終了する。
On the other hand, the number of elements N
When is smaller than "3", steps S27 to S29 are skipped and the present subroutine processing is ended.

【0029】即ち、ステップS26〜ステップS28の
処理は、本実施例では構成音が3つまたは4つの和音の
検出のみを行うように構成したためになされるものであ
る。
That is, the processes of steps S26 to S28 are performed because the present embodiment is configured to detect only chords having three or four constituent tones.

【0030】一方、ステップS21の判別でキーが離鍵
されたときには消音処理を行い(ステップS30)、当
該キーコードをリストKC()から削除した(ステップ
S31)後に、本サブルーチン処理を終了する。
On the other hand, when the key is released in the determination in step S21, the mute processing is performed (step S30), the key code is deleted from the list KC () (step S31), and then this subroutine processing is ended.

【0031】図6は、図5のステップS29の和音検出
処理のサブルーチンの詳細な手順を示すフローチャート
である。
FIG. 6 is a flowchart showing the detailed procedure of the chord detection processing subroutine of step S29 of FIG.

【0032】まず、ステップS41で、リストKC()
に記憶されソートされたキーコードから、最小のキーコ
ードKC(0)とその他のキーコードKC(i)との差
をとり、その差を前記ワーキングメモリ7の領域D
(i)(i=1,…,N−1)に格納(以下、その内容
を「差D(i)」という)する。
First, in step S41, the list KC ()
The difference between the smallest key code KC (0) and the other key code KC (i) is calculated from the sorted and stored key codes in the area D of the working memory 7.
(I) (i = 1, ..., N−1) is stored (hereinafter, the content is referred to as “difference D (i)”).

【0033】次に、ステップS42で、前記ステップS
41で算出された差D(i)と前記図2の特殊和音テー
ブル4のテーブルデータとをマッチングさせ、ステップ
S43で、そのマッチングの結果を判別し、マッチング
していないときにはステップS44に進む。
Next, in step S42, the above step S
The difference D (i) calculated in 41 is matched with the table data of the special chord table 4 in FIG. 2, the result of the matching is determined in step S43, and if not matched, the process proceeds to step S44.

【0034】ステップS44では、キーコードKC
(0)〜KC(i)の音名に対応する、前記ワーキング
メモリ7の領域CHRDのビットを“1”に設定し、他
のビットを“0”に設定する。ここで、領域CHRD
は、そのビットの構成を前記図3の通常の和音テーブル
5のテーブルデータと同一にしたものである。
In step S44, the key code KC
The bits of the area CHRD of the working memory 7 corresponding to the note names (0) to KC (i) are set to "1" and the other bits are set to "0". Where the region CHRD
Has the same bit configuration as the table data of the normal chord table 5 shown in FIG.

【0035】次にステップS45で、領域CHRDをシ
フトしながら通常の和音テーブル5のテーブルデータと
マッチングして、ステップS46でその結果を判別し、
マッチングしたときにはそのシフト回数(このシフト回
数が和音の根音となる)を前記ワーキングメモリ7の領
域ROOTに格納し(以下、その内容を「ルートROO
T」という)、和音のタイプをワーキングメモリ7の領
域TYPEに格納(以下、その内容を「タイプTYP
E」という)する(ステップS47)。さらに、ステッ
プS48でマッチングされたルートROOTおよびタイ
プTYPEを前記自動伴奏装置8に出力した後に、本サ
ブルーチン処理を終了する。
Next, in step S45, the area CHRD is shifted and matched with the table data of the ordinary chord table 5, and the result is discriminated in step S46.
When matching is performed, the number of shifts (the number of shifts becomes the root note of a chord) is stored in the area ROOT of the working memory 7 (hereinafter, the content thereof will be referred to as "root ROOT").
Stored in the area TYPE of the working memory 7 (hereinafter referred to as "type TYPE").
"E") (step S47). Further, after the route ROOT and the type TYPE matched in step S48 are output to the automatic accompaniment device 8, the present subroutine processing is ended.

【0036】一方、ステップS46の判別で、マッチン
グしないときには和音が検出されないのでステップS4
7,49をスキップして本サブルーチン処理を終了す
る。
On the other hand, if it is determined in step S46 that no chord is detected when no matching is found, step S4 is performed.
This processing is terminated by skipping steps 7 and 49.

【0037】一方、前記ステップS43の判別、即ち、
特殊和音テーブル4のテーブルデータとのマッチングの
判別で、マッチングしたときにはテーブルデータから得
られるルートとタイプをそれぞれ前記領域ROOT,T
YPEに格納し(ステップS49)、前記図2の特殊和
音テーブル4で説明したように、ルートROOTとキー
コードKC(0)とを加算した結果を12で除算した余
り(和音の根音)をルートROOTに格納した(ステッ
プS50)後に、ステップS48に進み、マッチングさ
れたルートROOTおよびタイプTYPEを自動伴奏装
置8に出力する。
On the other hand, the determination in step S43, that is,
In the determination of matching with the table data of the special chord table 4, when matched, the route and type obtained from the table data are respectively set to the regions ROOT and T.
The result obtained by adding the root ROOT and the key code KC (0) to the result stored in the YPE (step S49) and dividing the root ROOT and the key code KC (0) is divided by 12 to find the remainder (chord root note). After storing in the root ROOT (step S50), the process proceeds to step S48, and the matched root ROOT and type TYPE are output to the automatic accompaniment device 8.

【0038】以上説明したように本実施例に依れば、余
り使用しないような特殊な和音や根音等を省略した和音
を検出するために、絶対音高の相対関係を示す情報から
構成された特殊和音テーブル4を用い、よく使用される
通常の和音を検出するために、従来提案されている、押
鍵音の対応ビットを“1”としたパターンと通常の和音
テーブル5のパターンとをシフトしながらマッチングす
る方法を用いたので、特殊な和音等を検出できるととも
に、和音検出に使用するメモリの容量を減少させること
を可能にした。
As described above, according to the present embodiment, in order to detect a chord that omits a special chord or root note that is rarely used, it is composed of information indicating a relative relationship of absolute pitches. In order to detect a commonly used normal chord using the special chord table 4, the pattern in which the corresponding bit of the key depression sound is set to "1" and the pattern of the normal chord table 5 have been proposed. Since the method of matching while shifting is used, it is possible to detect special chords and the like, and it is also possible to reduce the memory capacity used for chord detection.

【0039】なお、本実施例では、従来の和音検出の方
法として従来例で説明した特公昭57−16359号公
報に記載された方法を用いたが、これに限らず従来例の
特公昭63−39078号公報に記載の方法を用いても
よい。
In this embodiment, the method described in Japanese Patent Publication No. 57-16359 described in the conventional example is used as the conventional chord detection method, but the method is not limited to this. The method described in Japanese Patent No. 39078 may be used.

【0040】また、本実施例では、特殊和音は特殊和音
テーブル4から1つだけ決まったが、複数あってもよ
い。その場合、前回検出された和音により、複数の和音
のどれに決定するか決める規則を設けておく。
Further, in the present embodiment, only one special chord is determined from the special chord table 4, but there may be a plurality of special chords. In that case, a rule for determining which of a plurality of chords should be decided according to the chord detected last time is provided.

【0041】[0041]

【発明の効果】以上説明したように、本発明に依れば、
音高情報を入力する音高情報入力手段と、該入力された
音高情報の相対関係に応じて和音を検出する第1の和音
検出手段と前記入力された音高情報の音名に応じて和音
を検出する第2の和音検出手段と前記第1の和音検出手
段により和音が検出されなかった場合に前記第2の和音
検出手段により和音を検出する制御手段とを有するの
で、特殊和音を検出できるとともに、和音の検出時間の
低減化、メモリ容量の低減化およびそれに伴うコストの
低減化を図ることが可能となる効果を奏する。
As described above, according to the present invention,
Pitch information input means for inputting pitch information, first chord detection means for detecting a chord in accordance with the relative relationship of the inputted pitch information, and a pitch name of the inputted pitch information It has a second chord detecting means for detecting a chord and a control means for detecting the chord by the second chord detecting means when the chord is not detected by the first chord detecting means, so that a special chord is detected. In addition, the chord detection time can be reduced, the memory capacity can be reduced, and the cost can be reduced accordingly.

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

【図1】本発明に係る和音検出装置を適用した自動伴奏
装置の一実施例の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an automatic accompaniment apparatus to which a chord detection apparatus according to the present invention is applied.

【図2】図1の特殊和音テーブル4に記憶されているテ
ーブルデータを示す図である。
FIG. 2 is a diagram showing table data stored in a special chord table 4 of FIG.

【図3】図1の通常の和音テーブル5に記憶されている
テーブルデータを示す図である。
3 is a diagram showing table data stored in a normal chord table 5 in FIG. 1. FIG.

【図4】メインルーチンの処理手順を示すフローチャー
トである。
FIG. 4 is a flowchart showing a processing procedure of a main routine.

【図5】図4のステップS3のキーイベント処理のサブ
ルーチンの詳細な手順を示すフローチャートである。
5 is a flowchart showing a detailed procedure of a key event processing subroutine of step S3 of FIG. 4. FIG.

【図6】図5のステップS29の和音検出処理のサブル
ーチンの詳細な手順を示すフローチャートである。
FIG. 6 is a flowchart showing a detailed procedure of a chord detection process subroutine in step S29 of FIG.

【図7】従来例の問題点を説明するための図である。FIG. 7 is a diagram for explaining the problems of the conventional example.

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

1 鍵盤(音高情報入力手段) 3 CPU(制御手段) 4 特殊和音テーブル(第1の和音検出手段) 5 通常の和音テーブル(第2の和音検出手段) 1 keyboard (pitch information input means) 3 CPU (control means) 4 special chord table (first chord detection means) 5 ordinary chord table (second chord detection means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 音高情報を入力する音高情報入力手段
と、 該入力された音高情報の相対関係に応じて和音を検出す
る第1の和音検出手段と前記入力された音高情報の音名
に応じて和音を検出する第2の和音検出手段と前記第1
の和音検出手段により和音が検出されなかった場合に前
記第2の和音検出手段により和音を検出する制御手段と
を有することを特徴とする和音検出装置。
1. A pitch information inputting means for inputting pitch information, a first chord detecting means for detecting a chord according to a relative relationship of the inputted pitch information, and the input pitch information. Second chord detecting means for detecting a chord according to a note name and the first chord detecting means
A chord detection device, comprising: a control unit that detects the chord by the second chord detection unit when the chord is not detected by the chord detection unit.
JP32583093A 1993-11-30 1993-11-30 Chord detector Expired - Fee Related JP3385691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32583093A JP3385691B2 (en) 1993-11-30 1993-11-30 Chord detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32583093A JP3385691B2 (en) 1993-11-30 1993-11-30 Chord detector

Publications (2)

Publication Number Publication Date
JPH07152375A true JPH07152375A (en) 1995-06-16
JP3385691B2 JP3385691B2 (en) 2003-03-10

Family

ID=18181088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32583093A Expired - Fee Related JP3385691B2 (en) 1993-11-30 1993-11-30 Chord detector

Country Status (1)

Country Link
JP (1) JP3385691B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098481A (en) * 2010-11-01 2012-05-24 Yamaha Corp Chord detection device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012098481A (en) * 2010-11-01 2012-05-24 Yamaha Corp Chord detection device and program

Also Published As

Publication number Publication date
JP3385691B2 (en) 2003-03-10

Similar Documents

Publication Publication Date Title
JP2562370B2 (en) Automatic accompaniment device
US4489636A (en) Electronic musical instruments having supplemental tone generating function
US5561256A (en) Automatic arrangement apparatus for converting pitches of musical information according to a tone progression and prohibition rules
US4429606A (en) Electronic musical instrument providing automatic ensemble performance
JP3049989B2 (en) Performance information analyzer and chord detector
EP0039464B1 (en) Electronic musical instrument
JP3196604B2 (en) Chord analyzer
JP2900753B2 (en) Automatic accompaniment device
US5459281A (en) Electronic musical instrument having a chord detecting function
JP3385691B2 (en) Chord detector
US6380475B1 (en) Chord detection technique for electronic musical instrument
JP2768233B2 (en) Electronic musical instrument
JPH0627960A (en) Automatic accompaniment playing device
US5283388A (en) Auto-play musical instrument with an octave shifter for editing phrase tones
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP3099388B2 (en) Automatic accompaniment device
JP3319390B2 (en) Automatic accompaniment device
JP3141448B2 (en) Automatic accompaniment device
JPH0631964B2 (en) Electronic musical instrument
JP3097382B2 (en) Chord detector
JP3057721B2 (en) Electronic musical instrument
JP3413842B2 (en) Automatic accompaniment device
JP3189837B2 (en) Performance information analyzer and performance information analysis method
USRE38477E1 (en) Performance information analyzer and chord detection device associated therewith
JP3186752B2 (en) Performance information analyzer and performance information analysis method

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: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees