JPS58132798A - Recognition method and apparatus for performance or singing - Google Patents

Recognition method and apparatus for performance or singing

Info

Publication number
JPS58132798A
JPS58132798A JP57015211A JP1521182A JPS58132798A JP S58132798 A JPS58132798 A JP S58132798A JP 57015211 A JP57015211 A JP 57015211A JP 1521182 A JP1521182 A JP 1521182A JP S58132798 A JPS58132798 A JP S58132798A
Authority
JP
Japan
Prior art keywords
data
string
note
sound
similar
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
JP57015211A
Other languages
Japanese (ja)
Other versions
JPH0134398B2 (en
Inventor
小池 立簡
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.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki Co Ltd
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 Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP57015211A priority Critical patent/JPS58132798A/en
Priority to US06/462,181 priority patent/US4506580A/en
Publication of JPS58132798A publication Critical patent/JPS58132798A/en
Publication of JPH0134398B2 publication Critical patent/JPH0134398B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 この発明は、演奏または歌唱された入力情報を音楽教師
的な感覚に基づいて認識し、これにより例えば各種の対
象物を遠隔制御可能とした演奏または歌唱のg識方法お
よび装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a performance or singing recognition method that recognizes input information from a performance or singing based on a music teacher's sense, thereby making it possible to remotely control various objects, for example. and regarding equipment.

従来、音声認識の分野においては、一般に認識の対象は
音声8Hに限られ、各種の複雑なアルゴリズムを使用し
て入力された音声語をパターン認識することが通例であ
る。
Conventionally, in the field of speech recognition, the target of recognition is generally limited to speech 8H, and it is customary to pattern-recognize input speech words using various complex algorithms.

ところが、一般に音声m識の用途にはこのような^級な
言語認識を要するものばかりではなく、例えば複数の曲
目を記憶するレコード装置に対して、その最初のフレー
ズを歌唱または演奏して指示することによってこれらの
1つを読出す場合のように、必ずしも8語を介さずにメ
ロディを発音等することで対象物を特定づる場合もある
However, in general, the uses of voice recognition do not only require such high-level language recognition, but also include, for example, instructing a recording device that stores multiple songs by singing or playing the first phrase. As in the case of reading out one of these words, there are cases in which the object is identified by pronouncing a melody without necessarily using eight words.

5− この発明の目的とするところは、このように音18iI
ではなくて演奏または歌唱1例えば音符と音高の配列順
序によって対象物を認識させることにある。
5- The purpose of this invention is to
Rather than playing or singing, for example, the purpose is to have the object recognized by the arrangement order of musical notes and pitches.

特に、この発明の目的とするところは、通常歌唱または
演奏を行なう場合、歌唱または演奏の途中で演奏者等が
その誤り箇所に気が付いた場合、これを正しく演奏しな
おし、あるいは歌唱しなおした後、その先へ進むという
特性を利用し、このように演奏しなおされた部分につい
ては認識の対象から除去するという方法を通じて、演奏
または歌唱の音楽教師的な認識を可能とすることにある
In particular, it is an object of this invention that, when performing normal singing or playing, if a performer or the like notices a mistake during singing or playing, he or she should correct the mistake or perform it again after re-singing. The goal is to make it possible for a music teacher to recognize a performance or singing by taking advantage of the characteristic of moving forward, and by removing such replayed parts from the recognition target.

すなわち、この出願に係る第1の発明の目的とするとこ
ろは、このように歌唱者または演奏者が正確に所定のフ
レーズを歌唱または演奏した場合ばかりではな(、不確
実な記憶に基づいて演奏または歌唱したような場合にも
、比較的広範囲な許容幅をもってこれを認識させること
ができる演奏または歌唱情報の認識方法を提供すること
にある。
In other words, the object of the first invention of this application is not only when a singer or performer sings or plays a predetermined phrase accurately (but also when a singer or performer sings or plays a predetermined phrase accurately). It is an object of the present invention to provide a method for recognizing musical performance or singing information that can be recognized with a relatively wide range of tolerance even in the case of singing.

この発明は上記の目的を達成するために、演奏6− または歌唱情報を少くとも音高の次元を有する1乃至2
次元以上の音列データに変換し;次いで該音列データと
基準音列に対応する音列データとを音列パターン同士で
所定の特徴について比較し: 該比較結果に基づいて基準音列に最も類似したフレーズ
を入力音列から抽出し; この抽出されたフレーズに対応する音列データを基準音
列に対応する音列データと比較して、入力演奏または歌
唱を認識することを特徴とするものである。
In order to achieve the above-mentioned object, the present invention provides performance 6- or singing information that has at least the dimension of pitch.
Convert the sound sequence data into sound sequence data with a dimension higher than that of the standard sound sequence; then, compare the sound sequence data with the sound sequence data corresponding to the reference sound sequence with respect to predetermined characteristics between the sound sequence patterns; Based on the comparison result, A system characterized by extracting similar phrases from an input sound string; comparing sound string data corresponding to the extracted phrase with sound string data corresponding to a reference sound string to recognize input performance or singing. It is.

次に、この出願に係わる第2の発明の目的とするところ
は、上記の1121処理をより簡単な回路構成によって
達成することが可能で、かつ音楽教師の感覚により近い
認識結果を得ることができる演奏または歌唱情報の認識
装置を提供することにある。
Next, the object of the second invention related to this application is to be able to achieve the above-mentioned 1121 processing with a simpler circuit configuration, and to obtain a recognition result that is closer to the sense of a music teacher. An object of the present invention is to provide a recognition device for performance or singing information.

上記の目的を達成するためぽ、第2の発明ではその構成
要件として演奏または歌唱により順次発生する各構成音
を、逐次少くとも音高の次元を有する1乃至2次元以上
の単音データに変換して検出する単音データ検出手段と
: 前記検出された単音データを各次元別にかつ発生順に記
憶して、入力音列に対応する入力音列データを形成する
入力音列データ形成手段と;1乃至2以上の演奏または
歌唱メロディに対応する各次元の基準音列データを登録
させた音列データ登録メモリと; 前記音列データ登録メモリから読出された1の演奏また
は歌唱に対応する各次元の音列データと、該当する次元
の入力音列データとを、両者の時間軸の基準点を互いに
づらせながら同一時間帯に存在する音列部分同士で比較
し、類似度の^いもの−から順に選択された1乃至2以
上の類似音列部分を前記入力音列データから抽出する類
似音列部分抽出手段と; 前記抽出された各類似音列部分から該当する次元の登録
音列データとの一致部分を抽出し、これらを互いに重合
せて、最類似フレーズに対応する最類似音列データを形
成するデータ重合せ手段と:前3coff録音列データ
の各構成音データの中で、前記形成された最類似音列デ
ータに含まれる音データの総数と、登録音列データの各
構成音データの総数との比を必要な次元について求め、
これらの比の値を採点要素として入力演奏または歌唱に
対する類似度得点を算出する類似度得点演算手段と; 前記類似度得点を所定の基準値と比較して入力演奏また
は歌唱を弁別する入力情報弁別手段とを具備することを
特徴とするものである。
In order to achieve the above object, in the second invention, as a component thereof, each constituent sound sequentially generated by playing or singing is sequentially converted into single sound data of one or two dimensions or more having at least the dimension of pitch. 1 to 2 a tone sequence data registration memory in which reference tone sequence data of each dimension corresponding to the above performance or singing melody is registered; a tone sequence of each dimension corresponding to one performance or singing read from the tone sequence data registration memory; The data and the input sound sequence data of the corresponding dimension are compared between the parts of the sound sequence that exist in the same time period while shifting the reference points of the time axes of both, and the ones with the highest degree of similarity are selected in order. a similar sound string part extracting means for extracting one or more similar sound string parts extracted from the input sound string data; a matching part with the registered sound string data of the corresponding dimension from each of the extracted similar sound string parts; and superimposing them on each other to form the most similar sound sequence data corresponding to the most similar phrase. Find the ratio between the total number of sound data included in the similar sound sequence data and the total number of each component sound data of the registered sound sequence data for the necessary dimensions,
similarity score calculation means for calculating a similarity score for an input performance or singing using the values of these ratios as scoring elements; and input information discrimination for discriminating the input performance or singing by comparing the similarity score with a predetermined reference value. It is characterized by comprising means.

以下に、この出願に係わる第1および第2の発明を含む
実施例を添付図面に従って詳細に説明する。
Embodiments including the first and second inventions of this application will be described in detail below with reference to the accompanying drawings.

まず、実施例の詳細な動作説明に移る前に、この装置の
基本的な動作を第1図を参照しつつ概略的に説明する。
First, before proceeding to a detailed explanation of the operation of the embodiment, the basic operation of this device will be schematically explained with reference to FIG.

なお、以下においてはメロディ演奏について代表的に述
べるが、リズム演奏、和音演奏等、他の演奏態様につい
ても同様である。
Note that although melody performance will be described below as a representative example, the same applies to other performance modes such as rhythm performance and chord performance.

同図において、基準音高音列発生回路1および基準符長
音列発生回路12には、それぞれ複数種9− 類のメロディに対応する基準音高音列データPDlin
e (ref )および基準符長音列データLDlin
e(ref)がそれぞれ記憶されており、これらの音列
データは後述するメロディ指定信号5SeleCt−1
〜5select−4によって択一的に読出されるよう
に構成されている。
In the figure, a reference pitch pitch sequence generation circuit 1 and a reference note length tone sequence generation circuit 12 each contain reference pitch pitch sequence data PDlin corresponding to a plurality of types of melodies.
e (ref) and reference note length string data LDlin
e(ref) are stored respectively, and these tone sequence data are used as a melody designation signal 5SeleCt-1, which will be described later.
~5select-4 is configured to be read out alternatively.

また、音高検出回路5にはマイクロフォン4を介して検
出された音声信号または入力端子2を介して検出された
電子楽器の出力信号等が供給されており、音高検出回路
5からはこれらの入力信号に含まれる音高データPD(
in)および各音高データの出力タイミングを示すタイ
ミング信号5kOn′が出力される。
Further, the pitch detection circuit 5 is supplied with an audio signal detected via the microphone 4 or an output signal of an electronic musical instrument detected via the input terminal 2, etc. Pitch data PD included in the input signal (
in) and a timing signal 5kOn' indicating the output timing of each pitch data.

音高音列形成回路6では、順次時分割的に供給されるオ
リジナルな音高データ(第27図(A)参照)のそれぞ
れについて、信号S kon−に基づいて各音符長を弁
別し、音楽的な要素となり得ない微小音符長以下の音高
データをジッタとみなして除去する。
The pitch string formation circuit 6 discriminates the length of each note based on the signal S kon- for each of the original pitch data (see FIG. 27 (A)) that is sequentially supplied in a time-division manner, and calculates the musical note length. Pitch data that is less than a minute note length and cannot be considered as a jitter is removed.

そして、残りの各音高データを発生順に記憶し、10− これにより入力音高音列データP D 1ine (f
ull)(第27図(B)参照)を形成する。
Then, each of the remaining pitch data is stored in the order of occurrence, and 10- thereby input pitch string data P D 1ine (f
(see FIG. 27(B)).

次いで、このデータP D 1ine (full) 
ハ、類似音高音列抽出回路7及び−数音高部弁型合せ回
路8へと並列に供給される。
Then, this data P D 1ine (full)
C. It is supplied in parallel to the similar tone high pitch string extraction circuit 7 and the -several tone high section valve type matching circuit 8.

類似音高音列抽出回路7では、前記基準音高g列発生回
路1から出力されφ基準音高音列データp [) 1i
ne (ref )と前記入力音高音列形成回路6から
出力される入力音高音列データP D 1ine (f
ull〉とを、恰も電車同士が擦れ違うかの如く、互い
の時間軸の基準点をずらせながら、同一時間帯に存在す
る時系列的に各構成音を連ねた音列パターンに変換した
後の基準音列と同長の音列部分同士で比較し、これらの
音列部分の中で基準音轟音列との類似度の高いものを順
に最大に粗抽出する。
The similar tone pitch string extraction circuit 7 receives the φ reference tone pitch string data p[) 1i which is output from the reference tone pitch g string generation circuit 1.
ne (ref) and the input pitch string data P D 1ine (f
The standard after converting ``ull'' into a sound string pattern that exists in the same time period and connects each constituent sound in chronological order while shifting the reference points of each time axis, just as if two trains were passing each other. The sound string parts having the same length as the sound string are compared, and among these sound string parts, those having the highest degree of similarity to the reference tone roar sequence are sequentially extracted coarsely to the maximum extent.

(第27図〜第30図参照) モして、これらの抽出された最大に組の類似音高音列部
分データを、前記入力音高音列データP[) 1ine
 (full)に対するシフト回数によって表すシフト
回数データPD 1ine sml −1〜−k  (
第27図(C)〜(J)参照)に変換して出力すること
となる。
(See FIGS. 27 to 30) Then, these extracted maximum sets of similar pitch string partial data are converted into the input pitch string data P[) 1ine
Shift number data expressed by the number of shifts relative to (full) PD 1ine sml -1 to -k (
(See FIGS. 27(C) to (J)).

また、同時に類似音^音列抽出回路7においては、前記
抽出された各類似音高音列部分データと基準音^音列デ
ータp [) 1ine (ref )との間における
一数音^汁数データPDeq−1〜−kを出力する。
At the same time, the similar sound sequence extraction circuit 7 extracts the number of single sounds between the extracted similar sound high pitch sequence partial data and the reference sound sequence data p[) 1ine (ref). Output PDeq-1 to -k.

一致音符部分重合せ回路8では、前記類似音高音列抽出
回路7から出力されるシフト回数データp Q 1in
e ssl −1〜−舷と、前記入力音高音列形成回路
6から出力される入力音高音列データPDline (
full)とに基づいて、各類似音^音列部分データを
再生し、各再生された類似音高音列部分データと基準音
^音列データPDline(ref )とを比較し、両
者間で一致する音高データを順次重合せ、これにより最
類似音高音列データp [) smlp1eを形成する
。(第35図参照) 次に、入力符長音列形成回路9では、前記入力音高音列
形成回路6から出力される信号5kon″(第26図(
C)参照)に基づいて、入力音高音列データP D 1
ine (full)の各構成音に相当するa符長デー
タを形成するとともに、これを発生順に逐次配憶させて
、入力符長音列データLDline(full)を形成
する。(第31図(8)参照)類似符長音列抽出回路1
0では、基準符長音列発生回路12から出力される基準
符長音列データl Dline(ref ) (第25
図(C)参照)と、前記入力符長音列形成回路9から出
力される入力符長音列データ(第31図(B)参照)と
を、前記音高の場合と同様にして互いの時間軸の基準点
をずらせて同一時間帯に存在する音列部分同士で比較し
、類似度の高いものから順に求める。(32図〜第34
図参照) そして、各類似符長音列部分データを、前述の音^の場
合と同様にして、入力符長音列データLDline (
full)に対するシフト回数データl[)line 
ssl −i〜−kに変換して出力する。
The matching note partial superimposition circuit 8 uses the shift number data p Q 1in output from the similar note high pitch sequence extraction circuit 7.
e ssl -1 to -board and the input pitch string data PDline (
Each similar sound ^ tone string partial data is played back based on the ``full'', and each reproduced similar tone pitch string partial data is compared with the reference tone ^ tone string data PDline (ref), and if the two match. The pitch data are sequentially superimposed to form the most similar pitch string data p[)smlp1e. (See FIG. 35.) Next, the input note length string forming circuit 9 receives the signal 5kon'' (see FIG. 26) output from the input pitch string forming circuit 6.
C)), input pitch string data P D 1
Input note length note string data LDline (full) is formed by forming a note length data corresponding to each constituent note of ine (full) and sequentially arranging this data in the order of occurrence. (See Figure 31 (8)) Similar note length string extraction circuit 1
0, the reference note length tone string data l Dline (ref ) (25th
(see FIG. 31(C)) and the input note length note string data (see FIG. 31(B)) output from the input note length string forming circuit 9 are arranged on each other's time axes in the same manner as in the case of the pitch. By shifting the reference point of the sound sequence and comparing the parts of the sound sequence that exist in the same time period, the sound sequences are determined in order of similarity. (Figures 32 to 34
) Then, each similar note length note string partial data is converted into input note length note string data LDline (
shift count data l[)line for full)
Convert to ssl -i to -k and output.

同時に、類似符長音列抽出回路10からは、各類似符長
音列部分データと基準符長音列データし[) 1ine
 (ref )との一致符長音数を表す一致符長13− 音数データLDeq−1〜−kが出力される。
At the same time, the similar note long note string extraction circuit 10 extracts each similar note long note string partial data and reference note long note string data [) 1ine
Matching note length 13-note number data LDeq-1 to -k representing the number of matching note length notes with (ref) are output.

一致符長部弁型合せ回路11では、前記類似符長音列抽
出回路1−0から出力されるシフト回数データLDli
ne 5sl−1〜−にと前記入力符長音列形成回路L
 D 1ine (full)から出力される入力符長
音列データL D 1ine (full)とに基ツイ
テ、各類似符長音列部分データを再生し、この再生され
た類似符長音列部分データを逐次基準符長音列データL
 D 1ine (ref )と比較して、両者間にお
け″る一致音符部分を求め、これを互いに重合せること
により最類似符長音列データL D 381pleを形
成する。(第36図参照) 次に、個別音^一致弁別回路14では、基準音^音列デ
ータp Q 1ine (ref )と最類似音高音列
データp [) 3alpleとに基づいて、基準音高
音列データを構成する各音高毎にそれが基準メロディと
一致しているか否かを判定し、その判定結果を各行高毎
に1ビツトの信号で表す個別音高一致弁別データPDe
q−bitを出力する。
The matching note length part valve type matching circuit 11 uses the shift number data LDli output from the similar note length string extraction circuit 1-0.
ne 5sl-1 to - and the input note length string forming circuit L
Based on the input note length note string data L D 1ine (full) output from D 1ine (full), each similar note length note string partial data is played back, and this reproduced similar note length note string partial data is sequentially converted into a reference note. Long string data L
D 1ine (ref) is compared to find the matching note portion between them, and these are superimposed on each other to form the most similar note length note string data L D 381ple. (See Figure 36) Next , the individual note matching discrimination circuit 14 determines each pitch of each note constituting the reference note pitch sequence data based on the reference note note sequence data pQ1ine (ref) and the most similar pitch note sequence data p[)3alple. It is determined whether or not it matches the reference melody, and the determination result is expressed as a 1-bit signal for each line pitch as individual pitch match discrimination data PDe.
Output q-bit.

−数音高教検出回路15では、個別音高一致弁14− 別回路14から出力されるデータPDeQ−b目に基づ
いて、基準音^音ダ]データに対する一致音数N1を求
め、−数音数データ0(Nl)を出力する。
- The number tone high order detection circuit 15 calculates the matching number N1 for the reference tone ^ sound da] data based on the data PDeQ-b output from the individual pitch matching valve 14 - separate circuit 14, Outputs numerical data 0 (Nl).

個別符長一致弁別回路16では、基準符長音列データL
 D 1ine (ref )と、前記最類似符長音列
データL D sampleとに基づいて、各音符毎に
両音符の一致を判別し、各音符毎にその判定結果を1ビ
ツトの信号で表す個別符長一致弁別データLDeq−b
itを出力する。
In the individual note length coincidence discrimination circuit 16, the reference note length tone string data L
Based on D 1ine (ref) and the most similar note length note string data L D sample, it is determined whether or not both notes match for each note, and the determination result is expressed as a 1-bit signal for each note. Long match discrimination data LDeq-b
Output it.

一致符長数検出回路17では、前記個別符長一致弁別デ
ータLDeqに基づいて、J1準符長音列データと最類
似符長音列データl[) sampleとの間における
一数音符数N2を求め、この−数音筒数を表すデータD
(N2)を出力する。
The matching note length number detection circuit 17 calculates the number of single notes N2 between the J1 semi-note length note string data and the most similar note length note string data l[) sample based on the individual note length matching discrimination data LDeq, Data D representing this - number of tone cylinders
(N2) is output.

音高類似音列数検出回路18では、前記類似音^音列抽
出回路7から出力される各−数音高教データPDeq−
1〜−kに基づいて、類似音^音列部分データの組数N
3を求め、この数N3を表すデータD (N3)を出力
する。
The pitch similar tone sequence number detection circuit 18 detects each -several tone pitch data PDeq- outputted from the similar tone sequence extraction circuit 7.
Based on 1 to -k, the number N of sets of similar sound ^ sound string partial data
3 is obtained, and data D (N3) representing this number N3 is output.

符長類似音列数検出回路19では、前記類似符長音列抽
出回路10から出力される各一致符長音数データLDe
q−1〜−kに基づいて、類似符長音列部分データの組
数N4を求め、この組数N4を表すデータD(N4)を
出力する。
The note length similar note string number detection circuit 19 uses each matching note length note number data LDe output from the similar note length note string extraction circuit 10.
Based on q-1 to -k, the number N4 of sets of similar note length tone string partial data is determined, and data D(N4) representing this number N4 is output.

基準音^数構出回路20では、前記基準音高音列データ
発生回路1から出力される基準音高音列データPDli
ne(ref ) k:基ツイテ、xii単音its音
列データの構成音数N5を求め、この数値N5を表すデ
ータD(N5)を出りする。
The reference tone number construction circuit 20 uses the reference tone treble string data PDli output from the reference tone treble string data generation circuit 1.
ne (ref) k: base tweet, xii single note its The number N5 of constituent notes of the note string data is determined, and data D (N5) representing this number N5 is output.

基準符長数構出回路21では、前記基準符長音列発生回
路12から出力される基準符長音列データL D 1i
ne (ref )に基づいて、基準符長音列データの
構成音数N6を求め、この数(lIN6を表すデータD
(N6)を出力する。
The reference note length number generation circuit 21 uses the reference note length tone string data L D 1i output from the reference note length tone string generation circuit 12.
ne (ref), find the number N6 of constituent notes of the reference note length tone sequence data, and calculate the data D representing this number (lIN6).
(N6) is output.

演奏時間・時間差検出回路22では、前記個別音高一致
弁別回路14から出力される個別音^一致弁別データp
 o eq−batと、前記一致符長部弁型合せ回路1
1から出力される最類似符長音列データl−[)sa−
〇:eと、前記基準符長音列発生回路12から出力され
る基準符長音列データLDline<ref)と、前記
個別符長一致弁別回路16から出力される個別符長一致
弁別データLDeQ−bitとに基づいて、模範演*1
IIIT及び演奏誤差時間ΔTを求め、これらを表すデ
ータD(T)、T(6丁)を出力する。
The performance time/time difference detection circuit 22 uses the individual tone ^ coincidence discrimination data p output from the individual pitch coincidence discrimination circuit 14.
o eq-bat and the matching length part valve type combination circuit 1
Most similar note length string data l-[)sa- output from 1
〇: e, reference note length note string data LDline<ref) output from the reference note length note string generation circuit 12, and individual note length coincidence discrimination data LDeQ-bit output from the individual note length coincidence discrimination circuit 16. Demonstration based on *1
IIIT and performance error time ΔT are determined, and data D(T) and T(6 pieces) representing these are output.

次いで、類似度演算回路23では、前記−数音^数デー
タD(Nl)、一致符長数データD(N2)、音高類似
音列組数データD(N3)、符長類似音列組数データD
(N4)、基準音高数データD(N5)、1!準符長数
データD(N6)、模範演奏時間データD (T)及び
演奏時間差データD(ΔT)とに基づいて、類似度得点
データ[)SCoreを求め、これを類似度弁別回路2
4に促進する。
Next, the similarity calculation circuit 23 calculates the -sound ^ number data D (Nl), the matching note length number data D (N2), the pitch similar note string set number data D (N3), and the note length similar note string set. Number data D
(N4), reference pitch number data D (N5), 1! Based on the quasi-note length number data D (N6), the model performance time data D (T), and the performance time difference data D (ΔT), similarity score data [)SCore is obtained, and this is passed to the similarity discrimination circuit 2.
Promote to 4.

前記各データに基づいて類似度得点Xを求める演算式は
次式の通りである。
The calculation formula for determining the similarity score X based on each of the above data is as follows.

×−([100×(N1/>N5)×(N2/N6)×
(丁−1ΔTl )/T]−Y)÷5×5ここで、N1
;−数音高教 17− N2;一致符長数 N3;音高類似音列組数 N4;符長類似音列組数 N5;基準音高数 N6;基準符長数 ■:模範演奏時間 ΔT;演奏時間差 Y;N3又はN4 このように、この類似度得点演算方式においては、類似
度得点を篩用するについて、その主たる採点i素を一数
音高教N1及び一致符長数N2においているため、入力
されたメロディ歌唱の途中に歌唱し直された誤り箇所が
存在したような場合にも、これらは最終的な得点には大
きく影響することはなく、極めて音楽教師の感覚に近い
類似度得点を得ることができるのである。
×-([100×(N1/>N5)×(N2/N6)×
(D-1ΔTl)/T]-Y)÷5×5Here, N1
;-Number of note lengths 17- N2; Number of matching note lengths N3; Number of similar note sequence sets N4; Number of note length similar note sequence sets N5; Reference number of pitches N6; Reference number of note lengths ■: Model performance time ΔT; Performance time difference Y; N3 or N4 In this way, in this similarity score calculation method, when sifting the similarity scores, the main scoring i elements are the monotone pitch N1 and the number of matching note lengths N2. Even if there are errors in the input melody that are resung during the singing, these will not greatly affect the final score, and the similarity score is very close to the music teacher's feeling. You can get it.

類似度弁別回路24は、所定の基準得点(例えば80点
)を基準として前記類似得点データ[)SCoreを判
別し、この類似得点データの値が基準となる80点を越
えている場合に限りmra確認信号18− SOkとして“1″を出力する。
The similarity discrimination circuit 24 discriminates the similarity score data [)SCore based on a predetermined standard score (for example, 80 points), and determines mra only when the value of this similarity score data exceeds the standard 80 points. Confirmation signal 18--Outputs "1" as SOk.

ドア開閉制御回路26.照明制御回路27および風呂注
水制御回路28は、それぞれドアの開閉。
Door opening/closing control circuit 26. The lighting control circuit 27 and the bath water filling control circuit 28 respectively open and close the door.

照明の点灯制御および風呂の注水制御を司どるもので、
これらの各回路は前述したメロディ指定信号35eie
ct −1〜35elect −4の内容に応じて択一
的にイネーブルされる。
It controls lighting control and bath water injection.
Each of these circuits receives the aforementioned melody designation signal 35eie.
It is alternatively enabled depending on the contents of ct-1 to 35elect-4.

そして、それぞれがイネーブルされている状態において
、メロディ認識確認信号SOkが出力された場合に限り
、各制御回路は所要の動作を実行し、実行完了とともに
完了信号5OVerを出力することとなる。
Then, in the state where each control circuit is enabled, only when the melody recognition confirmation signal SOk is output, each control circuit executes the required operation, and upon completion of the execution, outputs the completion signal 5OVer.

この結果、前述した如く例えばマイクロフォン4から予
め定められたドア開閉指令に相当するメロディを歌唱等
すると、当該歌唱されたメロディが基準音高音列発生回
路1および基準符長音列発生回路12に記憶された各音
列データと充分に類似しているものと認識された場合、
ドア開閉制御回路は所要の動作を実行し、これによりド
アの開閉が自動釣行なわれる。
As a result, as described above, for example, when a melody corresponding to a predetermined door opening/closing command is sung from the microphone 4, the sung melody is stored in the reference pitch tone string generation circuit 1 and the reference note length tone string generation circuit 12. If it is recognized as sufficiently similar to each sound string data,
The door opening/closing control circuit executes the required operations, thereby automatically opening/closing the door.

これに対して、制御回路25からメロディ指定信号5s
elect−3または5select−4が出力された
状態において、照明制御指令または風呂注水制御指令に
相当するメロディがマイクロフォン4または電子楽器等
から入力された場合には、メロディ確認信号3ok”1
”に応答して、照明制御回路27または風呂注水制御回
路28がそれぞれ所要の動作を行ない、これにより照明
の点灯制御あるいは風呂に対する注水制御が自動的に行
なわれることとなる。
In response, the control circuit 25 sends a melody designation signal 5s.
In the state where select-3 or 5select-4 is output, if a melody corresponding to a lighting control command or bath water injection control command is input from the microphone 4 or an electronic musical instrument, a melody confirmation signal 3ok"1 is output.
In response to this, the lighting control circuit 27 or the bath water filling control circuit 28 performs the respective required operations, whereby lighting control of the lighting or water injection control for the bath is automatically performed.

次に、以上説明した本装置の基本的な動作の流れを、更
に第2図以降の図面を参照しつつ詳細に説明する。
Next, the basic operation flow of the present apparatus described above will be explained in detail with reference to the drawings from FIG. 2 onwards.

この装置の動作は制御回路25から出力される各種の制
御信号によって制御されているため、まず始めに制御回
路25の詳細な構成を第20図〜第24図に基づいて説
明する。
Since the operation of this device is controlled by various control signals output from the control circuit 25, the detailed configuration of the control circuit 25 will be explained first with reference to FIGS. 20 to 24.

第20図に示す如く、制御回路25は後述する第1〜第
に類似音高音列検出回路あるいは第1〜第に類似符長音
列検出回路の何れか1つを択一的に指定するための類似
段指定信号3ssl −1〜−(n+1)を出力する類
似膜指定信号発生回路2510と、前記指定された類似
音高音列検出回路及び類似符長音列検出回路内のシスト
レジスタを歩進MIlするためのシフト信号5shif
tを出力するシフト信号発生回路2520と、前記指定
された類似音高音列検出回路及び類似符長音列検出回路
内のシフトレジスタに対して、入力音高音列データ及び
入力符長音列データをラッチさせるためのラッチ信号S
 1atchを出力するラッチ信号発生回路2530と
、前記類似膜指定信号発生回路2510から出力される
各類似段指定信号55m1−1〜−(口+1)の各立ち
上りに応答して、微小幅“1″パルスを出力するロード
信号発生回路2540と、前記シフト信号発生回路25
20から出力されるシフト信号5shiftを、前記類
似膜指定信号発生回路2510によって指定された類似
段の類似音高音列検出回路及び類似符長音列検出回路内
の各シフトレジスタに切換供給するためのセレクタ25
50と、前記ラッチ信号発生回路221− 530から出力されるラッチ信号S 1atchを、前
記類似膜指定信号発生回路2510によって指定された
各類似段の類似音高音列検出回路及び類似符長音列検出
回路へ切換供給するためのセレクタ2560とによって
構成されている。
As shown in FIG. 20, the control circuit 25 is configured to selectively designate any one of first to second similar pitch tone sequence detection circuits or first to second similar note length tone sequence detection circuits, which will be described later. A similar film designation signal generation circuit 2510 that outputs a similar stage designation signal 3ssl -1 to -(n+1) and a cyst register in the designated similar pitch tone string detection circuit and similar note length tone string detection circuit are incremented MIl. Shift signal 5shif for
The input pitch tone string data and the input note length tone string data are latched by the shift signal generation circuit 2520 that outputs t and the shift registers in the specified similar pitch tone string detection circuit and similar note length tone string detection circuit. latch signal S for
In response to each rising edge of each similar stage designation signal 55m1-1 to -(gate+1) outputted from the latch signal generation circuit 2530 that outputs 1ch and the similar film designation signal generation circuit 2510, a minute width "1" is generated. A load signal generation circuit 2540 that outputs a pulse, and the shift signal generation circuit 25
a selector for switching and supplying the shift signal 5shift outputted from the similar film designation signal generation circuit 2510 to each shift register in the similar pitch tone string detection circuit and the similar note length tone string detection circuit of the similar stage designated by the similar film designation signal generation circuit 2510; 25
50 and the latch signal S1atch outputted from the latch signal generation circuits 221-530 to the similar pitch tone string detection circuit and similar note length tone string detection circuit of each similar stage designated by the similar film designation signal generation circuit 2510. and a selector 2560 for switching and supplying.

カウンタ2580は、動作終了信号3 overが到来
する度にリセットされ、かつ判定終了信号が到来する度
に歩道制御され、このカウンタ2580の計数値はデコ
ーダ2570によってデコードされ、各デコード出力が
前述したメロディ指定信号85elect −1〜S 
5elect −4となるのである。
The counter 2580 is reset every time the operation end signal 3 over arrives, and is controlled every time the determination end signal arrives. Designated signal 85elect -1~S
5elect -4.

類似膜指定信号発生回路2510の詳細を第21図に示
す。同図に示す如く、類似膜指定信号発生回路2510
は、前記入力音高音列形成回路6から出力される判定イ
ネーブル信号3 judgeによりてセットされ、かつ
後述するデコーダ2515のn+2ビット出力によって
リセットされるRSフリップフロップ2511と、前記
ラッチ信号発生回路2530から出力されるラッチ信号
31stchによって強制的にリセットされ、かつ後述
する22− アンドゲート2513の出力“1”の立ち上りに応答し
て、そのd出力を取込むように構成されたD型フリップ
70ツブ2512と、前記RSフリップフロップ251
1のQ出力と、前記り型フリップフロップ2512のQ
出力とによって開閉制御され、かつ前記シフト信号発生
回路2520から出力されるクロック信号Sφを通過さ
せるアンドゲート2513と、このアンドゲート251
3から出力されるパルスを計数するとともに、後述する
デコーダ2515のn +、2ピット出力によってリセ
ットされるカウンタ2514と、このカウンタ2514
の計数出力をデコードするデコーダ2515とから構成
されており、このデコーダ2515の各ピット出力がそ
れぞれロード信号31゜ad−1〜−(n+1)となる
Details of the similar film designation signal generation circuit 2510 are shown in FIG. As shown in the figure, a similar film designation signal generation circuit 2510
is set by the judgment enable signal 3 judge output from the input pitch sequence forming circuit 6 and reset by the n+2 bit output of the decoder 2515 described later, and the latch signal generation circuit 2530. A D-type flip 70 knob 2512 is forcibly reset by the output latch signal 31stch and configured to take in the d output in response to the rise of the output "1" of the 22-AND gate 2513, which will be described later. and the RS flip-flop 251
1 and the Q output of the above-mentioned flip-flop 2512.
an AND gate 2513 whose opening/closing is controlled by the output and which passes the clock signal Sφ output from the shift signal generation circuit 2520; and this AND gate 251.
A counter 2514 counts the pulses output from 3 and is reset by the n+, 2 pit output of a decoder 2515, which will be described later.
and a decoder 2515 for decoding the count output of , and each pit output of this decoder 2515 becomes a load signal 31°ad-1 to -(n+1), respectively.

シフト信号発生回路2520の詳細を第22図に示す。Details of shift signal generation circuit 2520 are shown in FIG.

同図に示す如く、シフト信号発生回路2520は、前記
類似膜指定信号発生回路2510内のデコーダ2515
の各ピットの出力の論理和を取るためのオアゲート25
21と、このオアゲート2521の出力“1”の立ち上
りに応答して微小幅′1″パルスを出力するモノマルチ
2522と、このモノマルチ2522から出力される微
小幅“1″パルスを微小@@dtだけ遅延させるための
遅延回路2523と、この遅延回路2523から出力さ
れる“1”パルスによってセットされ、かつ前記ラッチ
信号発生回路2530から出力されるラッチ信号S I
atChによってリセットされるRSフリップフロップ
2524と、このRSフリップ70ツブ2524のQ出
りによって開r11制御され、かつクロック発生器25
25から出力されるクロック信号Sφを開閉制御するた
めのアンドゲート2526とから構成されており、この
アンドゲート2526の出力がシフト信号S 5hif
tとなる。
As shown in the figure, the shift signal generation circuit 2520 is connected to a decoder 2515 in the similar film designation signal generation circuit 2510.
OR gate 25 for taking the logical sum of the outputs of each pit of
21, a monomulti 2522 that outputs a minute width ``1'' pulse in response to the rise of the output ``1'' of this OR gate 2521, and a minute width ``1'' pulse output from this monomulti 2522 as a minute @@dt. a delay circuit 2523 for delaying the latch signal S I set by the "1" pulse output from the delay circuit 2523 and output from the latch signal generation circuit 2530.
The RS flip-flop 2524 is reset by atCh, and the opening r11 is controlled by the Q output of this RS flip 70 knob 2524, and the clock generator 25
and an AND gate 2526 for controlling the opening/closing of the clock signal Sφ output from the clock signal S5hif.
It becomes t.

ラッチ信号発生回路2530の詳細を第23図に示す。Details of the latch signal generation circuit 2530 are shown in FIG.

同図に示す如くラッチ信号発生回路2530は、前記シ
フト信号発生回路2520から出力されるシフト信号5
shiftを計数するとともに、後述する一致判別回路
2533の一数比力Seqによってリセットされるシフ
ト回数カウンタ2531と、前記入力音高音列形成回路
6から出力される確実押鍵信号3 pushを計数する
とともに、前記類似膜指定信号発生回路2510から出
力される判定終了信号3 endによってリセットされ
る押鍵数カウンタ2532と、前記シフト回数カウンタ
2531の計数値と、前記押鍵数カウンタ2532の計
数値との一致を判別する一致判別回路2533とから構
成されており、この一致判別回路2533の一致信号が
ラッチ信号S 1atchとして出りされる訳である。
As shown in the figure, the latch signal generation circuit 2530 receives the shift signal 5 output from the shift signal generation circuit 2520.
In addition to counting the number of shifts, a shift number counter 2531 that is reset by the monomer specific force Seq of a coincidence determination circuit 2533, which will be described later, and the reliable key press signal 3 push outputted from the input pitch string formation circuit 6 are counted. , the key press number counter 2532 that is reset by the determination end signal 3 end output from the similar film designation signal generation circuit 2510, the count value of the shift count counter 2531, and the count value of the key press number counter 2532. A match determination circuit 2533 is configured to determine a match, and a match signal from this match determination circuit 2533 is output as a latch signal S1atch.

この結果、以上説明した各回路が動作すると、第24図
のタイムチャートに示す如く、判定イネーブル信号3 
judgeに゛1゛′パルスが到来するとともに、まず
ロード信号5load−1には゛′1″パルスが1個出
力され、続いて遅延回路2523で定まる遅延時間dt
だけ遅れて、シフト信号5shirt−1には押鍵回数
に対応する個数の゛1″パルスが出力され、以下同様に
してロード信号5load−2〜−4及びシフト信号5
shift −2〜−4に25− 同様なパルスが出力され、最終シフト信号である3sh
ift −4に所定個数のパルス列が出力された後、一
定の類似度演算に必要な時間が経過すると最後に判定終
了信号3 endに“1″パルスが出力されることとな
る。
As a result, when each of the circuits described above operates, the determination enable signal 3 is output as shown in the time chart of FIG.
When the "1" pulse arrives at the judge, one "1" pulse is first output to the load signal 5load-1, and then the delay time dt determined by the delay circuit 2523 is output.
After a delay of 1, the number of "1" pulses corresponding to the number of key presses is outputted to the shift signal 5shirt-1, and the load signals 5load-2 to -4 and the shift signal 5 are output in the same manner.
25- similar pulses are output from shift -2 to -4, and the final shift signal 3sh
After a predetermined number of pulse trains are output to ift-4, when the time required for a certain degree of similarity calculation has elapsed, a "1" pulse is finally output to the determination end signal 3 end.

なお、第24図のタイムチャートにおいては、第19図
においてn −3とした場合を示すものである。
Note that the time chart in FIG. 24 shows the case where n-3 is used in FIG. 19.

次に、以上説明した各制御信号を参照しつつ、データ処
理の流れに沿って、第1図に示す各回路の詳細を説明す
る。
Next, details of each circuit shown in FIG. 1 will be explained along the flow of data processing while referring to each control signal explained above.

まず、音^検出回路5の詳細を第2図に示す。First, details of the sound detection circuit 5 are shown in FIG.

同図において、基本波検出回路501は、入力された音
声信号または楽音信号中に含まれる基本波を検出し、こ
れを該当するアナログ電圧に変換して出力する。
In the figure, a fundamental wave detection circuit 501 detects a fundamental wave included in an input audio signal or musical tone signal, converts it into a corresponding analog voltage, and outputs the same.

A/D変換回路2602は、前記基本波検出回路501
から出力されるアナログ電圧をデジタル信号に変換する
The A/D conversion circuit 2602 is the fundamental wave detection circuit 501.
Converts the analog voltage output from the converter into a digital signal.

音^基準データ発生回路503は、C1,CI26一 #、D1・・・・・・Cnからなる一連の基準音高デー
タを並列に出力する。
The tone reference data generation circuit 503 outputs a series of reference pitch data consisting of C1, CI26-#, D1...Cn in parallel.

許容判別回路504−1〜504−pは前記A/D変換
回路502から出力される入力音高データと、前記音高
基準データ発生回路503から出力される各基準音高デ
ータとの大小比較を行い、これらの比較結果に相当する
音高差が、所定の許容範囲内に収まる場合に限り、各端
子EQに1″を出力する。
Permissible discrimination circuits 504-1 to 504-p compare the input pitch data outputted from the A/D conversion circuit 502 and each reference pitch data outputted from the pitch reference data generation circuit 503. 1'' is output to each terminal EQ only when the pitch difference corresponding to the comparison result falls within a predetermined tolerance range.

ゲート回路505−1〜505−pは、それぞれ許容判
別回路504−1〜504−1)の各−数比力によって
開閉制御され、これによりそれぞれ01〜Cnに相当す
る音高データを通過させる。
The gate circuits 505-1 to 505-p are controlled to open and close by the minus number specific power of each of the permissible discrimination circuits 504-1 to 504-1), thereby passing pitch data corresponding to 01 to Cn, respectively.

オアゲート506は、前記各ゲート回路505−1〜5
05−1)を通過する音高データの論理和を取るもので
、すなわち、このオアゲート506からは入力音声信号
に対応する音列データが択一的に出力されることとなる
The OR gate 506 includes each of the gate circuits 505-1 to 505-5.
05-1), and that is, this OR gate 506 selectively outputs tone sequence data corresponding to the input audio signal.

オゲート507は前記オアゲート506の各ビットの論
理和を取るもので、これにより何らかの音列データが入
力されたことを検出する。
The O gate 507 calculates the logical sum of each bit of the OR gate 506, and thereby detects that some tone string data has been input.

モノマルチ507.508は、前記オアゲート507の
出力“1″に応答して、微少幅111 I+を出力し、
この“1″′パルスが前記第1図に示す押鍵タイミング
信号S kon−となり、また前記オアゲート506の
出力が前記第1図に示す入力音高データPD(in)と
なるのである。
The monomulti 507 and 508 output a minute width 111 I+ in response to the output “1” of the OR gate 507,
This "1"' pulse becomes the key press timing signal Skon- shown in FIG. 1, and the output of the OR gate 506 becomes the input pitch data PD(in) shown in FIG.

次に、入力音^音列形成回路6の詳細を第3図に示す。Next, details of the input sound string forming circuit 6 are shown in FIG.

同図においてRSフリップ70ツブ6゜1は、後述する
微分回路609がら出力される微小幅111 IIパル
スによってセットされ、かつ前記制御回路25から出力
される判定終了信号S endによってリセットされる
In the same figure, the RS flip 70 knob 6°1 is set by a minute width 111 II pulse output from a differentiating circuit 609, which will be described later, and reset by a determination end signal S end output from the control circuit 25.

アンドゲート602は、前記RSフリップ70ツブ60
1のQ出力によって開閉制御され、押鍵検出回路5から
出力される押鍵タイミング信号5kon−を通過させる
The AND gate 602 includes the RS flip 70 knob 60.
Opening/closing is controlled by the Q output of No. 1, and a key press timing signal 5kon- outputted from the key press detection circuit 5 is passed.

ゲート回路603は、RSフリップ70ツブ601のQ
出力によって開閉制御され、これにより押鍵検出回路5
から出力される入力音高データPQ(in)を通過させ
る。
The gate circuit 603 is the Q of the RS flip 70 tube 601.
Opening/closing is controlled by the output, which causes the key press detection circuit 5
The input pitch data PQ(in) output from the input pitch data PQ(in) is passed through.

一致判別回路604は、後述するシフトレジスタ607
の第1ステージに記憶されている入力音高データPD(
in)と、ゲート回路603から出力される入力音高デ
ータPD(in)との一致を判別するもので、両者の一
致が判定された場合、そのEQ比出力は“°1′″が出
力される。
The match determination circuit 604 includes a shift register 607, which will be described later.
The input pitch data PD (
in) and the input pitch data PD(in) output from the gate circuit 603. If it is determined that the two match, the EQ ratio output is "°1'". Ru.

オアゲート605は、前記アンドゲート602の出力と
前記一致判別回路604の出力との論理和を取るもので
、このオアゲート605の出力が前記確実押鍵信号3 
pushとなる。
The OR gate 605 takes the logical sum of the output of the AND gate 602 and the output of the coincidence determination circuit 604, and the output of this OR gate 605 is the reliable key press signal 3.
Push.

モノマルチ606はオアゲート605から出力される“
1″の立ち上がりに応答して微小幅“1″パルスを出力
するもので、このモノマルチ606の出力が音高データ
取込み信号反転3 kon“となる。
The monomulti 606 is output from the OR gate 605.
It outputs a very small width "1" pulse in response to the rising edge of "1", and the output of this monomulti 606 becomes the inverted pitch data acquisition signal "3 kon".

シフトレジスタ607は前記モノマルチ606から出力
されるデータ取込み信号反転5kon”に応答して、ゲ
ート回路603を通過した入力音高データをその第1ス
テージに取込むとともに、各29− ステージを順次図中右方ヘシフトするように構成されて
いる。
The shift register 607 responds to the inverted data acquisition signal 5kon'' output from the monomulti 606, inputs the input pitch data that has passed through the gate circuit 603 into its first stage, and sequentially inputs the input pitch data through each of the 29 stages. It is configured to shift to the center right.

モノマルチ608は、前記モノマルチ606の411 
#l出力の立ち上がりに応答して繰り返しトリガ可能に
構成されており、またトリガされる痕に比較的長い“1
′′パルス(例えば、2.5秒)を出力するように構成
されており、このモノマルチ608の出力が演奏中信号
5playとなる。
The monomulti 608 is connected to 411 of the monomulti 606.
It is configured so that it can be triggered repeatedly in response to the rise of the #l output, and there is a relatively long “1” in the trigger trace.
'' pulse (for example, 2.5 seconds), and the output of this monomulti 608 becomes the playing signal 5play.

微分回路609は、モノマルチ608の出力111 $
1の立ち上がりに応答して、微小幅“1″パルスを出力
するように構成されており、この微分回路609の出力
が判定イネーブル信号Sjudgeとなる。
The differentiating circuit 609 outputs the output 111 of the monomulti 608 $
The differential circuit 609 is configured to output a minute width "1" pulse in response to a rise of "1", and the output of this differentiating circuit 609 becomes the determination enable signal Sjudge.

オアゲート610は、判定終了゛信号3 endとイニ
シャルクリア信号3icとの論理和を取るもので、この
オアゲート610の出力によって前記シフトレジスタ6
07の各ステージは全てクリアされとともに、同時にこ
のオアゲート610の出力かクリア信号5clrとして
出力される。
The OR gate 610 takes the logical sum of the judgment end signal 3 end and the initial clear signal 3 ic, and the output of this OR gate 610 determines the logical sum of the judgment end signal 3 end and the initial clear signal 3 ic.
All stages of 07 are cleared, and at the same time, the output of this OR gate 610 is output as a clear signal 5clr.

この結果、以上説明した各回路が動作すると、30− 第26図のタイムチャートに示す如く、モノマルチ60
6はオアゲート605から出力される押鍵信号3 pu
shの立ら上がりで繰り返ルトリガされ、かつシフトレ
ジスタ607はモノマルチ606から出力されるデータ
取込み信号反′転5kon”の立ち上がりに応答してゲ
ート回路603から出力される入力音高データを取込む
ため、第26図(A>及び第27図(A)に示す如く、
入力されたオリジナルな音高データの中に、ジッタ等に
伴う誤った音高データが存在した場合には、これらの入
力音高データはシフトレジスタ607には取込まれない
こととなり、第27図(B)に示す如く、シフトレジス
タ607の各ステージには、誤った入力音高データが除
去され、音楽的な要素として充分な長さを有する音符長
に対応した音高データだけが取込まれるのである。そし
て、各ステージに取込まれた音高データはそれぞれ並列
に出力され、この並列出力が入力音高音列データP D
 1ine (full)となる。
As a result, when each of the circuits explained above operates, the monomulti 60
6 is a key press signal 3 pu output from the OR gate 605
The shift register 607 receives the input pitch data output from the gate circuit 603 in response to the rise of the data acquisition signal inverted 5kon'' output from the monomulti 606. As shown in Figure 26 (A> and Figure 27 (A)),
If there is incorrect pitch data due to jitter etc. in the input original pitch data, these input pitch data will not be taken into the shift register 607, and as shown in FIG. As shown in (B), incorrect input pitch data is removed from each stage of the shift register 607, and only pitch data corresponding to a note length that is long enough as a musical element is taken in. It is. Then, the pitch data taken into each stage is output in parallel, and this parallel output is the input pitch string data P D
1ine (full).

次に、入力符長音列形成回路9の詳細を第4図に示す。Next, details of the input note length string forming circuit 9 are shown in FIG.

同図において、オアゲート901は、判定終了信号S 
endとイニシャルクリア信号3icとの論理和を出り
する。
In the figure, an OR gate 901 receives a determination end signal S
Outputs the logical sum of end and initial clear signal 3ic.

オアゲート902は、イニシャルクリア信号Sicと判
定イネーブル信号3 judQf3との論理和を出力す
る。
The OR gate 902 outputs the logical sum of the initial clear signal Sic and the determination enable signal 3 judQf3.

微分回路903は、前記音高音列形成回路6から出りさ
れるデータ取込み信号9kon″の立ち上がりに応答し
て、微小幅“1″パルスを出力する。
The differentiating circuit 903 outputs a minute width "1" pulse in response to the rise of the data acquisition signal 9kon" output from the pitch string forming circuit 6.

アンドゲート904は、演奏中信号81)laVによっ
て開閉制御され、前記微分回路903から出力される微
小幅111 IIパルスを通過させる。
The AND gate 904 is controlled to open and close by the playing signal 81) laV, and allows the minute width 111 II pulse output from the differentiation circuit 903 to pass therethrough.

RSフリップ70ツブ905は、データ取込み信号3k
On”の立ち上がりでセットされ、かつ前記オアゲート
902の出力でリセットされる。
RS flip 70 knob 905 is data acquisition signal 3k
It is set at the rising edge of "On" and reset at the output of the OR gate 902.

テンポクロック発振器906は、所定周期(例えば、1
00es、500μS)のテンポクロックを出力する。
The tempo clock oscillator 906 has a predetermined period (for example, 1
00es, 500μS) tempo clock is output.

この例では、周波数は可変制御可能に構成されている。In this example, the frequency is configured to be variably controllable.

カウンタ907は、前記RSフリップ70ツブ905の
Q出力によってイネーブルされ、テンポクロック発振器
906から出力されるテンポクロックTCLを計数する
。更に、羅延回路908を介して遅延されたアンドゲー
ト904の微小幅“1”出力によって繰り返しリセット
される。
A counter 907 is enabled by the Q output of the RS flip 70 knob 905 and counts the tempo clock TCL output from the tempo clock oscillator 906. Furthermore, it is repeatedly reset by the minute width "1" output of the AND gate 904 which is delayed via the loop circuit 908.

シフトレジスタ908は、前記アンドゲート904から
出力される微小幅゛1″パルスによってシフト制御され
るとともに、前記カウンタ907の計数出力を符長デー
タとして、第1ステージに取込むように構成されており
、またこのシフトレジスタ908は前記オアゲート90
1の出力によってクリアされる。
The shift register 908 is shift-controlled by the minute width "1" pulse output from the AND gate 904, and is configured to input the counting output of the counter 907 as note length data to the first stage. , and this shift register 908 is connected to the OR gate 90.
Cleared by outputting 1.

この結束、以上説明した各回路が動作すると、シフトレ
ジスタ908の各ステージには、第31図(B)に示す
如く、前記入力音高音列形成回路6内のシフトレジスタ
607の各ステージに記憶された音高データに対応する
符長データが順次取込まれることとなり、これらの各ス
テージの並列出力データが入力符長音列データLDli
αe (full)となる。
When the above-described circuits operate, each stage of the shift register 908 stores data in each stage of the shift register 607 in the input pitch string forming circuit 6, as shown in FIG. The note length data corresponding to the note pitch data are sequentially imported, and the parallel output data of each stage is the input note length note string data LDli.
αe (full).

33− 次に、類似音^音列抽出口117の詳細を第5図に示す
。同図に示す如く、類似音轟音列抽出回路7は、それぞ
れ入力音高音列データP D li、ne (full
)と基準音^音列データP [) 1ine (ref
 )とが並列に供給されるように構成された第1〜第k
からなるkiilの類似音^音列検出回路700−1〜
700−kによって構成されている。
33- Next, details of the similar sound sequence extraction port 117 are shown in FIG. As shown in the figure, the similar sound roar sequence extraction circuit 7 inputs input pitch sequence data P D li, ne (full
) and reference tone ^ tone sequence data P [) 1ine (ref
) are supplied in parallel.
kiil similar sound^ sound sequence detection circuit 700-1~
700-k.

第1〜第kll似音高音列検出回路700−1〜−には
、前述したように入力音高音列データPDline (
full)と基準音轟音列データp [) 1ine 
(ref)とを恰も電車が擦れ違うかの如く、互いの鋳
閤軸の基準点をずらせながら同一時間帯に存在するもの
同志で類似度を判別した場合、第1.第2〜第kli目
に類似した音高音列データ部分をそれぞれ検出するもの
で、これら検出された類似音^音列部分はそれぞれ、1
127図(C)〜(J)に示す如く、入力音高音列デー
タに対するシフト回数を表す第1〜第に類似音轟音列部
分データPD1inesml−1〜−にとして出力され
る。
As described above, the first to kll-like high pitch string detection circuits 700-1 to 700-- have input pitch string data PDline (
full) and reference sound roar sequence data p[) 1ine
(ref) existing in the same time zone while shifting the reference points of each other's casting axes, as if trains were passing each other. This method detects the pitch tone string data portions that are similar to the 2nd to klith pitches, and each of these detected similar tone string portions is 1
As shown in FIGS. 127 (C) to (J), first to second similar sound roar sequence partial data PD1inesml-1 to PD1inesml-1 representing the number of shifts to the input pitch sequence data are output.

また、各類似音高音列検出回路700−1〜.734− 00−kからは、各検出された類似音^音列部分データ
p Q 1ine 5g1l −1〜−kの中に、基準
音高音列データと一致する音が幾つあるかを示す一数音
高教データPDeq−1〜−kが出力される訳である。
Further, each similar pitch tone sequence detection circuit 700-1 to . From 734-00-k, a number tone indicating how many tones that match the reference pitch tone string data are present in each detected similar tone tone string partial data p Q 1ine 5g1l -1 to -k. This means that the high school data PDeq-1 to -k are output.

次に、第1類似音^音列検出回路700−1の詳細を第
6図に示す。同図において、シフトレジスタ701は、
ロード信号5load−1の立ち上がりに応答して、入
力音高音列形成回路6から出力される入力音高音列デー
タPDline(full)をロードする。また、シフ
ト信号5shift −1に含まれる“1′′パルス応
答して図中左方向へシフト制御されるとともに、クリア
信号3clrによって全ステージの内容は同時にクリア
される。
Next, the details of the first similar sound string detection circuit 700-1 are shown in FIG. In the same figure, the shift register 701 is
In response to the rise of the load signal 5load-1, input pitch string data PDline (full) output from the input pitch string forming circuit 6 is loaded. Further, in response to the "1" pulse included in the shift signal 5shift-1, the shift control is performed to the left in the figure, and the contents of all stages are simultaneously cleared by the clear signal 3clr.

並列音高一致判別回路702は、前記シフトレジスタ7
01の第1〜第7ステージから並列に出りされる音高音
列部分データp□+the(1〜7)と、前記基準音高
音列発生回路1から出力される基準音高音列データP 
D 1ine (ref )とを、各ステージ毎に一致
判別を行ない、各判別結果に対応する1°+、i+□”
信号を端子EQI〜EQ7に出力する。
The parallel pitch coincidence determination circuit 702 is configured to perform the shift register 7.
The pitch string partial data p□+the(1 to 7) output in parallel from the first to seventh stages of 01 and the reference tone treble string data P output from the reference tone treble string generation circuit 1.
D 1ine (ref), and 1° +, i + □ corresponding to each determination result.
Output signals to terminals EQI to EQ7.

音^−政教検出回路703は、前記並列音^一致判別回
路702の各−数比力EQ1〜EQ7に基づいて両者の
一致数を検出し、対応する音^−政教データを出力する
The sound^-politics/religion detection circuit 703 detects the number of coincidences between the two based on the respective -number ratios EQ1 to EQ7 of the parallel sound^ coincidence determination circuit 702, and outputs the corresponding sound^-politics/religion data.

カウンタ704は、判定イネーブル信号Sjudgeに
よってリセットされ、シフト信号3shiftに含まれ
る“1”パルスの個数を計数し、これによりシフト回数
データを出力する。
The counter 704 is reset by the determination enable signal Sjudge, counts the number of "1" pulses included in the shift signal 3shift, and thereby outputs shift number data.

一致数比較回路705は、後述するラッチ回路707に
ラッチされた音高一致数データと、前記音高−政教検出
回路703から出力される音高一致数データとを大小比
較し、音高−政教検出回路703から出力される音高一
致数データの方がラッチ回路707にラッチされた音高
一致数データよりも大きい場合に限り、“1”を出力す
る。
The match number comparison circuit 705 compares the pitch match number data latched by a latch circuit 707, which will be described later, with the pitch match number data output from the pitch-political religion detection circuit 703, and compares the pitch match number data output from the pitch-political religion detection circuit 703. Only when the pitch matching number data output from the detection circuit 703 is larger than the pitch matching number data latched by the latch circuit 707, "1" is output.

アンドゲート706は、前記−政教比較回路705の出
力によって開閉制御され、これによりシフト信号3sh
ift −1を通過させる。
The AND gate 706 is controlled to open and close by the output of the -politics-religion comparison circuit 705, and thereby the shift signal 3sh
Ift -1 is passed.

ラッチ回路707は、判定イネーブル信号Sjudge
によってリセットされるともに、前記アンドゲート70
6から出力される“1″パルスに応答して、音^−政教
検出回路703から出力される音高一致数データをラッ
チする。
The latch circuit 707 receives a judgment enable signal Sjudge.
and the AND gate 70
In response to the "1" pulse output from the tone ^-political/religious detection circuit 703, the pitch matching number data output from the tone ^-political/religious detection circuit 703 is latched.

ラッチ回路708は、同様に判定イネーブル信号Sju
dgeによってリセットされるとともに、アンドゲート
706から“1”パルスが出力される度に、カウンタ7
04から出力されるシフト回数データをラッチする。
Similarly, the latch circuit 708 receives the determination enable signal Sju
The counter 7 is reset by dge, and each time a “1” pulse is output from the AND gate 706
Latch the shift number data output from 04.

ラッチ回路709は、クリア信号5clrによってリセ
ットされるとともに、ラッチ信号S 1atch中に“
1”パルスが到来する度に、前記ラッチ回路707にラ
ッチされた音高一致数データをラッチする。
The latch circuit 709 is reset by the clear signal 5clr, and the latch circuit 709 is reset by the clear signal 5clr.
Every time a 1'' pulse arrives, the pitch matching number data latched in the latch circuit 707 is latched.

ラッチ回路710は、同様にクリア信号S ctrによ
ってリセットされるとともに、ラッチ信号5latch
中に“1°°パルスが到来する度に、前記ラッチ回路7
08にラッチされたシフト回数データをラッチする。
The latch circuit 710 is similarly reset by the clear signal S ctr, and is also reset by the latch signal 5latch.
Each time a 1° pulse arrives in the latch circuit 7,
The shift count data latched at 08 is latched.

37− そして、ラッチ回路709の出力が、−散音高教データ
PDeq−1となり、またラッチ回路710の出力がシ
フト回数データp [) 1ine ssl −1とな
る。
37- Then, the output of the latch circuit 709 becomes the -sankyo data PDeq-1, and the output of the latch circuit 710 becomes the shift number data p[) 1ine ssl-1.

この結果、以上説明した各回路が正常に動作すると、シ
フトレジスタ701においては、第27図(B)〜(J
)に示す如く順次シフト制御が行なわれ、並列音^一致
判別回路702においては第28図(A)〜(1)に示
す如く、データPDline(ref )とデータp[
)line(1〜7)との一致判別が行なわれる。
As a result, when each of the circuits described above operates normally, the shift register 701 operates as shown in FIGS.
), the shift control is performed sequentially, and in the parallel sound matching determination circuit 702, the data PDline (ref) and the data p[
) line (1 to 7) is determined.

そして第28図の例においては、シフト0回に対応する
音高音列部分データp□1ine(1〜7)が最類似音
高音列部分データとして検出され、この結果ラッチ回路
710から出力されるデータP[) 1ine ssl
 −1の内容はrOJとなり、またデータPDeq−1
の内容は「3」となる。
In the example of FIG. 28, the pitch string partial data p□1ine (1 to 7) corresponding to 0 shifts is detected as the most similar pitch string partial data, and as a result, the data output from the latch circuit 710 P[) 1ine ssl
The content of -1 becomes rOJ, and the data PDeq-1
The content of is "3".

次に、第に類似音高音列検出回路700−にの詳細を第
7図に示す。同図においてシフトレジスタ751は、ロ
ード信号5load−kに応答して、38− 入力音高音列データP D 1ine (full)を
ロードするとともに、シフト信号5shift −kに
含まれる“11″′パルスに応答してシフト制御され、
更にクリア信号5clrによって全ステージの内容は同
時にクリアされる。また、シフトレジスタ751の第1
〜第7ステージの各データは、個別にリセット可能に構
成されている。
Next, details of the similar pitch sequence detection circuit 700- are shown in FIG. In the figure, the shift register 751 loads the 38-input pitch string data P D 1ine (full) in response to the load signal 5load-k, and also loads the "11"' pulse included in the shift signal 5shift-k. Shift controlled in response,
Furthermore, the contents of all stages are simultaneously cleared by the clear signal 5clr. Also, the first shift register 751
~Each data in the seventh stage is configured to be individually resettable.

次に、並列音高一致判別回路752.音高一致数検出回
路753.−政教比較回路755.アンドゲート756
.カウンタ754.ラッチ回路759、ラッチ回路76
0の各動作は、それぞれ、前記第1類似音高音列検出回
路700−1内の対応する回路と全く同一であり、ここ
では繰り返し説明しない。
Next, parallel pitch matching determination circuit 752. Pitch matching number detection circuit 753. - Politics and Religion Comparison Circuit 755. and gate 756
.. Counter 754. Latch circuit 759, latch circuit 76
Each operation of 0 is completely the same as that of the corresponding circuit in the first similar pitch sequence detection circuit 700-1, and will not be repeatedly described here.

一致判別回路761−1〜761− (k−1>は、そ
れぞれカウンタ754がら出力されるシフト回数データ
と、各前段の類似音高音列検出回路700−1〜700
−(k−1>から送られてくるシフト回数データP [
) 1ine s*I −i 〜P D 1iness
l−(k−1)との一致を判別するもので、両データ聞
の一致が判別された場合に限りそれぞれ“1”を出力す
る。
Matching determination circuits 761-1 to 761- (k-1> are the shift number data output from the counter 754, respectively, and similar pitch sequence detection circuits 700-1 to 700 at the previous stage)
-(k-1>) shift number data P [
) 1ine s*I -i 〜PD 1iness
1-(k-1), and outputs "1" only when it is determined that both data match.

オアゲート762は、前記各一致判別回路761−1〜
761− (k−1)の出力の論理和を出力する。
The OR gate 762 includes each of the matching determination circuits 761-1 to 761-1.
761- Outputs the logical sum of the outputs of (k-1).

ゲート回路763は、前記オアゲート762がらの出力
によって開閉制御され、これにより並列音高一致判別回
路752の各−数比力を、シフトレジスタ751の第1
〜第7ステージのリセット端子Rへと供給する。
The gate circuit 763 is controlled to open and close by the output from the OR gate 762, and thereby transfers each negative number ratio power of the parallel pitch matching determination circuit 752 to the first one of the shift register 751.
~Supplied to the reset terminal R of the seventh stage.

アンドゲート764は、インバータ765で反転された
オアゲート762の出力により開閉制御され、これによ
りアンドゲート756の出力を禁止させる。
AND gate 764 is controlled to open and close by the output of OR gate 762 which is inverted by inverter 765, thereby inhibiting the output of AND gate 756.

ラッチ回路757は、判定イネーブル信号Sjudge
によってリセットされるとともに、前記アンドゲート7
64を通過する“1”パルスに応答して、音^−政教検
出回路753がら出りされる音高−政教データをラッチ
する。
The latch circuit 757 receives a judgment enable signal Sjudge.
and the AND gate 7
In response to the "1" pulse passing through 64, the pitch-religion data output from the tone-religion detection circuit 753 is latched.

ラッチ回路758は、同様に判定イネーブル信号3 J
udgeによってリセットされ、また前記アンドゲート
764を通過した゛1゛′パルスに応答して、カウンタ
754から出力されるシフト回数データをラッチする。
The latch circuit 758 similarly receives the determination enable signal 3 J
In response to the "1" pulse reset by the AND gate 764 and passed through the AND gate 764, the shift number data output from the counter 754 is latched.

この結果、以上の各回路が動作すると、第27図(B)
〜(J)に示す如く、シフトレジスタ751の各ステー
ジに記憶された入力音高データは順次図中左方向へとシ
フト信号5shift−にの111 I+パルスに応答
してシフトされ、同時に並列音^一致判別回路752に
おいては、第29図及び第30図示す如く、各シフト回
数毎の音高音列部分データと基準音高音列データとの一
致判別処理が行なわれる。
As a result, when each of the above circuits operates, Fig. 27(B)
As shown in (J), the input pitch data stored in each stage of the shift register 751 is sequentially shifted to the left in the figure in response to the 111 I+ pulse of the shift signal 5shift-, and at the same time the input pitch data is shifted to the left in the figure in response to the 111 I+ pulse of the shift signal 5shift-, and at the same time, In the coincidence determination circuit 752, as shown in FIGS. 29 and 30, a process of determining coincidence between the partial pitch string data for each number of shifts and the reference pitch string data is performed.

ここで第28図、第29図、第30図はそれぞれ、第1
.第2.第3類似音高音列検出回路700−1.700
−2.700−3における各並列音高一致判別回路70
2.752の動作を示すものである。
Here, FIGS. 28, 29, and 30 are the first
.. Second. Third similar high pitch string detection circuit 700-1.700
-2.Each parallel pitch matching determination circuit 70 in 700-3
2.752 operation.

これらの図からも明らかなように、第2〜第に類似音高
音列検出回路内における各並列音高一致41− 判別回路752においては、既に前段の類似音轟音列検
出回路において検出された類似音轟音列部分データp0
1ine(1〜7)のシフトタイミングが到来すると、
これらのデータに含まれる基準音高音列データP D 
1ine (ref >との一致部分については、ゲー
ト回路763の出力によって個別にリセットされる。
As is clear from these figures, in each of the parallel pitch matching circuits 41 to 752 in the second to second similar tone high pitch string detection circuits, the similar pitch matching circuits 752 that have already been detected in the previous stage similar tone roar string detection circuit Sound row partial data p0
When the shift timing for 1ine (1 to 7) arrives,
Reference pitch sequence data included in these data P D
1ine (ref >) are individually reset by the output of the gate circuit 763.

これにより、既に検出された類似音高音列部分データの
中に含まれる基準音高音列データとの一致部分が、再び
別の類似音轟音列部分データと一複して認識されること
はなくなる。
As a result, the portion that matches the reference pitch string data included in the already detected similar pitch tone string partial data will not be recognized as another similar tone roar string partial data again.

また、各前段の類似音高音列検出回路において既に検出
された類似音高音列部分データのシフトタイミングがそ
れぞれ到来すると、オアゲート762の出力によってア
ンドゲート764は禁止され、従って第に類似音^音列
検出回路700−kにおいては、常に第1〜第に一1類
似音高音列検出回路において既に検出されている類似音
^音列部分データPDline(1〜7)よりも常に類
似度の1段低いデータが検出されることとなるのであ4
2− る。
Furthermore, when the shift timing of the similar tone pitch string partial data already detected in each preceding stage similar tone pitch string detection circuit arrives, the AND gate 764 is inhibited by the output of the OR gate 762, and therefore the similar tone string In the detection circuit 700-k, the similarity is always one step lower than the similar tone string partial data PDline (1 to 7) that has already been detected in the first to eleventh similar pitch tone string detection circuits. 4 because the data will be detected.
2-.

次に、−数音^部弁型合せ回路8の詳細を第8図に示す
。同図において、シフトレジスタ801はロード信号5
load −(k +1 >に応答して入力音高音列デ
ータP D 1ine (full)をロードする。
Next, the details of the -number part valve type matching circuit 8 are shown in FIG. In the same figure, a shift register 801 receives a load signal 5.
Load the input pitch string data P D 1ine (full) in response to load −(k +1 >).

そして、シフト信号5shift −(k + 1 >
に含まれる1”パルスに応答して図中下方向へとシフト
制御され、またクリア信号3 clrによって各ステー
ジの内容は同時にクリアされる。
Then, the shift signal 5shift −(k + 1 >
In response to the 1" pulse included in the 1" pulse, the stages are shifted downward in the figure, and the contents of each stage are simultaneously cleared by the clear signal 3clr.

並列音高一致判別回路802は、前記シフトレジスタの
第1〜第7ステージより並列に出力される音高音列部分
データpDline(1〜7)と、前記基準音高音列発
生回路1から出力される基準音高音列データP D 1
ine (ref )とを各ステージ毎に一致判別処理
し、その判別結果を各ステージ毎に1ビツトの信号によ
って端子EQI〜EQ7に出力する。
The parallel pitch coincidence determination circuit 802 receives pitch string partial data pDline (1 to 7) output in parallel from the first to seventh stages of the shift register and the pitch string partial data pDline (1 to 7) output from the reference tone pitch string generation circuit 1. Reference pitch pitch sequence data P D 1
ine (ref) for each stage, and outputs the result of the determination to terminals EQI to EQ7 as a 1-bit signal for each stage.

カウンタ803は判定イネーブル信号S judgeに
よってリセットされるとともに・、前記シフト信号5s
hift −(k + 1 )を計数し、これによりシ
フトレジスタ801のシフト回数に対応するシフト回数
データを出力する。
The counter 803 is reset by the judgment enable signal Sjudge and also by the shift signal 5s.
shift - (k + 1) is counted, thereby outputting shift count data corresponding to the shift count of the shift register 801.

一致判別回路804−1〜804−には、それぞれ前記
カウンタ803から出力されるシフト回数データと、前
記各類似音高音列検出回路700−1〜700−kから
出力されるシフト回数データP D 1ine ssl
 −1〜P D 1ine ssl −kとの一致を判
別するもので、両者の一致を判別された場合に限り1”
を出力する。
The match determination circuits 804-1 to 804- each receive the shift number data output from the counter 803 and the shift number data P D 1ine output from each of the similar tone pitch sequence detection circuits 700-1 to 700-k. ssl
-1 to P D 1ine ssl -k, and only when it is determined that they match, it returns 1"
Output.

オアゲート805は、前記各一致判別回路804−1〜
804−にの出力の論理和を取るもので、このオアゲー
ト805の出力によって後述するデータ重合せ処理が制
御される。
The OR gate 805 includes each of the match determination circuits 804-1 to 804-1.
The output of OR gate 804- is logically summed, and the output of this OR gate 805 controls data superimposition processing, which will be described later.

アンドゲート806−1〜806−7はそれぞれ前記オ
アゲート805の出力によって開閉制御され、それぞれ
前記並列音高一致判別回路の各出力を通過させる。
The AND gates 806-1 to 806-7 are controlled to open and close by the output of the OR gate 805, and each output of the parallel pitch matching determination circuit passes through them.

ラッチ回路807−1〜807−7は、それぞれアンド
ゲート806−1〜806−7を介して供給される前記
並列音高一致判別回路802の各−数比力によってラッ
チ制御され、これにより前記シフトレジスタ801から
出力される第1ステージから第7ステージの各出力の中
で、基準音高音列データP Q 1ine (raf 
)との一致部分のみを各シフトの度にラッチすることと
なる。そして、これらのラッチ回路807−1〜807
−7にラッチされた各一連の音高データによって、最類
似音轟音列データp [) sampleが構成される
The latch circuits 807-1 to 807-7 are latch-controlled by the respective minus number ratio powers of the parallel pitch coincidence determination circuit 802 supplied via AND gates 806-1 to 806-7, respectively, and thereby the shift Among the outputs from the first stage to the seventh stage outputted from the register 801, the reference pitch pitch sequence data PQ 1ine (raf
) is latched at each shift. And these latch circuits 807-1 to 807
Each series of pitch data latched to -7 constitutes the most similar sound roar sequence data p[) sample.

この結果、以上説明した各回路が動作すると、第35図
に示す如く、各類似段の類似音^音列検出回路700−
1〜700−kにお゛いて検出された各類似音列データ
の中から、基準音高音列データとの一致部分だけが取り
出され、これらが互いに重合せられることにによって、
最類似音轟音列データp [) 6ampleが形成さ
れる。
As a result, when each of the circuits described above operates, as shown in FIG.
From each similar tone string data detected in 1 to 700-k, only the parts that match the reference pitch tone string data are extracted, and by superimposing them on each other,
The most similar sound roar sequence data p[) 6ample is formed.

次に類似符長音列抽出回路10の詳細を第9図に示す。Next, the details of the similar note length string extracting circuit 10 are shown in FIG.

同図において、第1〜第kw4似符長音列検出回路10
00−1〜1000−にの構成は、前述した第5図に示
す第1〜第に類似音高音列検出回路700−1〜700
−にの構成と略同様で45− あり、すなわち各類似符長音列検出回路からは、類似度
の高いものから順に選択された複数個の類似符長音列部
分データに対応して、そのシフト回数データl Q 1
ine ssl −1〜L D 1ine ssl −
kと、符長−政教データLDeQ−1〜LDeq−kが
出力される。
In the same figure, the first to kw4th analog long tone string detection circuit 10
The configuration of 00-1 to 1000- includes the first to second similar pitch series detection circuits 700-1 to 700 shown in FIG.
The configuration is almost the same as that of 45-, that is, each similar note length tone string detecting circuit calculates the number of shifts corresponding to a plurality of similar note length tone string partial data selected in order from the one with the highest degree of similarity. Data l Q 1
ine ssl -1~L D 1ine ssl -
k, and note length-political/religious data LDeQ-1 to LDeq-k are output.

第1111[似符長音列検出回路1000−1の詳細を
第10図に示す。同図において、シフトレジスタ1oo
i、符長−政教検出回路1003.カウンタ1004.
−政教比較回路1005.アンドゲート1006.ラッ
チ回路1007.ラッチ回路i oos、ラッチ回路1
009.ラッチ回路1010の構成は、単に取り扱うデ
ータが音高データから符長データに替わっただけで、そ
の他の点については前記第6図に示す第1類似音轟音列
検出回路700−1と同一であるため、ここでは説明は
繰り返さない。
Details of the 1111th similar note length string detection circuit 1000-1 are shown in FIG. In the same figure, shift register 1oo
i, note length-political/religious detection circuit 1003. Counter 1004.
- Politics and Religion Comparison Circuit 1005. ANDGATE 1006. Latch circuit 1007. latch circuit i oos, latch circuit 1
009. The configuration of the latch circuit 1010 is the same as the first similar sound roar sequence detection circuit 700-1 shown in FIG. 6 above, except that the data handled is simply changed from pitch data to note length data. Therefore, the explanation will not be repeated here.

これに対して、並列符長一致判別回路1002の構成に
ついては、前記第6図に示す並列音^一致判別回路70
2の構成とは若干相違する。すな46一 わち、第25図(C)に示す如く、基準符長音列発生回
路10から出力される基準符長音列データL D 1i
ne (ref )の各構成音符については、それぞれ
正確に8分音符、4分音符、得点4分音符。
On the other hand, regarding the configuration of the parallel note length match determination circuit 1002, the parallel note length match determination circuit 70 shown in FIG.
The configuration is slightly different from 2. In other words, as shown in FIG. 25(C), the reference note length tone string data L D 1i output from the reference note length tone string generation circuit 10
For each constituent note of ne (ref), exactly an eighth note, a quarter note, and a scored quarter note, respectively.

2分音符等のように一定の基準長さを有するものである
It has a fixed standard length, such as a half note.

これに対してシフトレジスタ701の第1ステージ〜第
7ステージから出力される符長音列部分データについて
は、第31図(B)〜(J)に示す如く、それぞれ誤差
Δ1〜Δ9を有する。なお、ここでは説明の便宜上、各
音符に付された誤差Δ1〜Δ9の値は、各対応する音符
として認識し得る所定の許容範囲内の誤差とする。
On the other hand, the note length string partial data output from the first to seventh stages of the shift register 701 have errors Δ1 to Δ9, respectively, as shown in FIGS. 31(B) to (J). Here, for convenience of explanation, the values of errors Δ1 to Δ9 attached to each note are assumed to be errors within a predetermined tolerance range that can be recognized as each corresponding note.

従って、前記並列音高一致判別回路702のように、両
音列データ閤において該当するステージ同士で正確に一
致判別を行なった場合、両データが完全に一致すること
は殆どない。
Therefore, when the parallel pitch match determining circuit 702 accurately determines the match between the corresponding stages in both tone string data, it is almost impossible for both data to completely match.

そこで、並列符長一致判別回路1002においては、音
列データL D 1ine (ref )と音列データ
PDline(1〜7)との比較に際しては、各ステー
ジ毎に基準符長データとの誤差が所定の許容範囲内にあ
る場合には、これを一致するものと見なすようにしてい
る。つまり、端子EQI〜EQ7には、それぞれA1〜
A7と81〜B7との差が所定の許容範囲に収まってい
る場合に限り一致出力が得られる訳である。
Therefore, in the parallel note length match determination circuit 1002, when comparing the note sequence data L D 1ine (ref) and the note sequence data PDline (1 to 7), the error with the reference note length data is determined for each stage by a predetermined value. If it is within the allowable range, it is considered to be a match. In other words, terminals EQI to EQ7 have terminals A1 to EQ7, respectively.
A matching output is obtained only when the difference between A7 and 81 to B7 is within a predetermined tolerance range.

この結果、第10図に示す各回路が動作すると、シフト
レジスタ1001内においては、第31図(B)〜(J
)に示す如く、各ステージのシフトが行なわれ、これと
同時に並列符長一致判別回路1002内においては、第
32図に示す如く、基準符長音列データL D 1in
e (ref )と符長音列部分データpi)line
(1〜7)の大小比較が行なわれ、各ステージ毎に各音
符の長さが所定の許容範囲内に治まっているか否かの判
定が行なわれる。
As a result, when each circuit shown in FIG. 10 operates, in the shift register 1001, FIGS.
), each stage is shifted, and at the same time, in the parallel note length coincidence determination circuit 1002, as shown in FIG.
e (ref) and note length string partial data pi) line
(1 to 7) are compared in magnitude, and it is determined for each stage whether the length of each note is within a predetermined allowable range.

そして、符長−政教検出回路1003からは各−散音数
に相当する数値データが出力され、同時にカウンタ10
04にはそのシフト回数が出力され、最終的にラッチ回
路1009及びラッチ回路1010からは、最も一致音
数が多い符長音列部分データに対応する一致音数及びそ
のシフト回数データしDeQ −1、L D 1ine
 5ill −1が出力サレるのである。
Then, the note length/religion detection circuit 1003 outputs numerical data corresponding to the number of each -sound, and at the same time the counter 10
04, the number of shifts is outputted, and finally the latch circuit 1009 and the latch circuit 1010 output the number of matching notes and the number of shifts corresponding to the note length note string partial data with the largest number of matching notes, DeQ -1, L D 1ine
5ill -1 is the output sale.

次に、第に類似符長音列検出回路1000−にの詳細を
第11図に示す。同図において、シフトレジスタ105
1.符長−政教検出回路1053゜カウンタ1054.
−政教比較回路1055.アンドゲート1056.ラッ
チ回路1057.ラッチ回路1058.ラッチ回vs1
059.ラッチ回路1060.一致判別回路1061−
1〜1061−(k−1)、オアゲート1062.ゲー
ト回路1063.アンドゲート1064.インバータ1
065の構成は、取り扱うデータの種類が音高データか
ら符長データに代っただけで、その他については第7図
に示す第に類似音高音列検出回路700−にと同一であ
り、また並列符長一致判別回路1052の構成について
は、前記第1類似符長音列検出回路1000−1と同一
であるため、ここでは繰り返し説明は避けることとする
Next, details of the similar note length tone sequence detection circuit 1000- are shown in FIG. In the figure, shift register 105
1. Note length-religion detection circuit 1053° counter 1054.
- Politics and Religion Comparison Circuit 1055. ANDGATE 1056. Latch circuit 1057. Latch circuit 1058. Latch times vs1
059. Latch circuit 1060. Match determination circuit 1061-
1-1061-(k-1), ORGATE 1062. Gate circuit 1063. ANDGATE 1064. Inverter 1
The configuration of 065 is the same as that of the similar pitch sequence detection circuit 700- shown in FIG. 7, except that the type of data handled has changed from pitch data to note length data. The configuration of the note length match determination circuit 1052 is the same as that of the first similar note length tone sequence detection circuit 1000-1, so a repeated explanation will be avoided here.

この結果、以上説明した各回路が動作すると、49− 例えば第2.第3類似符長音列検出回路1000−2.
1000−3内においては、第33図、第34図に示す
如く、基準符長音列データLDline(ref)と符
長音列部分データPDline(1〜7)との一致判別
動作が行なわれ、この際に前述した音高データの場合と
同様にして、既に選択された類似音^音列データについ
ては一致判別の対象から除かれる。
As a result, when each of the circuits described above operates, 49-, for example, the second . Third similar note length string detection circuit 1000-2.
In 1000-3, as shown in FIGS. 33 and 34, a match determination operation is performed between the reference note length string data LDline (ref) and the note length string partial data PDline (1 to 7). Similar to the case of the pitch data described above, the already selected similar tone string data is excluded from the matching determination target.

そして、第2類似符長音列検出回路1000−2からは
2番目に一致音数の多い符長音列部分データが抽出され
、第3類似符長音列検出回路1000−3からは第3醤
目に類似した符長音列部分データが抽出される。
Then, the second similar note length string detection circuit 1000-2 extracts the note length string partial data with the second largest number of matching notes, and the third similar note length string detection circuit 1000-3 extracts the third note length string partial data. Similar note length note string partial data is extracted.

そして、これら抽出された各符長音列部分データはそれ
ぞれ入力符長音列データしQ 1ine (full)
に対するシフト回数データに変換され、LDlines
al −1〜しDline sat −kとして出力さ
れ、更に各音列データの一致音数については、LDeQ
−1〜LDeq−にとして出力されるのである。
Then, each extracted note length note string partial data is converted into input note length note string data Q 1ine (full)
LDlines
al -1 to Dline sat -k, and the number of matching tones in each tone string data is determined by LDeQ
-1 to LDeq-.

次に一致符長部弁型合せ回路11の詳細を第150− 2図に示す。同図において、シフトレジスタ1101.
カウンタ1103.一致判別回路1104−1〜110
4−に、アオゲート1105.アンドゲート1106−
1〜1106−7、ラッチ回路1107−1〜1107
−7の構成については、取り扱うデータが音高データか
ら符長データに代っただけで、前記第8図に示す一散音
高部弁型合せ回路8と全く同一であり、また並列符長一
致判別回路1102の構成は前記各類似符長音列検出回
路1000−1〜1000−に内の該当する回路と同一
であるため、ここでは繰り返し説明は避けφこととする
Next, details of the matching length part valve type matching circuit 11 are shown in FIG. 150-2. In the figure, shift register 1101.
Counter 1103. Match determination circuits 1104-1 to 110
4-, Aogate 1105. ANDGATE 1106-
1 to 1106-7, latch circuits 1107-1 to 1107
-7 is exactly the same as the single-note high-valve combination circuit 8 shown in FIG. 8 above, except that the handled data is changed from pitch data to note length data, and parallel Since the configuration of the coincidence determination circuit 1102 is the same as the corresponding circuit in each of the similar note length string detection circuits 1000-1 to 1000-, repeated explanation will be avoided here.

この結果、以上説明した回路が動作すると、ラッチ回路
1107−1〜1107−7においては、第36図に示
す如く、第1.第2.第3類似符長音列検出回路でそれ
ぞれ検出された符長音列部分データにおける各−数音が
互いに重合せられ、これにより最類似符長音列データL
 D sampleが形成されることととなる。
As a result, when the circuit described above operates, in the latch circuits 1107-1 to 1107-7, as shown in FIG. Second. Each -several note in the note length string partial data detected by the third similar note length string detection circuit is superimposed on each other, so that the most similar note length string data L
D sample will be formed.

次に、演奏時間・時間差検出回路22の詳細を第13図
に示す。同図においてセレクタ2201は、前記個別音
高一致判別回路14から出力される最類似音高音列デー
タP D sagipleと基準音^音列データP D
 1ine (ref )との一致音数に相当する音高
−政教データPDeqによって、各ステージ別に個別に
切替制御可能に構成され、このため出力端子0UT1〜
0UT7には、データp [) Sampleまたはデ
ータP D 1ine (rer )の何れかの各ステ
ージの内容が出力される。
Next, details of the performance time/time difference detection circuit 22 are shown in FIG. In the same figure, a selector 2201 selects between the most similar pitch tone sequence data P D sagiple output from the individual pitch coincidence determination circuit 14 and the reference tone tone sequence data P D
1ine (ref) corresponding to the number of notes that match the pitch-political data PDeq, each stage can be individually switched and controlled, and therefore the output terminals 0UT1 to
The contents of each stage of either data p[) Sample or data P D 1ine (rer) are output to 0UT7.

ゲート回路2204は、ラッチ信号31atchによっ
て開閉制御され、前記個別符長一致弁別回路16から出
力される最類似符長データL D sampleと基準
符長音列データL D 1ine (ret )との一
致音数に相当する符長−政教データLDec+を通過さ
せる。
The gate circuit 2204 is controlled to open and close by a latch signal 31atch, and determines the number of notes in which the most similar note length data L D sample outputted from the individual note length coincidence discrimination circuit 16 and the reference note length note string data L D 1ine (ret) match. The note length-political and religious data LDec+ corresponding to is passed.

オアゲート2202−1〜2202−7は、前記音^−
政教データPDeqと符長−政教データLDeQとを各
ステージ別に論理和を出力するもので、これらのオアゲ
ートの出力によって後述するラッチ回路2203−1〜
2203−7がラッチ制御される。
The or gates 2202-1 to 2202-7 produce the above sound ^-
It outputs the logical sum of political and religious data PDeq and note length-political and religious data LDeQ for each stage, and the latch circuits 2203-1 to 2203-1 to be described later are output from these OR gates.
2203-7 is latch controlled.

ラッチ回路2203−1〜2203−7は、前記オアゲ
ート2202−1〜2202−7の出力によって格別に
ラッチ制御されており、これにより前記セレクタ220
2の各出力0UT1〜0UT7から出力される符長デー
タをラッチする。
The latch circuits 2203-1 to 2203-7 are specially latch-controlled by the outputs of the OR gates 2202-1 to 2202-7.
The note length data output from each output 0UT1 to 0UT7 of 2 is latched.

加算回路2205は、前記ラッチ回路22o3−1〜2
203−7にラッチされた各符長データを全て加算し、
これらの総和を出力する。
The adder circuit 2205 includes the latch circuits 22o3-1 to 22o3-2.
Add all the note length data latched to 203-7,
Output these sums.

加算回路2206は、前記基準符長音列データL D 
1ine (ref )を構成する各符長データを全て
加算し、これらの総和を出力する。そして、この加算回
路2206の出力が前述の演奏時間データD (T)と
なる。
The addition circuit 2206 adds the reference note length tone string data L D
All the note length data constituting 1ine (ref) are added, and the total sum is output. The output of this adder circuit 2206 becomes the aforementioned performance time data D (T).

減算絶対値回路2207は、前記加算回路2205から
出力される加算データと、前記加算回路2206から出
力される加算データとの差を求め、更にその絶対値を出
力し、この絶対値が前記演奏時間差データD(6丁)と
なる。
A subtraction absolute value circuit 2207 calculates the difference between the addition data output from the addition circuit 2205 and the addition data output from the addition circuit 2206, and further outputs the absolute value, and this absolute value is the performance time difference. Data will be D (6 guns).

この結果、以上説明した各回路が動作すると、53− ラッチ回“路2203−1〜2203−7においては、
第37図に示す如く、最類似音高音列データP D s
ampleにおいて音^が誤っている部分について、最
類似符長音列データデータL D 6agipleにお
いても符長が誤っているような場合には、この符長誤り
箇所に相当する空白部分は、基準符長音列データの該当
する箇所に存在する正しい符長データによって補正され
ることとなる。
As a result, when each circuit described above operates, in the 53-latch circuits 2203-1 to 2203-7,
As shown in FIG. 37, the most similar pitch sequence data P D s
If the note length is incorrect in the part where the note ^ is incorrect in the sample, and the note length is also incorrect in the most similar note length note string data L This will be corrected using the correct note length data present at the corresponding location in the column data.

すなわち、メロディの認識においては、音高は特に重要
なIIjllIとなり、このため音高を誤った押鍵音の
符長については、符長判定において正しい符長とみなし
、これにより音高の正しい押鍵音についてのみ符長長短
を判定した方がより音楽教師に近い正確な認識がなされ
る訳である。
In other words, pitch is particularly important in melody recognition, and therefore, the note length of a note pressed with an incorrect pitch is considered to be the correct note length in the note length judgment, and thereby the note length of a note pressed with the wrong pitch is treated as the correct note length. This means that if the note length is determined only for key tones, the recognition will be more accurate and similar to that of a music teacher.

次に、音高類似音列数検出回路18の詳細を第14図に
示す。同図において、零データ発生回路1801はに個
の零データを並列に出力する。
Next, details of the pitch similar tone sequence number detection circuit 18 are shown in FIG. In the figure, a zero data generation circuit 1801 outputs two pieces of zero data in parallel.

一致判別回路1802は、前記零データ発生回路180
1から並列に出力される零データと、前記類似音高音列
抽出回路7から出力されるに個の54− 音^−政教データPDeq−1〜PDeQ−にとの一致
を個別に判別し、各判別結果を1ピツトの信号によって
端子EQI〜EQkに出力する。
The coincidence determination circuit 1802 is configured to match the zero data generation circuit 180.
It is determined individually whether the zero data outputted in parallel from 1 and the 54-tone ^-political/religious data PDeq-1 to PDeQ- outputted from the similar pitch sequence extraction circuit 7 is matched, and each The determination result is output to terminals EQI to EQk as a 1-pit signal.

不一致数検出回路1803は、前記一致判別回路180
2の各対しEQ1〜EQkから出力される゛0″信号の
数を検出し、これを音高類似音列組数データD(N3)
として出力する。
The mismatch number detection circuit 1803 includes the match determination circuit 180.
Detect the number of "0" signals output from EQ1 to EQk for each pair of pitches EQ1 to EQk, and use this as pitch similar sound sequence set number data D (N3).
Output as .

次に符長類似音列検出回路19の詳細を第15図に示す
。同図において、零データ発生回路1901はに個の零
データを並列に出力する。
Next, the details of the note length similar tone sequence detection circuit 19 are shown in FIG. In the figure, a zero data generation circuit 1901 outputs two pieces of zero data in parallel.

一致判別回路1902は、前記零データ発生回路190
1から並列に出力されるに個の零データと、前記類似符
長音列抽出回路10から並列に出力されるに個の符長−
政教データLDeQ−1〜しく)eq−にとの一致を個
別に判別し、各判別結果を1ビツトの信号によって端子
EQ1〜EQkに出力する。
The coincidence determination circuit 1902 is configured to match the zero data generation circuit 190.
zero data output from 1 in parallel, and note length - output in parallel from the similar note length note string extraction circuit 10.
It individually determines whether the political/religious data LDeQ-1~eq- match, and outputs each determination result to terminals EQ1~EQk as a 1-bit signal.

′ 不一致数検出回路1903は、前記一致判別回路1
902から出力される信号“O”の数を検出し、これを
符長類似音列組数データD(N4)として出力する。
'The mismatch number detection circuit 1903 is the match determining circuit 1.
The number of signals "O" outputted from 902 is detected and outputted as note length similar sound sequence set number data D (N4).

次に基準音真数検出回路20の詳細を第16図に示す。Next, the details of the reference tone antinomial detection circuit 20 are shown in FIG.

同図において零データ発生回路2001は、14個の零
データを並列に出力する。
In the figure, a zero data generation circuit 2001 outputs 14 pieces of zero data in parallel.

一致判別回路2002は、前記零データ発生回路200
1から出力される14個の零データと、前記基準音高音
列発生回路1から出力される基準音高音列データP D
 1ine (ref )とを、各ステージ別に個別に
一致判別し、その判別結果を端子EQ1〜EQ14に1
ピツトの信号により並列に出力する。
The coincidence determination circuit 2002 is a match determination circuit 2002
14 zero data output from 1 and the reference tone treble string data P D output from the reference tone treble string generation circuit 1.
1ine (ref) for each stage individually, and the determination results are sent to terminals EQ1 to EQ14.
Outputs in parallel depending on pit signal.

不一致数検出回路2003では、前記一致判別回路20
02から出力される各出力の中で、°°0”の数を検出
し、これを基準音^数データD (N5)として出力す
る。
In the mismatch number detection circuit 2003, the match determination circuit 20
The number of °°0'' is detected from each output outputted from 02, and this is output as the reference tone ^ number data D (N5).

次に、基準符長数検出回路21の詳細を第17図に示す
。同図において、零データ発生回路2101は14個の
零データを並列に出力する。
Next, the details of the reference code length number detection circuit 21 are shown in FIG. In the figure, a zero data generation circuit 2101 outputs 14 pieces of zero data in parallel.

一致判別回路2102は、前記零データ発生回路210
1から出力される14個の零データと、前記基準符長音
列発生回路12から出力される基準符長音列データL 
D 1ine (ref )とを、各ステージ毎に個別
に一致判別し、その判別結果を端子EQ1〜EQI 4
に1ビツトの信号で並列に出力する。
The coincidence determination circuit 2102 is connected to the zero data generation circuit 210.
14 zero data output from 1, and the reference note long tone string data L output from the reference note long tone string generation circuit 12.
D1ine (ref) is individually determined for each stage, and the determination results are sent to terminals EQ1 to EQI4.
1-bit signal is output in parallel.

不一致数検出回路21は、前記一致判別回路2102の
端子EQI〜EQ14から出力される各信号の中で、“
0″の数を検出し、これを基準符長数データD(N6)
として出力する。
The mismatch number detection circuit 21 determines whether "
Detect the number of 0'' and use it as the reference mark length number data D (N6)
Output as .

次に、類似度演算回路23では、このようにして得られ
た一散音^数データD(Nl)、一致符長歌データD(
N2)、音高類似音列組数データD(N3)、符長類似
音列相数データD(N4)。
Next, in the similarity calculation circuit 23, the one-tone ^ number data D (Nl) obtained in this way, the matching note length song data D (
N2), pitch similar note string set number data D (N3), note length similar note string phase number data D (N4).

基準音^数データD(N5)、基準符長数データD (
N6)、演奏時間差データD(ΔT)、演奏時開データ
D (T)に基づいて、次の演算式により歌唱者が行な
ったメロディ歌唱に対する類似度得点を求める。
Standard note number data D (N5), standard note length number data D (
N6), the similarity score for the melody singing performed by the singer is determined based on the performance time difference data D (ΔT) and the performance opening data D (T) using the following calculation formula.

得点X−([100x (N1/N5)x (N2/N
6)X (T−1ΔTl )/Tl −Y)57− ÷5×5 但し、N1;−散音高教 N2;一致符長歌 N5:基準音高数 N6;基準符長数 ■=模範演奏時間 ΔT;演奏時間差 Y:音高類似音列組数N3または符長 類似音列組数N4 次に、ドア開閉制御回路26の詳細を第18図および第
19図に示す。
Score X - ([100x (N1/N5)x (N2/N
6) ;Performance time difference Y: Number of pitch-similar tone string sets N3 or note length-similar note string groups N4 Next, details of the door opening/closing control circuit 26 are shown in FIGS. 18 and 19.

アンドゲート2608は、前述したメロディ指定信号3
select−1によって開閉制御され、これによりメ
ロディ認識確認信号Sokを通過させる。
AND gate 2608 is the melody designation signal 3 mentioned above.
Opening/closing is controlled by select-1, thereby allowing the melody recognition confirmation signal Sok to pass.

アンドゲート2609は、前述したメロディ指定信@ 
S 5elect −2によって開閉制御され、これに
よりメロディ認識確認信号Sokを通過させる。
ANDGATE 2609 is the melody specified message @
Opening/closing is controlled by S5elect-2, thereby allowing the melody recognition confirmation signal Sok to pass through.

一方、第19図に示す如く、モータMの回転力は駆動−
率2601を介して従動−車2602に伝達され、これ
により従動歯車26o2に同定さ58− れた捩子環2610は軸承2604.2605間に支承
されて回転を行なう。
On the other hand, as shown in FIG. 19, the rotational force of motor M is
The rotational speed is transmitted to the driven gear 2602 via the gear ratio 2601, so that the screw ring 2610 identified in the driven gear 26o2 is supported between the bearings 2604 and 2605 and rotates.

すると、捩子環2610に噛合するボス2603は、モ
ータMの回転方向に応じて図中上下方向へ直線運動を行
ない、これによりレバー2606を介してドア2607
が開閉駆動されることとなる。
Then, the boss 2603 that meshes with the screw ring 2610 performs a linear movement in the vertical direction in the figure according to the rotational direction of the motor M, and thereby the door 2607 is moved via the lever 2606.
will be driven to open and close.

また、ボス2603の移動距離は、リミットスイッチL
S1またはしS2によって規制され、これらのリミット
スイッチの間においてボス2603は往復運動をするこ
ととなる。
In addition, the moving distance of the boss 2603 is determined by the limit switch L.
The boss 2603 is regulated by S1 or S2, and the boss 2603 reciprocates between these limit switches.

以上の構成において、今仮にドアを開クコくに相当する
音声メロディがマイクロフォン4か 入力されたとすれ
ば、まずメロディ指定信号sse+ect−iが“1′
″となって、これによりアンドゲート2608が開”状
態となる。
In the above configuration, if a voice melody corresponding to the sound of opening the door is input to microphone 4, first the melody designation signal sse+ect-i is "1".
'', and as a result, the AND gate 2608 becomes open.

この状態において、入力された音声メロディが所定のド
アを開かせることに相当するメロディと充分に類似して
いた場合、メロディ認識確認信号Sokが°゛1″とな
って、アントゲ−t−2608のアンド条件が成立し、
フリップ70ツブFF1゜FF2がセットされる。この
結果リレーR1が駆動されてスイッチR1−1がオンと
なり、リレーR1が駆動されてスイッチR2−1,R2
−2が正転端子側に切り替わるのでモータMは正転モー
ドで回転し始め、睡が開きスイッチLS2はオフする。
In this state, if the input voice melody is sufficiently similar to the melody corresponding to opening a predetermined door, the melody recognition confirmation signal Sok becomes °゛1'' and the ant game t-2608 The AND condition is satisfied,
Flip 70 knobs FF1 and FF2 are set. As a result, relay R1 is driven and switch R1-1 is turned on, relay R1 is driven and switches R2-1 and R2 are turned on.
-2 is switched to the normal rotation terminal side, so the motor M starts rotating in the normal rotation mode, and the switch LS2 is turned off.

靜が開き終わると、リミットスイッチLS1がオンし、
フリップフロップFF1がリセットされるので、スイッ
チR1−1がオフしモータは停止する。
When the silence has finished opening, limit switch LS1 is turned on,
Since the flip-flop FF1 is reset, the switch R1-1 is turned off and the motor is stopped.

また、リミットスイッチLSIがオンしたことにより、
フリップフロップFF2もリセットされモータは逆転モ
ードとなる。
Also, due to the limit switch LSI being turned on,
Flip-flop FF2 is also reset and the motor enters the reverse rotation mode.

次いで、スイッチLSIのオンによりトリガされたタイ
マTが所定の時間に達すると、出力パルスを発生し、こ
れによりフリップ70ツブFFIをセットする。この結
果\イツチR1−1がオンして、モータが逆転モードで
回転し始める。スイッチLS1はオフする。
Next, when the timer T triggered by turning on the switch LSI reaches a predetermined time, it generates an output pulse, thereby setting the flip 70-tube FFI. As a result, switch R1-1 turns on and the motor starts rotating in reverse mode. Switch LS1 is turned off.

次いで、爵が締まり終わると、リミットスイッチLS2
がオンし、フリップフロップFF1をリセットしてスイ
ッチR1−1をオフし、モータが停止する。停止信号5
overが出力される。
Next, when the cap is tightened, the limit switch LS2
is turned on, flip-flop FF1 is reset, switch R1-1 is turned off, and the motor is stopped. stop signal 5
over is output.

なお、爵が開いている閑に止まれ”が認識され、アンド
ゲート2609のアンド条件が成立すると、ワンショッ
トが駆動されて一定時間スイッチR1−1がオフし、モ
ータが停止する。
Note that when "Stop in a quiet manner with the gate open" is recognized and the AND condition of the AND gate 2609 is satisfied, the one shot is driven, the switch R1-1 is turned off for a certain period of time, and the motor is stopped.

また、照明制御回路27.m8注水回路28内の動作に
ついても、略これと同様であるため繰り返し説明は避け
ることとする。
Further, the lighting control circuit 27. The operation within the m8 water injection circuit 28 is also substantially the same, so a repeated explanation will be avoided.

かくして、この実施例に示されるメロディmll装置に
よれば、予め各所要動作に対応して決定されている所定
のメロディを、マイクロフォン4あるいは入力端子2か
ら電子鍵盤楽器の出り信号等を介して入力してやると、
それぞれ対応するメロディとの類似度が充分に似ている
ものとlIr5された場合に限り、ドアの開閉、照明の
点灯制御あるいは風呂の注水制御等が自動的に行なわれ
、これにより音声または楽器等を介して様々な制御対象
61− を遠隔制御することができるものである。
Thus, according to the melody mll device shown in this embodiment, a predetermined melody, which has been determined in advance in accordance with each required operation, is transmitted from the microphone 4 or the input terminal 2 via the output signal of the electronic keyboard instrument, etc. When you enter it,
Only when the similarity with the corresponding melody is sufficiently similar, the door opening/closing, lighting control, bath water filling control, etc. are automatically performed, and as a result, the voice or musical instrument, etc. It is possible to remotely control various control objects 61- through.

また、特にこの実施例では、入力されたメロディが基準
となるメロディと類似しているか否かを判定するその前
提として、入力されたメロディの中から、基準となるメ
ロディと充分類似しているとみなされるフレーズを抽出
するようにしているため、例えば入力されたメロディの
途中に、誤った箇所が存在したような場合にも、それが
歌唱しなおされて正しく′訂正されているような場合に
は、その誤った箇所は類似度得点の対象から除去される
こととなり、すなわら極めて音楽教師(人間)の感覚に
近い採点結果を得ることができるのである。
In particular, in this embodiment, the premise for determining whether or not an input melody is similar to a reference melody is that the input melody is sufficiently similar to the reference melody. Since the phrases that are considered to be recognized are extracted, for example, even if there is an incorrect part in the middle of the input melody, it can be corrected by re-singing it. In this case, the erroneous part is removed from the similarity score, and it is possible to obtain a scoring result that is extremely close to the senses of a music teacher (human).

このため、マイクロフォン4から例えば必ずしも正確に
メロディを入力せずとも、ある一定範囲の正確さをもっ
て入力しさえすれば、所望の動作を確実に行なわせるこ
とができ、歌唱や演奏の苦手なものあるいは身障者等の
ように厳密に正確なメロディを発音できないものにとっ
ても、この種の音声や楽器を介しての遠隔制御を確実に
行なり62− せることが可能となる。
Therefore, even if the melody is not necessarily input accurately through the microphone 4, as long as the melody is input within a certain range of accuracy, the desired movement can be performed reliably. Even people who cannot pronounce strictly accurate melodies, such as people with disabilities, can reliably perform remote control using this type of voice or musical instrument.

また、前記実施例においては、押鍵検出回路5あるいは
音高データ検出回路26として、それぞれ各入力された
音を、音高と符長とからなる2次元のデータに変換する
ものを示したが、この発明の適用はこれに限らず、例え
ば以上説明した音高。
Furthermore, in the above embodiments, the key press detection circuit 5 and the pitch data detection circuit 26 are shown as converting each input note into two-dimensional data consisting of pitch and note length. , the application of the present invention is not limited to this, but for example to the pitches described above.

符長の他にアクセントの次元、音色の次元あるいは音量
の次元等に変換して検出するものでも良いことは勿論で
ある。
Of course, in addition to the note length, detection may be performed by converting the accent dimension, timbre dimension, or volume dimension, etc.

例えば、音色を例にとって具体的に説明をすると、第1
図で示される基準音高音列発生回路1の音列パターン及
び第2図で示されるシフトレジスタ607に順次入力さ
れる音列パターンとして、音列の各構成音がそれぞれ有
する音色情報1例えば、フルート、ピアノ、バイオリン
、トランペット・・・・・・を、順にその音色列パター
ンに構成すればよいものである。
For example, to give a concrete explanation using tones as an example, the first
The tone sequence pattern of the reference tone high pitch sequence generating circuit 1 shown in the figure and the tone sequence pattern sequentially input to the shift register 607 shown in FIG. , piano, violin, trumpet, etc., may be configured in that timbre sequence pattern in that order.

すなわち、シフトレジスタ607から入力されるのはデ
ジタル音高情報であるが、これを音列の各構成音がそれ
ぞれ有するフォルマントデータが前記シフトレジスタ6
07に入力されるように構成すればよいものであって、
更に詳しく言えば、音列の各構成音を、−構成音につき
順次多帯域フィルタ(例えば、中心周波数が500Hz
 、1000Hz 、30001−1zの3つの帯域フ
ィルタ)でろ波し、各帯域フィルタから出力されるアナ
ログ電圧レベルを、デジタル情報に変換して、その値が
例えばr4J、r3J、r2Jという値であれば、その
デジタルデータを各構成音毎に順次シフトレジスタに入
りするようにすればよいものである。
That is, what is input from the shift register 607 is digital pitch information, but the formant data that each constituent note of the tone string has is inputted from the shift register 607.
It is only necessary to configure it so that it is input to 07,
More specifically, each constituent tone of the tone sequence is sequentially filtered through a multiband filter (for example, with a center frequency of 500 Hz).
, 1000Hz, 30001-1z) and convert the analog voltage level output from each bandpass filter into digital information, and if the values are r4J, r3J, r2J, for example, All that is required is to input the digital data into the shift register sequentially for each constituent sound.

このように構成した装置にあっては、例えばオーケスト
ラによる各楽器音のタイミング合せの訓練等に使用し得
る。
A device configured in this manner can be used, for example, for training in timing alignment of each musical instrument sound by an orchestra.

更に、この種のものと同一の考え方であるが、猫の鳴声
、大の鳴声、小鳥の泣声・・・・・・等の比較的先頭の
7オルマントを抽出し、この種の音色別パターン抽出を
同様にして容易に実現し得る。
Furthermore, using the same idea as this type of thing, we extracted the relatively leading 7 ormantos of cat's cry, loud cry, small bird's cry, etc., and analyzed them by tone. Pattern extraction can be easily realized in a similar manner.

また、更に音量についても同様に、音列の各構成音の各
音量レベルを、それぞれデジタル情報に      )
変換して前記シフトレジスタ607に入力するように構
成すれば、容易に実現可能である。
Furthermore, regarding the volume, each volume level of each constituent sound of the tone sequence is converted into digital information.)
This can be easily realized by configuring the data to be converted and input to the shift register 607.

このように構成した装置にあっては、曲の進行に際し、
情緒感を要用する訓練に使用されて好適なものとなる。
With the device configured in this way, as the song progresses,
It is suitable for use in training that requires emotion.

更に、和きやリズムの練習装置を構成する場合には、次
のように行なえばよい。すなわち、検出された各演奏情
報を、それぞれ並列に設番プられた複数個の前述と同様
な帯域フィルタによってろ渡し、これにより各和音の構
成音データをデジタルデータに変換し、各検出されたデ
ジタルデータをシフトレジスタに入力すればよいのであ
る。
Furthermore, when configuring a harmony or rhythm practice device, it may be done as follows. In other words, each detected performance information is filtered through a plurality of bandpass filters similar to those described above, each of which is numbered in parallel, and the constituent note data of each chord is thereby converted into digital data. All you have to do is input the digital data into the shift register.

また、アクセントの練習装置を構成する場合には、同様
にして入力された演奏データの中から強弱データを検出
し、これをデジタルデータに変換した後前記シフトレジ
スタに入力すればよいのである。
Furthermore, when constructing an accent practice device, it is sufficient to similarly detect dynamics data from inputted performance data, convert this into digital data, and then input it to the shift register.

このようにすれば、前記音色の場合に加えて、一層の情
緒感を要用する訓練に使用されて好適なものとなるので
ある。
In this way, in addition to the above-mentioned timbre, it is suitable for use in training that requires a greater sense of emotion.

65− また、前記実施例においては、演奏時開2時間差検出回
路22において音高が既に誤っている音符については、
その符長については正しいものとみなし、これによりメ
ロディ固有の特徴すなわち音^をiimした採点を行な
っているが、逆に符長が間違っている音符については、
音^は正しいものとみなすように構成すれば、リズムを
重視した演奏採点結果を得ることができるのは勿論であ
る。
65- Furthermore, in the above embodiment, for notes whose pitch is already incorrect in the two-time difference detection circuit 22 during performance,
The note length is considered to be correct, and the score is based on the unique characteristics of the melody, i.e., the note ^.On the other hand, for notes with the wrong note length,
Of course, if the music is configured so that the sound ^ is regarded as correct, it is possible to obtain performance scoring results that place emphasis on rhythm.

以上の実施例の説明でも明らかなように、この出願係わ
る第1および第2の発明によれば、楽器の演奏音や音声
によって入力された情報を、極めて音楽教師的な感覚に
よって認識し、これに基づいて所要の対象物を遠隔制御
させることができ、しかも音声語を介して被対象物を制
御する従来の音声認識方法等に比べ、その構成も比較的
簡単であり、広くこの種の遠隔制御に応用することが可
能となるのである。                
 、5し   − 4、図面の簡単な説明               
 ′ □第1図はこの出願に係わる第1および第2の発
明を含むメロディ認識@胃の全体構成を示すプロ66− ツク図、 第2図は音高検出回路の詳細を示すブロック図、第3図
は入力音高音列形成回路の詳細を示すブロック図、 第4図は入力符長音列形成回路の詳細を示すブロック図
、 第5図は類似音^音列抽出回路の詳細を示すブロック図
、 第6図は第111似音高音列検出回路の詳細を示すブロ
ック図、 第7図は第に@似音高音列検出回路の詳細を示すブロッ
ク図、 第8図は一散音^部弁型合せ回路の詳細を示すブロック
図、 第9図は類似符長音列抽出回路の詳細を示すブロック図
、 第10図は第1111i似符長音列検出回路の詳細を示
すブロック図、 第11図は第に類似符長音列検出回路の詳細を示すブロ
ック図、 第12図は一致符長部弁型合せ回路の詳細を示すブロッ
ク図、 第13図は演奏時間・時間差検出回路の詳細を示すブロ
ック図、 第14!11は音am似音列数検出回路の詳細を示すブ
ロック図、 第15図は符長類似音列数検出回路の詳細を示すブロッ
ク図、 第16図は基準音^数構出回路の詳細を示すブロック図
、 第17図は基準符長数構出回路の詳細を示すブロック図
、 第18図はドア開閉制御回路の詳細を示すシーケンス回
路図、 第19図はドア開閉駆動装置の詳細を示す模式第20図
は制御回路の詳細を示すブロック図、第2111は類似
膜指定信号発生回路の詳細を示すブロック図、 第22図はシフト信号発生回路の詳細を示すブロック図
、 第23図はラッチ信号発生回路の詳細を示すブロック図
、 第24図は制御回路25から出力される各制御信号の状
態を示すタイムチャート、 第25図は基準メロディに対応する各音列データの一例
を示す図、 第26図は入力メロディに対応する各種のタイミング信
号の状態を示すタイムチャート、第27図〜第30!l
は入力音轟音列形成回路。
As is clear from the description of the embodiments above, according to the first and second inventions related to this application, information inputted by the sound of a musical instrument or a voice can be recognized with a sense similar to that of a music teacher. It is possible to remotely control a desired object based on the method, and its configuration is relatively simple compared to conventional voice recognition methods that control objects through spoken words, and this type of remote control is widely used. This makes it possible to apply it to control.
, 5shi-4, Brief explanation of the drawings
' □Figure 1 is a block diagram showing the overall configuration of the melody recognition @ stomach including the first and second inventions related to this application, Figure 2 is a block diagram showing details of the pitch detection circuit, and Figure 2 is a block diagram showing details of the pitch detection circuit. Figure 3 is a block diagram showing details of the input pitch string forming circuit, Figure 4 is a block diagram showing details of the input note length string forming circuit, and Figure 5 is a block diagram showing details of the similar tone string extraction circuit. , Fig. 6 is a block diagram showing details of the 111th similar tone high tone sequence detection circuit, Fig. 7 is a block diagram showing details of the @similar tone high tone sequence detection circuit, and Fig. 8 is a block diagram showing details of the 111th similar sound high tone sequence detection circuit. FIG. 9 is a block diagram showing details of the similar note duration string extraction circuit; FIG. 10 is a block diagram showing details of the 1111i similar note length string detection circuit; FIG. 11 is a block diagram showing details of the similar note length string detection circuit. Figure 12 is a block diagram showing details of the matching note length part valve type matching circuit; Figure 13 is a block diagram showing details of the performance time/time difference detection circuit. , 14!11 is a block diagram showing the details of the circuit for detecting the number of note length similar sound sequences, Fig. 15 is a block diagram showing the details of the circuit for detecting the number of note length similar sound sequences, and Fig. 16 is the reference note ^ number structure. A block diagram showing the details of the circuit, Fig. 17 is a block diagram showing the details of the reference code length number composition circuit, Fig. 18 is a sequence circuit diagram showing the details of the door opening/closing control circuit, and Fig. 19 is a door opening/closing drive device. FIG. 20 is a block diagram showing details of the control circuit, FIG. 2111 is a block diagram showing details of the similar film designation signal generation circuit, FIG. 22 is a block diagram showing details of the shift signal generation circuit, and FIG. FIG. 23 is a block diagram showing details of the latch signal generation circuit, FIG. 24 is a time chart showing the status of each control signal output from the control circuit 25, and FIG. 25 is an example of each tone sequence data corresponding to the reference melody. FIG. 26 is a time chart showing the states of various timing signals corresponding to the input melody, and FIGS. 27 to 30! l
is the input sound roar column forming circuit.

類似音高音列抽出回路に行なわれる音列データ処理の詳
細を示す説明図、 第31図〜第341%!lは入力符長形成回路および類
似符長音列抽出回路において行なわれる音列データ処理
の流れを示す説明図、 第35図は一散音高部弁型合せ回路において行なわれる
音列データ処理の流れを示す説明図、第36図は一致符
長部弁型合せ回路において行なわれる音列データ処理の
流れを示す説明図、第37図は演奏時間・時間差検出回
路において69− 行なわれる符長データ補正処理の流れを示す説明図であ
る。
Explanatory diagrams showing details of tone sequence data processing performed by the similar pitch tone sequence extraction circuit, Figures 31 to 341%! 1 is an explanatory diagram showing the flow of tone sequence data processing performed in the input note length forming circuit and the similar note length note sequence extraction circuit, and FIG. 36 is an explanatory diagram showing the flow of note string data processing performed in the matched note length part valve type matching circuit, and FIG. 37 is an explanatory diagram showing the note length data correction performed in the performance time/time difference detection circuit. It is an explanatory diagram showing a flow of processing.

1・・・・・・・・・基準音高音列発生回路2・・・・
・・・・・入力端子 4・・・・・・・・・マイクロフォン 5・・・・・・・・・音高検出回路 6・・・・・・・・・入力音高音列形成四路7・・・・
・・・・・類似音高音列検出回路8・・・・・・・・・
−散音高部弁型合せ回路9・・・・・・・・・入力符長
音列形成回路10・・・・・・類似符長音列抽出口路1
1・・・・・・一致符長部分■合せ回路12・・・・・
・基準符長音列発生回路13・・・・・・演奏結果表ホ
ロ− 14・・・・・・個別音高一致弁別回路15・・・・・
・−数音列数検出回路 16・・・・・・個別符長一致弁別回路17・・・・・
・一致符長歌検出回路 18・・・・・・音高類似音列数検出回路19・・・・
・・符長順似音列数検出回路70− 20・・・・・・基準音列数検出回路 21・・・・・・基準音列数検出回路 22・・・・・・演奏時開・時間差検出回路23・・・
・・・類似度演算回路 24・・・・・・類似度弁別回路 25・・・・・・制御回路 26・・・・・・ドア開閉制御回路 27・・・・・・照明制御回路 28・・・・・・風呂注水制御回路 PD(in)・・・・・・・・・入力音高データPCI
ine(full)・・・・・・・・・入力音^音列デ
ータP D 1ine (ref )・・・・・・・・
・基準音高音列データPD(ref>・・・・・・・・
・・・・・・・基準音高データp[)line  sm
l −l  〜p[)line  sg+l−k  ・
−・−・−第1〜第に類似音高音列部分データに それぞれ対応するシフト回数データ PDeq−1〜PDeq−k・・・・・・・・・第1〜
第に類似音高音列部分データにそれぞれ対応する 音高−政教データ P D sample・・・・・・・・・・・・・・・
・・・最類似音高音列データPDeq・・・・・・・・
・・・・・・・・・・・・・・・・音高−政教データL
 D 1ine (full)・・・・・・・・・入力
符長音列データL D 1ine (ref )・・・
・・・・・・基準符長音列データL  D  1ine
  5g11− 1 〜L  D  1ine  ss
+l−k  ・・・・−・−−−第1’41−類似符長
音列符長データにそれぞれ対応するシフト回数データ LDeq−1〜5DeQ−k・・・・・・・・・第1〜
第に類似符長音列部分データにそれぞれ対応する 符長−政教データ L D sample・・・・・・・・・最類似符長音
列データLDeQ・・・・・・・・・・・・・・・符長
−政教データDscore・・・・・・・・・・・・得
点データP D 1ine (1,〜7)・・・・・・
・・・入力音高音列部分データ LD(ref)・・・・・・基準符長データLD(in
)・・・・・・・・・入力符長データD(N1)・・・
・・・・・・−数音高教データD(N2)・・・・・・
・・・一致符長数データD(N3)・・・・・・・・・
音高類似音列組数データD(N4)・・・・・・・・・
符長類似音列組数データD(N5)・・・・・・・・・
基準音高数データD(N6)・・・・・・・・・基準符
長数データ5kOn・・・・・・・・・・・・押鍵信号
5kOn′・・・・・・・・・押鍵タイミング信号3k
on”・・・・・・・・・データ取込み信号反転5kO
n″・・・データ取込み信号s play・・・・・・
・・・・・・演奏中信号3 judge・・・・・・・
・・判定イネーブル信号Sφ・・・・・・・・・・・・
・・・クロック信号3 end・・・・・・・・・・・
・判定終了信号5load・・・・・・・・・・・・ロ
ード信号3shift・・・・・・・・・シフト信号3
1atch・・・・・・・・・ラッチ信号5 push
・・・・・・・・・・・・確実押鍵信号35m1・・・
・・・・・・・・・類似膜指定信号Seq・・・・・・
・・・・・・・・・一致信号5C1r・・・・・・・・
・・・・クリヤ信号3ic・・・・・・・・・・・・・
・・イニシャルクリヤ信号5CO5・・・・・・・・・
・・・切替信号S 5elect・・・・・・・・・メ
ロディ指定信号73− 3ok・・・・・・・・・・・・・・・メロディ認識確
認信号3 over・・・・・・・・・・・・動作終了
信号特許出願人 日本楽器製造株式会社 74− 第28図 第29図 第・ 30図 第33 第 詞図
1.......Reference tone high tone string generation circuit 2...
...... Input terminal 4 ...... Microphone 5 ...... Pitch detection circuit 6 ...... Input pitch pitch string formation four circuits 7・・・・・・
...Similar pitch sequence detection circuit 8...
- Discrete high part valve type matching circuit 9...Input note length string formation circuit 10...Similar note length string extraction path 1
1... Matching code length part ■ Matching circuit 12...
・Reference note length tone string generation circuit 13...Performance result table holo-14...Individual pitch matching discrimination circuit 15...
・-Number sequence number detection circuit 16...Individual note length match discrimination circuit 17...
- Matching note length song detection circuit 18... Pitch similar note sequence number detection circuit 19...
...Note length order similar sound sequence number detection circuit 70-20...Reference note sequence number detection circuit 21...Reference note sequence number detection circuit 22...Open during performance/time difference detection Circuit 23...
... Similarity calculation circuit 24 ... Similarity discrimination circuit 25 ... Control circuit 26 ... Door opening/closing control circuit 27 ... Lighting control circuit 28. ...Bath water injection control circuit PD (in) ...Input pitch data PCI
ine (full)... Input sound ^ tone string data P D 1ine (ref)...
・Reference pitch pitch sequence data PD (ref>・・・・・・・・・・
・・・・・・Standard pitch data p[)line sm
l −l ~p[)line sg+l−k ・
-・-・-Shift number data PDeq-1 to PDeq-k corresponding to the first to second similar high pitch string partial data, respectively......First to
Pitch-politico-religious data P D sample corresponding to the similar pitch series partial data
...Most similar pitch sequence data PDeq...
・・・・・・・・・・・・・・・Pitch - Politics and Religion Data L
D 1ine (full)... Input note length string data L D 1ine (ref)...
・・・・・・Reference note long tone string data L D 1ine
5g11-1 ~LD 1ine ss
+l−k ・・・・・−・−−Shift number data LDeq−1 to 5DeQ−k ・・・・・・・・・・1st to
The note length-political/religious data L D sample corresponding to the similar note length string partial data L D sample ...... Most similar note length string data LDeQ ......・Note length - Political and religious data Dscore・・・・・・・・・Score data P D 1ine (1, ~7)・・・・・・
...Input pitch string partial data LD (ref) ...Reference note length data LD (in
)...Input note length data D(N1)...
......-Kanon Kokyo Data D (N2)...
... Matching code length number data D (N3) ......
Pitch similar tone sequence set number data D (N4)...
Note length similar note sequence set number data D (N5)...
Reference pitch number data D (N6)......Reference note length number data 5kOn...Key press signal 5kOn'... Key press timing signal 3k
on”・・・・・・Data acquisition signal inversion 5kO
n''...data acquisition signal s play...
...Playing signal 3 judge...
・Judgment enable signal Sφ・・・・・・・・・・・・
・・・Clock signal 3 end・・・・・・・・・・・・
・Judgment end signal 5load・・・・・・・・・Load signal 3shift・・・・・・・・・Shift signal 3
1atch・・・・・・Latch signal 5 push
・・・・・・・・・Reliable key press signal 35m1...
......Similar film designation signal Seq...
......Concordance signal 5C1r...
・・・・Clear signal 3ic・・・・・・・・・・・・・
...Initial clear signal 5CO5...
...Switching signal S 5elect...Melody designation signal 73-3ok...Melody recognition confirmation signal 3 over... ...Operation end signal Patent applicant Nippon Musical Instruments Manufacturing Co., Ltd. 74- Figure 28, Figure 29, Figure 30, Figure 33.

Claims (6)

【特許請求の範囲】[Claims] (1)演奏または歌唱情報を少くとも音高の次元を有す
る1乃至2次元以上の音列データに変換し;次いで該音
列データと基準音列に対応する音列データとを音列パタ
ーン同士で所定の特徴について比較し; 該比較結果に基づいて基準音列に最も類似したフレーズ
を入力音列から抽出し; この抽出されたフレーズに対応する音列データを基準音
列に対応する音列データと比較して、入力演奏または歌
唱を認識することを特徴とする演奏または歌唱の認識方
法。
(1) Convert performance or singing information into one or two or more dimensional tone sequence data having at least the pitch dimension; then, convert the tone sequence data and the tone sequence data corresponding to the reference tone sequence into a tone sequence pattern. Compare predetermined features with; Based on the comparison result, extract the phrase most similar to the reference sound string from the input sound string; Use the sound string data corresponding to this extracted phrase as the sound string corresponding to the reference sound string. A method for recognizing a musical performance or singing characterized by recognizing an input musical performance or singing by comparing it with data.
(2)演奏または歌唱により順次発生する各構成音を、
逐次中くとも音高の次元を有する1乃至2次元以上の単
音データに変換して検出する単音データ検出手段と; 前記検出された単音データを各次元別にかつ発生順に記
憶して、演奏または歌唱に対応する入力音列データを形
成する入力音列データ形成手段と;1乃至2以上の演奏
または歌唱に対応する各次元の基準音列データを登録さ
せた音列データ登録メモリと: 前記音列データ登録メモリから読出された1の演奏また
は歌唱に対応する各次元の音列データと、該当する次元
の入力音列データとを、両者の時間軸の基準点を互いに
づらせながら同一時間帯に存在する音列部分同士ぐ比較
し、類似度の高いものから順に選択された1乃至2以上
の類似音列部分を前記入力音列データから抽出する類似
音列部分抽出手段と; 前記抽出された各類似音列部分から該当する次元の登録
音列データとの一致部分を抽出し、これらを互いに重合
せて、最類似フレーズに対応する最類似音列データを形
成するデータ重合せ手段と;前記登録音列データの各構
成音データの中で、前記形成された最類似音列データに
含まれる音デ−夕の総数と、登録音列データの各構成音
データの総数との比を必要な次元について求め、少くと
もこれらの比の値を採点要素として入力演奏または歌唱
に対する類似度得点を算出する類似度得点演算手段と; 前記類似度得点を所定の基準値と比較して入力演奏また
は歌唱を弁別する入力情報弁別手段とを具備することを
特徴とする演奏または歌唱メロディの認11@lf。
(2) Each constituent sound generated sequentially by playing or singing,
A single note data detection means that sequentially converts and detects single note data of one or two or more dimensions having at least the pitch dimension; and stores the detected single note data for each dimension and in the order of occurrence, and performs or sings it. an input sound string data forming means for forming input sound string data corresponding to; a sound string data registration memory in which reference sound string data of each dimension corresponding to one or more performances or singing is registered; and: the sound string. The tone sequence data of each dimension corresponding to one performance or singing read from the data registration memory and the input tone sequence data of the corresponding dimension are transferred to the same time zone while shifting the reference points of both time axes from each other. Similar sound string part extracting means for comparing existing sound string parts and extracting one or more similar sound string parts from the input sound string data, selected in descending order of similarity; a data superimposition means for extracting matching portions from each similar sound string portion with the registered sound string data of the corresponding dimension and superimposing them on each other to form the most similar sound string data corresponding to the most similar phrase; Among each constituent sound data of the registered sound sequence data, calculate the ratio of the total number of sound dates included in the formed most similar sound sequence data to the total number of each constituent sound data of the registered sound sequence data. similarity score calculating means for determining the dimensions and calculating a similarity score for the input performance or singing using at least the value of the ratio as a scoring element; Recognition of performance or singing melody 11@lf, characterized by comprising an input information discriminating means for discriminating.
(3)前記入力音列データおよび基準音列データは、そ
れぞれ音^と符長とからなる2次元データで構成され、
かつ前記データ重合せ手段は抽出された各類似音列部分
から該当する次元の基準音列データとの一致部分のみを
抽出するについて、予め設定された一方の次元のデータ
の値が、該当する次元の登録データの値と不一致である
音に対応する他方の次元のデータについては、該当する
次元の登録データの値と一致するものとみなして一致部
分の抽出を行なうことを特徴とする特許請求の範囲第2
項に記載の演奏または歌唱の認識装置。
(3) The input tone string data and the reference tone string data each consist of two-dimensional data consisting of a note and a note length,
In addition, the data superimposition means extracts from each extracted similar sound string part only the portion that matches the reference sound string data of the corresponding dimension, and the data value of one dimension set in advance is set in the corresponding dimension. The patent claim is characterized in that data in the other dimension corresponding to a sound that does not match the value of the registered data in the corresponding dimension is assumed to match the value in the registered data in the corresponding dimension, and the matching portion is extracted. Range 2nd
A performance or singing recognition device as described in Section 1.
(4)前記基準音列データおよび入力音列データは、そ
れぞれ音高と符長とからなる2次元データで構成され、
かつ前記類似度得点演算手段は前記一致データ音総数と
全登録データ総数との比に加えて、基準符長音列データ
で定まる模範演奏時間と最類似符長音列データで定まる
超過演奏時間との差と、前記模範演奏時間との比を採点
要素として類似度得点を算出することを特徴とする特許
請求の範囲第2項に記載の演奏または歌唱の認Il装置
(4) The reference tone string data and the input tone string data are each composed of two-dimensional data consisting of pitch and note length,
In addition to the ratio between the total number of matching data notes and the total number of all registered data, the similarity score calculation means calculates the difference between the model performance time determined by the standard note length note string data and the excess performance time determined by the most similar note length note string data. 3. The performance or singing recognition apparatus according to claim 2, wherein a similarity score is calculated using a ratio between the model performance time and the model performance time as a scoring element.
(5)前記基準音列データおよび入力音列データは、そ
れぞれ音^と符長とからなる2次元データで構成され、
かつ前記類似度得点演算手段は前記一致データ音総数と
全基準データ音総数との比に加えて、前記類似音列抽出
手段により抽出された少くとも1の次元の類似音列組数
を採点要素として類似度得点を算出することを特徴とす
る特許請求の範囲第2項に記載の演奏または歌唱の認l
l装置。
(5) The reference tone string data and the input tone string data each consist of two-dimensional data consisting of a note and a note length,
In addition to the ratio of the total number of matching data sounds to the total number of all reference data sounds, the similarity score calculation means uses the number of similar sound string sets of at least one dimension extracted by the similar sound string extraction means as a scoring element. The performance or singing recognition method according to claim 2, characterized in that the similarity score is calculated as follows.
l device.
(6)前記入力音列データ形成手段は、前記検出された
単音データの中で音楽的な要素となり得ない一定符良以
下の単音データを除去することを特徴とする特許請求の
範囲第2項に記載の演奏または歌唱の認識装置。
(6) The input note string data forming means removes, from the detected single note data, single note data of a certain standard or less that cannot be a musical element. The performance or singing recognition device described in .
JP57015211A 1982-02-02 1982-02-02 Recognition method and apparatus for performance or singing Granted JPS58132798A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP57015211A JPS58132798A (en) 1982-02-02 1982-02-02 Recognition method and apparatus for performance or singing
US06/462,181 US4506580A (en) 1982-02-02 1983-01-31 Tone pattern identifying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57015211A JPS58132798A (en) 1982-02-02 1982-02-02 Recognition method and apparatus for performance or singing

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP1072835A Division JPH02176691A (en) 1989-03-24 1989-03-24 Method and device for recognizing play or singing

Publications (2)

Publication Number Publication Date
JPS58132798A true JPS58132798A (en) 1983-08-08
JPH0134398B2 JPH0134398B2 (en) 1989-07-19

Family

ID=11882535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57015211A Granted JPS58132798A (en) 1982-02-02 1982-02-02 Recognition method and apparatus for performance or singing

Country Status (1)

Country Link
JP (1) JPS58132798A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744825U (en) * 1995-04-10 1995-11-28 盛輔 松浦 Level measurement scale

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53139110U (en) * 1977-04-09 1978-11-02
JPS552113U (en) * 1978-06-21 1980-01-09
JPS5574302U (en) * 1978-11-17 1980-05-22
JPS56127209U (en) * 1980-02-28 1981-09-28
JPS5715805U (en) * 1980-07-02 1982-01-27

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5199908A (en) * 1975-03-01 1976-09-03 Nippon Electric Co TSUWAROPAIROTSUTOSHIKEN HOSHIKI
JPS54105226A (en) * 1978-02-07 1979-08-18 Nakano Suten Kk Sterilizing composition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53139110U (en) * 1977-04-09 1978-11-02
JPS552113U (en) * 1978-06-21 1980-01-09
JPS5574302U (en) * 1978-11-17 1980-05-22
JPS56127209U (en) * 1980-02-28 1981-09-28
JPS5715805U (en) * 1980-07-02 1982-01-27

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744825U (en) * 1995-04-10 1995-11-28 盛輔 松浦 Level measurement scale

Also Published As

Publication number Publication date
JPH0134398B2 (en) 1989-07-19

Similar Documents

Publication Publication Date Title
Cowell New musical resources
NL193006C (en) Method and device for improved automatic harmonization.
Swain Harmonic rhythm: Analysis and interpretation
JPS58132798A (en) Recognition method and apparatus for performance or singing
JPH0990952A (en) Chord analyzing device
Fisk Performance, analysis, and musical imagining
JPH0427550B2 (en)
Perry Between the Signposts: Thematic Interpolation and Structural Defamiliarization in Prokofiev’s Sonata Process
JPH0352061B2 (en)
JPS58132797A (en) Tone row pattern extraction and performance result display and performance result scorer
Johnson Self-similar structures in my music: an inventory
US20240021180A1 (en) Electronic musical instrument, electronic musical instrument control method, and program
JP2513387B2 (en) Electronic musical instrument
JPS5812000A (en) Voice synthesizer with voiceless plosive
SU1241284A1 (en) Electronic musical device
Maw ‘struggling but failing to mask’: the music of mark r. taylor
JPS6029950B2 (en) electronic musical instrument device
Roy Instrumental Bengali music synthesis from transcription with Indian percussion instruments
JPS61141494A (en) Automatic performer
WO2003032294A1 (en) Automatic music generation method and device and the applications thereof
Enlow Bridge to the other side musical signifiers of life and death in Ayreon's The human equation
JPH0727381B2 (en) Automatic accompaniment device
JPS5828794A (en) Voice indicator for electronic musical instrument
JPS6155679B2 (en)
JPH1011056A (en) Performing position displaying device