JP2019179158A - Fingering display program - Google Patents
Fingering display program Download PDFInfo
- Publication number
- JP2019179158A JP2019179158A JP2018068730A JP2018068730A JP2019179158A JP 2019179158 A JP2019179158 A JP 2019179158A JP 2018068730 A JP2018068730 A JP 2018068730A JP 2018068730 A JP2018068730 A JP 2018068730A JP 2019179158 A JP2019179158 A JP 2019179158A
- Authority
- JP
- Japan
- Prior art keywords
- time
- fingering
- key
- information
- position information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、鍵盤楽器の演奏練習用の運指表示に関し、複数の楽音から構成される演奏情報と各楽音に対応する指番号情報に基づき、楽音再生時に楽器を演奏する運指動画を描画して画面に表示する運指表示プログラムに関する。 The present invention relates to a fingering display for practicing performance of a keyboard instrument, and draws a fingering video for playing a musical instrument during musical tone reproduction based on performance information composed of a plurality of musical sounds and finger number information corresponding to each musical tone. The present invention relates to a fingering display program to be displayed on the screen.
電子ピアノ等の鍵盤楽器について演奏練習を行う場合に、操作する鍵盤表示に重ねて手の甲と各指から構成される運指画像を表示することで、鍵盤を押したり離したりする指使いを練習者に指示する演奏動作表示装置が提案されている。
例えば特許文献1には、指の運び方を分かりやすくするために、手の動きが連続的に移行する運指動画生成技術が開示されており、単音の場合と和音の場合とで条件分けを行い、それぞれの指の形や手の甲の位置を決定するようにしている。
When practicing performance with a keyboard instrument such as an electronic piano, practicing finger use to press and release the keyboard by displaying a fingering image composed of the back of the hand and each finger over the keyboard display to be operated There has been proposed a performance operation display device for instructing the user.
For example,
すなわち特許文献1には、複数種の操作運指画像データおよび複数種の経過運指画像データをROMに格納しておき、ノートオン処理の鍵の操作開始を示す運指に対応する操作運指画像データをROMから選択して読み出し、表示装置に与えて表示させ、さらに、ノートオフ処理の次に押鍵する鍵の操作開始に至るまでの経過を示す運指に対応する経過運指画像データをROMから選択して読み出し、表示装置に与えて表示させることにより、曲の進行に応じたきめ細かな演奏ガイドを行う運指表示装置が記載されている。
That is, in
また、出願人は、鍵盤サイズや鍵盤の画面表示上での大きさにあった手形を描画させることができる運指表示方法として特許文献2に示された手法を提案している。
In addition, the applicant has proposed the technique disclosed in
しかしながら、特許文献1に開示された運指表示装置における運指表示のやり方では、離鍵してから次に押鍵するまでの時間がある程度長い時、その間を連続的に移行するような運指動画が生成されるため、まるでスローモーションにじわじわと指が広がった手が長い区間をゆっくりと移動する不自然な動画となってしまうという問題があった。
However, in the fingering display method in the fingering display device disclosed in
本発明は上記実情に鑑みて提案されたもので、運指動画を生成する場合に、離鍵してから次に押鍵するまでの時間が長い場合であっても、運指動画がゆっくりと移動する不自然な動きを無くすことで、実際の鍵盤操作に近い運指動画を描画することができる運指表示プログラムを提供することを目的とする。 The present invention has been proposed in view of the above circumstances, and when a fingering video is generated, even if the time from when the key is released until the next key is pressed is long, the fingering video is slowly An object of the present invention is to provide a fingering display program capable of drawing a fingering moving image close to an actual keyboard operation by eliminating an unnatural movement that moves.
上記目的を達成するために本発明は、楽曲の各楽音とそれに対応する指番号を含む演奏情報に基づき楽曲再生時に楽器を演奏する運指動画を描画して画面に運指表示するプログラムであって、
前記楽曲再生時の再生時刻(T)に対応する運指位置情報(Pm)を元に運指描画を生成するに際して、
前記再生時刻(T)において押鍵から離鍵に変化する離鍵時から再生時刻(T)以降の最寄りの押鍵時刻である時刻(T2)と、
前記時刻(T2)における押鍵情報に変化する直前の時刻(T1)と、
前記時刻(T1)から前記時刻(T2)に至る時間が所望時間より長い場合に、前記再生時刻(T)が前記時刻(T1)から所定時間経過するまでの間に前記時刻(T2)の押鍵情報に対応する運指位置への移行を完了する運指位置情報(Pm)を生成する
ことをコンピュータに実行させることを特徴としている。
In order to achieve the above object, the present invention is a program for drawing a fingering video for playing a musical instrument during music playback based on performance information including each musical tone of the music and the corresponding finger number and displaying the fingering on the screen. And
When generating the fingering drawing based on the fingering position information (Pm) corresponding to the playback time (T) at the time of the music playback,
A time (T2) that is the nearest key press time after the playback time (T) from the key release time when the key press changes to the key release at the playback time (T);
A time (T1) immediately before the key press information at the time (T2) is changed;
When the time from the time (T1) to the time (T2) is longer than the desired time, the time (T2) is not pressed until the predetermined time elapses from the time (T1). It is characterized by causing the computer to generate fingering position information (Pm) that completes the transition to the fingering position corresponding to the key information.
請求項2は、請求項1に記載の運指表示プログラムにおいて、
少なくとも前記再生時刻(T)以前の時刻および前記再生時刻(T)以降の時刻を含む単一の押鍵情報、および複数の異なった時刻におけるそれぞれの押鍵情報を合成した合成押鍵情報を元にして前記運指位置情報(Pm)を生成する
ことを特徴としている。
請求項3は、請求項2に記載の運指表示プログラムにおいて、
前記複数の異なった時刻とは、
前記時刻(T2)における押鍵情報に変化する直前の時刻(T1)と、
前記時刻(T2)における押鍵情報から変化した直後の時刻(T4)を含む
ことを特徴としている。
Based on a single key pressing information including at least a time before the reproduction time (T) and a time after the reproduction time (T), and synthesized key pressing information obtained by combining the key pressing information at a plurality of different times. Thus, the fingering position information (Pm) is generated.
The plurality of different times are
A time (T1) immediately before the key press information at the time (T2) is changed;
It includes a time (T4) immediately after the key press information at the time (T2) is changed.
請求項4は、請求項3に記載の運指表示プログラムにおいて、
前記合成押鍵情報とは、
前記時刻(T1)における押鍵情報(FK1)と前記時刻(T2)における押鍵情報(FK2)とを合成した押鍵情報(FK12)と、
前記時刻(T2)における押鍵情報(FK2)と前記時刻(T4)における押鍵情報(FK4)とを合成した押鍵情報(FK24)とを含む
ことを特徴としている。
The synthetic key press information is
Key press information (FK12) obtained by combining the key press information (FK1) at the time (T1) and the key press information (FK2) at the time (T2);
Key press information (FK24) obtained by combining key press information (FK2) at the time (T2) and key press information (FK4) at the time (T4) is included.
請求項5は、請求項1乃至4に記載の運指表示プログラムにおいて、
前記押鍵情報とは、当該時刻における各指の押鍵位置(鍵盤位置)と押鍵状態(押鍵か離鍵か)であることを特徴としている。
The key depression information is characterized by the key depression position (keyboard position) and the key depression state (key depression or key release) of each finger at the time.
請求項6は、請求項1乃至5に記載の運指表示プログラムにおいて、
前記運指位置情報(Pm)は、少なくとも手の甲の中心位置および各指の先端位置を含むことを特徴としている。
The fingering position information (Pm) includes at least the center position of the back of the hand and the tip position of each finger.
請求項7は、請求項1乃至6に記載の運指表示装置において、
前記運指位置情報(Pm)は、
前記再生時刻(T)以前の時刻Tsにおける運指の始点時の運指位置情報(Ps)と、
前記再生時刻(T)以降の時刻Teにおける運指の終点時の運指位置情報(Pe)と
を時刻Tsから時刻Teまでの時間経過に応じて補間して算出された運指位置情報
であることを特徴としている。
The fingering position information (Pm) is
Fingering position information (Ps) at the starting point of fingering at time Ts before the reproduction time (T);
Fingering position information calculated by interpolating fingering position information (Pe) at the end of fingering at time Te after the reproduction time (T) according to the passage of time from time Ts to time Te. It is characterized by that.
本発明によれば、再生時刻(T)において押鍵から離鍵に変化する離鍵時から再生時刻(T)以降の最寄りの押鍵時刻である時刻(T2)と、時刻(T2)における押鍵情報に変化する直前の時刻(T1)とを設定し、時刻(T1)から前記時刻(T2)に至る時間が所望時間より長いかを検知し、さらに時刻(T1)で離鍵してからの経過時間を判断することで、その時間内に次の押鍵時刻になるできるだけ前までに手の移動が完了するように運指画像を生成することができる。 According to the present invention, the time (T2) that is the nearest key pressing time after the reproduction time (T) from the key release time that changes from the key press to the key release at the reproduction time (T), and the key press at the time (T2). After setting the time (T1) immediately before changing to the key information, detecting whether the time from the time (T1) to the time (T2) is longer than the desired time, and then releasing the key at the time (T1) By determining the elapsed time, the fingering image can be generated so that the movement of the hand is completed as much as possible before the next key pressing time within that time.
以下、図面を参照しながら本発明の運指表示プログラムについて説明する。
運指表示装置は、楽譜データの表示及びそれに対応する運指表示を実行させるため、CPU、ROM、RAMやハードディスクなどを有する周知のタブレット型端末に対して、運指表示プログラムをインストールすることで構築される。タブレット型端末は、楽譜及び鍵盤を表示可能とする表示部と、タッチ操作を入力する入力部を有するタッチパネルと、音を再生するスピーカなどのサウンド出力装置を備えている。表示部では、鍵盤と共に手形による運指画像が表示され、ユーザは表示される運指画像を頼りに鍵盤楽器などで運指の練習をすることができる。
運指表示装置のCPUは、インストールされた所定の制御プログラム(運指表示プログラム)に従って各種処理を実行し、運指表示装置全体の制御を行う。
また、タブレット型端末にはMIDIインタフェースを介してMIDI機器を接続可能としている。演奏データや運指描画データは、タブレット型端末内のROMに格納したり、MIDIインタフェースを介して、又は記録媒体により外部から提供したりすることができる。
Hereinafter, the fingering display program of the present invention will be described with reference to the drawings.
The fingering display device installs a fingering display program on a known tablet terminal having a CPU, a ROM, a RAM, a hard disk, etc. in order to display the musical score data and the corresponding fingering display. Built. The tablet terminal includes a display unit that can display a score and a keyboard, a touch panel having an input unit for inputting a touch operation, and a sound output device such as a speaker that reproduces sound. On the display unit, a fingering image of a bill is displayed together with the keyboard, and the user can practice fingering with a keyboard instrument or the like using the displayed fingering image.
The CPU of the fingering display device executes various processes according to the installed predetermined control program (fingering display program), and controls the entire fingering display device.
Also, a MIDI device can be connected to the tablet terminal via a MIDI interface. The performance data and fingering drawing data can be stored in the ROM in the tablet terminal, or can be provided from the outside via a MIDI interface or by a recording medium.
運指表示装置の使用例としては、例えばディジタルピアノに接続し、装置に記録された楽譜データを表示するとともに該楽譜データに対応する演奏データをディジタルピアノ側へ送信することによりディジタルピアノの音源を鳴らしてデモ演奏をしたり、ユーザが運指表示装置に表示された楽譜を見ながらディジタルピアノを演奏し、その演奏結果を装置側に入力し、装置側に表示している楽譜データに対応するお手本演奏データと比較することで、ユーザによる演奏状態の確認(評価)を行うようにしたりする。 As an example of use of a fingering display device, for example, a digital piano is connected to a digital piano, and the musical score data recorded on the device is displayed and the performance data corresponding to the musical score data is transmitted to the digital piano side to thereby generate the sound source of the digital piano. Play a digital piano while playing a demo performance or watching the score displayed on the fingering display device, input the performance result to the device side, and correspond to the score data displayed on the device side The performance state is confirmed (evaluated) by the user by comparing with the model performance data.
タブレット型端末に対して本発明に従う処理を実行するために、例えば記録媒体に保存された運指表示プログラムをインストールして構築した運指表示装置について、図1の機能ブロック図を参照しながら説明する。
運指表示装置は、演奏を行うための楽音情報や各楽音に対応して運指表示を行うための指番号情報が記憶された楽音・指番号情報記憶部11と、楽音・指番号情報から押鍵情報を生成する押鍵情報生成部12と、押鍵情報を記憶する押鍵情報記憶部13と、押鍵情報から運指位置情報を生成する運指位置情報生成部14と、運指位置情報から運指画像を生成する運指画像生成部15と、を備えている。
また、運指情報に含まれる楽譜情報から楽譜画像を生成する楽譜画像生成部16を備え、運指画像生成部15及び楽譜画像生成部16で生成された画像は、画像情報記憶部17に記憶され、ディスプレイ等の表示装置18で表示される。
For example, a fingering display device constructed by installing a fingering display program stored in a recording medium in order to execute processing according to the present invention for a tablet terminal will be described with reference to the functional block diagram of FIG. To do.
The fingering display device includes a musical tone / finger number information storage unit 11 storing musical tone information for performing performance and finger number information for performing fingering display corresponding to each musical tone, and the musical tone / finger number information. A key pressing
In addition, a score
また、運指表示装置は、楽音・指番号情報記憶部11に記憶された楽音情報から楽曲を再生するための再生情報を再生する再生情報生成部21と、再生情報を記憶する再生情報記憶部22と、再生情報からサウンドを生成するサウンド生成部23と、アナログ信号に変換するサウンド再生部24と、増幅器及びスピーカ等のサウンド出力装置25を備えている。
In addition, the fingering display device includes a reproduction
楽音・指番号情報記憶部11には、楽譜を構成する楽音、及び、楽音に対応する指番号等の楽曲再生および運指描画に最低限必要な情報が記憶されている。 The musical tone / finger number information storage unit 11 stores at least information necessary for music reproduction and fingering drawing such as musical notes constituting a musical score and finger numbers corresponding to the musical sounds.
押鍵情報生成部12は、楽音・指番号情報記憶部11に記憶された情報に基づいて、楽曲の先頭からの末尾までの任意の時刻における押鍵情報を生成する。押鍵情報としては、対象時刻、および該時刻における押鍵中の各楽音に対する弾く手と指番号、音量、ノートナンバー、特殊な指使いフラグの有無の情報が作成される。特殊な指使いとは、演奏手法における指かえ、指くぐり、指ごえが含まれる。
押鍵情報生成部12で作成された押鍵情報は押鍵情報記憶部13に記憶される。
The key press
The key pressing information created by the key pressing
押鍵情報記憶部13に記憶された押鍵情報が特殊な指使いを含んでいる場合は、運指表示が特殊な指使いを必要とするものとして、押鍵情報生成部12で生成された押鍵情報から特殊指使い情報生成部31で特殊指使い情報を生成し、特殊指使い情報記憶部32に記憶する。運指表示が特殊な指使いを含むかどうかは、押鍵情報生成部12で生成された押鍵情報から判断される。
If the key pressing information stored in the key pressing
運指位置情報生成部14は、押鍵情報記憶部13に記憶された情報に基づいて、再生時刻(楽曲の先頭からの現在再生位置の時刻)Tにおける運指位置情報Pmを生成する。この運指位置情報Pmは、再生時刻T以前の時刻および再生時刻T以降の時刻を含む単一の押鍵情報、および複数の異なった時刻におけるそれぞれの押鍵情報(再生時刻T以前の時刻の運指位置情報Ps、及び、再生時刻T以降の時刻の運指位置情報Pe)を合成した合成押鍵情報を元に生成される。運指位置情報Ps及び運指位置情報Peを元にした運指位置情報Pmの具体的な生成手順については後述する。
The fingering position
運指位置情報Pmは、運指画像における手形及び指形状を描画するための情報となる。運指位置情報としては、手の甲の中心の位置データ、5本の各指の付け根の位置データ、手首の付け根2点(親指側、小指側)の位置データ、および各指の先端の位置データを含む。そして、これらの情報が与えられることにより運指画像が描画可能となる。また、鍵に対する手形の各部位置を定めるためには、前記位置データと鍵との位置関係を表すデータを与えればよい。
運指位置情報から運指画像を得る手法は、例えば、上述した特許文献1(特許第3521838号)や特許文献2(特許第4070100号)に示される公知の手法が用いられる。
The fingering position information Pm is information for drawing the handprint and finger shape in the fingering image. As fingering position information, the position data of the center of the back of the hand, the position data of the base of each of the five fingers, the position data of the two points of the base of the wrist (the thumb side and the little finger side), and the position data of the tip of each finger Including. Then, by giving these pieces of information, a fingering image can be drawn. In addition, in order to determine the position of each part of the bill with respect to the key, data representing the positional relationship between the position data and the key may be given.
As a technique for obtaining a fingering image from fingering position information, for example, a known technique shown in Patent Document 1 (Japanese Patent No. 3521838) or Patent Document 2 (Japanese Patent No. 4070100) described above is used.
運指画像生成部15は、運指位置情報生成部14で作成された情報に基づいて、再生時刻Tにおける運指画像を生成する。運指画像は、運指位置情報の応じた手の形状及び指位置の座標に関する情報から作成される。
The fingering
また、楽譜画像生成部16は、楽音・指番号情報記憶部11に記憶された情報に基づいて楽譜画像を生成する。
The musical score
運指画像生成部15で作成された運指画像、及び、楽譜画像生成部16で作成された楽譜画像は、画像情報として画像情報記憶部17に記憶される。
The fingering image created by the fingering
表示装置17では、画像情報記憶部17に記憶された画像情報が表示される。
すなわち、楽譜の楽音に対応する押鍵情報に基づき、楽曲再生時に楽器を演奏する運指動画が画面に運指表示される。具体的な画像表示としては、図2に示すように、上段に楽譜が表示され、その下段に鍵盤及び楽譜の各楽音を両手で演奏するための運指画像が表示される。楽譜部分には、演奏の進行により五線部分を移動して再生時刻Tに対応するバーBARが表示され、運指画像は再生時刻の押鍵状態を描画する。押鍵された鍵は、色が変化するようになっている(図2では斜線で表示)。
また、楽譜に代えて、ピアノロールのような演奏情報を表示してもよい。
In the
That is, based on the key pressing information corresponding to the musical tone of the score, a fingering moving image for playing the musical instrument at the time of music playback is displayed on the screen. As a specific image display, as shown in FIG. 2, a musical score is displayed on the upper stage, and a fingering image for playing each tone of the keyboard and the musical score with both hands is displayed on the lower stage. In the musical score part, a bar BAR corresponding to the reproduction time T is displayed by moving the staff part according to the progress of the performance, and the fingering image draws the key depression state at the reproduction time. The key that is pressed changes its color (indicated by hatching in FIG. 2).
Further, performance information such as a piano roll may be displayed instead of the score.
再生情報生成部21は、楽音・指番号情報記憶部11に記憶された情報に基づいて、楽音の再生情報を生成する。再生情報としては、各楽音の発音開始時刻と発音終了時刻、音量、ノートナンバーのMIDI情報が作成される。
再生情報生成部21で作成された再生情報は再生情報記憶部22に記憶される。
サウンド生成部23では、再生情報に応じアナログ信号から成るサウンド情報が生成される。
The reproduction
The reproduction information created by the reproduction
The
サウンド再生部24では、サウンド情報に応じたアナログ信号が再生される。また、押鍵情報生成部12の押鍵情報の生成では、楽曲の再生時刻に応じた押鍵情報が生成されるように、サウンド再生部24からの時間情報が入力される。
サウンド出力装置25では、サウンド情報となるアナログ信号が増幅器及びスピーカを介して出力されることで音が再生される。
In the
The
次に、上述した運指表示プログラムによる運指描画の作成の処理手順について、図3の鍵盤に対するタイムチャート、図4及び図5のフローチャートを参照しながら説明する。
運指表示装置では、格納された運指表示プログラムにより、押鍵情報を元に運指位置情報が生成され、運指位置情報を元に運指画像が生成されて表示部に描画される。
Next, a processing procedure for creating a fingering drawing by the above-described fingering display program will be described with reference to the time chart for the keyboard in FIG. 3 and the flowcharts in FIGS. 4 and 5.
In the fingering display device, the stored fingering display program generates fingering position information based on the key pressing information, and generates a fingering image based on the fingering position information and draws it on the display unit.
本発明の運指表示プログラムでは、手の甲の鍵盤幅方向の移動を少なくして、実際の鍵盤操作に近い運指動画を描画するように制御する。そのため、楽曲再生時の再生時刻Tに対して、鍵盤の押鍵時刻及び離鍵時刻が例えば図3のような場合に、再生時刻Tに対応する運指位置情報Pmを元に運指画像を生成するに際して、再生時刻T以前の時刻および再生時刻T以降の時刻を含む単一の押鍵情報、および複数の異なった時刻におけるそれぞれの押鍵情報を合成した合成押鍵情報を元にして前記運指位置情報Pmを生成する。
運指位置情報Pmは、再生時刻Tにおける運指位置情報(各指の根本及び先端座標、手の甲の中心座標)から構成されている。
In the fingering display program of the present invention, control is performed so that the movement of the back of the hand in the keyboard width direction is reduced and a fingering moving image close to the actual keyboard operation is drawn. Therefore, when the key pressing time and key releasing time of the keyboard are as shown in FIG. 3, for example, with respect to the reproduction time T at the time of music reproduction, the fingering image is based on the fingering position information Pm corresponding to the reproduction time T. When generating, based on the single key press information including the time before the playback time T and the time after the playback time T, and the combined key press information obtained by combining the key press information at a plurality of different times. Fingering position information Pm is generated.
The fingering position information Pm is composed of fingering position information (the root and tip coordinates of each finger, the center coordinates of the back of the hand) at the reproduction time T.
運指位置情報Pmは、例えば始点時刻における運指位置情報Psと、終点時刻における運指位置情報Peとから補間して算出される。再生時刻が離鍵時であった場合には、始点時刻は、図3における再生時刻以前の最寄りの離鍵直前の押鍵時刻T1となり、終点時刻は、再生時刻以降最寄りの押鍵時刻T2となる。逆に再生時刻が押鍵時であった場合には、始点時刻T1も終点時刻T2も再生時刻Tと同じであり、補間の必要はない。 The fingering position information Pm is calculated by interpolating from the fingering position information Ps at the start point time and the fingering position information Pe at the end point time, for example. When the reproduction time is a key release time, the start point time is the key press time T1 immediately before the nearest key release before the reproduction time in FIG. 3, and the end point time is the nearest key press time T2 after the reproduction time. Become. On the contrary, when the reproduction time is a key depression time, the start point time T1 and the end point time T2 are the same as the reproduction time T, and no interpolation is necessary.
次に、運指位置情報生成部14及び運指画像生成部15において、始点時刻における運指位置情報Psと、終点時刻における運指位置情報Peとを生成し、これらから運指位置情報Pmを得て運指画像を作成する手順について、図4の運指描画フローチャート及び図5の運指位置情報生成フローチャートを参照しながら説明する。
Next, the fingering position
運指画像の作成は、図3の時刻T(再生時刻:楽曲再生位置となる楽曲の先頭からの現在再生位置の時刻)を中心とする最寄りのT1,T2,T3,T4の各時刻における押鍵情報等を必要に応じて考慮して生成される。
T1は、T以前の最寄りの離鍵直前時刻に対応する時刻である。離鍵時刻より所定時間前の時刻でもよい。これは、離鍵時刻から次の押鍵時刻までの時間が短い場合、瞬時に次の運指表示に切り替わってしまうため、所定時間前の時刻とすることで運指表示が滑らかに移行するからである。
T2は、Tが離鍵時はT以降最寄りの押鍵時刻、Tが押鍵時はT以前最寄りの押鍵時刻である。
T3は、T2以降最寄りの離鍵時刻(T2押鍵の次に離鍵される時刻に対応する時刻、例えば離鍵時刻より所定時間前の時刻)である。
T4は、T2以降最寄りの押鍵時刻(T2押鍵の次に押鍵される時刻)である。
The fingering image is created by pressing the nearest T1, T2, T3, and T4 times centering on time T (reproduction time: time of the current reproduction position from the beginning of the music as the music reproduction position) in FIG. The key information is generated in consideration of necessity.
T1 is a time corresponding to the nearest time immediately before key release before T. It may be a predetermined time before the key release time. This is because if the time from the key release time to the next key press time is short, the next fingering display will be switched instantly, so the fingering display will transition smoothly by setting the time before the predetermined time. It is.
T2 is the nearest key press time after T when T is released, and the nearest key press time before T when T is pressed.
T3 is the nearest key release time after T2 (the time corresponding to the time when the key is released next to the T2 key press, for example, the time before the key release time is a predetermined time).
T4 is the nearest key pressing time after T2 (time pressed after T2 key pressing).
図3に示すような鍵(方形状部分)の押鍵及び離鍵状態の場合、T1,T2,T3,T4は、鍵のオン(押鍵)オフ(離鍵)に対して、矢印で示された位置(時刻)となる。
なお、離鍵時間に関しては、前述のように運指の移行をできるだけ滑らかにするため、実際の離鍵時より所定時間前の時間を対応させている。
In the case where the key (square portion) is pressed and released as shown in FIG. 3, T1, T2, T3, and T4 are indicated by arrows with respect to key on (key depression) off (key release). Position (time).
As for the key release time, as described above, in order to make the fingering transition as smooth as possible, the time before the actual key release is associated with a predetermined time.
運指表示装置には、鍵盤幅に対する相対長さ、手の甲からの相対位置である各指と手の甲の形状に関する情報FIが記憶されている(ステップ51)。
再生時刻(楽曲再生位置)Tを基準に、楽譜に対する押鍵情報及び離鍵情報から最寄りのT1、T2、T3、T4を走査して読み出す(ステップ52)。
The fingering display device stores information FI regarding the shape of each finger and the back of the hand, which is the relative length with respect to the keyboard width and the relative position from the back of the hand (step 51).
Based on the reproduction time (music reproduction position) T, the nearest T1, T2, T3, and T4 are scanned and read from the key press information and key release information for the musical score (step 52).
各T1、T2、T4に対応する単独押鍵情報FK1、FK2、FK4を生成する(ステップ53)。
FK1は、時刻T1における押鍵情報(各指の押鍵フラグ、鍵番号)である。
FK2は、時刻T2における押鍵情報(各指の押鍵フラグ、鍵番号)である。
FK4は、時刻T4における押鍵情報(各指の押鍵フラグ、鍵番号)である。
Single key press information FK1, FK2, and FK4 corresponding to T1, T2, and T4 are generated (step 53).
FK1 is key depression information (key depression flag and key number of each finger) at time T1.
FK2 is key pressing information (key pressing flag and key number of each finger) at time T2.
FK4 is key depression information (key depression flag and key number of each finger) at time T4.
FK1(時刻T1における押鍵情報)とFK2(時刻T2における押鍵情報)を合成した合成押鍵情報FK12、及び、FK2(時刻T2における押鍵情報)とFK4(時刻T4における押鍵情報)を合成した合成押鍵情報FK24をそれぞれ生成する(ステップ54)。 Composite key press information FK12 obtained by combining FK1 (key press information at time T1) and FK2 (key press information at time T2), and FK2 (key press information at time T2) and FK4 (key press information at time T4) The synthesized key pressing information FK24 synthesized is generated (step 54).
楽曲再生位置が最初の押鍵より前かどうか(T1が無効、且つ、T<T2であるかどうか)を判断する(ステップ55)。
楽曲再生位置が最初の押鍵より前である場合、FK1(時刻T1における押鍵情報)とFIから運指情報Ps(運指の始点座標の作成)とし(ステップ56)、楽曲再生位置が最初の押鍵より所定時間以上前かどうか(T1が無効、且つ、T<T2−Tminであるかどうか)を判断する(ステップ57)。Tminは、押鍵時より所定時間以上前であるかを判断する時間であり、本例では予め決められた「96」(四分音符の長さ分のデルタタイム)に設定されている。
楽曲再生位置が最初の押鍵より所定時間以上前である場合、FK1(時刻T1における押鍵情報)を運指情報Pe(運指の終点座標の作成)とする(ステップ58)。
It is determined whether or not the music playback position is before the first key depression (whether T1 is invalid and T <T2) (step 55).
When the music playback position is before the first key press, the fingering information Ps (creation of fingering start point coordinates) is determined from FK1 (key press information at time T1) and FI (step 56), and the music playback position is the first. It is determined whether or not a predetermined time or more before the key is pressed (whether T1 is invalid and T <T2-Tmin) (step 57). Tmin is a time for determining whether the time is a predetermined time or more before the key is pressed, and is set to “96” (delta time corresponding to the length of a quarter note) in this example.
If the music playback position is a predetermined time or more before the first key press, FK1 (key press information at time T1) is set as fingering information Pe (creation of fingering end point coordinates) (step 58).
運指情報Psは、運指の始点時刻の運指位置情報(各指の根本座標/先端座標および手の甲の中心座標)である。
運指情報Peは、運指の終点時刻の運指位置情報(各指の根本座標/先端座標および手の甲の中心座標)である。
The fingering information Ps is fingering position information (the root coordinates / tip coordinates of each finger and the center coordinates of the back of the hand) at the fingering start time.
The fingering information Pe is fingering position information (the root coordinates / tip coordinates of each finger and the center coordinates of the back of the hand) of the fingering end time.
ステップ57において、再生時刻Tが押鍵より所定時間以上前でない場合は、FK24で運指情報Peが生成可能どうかを判断する(ステップ59)。これは、FK2とFK4の各運指情報を合成可能かどうかで判断され、合成押鍵情報における各指の押鍵位置が予め定めた範囲以上である場合には、合成不可と判断する。そして、FK2とFK4の各運指情報の合成が可能な場合は、FK24の押鍵情報から運指情報Peを生成する(ステップ60)。合成不可能な場合は、FK2の押鍵情報から運指情報Peを生成する(ステップ61)。FK24は、押鍵情報FK2とFK4を合成した押鍵情報(各指の押鍵フラグ、鍵番号)となる。
In
運指始点における特殊指使い情報(指かえ、指くぐり、指ごえかどうかの各フラグ)であるHFs、及び、運指終点における特殊指使い情報(指かえ、指くぐり、指ごえかどうかの各フラグ)であるHFeをそれぞれ生成する(ステップ62)。 HFs, which are special finger usage information at the fingering start point (each flag of finger change, finger pass, finger touch), and special finger use information at the fingering end point (whether finger change, finger pass, finger touch) HFe which are the respective flags) are generated (step 62).
続いて、再生時刻Tは押鍵中かどうかを判定する(ステップ63)。
押鍵中の場合、運指始点の押鍵情報Psと運指終点の押鍵情報Peは同じ値となる。
再生時刻Tに押鍵中である場合、T3(T2以降最寄りの離鍵時刻)からT4(T2以降最寄りの押鍵時刻)までの時間が予め設定された閾値時間であるTminより短いかを判定する(ステップ64)。Tminは、FK2とFK4とを合成すべき許容時間の閾値であり、本例では予め決められた「96」に設定されている。
T3からT4までの時間が閾値時間Tminより短い場合、FK24(合成押鍵情報)とFIを元に運指位置情報Ps(運指位置情報Pe)が生成可能かを判定する(ステップ65)。
Subsequently, it is determined whether or not the reproduction time T is during key depression (step 63).
When the key is being pressed, the key pressing information Ps at the fingering start point and the key pressing information Pe at the fingering end point have the same value.
When the key is being pressed at the reproduction time T, it is determined whether the time from T3 (the closest key release time after T2) to T4 (the closest key press time after T2) is shorter than a preset threshold time Tmin. (Step 64). Tmin is a threshold value of an allowable time for combining FK2 and FK4, and is set to “96” determined in advance in this example.
If the time from T3 to T4 is shorter than the threshold time Tmin, it is determined whether fingering position information Ps (fingering position information Pe) can be generated based on FK24 (synthetic key pressing information) and FI (step 65).
ステップ65で生成可能と判定された場合、FK24(合成押鍵情報)とFIを元に運指情報Ps/Peを生成する(ステップ66)。
続いて、ステップ62で生成した特殊指使い情報HFs/HFeを使用し、始点時の運指情報(始点座標)Psと終点時の運指情報(終点座標)Peを補正する(ステップ67)。
If it is determined in
Subsequently, using the special finger usage information HFs / HFe generated in
ステップ64でT3からT4までの時間が閾値時間Tminより長い場合は、後の時刻における押鍵情報を考慮することが不要と判断し、FK2(時刻T2における押鍵情報)とFIから始点時の運指情報Ps(終点時の運指位置情報Pe)を生成する(ステップ68)。また、ステップ65で生成不可能と判定された場合も、合成される指の押鍵位置が離れていると判断し、FK2(時刻T2における押鍵情報)とFIから始点時の運指位置情報Ps(終点時の運指位置情報Pe)を生成する(ステップ68)。その後、特殊指使い情報HFs/HFeにより始点時の運指位置情報Psと終点時の運指位置情報Peの各座標を補正する(ステップ67)。
If the time from T3 to T4 is longer than the threshold time Tmin in
それぞれのステップで運指情報PsやPeを生成する場合、図1に示した運指表示装置の運指位置情報生成部14において運指位置情報を作成することになるが、この場合、図5のフローチャートに示される手順で行われる。
When the fingering information Ps or Pe is generated in each step, the fingering position
先ず、押鍵指座標を算出する(ステップ41)。
次に、押鍵中の各指のX座標の距離が最大指間隔の許容値以内かを判断する(ステップ42)。
First, key pressing finger coordinates are calculated (step 41).
Next, it is determined whether the X-coordinate distance of each finger during key pressing is within the maximum finger interval tolerance (step 42).
押鍵指の各指間隔が許容値以内の場合は、離鍵中の各指の座標を算出し(ステップ43)、手の甲の中心座標を算出し(ステップ44)、各押鍵指のY座標(鍵盤の奥行方向)が各押鍵指に対応する鍵の領域内であるかどうかを判断する(ステップ45)。 If the finger spacing between the key pressing fingers is within the allowable value, the coordinates of each finger being released are calculated (step 43), the center coordinate of the back of the hand is calculated (step 44), and the Y coordinate of each key pressing finger is calculated. It is determined whether or not (the depth direction of the keyboard) is within the key area corresponding to each key pressing finger (step 45).
各押鍵指のY座標が鍵領域外であれば、全座標をすべての押鍵指のY座標が鍵領域内に収まり尚且つ最大限鍵盤の手前方向になるような距離分だけ相対移動させ(ステップ46)、運指位置情報を確定する。
また、ステップ43において、指間隔が許容値を超える場合は、運指位置情報を得ることなくリターンする。
If the Y coordinate of each key is outside the key area, all the coordinates are moved relative to each other by a distance so that the Y coordinates of all the key fingers are within the key area and maximally toward the front of the keyboard. (Step 46), fingering position information is confirmed.
If the finger interval exceeds the allowable value in
図4のフローチャートに戻り、ステップ63で再生時刻Tが押鍵中でない場合、T4が無効、且つ、TがT2以上(次の押鍵がない)かどうかを判定する(ステップ70)。
T4(T2以降最寄りの押鍵時刻)が見つからない(次の押鍵がない)場合、FK1(時刻T1における押鍵情報)とFIから運指の始点座標Ps(=終点座標Pe)を生成し(ステップ71)、特殊指使い情報HFs/HFeにより始点座標Psと終点座標Peを補正する(ステップ67)。
Returning to the flowchart of FIG. 4, if the reproduction time T is not being depressed in
If T4 (the nearest key pressing time after T2) is not found (there is no next key pressing), the fingering start point coordinate Ps (= end point coordinate Pe) is generated from FK1 (key pressing information at time T1) and FI. (Step 71) The start point coordinates Ps and the end point coordinates Pe are corrected by the special finger usage information HFs / HFe (Step 67).
ステップ70でT4(T2以降最寄りの押鍵時刻)が見つかる(次の押鍵がある)場合は、T1 {T以前の最寄りの離鍵時刻に対応する時刻(離鍵時刻より所定時間前の時刻など)}からT2(Tが離鍵時はT以降最寄りの押鍵時刻、Tが押鍵時はT以前最寄りの押鍵時刻)までの時間が予め設定された閾値時間であるTminより短いかを判定する(ステップ72)。Tminは、FK1とFK2とを合成すべき許容時間の閾値であり、本例では予め決められた「96」に設定されている。 If T4 (the closest key press time after T2) is found in step 70 (there is the next key press), T1 {the time corresponding to the nearest key release time before T (the time before the key release time is a predetermined time) Etc.)} to T2 (when T is released, the nearest key pressing time after T, when T is pressed, the nearest key pressing time before T) is shorter than a preset threshold time Tmin Is determined (step 72). Tmin is a threshold value of an allowable time for combining FK1 and FK2, and is set to “96” determined in advance in this example.
T1からT2までの時間が閾値時間Tminより短い場合、FK12{押鍵情報FK1とFK2を合成した押鍵情報(各指の押鍵フラグ、鍵番号)}とFIを元に運指情報Ps(運指の始点時の運指位置情報)が生成可能か判定する(ステップ73)。
生成可能な場合は、FK12とFIから運指の始点時の運指位置情報Psを生成する(ステップ74)。
When the time from T1 to T2 is shorter than the threshold time Tmin, the fingering information Ps (based on the FK12 {key pressing information obtained by combining the key pressing information FK1 and FK2 (key pressing flag and key number)} and FI It is determined whether or not fingering position information at the starting point of the fingering can be generated (step 73).
If it can be generated, fingering position information Ps at the starting point of fingering is generated from FK12 and FI (step 74).
ステップ72でT1 からT2までの時間が予め設定された閾値時間であるTminより長い場合は、T1からT(再生時刻)までの時間が予め設定された閾値時間であるTminより短いかを判定する(ステップ75)。
すなわち、ステップ72でT1からT2に至る時間が所望時間より長い場合は、先行移動の運指画像を表示するようにし、ステップ75で「Y」の場合は運指画像が先行移動中、ステップ75で「N」の場合は先行移動が終了して、次の押鍵待ち状態となる。
ステップ73で運指情報Ps(始点時の運指位置情報)が生成不可能と判断された場合、又は、ステップ75でT1からTまでの時間が予め設定された閾値時間であるTminより長い場合、FK1(時刻T1における押鍵情報)とFIから運指の始点座標Psを生成する(ステップ76)。
If the time from T1 to T2 is longer than the preset threshold time Tmin in
That is, if the time from T1 to T2 in
If it is determined in
ステップ74やステップ76で運指の始点座標Psが生成された場合、T3{T2以降最寄りの離鍵時刻(T2押鍵の次に離鍵される時刻に対応する時刻)}からT4{T2以降最寄りの押鍵時刻(T2押鍵の次に押鍵される時刻)}までの時間が予め設定された閾値時間であるTminより短いかを判定する(ステップ77)。Tminは、FK2とFK4とを合成すべき許容時間の閾値であり、本例では予め決められた「96」に設定されている。
ステップ77でT3からT4までの時間が閾値時間Tminより短い場合、FK24{押鍵情報FK2とFK4を合成した押鍵情報(各指の押鍵フラグ、鍵番号)}とFIを元に運指情報Pe(終点時の運指位置情報)が生成可能か判定する(ステップ78)。
生成可能な場合は、FK24とFIから終点時の運指位置情報Peを生成し(ステップ79)、特殊指使い情報HFs/HFeにより始点時の運指位置情報Psと終点時の運指位置情報Peの各座標を補正する(ステップ67)。
When the starting point coordinate Ps of the fingering is generated in step 74 or
If the time from T3 to T4 is shorter than the threshold time Tmin in
If it can be generated, the fingering position information Pe at the end point is generated from the
ステップ77でT3からT4までの時間が閾値時間Tminより長い場合、又は、ステップ78で運指情報Peが生成不可能と判定された場合は、FK2とFIから終点時の運指位置情報Peを生成し(ステップ80)、特殊指使い情報HFs/HFeにより始点時の運指位置情報Psと終点時の運指位置情報Peの各座標を補正する(ステップ67)。
If the time from T3 to T4 is longer than the threshold time Tmin in
また、ステップ75でT1からTまでの時間が閾値時間Tminより長い場合は、FK24から運指位置情報Peが生成可能であるかを判断し(ステップ82)、可能である場合は、FK24から運指位置情報Ps及びPeを生成し(ステップ83)、可能でない場合は、FK2から運指位置情報Ps及びPeを生成する(ステップ84)。この場合、押鍵待ち状態となっているので、運指情報Psと運指情報Peは同じものとなる。
そして、特殊指使い情報HFs/HFeにより始点時の運指位置情報Psと終点時の運指位置情報Peの各座標を補正する(ステップ67)。
If the time from T1 to T is longer than the threshold time Tmin in
Then, the coordinates of the fingering position information Ps at the start point and the fingering position information Pe at the end point are corrected by the special finger usage information HFs / HFe (step 67).
ステップ67で運指位置情報Psの始点座標と運指位置情報Peの終点座標の補正が行われた後、始点座標Ps(Psx,Psy)と終点座標Pe(Pex,Pey)とから再生時刻Tにおける移動補間座標Pm(Pmx,Pmy)を生成する(ステップ90)。
運指位置情報Pmは、再生時刻Tにおける運指位置情報(各指の根本及び先端座標、手の甲の中心座標)から構成されている。
After the start point coordinates of the fingering position information Ps and the end point coordinates of the fingering position information Pe are corrected in
The fingering position information Pm is composed of fingering position information (the root and tip coordinates of each finger, the center coordinates of the back of the hand) at the reproduction time T.
ステップ57、ステップ59、ステップ60で終点座標Peが生成された場合は、複数の異なる時刻における押鍵情報を合成した合成押鍵情報を元にしていないため、指かえ、指くぐり、指ごえによる補正の必要がなく、始点座標Ps(Psx,Psy)と終点座標Pe(Pex,Pey)とから再生時刻Tにおける移動補間座標Pm(Pmx,Pmy)を生成する(ステップ90)。
When the end point coordinate Pe is generated in
移動補間座標PmのX座標(Pmx)及びY座標(Pmy)は、始点時刻Ts、終点時刻Te、現在時刻をTとした場合、次式(1)(2)で算出される。
Pmx = Psx +(Pex−Psx)×(T−Ts)÷(Te−Ts) (1)
Pmy = Psy +(Pey‐Psy)×(T‐Ts)÷(Te‐Ts) (2)
The X coordinate (Pmx) and Y coordinate (Pmy) of the movement interpolation coordinate Pm are calculated by the following equations (1) and (2), where T is the start point time Ts, end point time Te, and the current time is T.
Pmx = Psx + (Pex−Psx) × (T−Ts) ÷ (Te−Ts) (1)
Pmy = Psy + (Pey−Psy) × (T−Ts) ÷ (Te−Ts) (2)
次に、ステップ90で生成した移動補間座標Pmから描画情報を生成する(ステップ91)。
続いて、ステップ91で生成された描画情報により運指画像を描画し(ステップ92)、運指描画の処理を終了する。
Next, drawing information is generated from the movement interpolation coordinates Pm generated in step 90 (step 91).
Subsequently, a fingering image is drawn based on the drawing information generated in step 91 (step 92), and the fingering drawing process is terminated.
上述したフローチャートにおいては、ステップ56、ステップ64及びステップ77におけるFK2とFK4とを合成すべき許容時間の閾値となるTmin、ステップ72及びステップ75におけるFK1とFK2とを合成すべき許容時間の閾値となるTminについて、全て同じ時間間隔である「96」に設定したが、それぞれ独自の時間間隔に設定してもよい。Tminを実時間でなくデルタタイムとしているのは、テンポが速い場合には短い時間で、テンポが遅い場合には長い時間になるようにするためである。
In the above-described flowchart, Tmin which is a threshold value of the allowable time for combining FK2 and FK4 in
続いて、具体的な楽譜に対応して生成される運指画像の例について、図6〜9を参照して説明する。
図6は、楽曲「エリーゼのために」の第1小節から第7小節を示した楽譜であり、上段が右手演奏部分、下段が左手演奏部分となっている。図7は、図6の楽譜に対応した左手演奏部分のピアノロールを示している。
Next, an example of a fingering image generated corresponding to a specific score will be described with reference to FIGS.
FIG. 6 is a musical score showing the first bar to the seventh bar of the song “For Elise”, with the upper part being the right-hand performance part and the lower part being the left-hand performance part. FIG. 7 shows the piano roll of the left-hand performance part corresponding to the score of FIG.
図7のピアノロールでは、下から上に向けて小節が進行し、左右方向に鍵盤の一部となる鍵(ノートナンバー36〜59)が表示され、各鍵の上方領域に方形状に表示されている部分が押鍵状態となっていることを示している。したがって、方形状部分の下端位置が押鍵開始位置、上端位置が離鍵位置であり、下端位置に表示されている数字が押鍵時刻(例えば、最下段に表示されているノートナンバー45に対応する押鍵時刻192)であり、略中央位置に表示されている数字が離鍵時刻から所定時間前の時刻(例えば、ノートナンバー45の離鍵前時刻202)である。
In the piano roll of FIG. 7, the bars progress from the bottom to the top, the keys (note
図8及び図9は、図6の楽譜の第1小節から第7小節中の任意の再生時間Tにおける押鍵情報から生成する運指画像を示した対応表である。
図8では、再生時間Tが「時刻0」「時刻144」「時刻192」「時刻210」「時刻216」「時刻234」「時刻240」「時刻288」「時刻336」「時刻354」の各状態A〜Jの時に、上述した始点時刻の運指情報(運指位置情報)Psと終点時刻の運指情報(運指位置情報)Peとから運指画像が生成される。運指位置情報には、時刻(デルタタイム)、押鍵情報(押鍵する指に対するノートナンバー、特殊指使い情報)が含まれる。特殊指使いの情報は、フラグの有無により管理されている。
図9では、再生時間Tが「時刻360」「時刻378」「時刻384」「時刻432」「時刻480」「時刻498」「時刻504」「時刻522」「時刻528」「時刻588」「時刻768」の各状態K〜Uの時の運指画像が示されている。
8 and 9 are correspondence tables showing fingering images generated from key pressing information at an arbitrary reproduction time T in the first to seventh bars of the score of FIG.
In FIG. 8, the reproduction time T is “
In FIG. 9, the reproduction time T is “
図8の状態A(再生時刻T=0)から順次、各状態での運指画像の生成について説明する。
再生時刻Tが「0」である時は、図4のフローチャートのステップ52の走査において、T1が無効(T以前の最寄りの離鍵時刻に対応する時刻が存在しない)、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻192」、T3はT2以降の最寄りの離鍵時刻となる「時刻202」、T4はT2以降の最寄りの押鍵時刻となる「時刻216」となる。
再生時刻Tが「0」である場合、T1が無効、且つ、T<T2を満たすので、ステップ54が「Y」となり、始点時の運指位置情報PsがFK1(ステップ56)、ステップ57の条件を満たすことで、終点時の運指位置情報PeもFK1となる(ステップ58)。この場合のFK1は、T1が存在していないのでホームポジションの初期画像の押鍵情報となる。
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、運指位置情報Psと運指位置情報Peの合成であるが、ともに初期画像の押鍵情報であるので、運指位置情報Pmで描画される運指画像も初期画像となる。
The generation of fingering images in each state will be described sequentially from state A (reproduction time T = 0) in FIG.
When the reproduction time T is “0”, T1 is invalid (no time corresponding to the nearest key release time before T exists) in the scan of
If the reproduction time T is “0”, T1 is invalid and T <T2 is satisfied, so step 54 is “Y”, and the fingering position information Ps at the start point is FK1 (step 56). When the condition is satisfied, the fingering position information Pe at the end point is also FK1 (step 58). In this case, FK1 serves as key press information of the initial image of the home position because T1 does not exist.
The fingering position information Pm generated at
再生時刻Tが「144」である状態Bの時は、図4のフローチャートのステップ52の走査において、T1が無効、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻192」、T3が「時刻202」、T4が「時刻216」となる。
再生時刻Tが「144」である場合、T=0の時と同様に、T1が無効、且つ、T<T2を満たすので、ステップ55が「Y」となり、始点時の運指位置情報PsがFK1となる(ステップ56)。
In the state B in which the reproduction time T is “144”, T1 is invalid and T2 is the time at which the reproduction time T is released in the scanning of
When the reproduction time T is “144”, as in the case of T = 0, T1 is invalid and T <T2 is satisfied, so that
ステップ57においては、Tminが「96」に設定されているので、ステップ57の条件を満たさないので「N」となり、FK24でPeが生成可能か判断される(ステップ59)。この場合、小指でノートナンバー45、人差し指でノートナンバー52を同時に押鍵可能なことよりFK24でのPeが生成可能の判断となり、終点時の運指位置情報PeはFK24となる(ステップ60)。この場合のFK24は、小指でノートナンバー45を押鍵、人差し指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
In
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、初期画像の運指位置情報Psと、FK24の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、初期画像(ホームポジション)からノートナンバー45,52を押鍵する和音形の手形に移動するノートナンバー45押鍵前の移動中画像となる。
The fingering position information Pm at the reproduction time T generated in
再生時刻Tが「192」である状態Cの時は、図4のフローチャートのステップ52の走査において、T1が無効、T2は再生時刻Tが押鍵時となるのでT以前の最寄り押鍵時刻である「時刻192」、T3が「時刻202」、T4が「時刻216」となる。
When the reproduction time T is “192”, T1 is invalid and T2 is the key depression time in the scan of
再生時刻Tが「192」である場合、T=T2でありT<T2を満たさないので、ステップ55の判断が「N」となる。FK12及びFK24は、既にステップ54で生成されている。
時刻192では押鍵中であり(ステップ63)、T4−T3=14<Tmin=96となり(ステップ64)、FK24でPs及びPeが生成可能か判断され(ステップ65)、上述のように小指でノートナンバー45、人差し指でノートナンバー52を同時に押鍵可能なことよりFK24でのPs及びPeが生成可能となり、始点時の運指位置情報Ps及び終点時の運指位置情報PeはFK24となる(ステップ66)。この場合のFK24は、小指でノートナンバー45を押鍵、人差し指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK24の運指位置情報Ps(Pe)となり、運指位置情報Pmで描画される運指画像は、ノートナンバー45,52を押鍵可能な和音形の手形でノートナンバー45に押鍵中の押鍵表示が行われた運指画像となる。
When the reproduction time T is “192”, T = T2 and T <T2 is not satisfied, so that the determination at
At
The fingering position information Pm generated at
再生時刻Tが「210」である状態Dの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻202」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻216」、T3はT2以降の最寄りの離鍵時刻である「時刻226」、T4はT2以降の最寄りの押鍵時刻である「時刻216」となる。
In the state D in which the reproduction time T is “210”, T1 is “
再生時刻Tが「210」である場合、T1が存在するのでステップ55の判断が「N」となる。
時刻210では離鍵中であり(ステップ63)、ステップ70の条件{T4はT2に等しいが、T(時刻210)がT2(時刻216)以上でない}は満たさず、ステップ72の条件(T2−T1=14<Tmin=96)は満たすので、小指でノートナンバー45、人差し指でノートナンバー52を同時に押鍵可能なことよりFK12でPsが生成可能と判断され(ステップ73)、始点時の運指位置情報PsはFK12となる(ステップ74)。この場合のFK12は、小指でノートナンバー45を押鍵、人差し指でノートナンバー52を押鍵するFK1とFK2との合成押鍵情報となる。
また、人差し指でノートナンバー52、親指でノートナンバー57を同時に押鍵可能なことよりFK24によりPeが生成可能な判断となり、終点時の運指位置情報PeはFK24となる(ステップ79)。この場合のFK24は、人差し指でノートナンバー52を押鍵、親指でノートナンバー57を押鍵するFK2とFK4との合成押鍵情報となる。
If the reproduction time T is “210”, T1 exists, so the determination in
The key is being released at time 210 (step 63), and the condition of step 70 (T4 is equal to T2 but T (time 210) is not equal to or greater than T2 (time 216)) does not satisfy the condition of step 72 (T2- Since T1 = 14 <Tmin = 96) is satisfied, it is determined that Ps can be generated by FK12 because it is possible to simultaneously press
Further, since it is possible to simultaneously press the
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK12の運指位置情報Psと、FK24の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、ノートナンバー45,52を押鍵する和音形からノートナンバー52,57を押鍵する和音形の手形に移動する移動中画像(ノートナンバー45離鍵後、ノートナンバー52押鍵前)となる。
The fingering position information Pm at the reproduction time T generated in
再生時刻Tが「216」である状態Eの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻202」、T2は再生時刻Tが押鍵時となるのでT以前の最寄り押鍵時刻である「時刻216」、T3はT2以降の最寄りの離鍵時刻である「時刻226」、T4はT2以降の最寄りの押鍵時刻である「時刻240」となる。
In the state E in which the reproduction time T is “216”, T1 is “
再生時刻Tが「216」である場合、T2が「時刻202」であり、T<T2を満たさないので、ステップ55の判断が「N」となる。
時刻216では押鍵中であり(ステップ63)、ステップ64の条件(T4−T3=14<Tmin=96)も満たすので、人差し指でノートナンバー52、親指でノートナンバー57を同時に押鍵可能なことよりFK24でのPs及びPeが生成可能な判断(ステップ65)となり、始点時の運指位置情報Ps及び終点時の運指位置情報PeはFK24となる(ステップ66)。この場合のFK24は、人差し指でノートナンバー52を押鍵、親指でノートナンバー57を押鍵するFK2とFK4との合成押鍵情報となる。
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK24の運指位置情報Ps(Pe)となり、運指位置情報Pmで描画される運指画像は、ノートナンバー52,57を押鍵可能な和音形の手形でノートナンバー52に押鍵中の押鍵表示が行われた運指画像となる。
If the reproduction time T is “216”, T2 is “
At
The fingering position information Pm generated at
再生時刻Tが「234」である状態Fの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻226」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻240」、T3はT2以降の最寄りの離鍵時刻である「時刻263」、T4はT2以降の最寄りの押鍵時刻である「時刻336」となる。
再生時刻Tが「234」である場合、T1が存在するのでステップ54の判断が「N」となる。
時刻234では離鍵中であり(ステップ63)、ステップ70の条件を満たさず{T4はT2に等しいが、T(時刻234)がT2(時刻240)以上でない}、ステップ72の条件(T2−T1=14<Tmin=96)は満たすので、FK12でPsが生成可能か判断され(ステップ73)、始点時の運指位置情報PsはFK12となる(ステップ74)。この場合のFK12は、人差し指でノートナンバー45を押鍵、親指でノートナンバー57を押鍵するFK1とFK2との合成押鍵情報となる。
ステップ77の条件(T4−T3=73<Tmin=96)を満たし、T2の小指押鍵時のノートナンバーが「40」であり、T4の親指押鍵時のノートナンバー「57」との和音が同じ手形の形状では無理なので、ステップ78ではFK24によりPeが生成不可能と判断し、終点時の運指位置情報PeはFK2となる(ステップ80)。この場合のFK2は、親指でノートナンバー57を押鍵する押鍵情報となる。
In the state F in which the reproduction time T is “234”, T1 is “
When the reproduction time T is “234”, since T1 exists, the determination in
The key is being released at time 234 (step 63), and the condition of
The condition of step 77 (T4−T3 = 73 <Tmin = 96) is satisfied, the note number when T2 is pressed with the little finger is “40”, and the chord with note number “57” when T4 is pressed with the thumb is Since the same bill shape is impossible, it is determined in
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK12の運指位置情報Psと、FK2の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、ノートナンバー52,57を押鍵する和音形からノートナンバー57を押鍵する単音形の手形に移動する移動中画像(ノートナンバー52離鍵後、ノートナンバー57押鍵前)となる。
The fingering position information Pm at the reproduction time T generated in
再生時刻Tが「240」である状態Gの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻226」、T2は再生時刻Tが押鍵時となるのでT以前の最寄り押鍵時刻である「時刻240」、T3はT2以降の最寄りの離鍵時刻である「時刻263」、T4はT2以降の最寄りの押鍵時刻である「時刻336」となる。
In the state G in which the reproduction time T is “240”, T1 is “
再生時刻Tが「240」である場合、T2が「時刻240」であり、T<T2を満たさないので、ステップ55の判断が「N」となる。
時刻240では押鍵中であり(ステップ63)、ステップ64の条件(T4−T3=73<Tmin=96)を満たすので、FK24でPs及びPeが生成可能か判断される(ステップ65)。ステップ65では、T2の小指押鍵時のノートナンバーが「40」であり、T4の親指押鍵時のノートナンバー「57」との和音が無理なのでFK24によりPeが生成不可能と判断し、始点時の運指位置情報Ps及び終点時の運指位置情報PeはFK2となる(ステップ68)。この場合のFK2は、親指でノートナンバー57を押鍵する押鍵情報となる。
When the reproduction time T is “240”, T2 is “
At
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK2の運指位置情報Pe(Pe)となり、運指位置情報Pmで描画される運指画像は、ノートナンバー57を押鍵可能な単音形の手形でノートナンバー57に押鍵中の押鍵表示が行われた運指画像となる。
The fingering position information Pm generated at
再生時刻Tが「288」である状態Hの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻263」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻336」、T3はT2以降の最寄りの離鍵時刻である「時刻346」、T4はT2以降の最寄りの押鍵時刻である「時刻360」となる。
In the state H in which the reproduction time T is “288”, T1 is “
再生時刻Tが「288」である場合、T1が存在するのでステップ54の判断が「N」となる。
時刻288では離鍵中であり(ステップ63)、ステップ70の条件を満たさず(T4>T2)、ステップ72の条件(T2−T1=73<Tmin=96)は満たし、FK12でPsが生成可能か判断される(ステップ73)。
ステップ73では、合成される指の押鍵位置が離れているため生成不可能と判断し、始点時の運指位置情報PsはFK1となる(ステップ76)。この場合のFK1は、親指でノートナンバー57を押鍵する押鍵情報となる。
ステップ77の条件(T4−T3=14<Tmin=96)を満たし、小指でノートナンバー40、親指でノートナンバー52を同時に押鍵可能なことからFK24でPs及びPeが生成可能と判断され(ステップ78)、終点時の運指位置情報PeはFK24となる(ステップ79)。この場合のFK24は、小指でノートナンバー40を押鍵、親指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
If the reproduction time T is “288”, T1 exists, so the determination in
At
In
Since the condition of step 77 (T4-T3 = 14 <Tmin = 96) is satisfied and the
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK1の運指位置情報Psと、FK24の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、ノートナンバー57を押鍵する単音形からノートナンバー40とノートナンバー52を押鍵する和音形の手形に移動する移動中画像(ノートナンバー57離鍵後、ノートナンバー40押鍵前)となる。
The fingering position information Pm generated at
再生時刻Tが「336」である状態Iの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻263」、T2は再生時刻Tが押鍵時となるのでT以前の最寄り押鍵時刻である「時刻336」、T3はT2以降の最寄りの離鍵時刻である「時刻346」、T4はT2以降の最寄りの押鍵時刻である「時刻360」となる。
In the state I in which the reproduction time T is “336”, T1 is “
再生時刻Tが「336」である場合、T2が「時刻263」であり、T<T2を満たさないので、ステップ55の判断が「N」となる。
時刻336では押鍵中であり(ステップ63)、ステップ64の条件(T4−T3=14<Tmin=96)を満たすので、FK24でPs及びPeが生成可能と判断され(ステップ65)、始点時の運指位置情報Ps及び終点時の運指位置情報PeはFK24となる(ステップ66)。この場合のFK24は、小指でノートナンバー40を押鍵、人差し指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK24の運指位置情報Ps(Pe)となり、運指位置情報Pmで描画される運指画像は、ノートナンバー40,52を押鍵可能な和音形の手形でノートナンバー40に押鍵中の押鍵表示が行われた運指画像となる。
If the reproduction time T is “336”, T2 is “
At
The fingering position information Pm generated at
再生時刻Tが「354」である状態Jの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻346」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻360」、T3はT2以降の最寄りの離鍵時刻である「時刻370」、T4はT2以降の最寄りの押鍵時刻である「時刻384」となる。
再生時刻Tが「354」である場合、T1が存在するのでステップ54の判断が「N」となる。
In the state J in which the reproduction time T is “354”, T1 is “
When the reproduction time T is “354”, since T1 exists, the determination in
時刻354では離鍵中であり(ステップ63)、ステップ70の条件は満たさず(T4>T2)、ステップ72の条件を満たし(T2−T1=14<Tmin=96)、FK12でPsが生成可能と判断され(ステップ73)、始点時の運指位置情報PsはFK12となる(ステップ74)。この場合のFK12は、小指でノートナンバー40を押鍵、親指でノートナンバー52を押鍵するFK1とFK2との合成押鍵情報となる。
ステップ77の条件を満たし(T4−T3=10<Tmin=96)、FK24によりPeが生成可能なので、終点時の運指位置情報PeはFK24となる(ステップ79)。この場合のFK24は、親指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
The key is being released at time 354 (step 63), the condition of
Since the condition of
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK12の運指位置情報Psと、FK24の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、ノートナンバー40,52を押鍵する和音形からノートナンバー52のみを押鍵する単音形の手形に移動する移動中画像(ノートナンバー40離鍵後、ノートナンバー52押鍵前)となる。
The fingering position information Pm at the reproduction time T generated in
各状態K〜Uは、状態A〜Jと同様に、図4のフローチャートの処理により得られた運指画像を示すものであり、各状態に対応する運指画像は次のような表示となる。
状態K ノートナンバー52を押鍵中 ノートナンバー52単音形
状態L ノートナンバー52を離鍵後、ノートナンバー56押鍵前の移動中
ノートナンバー52単音形からノートナンバー56単音形(指ごえ)に変化
状態M ノートナンバー56を押鍵中 ノートナンバー56単音形(指ごえ)
状態N ノートナンバー56を離鍵後、ノートナンバー45押鍵前の移動中
ノートナンバー56単音形からノートナンバー45、52和音形に変化
状態O ノートナンバー45を押鍵中 ノートナンバー45、52和音形
状態P ノートナンバー45を離鍵後、ノートナンバー52押鍵前の移動中
ノートナンバー45、52和音形からノートナンバー52、57和音形に変化
状態Q ノートナンバー52を押鍵中 ノートナンバー52、57和音形
状態R ノートナンバー52を離鍵後、ノートナンバー57押鍵前の移動中
ノートナンバー52、57和音形からノートナンバー57単音形に変化
状態S ノートナンバー57を押鍵中 ノートナンバー57単音形
状態T ノートナンバー57を離鍵後、ノートナンバー45押鍵前の移動中
ノートナンバー57単音形からノートナンバー45、52和音形に変化
状態U ノートナンバー45を押鍵中 ノートナンバー45、52和音形
Each state K to U indicates a fingering image obtained by the processing of the flowchart of FIG. 4 as in the states A to J, and the fingering image corresponding to each state is displayed as follows. .
State
Change from
State N Moving after
Change from
Note
Note
Change from
状態L及び状態Mでは、特殊指使いである「指ごえ」の指使いが分かるように、運指画像が表示される。特殊指使いの有無は、「指かえ」「指くぐり」「指ごえ」のいずれの操作を含むのかをフラグを立てることで判断する。
また、特殊指使いの画像生成については、図4のステップ62の処理において、楽譜情報から押鍵情報を生成し、ステップ67の押鍵情報の補正処理において取り込まれ、運指画像が表示される。
In the state L and the state M, a fingering image is displayed so that the finger usage of “finger grip” which is a special finger usage can be understood. The presence / absence of special finger use is determined by setting a flag to indicate which operation is “finger change”, “finger pass”, or “finger touch”.
As for the image generation of the special finger, key pressing information is generated from the score information in the process of
本発明の運指表示プログラムでは、運指動画を生成する場合に、離鍵してから次に押鍵するまでの時間が長い場合に、離鍵してから短い経過時間内に運指画像を先行移動させて、運指画像に不自然な動きをさせないことを特徴とするものである。
図6の楽譜の場合、左手の演奏において、第5小節に16分休符及び8分休符が、第6小節に全休符が存在しているので、この間の左手は押鍵を行わない。この部分の楽譜に対応する図7のピアノロールは、「時刻588」の状態Tとなる。
In the fingering display program of the present invention, when a fingering video is generated, if the time from the release of the key to the next key press is long, the fingering image is displayed within a short elapsed time after the key is released. It is characterized by not moving the fingering image unnaturally by moving in advance.
In the case of the musical score of FIG. 6, in the left hand performance, there are 16th and 8th rests in the fifth bar and all rests in the sixth bar. The piano roll of FIG. 7 corresponding to the score of this part is in a state T of “
再生時刻Tが「588」である状態Tの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻551」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻768」、T3はT2以降の最寄りの離鍵時刻である「時刻778」、T4はT2以降の最寄りの押鍵時刻である時刻「792」となる。
再生時刻Tが「588」である場合、T1が存在するのでステップ55 の判断が「N」となる。
In the state T in which the reproduction time T is “588”, T1 is “
If the reproduction time T is “588”, T1 exists, so the determination in
先行移動を行うかどうかの判断は、図4のフローチャートのおけるステップ70、ステップ72及びステップ75の処理を順次行うことで判断される。すなわち、ステップ70では最後の押鍵以降であるかどうか、ステップ72では次の押鍵までが所定時間より短いかどうか、ステップ75で先行移動を行うかどうかを判断する。
The determination as to whether or not to perform the advance movement is made by sequentially performing the processes of
例えば、時刻588の場合は離鍵中であり(ステップ63)、ステップ70の条件を満たさず(T=588はT2=768以上でない)、ステップ72の条件を満たさない(T2−T1=768−588=180はTmin96より大きい)。
時刻588の場合、ステップ75の条件を満たす(T−T1=588−551=37はTmin96より小さい)ので、ここで先行移動の対象となる。T1からT2までの時間がTminより長いためT1時とT2時の押鍵を合成できないので始点時の運指位置情報PsはFK12ではなくFK1となる(ステップ76)。この場合のFK1は、親指でノートナンバー57を押鍵するFK1押鍵情報となる。
For example, at
At
続いてステップ77の条件を判断し、T4−T3=792−778=14はTmin96より小さいので「Y」となり、FK24によりPeが生成可能なので(ステップ78)、終点時の運指位置情報PeはFK24となる(ステップ79)。この場合のFK24は、人差し指でノートナンバー52を押鍵し小指でノートナンバー45を押鍵するFK2とFK4との合成押鍵情報となる。
Subsequently, the condition of
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、FK1の運指位置情報Psと、FK24の運指位置情報Peとの合成となり、運指位置情報Pmで描画される運指画像は、ノートナンバー57単音形からノートナンバー45、52和音形の手形に移動する移動中画像(ノートナンバー57を離鍵後、ノートナンバー45押鍵前の移動中)となる。
先行移動終点時刻は、始点時刻551(T1)からTmin(96)後の時刻647となる。
The fingering position information Pm generated at
The preceding movement end time is time 647 after Tmin (96) from start time 551 (T1).
次に、先行移動による運指画像の描画について、図2、図10及び図11を参照して説明する。 Next, drawing of the fingering image by the advance movement will be described with reference to FIGS. 2, 10, and 11.
図2の楽譜は、図6の楽譜の第5〜6小節を拡大したものであり、楽譜におけるBARの位置から、左手による第5小節の最後の楽音が親指によって「ラ」の音が押鍵された押鍵画像が表示されている。この後、演奏が進行しても、左手による押鍵は第7小節の「ラ」の音まで休止することとなる。 The score of FIG. 2 is an enlarged version of the fifth to sixth measures of the score of FIG. 6. From the position of the BAR in the score, the last musical tone of the fifth measure by the left hand is pressed by the thumb with the sound of “La”. The key press image displayed is displayed. After this, even if the performance progresses, the left-hand key depression pauses until the “Ra” sound in the seventh measure.
このような場合、従来の押鍵画像の描写であると、図10に示すように、押鍵画像はBARの進行に応じて左側に移動し、第7小節が始まる直後に小指により「ラ」の音を押鍵する位置まで1小節半の時間をかけてゆっくりと移動するようになる。 In such a case, as shown in FIG. 10, the conventional key press image is depicted as shown in FIG. 10. The key press image moves to the left as the BAR progresses. It will slowly move to the position where the sound of the key is pressed over a period of one and a half bars.
これに対して上述した運指描画の手法によれば、押鍵画像を生成するに際して、再生時刻Tにおいて押鍵から離鍵に変化する離鍵時から再生時刻T以降の最寄りの押鍵時刻である時刻T2と、時刻T2における押鍵情報に変化する直前の時刻T1とを求め、時刻T1から時刻T2に至る時間が所望時間より長い場合には、さらに時刻T1から再生時刻Tまでの経過時間が短いかどうかを判断し、短い場合には時刻T2における押鍵情報を合成した合成押鍵情報を元に終点時刻をT1+Tminとして終点運指位置情報(Pe)を求め、運指位置情報(Pm)を生成する。 On the other hand, according to the fingering drawing method described above, when the key-press image is generated, the nearest key press time after the playback time T from the key release time when the key press is changed to the key release at the playback time T. When a certain time T2 and a time T1 immediately before changing to the key press information at the time T2 are obtained and the time from the time T1 to the time T2 is longer than the desired time, an elapsed time from the time T1 to the reproduction time T is further obtained. Is determined to be short, and if it is short, the end point fingering position information (Pe) is obtained with the end point time as T1 + Tmin based on the combined key press information obtained by combining the key press information at time T2, and the fingering position information (Pm ) Is generated.
そのため、図11(a)に示すように、BARが第5小節を移動中に、既に左手の押鍵画像が第7小節の「ラ」を押鍵できる位置まで先行移動させることができる。実際にBARが第7小節の第1の楽音を弾く時には、図11(b)に示すような押鍵画像となっている。すなわち、図11(a)の再生時間Tの時点で、図11(b)で押鍵対象となる鍵の位置まで短い時間で予め移動させることが可能となる。 Therefore, as shown in FIG. 11 (a), while the BAR is moving in the fifth bar, it is possible to move the key advance image to a position where the left hand key pressing image can already press the seventh bar “L”. When the BAR actually plays the first musical tone of the seventh measure, the key depression image is as shown in FIG. That is, at the time of reproduction time T in FIG. 11A, it is possible to move in advance in a short time to the position of the key to be pressed in FIG. 11B.
上述した押鍵画像の描画手法(運指表示プログラム)によれば、楽曲の各楽音とそれに対応する指番号を含む演奏情報に基づき楽曲再生時に楽器を演奏する運指動画を描画して画面に運指表示する場合に、楽曲再生時の再生時刻Tに対応する運指位置情報Pmを元に運指描画を生成するに際して、再生時刻T以前の時刻の運指位置情報Psと、再生時刻T以降の時刻の運指位置情報Peとを合成した合成押鍵情報を元にして行う。 According to the above-described drawing method of the key-press image (fingering display program), a fingering video for playing a musical instrument during music playback is drawn on the screen based on performance information including each musical tone of the music and the corresponding finger number. When the fingering display is performed, when the fingering drawing is generated based on the fingering position information Pm corresponding to the reproduction time T when the music is reproduced, the fingering position information Ps of the time before the reproduction time T and the reproduction time T This is performed based on the combined key pressing information obtained by combining the fingering position information Pe at the subsequent time.
そして、離鍵してから次に押鍵するまでの時間を判断することで、その時間が長い場合であっても、次の押鍵時刻になるできるだけ前までに手の移動が完了するように運指画像を生成することができる。これにより、すばやく次の押鍵のための手や指の準備を行うように練習者に指示することができる。 By determining the time from when the key is released until the next key is pressed, even if the time is long, the movement of the hand is completed as soon as possible until the next key pressing time. A fingering image can be generated. As a result, it is possible to instruct the practitioner to quickly prepare the hand or finger for the next key depression.
11…楽音・指番号情報記憶部
12…押鍵情報生成部
13…押鍵情報記憶部
14…運指位置情報生成部
15…運指画像生成部
16…楽譜画像生成部
17…画像情報記憶部
18…表示装置
21…再生情報生成部
22…再生情報記憶部
23…サウンド生成部
24…サウンド再生部
25…サウンド出力装置
T1…再生時刻T以前の最寄りの離鍵直前時刻に対応する時刻(離鍵時刻より所定時間前の時刻など)
T2…再生時刻Tが離鍵時はT以降最寄りの押鍵時刻、再生時刻Tが押鍵時はT以前最寄りの押鍵時刻
T3…T2以降最寄りの離鍵時刻(T2押鍵の次に離鍵される時刻に対応する時刻)
T4…T2以降最寄りの押鍵時刻(T2押鍵の次に押鍵される時刻)
FK1…時刻T1における押鍵情報(各指の押鍵フラグ、鍵番号)
FK2…時刻T2における押鍵情報(各指の押鍵フラグ、鍵番号)
FK4…時刻T4における押鍵情報(各指の押鍵フラグ、鍵番号)
FK12…押鍵情報FK1と押鍵情報FK2を合成した押鍵情報(各指の押鍵フラグ、鍵番号)
FK24…押鍵情報FK2と押鍵情報FK4を合成した押鍵情報(各指の押鍵フラグ、鍵番号)
Ps…運指の始点時の運指位置情報(各指の根本座標及び先端座標、手の甲の中心座標)
Pe…運指の終点時の運指位置情報(各指の根本座標及び先端座標、手の甲の中心座標)
Pm…再生時刻Tにおける運指位置情報(各指の根本座標及び先端座標、手の甲の中心座標)
DESCRIPTION OF SYMBOLS 11 ... Musical tone / finger number
T2: When the playback time T is released, the nearest key press time after T. When the playback time T is pressed, the nearest key press time before T. T3: The nearest key release time after T2 (released next to the T2 key press) Time corresponding to the keyed time)
T4 ... The nearest key pressing time after T2 (the time when the key is pressed next to T2 key pressing)
FK1 ... Key press information at time T1 (key press flag and key number of each finger)
FK2 ... Key pressing information at time T2 (key pressing flag and key number of each finger)
FK4: Key press information at time T4 (key press flag and key number of each finger)
FK12: Key pressing information (key pressing flag and key number of each finger) obtained by combining the key pressing information FK1 and the key pressing information FK2.
FK24: Key pressing information obtained by combining key pressing information FK2 and key pressing information FK4 (key pressing flag and key number for each finger)
Ps: Fingering position information at the starting point of fingering (basic coordinates and tip coordinates of each finger, center coordinates of back of hand)
Pe: Fingering position information at the end of fingering (basic coordinates and tip coordinates of each finger, center coordinates of back of hand)
Pm: fingering position information at reproduction time T (basic coordinates and tip coordinates of each finger, center coordinates of back of hand)
表示装置18では、画像情報記憶部17に記憶された画像情報が表示される。
すなわち、楽譜の楽音に対応する押鍵情報に基づき、楽曲再生時に楽器を演奏する運指動画が画面に運指表示される。具体的な画像表示としては、図2に示すように、上段に楽譜が表示され、その下段に鍵盤及び楽譜の各楽音を両手で演奏するための運指画像が表示される。楽譜部分には、演奏の進行により五線部分を移動して再生時刻Tに対応するバーBARが表示され、運指画像は再生時刻の押鍵状態を描画する。押鍵された鍵は、色が変化するようになっている(図2では斜線で表示)。
また、楽譜に代えて、ピアノロールのような演奏情報を表示してもよい。
In the
That is, based on the key pressing information corresponding to the musical tone of the score, a fingering moving image for playing the musical instrument at the time of music playback is displayed on the screen. As a specific image display, as shown in FIG. 2, a musical score is displayed on the upper stage, and a fingering image for playing each tone of the keyboard and the musical score with both hands is displayed on the lower stage. In the musical score part, a bar BAR corresponding to the reproduction time T is displayed by moving the staff part according to the progress of the performance, and the fingering image draws the key depression state at the reproduction time. The key that is pressed changes its color (indicated by hatching in FIG. 2).
Further, performance information such as a piano roll may be displayed instead of the score.
図8の状態A(再生時刻T=0)から順次、各状態での運指画像の生成について説明する。
再生時刻Tが「0」である時は、図4のフローチャートのステップ52の走査において、T1が無効(T以前の最寄りの離鍵時刻に対応する時刻が存在しない)、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻192」、T3はT2以降の最寄りの離鍵時刻となる「時刻202」、T4はT2以降の最寄りの押鍵時刻となる「時刻216」となる。
再生時刻Tが「0」である場合、T1が無効、且つ、T<T2を満たすので、ステップ55が「Y」となり、始点時の運指位置情報PsがFK1(ステップ56)、ステップ57の条件を満たすことで、終点時の運指位置情報PeもFK1となる(ステップ58)。この場合のFK1は、T1が存在していないのでホームポジションの初期画像の押鍵情報となる。
ステップ90で生成される再生時刻Tにおける運指位置情報Pmは、運指位置情報Psと運指位置情報Peの合成であるが、ともに初期画像の押鍵情報であるので、運指位置情報Pmで描画される運指画像も初期画像となる。
The generation of fingering images in each state will be described sequentially from state A (reproduction time T = 0) in FIG.
When the reproduction time T is “0”, T1 is invalid (no time corresponding to the nearest key release time before T exists) in the scan of
If the reproduction time T is “0”, T1 is invalid and T <T2 is satisfied, so step 55 is “Y”, and the fingering position information Ps at the start point is FK1 (step 56). When the condition is satisfied, the fingering position information Pe at the end point is also FK1 (step 58). In this case, FK1 serves as key press information of the initial image of the home position because T1 does not exist.
The fingering position information Pm generated at
再生時刻Tが「234」である状態Fの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻226」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻240」、T3はT2以降の最寄りの離鍵時刻である「時刻263」、T4はT2以降の最寄りの押鍵時刻である「時刻336」となる。
再生時刻Tが「234」である場合、T1が存在するのでステップ55の判断が「N」となる。
時刻234では離鍵中であり(ステップ63)、ステップ70の条件を満たさず{T4はT2に等しいが、T(時刻234)がT2(時刻240)以上でない}、ステップ72の条件(T2−T1=14<Tmin=96)は満たすので、FK12でPsが生成可能か判断され(ステップ73)、始点時の運指位置情報PsはFK12となる(ステップ74)。この場合のFK12は、人差し指でノートナンバー45を押鍵、親指でノートナンバー57を押鍵するFK1とFK2との合成押鍵情報となる。
ステップ77の条件(T4−T3=73<Tmin=96)を満たし、T2の小指押鍵時のノートナンバーが「40」であり、T4の親指押鍵時のノートナンバー「57」との和音が同じ手形の形状では無理なので、ステップ78ではFK24によりPeが生成不可能と判断し、終点時の運指位置情報PeはFK2となる(ステップ80)。この場合のFK2は、親指でノートナンバー57を押鍵する押鍵情報となる。
In the state F in which the reproduction time T is “234”, T1 is “
If the reproduction time T is "234", the determination in
The key is being released at time 234 (step 63), and the condition of
The condition of step 77 (T4−T3 = 73 <Tmin = 96) is satisfied, the note number when T2 is pressed with the little finger is “40”, and the chord with note number “57” when T4 is pressed with the thumb is Since the same bill shape is impossible, it is determined in
再生時刻Tが「288」である場合、T1が存在するのでステップ55の判断が「N」となる。
時刻288では離鍵中であり(ステップ63)、ステップ70の条件を満たさず(T4>T2)、ステップ72の条件(T2−T1=73<Tmin=96)は満たし、FK12でPsが生成可能か判断される(ステップ73)。
ステップ73では、合成される指の押鍵位置が離れているため生成不可能と判断し、始点時の運指位置情報PsはFK1となる(ステップ76)。この場合のFK1は、親指でノートナンバー57を押鍵する押鍵情報となる。
ステップ77の条件(T4−T3=14<Tmin=96)を満たし、小指でノートナンバー40、親指でノートナンバー52を同時に押鍵可能なことからFK24でPs及びPeが生成可能と判断され(ステップ78)、終点時の運指位置情報PeはFK24となる(ステップ79)。この場合のFK24は、小指でノートナンバー40を押鍵、親指でノートナンバー52を押鍵するFK2とFK4との合成押鍵情報となる。
If the reproduction time T is "288", the determination in
At
In
Since the condition of step 77 (T4-T3 = 14 <Tmin = 96) is satisfied and the
再生時刻Tが「354」である状態Jの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻346」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻360」、T3はT2以降の最寄りの離鍵時刻である「時刻370」、T4はT2以降の最寄りの押鍵時刻である「時刻384」となる。
再生時刻Tが「354」である場合、T1が存在するのでステップ55の判断が「N」となる。
In the state J in which the reproduction time T is “354”, T1 is “
When the reproduction time T is “354”, since T1 exists, the determination in
再生時刻Tが「588」である状態Tの時は、図4のフローチャートのステップ52の走査において、T1がT以前の最寄りの離鍵時刻に対応する「時刻551」、T2は再生時刻Tが離鍵時となるのでT以降の最寄り押鍵時刻である「時刻768」、T3はT2以降の最寄りの離鍵時刻である「時刻778」、T4はT2以降の最寄りの押鍵時刻である時刻「792」となる。
再生時刻Tが「588」である場合、T1が存在するのでステップ55の判断が「N」となる。
In the state T in which the reproduction time T is “588”, T1 is “
When the reproduction time T is “588”, since T1 exists , the determination in
Claims (7)
前記楽曲再生時の再生時刻(T)に対応する運指位置情報(Pm)を元に運指描画を生成するに際して、
前記再生時刻(T)において押鍵から離鍵に変化する離鍵時から再生時刻(T)以降の最寄りの押鍵時刻である時刻(T2)と、
前記時刻(T2)における押鍵情報に変化する直前の時刻(T1)と、
前記時刻(T1)から前記時刻(T2)に至る時間が所望時間より長い場合に、前記再生時刻(T)が前記時刻(T1)から所定時間経過するまでの間に前記時刻(T2)の押鍵情報に対応する運指位置への移行を完了する運指位置情報(Pm)を生成する
ことをコンピュータに実行させることを特徴とする運指表示プログラム。 A program that draws a fingering video for playing a musical instrument during music playback based on performance information including each musical tone and the corresponding finger number, and displays the fingering on the screen.
When generating the fingering drawing based on the fingering position information (Pm) corresponding to the playback time (T) at the time of the music playback,
A time (T2) that is the nearest key press time after the playback time (T) from the key release time when the key press changes to the key release at the playback time (T);
A time (T1) immediately before the key press information at the time (T2) is changed;
When the time from the time (T1) to the time (T2) is longer than the desired time, the time (T2) is not pressed until the predetermined time elapses from the time (T1). A fingering display program for causing a computer to generate fingering position information (Pm) that completes a transition to a fingering position corresponding to key information.
ことを特徴とする請求項1に記載の運指表示プログラム。 Based on a single key pressing information including at least a time before the reproduction time (T) and a time after the reproduction time (T), and synthesized key pressing information obtained by combining the key pressing information at a plurality of different times. The fingering display program according to claim 1, wherein the fingering position information (Pm) is generated.
前記時刻(T2)における押鍵情報に変化する直前の時刻(T1)と、
前記時刻(T2)における押鍵情報から変化した直後の時刻(T4)を含む
ことを特徴とする請求項2に記載の運指表示プログラム。 The plurality of different times are
A time (T1) immediately before the key press information at the time (T2) is changed;
The fingering display program according to claim 2, comprising a time (T4) immediately after the key pressing information at the time (T2) is changed.
前記時刻(T1)における押鍵情報(FK1)と前記時刻(T2)における押鍵情報(FK2)とを合成した押鍵情報(FK12)と、
前記時刻(T2)における押鍵情報(FK2)と前記時刻(T4)における押鍵情報(FK4)とを合成した押鍵情報(FK24)とを含む
ことを特徴とする請求項3に記載の運指表示プログラム。 The synthetic key press information is
Key press information (FK12) obtained by combining the key press information (FK1) at the time (T1) and the key press information (FK2) at the time (T2);
The key press information (FK24) obtained by synthesizing the key press information (FK2) at the time (T2) and the key press information (FK4) at the time (T4) is included. Finger display program.
前記再生時刻(T)以前の時刻(Ts)における運指の始点時の運指位置情報(Ps)と、
前記再生時刻(T)以降の時刻(Te)における運指の終点時の運指位置情報(Pe)と
を時刻Tsから時刻Teまでの時間経過に応じて補間して算出された運指位置情報である請求項1乃至6に記載の運指表示プログラム。 The fingering position information (Pm) is
Fingering position information (Ps) at the starting point of fingering at time (Ts) before the reproduction time (T);
Fingering position information calculated by interpolating the fingering position information (Pe) at the end of the fingering at the time (Te) after the reproduction time (T) according to the passage of time from the time Ts to the time Te. The fingering display program according to any one of claims 1 to 6.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018068730A JP7107719B2 (en) | 2018-03-30 | 2018-03-30 | fingering display program |
US16/361,619 US10810984B2 (en) | 2018-03-29 | 2019-03-22 | Fingering display device and fingering display program |
CN201910232188.5A CN110322861A (en) | 2018-03-29 | 2019-03-26 | Fortune refers to display device and storage medium |
DE102019204152.3A DE102019204152A1 (en) | 2018-03-29 | 2019-03-26 | Fingering display device and fingering display program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018068730A JP7107719B2 (en) | 2018-03-30 | 2018-03-30 | fingering display program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019179158A true JP2019179158A (en) | 2019-10-17 |
JP7107719B2 JP7107719B2 (en) | 2022-07-27 |
Family
ID=68278349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018068730A Active JP7107719B2 (en) | 2018-03-29 | 2018-03-30 | fingering display program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7107719B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091061A (en) * | 1996-07-16 | 1998-04-10 | Yamaha Corp | Playing instruction device and medium recorded with program |
JP2001324919A (en) * | 2000-03-24 | 2001-11-22 | Casio Comput Co Ltd | Performance operation display device, and recording medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4070100B2 (en) | 2002-09-17 | 2008-04-02 | 株式会社河合楽器製作所 | Fingering display method and program therefor |
-
2018
- 2018-03-30 JP JP2018068730A patent/JP7107719B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091061A (en) * | 1996-07-16 | 1998-04-10 | Yamaha Corp | Playing instruction device and medium recorded with program |
JP2001324919A (en) * | 2000-03-24 | 2001-11-22 | Casio Comput Co Ltd | Performance operation display device, and recording medium |
Non-Patent Citations (1)
Title |
---|
山本 和樹: "ピアノ演奏における自然な手指動作CGの自動生成", 日本バーチャルリアリティ学会論文誌, vol. 第15巻 第3号, JPN6022002885, 30 September 2010 (2010-09-30), JP, pages 495 - 502, ISSN: 0004691294 * |
Also Published As
Publication number | Publication date |
---|---|
JP7107719B2 (en) | 2022-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4650182B2 (en) | Automatic accompaniment apparatus and program | |
JP6729052B2 (en) | Performance instruction device, performance instruction program, and performance instruction method | |
JP6728702B2 (en) | Electronic audio equipment | |
JP4379291B2 (en) | Electronic music apparatus and program | |
CN110706680A (en) | Music composing method for double-row key playing | |
JP7107719B2 (en) | fingering display program | |
JP7008560B2 (en) | Fingering display device and fingering display program | |
JP2007086571A (en) | Music information display device and program | |
JP7107720B2 (en) | fingering display program | |
JP6790362B2 (en) | Electronic acoustic device | |
JP4270102B2 (en) | Automatic performance device and program | |
JP7298653B2 (en) | ELECTRONIC DEVICES, ELECTRONIC INSTRUMENTS, METHOD AND PROGRAMS | |
JP7425558B2 (en) | Code detection device and code detection program | |
JP7092537B2 (en) | Fingering display device and fingering display program | |
JP6665541B2 (en) | Electroacoustic device | |
JP3752956B2 (en) | PERFORMANCE GUIDE DEVICE, PERFORMANCE GUIDE METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PERFORMANCE GUIDE PROGRAM | |
JP5399831B2 (en) | Music game system, computer program thereof, and method of generating sound effect data | |
JP4315116B2 (en) | Electronic music equipment | |
JP5652356B2 (en) | Sound source control device and sound source control program | |
JP2007086572A (en) | Image display device and program | |
JP2005049421A (en) | Electronic musical instrument | |
JP6402477B2 (en) | Sampling apparatus, electronic musical instrument, method, and program | |
JP5500143B2 (en) | Sound source control device and sound source control program | |
JP2012220884A (en) | Performance evaluation device and performance evaluation program | |
JP4218566B2 (en) | Musical sound control device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180608 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210224 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220126 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220308 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220713 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220714 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7107719 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |