JP2002215139A - Method and device for recording playing operation - Google Patents

Method and device for recording playing operation

Info

Publication number
JP2002215139A
JP2002215139A JP2001009281A JP2001009281A JP2002215139A JP 2002215139 A JP2002215139 A JP 2002215139A JP 2001009281 A JP2001009281 A JP 2001009281A JP 2001009281 A JP2001009281 A JP 2001009281A JP 2002215139 A JP2002215139 A JP 2002215139A
Authority
JP
Japan
Prior art keywords
key
performance data
image
performance
recording
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.)
Pending
Application number
JP2001009281A
Other languages
Japanese (ja)
Inventor
Shigeru Yoda
茂 依田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2001009281A priority Critical patent/JP2002215139A/en
Publication of JP2002215139A publication Critical patent/JP2002215139A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a method and a device for recording a playing operation, with which the natural playing operation of an acoustic keyboard instrument can be recorded as playing data. SOLUTION: A fingering picture and a fingertip picture obtained by picking up images of entire fingers of both hands and fingertips of a player are subjected to picture recognition processing, and fingers of both hands of the player are individually discriminated from the fingering picture and a key which is being operated is extracted from the fingering picture, and a finger which operates the key is extracted from the fingertip picture, and the key depression/ release operation is discriminated in accordance with the key surface position in the fingertip picture, and thus playing data indicating which key and by which finger is depressed or released is generated and recorded.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ピアノ等のアコー
スティックな鍵盤楽器における演奏操作を演奏データと
して記録する演奏操作記録装置および演奏操作記録方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a performance operation recording device and a performance operation recording method for recording a performance operation of an acoustic keyboard instrument such as a piano as performance data.

【0002】[0002]

【従来の技術】従来、押離鍵操作に応じた音高、音長お
よびベロシティを検出する一方、例えば演奏者の手指に
装着される磁石の動きを検出し、それに基づきどの指で
鍵操作したかを表す運指データを生成し、それらを演奏
データとして記録する技術が知られている。
2. Description of the Related Art Conventionally, while detecting a pitch, a tone length and a velocity according to a key press / release operation, for example, a movement of a magnet attached to a player's finger has been detected, and based on which, a finger has been operated with any finger. There is known a technique of generating fingering data indicating the above and recording them as performance data.

【0003】[0003]

【発明が解決しようとする課題】ところで、こうした従
来技術は、周知の電子楽器に適用するものであり、押離
鍵操作に応じた音高、音長およびベロシティを直接的に
抽出し得ないピアノ等のアコースティックな鍵盤楽器に
は適用することができない、という問題がある。また、
従来技術によって運指データを生成する際には、指の動
きを検出する為に演奏者の手指に何等かの手段を装着す
る必要があり、そのような形態では不自然であり演奏操
作し難くなる、という欠点もある。そこで本発明は、こ
のような事情に鑑みてなされたもので、アコースティッ
クな鍵盤楽器における自然な演奏操作を演奏データとし
て記録することができる演奏操作記録装置および演奏操
作記録方法を提供することを目的としている。
However, such a prior art is applied to a well-known electronic musical instrument, and a piano which cannot directly extract a pitch, a tone length and a velocity corresponding to a key press / release operation. This cannot be applied to acoustic keyboard instruments such as. Also,
When fingering data is generated by the conventional technique, it is necessary to attach some means to the finger of the player in order to detect the movement of the finger, and in such a form, it is unnatural and difficult to perform the playing operation. There is also a disadvantage that it becomes. The present invention has been made in view of such circumstances, and an object of the present invention is to provide a performance operation recording apparatus and a performance operation recording method capable of recording a natural performance operation of an acoustic keyboard instrument as performance data. And

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明では、演奏操作子と演奏者の
演奏操作の画像情報を取得する撮影手段と、前記撮影手
段によって取得された画像情報に基づいて演奏データを
生成して記録する演奏データ記録手段とを具備すること
を特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, there is provided a photographing means for acquiring image information of a performance operator and a performance operation of a player, Performance data recording means for generating and recording performance data based on the image information.

【0005】請求項2に記載の発明では、演奏操作子と
演奏者の演奏操作の画像情報を取得する撮影手段と、前
記撮影手段によって取得された画像情報に基づいて演奏
データを生成して記録する演奏データ記録手段と、前記
演奏データ記録手段によって記録された演奏データと、
予め記録される模範演奏データとを比較して当該演奏デ
ータの適否を判定する判定手段とを具備することを特徴
とする。
According to the second aspect of the present invention, there is provided a photographing means for acquiring image information of a performance operator and a performance operation of a player, and generating and recording performance data based on the image information acquired by the photographing means. Performance data recording means, and performance data recorded by the performance data recording means,
Determining means for comparing the model performance data recorded in advance with the performance data to determine whether the performance data is appropriate;

【0006】請求項3に記載の発明では、演奏者の両手
指全体および指先をそれぞれ撮像してなる運指画像およ
び指先画像を発生する撮像手段と、前記運指画像に画像
認識処理を施して演奏者の両手指を各々識別すると共
に、どの鍵が操作されているかを抽出し、一方、前記指
先画像に画像認識処理を施して鍵操作する指を抽出する
と共に、指先画像中の鍵面位置に応じて押離鍵操作を判
断することによって、どの鍵がどの指で押鍵もしくは離
鍵したかを表す演奏データを生成して記録する演奏デー
タ記録手段とを具備することを特徴とする。
According to the third aspect of the present invention, an image pickup means for generating a fingering image and a fingertip image obtained by imaging the whole of both fingers and a fingertip of a player, and performing image recognition processing on the fingering image. Each of the performer's two fingers is identified, and which key is being operated is extracted. On the other hand, the fingertip image is subjected to image recognition processing to extract a key operated finger, and a key surface position in the fingertip image is extracted. And a performance data recording means for generating and recording performance data indicating which key has been pressed or released by which finger by determining a key press / release operation in response to the key operation.

【0007】請求項4に記載の発明では、演奏操作子と
演奏者の演奏操作の画像情報を取得する撮影過程と、前
記撮影過程によって取得された画像情報に基づいて演奏
データを生成して記録する演奏データ記録過程とを具備
することを特徴とする。
According to a fourth aspect of the present invention, a photographing step of acquiring image information of a performance operation by a performance operator and a player, and generating and recording performance data based on the image information acquired in the photographing step. And performing the performance data recording process.

【0008】請求項5に記載の発明では、演奏操作子と
演奏者の演奏操作の画像情報を取得する撮影過程と、前
記撮影過程によって取得された画像情報に基づいて演奏
データを生成して記録する演奏データ記録過程と、前記
演奏データ記録過程によって記録された演奏データと、
予め記録される模範演奏データとを比較して当該演奏デ
ータの適否を判定する判定過程とを具備することを特徴
とする。
[0008] According to a fifth aspect of the present invention, a photographing step of acquiring image information of a performance operation by a performance operator and a player, and generating and recording performance data based on the image information acquired in the photographing step. Performance data recording process, and performance data recorded in the performance data recording process,
And comparing the model performance data recorded in advance with the model performance data to determine the suitability of the performance data.

【0009】請求項6に記載の発明では、演奏者の両手
指全体および指先をそれぞれ撮像してなる運指画像およ
び指先画像を発生する撮像過程と、前記運指画像に画像
認識処理を施して演奏者の両手指を各々識別すると共
に、どの鍵が操作されているかを抽出し、一方、前記指
先画像に画像認識処理を施して鍵操作する指を抽出する
と共に、指先画像中の鍵面位置に応じて押離鍵操作を判
断することによって、どの鍵がどの指で押鍵もしくは離
鍵したかを表す演奏データを生成して記録する演奏デー
タ記録過程とを具備することを特徴とする。
According to the invention described in claim 6, the fingering image and the fingertip image are generated by imaging the entire fingers and fingertips of the performer, respectively, and an image recognition process is performed on the fingering image. Each of the performer's both fingers is identified, and which key is being operated is extracted. On the other hand, the fingertip image is subjected to image recognition processing to extract a key operated finger, and a key surface position in the fingertip image is extracted. A performance data recording step of generating and recording performance data indicating which key has been pressed or released by which finger by determining a key press / release operation in response to the key operation.

【0010】本発明では、演奏操作子と演奏者の演奏操
作の画像情報を取得し、その画像情報に基づいて演奏デ
ータを生成して記録するので、アコースティックな鍵盤
楽器における自然な演奏操作を演奏データとして記録す
ることが可能になる。具体的には、演奏者の両手指全体
および指先をそれぞれ撮像してなる運指画像および指先
画像にそれぞれ画像認識処理を施し、運指画像からは演
奏者の両手指を各々識別すると共に、どの鍵が操作され
ているかを抽出し、一方、指先画像からは鍵操作する指
を抽出すると共に、指先画像中の鍵面位置に応じて押離
鍵操作を判断することによって、どの鍵がどの指で押鍵
もしくは離鍵したかを表す演奏データを生成して記録す
る。
According to the present invention, image information of a performance operation performed by a performance operator and a player is acquired, and performance data is generated and recorded based on the image information, so that a natural performance operation on an acoustic keyboard instrument can be performed. It can be recorded as data. Specifically, image recognition processing is performed on each of the fingering image and the fingertip image obtained by imaging the entire fingers and the fingertips of the player, and both the fingers of the player are identified from the fingering images. By extracting whether the key is operated or not, on the other hand, extracting the finger to be operated from the fingertip image and determining the key press / release operation according to the key surface position in the fingertip image, To generate and record performance data indicating whether a key has been pressed or released.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の一形態によ
る演奏操作記録装置を実施例とし、これについて図面を
参照して説明する。 (1)構成 図1は、本発明による一実施例の全体構成を示すブロッ
ク図である。図1において、1は演奏操作を撮像する撮
像部である。この撮像部1は、図2に図示するように、
ピアノ等のアコースティックな鍵盤楽器の鍵盤側部に載
置される台座1aと、鍵端部に対向するよう台座1aの
側部に設けられる反射ミラー1bと、台座1aから上方
へ伸展するアーム1cと、アーム1cの端部に配設され
る撮像カメラ1dとから構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a performance operation recording apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings. (1) Configuration FIG. 1 is a block diagram showing the overall configuration of an embodiment according to the present invention. In FIG. 1, reference numeral 1 denotes an imaging unit for imaging a performance operation. As shown in FIG. 2, the imaging unit 1
A pedestal 1a mounted on the keyboard side of an acoustic keyboard instrument such as a piano, a reflection mirror 1b provided on a side of the pedestal 1a so as to face a key end, and an arm 1c extending upward from the pedestal 1a. , An imaging camera 1d disposed at the end of the arm 1c.

【0012】撮像カメラ1dは、所定周期毎に切換えら
れる2つの撮像視野を有し、その一方は反射ミラー1b
を介して鍵操作する指先を撮像し、他方は鍵操作する演
奏者の両手指全体を撮像する。なお、反射ミラー1bの
横手方向は演奏鍵域幅に対応した長さに設定されてい
る。撮像カメラ1dによって演奏者の指先を撮像してな
る指先画像および演奏者の手指全体を撮像してなる運指
画像には、後述するCPU3によって画像認識処理が施
され、これによって鍵盤のどの鍵がどの指で押鍵された
かを表す演奏データを生成するようになっている。以
下、図3〜図6を参照して指先画像および運指画像から
演奏データを生成する原理について述べる。
The imaging camera 1d has two imaging fields which are switched at predetermined intervals, and one of them is a reflection mirror 1b.
The image of the fingertip for the key operation is captured through the, and the other image of the entire finger of the player performing the key operation. The lateral direction of the reflection mirror 1b is set to a length corresponding to the performance key range width. An image recognition process is performed by a CPU 3 described later on a fingertip image obtained by imaging the fingertip of the performer by the imaging camera 1d and a fingering image obtained by imaging the entire finger of the performer. Performance data indicating which finger has been pressed is generated. Hereinafter, the principle of generating performance data from a fingertip image and a fingering image will be described with reference to FIGS.

【0013】図3は、撮像カメラ1dによって演奏者の
両手指全体を撮像してなる運指画像の一例である。この
運指画像について、各手指の長さや各指の向き等を認識
パラメータに用いて周知の画像認識処理を施し、演奏者
の両手指を各々識別する。その識別結果として、左手小
指から親指にそれぞれ識別子F1〜F5を、右手親指か
ら小指にそれぞれ識別子F6〜F10を付与する。そし
て更に、図3(ロ)に図示するように、識別子F1〜F
10が各々付与された各手指に対応する指幅W1〜W1
0を特徴パラメータとして計測する。
FIG. 3 shows an example of a fingering image obtained by imaging the entire two fingers of a player with the imaging camera 1d. The fingering image is subjected to a well-known image recognition process using the length of each finger, the direction of each finger, and the like as a recognition parameter, thereby identifying both fingers of the player. As an identification result, identifiers F1 to F5 are assigned to the left little finger and the thumb, respectively, and identifiers F6 to F10 are assigned to the right thumb and the little finger. Further, as shown in FIG.
Finger widths W1 to W1 corresponding to the fingers each given 10
0 is measured as a feature parameter.

【0014】また、運指画像に施す画像認識処理では、
どの鍵が操作されているかをも抽出する。その手法とし
ては、運指画像に写る各鍵毎に鍵番号を付与すると共
に、その内から音高基準となる鍵(例えばC音に対応す
る鍵)を設定しておく。そして、運指画像から鍵操作さ
れる鍵、つまり、鍵上面が下降している鍵を検出し、検
出した鍵の鍵番号と基準鍵の鍵番号との差に応じて、鍵
操作される鍵の音高を判別する。鍵操作が押鍵/離鍵の
いずれであるかは後述する指先画像を用いた画像認識処
理にて判断する。
In the image recognition processing performed on the fingering image,
It also extracts which key is being operated. As a method for this, a key number is assigned to each key shown in the fingering image, and a key serving as a pitch reference (for example, a key corresponding to the C sound) is set from among them. The key operated from the fingering image, that is, the key whose upper surface is descending is detected, and the key operated according to the difference between the key number of the detected key and the key number of the reference key. Is determined. Whether the key operation is a key press or a key release is determined by image recognition processing using a fingertip image described later.

【0015】図4は、撮像カメラ1dによって演奏者の
指先を撮像してなる指先画像の一例である。この指先画
像に画像認識処理を施し、鍵操作する指の寸法(幅Wお
よび高さH)を特徴パラメータとして抽出する。押鍵/
離鍵操作の区別は、指先画像中に写る鍵上面の位置で判
定する。すなわち、鍵上面の位置が基準位置より所定量
分下降した時点で押鍵と見做し、鍵上面の位置が押鍵位
置より上昇した時点で離鍵と見做すようにしている。
FIG. 4 shows an example of a fingertip image obtained by capturing an image of a player's fingertip by the imaging camera 1d. The fingertip image is subjected to image recognition processing, and the dimensions (width W and height H) of the finger for key operation are extracted as feature parameters. Key press /
The key release operation is determined based on the position of the key upper surface in the fingertip image. That is, when the position of the upper surface of the key is lowered by a predetermined amount from the reference position, the key is regarded as being pressed, and when the position of the upper surface of the key is raised than the pressed position, it is regarded that the key is released.

【0016】こうした押離鍵操作の判定と同時に、上記
特徴パラメータ(指の寸法)に基づきどの手指で鍵操作
したかを判別する。具体的には、図5に示すように、予
め演奏者の両手指の特徴パラメータ、すなわち、上述し
た識別子F〜F10毎に、特徴パラメータである指の寸
法(幅Wおよび高さH)を対応付けた指寸法テーブルT
BLを設け、このテーブルTBLの内容と指先画像から
抽出した特徴パラメータとを比較参照して押鍵操作もし
くは離鍵操作した指を判別する。そして、この判別結果
と、運指画像から得た鍵操作される鍵の音高とを比較し
てどの鍵がどの指で押鍵操作もしくは離鍵操作したかを
表す演奏データを生成する。
Simultaneously with the determination of the key press / release operation, it is determined which finger has been operated with the finger based on the characteristic parameter (dimension of finger). More specifically, as shown in FIG. 5, the characteristic parameters of the fingers of the performer, that is, the dimensions (width W and height H) of the fingers, which are the characteristic parameters, correspond to each of the identifiers F to F10 described above. Attached finger dimension table T
BL is provided, and the finger that has performed a key press operation or a key release operation is determined by comparing and referencing the contents of the table TBL and the characteristic parameters extracted from the fingertip image. The discrimination result is compared with the pitch of the key operated from the fingering image to generate performance data indicating which key has been pressed or released with which finger.

【0017】次に、再び図1を参照して実施例の構成に
ついて説明を進める。図1において、2は各種スイッチ
を有し、操作されたスイッチに応じたスイッチイベント
を発生するパネルスイッチ群である。このパネルスイッ
チ群3には、図示していないが、電源をオンオフする電
源スイッチの他、動作モードを選択するモードスイッチ
等が設けられている。3は撮像部1から供給される指先
画像および運指画像に画像認識処理を施してどの鍵がど
の指で押離鍵操作されたかを表す演奏データを生成する
CPUである。CPU3では、生成した演奏データをR
AM5に記録した後、再生指示に応じて演奏データを再
生して楽音を発生する他、予め記憶しておいた模範演奏
データと生成された演奏データとを比較して演奏操作を
評価する機能も備える。
Next, the configuration of the embodiment will be described with reference to FIG. In FIG. 1, reference numeral 2 denotes a panel switch group having various switches and generating a switch event according to the operated switch. Although not shown, the panel switch group 3 includes a power switch for turning on / off the power, a mode switch for selecting an operation mode, and the like. Reference numeral 3 denotes a CPU that performs image recognition processing on the fingertip image and the fingering image supplied from the imaging unit 1 and generates performance data indicating which key has been pressed and released by which finger. The CPU 3 transmits the generated performance data to R
After recording in the AM5, the performance data is reproduced in accordance with the reproduction instruction to generate musical tones, and a function of evaluating the performance operation by comparing the model performance data stored in advance with the generated performance data is also provided. Prepare.

【0018】4はCPU3にロードされる各種制御プロ
グラムや模範演奏データを記憶するROMである。5は
RAMであり、各種レジスタ・フラグデータを一時記憶
するワークエリアWE、前述した指寸法テーブルTBL
(図5参照)やCPU3が生成する演奏データ等を格納
するデータエリアDEおよび複数フレーム分の撮像画像
を保持する画像バッファとを備える。上記データエリア
DEに格納される演奏データは、図6に図示するよう
に、演奏操作に応じて発生するイベントEVT(1)〜
(n)と、曲の終わりを表わす終了データENDとから
形成される。各イベントEVT(1)〜(n)は、ノー
トオンイベントもしくはノートオフイベントから構成さ
れる。
Reference numeral 4 denotes a ROM for storing various control programs and model performance data loaded on the CPU 3. Reference numeral 5 denotes a RAM, a work area WE for temporarily storing various register / flag data, and a finger size table TBL described above.
(See FIG. 5), a data area DE for storing performance data and the like generated by the CPU 3, and an image buffer for holding captured images of a plurality of frames. The performance data stored in the data area DE includes, as shown in FIG. 6, events EVT (1) to EVT (1) generated in response to a performance operation.
(N) and end data END indicating the end of the music. Each of the events EVT (1) to (n) is composed of a note-on event or a note-off event.

【0019】ノートオンイベントは発音を示すノートオ
ンNON、その音高を示すノートナンバNN、音量を表
すベロシティVEL、発音期間を表す音長ONTYO
U、押鍵操作した手指を表すYUBIおよびその時の運
指状態を撮像した運指画像UNSIからなる。一方、ノ
ートオフイベントは消音を示すノートオフNOFおよび
消音すべき音高を示すノートナンバNNから形成され
る。
The note-on event includes a note-on NON indicating a sound, a note number NN indicating a pitch, a velocity VEL indicating a volume, and a tone length ONTYO indicating a sounding period.
U, YUBI representing a finger that has performed a key press operation, and a fingering image UNSI capturing a fingering state at that time. On the other hand, the note-off event is formed from a note-off NOF indicating silence and a note number NN indicating a pitch to be silenced.

【0020】6はLCDパネル等から構成される表示部
であり、後述するCPU3から供給される表示制御信号
に応じて、記録した演奏データの内容や、模範演奏デー
タと記録した演奏データとの評価結果などを画面表示す
る。7は周知の波形メモリ読み出し方式によって構成さ
れる音源であり、時分割動作する複数の発音チャンネル
を備える。この音源7は、各種音色の波形データを記憶
しており、これらの内、CPU5が指定する波形データ
を読み出し、それを演奏データに応じて波形修飾してな
る楽音波形Wを形成する。8はD/A変換回路であり、
上記音源7の出力をアナログ波形信号に変換して次段の
サウンドシステム9に供給する。サウンドシステム9
は、例えば、前段から供給されるアナログ波形信号に対
して不要ノイズを除去する等のフィルタリングを施した
後、これを増幅してスピーカSPから発音する。
Reference numeral 6 denotes a display unit composed of an LCD panel or the like, which evaluates the contents of the recorded performance data and the model performance data and the recorded performance data in accordance with a display control signal supplied from the CPU 3 described later. Display the results on the screen. Reference numeral 7 denotes a sound source configured by a well-known waveform memory reading method, which includes a plurality of time-divisionally operated sound channels. The sound source 7 stores waveform data of various timbres, reads out the waveform data designated by the CPU 5 from them, and forms a musical tone waveform W obtained by modifying the waveform data according to the performance data. 8 is a D / A conversion circuit,
The output of the sound source 7 is converted into an analog waveform signal and supplied to the next sound system 9. Sound system 9
For example, after performing filtering such as removing unnecessary noise on an analog waveform signal supplied from a preceding stage, the analog signal is amplified and sounded from a speaker SP.

【0021】(2)動作 次に、図7〜図15を参照して実施例の動作について説
明する。 メインルーチンの動作 電源投入に応じて、CPU5はROM6から所定の制御
プログラムを読み出して自身にロードすると、図2に示
すメインルーチンを実行してステップSA1に処理を進
め、RAM5のワークエリアに設けられる各種レジスタ
・フラグを初期化するイニシャライズ処理を行う。この
後、ステップSA2では、運指画像および指先画像を撮
像し、運指画像に写る各鍵毎に鍵番号を付与すると共
に、その内から音高基準となる鍵(例えばC音に対応す
る鍵)を設定したり、運指画像および指先画像から抽出
した演奏者の両手指F1〜F10毎の指の寸法(幅Wお
よび高さH)を指寸法テーブルTBLを登録する初期設
定処理を行う。
(2) Operation Next, the operation of the embodiment will be described with reference to FIGS. Operation of Main Routine In response to power-on, the CPU 5 reads a predetermined control program from the ROM 6 and loads it into itself, executes the main routine shown in FIG. 2 and proceeds to step SA1, and is provided in the work area of the RAM 5. Performs initialization processing for initializing various register flags. Thereafter, in step SA2, the fingering image and the fingertip image are taken, a key number is assigned to each key shown in the fingering image, and a key serving as a pitch reference (for example, a key corresponding to sound C) ) Is set, and the finger size (width W and height H) of each finger F1 to F10 of the player extracted from the fingering image and the fingertip image is registered in the finger size table TBL.

【0022】次いで、ステップSA3では、モードスイ
ッチの操作に応じて、演奏データを生成する押鍵検出モ
ードもしくは模範演奏データと演奏操作に従って記録し
た演奏データとを比較して評価する評価モードのいずれ
かに設定するモード設定処理を実行する。そして、この
モード設定処理にて押鍵検出モードが設定されていれ
ば、ステップSA4にて演奏データを生成して記録する
押鍵検出処理を実行し、一方、評価モードが設定されて
いれば、ステップSA5にて模範演奏データと演奏デー
タとを比較して評価する評価処理を実行する。以後、電
源がオフされる迄、設定モードに応じた処理を実行す
る。
Next, at step SA3, according to the operation of the mode switch, either a key press detection mode for generating performance data or an evaluation mode for comparing model performance data with performance data recorded according to the performance operation for evaluation. Execute the mode setting process to be set. If the key press detection mode is set in this mode setting process, a key press detection process for generating and recording performance data is executed in step SA4, while if the evaluation mode is set, At step SA5, an evaluation process for comparing and evaluating the model performance data and the performance data is executed. Thereafter, the processing according to the setting mode is executed until the power is turned off.

【0023】初期設定処理ルーチンの動作 次に、図8を参照して初期設定処理ルーチンの動作につ
いて説明する。上述したステップSA2を介して本ルー
チンが実行されると、CPU3は図8に示すステップS
B1に処理を進め、初期運指画像を撮像し、これを初期
運指画像SUGとしてRAM5の画像バッファに一時記
憶する。なお、ここで言う初期運指画像SUGとは、演
奏鍵域において演奏者の両手指を演奏開始状態にして撮
像した運指画像を指す。
Operation of Initial Setting Processing Routine Next, the operation of the initial setting processing routine will be described with reference to FIG. When this routine is executed through step SA2 described above, the CPU 3 executes step S2 shown in FIG.
The process proceeds to B1, an initial fingering image is captured, and this is temporarily stored in the image buffer of the RAM 5 as the initial fingering image SUG. Note that the initial fingering image SUG referred to here refers to a fingering image captured in the performance key area with both fingers of the player in a performance start state.

【0024】次いで、ステップSB2では、初期運指画
像SUGに写る各鍵毎に鍵番号を付与すると共に、その
内から音高基準となる鍵(例えばC音に対応する鍵)を
設定する。続いて、ステップSB3では、指先画像を撮
像し、これを初期指先画像SYGとしてRAM5の画像
バッファに一時記憶すると共に、この画像SYGに画像
認識処理を施して得た演奏者の各手指の寸法(幅Wおよ
び高さH)を、初期運指画像SUGから抽出した演奏者
の両手指F1〜F10に対応させて指寸法テーブルTB
Lを生成する。
Next, in step SB2, a key number is assigned to each key appearing in the initial fingering image SUG, and a key serving as a pitch reference (for example, a key corresponding to the C sound) is set from among them. Subsequently, in step SB3, a fingertip image is taken and temporarily stored in the image buffer of the RAM 5 as an initial fingertip image SYG, and the size of each finger of the player obtained by performing image recognition processing on this image SYG ( The width W and height H) correspond to the two fingers F1 to F10 of the player extracted from the initial fingering image SUG, and the finger dimension table TB.
Generate L.

【0025】モード設定処理ルーチンの動作 次に、図9を参照してモード設定処理ルーチンの動作に
ついて説明する。上述したステップSA3を介して本ル
ーチンが実行されると、CPU3は図9に示すステップ
SC1に処理を進め、ユーザー(演奏者)のモードスイ
ッチ操作に応じたイベントを発生する。そして、ステッ
プSC2以降では、このスイッチイベントに応じたフラ
グをセットする。すなわち、押鍵検出モードに設定する
旨のイベントが発生した場合には、ステップSC2の判
断結果が「YES」となり、次のステップSC3に処理
を進め、モードフラグMに「0」をセットして押鍵検出
モードに設定する。一方、評価モードに設定する旨のイ
ベントが発生した場合には、ステップSC4の判断結果
が「YES」となり、次のステップSC5に処理を進
め、モードフラグMに「1」をセットして評価モードに
設定する。
Operation of Mode Setting Processing Routine Next, the operation of the mode setting processing routine will be described with reference to FIG. When this routine is executed via the above-described step SA3, the CPU 3 advances the process to step SC1 shown in FIG. 9, and generates an event according to the mode switch operation of the user (player). After step SC2, a flag corresponding to the switch event is set. That is, when an event to set the key press detection mode occurs, the determination result of step SC2 is “YES”, the process proceeds to the next step SC3, and the mode flag M is set to “0”. Set the key press detection mode. On the other hand, if an event to set the evaluation mode has occurred, the determination result of step SC4 is "YES", the process proceeds to the next step SC5, the mode flag M is set to "1", and the evaluation mode is set to "1". Set to.

【0026】押鍵検出処理ルーチンの動作 次に、図10〜図12を参照して押鍵検出処理ルーチン
の動作について説明する。前述したステップSA4(図
7参照)を介して本ルーチンが実行されると、CPU3
は図10に示すステップSD1に処理を進め、モードフ
ラグMが「0」、つまり、押鍵検出モードに設定されて
いるかどうかを判断する。そして、押鍵検出モードに設
定されていれば、判断結果は「YES」となり、次のス
テップSD2に処理を進めるが、評価モードに設定され
ている時には判断結果が「NO」となり、何も処理せず
に本ルーチンを完了させる。
Operation of Key Press Detection Processing Routine Next, the operation of the key press detection processing routine will be described with reference to FIGS. When this routine is executed through the above-described step SA4 (see FIG. 7), the CPU 3
Proceeds to step SD1 shown in FIG. 10, and determines whether or not the mode flag M is "0", that is, whether or not the key press detection mode is set. If the mode is set to the key press detection mode, the determination result is "YES" and the process proceeds to the next step SD2. However, if the mode is set to the evaluation mode, the determination result is "NO" and no processing is performed. This routine is completed without doing this.

【0027】ステップSD2では、タイマカウンタTを
ゼロリセットし、続くステップSD3では、初期運指画
像SUGを前回画像LTGにセットする。次いで、ステ
ップSD4では、タイマカウンタTの値をインクリメン
トして歩進させ、続くステップSD5では、運指画像を
撮像し、これをタイマカウンタTの値に対応させた今回
運指画像TUG(T)としてRAM5の画像バッファに
一時記憶する。次に、ステップSD6では、指先画像を
撮像し、これをタイマカウンタTの値に対応させた今回
指先画像TYG(T)としてRAM5の画像バッファに
一時記憶する。
In step SD2, the timer counter T is reset to zero. In step SD3, the initial fingering image SUG is set to the previous image LTG. Next, in step SD4, the value of the timer counter T is incremented and the step is advanced, and in the following step SD5, a fingering image is captured, and the present fingering image TUG (T) corresponding to the value of the timer counter T is taken. Is temporarily stored in the image buffer of the RAM 5. Next, in step SD6, the image of the fingertip is taken and temporarily stored in the image buffer of the RAM 5 as the current fingertip image TYG (T) corresponding to the value of the timer counter T.

【0028】そして、ステップSD7では、前回運指画
像LUG中に写る鍵面と今回運指画像TUG(T)中に
写る鍵面とを比較し、押鍵に応じて鍵面が下降する鍵の
有無を判断する。鍵面下降する鍵があれば、判断結果は
「YES」となり、ステップSD8以降の押鍵確認処理
を実行し、鍵面下降する鍵が無ければ、判断結果は「N
O」となり、図13に示すステップSD18以降の離鍵
確認処理を実行する。以下、押鍵確認処理と離鍵確認処
理とに分けて動作説明を進める。
In step SD7, the key surface shown in the previous fingering image LUG and the key surface shown in the current fingering image TUG (T) are compared, and the key surface of the key whose key surface descends according to the key depression is determined. Determine the presence or absence. If there is a key that descends the key surface, the determination result is “YES”, and the key depression confirmation processing after step SD8 is executed. If there is no key that the key surface descends, the determination result is “N”.
O ", and a key release confirmation process after step SD18 shown in FIG. 13 is executed. Hereinafter, the operation will be described separately for the key press confirmation process and the key release confirmation process.

【0029】(イ)押鍵確認処理 鍵面下降する鍵があると、CPU3はステップSD8に
処理を進め、今回指先画像TYG(T)から鍵面位置を
抽出し、その位置が所定押鍵量A点まで達しているか、
つまり、押鍵開始状態であるかどうかを判断する。ここ
で、鍵面位置が所定押鍵量A点に達しておらず、押鍵開
始状態にまで至っていなければ、判断結果は「NO」と
なり、ステップSD9に処理を進め、今回運指画像TU
G(T)、今回指先画像TYG(T)をそれぞれ前回運
指画像LUG(T)、前回指先画像LYG(T)に更新
する。この後、上記ステップSD4に処理を戻してタイ
マカウンタTを歩進させてから、上記ステップSD5〜
SD7を経て、更新した画像内容に従って再び鍵面下降
する鍵の有無を判断する。
(A) Key Press Confirmation Process When there is a key that descends the key surface, the CPU 3 proceeds to step SD8 to extract the key surface position from the current fingertip image TYG (T), and that position is determined by the predetermined key depression amount. Whether you have reached point A
That is, it is determined whether or not the key depression state has been started. Here, if the key surface position has not reached the predetermined key depression amount A point and has not reached the key depression start state, the determination result is “NO”, the process proceeds to step SD9, and the current fingering image TU
G (T) and the current fingertip image TYG (T) are updated to the previous fingering image LUG (T) and the previous fingertip image LYG (T), respectively. Thereafter, the process returns to step SD4 to increment the timer counter T, and then proceeds to steps SD5 to SD5.
After SD7, it is determined whether or not there is a key that descends again according to the updated image content.

【0030】そして、鍵面下降する鍵があり、しかも鍵
面位置が所定押鍵量A点まで達すると、ステップSD8
の判断結果が「YES」となり、ステップSD10に処
理を進め、レジスタt1に押鍵開始時刻Tをセットす
る。次いで、図11に示すステップSD11に進み、今
回指先画像TYG(T)から抽出した鍵面位置が所定押
鍵量B点(押鍵開始点)に達したかどうかを判断する。
押鍵開始点に達していないと、判断結果は「NO」とな
り、再びステップSD4以降を繰り返すが、押鍵開始点
に達していれば、判断結果は「YES」となり、ステッ
プSD12に処理を進める。ステップSD12では、押
鍵開始点に達した鍵に割り当てられた鍵番号と基準鍵の
鍵番号との差に応じて、鍵操作される鍵の音高を判別し
てレジスタNNにストアすると共に、発音を表すノート
オンイベントをレジスタNONにセットする。
When there is a key that descends the key surface and the key surface position reaches the predetermined key depression amount A, step SD8
Is determined as "YES", the process proceeds to step SD10, and the key pressing start time T is set in the register t1. Next, the process proceeds to step SD11 shown in FIG. 11, and it is determined whether or not the key surface position extracted from the fingertip image TYG (T) this time has reached a predetermined key depression amount B point (key depression start point).
If the key pressing start point has not been reached, the determination result is "NO", and the steps from step SD4 are repeated again. However, if the key pressing start point has been reached, the determination result is "YES", and the process proceeds to step SD12. . In step SD12, the pitch of the key operated is determined according to the difference between the key number assigned to the key that has reached the key depression start point and the key number of the reference key, and stored in the register NN. A note-on event indicating sound generation is set in the register NON.

【0031】次いで、ステップSD13では、押鍵到達
時刻TをレジスタNOTE ON(t)にストアし、続
くステップSD14では押鍵到達時刻Tをレジスタt2
にストアする。そして、ステップSD15では、押鍵所
要時間t2−t1に対応するベロシティ値を発生してレ
ジスタVELにセットする。次に、ステップSD16で
は、今回運指画像TUG(T)を演奏データに取り込む
運指画像UNSI(n)として登録する。この後、ステ
ップSD17を介して運指番号検索処理ルーチンを実行
してどの指で押鍵されたかを判断する。以下、図12を
参照して運指番号検索処理ルーチンの動作について説明
する。
Next, in step SD13, the key depression arrival time T is stored in the register NOTE ON (t), and in the following step SD14, the key depression arrival time T is stored in the register t2.
Store in Then, in step SD15, a velocity value corresponding to the required key pressing time t2-t1 is generated and set in the register VEL. Next, in step SD16, the present fingering image TUG (T) is registered as the fingering image UNSI (n) to be taken into the performance data. Thereafter, a fingering number search processing routine is executed via step SD17 to determine which finger has been pressed. Hereinafter, the operation of the fingering number search processing routine will be described with reference to FIG.

【0032】ステップSD17を介して運指番号検索処
理ルーチンが実行されると、CPU3は図12に示すス
テップSE1に進み、所定押鍵量B点(押鍵開始点)に
達した時点の指先画像TYG(T)を抽出し、続くステ
ップSE2ではその指先画像TYG(T)から押鍵操作
した指の寸法(幅Wおよび高さH)を計測して特徴パラ
メータYUBI(W,H)を発生する。次いで、ステッ
プSE3では、この特徴パラメータYUBI(W,H)
に合致する指の識別子F1〜F10のいずれかを、前述
した指寸法テーブルTBL(図5参照)から検索し、続
いてステップSE4では、検索した識別子Fをレジスタ
YUBI(n)にストアする。
When the fingering number search processing routine is executed through step SD17, the CPU 3 proceeds to step SE1 shown in FIG. 12, and the fingertip image at the time when the predetermined key depression amount B point (key depression start point) is reached. TYG (T) is extracted, and in the following step SE2, the dimensions (width W and height H) of the finger pressed by the key are measured from the fingertip image TYG (T) to generate feature parameters YUBI (W, H). . Next, at step SE3, the characteristic parameter YUBI (W, H)
Is retrieved from the finger size table TBL (see FIG. 5) described above, and then in step SE4, the retrieved identifier F is stored in the register YUBI (n).

【0033】以上のようにして、押鍵に対応した一連の
演奏データが定まると、ステップSD18に処理を進
め、レジスタNON,NN,VEL,YUBI(n)お
よびUNSI(n)の内容を演奏データとしてRAM5
のデータエリアDEにストアして押鍵確認処理を一旦完
了させる。なお、ノートオンイベント中の発音期間を表
す音長ONTYOUは、離鍵操作されてから定まるもの
であり、これについては後述の離鍵確認処理にて生成す
る。
As described above, when a series of performance data corresponding to key depression is determined, the process proceeds to step SD18, and the contents of the registers NON, NN, VEL, YUBI (n) and UNSI (n) are stored in the performance data. RAM5 as
And temporarily completes the key press confirmation processing. Note that the note length ONTYOU indicating the sounding period during the note-on event is determined after a key release operation is performed, and this is generated in a key release confirmation process described later.

【0034】(ロ)離鍵確認処理 前述したステップSD7(図10参照)にて鍵面下降す
る鍵が無い場合には、図13に示すステップSD19に
処理を進め、鍵面上昇する鍵の有無を判断する。鍵面上
昇する鍵が無ければ、判断結果は「NO」となり、図1
0に示すステップSD4に処理を戻してタイマカウンタ
Tを歩進させてから、ステップSD5〜SD7を経て、
ステップSD19に進み、更新した画像内容に従って再
び鍵面上昇する鍵の有無を判断する。そして、鍵面上昇
する鍵があると、ステップSD19の判断結果が「YE
S」となり、ステップSD20に処理を進める。ステッ
プSD20では、鍵面上昇する鍵が、レジスタNNに格
納される音高の鍵であるかどうかを判断する。
(B) Key release confirmation process If there is no key that descends in the key surface in step SD7 (see FIG. 10), the process proceeds to step SD19 shown in FIG. Judge. If there is no key whose key surface rises, the determination result is “NO”, and FIG.
After returning the process to step SD4 shown in FIG. 0 and incrementing the timer counter T, through steps SD5 to SD7,
Proceeding to step SD19, it is determined whether there is a key whose key surface rises again according to the updated image content. Then, when there is a key whose key surface rises, the determination result of step SD19 is “YE
S ", and the process proceeds to Step SD20. In step SD20, it is determined whether or not the key whose key surface rises is a key having a pitch stored in the register NN.

【0035】レジスタNNに格納される音高に対応する
鍵でなければ、判断結果は「NO」となり、図10に示
すステップSD4に処理を戻すが、レジスタNNに格納
される音高に対応する鍵であると、判断結果が「YE
S」となり、次のステップSD21に処理を進める。ス
テップSD21では、その鍵が所定離鍵量C(離鍵状
態)まで復帰しているか否かを判断する。
If the key is not a key corresponding to the pitch stored in the register NN, the determination result is "NO", and the process returns to step SD4 shown in FIG. If it is a key, the judgment result is “YE
S ", and proceeds to the next step SD21. In step SD21, it is determined whether or not the key has returned to a predetermined key release amount C (key release state).

【0036】復帰していなければ、判断結果は「NO」
となり、ステップSD25に進み、復帰量D未満、つま
り離鍵最中にあるか否かを判断する。離鍵最中でなく、
復帰量D未満であると、判断結果が「YES」となり、
ステップSD26に進む。ステップSD26では、今回
運指画像TUG(T)、今回指先画像TYG(T)をそ
れぞれ前回運指画像LUG(T)、前回指先画像LYG
(T)に更新する。この後、上記ステップSD4に処理
を戻してタイマカウンタTを歩進させてから、上記ステ
ップSD19〜SD21を経て、更新した画像内容に従
って再び鍵面上昇する鍵の有無を判断する。これに対
し、離鍵最中にあり、復帰量D未満でなければ、判断結
果が「NO」となり、ステップSD21に進む。
If not restored, the determination result is "NO"
Then, the process proceeds to step SD25, and it is determined whether the amount is smaller than the return amount D, that is, whether key release is being performed. Not in the middle of key release,
If the return amount is less than D, the determination result is “YES”,
Proceed to step SD26. In step SD26, the current fingering image TUG (T) and the current fingertip image TYG (T) are respectively converted to the previous fingering image LUG (T) and the previous fingertip image LYG.
Update to (T). Thereafter, the process returns to step SD4 to increment the timer counter T, and then, through steps SD19 to SD21, it is determined whether or not there is a key whose key surface rises again according to the updated image content. On the other hand, if the key is being released and is not less than the return amount D, the determination result is “NO” and the process proceeds to Step SD21.

【0037】一方、離鍵状態に達すると、上記ステップ
SD21の判断結果は「YES」となり、ステップSD
22に処理を進め、離鍵された鍵に対応する音高をレジ
スタNNにストアすると共に、消音を表すノートオフイ
ベントをレジスタNOFにセットした後、レジスタN
N,NOFの内容をRAM5のデータエリアDEにスト
アする。次いで、ステップSD23では、離鍵時刻Tを
レジスタNOTE OFF(t)にセットし、続くステ
ップSD24では、先のステップSD13(図11参
照)にてレジスタNOTE ON(t)にストアされた
押鍵到達時刻Tから上記レジスタNOTE OFF
(t)にストアされた離鍵時刻Tを減算して音長を算出
し、それをレジスタONTYOUにストアして本ルーチ
ンを完了する。
On the other hand, when the key release state is reached, the result of determination in step SD21 is "YES", and
The process proceeds to step S22, where the pitch corresponding to the released key is stored in the register NN, and a note-off event indicating mute is set in the register NOF.
The contents of N and NOF are stored in the data area DE of the RAM 5. Next, in step SD23, the key release time T is set in the register NOTE OFF (t), and in the following step SD24, the key press arrival stored in the register NOTE ON (t) in the previous step SD13 (see FIG. 11). From the time T, the above register NOTE OFF
The key length is calculated by subtracting the key release time T stored in (t), and is stored in the register ONTYOU to complete the present routine.

【0038】評価処理ルーチンの動作 次に、図14〜図15を参照して評価処理ルーチンの動
作について説明する。前述したステップSA5(図7参
照)を介して本ルーチンが実行されると、CPU3は図
14に示すステップSF1に処理を進め、モードフラグ
Mが「1」、つまり、評価モードに設定されているかど
うかを判断する。評価モードに設定されていなければ、
判断結果は「NO」となり、何も処理せずに本ルーチン
を完了させるが、評価モードに設定されていると、判断
結果が「YES」となり、次のステップSF2に処理を
進める。ステップSF2,SF3では、模範演奏データ
と上述した押鍵検出処理ルーチンにて生成した演奏デー
タとをそれぞれ選択する。
Operation of Evaluation Processing Routine Next, the operation of the evaluation processing routine will be described with reference to FIGS. When this routine is executed via the above-described step SA5 (see FIG. 7), the CPU 3 advances the processing to step SF1 shown in FIG. 14, and determines whether the mode flag M is "1", that is, whether the mode is set to the evaluation mode. Judge whether or not. If you are not in evaluation mode,
The determination result is "NO", and this routine is completed without performing any processing. However, if the evaluation mode is set, the determination result is "YES", and the process proceeds to the next step SF2. In steps SF2 and SF3, the model performance data and the performance data generated in the above-described key press detection processing routine are selected.

【0039】そして、評価開始スイッチがオン操作され
ると、ステップSF4の判断結果が「YES」となり、
ステップSF5に進み、上記ステップSF2,SF3に
てそれぞれ選択した模範演奏データおよび演奏データの
先頭イベントを読み出す。次いで、ステップSF6では
両イベントを同期再生し、以後、ステップSF7〜SF
18では再生した両イベントの内容を比較する。すなわ
ち、ステップSF7ではノートナンバNNが一致してい
るかどうかを照合し、一致していれば、ステップSF8
にてイベント番号nに対応させて”NOTE OK”な
る評価結果をRAM5の所定エリアに記録し、不一致な
らば、ステップSF9にてイベント番号nに対応させ
て”NOTE NG”なる評価結果をRAM5の所定エ
リアに記録する。
When the evaluation start switch is turned on, the result of determination in step SF4 becomes "YES",
Proceeding to step SF5, the model performance data and the leading event of the performance data selected in steps SF2 and SF3 are read. Next, in step SF6, both events are reproduced synchronously, and thereafter, in steps SF7 to SF
At 18, the contents of both events reproduced are compared. That is, in step SF7, it is checked whether or not the note numbers NN match, and if they match, the process proceeds to step SF8.
The evaluation result of "NOTE OK" is recorded in a predetermined area of the RAM 5 corresponding to the event number n, and if not, the evaluation result of "NOTE NG" corresponding to the event number n is stored in the RAM 5 at step SF9. Record in a predetermined area.

【0040】次に、図15に示すステップSF10では
ベロシティVELが許容範囲内に収まっているかどうか
を判断し、許容範囲内にあれば、ステップSF11にて
イベント番号nに対応させて”VEL OK”なる評価
結果をRAM5の所定エリアに記録し、許容範囲外なら
ば、ステップSF12にてイベント番号nに対応させ
て”VEL NG”なる評価結果をRAM5の所定エリ
アに記録する。次いで、ステップSF13では音長ON
TYOUが許容範囲内に収まっているかどうかを判断
し、許容範囲内にあれば、ステップSF14にてイベン
ト番号nに対応させて”ONTYOU OK”なる評価
結果をRAM5の所定エリアに記録し、許容範囲外なら
ば、ステップSF15にてイベント番号nに対応させ
て”ONTYOU NG”なる評価結果をRAM5の所
定エリアに記録する。
Next, in step SF10 shown in FIG. 15, it is determined whether or not the velocity VEL is within the allowable range. If it is within the allowable range, "VEL OK" is associated with the event number n in step SF11. The evaluation result is recorded in a predetermined area of the RAM 5, and if it is out of the allowable range, the evaluation result of “VEL NG” is recorded in a predetermined area of the RAM 5 in step SF12 in association with the event number n. Next, in step SF13, the sound length is turned on.
It is determined whether or not the TYOU falls within the allowable range. If the TYOU is within the allowable range, the evaluation result "ONTY OK" is recorded in a predetermined area of the RAM 5 in step SF14 in correspondence with the event number n, and If not, in step SF15, an evaluation result of "ONTY NG" is recorded in a predetermined area of the RAM 5 in association with the event number n.

【0041】続いて、ステップSF16では指番号YU
BIが一致しているかどうかを照合し、一致していれ
ば、ステップSF17にてイベント番号nに対応させ
て”運指OK”なる評価結果をRAM5の所定エリアに
記録し、不一致ならば、ステップSF18にてイベント
番号nに対応させて”運指NG”なる評価結果をRAM
5の所定エリアに記録する。そして、ステップSF19
ではイベントを歩進させ、続くステップSF20では歩
進したイベント内容が曲の終わりを表すENDデータで
あるかどうかを判断する。曲の終わりでなければ、判断
結果は「NO」となり、上述したステップSF6に処理
を戻し、歩進したイベント内容を再生し、上述したよう
に、模範演奏データに対する演奏データの適否を評価す
る。そして、曲の終わりに達すると、上記ステップSF
20の判断結果が「YES」となり、本ルーチンを完了
させる。
Subsequently, at step SF16, the finger number YU
It is checked whether or not the BIs match. If they match, an evaluation result of "fingering OK" is recorded in a predetermined area of the RAM 5 in step SF17 in correspondence with the event number n. The evaluation result of “fingering NG” corresponding to the event number n is stored in the RAM in SF18.
5 in a predetermined area. Then, Step SF19
In step SF20, it is determined whether or not the content of the stepped event is END data indicating the end of the music. If it is not the end of the music, the determination result is "NO", and the process returns to step SF6 to reproduce the stepped event contents, and evaluates the suitability of the performance data with respect to the model performance data as described above. When the end of the song is reached, the above-described step SF
The determination result at 20 is "YES", and this routine is completed.

【0042】以上のように、本実施例によれば、演奏者
の両手指全体および指先をそれぞれ撮像してなる運指画
像および指先画像に画像認識処理を施し、運指画像から
は演奏者の両手指を各々識別すると共に、どの鍵が操作
されているかを抽出し、一方、指先画像からは鍵操作す
る指を抽出すると共に、指先画像中の鍵面位置に応じて
押離鍵操作を判断することによって、どの鍵がどの指で
押鍵操作もしくは離鍵操作したかを表す演奏データを生
成する為、アコースティックな鍵盤楽器における自然な
演奏操作を演奏データとして記録することが可能になっ
ている。
As described above, according to the present embodiment, the image recognition processing is performed on the fingering image and the fingertip image obtained by imaging the entire two fingers and the fingertip of the player, and the player's finger image is obtained from the fingering image. It identifies each finger of both hands and extracts which key is being operated, while extracting the finger to operate the key from the fingertip image and judges the key press / release operation according to the key surface position in the fingertip image By doing so, it is possible to generate performance data indicating which key has been pressed or released with which finger, so that a natural performance operation on an acoustic keyboard instrument can be recorded as performance data. .

【0043】なお、上述した実施例では、模範演奏デー
タと、演奏操作から抽出した演奏データとをイベント毎
に比較した評価結果をRAM5に記録する態様について
述べたが、このRAM5に記録された評価結果の内、誤
った演奏操作に対応した演奏データを表示部6に画面表
示するようにしても良い。
In the above-described embodiment, the evaluation result obtained by comparing the model performance data and the performance data extracted from the performance operation for each event is recorded in the RAM 5, but the evaluation result recorded in the RAM 5 is described. Of the results, performance data corresponding to an erroneous performance operation may be displayed on the display unit 6 on a screen.

【0044】[0044]

【発明の効果】請求項1,3に記載の発明によれば、演
奏操作子と演奏者の演奏操作の画像情報を取得し、取得
した画像情報に基づいて演奏データを生成して記録する
ので、アコースティックな鍵盤楽器における自然な演奏
操作を演奏データとして記録することができる。請求項
2,4に記載の発明によれば、演奏操作子と演奏者の演
奏操作の画像情報を取得し、取得した画像情報に基づい
て演奏データを生成して記録した演奏データと、予め記
録される模範演奏データとを比較して当該演奏データの
適否を判定するので、アコースティックな鍵盤楽器にお
ける自然な演奏操作を演奏データとして記録できる上、
記録した演奏データの適否を判定することができる。請
求項3,6に記載の発明によれば、演奏者の両手指全体
および指先をそれぞれ撮像してなる運指画像および指先
画像にそれぞれ画像認識処理を施し、運指画像からは演
奏者の両手指を各々識別すると共に、どの鍵が操作され
ているかを抽出し、一方、指先画像からは鍵操作する指
を抽出すると共に、指先画像中の鍵面位置に応じて押離
鍵操作を判断することによって、どの鍵がどの指で押鍵
もしくは離鍵したかを表す演奏データを生成して記録す
る為、アコースティックな鍵盤楽器における自然な演奏
操作を演奏データとして記録することができる。
According to the first and third aspects of the present invention, image information of a performance operation performed by a performance operator and a player is acquired, and performance data is generated and recorded based on the acquired image information. A natural performance operation of an acoustic keyboard instrument can be recorded as performance data. According to the second and fourth aspects of the present invention, image data of performance operation of a performance operator and a player is acquired, and performance data generated and recorded based on the acquired image information is recorded in advance. The performance data is compared with the model performance data to determine whether the performance data is appropriate, so that a natural performance operation on an acoustic keyboard instrument can be recorded as performance data.
The propriety of the recorded performance data can be determined. According to the third and sixth aspects of the present invention, image recognition processing is performed on the fingering image and the fingertip image obtained by imaging the entire fingers and the fingertips of the player, respectively. Each of the fingers is identified, and which key is being operated is extracted. On the other hand, the finger to be operated is extracted from the fingertip image, and the key press / release operation is determined according to the key surface position in the fingertip image. Thus, performance data indicating which key is pressed or released with which finger is generated and recorded, so that a natural performance operation on an acoustic keyboard instrument can be recorded as performance data.

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

【図1】本発明による一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.

【図2】鍵盤楽器に装着される撮像部1の概略構造を示
す図である。
FIG. 2 is a diagram showing a schematic structure of an imaging unit 1 mounted on a keyboard instrument.

【図3】演奏データを生成する原理を説明するための図
である。
FIG. 3 is a diagram for explaining the principle of generating performance data.

【図4】演奏データを生成する原理を説明するための図
である。
FIG. 4 is a diagram for explaining the principle of generating performance data.

【図5】演奏データを生成する原理および指寸法テーブ
ルTBLの内容を説明するための図である。
FIG. 5 is a diagram for explaining the principle of generating performance data and the contents of a finger size table TBL.

【図6】演奏データの構成を示す図である。FIG. 6 is a diagram showing a configuration of performance data.

【図7】メインルーチンの動作を示すフローチャートで
ある。
FIG. 7 is a flowchart showing an operation of a main routine.

【図8】初期設定処理ルーチンの動作を示すフローチャ
ートである。
FIG. 8 is a flowchart illustrating an operation of an initialization processing routine.

【図9】モード設定処理ルーチンの動作を示すフローチ
ャートである。
FIG. 9 is a flowchart showing an operation of a mode setting processing routine.

【図10】押鍵検出処理ルーチンの動作を示すフローチ
ャートである。
FIG. 10 is a flowchart illustrating an operation of a key press detection processing routine.

【図11】押鍵検出処理ルーチンの動作を示すフローチ
ャートである。
FIG. 11 is a flowchart illustrating an operation of a key press detection processing routine.

【図12】運指番号検索処理ルーチンの動作を示すフロ
ーチャートである。
FIG. 12 is a flowchart showing the operation of a fingering number search processing routine.

【図13】押鍵検出処理ルーチンの動作を示すフローチ
ャートである。
FIG. 13 is a flowchart showing the operation of a key press detection processing routine.

【図14】評価処理ルーチンの動作を示すフローチャー
トである。
FIG. 14 is a flowchart illustrating an operation of an evaluation processing routine.

【図15】評価処理ルーチンの動作を示すフローチャー
トである。
FIG. 15 is a flowchart illustrating an operation of an evaluation processing routine.

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

1 撮像部 2 パネルスイッチ群 3 CPU 4 ROM 5 RAM 6 表示部 7 音源 8 D/A変換回路 9 サウンドシステム Reference Signs List 1 imaging unit 2 panel switch group 3 CPU 4 ROM 5 RAM 6 display unit 7 sound source 8 D / A conversion circuit 9 sound system

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 演奏操作子と演奏者の演奏操作の画像情
報を取得する撮影手段と、 前記撮影手段によって取得された画像情報に基づいて演
奏データを生成して記録する演奏データ記録手段とを具
備することを特徴とする演奏操作記録装置。
1. A photographing means for acquiring image information of a performance operation element and a performance operation of a player, and a performance data recording means for generating and recording performance data based on the image information acquired by the photographing means. A performance operation recording device, comprising:
【請求項2】 演奏操作子と演奏者の演奏操作の画像情
報を取得する撮影手段と、 前記撮影手段によって取得された画像情報に基づいて演
奏データを生成して記録する演奏データ記録手段と、 前記演奏データ記録手段によって記録された演奏データ
と、予め記録される模範演奏データとを比較して当該演
奏データの適否を判定する判定手段とを具備することを
特徴とする演奏操作記録装置。
2. A photographing means for acquiring image information of a performance operation element and a performance operation of a player; a performance data recording means for generating and recording performance data based on the image information acquired by the photographing means; A performance operation recording apparatus, comprising: performance data recorded by the performance data recording means; and determining means for comparing the performance data recorded in advance with model performance data to determine whether the performance data is appropriate.
【請求項3】 演奏者の両手指全体および指先をそれぞ
れ撮像してなる運指画像および指先画像を発生する撮像
手段と、 前記運指画像に画像認識処理を施して演奏者の両手指を
各々識別すると共に、どの鍵が操作されているかを抽出
し、一方、前記指先画像に画像認識処理を施して鍵操作
する指を抽出すると共に、指先画像中の鍵面位置に応じ
て押離鍵操作を判断することによって、どの鍵がどの指
で押鍵もしくは離鍵したかを表す演奏データを生成して
記録する演奏データ記録手段とを具備することを特徴と
する演奏操作記録装置。
3. An imaging means for generating a fingering image and a fingertip image obtained by imaging the entire fingers and fingertips of a player, respectively; and performing an image recognition process on the fingering images to obtain both fingers of the player. In addition to identifying and extracting which key is being operated, the fingertip image is subjected to image recognition processing to extract a key to be operated, and a key press / release operation is performed according to a key surface position in the fingertip image. A performance data recording means for generating and recording performance data indicating which key has been pressed or released with which finger by determining which key has been pressed.
【請求項4】 演奏操作子と演奏者の演奏操作の画像情
報を取得する撮影過程と、 前記撮影過程によって取得された画像情報に基づいて演
奏データを生成して記録する演奏データ記録過程とを具
備することを特徴とする演奏操作記録方法。
4. A photographing step of acquiring image information of a performance operation element and a performance operation of a player, and a performance data recording step of generating and recording performance data based on the image information acquired in the photographing step. A performance operation recording method, comprising:
【請求項5】 演奏操作子と演奏者の演奏操作の画像情
報を取得する撮影過程と、 前記撮影過程によって取得された画像情報に基づいて演
奏データを生成して記録する演奏データ記録過程と、 前記演奏データ記録過程によって記録された演奏データ
と、予め記録される模範演奏データとを比較して当該演
奏データの適否を判定する判定過程とを具備することを
特徴とする演奏操作記録方法。
5. A photographing step of acquiring image information of a performance operation element and a performance operation of a player; a performance data recording step of generating and recording performance data based on the image information acquired in the photographing step; A performance operation recording method, comprising: comparing performance data recorded in the performance data recording process with model performance data recorded in advance to determine whether the performance data is appropriate.
【請求項6】 演奏者の両手指全体および指先をそれぞ
れ撮像してなる運指画像および指先画像を発生する撮像
過程と、 前記運指画像に画像認識処理を施して演奏者の両手指を
各々識別すると共に、どの鍵が操作されているかを抽出
し、一方、前記指先画像に画像認識処理を施して鍵操作
する指を抽出すると共に、指先画像中の鍵面位置に応じ
て押離鍵操作を判断することによって、どの鍵がどの指
で押鍵もしくは離鍵したかを表す演奏データを生成して
記録する演奏データ記録過程とを具備することを特徴と
する演奏操作記録方法。
6. An imaging process for generating a fingering image and a fingertip image obtained by imaging the entire fingers and fingertips of a player, respectively; and performing an image recognition process on the fingering images so that the fingers of the player can be obtained. In addition to identifying and extracting which key is being operated, on the other hand, performing an image recognition process on the fingertip image to extract a finger to be operated, and performing a key press / release operation in accordance with the key surface position in the fingertip image A performance data recording step of generating and recording performance data indicating which key has been pressed or released with which finger by determining which key has been pressed.
JP2001009281A 2001-01-17 2001-01-17 Method and device for recording playing operation Pending JP2002215139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001009281A JP2002215139A (en) 2001-01-17 2001-01-17 Method and device for recording playing operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001009281A JP2002215139A (en) 2001-01-17 2001-01-17 Method and device for recording playing operation

Publications (1)

Publication Number Publication Date
JP2002215139A true JP2002215139A (en) 2002-07-31

Family

ID=18876789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001009281A Pending JP2002215139A (en) 2001-01-17 2001-01-17 Method and device for recording playing operation

Country Status (1)

Country Link
JP (1) JP2002215139A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283793A (en) * 2004-03-29 2005-10-13 Casio Comput Co Ltd Apparatus and program for evaluating musical performance
JP2006091633A (en) * 2004-09-27 2006-04-06 Casio Comput Co Ltd Musical performance evaluation system and program of performance evaluation processing
JP2007156950A (en) * 2005-12-07 2007-06-21 Toyota Motor Corp Vehicle operating device
JP2007256411A (en) * 2006-03-22 2007-10-04 Yamaha Corp Musical sound controller
WO2018221038A1 (en) * 2017-05-31 2018-12-06 シャープ株式会社 Output device, output system, method for controlling output device, and control program
CN110728967A (en) * 2019-10-03 2020-01-24 陕西学前师范学院 Intelligent piano system capable of prompting fingering and using method thereof
WO2020059245A1 (en) * 2018-09-18 2020-03-26 ソニー株式会社 Information processing device, information processing method and information processing program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005283793A (en) * 2004-03-29 2005-10-13 Casio Comput Co Ltd Apparatus and program for evaluating musical performance
JP4513378B2 (en) * 2004-03-29 2010-07-28 カシオ計算機株式会社 Performance evaluation apparatus and performance evaluation program
JP2006091633A (en) * 2004-09-27 2006-04-06 Casio Comput Co Ltd Musical performance evaluation system and program of performance evaluation processing
JP4501620B2 (en) * 2004-09-27 2010-07-14 カシオ計算機株式会社 Performance evaluation system and performance evaluation processing program
JP2007156950A (en) * 2005-12-07 2007-06-21 Toyota Motor Corp Vehicle operating device
JP2007256411A (en) * 2006-03-22 2007-10-04 Yamaha Corp Musical sound controller
WO2018221038A1 (en) * 2017-05-31 2018-12-06 シャープ株式会社 Output device, output system, method for controlling output device, and control program
WO2020059245A1 (en) * 2018-09-18 2020-03-26 ソニー株式会社 Information processing device, information processing method and information processing program
CN110728967A (en) * 2019-10-03 2020-01-24 陕西学前师范学院 Intelligent piano system capable of prompting fingering and using method thereof

Similar Documents

Publication Publication Date Title
JP2002215139A (en) Method and device for recording playing operation
KR100610573B1 (en) Automatic music performing apparatus and computer readable media recording automatic music performance processing program
JP6565225B2 (en) Electronic musical instrument, volume control method and program
JP4765705B2 (en) Music control device
JP6421459B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JP2536708B2 (en) Electronic musical instrument
JP4029286B2 (en) Performance recording / reproducing apparatus and performance recording / reproducing program
JP3781167B2 (en) Performance information input device and performance information input method
JP2015179229A (en) Musical sound generator, electronic music instrument, musical sound generating method and program
JP3062821B2 (en) Electronic musical instrument
JP2526439B2 (en) Electronic musical instrument
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP3940999B2 (en) Performance device and performance method
JP2000352973A (en) Playing guide device
JP3970114B2 (en) Electronic musical instrument, automatic accompaniment method, computer program, and computer-readable recording medium
JP4720564B2 (en) Music control device
JP3991892B2 (en) Electronic musical instruments
JP2006178268A (en) Musical sound controller and musical sound control program
JP2701094B2 (en) Display control device of automatic performance device
JP3533764B2 (en) Automatic accompaniment device
JPH03110494U (en)
JP6439225B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JPH087436Y2 (en) Bass sound generator
JP3375220B2 (en) Electronic musical instrument
JP2012252073A (en) Musical tone data correcting device and program