JP3899778B2 - Music score display device and recording medium - Google Patents
Music score display device and recording medium Download PDFInfo
- Publication number
- JP3899778B2 JP3899778B2 JP2000137567A JP2000137567A JP3899778B2 JP 3899778 B2 JP3899778 B2 JP 3899778B2 JP 2000137567 A JP2000137567 A JP 2000137567A JP 2000137567 A JP2000137567 A JP 2000137567A JP 3899778 B2 JP3899778 B2 JP 3899778B2
- Authority
- JP
- Japan
- Prior art keywords
- sound
- pitch
- note
- display
- note head
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Auxiliary Devices For Music (AREA)
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、譜線譜上に符頭や嬰記号、或いは変記号などのシンボルを配置することで楽譜を表示するための技術に関する。
【0002】
【従来の技術および発明が解決しようとする課題】
現在では、音楽表現にそれまで行われていなかった試みが多く取り入れられるようになっている。それにより、例えば図21、或いは図22に示すように、5つの構成音からなる和音を鳴らすことも多く行われるようになってきている。
【0003】
従来の楽譜表示装置は、図21、及び図22に示すように記譜された和音を、それぞれ、図23、及び図24に示すように表示していた。図23では、「C5」を表す符頭に、「#」で表される嬰記号、及びナチュラル記号を付して2つの音、即ち「C5」及びそれに嬰記号を付して表される音(以降、「C#5」と表記する。嬰記号、或いは変記号を付して表される他の音も同様に表記する)を表現していた。他方の図24では、図中、矢印で示す「♭」で表される変記号を点滅させることで2つの音、即ち「C5」及び「C♭5」を表現していた。しかし、そのような楽譜表示方法では、嬰記号や変記号などの記号(シンボル)と音高を表すシンボルである符頭との間の対応関係が判りにくいため、ユーザがその内容を認識し難いという問題点があった。
【0004】
図23に示す例では、一つの符頭に嬰記号、及びナチュラル記号を付している。しかし、通常、それらの記号を同じ符頭に付けることはありえない。このようなことからも混乱を招きやすい。その混乱は、当然のことながら、嬰記号や変記号、或いはナチュラル記号などの記号の数が多くなったり、それらが狭い範囲に集まるほど、招きやすくなる。
【0005】
図24に示す例では、変記号を点滅させることで表示される記号の数は図23に示すような例と比較して少なくなる。しかし、記号が点滅することで、音をふるわせる、という誤った意味にユーザが捉えやすくなる。それ以外には、点滅することから、一定時間以上、楽譜を見ていなければその内容を理解することはできない。
【0006】
本発明の課題は、常にユーザが認識しやすい形で楽譜を表示する楽譜表示装置を提供することにある。
【0007】
【課題を解決するための手段】
本発明の楽譜表示装置は、譜線譜上に符頭や嬰記号、或いは変記号などのシンボルを配置することで楽譜を表示する装置であって、同じタイミングで入力された楽音の音高を表す音高データを取得する音高データ取得手段と、前記音高データ取得手段が取得した音高データが表す音高を、当該取得した音高データの中にその派生音がある幹音と、派生音がない幹音と、派生音とに分類する音高分類手段と、前記音高分類手段により分類された音高データに前記派生音がある幹音が存在しない場合、前記取得された全ての音高データが表わす音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置を予め定められたひとつの位置に設定し、前記派生音がある幹音が存在する場合、当該派生音がある幹音の音高を示す符頭及びそれ以外の音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置の夫々を異なる位置に設定する符頭表示位置設定手段と、前記符頭表示位置設定手段が設定した符頭の表示位置に基づいて、前記派生音の種類を表すシンボルの表示位置を設定するシンボル表示位置設定手段と、前記符頭表示位置設定手段、及び前記シンボル表示位置設定手段がそれぞれ設定した表示位置に従って、前記符頭、及び前記派生音の種類を表すシンボルを配置して前記楽譜を表示させる楽譜表示手段と、を具備する。
【0008】
なお、上記の構成において、符頭表示位置設定手段は、前記派生音がある幹音の音高を示す符頭における前記線に沿った方向上の表示位置を、前記それ以外の音高を示す符頭のそれよりも演奏進行上の前方に設定する、ことが望ましい。
【0010】
また、符頭表示位置設定手段は、前記派生音がある幹音の音高を示す符頭と前記それ以外の音高を示す符頭間における前記線に沿った方向上の間隔を、前記分類された派生音の数に応じて変化させる、ことが望ましい。
【0011】
本発明の記録媒体は、譜線譜上に符頭や嬰記号、或いは変記号などのシンボルを配置することで楽譜を表示する装置が読み取り可能な記録媒体であって、同じタイミングで入力された楽音の音高を表す音高データを取得する音高データ取得手段と、前記音高データ取得手段が取得した音高データが表す音高を、当該取得した音高データの中にその派生音がある幹音と、派生音がない幹音と、派生音とに分類する音高分類手段と、前記音高分類手段により分類された音高データに前記派生音がある幹音が存在しない場合、前記取得された全ての音高データが表わす音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置を予め定められたひとつの位置に設定し、前記派生音がある幹音が存在する場合、当該派生音がある幹音の音高を示す符頭及びそれ以外の音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置の夫々を異なる位置に設定する符頭表示位置設定手段と、前記符頭表示位置設定手段が設定した符頭の表示位置に基づいて、前記派生音の種類を表すシンボルの表示位置を設定するシンボル表示位置設定手段と、前記符頭表示位置設定手段、及び前記シンボル表示位置設定手段がそれぞれ設定した表示位置に従って、前記符頭、及び前記派生音の種類を表すシンボルを配置して前記楽譜を表示させる楽譜表示手段と、を実現させるプログラムを記録している。
【0012】
本発明では、幹音とその派生音を同時に発音させる楽音として楽譜表示する場合に、その幹音と派生音とに少なくとも分け、譜線譜を構成する線に沿った方向上の位置を異ならせて、幹音を表す符頭、及びその派生音を表す符頭を表示させ、その符頭の表示位置に応じて嬰記号、或いは変記号を表示させる。
【0013】
そのように表示させることにより、符頭は発音させる楽音毎に表示され、符頭に付けるべき嬰記号や変記号などのシンボルは符頭毎に付けて表示される。この結果、ユーザが認識しやすい形で楽譜を表示させることになる。
【0014】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照しながら詳細に説明する。
<第1の実施の形態>
図1は、本実施の形態による楽譜表示装置を搭載した電子楽器の外観を示す図である。
【0015】
その電子楽器は、図1に示すように、多数の鍵(ここでは61鍵である)を有する鍵盤101を備えた電子鍵盤楽器である。その上面には、液晶表示器102が設けられている。その液晶表示器102は、画面一面に任意の画像を表示できるものであり、楽譜はこれに表示されるようになっている。なお、その液晶表示器102を搭載する代わりに、テレビなどの表示装置と接続させる機能を搭載しても良い。
【0016】
図2は、上記電子楽器の回路構成図である。図2に示すように、楽器全体の制御を行うCPU201と、CPU201が実行するプラグラムや各種の画像データ、制御データなどを格納したROM202と、そのCPU201がワーク用に用いるRAM203と、上述した鍵盤101、及び液晶表示器102と、各種スイッチやボタンなどを有する操作部204と、CPU201の指示に従って発音させるべき楽音の波形データを生成する音源205と、その音源205が生成した波形データを音声に変換して出力するサウンドシステム206と、を備えて構成されている。本実施の形態による楽譜表示装置は、ユーザが鍵盤101上で押鍵している鍵の音高を液晶表示器102上に楽譜表示する装置として実現されている。
【0017】
上記鍵盤101、及び操作部204は、それへのユーザの操作を検出する回路を備えたものである。また、サウンドシステム206は、音源205から入力した波形データをアナログのオーディオ信号に変換するD/Aコンバータ、そのコンバータが出力したオーディオ信号を増幅するアンプ、及び、そのアンプが出力したオーディオ信号を音声に変換するスピーカなどから構成されている。
【0018】
以上の構成において、動作を説明する。
CPU201は、電源がオンされると、ROM202に格納されたプログラムを読み出して実行することにより、楽器全体の制御を開始する。液晶表示器102には、例えば五線譜を表示させるための画像データを送出して表示させる。それ以降は、ユーザの鍵盤101、或いは操作部204への操作に応じて制御を行う。
【0019】
液晶表示器102は、例えば1画面分の記憶容量を少なくとも有するメモリ(例えばVRAM)を備え、そのメモリに書き込まれた画像データに従って液晶パネルを駆動、即ち液晶間に電圧を印加することで画像を表示する。このことから、新たに画像を表示させることを含む表示内容の変更は、そのメモリに格納された画像データを書き換えることで行われる。
【0020】
図3に示すように、ROM202には楽譜を構成する各種シンボル、具体的には五線譜やト音記号、ヘ音記号、符頭、「#」、及び「♭」などの画像データが格納されている。このことから、CPU201は、RAM203に確保した作業エリアに、ROM202から読み出した表示すべきシンボルの画像データを、そのシンボルの表示位置に応じて書き込むことで液晶表示器102に送出すべき1画面分の画像データを生成する。一度、1画面分の画像データを生成した後は、表示させるべきシンボルの種類や数、或いはその表示位置の変更などに応じて、作業エリアの画像データを全て書き換えるか、或いはその一部を書き換えることにより、そのエリアの画像データを更新する。更新したエリアの画像データは液晶表示器102に送出することで、その更新を表示内容に反映させる。
【0021】
図4に示すように、ROM203には楽器の制御を行うために作業用の様々なエリアが確保されている。図4中のVRAMエリアは、上記作業エリアに対応し、そのVRAMエリアに格納された画像データが液晶表示器102に送出されてそのメモリに格納される。
【0022】
ユーザが操作部204を操作した場合、それの検出回路からその操作内容を示す情報がCPU201に送出される。CPU201は、その情報を基に、制御すべき対象を特定し、その特定した対象に対する制御を行う。それにより、特に詳細な説明は省略するが、ユーザは、操作部204を操作することにより、各種設定やその設定内容の変更を行えるようになっている。
【0023】
一方、ユーザが鍵盤101上の鍵を押鍵、或いは離鍵した場合にも、操作部204のときと同様に、その操作内容を示す情報がそれの検出回路からCPU201に送出される。CPU201は、その情報を基に音源205に送出すべきコマンドを生成して送出する。それにより、ユーザの鍵盤101への操作に応じて、サウンドシステム206から楽音をリアルタイムで放音させる。それ以外には、ユーザが押鍵中の鍵を液晶表示器102に楽譜表示させる。その楽譜表示は、以下のようにして行う。
【0024】
図9は、本実施の形態における楽譜表示方法を説明する図であり、図10は、状況に応じた楽譜表示例を示す図である。先ず、図9、及び図10を参照して、その楽譜表示方法について具体的に説明する。
【0025】
本実施の形態では、図9に示すように、五線譜を構成する線の垂直方向(Y方向)に沿って符頭を並べる列の候補として、その線に沿った方向(X方向)上の位置が異なる基本表示列、及びその両側に位置する2つの副表示列a、bを設定している。基本表示列は、幹音とその派生音が共に存在していない場合に選択し、それらが共に存在している場合には、2つの副表示列a、bを選択するようになっている。なお、以降は、幹音とその派生音が共に存在することを、隣接同音を含む、とも表現することにする。
【0026】
副表示列aには、幹音を表す符頭を並べる(配置する)のに使用し、他方の副表示列bには、その幹音の派生音を含む、それ以外の楽音を表す符頭を並べるのに使用するようにしている。それにより、幹音を表す符頭は、その派生音を表す符頭と比較して、演奏進行上における前方に位置させている。これは、そのような位置関係とすることにより、幹音を表す符頭の前にナチュラル記号を配置するような必要性を回避できるためである。この結果、そのような位置関係とすることにより、符頭以外に表示されるシンボルの数を抑えることができ、それによって、より内容を認識しやすい楽譜を表示させることができるようになる。
【0027】
楽音を表す符頭は全て表示することで、ユーザは幾つの楽音を鳴らしているのかを直ちに理解することができる。幹音、及びその派生音を表す符頭は、X方向上の位置を異ならせることで、個別に嬰記号や変記号、或いはナチュラル記号を表すシンボルを符頭に付けることができる。このようなことから、常にユーザが認識しやすい形で楽譜を表示させることができる。
【0028】
副表示列aは、副表示列a1〜3からなり、そのうちの一つを選択するようになっている。副表示列bも同様に、副表示列b1〜3からなり、そのうちの一つを選択するようになっている。これは、副表示列a、b間に、嬰記号や変記号を見やすい状態に配置する必要から、その記号の数に応じて、その間の五線譜の線に沿った方向(X方向)上の間隔を変化させるためである。本実施の形態では、嬰記号や変記号が重なって見難くなるのを回避するために、それらの記号を列で配置している。このことから、嬰記号、或いは変記号の表示列が一つであれば副表示列a1、b1を選択し、その表示列が二つであれば副表示列a2、b2を選択し、その表示列が三つであれば副表示列a3、b3を選択している。それにより、図10に示すように、その表示列の数が増えるほど、副表示列a、b間のX方向上の間隔を広げるようにしている。このようにしてその間隔を制御することで、幹音とその派生音をそれぞれ表す符頭がむやみに離れてしまうのを回避することができる。
【0029】
上述したような楽譜表示は、以下のようにして実現させている。
図4に示すA〜Cレジスタ(REGISTER)は、上記楽譜表示を行うために確保したエリアである。それら各レジスタは、それぞれ、2つのエリアを持つ多数の格納エリアから構成されている。具体的には、例えばBレジスタでは、[0]〜[n]で表される計n+1個の格納エリアが存在し、それらの格納エリアは、更に[0]、或いは[1]を付加して表されるエリアから構成されている。
以降は、図4に示したように、エリアは、「エリア[n]」、或いは「エリア[n][0]」といったように、[]を用いて表すことにする。エリアを特に限定する必要がない場合には、即ち括弧内が任意の値で良い場合には、その括弧内の内容は省略することにする。
【0030】
CPU201は、鍵盤101の検出回路が送出した操作内容を示すデータをBレジスタに格納する。その格納は、ユーザが押鍵している鍵毎に、言い換えれば、発音を開始する、或いは発音中の楽音毎に、エリア[][1]にはそのノートナンバーを格納し、エリア[][0]にはそのナンバーの音高の楽音が発音中(発音開始を含む)であることを示す値の1を格納することで行っている。それにより、Bレジスタには、図5中の上段に表すような内容が格納される。
【0031】
次に、CPU201は、Bレジスタのなかに、幹音、及びその派生音(幹音に嬰記号、或いは変記号を付して表される楽音)のデータが共に格納されているか否か調べ、そのようなデータが格納されていれば、幹音のデータをAレジスタに格納して、それをBレジスタから消去する。そのような操作をBレジスタに対して行うことで、そのBレジスタの内容は上段から下段に表すように変更されることになる。一方のAレジスタには、図6に表すような内容が格納されることになる。そのようにして、発音を開始する、或いは発音中の楽音のデータは、必要に応じて、Aレジスタ、及びBレジスタに分けて格納する。Aレジスタに格納された楽音のデータは、副表示列aに符頭を表示するのに用いられ、Bレジスタに格納された楽音のデータは、副表示列bに符頭を表示するのに用いられる。Aレジスタに楽音のデータを格納しなければ、Bレジスタに格納された楽音のデータは基本表示列に符頭を表示するのに用いられる。
【0032】
Bレジスタに対する上記の操作を行った後は、そのBレジスタに派生音のデータが格納されているか否か調べる。その結果、派生音のデータが格納されていれば、その派生音に対応するノートナンバーをCレジスタのエリア[][0]に格納し、嬰記号、或いは変記号の表示列を表す番号(以降、ラインナンバーと呼ぶ)をそれのエリア[][1]に格納する。そのようにして、Cレジスタに、嬰記号、或いは変記号を表示するためのデータを格納する。それにより、Bレジスタに図5の下段に表すようなデータが格納されていた場合には、Cレジスタには図7に表すような内容が格納されることになる。嬰記号、或いは変記号の表示列数の保持用に用意した変数tの格納エリアには、図8に示すように、データとして2が格納されることになる。
【0033】
CPU201は、変数tに代入された値から、符頭の表示列を選択する。各表示列のX方向上の表示位置(X座標)は、図3に示すように、ROM202に格納されており、選択した表示列に対応するX座標をROM202から読み出して符頭を表示させるX座標を設定する。符頭のY方向上の表示位置(Y座標)とノートナンバーの対応関係は、図3に示す音高・Y座標変換テーブルに定義されている。このことから、CPU201は、Bレジスタ、或いはAレジスタに格納されたノートナンバーに対応するY座標をそのテーブルから読み出して、符頭を表示させるY座標を設定する。符頭に付ける嬰記号、或いは変記号のY座標も同様に設定する。嬰記号、或いは変記号の表示列毎のX座標(ここでは、基準とするX座標からの補正値(シフト量)である)は、その表示列別(基本表示列、副表示列a1〜3(b1〜3)である)に図3に示す補正値変換テーブルに定義されている。このことから、CPU201は、符頭を表示させる表示列に応じて、Cレジスタに格納されたラインナンバーに対応するX座標をそのテーブルから読み出すことで嬰記号、或いは変記号のX座標を設定する。
【0034】
上述したようにして楽譜上に配置するシンボルの種類、その表示位置が決定される。CPU201は、配置するシンボルの画像データをROM202から読み出し、それの表示位置に応じてRAM203のVRAMエリアに格納する。それを各シンボル毎に行うことで、VRAMエリア上に、1画面分の画像データを生成する。VRAMエリアに生成した1画面分の画像データは液晶表示部102に送出してそれのメモリに書き込むことにより、その表示部102に楽譜(図9、或いは図10参照)を表示させる。
【0035】
図11〜図17は、楽譜表示処理の動作フローチャートである。電源がオンされた後にCPU201が実行する、楽譜表示に係わる重要部分の処理を抜粋してその流れを表したものである。次に、図11〜図17に示す動作フローチャートを参照して、その楽譜表示処理について詳細に説明する。なお、図11〜図17に示す動作フローチャートは、CPU201が、ROM202に格納されたプログラムを実行することで実現される。
【0036】
先ず、ステップ1101では、イニシャライズを行い、楽器を予め定めた状態に設定する。続くステップ1102では、ROM202から五線譜、ト音記号、及びヘ音記号の各画像データを読み出してRAM203のVRAMエリアに書き込み、それを液晶表示器102に送出することでその表示器102に五線譜を表示させる。その後、ステップ1103に移行する。
【0037】
ステップ1103では、鍵盤101からユーザの操作内容を表す情報を入力したか否か判定する。ユーザが鍵盤101上の何れかの鍵を押鍵、或いは離鍵した場合、その操作内容を表す情報が鍵盤101からCPU201に送出されることから、判定はYESとなってステップ1104に移行する。そうでない場合には、判定はNOとなり、例えば所定時間が経過した後、再度ステップ1103を実行する。
【0038】
ステップ1104では、VRAMエリアに格納された符頭、嬰記号、或いは変記号などのシンボルの画像データを消去して五線譜(ここではト音記号、及びヘ音記号を含む)の画像データだけを残す。また、A〜Cレジスタの内容をクリアする。続くステップ1105では、変数nに0を代入する。その代入を行った後、ステップ1106に移行する。
【0039】
どの音高の楽音が発音中か否かは、特に詳細な説明は省略するが、例えばRAM203にエリアを確保し、ノートナンバー毎に、そのナンバーに対応する楽音が発音中か否かを示す値を格納することで把握するようにしている。ステップ1106〜1111では、変数nの値を順次、インクリメントしながら、そのエリアの変数nの値で指定されるノートナンバーの楽音が発音中か否か確認し、その確認結果に応じてBレジスタの内容を更新していくための処理が行われる。
【0040】
先ず、ステップ1106では、変数nの値に対応するノートナンバーの楽音が発音中か否か判定する。そのナンバーが割り当てられた鍵をユーザが押鍵している場合、その旨を表す値が上記エリアに格納されていることから判定はYESとなり、ステップ1107でBレジスタのエリア[n][1]に1を代入した後、ステップ1109に移行する。そうでない場合には、判定はNOとなり、ステップ1108でエリア[n][1]に0を代入した後、そのステップ1109に移行する。
【0041】
ステップ1109では、Bレジスタのエリア[n][0]に変数nの値を格納する。続くステップ1110では、変数nの値をインクリメントする。その後は、ステップ1111に移行して、変数nの値が60より大きいか否か判定する。鍵盤101は61鍵である。このことから、全ての鍵の状態に応じてBレジスタの内容の更新を終了した場合、判定はYESとなり、図12に示すステップ1112に移行する。そうでない場合には、判定はNOとなって上記ステップ1106に戻る。
【0042】
このようにして、Bレジスタの各エリア[]には、それに対応する鍵の状態に応じたデータが格納される。図12に示すステップ1112〜1121では、そのBレジスタの内容を参照して、派生音と共に発音される幹音のデータをAレジスタに格納し、その幹音のデータをBレジスタから削除するための処理が行われる。
【0043】
先ず、ステップ1112では、変数m及びnにそれぞれ0を代入する。続くステップ1113では、Bレジスタのエリア[n][1]に1が格納されているか否か判定する。変数nの値をノートナンバーとする鍵をユーザが押鍵していた場合、判定はYESとなってステップ1114に移行する。そうでない場合には、判定はNOとなり、後述するステップ1120に移行する。
【0044】
ステップ1114では、Bレジスタのエリア[n][0]に格納されたノートナンバーが白鍵に割り当てられたナンバーか否か、即ちそのナンバーが幹音のナンバーか否か判定する。変数nの値をノートナンバーとする白鍵をユーザが押鍵していた場合、判定はYESとなってステップ1115に移行する。そうでない場合には、判定はNOとなってステップ1120に移行する。
【0045】
ステップ1115では、ステップ1114で幹音と判定した楽音の派生音が発音中であることを示す1がBレジスタのエリア[n+1][1]或いは[n−1][1]に格納されているか否か判定する。変数nの値をノートナンバーとする白鍵の他に、その白鍵の派生音のノートナンバーが割り当てられた黒鍵をユーザが押鍵していた場合、判定はYESとなってステップ1116に移行する。そうでない場合には、判定はNOとなってステップ1120に移行する。
【0046】
ステップ1116では、Aレジスタのエリア[m][0]に変数nの値を格納する。次に実行するステップ1117では、Aレジスタのエリア[m][1]に1を格納する。それ以降は、ステップ1118でBレジスタのエリア[n][1]に0を格納し、ステップ1119で変数mの値をインクリメントし、ステップ1120で変数nの値をインクリメントする。その変数nの値をインクリメントした後はステップ1121に移行する。
【0047】
ステップ1121では、変数nの値が60より大きいか否か判定する。Bレジスタ中から派生音とともに発音される幹音のデータを全てAレジスタに格納した場合、判定はYESとなって図13に示すステップ1122に移行する。そうでない場合には、判定はNOとなって上記ステップ1113に戻る。
【0048】
このようにして、Bレジスタの内容には図5に示すような操作が行われ、Aレジスタには図6に示すような内容が格納されることになる。図13のステップ1122〜1134では、操作を行った後のBレジスタを対象にして、Cレジスタに嬰記号、或いは変記号の表示用のデータを格納するための処理が行われる。
【0049】
先ず、ステップ1122では、変数n、l、s、及びtにそれぞれ0を代入する。続くステップ1123では、Bレジスタのエリア[n][1]に1が格納されているか否か判定する。変数nの値をノートナンバーとする鍵をユーザが押鍵していた場合、判定はYESとなってステップ1124に移行する。そうでない場合には、判定はNOとなり、後述するステップ1133に移行する。
【0050】
ステップ1124では、Bレジスタのエリア[n][0]に格納されたノートナンバーが黒鍵に割り当てられたナンバーか否か、即ちそのナンバーが派生音のナンバーか否か判定する。変数nの値をノートナンバーとする黒鍵をユーザが押鍵していた場合、判定はYESとなってステップ1125に移行する。そうでない場合には、判定はNOとなってステップ1133に移行する。
【0051】
ステップ1125では、Cレジスタのエリア[l][0]に変数nの値を格納する。続くステップ1126では、変数lの値をインクリメントし、その後に移行するステップ1127では変数sの値をインクリメントする。その変数sの値をインクリメントした後はステップ1128に移行する。
【0052】
ステップ1128では、変数sの値が3より大きいか否か判定する。その値が3より大きい場合、判定はYESとなり、ステップ1129で変数sに1を代入した後、ステップ1130に移行する。そうでない場合には、判定はNOとなり、そのステップ1130に移行する。
【0053】
ステップ1130では、Cレジスタのエリア[l][1]に変数sの値をラインナンバーとして格納する。続くステップ1131では、変数sの値が変数tの値より大きいか否か判定する。変数sの値が変数tの値より大きい場合、判定はYESとなり、ステップ1132で変数tに変数sの値を代入した後、ステップ1133に移行する。そうでない場合には、判定はNOとなり、そのステップ1133に移行する。変数sの値が変数tの値より大きければ変数tに変数sの値を代入することにより、変数tには、変数sに代入された値のなかで最大の値が保持されることになる。
【0054】
ステップ1133では、変数nの値をインクリメントする。続くステップ1134では、変数nの値が60より大きいか否か判定する。Bレジスタの内容を参照して、嬰記号、或いは変記号を表示するためのデータをCレジスタに全て格納した場合、判定はYESとなり、図14に示すステップ1135に移行する。そうでない場合には、判定はNOとなって上記ステップ1123に戻る。
【0055】
上記したように、変数sには1→2→3→1の流れで値をサイクリックに代入する。その代入は、Bレジスタのエリア[]のデータを参照していくために用いる変数nの値をインクリメントしながら、必要に応じて行っている。このため、図9、或いは図10に示すように、嬰記号、或いは変記号を表示させることができ、その一部が他のシンボルと重なるような状態に表示してしまうのは確実に回避されることになる。
【0056】
図14のステップ1135に移行した時点ではA〜Cレジスタの内容は確定した状態となっている。このことから、そのステップ1135以降では、それらのレジスタに格納された内容に従って楽譜を表示させるための処理が行われる。
【0057】
先ず、ステップ1135では、変数mの値が0か否か判定する。上述したように、その初期値は0であり、Aレジスタのエリア[]にデータを格納する度に、変数mの値はインクリメントされる。このため、ユーザが幹音、及びその幹音の派生音となる関係の白鍵、及び黒鍵を押鍵していた場合、変数mには1以上の値が代入されている結果となり、判定はYESとなってステップ1136に移行する。そうでない場合には、判定はNOとなり、図15に示すステップ1149に移行する。
【0058】
ステップ1136〜1148では、基本表示列に符頭を並べて表示させるための処理が行われる。
先ず、ステップ1136では、変数nに0を代入する。続くステップ1137では、Bレジスタのエリア[n][1]に1が格納されているか否か判定する。変数nの値をノートナンバーとする鍵をユーザが押鍵していた場合、判定はYESとなってステップ1138に移行する。そうでない場合には、判定はNOとなり、後述するステップ1140に移行する。
【0059】
ステップ1138では、図3に示す音高・Y座標変換テーブルから、Bレジスタのエリア[n][0]に格納されたノートナンバーに対応するY座標を読み出し、それを符頭を表示させるY座標として設定する。続くステップ1139では、その符頭を表示させるX座標として基本表示列のX座標を設定し、それによって確定したXY座標に応じて符頭の画像データをVRAMエリアに格納する。その後は、ステップ1140に移行する。
【0060】
ステップ1140では、変数nの値をインクリメントする。その後に移行するステップ1141では、変数nの値が60より大きいか否か判定する。Bレジスタの内容を参照して、表示させるべき符頭の画像データを全てVRAMエリアに書き込んだ場合、判定はYESとなってステップ1142に移行する。そうでない場合には、判定はNOとなり、上記ステップ1137に戻ってそれ以降の処理を同様に実行する。
【0061】
ステップ1137〜1141で形成される処理ループをステップ1141の判定がYESとなるまでの間、繰り返し実行することにより、ユーザが押鍵している鍵の音高を明示するための符頭の画像データがVRAMエリアに順次、書き込まれていくことになる。
【0062】
ステップ1142では、変数lに0を代入する。続くステップ1143では、Cレジスタのエリア[l][1]に0以外の値が格納されているか否か判定する。Cレジスタのエリア[l][0]に格納されたノートナンバーが割り当てられた黒鍵をユーザが押鍵している場合、エリア[l][1]には1以上の値のラインナンバーが格納されることから、判定はYESとなってステップ1144に移行する。そうでない場合には、判定はNOとなって後述するステップ1147に移行する。
【0063】
ステップ1144では、図3に示す音高・Y座標変換テーブルから、Cレジスタのエリア[l][0]に格納されたノートナンバーに対応するY座標を読み出し、そのノートナンバーから特定されるシンボル(「#」或いは「♭」)を表示させるY座標として設定する。続くステップ1145では、図3に示す補正値変換テーブルから、基本表示列でエリア[l][1]に格納されたラインナンバーに対応するX座標の補正値を読み出す。その後に移行するステップ1146では、基本表示列のX座標にステップ1145で読み出した補正値を加算してシンボルを表示させるX座標を設定し、それによって確定したXY座標に応じてシンボルの画像データをVRAMエリアに格納する。その後はステップ1147に移行する。
【0064】
ステップ1147では、変数lの値をインクリメントする。次に実行するステップ1148では、変数lの値が24より大きいか否か判定する。Cレジスタのエリア[]数は25としている。このことから、Cレジスタに格納されたデータで指定されるシンボルの画像データをVRAMエリアに全て格納した場合、判定はYESとなり、そのVRAMエリアに格納されている1画面分の画像データを液晶表示器102に送出した後、図11のステップ1103に戻って、それ以降の処理を同様に実行する。そうでない場合には、判定はNOとなり、上記ステップ1143に戻る。
【0065】
ステップ1143〜1148で形成される処理ループをステップ1148の判定がYESとなるまでの間、繰り返し実行することにより、ユーザが押鍵している黒鍵の音高を明示するためのシンボルの画像データがVRAMエリアに順次、書き込まれていくことになる。
【0066】
上記ステップ1135の判定がNOとなって図15のステップ1149に移行することは、符頭を副表示列a、bに表示させることを意味する。このことから、そのステップ1149以降では、符頭を副表示列a、bに表示させるための処理が行われる。
【0067】
先ず、ステップ1149では、変数tの値が1か否か判定する。その変数tに1が代入されていた場合、判定はYESとなり、ステップ1150に移行する。
そうでない場合には、判定はNOとなって図16に示すステップ1169に移行する。
【0068】
変数tに1が代入されているということは、嬰記号、或いは変記号の表示列数は1であり、符頭は副表示列a1、b1に並べて表示させることを意味する。このことから、ステップ1150〜1168では、そのように表示するための処理が行われる。
【0069】
先ず、ステップ1150では、変数mに0を代入する。続くステップ1151では、Aレジスタのエリア[m][1]に1が格納されているか否か判定する。エリア[m][0]に格納されたノートナンバーが割り当てられた鍵(白鍵)をユーザが押鍵していた場合、判定はYESとなってステップ1152に移行する。そうでない場合には、判定はNOとなり、後述するステップ1154に移行する。
【0070】
ステップ1152では、図3に示す音高・Y座標変換テーブルから、Cレジスタのエリア[m][0]に格納されたノートナンバーに対応するY座標を読み出し、そのナンバーに対応する音高を示す符頭を表示させるY座標として設定する。続くステップ1153では、その符頭を表示させるX座標として副表示列a1のX座標を設定し、それによって確定したXY座標に応じて符頭の画像データをVRAMエリアに格納する。その後は、ステップ1154に移行する。
【0071】
ステップ1154では、変数mの値をインクリメントする。その後に移行するステップ1155では、変数mの値が24より大きいか否か判定する。Aレジスタのエリア[]数は25としている。このことから、Aレジスタに格納されたデータで指定される符頭の画像データをVRAMエリアに全て格納した場合、判定はYESとなってステップ1156に移行する。そうでない場合には、判定はNOとなり、上記ステップ1151に戻る。
【0072】
ステップ1151〜1155で形成される処理ループをステップ1155の判定がYESとなるまでの間、繰り返し実行することにより、派生音とともに発音される幹音の音高を明示するための符頭の画像データがVRAMエリアに順次、書き込まれていくことになる。それにより、副表示列a1に幹音の音高を示す符頭が並べて表示される。
【0073】
ステップ1156〜1161では、Bレジスタの内容を参照して、副表示列b1に派生音を含むそれ以外の楽音の音高を示す符頭を並べて表示させるための処理が行われる。
【0074】
先ず、ステップ1156では、変数nに0を代入する。続くステップ1157では、Bレジスタのエリア[n][1]に1が格納されているか否か判定する。Bレジスタのエリア[n][0]に格納されたノートナンバーが割り当てられた鍵をユーザが押鍵している場合、エリア[n][1]には1が格納されることから、判定はYESとなってステップ1158に移行する。そうでない場合には、判定はNOとなって後述するステップ1160に移行する。
【0075】
ステップ1158では、図3に示す音高・Y座標変換テーブルから、Bレジスタのエリア[n][0]に格納されたノートナンバーに対応するY座標を読み出し、そのナンバーに対応する音高を示す符頭を表示させるY座標として設定する。続くステップ1159では、その符頭を表示させるX座標として副表示列b1のX座標を設定し、それによって確定したXY座標に応じて符頭の画像データをVRAMエリアに格納する。その後は、ステップ1160に移行する。
【0076】
ステップ1160では、変数nの値をインクリメントする。その後に移行するステップ1161では、変数nの値が60より大きいか否か判定する。Bレジスタに格納されたデータで指定される符頭の画像データをVRAMエリアに全て格納した場合、判定はYESとなってステップ1162に移行する。そうでない場合には、判定はNOとなり、上記ステップ1157に戻る。
【0077】
このようにして、ステップ1157〜1161で形成される処理ループをステップ1161の判定がYESとなるまでの間、繰り返し実行することにより、副表示列b1に並べて表示させるべき符頭の画像データがVRAMエリアに順次、書き込まれていくことになる。
【0078】
ステップ1162〜1168では、Cレジスタの内容を参照して、副表示列a1と副表示列b1間に嬰記号、或いは変記号を表すシンボルを表示させるための処理が行われる。
【0079】
先ず、ステップ1162では、変数lに0を代入する。続くステップ1163では、Cレジスタのエリア[l][1]に0以外の値が格納されているか否か判定する。Cレジスタのエリア[l][0]に格納されたノートナンバーが割り当てられた黒鍵をユーザが押鍵している場合、エリア[l][1]には1以上の値のラインナンバーが格納されることから、判定はYESとなってステップ1164に移行する。そうでない場合には、判定はNOとなって後述するステップ1167に移行する。
【0080】
ステップ1164では、図3に示す音高・Y座標変換テーブルから、Cレジスタのエリア[l][0]に格納されたノートナンバーに対応するY座標を読み出し、そのノートナンバーから特定されるシンボル(「#」或いは「♭」)を表示させるY座標として設定する。続くステップ1165では、図3に示す補正値変換テーブルから、副表示列a1(或いはb1)でエリア[l][1]に格納されたラインナンバーに対応するX座標の補正値を読み出す。その後に移行するステップ1166では、副表示列b1のX座標にステップ1165で読み出した補正値を加算してシンボルを表示させるX座標を設定し、それによって確定したXY座標に応じてシンボルの画像データをVRAMエリアに格納する。その後はステップ1167に移行する。
【0081】
ステップ1167では、変数lの値をインクリメントする。次に実行するステップ1168では、変数lの値が24より大きいか否か判定する。Cレジスタに格納されたデータで指定されるシンボルの画像データをVRAMエリアに全て格納した場合、判定はYESとなり、そのVRAMエリアに格納されている1画面分の画像データを液晶表示器102に送出した後、図11のステップ1103に戻って、それ以降の処理を同様に実行する。そうでない場合には、判定はNOとなり、上記ステップ1163に戻る。
【0082】
ステップ1163〜1168で形成される処理ループをステップ1168の判定がYESとなるまでの間、繰り返し実行することにより、ユーザが押鍵している黒鍵の音高を明示するためのシンボルの画像データがVRAMエリアに順次、書き込まれていくことになる。
【0083】
上記ステップ1149の判定がNOとなって移行する図16のステップ1169では、変数tの値が2か否か判定する。その変数tに2が代入されていた場合、判定はYESとなり、ステップ1170に移行する。そうでない場合には、判定はNOとなって図17のステップ1189に移行する。
【0084】
変数tに2が代入されているということは、嬰記号、或いは変記号の表示列数は2であり、符頭は副表示列a1、b1に並べて表示させることを意味する。このことから、ステップ1170〜1188では、そのように表示するための処理が行われる。しかし、その内容は、基本的には上述したステップ1150〜1168と同じであるため、詳細な説明は省略する。
【0085】
一方、図17のステップ1189に移行することは、変数tに3が代入されていることを意味する。このため、嬰記号、或いは変記号の表示列数は3であり、符頭は副表示列a3、b3に並べて表示させなければならない。このことから、ステップ1189〜1207では、そのように表示するための処理が行われる。しかし、その内容も、基本的には上述したステップ1150〜1168と同じである。このため、詳細な説明は省略する。
【0086】
なお、本実施の形態では、副表示列aに幹音を表す符頭だけを並べて表示し、その派生音を含むそれ以外の楽音を表す符頭は副表示列bに並べて表示しているが、楽音の割り振りはそれに限定されるものではない。例えば副表示列bに派生音を表す符頭のみを並べて表示し、その幹音を含むそれ以外の楽音を表す符頭を副表示列aに並べて表示しても良い。
【0087】
それ以外には、例えば、図18に示すように、副表示列を一つだけ基本表示列の後方に用意し、幹音とその派生音が共に存在している場合に、即ち隣接同音を含む場合に、副表示列には幹音を表す符頭だけを並べて表示し、基本表示列にはその派生音を含むそれ以外の楽音を表す符頭を並べて表示させるようにしても良い。その逆の関係に、基本表示列と副表示列に符頭を並べて表示させても良い。そのようにした場合には、図18(b)に示すナチュラル記号は省略させることができる。或いは、図20(a)に示すように、基本表示列の前方に副表示列を一つだけ用意し、副表示列には幹音を表す符頭を並べ、基本表示列にはその派生音を含むそれ以外の楽音を表す符頭を並べて表示させても良い。基本表示列と副表示列に並べる符頭をその逆にしても良い。
【0088】
本実施の形態と同じく、基本表示列、及び2つの副表示列を用意している場合には、図19(b)に示すように、派生音を表す符頭は副表示列aに並べ、その幹音を表す符頭は副表示列bに並べ、それら以外の楽音を表す符頭は基本表示列に並べて表示するようにしても良い。図20(b)に示すように、副表示列a、bに並べる符頭をその逆にしても良い。或いは、図19(c)に示すように、副表示列aに派生音を表す符頭のみを並べ、その幹音を含むそれ以外の楽音を表す符頭を副表示列bに並べて表示しても良い。これらのように、本発明は様々に変形させることができる。
【0089】
本実施の形態では、ユーザが押鍵している鍵を楽譜の形で表示するようになっているが、スタンダードMIDIファイルなどの演奏データを対象に楽譜を表示するようにしても良い。演奏データを対象とする場合には、例えば各楽音の発音開始タイミングを基に和音を判定して、その構成音を上述したように楽譜表示させれば良い。本実施の形態は電子楽器に搭載された楽譜表示装置に本発明を適用したものであるが、本発明を適用できる楽譜表示装置はそれに限定されるものでもない。
【0090】
上記したような動作を実現させるプログラムは、CD−ROM、フロッピーディスク、或いは光磁気ディスク等の記録媒体に記録させて配布しても良い。或いは、公衆網等の通信回線を用いて、そのプログラムの一部、若しくは全部を配信するようにしても良い。そのようにした場合には、ユーザはプログラムを取得して任意の楽譜表示装置、或いはコンピュータ等のデータ処理装置にロードすることにより、その装置に本発明を適用させることができる。このことから、記録媒体は、プログラムを配信する装置がアクセスできるものであっても良い。
【0091】
【発明の効果】
以上、説明したように本発明は、幹音とその派生音を同時に発音させる楽音として楽譜表示する場合に、その幹音と派生音とに少なくとも分け、譜線譜を構成する線に沿った方向上の位置を異ならせて、幹音を表す符頭、及びその派生音を表す符頭を表示させ、その符頭の表示位置に応じて嬰記号、或いは変記号を表示させる。それにより、符頭は発音させる楽音毎に表示し、符頭に付けるべき嬰記号や変記号などのシンボルは符頭毎に付けて表示させる。このため、ユーザが認識しやすい形で楽譜を表示させることができる。
【図面の簡単な説明】
【図1】本実施の形態による楽譜表示装置を搭載した電子楽器の外観を示す図である。
【図2】本実施の形態による楽譜表示装置を搭載した電子楽器の回路構成図である。
【図3】ROMのマッピング例を説明する図である。
【図4】RAMのマッピング例を説明する図である。
【図5】Bレジスタの内容例、及びその内容の操作方法を説明する図である。
【図6】Aレジスタの内容例を説明する図である。
【図7】Cレジスタの内容例を説明する図である。
【図8】変数tの格納エリアに格納されたデータ例を説明する図である。
【図9】本実施の形態における楽譜表示方法を説明する図である。
【図10】状況に応じた楽譜表示例を示す図である。
【図11】楽譜表示処理の動作フローチャートである。
【図12】楽譜表示処理の動作フローチャートである(続き1)。
【図13】楽譜表示処理の動作フローチャートである(続き2)。
【図14】楽譜表示処理の動作フローチャートである(続き3)。
【図15】楽譜表示処理の動作フローチャートである(続き4)。
【図16】楽譜表示処理の動作フローチャートである(続き5)。
【図17】楽譜表示処理の動作フローチャートである(続き6)。
【図18】他の楽譜表示方法を説明する図である(その1)。
【図19】他の楽譜表示方法を説明する図である(その2)。
【図20】他の楽譜表示方法を説明する図である(その3)。
【図21】和音の記譜例を示す図である(その1)。
【図22】和音の記譜例を示す図である(その2)。
【図23】従来の楽譜表示例を示す図である(その1)。
【図24】従来の楽譜表示例を示す図である(その2)。
【符号の説明】
101 鍵盤
102 液晶表示器
201 CPU
202 ROM
203 RAM[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for displaying a score by arranging symbols such as note heads, 嬰 symbols, or odd symbols on a staff score.
[0002]
[Background Art and Problems to be Solved by the Invention]
At present, many attempts that have not been made in music expression have been incorporated. As a result, for example, as shown in FIG. 21 or FIG. 22, chords composed of five constituent sounds are often played.
[0003]
The conventional score display apparatus displays chords recorded as shown in FIGS. 21 and 22 as shown in FIGS. 23 and 24, respectively. In FIG. 23, two sounds are added by adding a 嬰 symbol represented by “#” and a natural symbol to the note head representing “C5”, that is, a sound represented by adding “C5” and a 嬰 symbol thereto. (Hereinafter referred to as “C # 5”. Other sounds expressed with a 嬰 symbol or a strange symbol are also expressed in the same manner). On the other hand, in FIG. 24, two sounds, that is, “C5” and “C」 5 ”are expressed by blinking a variable symbol represented by“ ♭ ”indicated by an arrow in the drawing. However, in such a musical score display method, it is difficult to understand the correspondence between symbols (symbols) such as 嬰 symbols and odd symbols, and note heads which are symbols representing pitches, and thus it is difficult for the user to recognize the contents. There was a problem.
[0004]
In the example shown in FIG. 23, a 嬰 symbol and a natural symbol are attached to one note head. However, it is usually not possible to put these symbols on the same note head. This is also confusing. As a matter of course, the confusion becomes more likely as the number of symbols such as 嬰 symbols, strange symbols, or natural symbols increases, or as they gather in a narrow range.
[0005]
In the example shown in FIG. 24, the number of symbols displayed by blinking the strange symbols is reduced compared to the example shown in FIG. However, the blinking of the symbol makes it easier for the user to perceive the false meaning of making a sound. Other than that, it blinks, so if you haven't seen the score for a certain period of time, you won't be able to understand it.
[0006]
An object of the present invention is to provide a score display apparatus that always displays a score in a form that is easily recognized by a user.
[0007]
[Means for Solving the Problems]
The musical score display device of the present invention is a device that displays a musical score by arranging symbols such as note heads, 嬰 symbols, or odd symbols on a musical score, Entered at the same time Pitch data acquisition means for acquiring pitch data representing the pitch of a musical tone; The pitches represented by the pitch data acquired by the pitch data acquisition unit are classified into a stem tone having the derived sound in the acquired pitch data, a stem tone having no derived sound, and a derived sound. When there is no stem sound with the derived sound in the pitch data classified by the pitch classification means and the pitch classification means, the note heads indicating the pitches represented by all the acquired pitch data When the display position in the direction along the line constituting the staff score is set to one predetermined position, and there is a stem sound with the derivative sound, the pitch of the stem sound with the derivative sound is set. Each of the display positions on the direction along the line constituting the musical score of the note head indicating the other note pitches and the other note heads are set to different positions. Note head display position setting means, symbol display position setting means for setting a display position of a symbol representing the type of the derived sound based on the display position of the note head set by the note head display position setting means, and the mark Head display position setting means, and a score display means for displaying the score by arranging symbols representing the types of the note heads and the derived sounds according to the display positions respectively set by the symbol display position setting means. To do.
[0008]
In the above configuration, the note head display position setting means is There is a derivative sound Stem pitch Indicate The display position in the direction along the line at the note head, Indicates the other pitches It is desirable to set it ahead in the performance progression rather than that of the note head.
[0010]
The note head display position setting means is There is a derivative sound Stem pitch Indicate Notehead and Indicates the other pitches The distance in the direction along the line between the note heads, The classified It is desirable to change according to the number of derived sounds.
[0011]
The recording medium of the present invention is a recording medium that can be read by a device that displays a score by arranging symbols such as note heads, scissors, or odd symbols on a staff score, The pitch data acquisition means for acquiring the pitch data representing the pitch of the musical tone input at the same timing, and the pitch represented by the pitch data acquired by the pitch data acquisition means, the pitch data of the acquired pitch data A pitch classifying means for classifying a stem tone having the derived sound therein, a stem sound having no derived sound, and a derived sound; and a stem having the derived sound in the pitch data classified by the pitch classifying means. When there is no sound, the display position in the direction along the line constituting the musical score of the note head indicating the pitch represented by all the acquired pitch data is set to one predetermined position. And when there is a stem sound with the derivative sound, along the line constituting the musical notation of the note head indicating the pitch of the stem sound with the derivative sound and the note head indicating the other pitch Note head display position setting means for setting each of the display positions on the direction to different positions; Based on the note head display position set by the note head display position setting means, the symbol display position setting means for setting the display position of the symbol representing the type of the derived sound, the note head display position setting means, and the In accordance with the display positions set by the symbol display position setting means, the score display means for arranging the symbols representing the note heads and the types of the derived sounds and displaying the score, The program that realizes is recorded.
[0012]
In the present invention, when a musical score is displayed as a musical sound for simultaneously generating a stem sound and its derivative sound, it is divided at least into the stem sound and the derivative sound, and the positions in the direction along the lines constituting the score are changed. Thus, the note head representing the stem sound and the note head representing the derived sound are displayed, and the 嬰 symbol or the strange symbol is displayed according to the display position of the note head.
[0013]
By displaying in such a manner, the note head is displayed for each musical tone to be generated, and symbols such as 嬰 symbols and strange symbols to be attached to the note head are displayed for each note head. As a result, the score is displayed in a form that the user can easily recognize.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<First Embodiment>
FIG. 1 is a diagram showing an external appearance of an electronic musical instrument equipped with a score display device according to the present embodiment.
[0015]
As shown in FIG. 1, the electronic musical instrument is an electronic keyboard instrument including a
[0016]
FIG. 2 is a circuit configuration diagram of the electronic musical instrument. As shown in FIG. 2, a
[0017]
The
[0018]
The operation of the above configuration will be described.
When the power is turned on, the
[0019]
The
[0020]
As shown in FIG. 3, the
[0021]
As shown in FIG. 4, the
[0022]
When the user operates the
[0023]
On the other hand, even when the user presses or releases a key on the
[0024]
FIG. 9 is a diagram for explaining a score display method according to the present embodiment, and FIG. 10 is a diagram illustrating a score display example according to the situation. First, the musical score display method will be specifically described with reference to FIGS. 9 and 10.
[0025]
In the present embodiment, as shown in FIG. 9, positions on the direction (X direction) along the line as candidates for the column in which the note heads are arranged along the vertical direction (Y direction) of the line constituting the staff. Are set to different basic display columns and two sub-display columns a and b located on both sides thereof. The basic display column is selected when neither the stem sound nor its derivative sound exists, and when both are present, the two sub-display columns a and b are selected. In the following, the presence of both stem sounds and their derivative sounds will be expressed as including adjacent same sounds.
[0026]
The sub display column a is used for arranging (arranging) the note heads representing the stem sounds, and the other sub display column b is the note heads representing the other musical sounds including the derivative sounds of the stem sounds. Are used to line up. Thereby, the note head representing the stem sound is positioned forward in the performance progression as compared to the note head representing the derived sound. This is because such a positional relationship can avoid the necessity of arranging a natural symbol in front of a note head representing a stem sound. As a result, with such a positional relationship, it is possible to suppress the number of symbols displayed other than the note heads, and thereby it is possible to display a score that makes it easier to recognize the contents.
[0027]
By displaying all the note heads representing musical tones, the user can immediately understand how many musical tones are being played. The note heads representing the stem sounds and their derived sounds can be individually attached to the note heads with symbols representing 嬰 symbols, odd symbols, or natural symbols by changing the positions in the X direction. For this reason, it is possible to display the score in a form that is always easy for the user to recognize.
[0028]
The sub display column a includes sub display columns a1 to a3, and one of them is selected. Similarly, the sub display column b includes sub display columns b1 to b1, and one of them is selected. This is because it is necessary to arrange between the sub-display columns a and b so that the 嬰 symbol and the strange symbol can be easily seen, and according to the number of the symbols, the spacing in the direction along the line of the staff (X direction) between them It is for changing. In the present embodiment, the symbols are arranged in a row in order to prevent the 嬰 symbols and strange symbols from overlapping and becoming difficult to see. From this, if there is only one display column of the 嬰 symbol or variable symbol, the sub display columns a1 and b1 are selected, and if there are two display columns, the sub display columns a2 and b2 are selected and displayed. If there are three columns, the sub display columns a3 and b3 are selected. Thereby, as shown in FIG. 10, the interval in the X direction between the sub display columns a and b is increased as the number of the display columns increases. By controlling the interval in this way, it is possible to avoid the note heads that respectively represent the stem sound and its derivative sounds from being unnecessarily separated.
[0029]
The musical score display as described above is realized as follows.
The A to C registers (REGISTER) shown in FIG. 4 are areas reserved for displaying the musical score. Each of these registers is composed of a large number of storage areas each having two areas. Specifically, in the B register, for example, there are a total of n + 1 storage areas represented by [0] to [n], and these storage areas are further added with [0] or [1]. It consists of areas that are represented.
Hereinafter, as shown in FIG. 4, the area is represented by using [] such as “area [n]” or “area [n] [0]”. When it is not necessary to limit the area in particular, that is, when the value in the parenthesis may be an arbitrary value, the content in the parenthesis is omitted.
[0030]
The
[0031]
Next, the
[0032]
After performing the above operation on the B register, it is checked whether or not derived sound data is stored in the B register. As a result, if the data of the derived sound is stored, the note number corresponding to the derived sound is stored in the area [] [0] of the C register, and the number indicating the display string of the 嬰 symbol or the variable symbol (hereinafter, “ , Called a line number) is stored in its area [] [1]. In this way, data for displaying the 嬰 symbol or variable symbol is stored in the C register. Accordingly, when data as shown in the lower part of FIG. 5 is stored in the B register, the contents as shown in FIG. 7 are stored in the C register. As shown in FIG. 8, 2 is stored as data in the storage area of the variable t prepared for holding the number of display columns of the 嬰 symbol or the variable symbol.
[0033]
The
[0034]
As described above, the types of symbols arranged on the score and the display positions thereof are determined. The
[0035]
11 to 17 are operation flowcharts of the score display process. The flow of an important part related to the score display, which is executed by the
[0036]
First, in
[0037]
In
[0038]
In
[0039]
A detailed description of which musical tone is being generated is omitted, but a value indicating whether or not a musical tone corresponding to the number is secured for each note number, for example, by securing an area in the
[0040]
First, in
[0041]
In
[0042]
In this way, data corresponding to the state of the corresponding key is stored in each area [] of the B register. In
[0043]
First, in
[0044]
In
[0045]
In
[0046]
In
[0047]
In
[0048]
In this way, the operation shown in FIG. 5 is performed on the contents of the B register, and the contents shown in FIG. 6 are stored in the A register. In
[0049]
First, in
[0050]
In
[0051]
In step 1125, the value of the variable n is stored in the area [l] [0] of the C register. In the following
[0052]
In
[0053]
In step 1130, the value of the variable s is stored as a line number in the area [l] [1] of the C register. In the following step 1131, it is determined whether or not the value of the variable s is larger than the value of the variable t. If the value of the variable s is greater than the value of the variable t, the determination is yes, and after the value of the variable s is substituted for the variable t in
[0054]
In step 1133, the value of the variable n is incremented. In the following
[0055]
As described above, a value is cyclically substituted into the variable s in the flow of 1 → 2 → 3 → 1. The substitution is performed as necessary while incrementing the value of the variable n used to refer to the data in the area [] of the B register. For this reason, as shown in FIG. 9 or FIG. 10, it is possible to display a symbol or a strange symbol, and it is reliably avoided that a part of the symbol overlaps with another symbol. Will be.
[0056]
At the time of moving to step 1135 in FIG. 14, the contents of the A to C registers are in a fixed state. Therefore, in
[0057]
First, in
[0058]
In
First, in
[0059]
In
[0060]
In
[0061]
By repeatedly executing the processing loop formed in
[0062]
In
[0063]
In step 1144, the Y coordinate corresponding to the note number stored in the area [l] [0] of the C register is read from the pitch / Y coordinate conversion table shown in FIG. “#” Or “♭”) is set as the Y coordinate to be displayed. In the following
[0064]
In
[0065]
By repeatedly executing the processing loop formed in
[0066]
If the determination in
[0067]
First, in step 1149, it is determined whether or not the value of the variable t is 1. If 1 is assigned to the variable t, the determination is yes and the process moves to step 1150.
Otherwise, the determination is no and the process moves to step 1169 shown in FIG.
[0068]
The fact that 1 is assigned to the variable t means that the number of display columns of the 嬰 symbol or variable symbol is 1, and the note heads are displayed side by side in the sub display columns a1 and b1. For this reason, in
[0069]
First, in
[0070]
In
[0071]
In
[0072]
By repeatedly executing the processing loop formed in
[0073]
In steps 1156 to 1161, the contents of the B register are referred to, and a process for displaying the note heads indicating the pitches of the other musical tones including the derived sound side by side in the sub display column b1 is performed.
[0074]
First, in
[0075]
In
[0076]
In
[0077]
In this way, by repeatedly executing the processing loop formed in steps 1157 to 1161 until the determination in step 1161 becomes YES, the image data of the note heads to be displayed side by side in the sub-display column b1 is displayed in the VRAM. The area is written sequentially.
[0078]
In steps 1162 to 1168, referring to the contents of the C register, a process for displaying a symbol representing a blue symbol or a variable symbol between the sub display column a1 and the sub display column b1 is performed.
[0079]
First, in
[0080]
In step 1164, the Y coordinate corresponding to the note number stored in the area [l] [0] of the C register is read from the pitch / Y coordinate conversion table shown in FIG. “#” Or “♭”) is set as the Y coordinate to be displayed. In the following step 1165, the X coordinate correction value corresponding to the line number stored in the area [l] [1] in the sub display column a1 (or b1) is read from the correction value conversion table shown in FIG. In the next step 1166, the X coordinate for displaying the symbol is set by adding the correction value read in step 1165 to the X coordinate of the sub display column b1, and the image data of the symbol is set according to the XY coordinate determined thereby. Are stored in the VRAM area. Thereafter, the process proceeds to step 1167.
[0081]
In
[0082]
Symbol image data for clearly indicating the pitch of the black key pressed by the user by repeatedly executing the processing loop formed in steps 1163 to 1168 until the determination in step 1168 becomes YES. Are sequentially written into the VRAM area.
[0083]
In step 1169 of FIG. 16 in which the determination in step 1149 is NO and the process proceeds, it is determined whether or not the value of the variable t is two. If 2 is assigned to the variable t, the determination is yes and the process moves to step 1170. Otherwise, the determination is no and the process moves to step 1189 in FIG.
[0084]
The fact that 2 is assigned to the variable t means that the number of display columns of the 嬰 symbol or the variable symbol is 2, and the note heads are displayed side by side in the sub display columns a1 and b1. Therefore, in steps 1170 to 1188, processing for displaying as such is performed. However, since the contents are basically the same as those in
[0085]
On the other hand, shifting to step 1189 in FIG. 17 means that 3 is assigned to the variable t. For this reason, the number of display columns of the 嬰 symbol or variable symbol is 3, and the note heads must be displayed side by side in the sub display columns a3 and b3. For this reason, in
[0086]
In the present embodiment, only the note heads representing the stem sounds are displayed side by side in the sub display row a, and the note heads representing other musical sounds including the derived sounds are displayed side by side in the sub display row b. The musical sound allocation is not limited to this. For example, only the note heads representing the derived sounds may be displayed side by side in the sub display row b, and the note heads representing other musical sounds including the stem sounds may be displayed side by side in the sub display row a.
[0087]
Other than that, for example, as shown in FIG. 18, only one sub display column is prepared behind the basic display column, and when both the stem sound and its derivative sound exist, that is, the adjacent same sound is included. In this case, only the note heads representing the stem sounds may be displayed side by side in the sub display row, and the note heads representing other musical tones including the derived sounds may be displayed side by side in the basic display row. Conversely, note heads may be displayed side by side in the basic display column and the sub display column. In such a case, the natural symbol shown in FIG. 18B can be omitted. Alternatively, as shown in FIG. 20A, only one sub-display column is prepared in front of the basic display column, note heads representing stem sounds are arranged in the sub-display column, and the derived sound is displayed in the basic display column. Note heads representing other musical tones including may be displayed side by side. The note heads arranged in the basic display column and the sub display column may be reversed.
[0088]
As in the present embodiment, when a basic display row and two sub-display rows are prepared, as shown in FIG. 19B, note heads representing derived sounds are arranged in the sub-display row a, The note heads representing the stem sounds may be arranged in the sub-display column b, and the note heads representing other musical sounds may be arranged and displayed in the basic display column. As shown in FIG. 20B, the note heads arranged in the sub display columns a and b may be reversed. Alternatively, as shown in FIG. 19 (c), only the note heads representing the derived sounds are arranged in the sub display column a, and the note heads representing other musical sounds including the stem sounds are arranged and displayed in the sub display column b. Also good. As described above, the present invention can be variously modified.
[0089]
In the present embodiment, the key pressed by the user is displayed in the form of a musical score, but the musical score may be displayed for performance data such as a standard MIDI file. When performance data is targeted, for example, a chord may be determined based on the sounding start timing of each musical sound, and the constituent sounds may be displayed as a score as described above. In the present embodiment, the present invention is applied to a score display device mounted on an electronic musical instrument, but a score display device to which the present invention can be applied is not limited thereto.
[0090]
The program for realizing the above-described operation may be distributed by being recorded on a recording medium such as a CD-ROM, a floppy disk, or a magneto-optical disk. Alternatively, part or all of the program may be distributed using a communication line such as a public network. In such a case, the user can apply the present invention to the device by acquiring the program and loading it into an arbitrary score display device or a data processing device such as a computer. Therefore, the recording medium may be accessible by a device that distributes the program.
[0091]
【The invention's effect】
As described above, in the present invention, when displaying a musical score as a musical sound for simultaneously generating a stem sound and its derivative sound, the present invention is divided into at least the stem sound and the derivative sound, and the direction along the line constituting the score. By changing the upper position, a note head representing a stem sound and a note head representing a derivative sound thereof are displayed, and a 嬰 symbol or a strange symbol is displayed according to the display position of the note head. As a result, the note head is displayed for each musical tone to be generated, and symbols such as 嬰 symbols and odd symbols to be attached to the note head are displayed for each note head. Therefore, it is possible to display the score in a form that is easy for the user to recognize.
[Brief description of the drawings]
FIG. 1 is a diagram showing an external appearance of an electronic musical instrument equipped with a score display device according to an embodiment.
FIG. 2 is a circuit configuration diagram of an electronic musical instrument equipped with a score display device according to the present embodiment.
FIG. 3 is a diagram for explaining an example of ROM mapping;
FIG. 4 is a diagram illustrating an example of RAM mapping;
FIG. 5 is a diagram for explaining a content example of a B register and a method of operating the content;
FIG. 6 is a diagram illustrating an example of contents of an A register.
FIG. 7 is a diagram illustrating an example of contents of a C register.
FIG. 8 is a diagram illustrating an example of data stored in a storage area for a variable t.
FIG. 9 is a diagram illustrating a score display method according to the present embodiment.
FIG. 10 is a diagram illustrating an example of a score display according to a situation.
FIG. 11 is an operation flowchart of a score display process.
FIG. 12 is an operation flowchart of a score display process (continued 1).
FIG. 13 is an operation flowchart of a score display process (continued 2).
FIG. 14 is an operation flowchart of a score display process (continued 3).
FIG. 15 is an operation flowchart of a score display process (continued 4).
FIG. 16 is an operation flowchart of a score display process (continuation 5).
FIG. 17 is an operation flowchart of a score display process (continuation 6).
FIG. 18 is a diagram for explaining another musical score display method (part 1);
FIG. 19 is a diagram for explaining another musical score display method (part 2);
FIG. 20 is a diagram for explaining another musical score display method (part 3);
FIG. 21 is a diagram showing an example of chord notation (part 1);
FIG. 22 is a diagram showing an example of chord notation (part 2);
FIG. 23 is a diagram showing a conventional score display example (No. 1).
FIG. 24 is a diagram showing a conventional score display example (No. 2).
[Explanation of symbols]
101 keyboard
102 Liquid crystal display
201 CPU
202 ROM
203 RAM
Claims (4)
同じタイミングで入力された楽音の音高を表す音高データを取得する音高データ取得手段と、
前記音高データ取得手段が取得した音高データが表す音高を、当該取得した音高データの中にその派生音がある幹音と、派生音がない幹音と、派生音とに分類する音高分類手段と、
前記音高分類手段により分類された音高データに前記派生音がある幹音が存在しない場合、前記取得された全ての音高データが表わす音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置を予め定められたひとつの位置に設定し、前記派生音がある幹音が存在する場合、当該派生音がある幹音の音高を示す符頭及びそれ以外の音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置の夫々を異なる位置に設定する符頭表示位置設定手段と、
前記符頭表示位置設定手段が設定した符頭の表示位置に基づいて、前記派生音の種類を表すシンボルの表示位置を設定するシンボル表示位置設定手段と、
前記符頭表示位置設定手段、及び前記シンボル表示位置設定手段がそれぞれ設定した表示位置に従って、前記符頭、及び前記派生音の種類を表すシンボルを配置して前記楽譜を表示させる楽譜表示手段と、
を具備したことを特徴とする楽譜表示装置。A device for displaying a score by placing symbols such as note heads, 嬰 symbols, or strange symbols on a staff score,
Pitch data acquisition means for acquiring pitch data representing the pitch of a musical tone input at the same timing ;
The pitches represented by the pitch data acquired by the pitch data acquisition unit are classified into a stem tone having the derived sound in the acquired pitch data, a stem tone having no derived sound, and a derived sound. Pitch classification means;
When there is no stem sound with the derived sound in the pitch data classified by the pitch classification means, the musical score of the note head indicating the pitch represented by all the acquired pitch data is formed. When the display position in the direction along the line is set to one predetermined position, and there is a stem sound with the derivative sound, the note head indicating the pitch of the stem sound with the derivative sound and the others Note head display position setting means for setting each of the display positions on the direction along the line constituting the musical score of the note head indicating the pitch of the note head to different positions ;
Symbol display position setting means for setting a display position of a symbol representing the type of the derived sound based on the display position of the note head set by the note head display position setting means;
Musical score display means for displaying the musical score by arranging symbols representing the types of the note head and the derived sound according to the display positions set by the note head display position setting means and the symbol display position setting means, respectively.
A musical score display device comprising:
ことを特徴とする請求項1記載の楽譜表示装置。The note head display position setting means sets the display position in the direction along the line in the note head showing the pitch of the stem sound with the derived sound to be higher than that of the note head showing the other pitches. Set forward in the progress of the performance,
The musical score display device according to claim 1.
ことを特徴とする請求項1記載の楽譜表示装置。The Noteheads display position setting means, a distance on a direction along the line between the note head showing the pitch of the note head showing the pitch of natural sign there is the derived sound the other, is the classification depending on the number of derived sounds changing,
The musical score display device according to claim 1 .
同じタイミングで入力された楽音の音高を表す音高データを取得する音高データ取得手段と、
前記音高データ取得手段が取得した音高データが表す音高を、当該取得した音高データの中にその派生音がある幹音と、派生音がない幹音と、派生音とに分類する音高分類手段と、
前記音高分類手段により分類された音高データに前記派生音がある幹音が存在しない場合、前記取得された全ての音高データが表わす音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置を予め定められたひとつの位置に設定し、前記派生音がある幹音が存在する場合、当該派生音がある幹音の音高を示す符頭及びそれ以外の音高を示す符頭の前記譜線譜を構成する線に沿った方向上の表示位置の夫々を異なる位置に設定する符頭表示位置設定手段と、
前記符頭表示位置設定手段が設定した符頭の表示位置に基づいて、前記派生音の種類を表すシンボルの表示位置を設定するシンボル表示位置設定手段と、
前記符頭表示位置設定手段、及び前記シンボル表示位置設定手段がそれぞれ設定した表示位置に従って、前記符頭、及び前記派生音の種類を表すシンボルを配置して前記楽譜を表示させる楽譜表示手段と、
を実現させるプログラムを記録した記録媒体。A recording medium that can be read by a device that displays a score by placing symbols such as note heads, 嬰 symbols, or odd symbols on a staff score,
Pitch data acquisition means for acquiring pitch data representing the pitch of a musical tone input at the same timing;
The pitches represented by the pitch data acquired by the pitch data acquisition unit are classified into a stem tone having the derived sound in the acquired pitch data, a stem tone having no derived sound, and a derived sound. Pitch classification means;
When there is no stem sound with the derived sound in the pitch data classified by the pitch classification means, the musical score of the note head indicating the pitch represented by all the acquired pitch data is formed. When the display position in the direction along the line is set to one predetermined position, and there is a stem sound with the derivative sound, the note head indicating the pitch of the stem sound with the derivative sound and the others Note head display position setting means for setting each of the display positions on the direction along the line constituting the musical score of the note head indicating the pitch of the note head to different positions;
Symbol display position setting means for setting a display position of a symbol representing the type of the derived sound based on the display position of the note head set by the note head display position setting means;
Musical score display means for displaying the musical score by arranging symbols representing the types of the note head and the derived sound according to the display positions set by the note head display position setting means and the symbol display position setting means, respectively.
The recording medium which recorded the program which realizes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000137567A JP3899778B2 (en) | 2000-05-10 | 2000-05-10 | Music score display device and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000137567A JP3899778B2 (en) | 2000-05-10 | 2000-05-10 | Music score display device and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001318669A JP2001318669A (en) | 2001-11-16 |
JP3899778B2 true JP3899778B2 (en) | 2007-03-28 |
Family
ID=18645319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000137567A Expired - Fee Related JP3899778B2 (en) | 2000-05-10 | 2000-05-10 | Music score display device and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3899778B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4613488B2 (en) * | 2003-12-03 | 2011-01-19 | ヤマハ株式会社 | Music score display device and music score display control program |
JP4547719B2 (en) * | 2005-11-24 | 2010-09-22 | カシオ計算機株式会社 | Music score display device and music score display program |
JP2007316666A (en) * | 2007-08-08 | 2007-12-06 | Casio Comput Co Ltd | Musical score display device and musical score display program |
JP5672905B2 (en) * | 2010-09-28 | 2015-02-18 | ヤマハ株式会社 | Winding instrument sounding mode notification control apparatus and program |
-
2000
- 2000-05-10 JP JP2000137567A patent/JP3899778B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001318669A (en) | 2001-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5604322A (en) | Automatic performance apparatus with a display device | |
JP6988343B2 (en) | Singing voice editing support method and singing voice editing support device | |
JP4211672B2 (en) | Performance data creation device and program | |
JPH11296166A (en) | Note display method, medium recording note display program, beat display method and medium recording beat display program | |
JP2005265903A (en) | Keyed instrument | |
JP2006276333A (en) | Electronic musical instrument and velocity display program | |
US6538188B2 (en) | Electronic musical instrument with display function | |
JPS6157640B2 (en) | ||
JP3899778B2 (en) | Music score display device and recording medium | |
JP3980888B2 (en) | Electronic musical instruments | |
JP3497940B2 (en) | Electronic musical instrument display | |
JPH1039864A (en) | Electronic musical instrument and its display device | |
JP2000338965A (en) | Display method and display device for midi data, and music displayed with midi data | |
JP2003114674A (en) | Playing information display device and program | |
JP3972899B2 (en) | Music score display device | |
JP3717651B2 (en) | Lyric display device, computer-readable recording medium applied to the device, and lyrics display method | |
JP2006267667A (en) | Device for displaying musical note information and program | |
JP4402853B2 (en) | Performance data generation method and electronic keyboard instrument | |
JP4093000B2 (en) | Storage medium storing score display data, score display apparatus and program using the score display data | |
JP4093001B2 (en) | Storage medium storing score display data, score display apparatus and program using the score display data | |
JP2003108119A (en) | Playing information display device and program | |
JP2859756B2 (en) | Music information processing apparatus and music information processing method | |
JPH1124648A (en) | Data display method, data display device, musical score display method and musical score display device | |
JP2016143028A (en) | Control device, program, and electronic musical instrument | |
JP4281636B2 (en) | Music amusement device and computer program applied to the device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050714 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060815 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061012 |
|
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: 20061205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061218 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110112 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110112 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120112 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |