JP7851546B2 - Music performance device using a mobile device - Google Patents
Music performance device using a mobile deviceInfo
- Publication number
- JP7851546B2 JP7851546B2 JP2021211751A JP2021211751A JP7851546B2 JP 7851546 B2 JP7851546 B2 JP 7851546B2 JP 2021211751 A JP2021211751 A JP 2021211751A JP 2021211751 A JP2021211751 A JP 2021211751A JP 7851546 B2 JP7851546 B2 JP 7851546B2
- Authority
- JP
- Japan
- Prior art keywords
- performance
- data
- leader
- musical score
- image
- 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.)
- Active
Links
Landscapes
- Auxiliary Devices For Music (AREA)
- Electrophonic Musical Instruments (AREA)
Description
本発明は、スマートフォン等の携帯端末機器を用いた音楽演奏装置に関するものである。 This invention relates to a music playback device using a mobile device such as a smartphone.
従来よりたとえば特許文献1で示されるようにロール紙等に音符を表現する線を印刷記録して楽譜とし、このロール紙等の移動を撮影、記録あるいはそれ以外の方法により作成したデジタル動画データから、連続して静止画像を切り出して入力とする画像入力手段と、入力された静止画像から画像処理により記録されている音符を検出する画像処理手段とを設けることにより、検出した音符に基づいて対応する音符の音を出して前記楽譜を演奏するという自動演奏ピアノを模擬した音楽演奏玩具が知られている。 Conventionally, as shown in Patent Document 1, for example, there are known musical toys that simulate an automatic piano. These toys involve printing lines representing musical notes onto a roll of paper or the like to create a musical score, and then using an image input means to take still images as input from digital video data created by photographing, recording, or other methods of capturing the movement of this roll of paper. An image processing means is also provided to detect the recorded musical notes from the input still images through image processing. Based on the detected notes, the toy plays the musical score by producing sounds corresponding to the notes.
さらにこの玩具の発展形として、特許文献2で示されるように携帯端末機器等の電子装置において、一接触点によるジェスチャー・イベントとして認識されるタッチパネル上の回転操作からジェスチャーの回転速度を検出し、検出した回転速度から演奏用の楽譜の演奏位置を決定し、決定した演奏位置情報に基づいて同楽譜を演奏するための方法、装置が知られている。 Furthermore, as an advanced form of this toy, as shown in Patent Document 2, a method and apparatus are known for electronic devices such as mobile terminals that detect the rotation speed of a gesture from a rotation operation on a touch panel recognized as a gesture event at a single contact point, determine the performance position of a musical score based on the detected rotation speed, and perform the musical score based on the determined performance position information.
特許文献2で示されるような携帯端末機器上に実装される方法・装置であれば気軽にこれを持ち寄って、複数人で複数の装置を使った演奏、すなわち合奏をすることが考えられる。そこで実際に合奏を行ってみると、各演奏者の携帯端末のディスプレイ上に表示されるのは、特許文献2の第1図および第7図で開示されているように、演奏者自身のジェスチャーの回転速度に従って画面上から下へ移動する位置と長さの異なる細い線がだけであり、演奏者自身が楽譜のどの部分を演奏しているのかがわかりにくく、一般的な合奏で行われるように合奏のリーダーを決めて他の演奏者(合奏のメンバーと呼ぶ)はリーダーの演奏を耳で聞いて演奏者自身の演奏のタイミングや速度を合わせようとしても正確に合わせることは困難であった。 If a method or device implemented on a mobile terminal device, as shown in Patent Document 2, is implemented, it is conceivable that multiple people could easily bring these devices together and perform music using multiple devices, i.e., play in an ensemble. However, when actually performing in an ensemble, the only things displayed on each performer's mobile terminal display are thin lines of varying positions and lengths that move from top to bottom of the screen according to the rotation speed of the performer's own gestures, as disclosed in Figures 1 and 7 of Patent Document 2. This makes it difficult for the performers to understand which part of the musical score they are playing, and even if a leader is designated and the other performers (referred to as ensemble members) try to match the timing and speed of their own playing by listening to the leader's performance, as is done in typical ensembles, it is difficult to accurately synchronize.
一方現在においては、ネットワーク技術の普及により複数の演奏者が離れた場所にいてもネットワークの通信機能を利用して合奏を行う技術が知られている。 On the other hand, with the widespread use of network technology, techniques are now known that allow multiple musicians to perform together using network communication functions, even when they are located in different places.
例えば特許文献3によれば、ネットワークを介した複数人による合奏および自動演奏に関する技術が開示されており、これは演奏制御ユニットを用いて少なくとも1つの演奏パートと必要な自動演奏パートを選択してネットワークによる合奏を実現するする技術である。 For example, Patent Document 3 discloses a technology relating to ensemble and automated performance by multiple people via a network. This technology uses a performance control unit to select at least one performance part and necessary automated performance parts to realize ensemble performance over a network.
また特許文献4によれば、指定された電子楽器の制御情報をネットワークを介して伝送し、送られてきた他のロケーションの電子楽器の演奏状態をディスプレイに表示する技術が開示されている。 Furthermore, Patent Document 4 discloses a technology for transmitting control information of a designated electronic musical instrument via a network and displaying the performance status of electronic musical instruments at other locations on a display.
さらに特許文献5、特許文献6、特許文献7においてもネットワーク機能によるリアルタイムの合奏システムに関する技術が開示されている。 Furthermore, Patent Documents 5, 6, and 7 also disclose technologies related to real-time ensemble systems using network functions.
また特許文献8、特許文献9においてはネットワーク機能によるリアルタイムの合奏を行った場合のネットワーク通信によって生じる演奏のディレーを補正する方法について開示されている。 Furthermore, Patent Documents 8 and 9 disclose methods for correcting performance delays caused by network communication during real-time ensemble performances using network functionality.
特許文献10、特許文献11においては、ネットワーク機能によるリアルタイムの合奏を行う場合のタイミングをあわせる方法として、運動状態を予測し、予測された運動状態に従って演奏情報を生成したり、他の装置から入力した操作情報などを視覚/聴覚以外の情報によって報知動作を行う技術が開示されている。 Patent documents 10 and 11 disclose a method for coordinating timing when performing real-time ensemble playing using network functions. This method involves predicting movement states, generating performance information according to the predicted movement states, and providing notification actions using information other than visual/auditory signals, such as operation information input from other devices.
また特許文献12においては、複数のレイヤに一般的な五線譜の楽譜を表示し、レイヤ毎に音符等の様々な要素毎に表示態様を設定し、各レイヤを重ね合わせて表示することにより、多彩な表示を行う技術が開示されている。 Furthermore, Patent Document 12 discloses a technique for displaying diverse musical scores by displaying a standard five-line staff on multiple layers, setting display modes for various elements such as musical notes on each layer, and overlaying the layers.
一方、アップル社からは Apple Multipeer Connectivity (以下、Multipeer Connectivityと略す)と呼ばれるフレームワークが提供されており、これはWi-FiネットワークおよびBluetoothパーソナルエリアネットワークにより、近隣の端末機器が提供しているサービスを発見し、それらのサービスを介してメッセージベースのデータ通信やファイル転送等を実行することを可能とする仕組みであり、これを利用すればで特許文献2で開示される技術を用いて合奏のリーダーとして演奏をしている特定の端末機器(以後リーダー端末機器と呼ぶ)上の楽譜の演奏位置情報を他の少なくとも1つの端末機器(以後メンバー端末機器と呼ぶ)にデータ通信によって送信することが可能である。 On the other hand, Apple provides a framework called Apple Multipeer Connectivity (hereinafter abbreviated as Multipeer Connectivity), which is a mechanism that enables the discovery of services provided by nearby terminal devices via Wi-Fi networks and Bluetooth personal area networks, and enables message-based data communication and file transfers through those services. Using this, it is possible to transmit performance position information of a musical score on a specific terminal device (hereinafter referred to as the leader terminal device) that is playing as the leader of an ensemble, using the technology disclosed in Patent Document 2, to at least one other terminal device (hereinafter referred to as the member terminal device) via data communication.
一方メンバー端末機器においては、前記Multipeer Connectivityフレームワークを利用した通信手段によりリーダー端末機器の楽譜の演奏位置情報を受信し、受信した楽譜の演奏位置情報に基づいて自端末機器内に格納された楽譜を演奏する事が可能となるので、この方法によれば特許文献3によって示された演奏制御ユニットを用いることなく演奏パートと自動演奏パートによる合奏が可能となる。なおこのネットワークを介したデータ通信に利用される演奏位置データは、後述するように1つの値で表現できる単純なもので、特許文献5、特許文献6、特許文献7で示されるようなフレーズや音声情報といった複雑なデータを必要としない。 On the other hand, member terminal devices receive performance position information of the sheet music from the reader terminal device via a communication means utilizing the Multipeer Connectivity framework. Based on the received performance position information, they can play the sheet music stored within their own terminal device. Therefore, this method enables ensemble playing between the performance part and the automated performance part without using the performance control unit described in Patent Document 3. Furthermore, the performance position data used for data communication over this network is a simple data that can be represented by a single value, as described later, and does not require complex data such as phrases or audio information as shown in Patent Documents 5, 6, and 7.
また同ネットワークを介した通信に利用されるデータはリーダー端末機器からメンバー端末機器に対しての一方向の情報だけなので、ネットワークの通信によって生じるディレーは一方向のみであり、メンバー端末機器内には自身の演奏する楽譜が格納されているので、受信したリーダー端末機器の楽譜の演奏位置に対してメンバー端末機器で演奏する楽譜の演奏位置を通信によるディレー分だけ早めることにより、特許文献8および特許文献9で示されるような技術を用いることなく、ネットワークの通信によって生じる演奏のディレーを補正することが可能となる。 Furthermore, since the data used for communication via this network is only one-way information from the reader terminal device to the member terminal devices, the delay caused by network communication is only in one direction. Because the member terminal devices store their own musical scores, by adjusting the performance position of the score played by the member terminal device to be ahead of the performance position of the score received by the reader terminal device by the amount of the communication delay, it becomes possible to compensate for the performance delay caused by network communication without using techniques such as those described in Patent Documents 8 and 9.
なお、リーダー端末機器が例えばBluetooth接続による外部スピーカーを利用して音を出す場合などに、演奏によるネットワーク通信のディレーよりもリーダー端末機器から外部スピーカーへのデータ転送のディレーのほうが長くなってしまうような場合もあるが、このような場合でも本発明によればメンバー端末機器で演奏する楽譜の読み出し位置を遅く設定にすることにより対応可能である。 Furthermore, in cases where the reader terminal device outputs sound using, for example, an external speaker via Bluetooth connection, the delay in data transfer from the reader terminal device to the external speaker may be longer than the delay in network communication due to the performance. However, even in such cases, the present invention can address this by setting a slower reading position for the musical score played by the member terminal device.
このようにして、リーダー端末機器の演奏に合わせて各メンバー端末機器の演奏のタイミングと速度を自動的に合わせることは可能となったが、それでもメンバー端末機器の演奏者がリーダー端末機器の演奏に合わせて容易に手動で演奏を可能とするという目的は達せられていない。 In this way, it became possible to automatically synchronize the timing and speed of each member terminal's performance with the leader terminal's performance. However, the objective of allowing member terminal players to easily manually synchronize their performance with the leader terminal's performance has not yet been achieved.
また特許文献10、特許文献11で示された技術では、ネットワーク機能によるリアルタイムの合奏を行う場合のタイミングをあわせる方法として運動状態を予測する手段や、他の装置から入力した操作情報などを視覚/聴覚以外の情報によって報知するための報知手段が必要で、装置を複雑化してしまう欠点があり、より簡易な方法で実現する方法が求められる。 Furthermore, the technologies described in Patent Documents 10 and 11 require means to predict movement states and means to notify users of operation information input from other devices using information other than visual/auditory signals, in order to synchronize timing when performing real-time ensemble playing using network functions. This has the drawback of complicating the device, and a simpler method of implementation is needed.
さらに、特許文献12では複数のレイヤを使って一般的な五線譜の楽譜を表示し各レイヤを重ね合わせて表示する技術が開示されているが、例えこの技術を用いてリーダー端末機器の演奏の様子をメンバー端末機器上で同端末機器における演奏の様子を重ね合わせて表示したとしても、既に述べたように本発明が対象としている携帯端末のディスプレイ上に表示されるものは画面上から下へ移動する位置と長さの異なる細い線だけであり、通常リーダーの演奏する楽譜とメンバーの演奏する楽譜は異なっているので、リーダーの演奏に対してメンバーの演奏のタイミングと速度が合っているのかずれているのかをメンバーが視覚的に認識するのに十分ではなかった。 Furthermore, while Patent Document 12 discloses a technique for displaying a standard musical score using multiple layers and overlaying them, even if this technique is used to overlay the leader terminal's performance onto a member terminal's performance, as already mentioned, the only things displayed on the mobile terminal's display, which is the subject of this invention, are thin lines of varying positions and lengths moving from top to bottom of the screen. Since the leader's score and the members' scores are usually different, this technique was insufficient for members to visually recognize whether their timing and speed were in sync with or out of sync with the leader's performance.
本発明が解決しようとする課題は、電子的に表現された楽譜データを読み出す楽譜入力手段と、演奏者の演奏に伴って発生する演奏イベントを検出するイベント検出手段と、イベント検出手段によって検出したイベントから前記楽譜データの演奏位置を決める演奏位置決定手段を備えた複数の携帯端末機器等の音楽演奏装置を用いて合奏を行う場合に、合奏のリーダーとして設定された装置における演奏に対して容易に合奏のメンバーとして設定された装置がタイミングを合わせて演奏可能とする方法、装置を提供することである。
The problem that the present invention aims to solve is to provide a method and apparatus that enables multiple portable terminal devices or the like to easily synchronize their performance with the performance of a device set as the leader of the ensemble when performing together using a music performance device that includes a music score input means for reading electronically represented music score data, an event detection means for detecting performance events that occur in conjunction with a performer's performance, and a performance position determination means for determining the performance position of the music score data from the events detected by the event detection means.
本発明は、リーダー設定手段により合奏のリーダーとして設定された1台の装置においては演奏位置決定手段により決定された演奏位置データを同装置に備えられた通信手段により送信し、前記リーダー設定手段により非リーダーとして設定された少なくとも1台の別の装置においては通信手段により受信された前記演奏位置データを、表示位置決定手段によリファレンスとなる演奏の楽譜データの表示位置として利用し、リファレンスとなる演奏の楽譜データを楽譜画像として連続的に表示する第1の表示手段と、前記非リーダーとして設定された装置における演奏者の演奏に合わせて表示される同楽譜画像を前記リファレンスとなる演奏の楽譜画像が見えるように重ねて連続的かつ前記第1の表示手段とは独立して表示する第2の表示手段を備えることを主要な特徴とする。 The present invention is characterized by comprising: a first display means that, in one device set as the leader of the ensemble by the leader setting means, transmits performance position data determined by the performance position determination means via a communication means provided in the same device; in at least one other device set as a non-leader by the leader setting means, uses the performance position data received by the communication means as the display position of reference performance score data by the display position determination means, and continuously displays the reference performance score data as a score image; and a second display means that displays the score image displayed in accordance with the performance of the performer in the non-leader device, superimposed on the reference performance score image so that it is visible, continuously and independently of the first display means.
本発明によれば、第1の表示手段によりリーダー端末機器から送信されたリーダーによる演奏位置データに基づいて演奏者が演奏すべき楽譜データ画像を連続的に表示するためその表示画像を演奏のレファレンスとすることができ、第2の表示手段により同じ楽譜データによる演奏者自身の演奏による楽譜画像が前記レファレンスとなる楽譜画像に連続的に重ね合わせて表示されることにより、演奏者自身の演奏がレファレンスの演奏と比較してどの程度進んでいるの遅れているのかが視覚的に認識することが可能となる。 According to the present invention, the first display means continuously displays sheet music data images that the performer should play based on performance position data transmitted from the reader terminal device, allowing the displayed images to be used as a reference for the performance. The second display means continuously overlays sheet music images of the performer's own performance using the same sheet music data onto the reference sheet music images, making it possible to visually recognize how far ahead or behind the performer's own performance is compared to the reference performance.
このようにして演奏者自身の演奏がレファレンスの演奏と比較してどの程度進んでいるの遅れているのかが認識できれば、認識の結果を反映して自身の演奏速度を修正し続けることにより、リーダー端末機器の演奏にメンバー端末機器の演奏のタイミングと速度を合わせた合奏が可能となる。 By recognizing how far ahead or behind the reference performance is, and by continuously adjusting their own playing speed based on this recognition, it becomes possible to synchronize the timing and speed of the member terminals' performances with the leader terminal's performance during ensemble playing.
電子的に表現された楽譜データを読み出す楽譜入力手段と、演奏に伴って発生する演奏イベントを検出するイベント検出手段と、イベント検出手段によって検出したイベントから前記楽譜データの演奏位置を決める演奏位置決定手段を備えた複数の音楽演奏装置を用いて合奏を行う場合に、合奏のメンバーとして設定された装置における演奏のタイミングと速度を、リーダーとして設定された装置における演奏に容易に合わせて演奏可能とする方法、装置を提供するという目的を、リーダー設定手段により合奏のリーダーとして設定された1台の装置においては演奏位置決定手段により決定された演奏位置データを同装置に備えられた通信手段により送信し、前記リーダー設定手段により非リーダーとして設定された少なくとも1台の別の装置においては通信手段により受信された前記演奏位置データを、表示位置決定手段によリファレンスとなる演奏の楽譜データの表示位置として利用し、リファレンスとなる演奏の楽譜データを楽譜画像として連続的に表示する第1の表示手段と、前記非リーダーとして設定された装置における演奏者の演奏に合わせて表示される同楽譜データを第1の表示手段により表示された前記リファレンスとなる演奏の楽譜画像が見えるように重ねて連続的かつ前記第1の表示手段とは独立して表示する第2の表示手段を備えることにより実現した。 The objective of providing a method and apparatus for performing an ensemble using multiple musical performance devices, each equipped with a musical score input means for reading electronically represented musical score data, an event detection means for detecting performance events that occur during performance, and a performance position determination means for determining the performance position of the musical score data from the events detected by the event detection means, is to enable the timing and speed of performances by devices set as members of an ensemble to easily match the performance of a device set as the leader. This is achieved by providing a first display means that continuously displays the reference musical score data as a musical score image, and a second display means that continuously displays the musical score data displayed in accordance with the performance of the performer in the device set as the leader, overlaid on the reference musical score image displayed by the first display means, so that it is visible.
図1は、第1の実施方法において本発明の装置が合奏のリーダーとして動作している時の状態を示した説明図であり、100はスマートフォン本体、101は液晶パネルによる画像出力部である。同液晶パネルはタッチパネルになっており、ユーザー操作による情報入力部102も兼ねている。1011の破線の枠で示される部分はスマートフォン本体内にある第1の楽譜入力手段から適宜読み出されて、演奏の進行に応じて楽譜の移動する様子をリアルタイムに表示する楽譜画像表示部である。1020の破線は演奏位置を示す仮想的なタイミング線であり、音符がその線上にあるときに音が出るということを表す。2005、2006、2007で示される黒線(他にも同様の黒線があるが説明上省略する)は前記楽譜画像における音符である。2010、2011は同パネル101上に表示された音符の位置検出用に楽譜画像の両端に記録されたマーカー線である。なおこのマーカー線は本実施例においては後述する画像処理手段において利用されるが、デジタルに記録された楽譜を利用して音符の音を出すためには必須のものではない。1012の破線の枠で示される部分は鍵盤表示部で、演奏位置に音符がある場合には、音符に対応する鍵盤が押されたことを示すために白鍵、黒鍵それぞれの色を灰色に変えて表示する。また演奏位置にあった音符が時間経過に伴い移動してなくなった場合には、音符に対応する鍵盤が放されたことを示すために白鍵、黒鍵それぞれの色を元の色に変えて表示する。300は液晶パネル101上でジェスチャー操作をするための一本の指であり301はその指300による回転のジェスチャーの様子を模擬的に示した矢印である。指300を矢印301の方向に回転させると、その回転速度に応じて2005、2006、2007で示される黒線の音符が矢印302の方向に移動し、演奏位置である仮想的なタイミング線1020上に音符が来るとその音を出し、タイミング線1020上から音符が外れるとその音を止めることにより演奏が実現する。3000はデータ通信手段によって本装置が合奏のメンバーとしている装置と通信を行っていることを模式的に表したもので、本実施例においてはジェスチャー操作による演奏進行に伴う演奏位置情報を送信している。 Figure 1 is an explanatory diagram showing the state when the device of the present invention is operating as the leader of an ensemble in the first method of implementation, where 100 is the smartphone body and 101 is the image output unit using a liquid crystal panel. The liquid crystal panel is a touch panel and also serves as an information input unit 102 for user operation. The area indicated by the dashed frame 1011 is a musical score image display unit that is read appropriately from the first musical score input means in the smartphone body and displays the movement of the musical score in real time according to the progress of the performance. The dashed line 1020 is a virtual timing line indicating the performance position, and it indicates that a sound is produced when the note is on that line. The black lines indicated by 2005, 2006, and 2007 (there are other similar black lines, but they are omitted for explanation) are musical notes in the musical score image. 2010 and 2011 are marker lines recorded at both ends of the musical score image for detecting the position of the notes displayed on the panel 101. In this embodiment, these marker lines are used in the image processing means described later, but they are not essential for producing sound from notes using digitally recorded sheet music. The area indicated by the dashed frame 1012 is the keyboard display section. When there is a note at the playing position, the white and black keys are displayed in gray to indicate that the corresponding key has been pressed. When the note that was at the playing position moves away over time, the white and black keys are displayed in their original colors to indicate that the corresponding key has been released. 300 is a single finger used for gesture operation on the liquid crystal panel 101, and 301 is an arrow that simulates the rotational gesture made by that finger 300. When finger 300 is rotated in the direction of arrow 301, the notes indicated by the black lines 2005, 2006, and 2007 move in the direction of arrow 302 according to the rotation speed. When a note lies on the virtual timing line 1020, which represents the performance position, it produces a sound. When a note moves off the timing line 1020, the sound stops, thus achieving performance. 3000 schematically represents the communication between this device and other devices that are members of the ensemble via data communication. In this embodiment, it transmits performance position information corresponding to the performance progress via gesture control.
図2は、第1の実施方法における本発明の装置が合奏のメンバーとして動作している時の状態を示した説明図である。装置自体は図1と共通なので物理的な構成は同じであるが、動作が異なるため液晶パネル101上の破線の枠で示される楽譜画像表示部1011に表示される画像が図1と異なっている。また3000は図1と同様にデータ通信手段によって本装置が合奏のリーダーとしている装置と通信を行っていることを模式的に表したもので、ここでは合奏のリーダーとしている他の装置が送信した演奏位置情報を受信している。2001、2002、2003で示される黒線は、合奏のリーダーとしている他の装置から受信した演奏位置情報に基づいて第2の楽譜入力手段から適宜読み出されて表示されるリファレンスとなる楽譜画像上の音符であり、2001-2、2002-2、2003-2で示される白線は指300による回転のジェスチャー操作に基づいて第1の楽譜入力手段から適宜読み出されて表示される演奏者の演奏する楽譜画像上の音符であり、元の楽譜画像を白黒反転させ透明度を75%として前記リファレンスとなる楽譜画像の上に重ねて表示されている。黒線と白線の両者は演奏の進行に従ってそれぞれ矢印302の方向に移動するが、その進行のきっかけとなるイベントが前者は合奏のリーダーとして動作している装置からデータ通信手段によって受信される演奏位置情報であり、後者は演奏者自身のジェスチャー操作に基づくイベントであるのでお互いに独立した表示となり、演奏位置である仮想的なタイミング線1020上に後者の白線で表される音符が来るとその音を出し、タイミング線1020上から同音符が外れるとその音を消すことにより合奏のメンバーとしての演奏が実現する。 Figure 2 is an explanatory diagram showing the state of the device of the present invention when it is operating as a member of an ensemble in the first method of implementation. The device itself is the same as in Figure 1, so the physical configuration is the same, but because the operation is different, the image displayed on the score image display unit 1011, indicated by the dashed frame on the liquid crystal panel 101, is different from that in Figure 1. Also, 3000 schematically represents that this device is communicating with the device acting as the leader of the ensemble via a data communication means, similar to Figure 1, and in this case, it is receiving performance position information transmitted by the other device acting as the leader of the ensemble. The black lines shown in 2001, 2002, and 2003 are notes on a reference score image that are appropriately read and displayed by the second score input means based on performance position information received from another device acting as the leader of the ensemble. The white lines shown in 2001-2, 2002-2, and 2003-2 are notes on a score image played by a performer that are appropriately read and displayed by the first score input means based on a rotational gesture operation by finger 300. These are displayed by inverting the original score image to black and white and setting its transparency to 75%, overlaying it on top of the reference score image. Both the black and white lines move in the direction of arrow 302 as the performance progresses. However, the events that trigger their movement are independent: the former is performance position information received via data communication from a device acting as the leader of the ensemble, while the latter is an event based on the performer's own gestures. Therefore, when a note represented by the white line lies on the virtual timing line 1020 (the performance position), the sound is produced; when the note moves off the timing line 1020, the sound is silenced, thus realizing the performer's participation in the ensemble.
図3は、本発明装置の同実施例のハードウェアおよびソフトウェアを示す構成図である。1はCPU(中央処理ユニット)であり、不揮発性メモリ(図示せず)に記憶されたプログラムに従って各種手段における各種処理を行なうことにより本発明を実現する。2は本発明装置が合奏のリーダーとして動作するのかあるいは合奏のメンバー(非リーダー)として動作するのかを設定するリーダー設定手段であり、装置の各種動作設定画面(図示せず)から設定され、その設定は不揮発性メモリ(図示せず)に記憶される。3は本実施例における演奏イベント検出手段であるジェスチャー・イベント検出手段(略してジェスチャー検出手段)であり、前述のタッチパネル102上の指300による回転ジェスチャーを認識し、一定の時間間隔でタッチパネル102上の指300の位置座標(x,y)を検出する。検出された指300の位置座標(x,y)からCPU1はソフトウェアプログラムにより構成される回転の速度検出手段4により回転の速度を検出する。回転の速度の検出方法については、特許文献2で開示されているのでここでは省略する。 Figure 3 is a configuration diagram showing the hardware and software of an embodiment of the present invention. 1 is the CPU (Central Processing Unit), which realizes the present invention by performing various processes in various means according to a program stored in non-volatile memory (not shown). 2 is a leader setting means for setting whether the present invention's device operates as a leader in an ensemble or as a member (non-leader) of an ensemble. This setting is configured from the device's various operation setting screens (not shown), and the setting is stored in non-volatile memory (not shown). 3 is a gesture event detection means (abbreviated as gesture detection means) which is a performance event detection means in this embodiment. It recognizes a rotational gesture made by a finger 300 on the touch panel 102 and detects the position coordinates (x, y) of the finger 300 on the touch panel 102 at regular time intervals. From the detected position coordinates (x, y) of the finger 300, the CPU 1 detects the rotational speed using a rotational speed detection means 4 configured by a software program. The method for detecting the rotational speed is disclosed in Patent Document 2 and is therefore omitted here.
5も同様にソフトウェアプログラムにより構成される演奏位置決定手段であり、こちらも同様に特許文献2で開示されている方法を用いてCPU1により前記検出された回転の速度から楽譜の演奏位置を決定する。6は不揮発性メモリなどにより構成される装置本体内の楽譜保存手段(図示せず)に電子的に保存された楽譜データから、演奏位置決定手段5により決定された演奏位置に基づいて後述の画像処理手段7あるいは第1の表示手段12あるいは第2の表示手段13に必要なサイズにトリミング(詳細については後述)して楽譜画像データを読み出すための第1の楽譜入力手段である。 Similarly, 5 is a performance position determination means configured by a software program, and similarly, it uses the method disclosed in Patent Document 2 to determine the performance position of the musical score from the rotation speed detected by the CPU 1. 6 is a first musical score input means for reading musical score image data from the musical score data electronically stored in a musical score storage means (not shown) within the device body, which is composed of non-volatile memory, etc., by trimming it to the required size (details will be described later) based on the performance position determined by the performance position determination means 5, and then displaying it to the image processing means 7, the first display means 12, or the second display means 13.
7は画像処理手段であり、第1の楽譜入力手段6により読み出された楽譜画像データから特許文献1および特許文献2で示される方法により演奏タイミング(タイミング線1020上に相当する)にある音符の位置を特定し、特定された位置に音符があるかないかを検出する。11はサウンド出力手段であり、画像処理手段7により検出された演奏タイミングの特定の位置にある音符の有り無しの情報とその履歴から、CPU1による対応する音符の音を出すあるいは止めるという判断に従い、予め設定された音色と音量で対応する音符の音を出したり止めたりする機能を有する。 7 is an image processing means that identifies the position of a note at the performance timing (corresponding to the timing line 1020) from the musical score image data read by the first musical score input means 6 using the method shown in Patent Documents 1 and 2, and detects whether or not a note is present at the identified position. 11 is a sound output means that, based on the information of whether or not a note is present at the specific performance timing position detected by the image processing means 7 and its history, has the function of playing or stopping the sound of the corresponding note with a preset timbre and volume, according to the CPU 1's decision to play or stop the sound of the corresponding note.
8はデータ通信手段であり、本発明装置と同じ構成を持つ複数の装置間でネットワークを介してデータの送受信を行う。例えば、リーダー設定手段2により本装置が合奏のリーダーと設定されている場合に、データ通信手段8は演奏位置決定手段5によって決定された演奏位置を演奏位置データとして逐次合奏のメンバーと設定されている装置に対して送信する。一方、リーダー設定手段2により本装置が合奏のメンバーとして設定されている場合は、リーダーとして設定されている装置から送信される演奏位置データを受信し、そのデータを後述する表示位置決定手段9の入力として利用する。 8 is a data communication means that transmits and receives data via a network between multiple devices having the same configuration as the present invention. For example, when this device is set as the leader of the ensemble by the leader setting means 2, the data communication means 8 transmits the performance position determined by the performance position determination means 5 as performance position data to the devices set as members of the ensemble sequentially. On the other hand, when this device is set as a member of the ensemble by the leader setting means 2, it receives the performance position data transmitted from the device set as the leader and uses that data as input to the display position determination means 9, which will be described later.
9は表示位置決定手段であり、装置が合奏のメンバーとして設定されている場合に、データ通信手段8により受信した合奏リーダーの演奏位置データに基づいて、装置本体内の楽譜保存手段に電子的に保存された楽譜データを自装置内の液晶パネル101に表示させるため利用するものであり、受信した合奏リーダーの演奏位置データがそのまま楽譜データの表示位置となる。10は第1の楽譜入力手段6と同様に、装置本体内の楽譜保存手段に電子的に保存された楽譜データから、表示位置決定手段9により決定された楽譜の表示位置に基づいて後述の第1の表示手段12に必要なサイズにトリミングして画像データを読み出すための第2の楽譜入力手段である。 9 is a display position determination means. When the device is set as a member of an ensemble, it is used to display the sheet music data electronically stored in the sheet music storage means within the device on the LCD panel 101 within the device, based on the performance position data of the ensemble leader received by the data communication means 8. The received performance position data of the ensemble leader directly becomes the display position of the sheet music data. 10, similar to the first sheet music input means 6, is a second sheet music input means for reading image data from the sheet music data electronically stored in the sheet music storage means within the device, after trimming it to the required size for the first display means 12 (described later) based on the display position of the sheet music determined by the display position determination means 9.
12は第1の表示手段であり、リーダー設定手段2での設定に基づき、本装置が合奏のリーダーと設定されている場合には第1の楽譜入力手段6により読み出された楽譜データ画像を、また本装置が合奏のメンバーと設定されている場合には、第2の楽譜入力手段10により読み出された楽譜データ画像を液晶パネル101上の楽譜画像表示部1011にそのまま表示する。 12 is the first display means. Based on the settings in the leader setting means 2, if this device is set as the leader of the ensemble, it displays the musical score data image read by the first musical score input means 6 directly on the musical score image display unit 1011 on the liquid crystal panel 101. If this device is set as a member of the ensemble, it displays the musical score data image read by the second musical score input means 10 directly on the musical score image display unit 1011 on the liquid crystal panel 101.
13は第2の表示手段であり、第1の表示手段の12動作とは独立して動作するもので、リーダー設定手段2での設定に基づき本装置が合奏のメンバーと設定されている場合にのみ、第1の楽譜入力手段10により読み出された楽譜データ画像を、液晶パネル101上の楽譜画像表示部1011に第1の表示手段12によりすでに表示されている画像が見えるように重ねて表示する。 13 is a second display means, operating independently of the operation of the first display means 12. Only when this device is set as a member of the ensemble based on the settings in the leader setting means 2, it overlays the sheet music data image read by the first sheet music input means 10 onto the sheet music image display unit 1011 on the liquid crystal panel 101, so that the image already displayed by the first display means 12 is visible.
図4は本発明装置の同実施例の第1のソフトウェアの動作を示すフローチャートであり、同実施例におけるリーダー設定手段2により本装置が合奏におけるリーダーとして設定されている時の動作を示している。 Figure 4 is a flowchart showing the operation of the first software in this embodiment of the present invention, illustrating the operation when the device is set as the leader in an ensemble performance by the leader setting means 2 in this embodiment.
まずCPU1はステップS1においてジェスチャー検出手段3からジェスチャー・イベントが検出されるのを待つ。本実施例の場合、指300によるジェスチャー操作が始まると、1/60秒の間隔でイベントが発生し、パネル上を指300が最初にタッチした位置を原点O:(x,y)=(0,0)として、以降、指300がパネルから離れるまでの間、原点からの相対座標が毎回検出される。ジェスチャーが検出されればステップS2に進み回転の速度検出手段4によりジェスチャーによる回転の速度を求める。 First, in step S1, the CPU 1 waits for a gesture event to be detected by the gesture detection means 3. In this embodiment, when a gesture operation by finger 300 begins, an event occurs at intervals of 1/60th of a second. The position where finger 300 first touches the panel is set as the origin O: (x, y) = (0, 0), and thereafter, the relative coordinates from the origin are detected each time until finger 300 leaves the panel. Once a gesture is detected, the process proceeds to step S2, where the rotation speed detection means 4 determines the rotation speed caused by the gesture.
ジェスチャー・イベントによる指300のパネル上の位置座標から速度検出手段4による回転の速度を求める方法は特許文献2により開示されているので省略する。 The method for determining the rotation speed by the velocity detection means 4 from the position coordinates of finger 300 on the panel via a gesture event is disclosed in Patent Document 2, so it will be omitted here.
回転の速度検出手段4により指300によるジェスチャー操作による回転の速度が求まれば、CPU1はステップS3において演奏位置決定手段5により演奏位置を決定する。 Once the rotation speed detection means 4 determines the rotation speed resulting from the gesture operation by the finger 300, the CPU 1 determines the performance position using the performance position determination means 5 in step S3.
ここで楽譜をデジタルに表現した楽譜画像について説明する。図5および図6は一般的な楽譜が本発明におけるデジタル楽譜画像としてどのように表現・演奏されるかを説明する図である。図5に示されるものは一般的な楽譜であり、同楽譜中2004,2005,2006,2007,2008で示されるものはそれぞれ音階の異なる4分音符である。また400で示される記号は速度記号であり、これは4分音符を1分間に80回数える速さで演奏することを示している。図6は図5で示された楽譜をデジタル画像に変換した楽譜画像の冒頭部分であり、その座標は右側に正のx軸、上側に正のy軸をとり、図5の401で示される楕円に含まれる音符が2004、2005、2006、2007、2008として示されている。2010、2011は音符の位置検出用にデジタル楽譜画像の両端に記録されたマーカー線である。本実施例においては楽譜画像の幅の画素数は384ピクセル、音符の幅は2ピクセル、隣りの音符との隙間は1ピクセルとしており、85音(=7オクターブ[1オクターブは半音を含めて12音]+1音)を鳴らすことができるので、マーカー線2010と2011の間は256ピクセル=(2+1)×85+1(+1しているのはマーカー線の隙間分)としている。なお本実施例に置いては音符の位置を検出するためにマーカー線2010と2011を楽譜画像上に配置しているが、ある音符がx軸上のどの位置に配置されるのかを予め定めておけば、本マーカー線2010と2011は必須ではない。なお図6は図5で示される楽譜の冒頭部分しか示していないが、実際の楽譜データとしては楽譜全体の画像が装置本体内の楽譜保存手段に電子的に保存されている。 Here, we will explain the musical score image, which is a digital representation of a musical score. Figures 5 and 6 illustrate how a typical musical score is represented and played as a digital musical score image according to the present invention. Figure 5 shows a typical musical score, and the notes 2004, 2005, 2006, 2007, and 2008 in the score are quarter notes of different pitches. The symbol 400 is a tempo marking, which indicates that the score should be played at a speed of 80 quarter notes per minute. Figure 6 is the beginning of the musical score image obtained by converting the musical score shown in Figure 5 into a digital image. Its coordinates are with the positive x-axis on the right and the positive y-axis on the top, and the notes contained in the ellipse shown at 401 in Figure 5 are shown as 2004, 2005, 2006, 2007, and 2008. 2010 and 2011 are marker lines recorded at both ends of the digital musical score image for note position detection. In this embodiment, the width of the musical score image is 384 pixels, the width of each note is 2 pixels, and the gap between adjacent notes is 1 pixel. Since 85 notes (= 7 octaves [1 octave includes 12 notes including semitones] + 1 note) can be played, the space between marker lines 2010 and 2011 is 256 pixels = (2 + 1) × 85 + 1 (the + 1 represents the gap between the marker lines). In this embodiment, marker lines 2010 and 2011 are placed on the musical score image to detect the position of the notes. However, if the position of a given note on the x-axis is predetermined, these marker lines 2010 and 2011 are not essential. Note that Figure 6 only shows the beginning of the musical score shown in Figure 5; however, the actual musical score data is electronically stored in the musical score storage means within the device.
図6における4分音符2004は本実施例においては最低音から3オクターブ上に位置するので、最低音から数えて36音目(=12音×3オクターブ)に相当する。従って図6におけるマーカー線2010との間には、109ピクセル=(2+1)×36+1の間隔が空く。同様に、4分音符2005、2006、2007とマーカー線2010との間にはそれぞれ,115,121、124ピクセルの間隔が空くことになる。 In Figure 6, quarter note 2004 is located three octaves above the lowest note in this embodiment, corresponding to the 36th note (12 notes x 3 octaves) from the lowest note. Therefore, there is a gap of 109 pixels = (2 + 1) x 36 + 1 between it and marker line 2010 in Figure 6. Similarly, there are gaps of 115, 121, and 124 pixels between quarter notes 2005, 2006, and 2007 and marker line 2010, respectively.
また図6における4分音符2004、2005、2006、2007、2008のy軸方向の長さは4分音符の長さに相当しており、本実施例に置いては4分音符2004の始まりから4分音符2005の始まりまでの距離は180ピクセルとしている。同様に2005と2006、2006と2007、2007と2008との距離も180ピクセルとしている。なおここでは図示しないが8分音符であればその長さは半分の90ピクセル、16分音符であれば45ピクセル、2分音符であれば360ピクセルとなる。 Furthermore, in Figure 6, the lengths in the y-axis direction of quarter notes 2004, 2005, 2006, 2007, and 2008 correspond to the length of a quarter note. In this embodiment, the distance from the beginning of quarter note 2004 to the beginning of quarter note 2005 is 180 pixels. Similarly, the distances between 2005 and 2006, 2006 and 2007, and 2007 and 2008 are also 180 pixels. Although not shown here, the length of an eighth note would be half that, 90 pixels; a sixteenth note would be 45 pixels; and a half note would be 360 pixels.
図5における楽譜の演奏は、譜面に従って矢印500で示されるように左から右に向かって進んでいく。一方楽譜画像の場合は、図6の矢印500で示されるように下から上に向かって進んでいく。図5および図6における破線501は演奏位置を示しており、一定の時間間隔でこの破線を矢印500の方向に進めていけば、楽譜および楽譜画像上での演奏が進むことになる。そこで、ジェスチャー・イベントが発生するタイミング(本実施例の場合は1/60秒の間隔)でその時の回転速度に応じて破線501の進む距離を決めるようにする。例えば、本実施例の場合、図5の速度記号400は4分音符を1分間に80回数える速さで演奏することを示しているので、図6のデジタル楽譜画像上では1分間に、14400ピクセル(=180ピクセル×80回)進めば良い。従ってジェスチャー・イベントは1/60秒の間隔で発生するので、速度記号400の指示に従えばジェスチャー・イベント1回の発生に付き、4ピクセル(=14400ピクセル/60秒/60回)進めば良い事がわかる。一方、ステップS2で求めた回転の速度Vは、実測の結果、おおよその平均値が15.0となることがわかっているので、速度Vが15.0のときにピクセル数が4ピクセルとなるように定数Cを求めれば、4ピクセル=15.0×CよりC=4/15.0=0.2667となる。
従って、回転の速度Vの時に進むピクセル数をNとすれば、
Therefore, if N is the number of pixels that move when the rotation speed V,
ステップS3において演奏位置を決定したら、ステップS4に進みステップS3で決定された演奏位置に基づいて第1の楽譜入力手段6から画像データをトリミングして読み出す。ここでトリミングして読み出すとは、演奏位置に基づいた楽譜画像を液晶パネル101上の楽譜表示部1011に表示できるように部分的に読み出すことで、例えば演奏位置が図6の破線501で示される位置であれば、この線を縦方向の中央に置いた縦384ピクセル、横384ピクセルの502の破線で囲まれた部分だけを読み出すことを言う。 After determining the performance position in step S3, the process proceeds to step S4, where image data is trimmed and read from the first score input means 6 based on the performance position determined in step S3. Here, "trimming and reading" means partially reading the score image based on the performance position so that it can be displayed on the score display unit 1011 on the LCD panel 101. For example, if the performance position is indicated by the dashed line 501 in Figure 6, then only the portion enclosed by the dashed line 502 (384 pixels vertically and 384 pixels horizontally), with the dashed line placed vertically in the center, is read.
ステップS4においてトリミングした画像データとして読み出された楽譜データは、次のステップS5において画像処理手段7による画像処理により、ステップS3で求めた演奏位置(図6における破線501上)における85音ある各音符の位置を確定し、各位置における音符の有無を検出する。なお本実施例における画像処理手段7による楽譜データから各音符の位置を確定し、確定した各位置における音符の有無を検出する画像処理の内容については特許文献1に記載されているとおりである。 In step S4, the sheet music data read out as trimmed image data is processed by the image processing means 7 in the next step S5 to determine the position of each of the 85 notes at the performance position (on the dashed line 501 in Figure 6) determined in step S3, and to detect the presence or absence of notes at each position. The details of the image processing performed by the image processing means 7 in this embodiment to determine the position of each note from the sheet music data and to detect the presence or absence of notes at each determined position are as described in Patent Document 1.
ステップS5において検出された各位置における音符の有無の情報に基づいて、ステップS6においてCPU1は記憶手段(図示せず)に記憶してある一つ前のジェスチャー・イベント発生時に検出された各位置における音符の有無の情報とを比較して、新たに各位置における音符が出現したか、あるいは既に出現していた音符が消失したかを判断し、その判断に基づいてサウンド出力手段11に対して各位置に対応する音符の音を予め定められた音色および音量で出すあるいは止めるという指示を行う。 Based on the information detected in step S5 regarding the presence or absence of musical notes at each position, in step S6, the CPU 1 compares this information with the information stored in the memory means (not shown) regarding the presence or absence of musical notes at each position during the previous gesture event to determine whether new musical notes have appeared at each position or whether previously appearing musical notes have disappeared. Based on this determination, the CPU 1 instructs the sound output means 11 to play or stop the sound of the musical note corresponding to each position at a predetermined timbre and volume.
サウンド出力手段11への指示が終了すれば、さらにステップS7に進み、CPU1はステップS4で読み出した楽譜データを第1の表示手段12に渡し、第1の表示手段12は渡された楽譜データ画像を液晶パネル101上の楽譜画像表示部1011にそのまま表示する。 Once the instructions to the sound output means 11 are complete, the process proceeds to step S7. The CPU 1 passes the musical score data read in step S4 to the first display means 12, which then displays the received musical score data image directly on the musical score image display unit 1011 on the liquid crystal panel 101.
最後にステップS8においてCPU1はステップS3において決定された演奏位置を演奏位置データとしてデータ通信手段8を介してネットワークで接続された合奏におけるメンバーとして設定されている本発明装置と同じ構成を持つ複数の他の装置に対して送信する。 Finally, in step S8, the CPU 1 transmits the performance position determined in step S3 as performance position data to multiple other devices having the same configuration as the present invention, which are connected via the data communication means 8 and configured as members of the ensemble.
以上により、ジェスチャー・イベントの発生による一連の処理は終了するので、再びS1に戻り、ジェスチャー検出手段7からジェスチャー・イベントが検出されるのを待つ。 With the above steps complete, the series of processes triggered by the gesture event are finished. The process returns to S1 and waits for the gesture detection means 7 to detect another gesture event.
なお、ステップS8においてデータ通信手段8を介して演奏位置データを送信しているが、音量その他の情報を追加して同時に送信しても構わない。また、ステップS1においてはジェスチャー検出手段3からのジェスチャー・イベントをトリガとして以下のステップが進むようになっているが、例えば1/60秒の間隔で発生するタイマーによるイベントをトリガとし、ステップS2で決定される回転速度を一定として以下のステップを進めても良い。このようにすれば合奏におけるリーダーの演奏は自動演奏とすることができる。 In step S8, performance position data is transmitted via the data communication means 8, but volume and other information may be added and transmitted simultaneously. Furthermore, in step S1, the following steps proceed triggered by a gesture event from the gesture detection means 3, but for example, an event triggered by a timer occurring at 1/60 second intervals may be used, and the following steps may proceed with the rotation speed determined in step S2 remaining constant. In this way, the leader's performance in an ensemble can be automated.
図7は本発明装置の同実施例の第2のソフトウェアの動作を示すフローチャートであり、同実施例におけるリーダー設定手段2により本装置が合奏におけるメンバーとして設定されている場合に、データ通信手段8によりデータを受信した時の動作を示している。 Figure 7 is a flowchart showing the operation of the second software in the same embodiment of the present invention, illustrating the operation when the device is set as a member in an ensemble by the leader setting means 2 in this embodiment, and data is received by the data communication means 8.
まずCPU1はステップS9においてデータ通信手段8からデータが受信されるのを待つ。データ通信手段8によりデータを受信した場合、ステップS10に進み、表示位置決定手段9により受信したデータから楽譜データの表示位置を決定する。この時通信手段8から受信したデータは、合奏におけるリーダーとして設定された他の装置から送信された同装置の演奏位置データであるので、この値を自身の楽譜データの基準表示位置とし、ネットーワークにおける装置間通信のディレー等を考慮した補正値を加減して求めた値を楽譜の表示位置、すなわち自身の演奏のリファレンスとなる演奏位置として決定する。 First, in step S9, CPU 1 waits for data to be received from data communication means 8. If data is received by data communication means 8, the process proceeds to step S10, where display position determination means 9 determines the display position of the musical score data from the received data. At this time, the data received from communication means 8 is performance position data from another device set as the leader in the ensemble. Therefore, this value is used as the reference display position for its own musical score data. A correction value is added or subtracted to account for delays in inter-device communication within the network, and this value is determined as the display position of the musical score, i.e., the performance position that serves as the reference for its own performance.
ステップS10により楽譜データの表示位置が決定すれば、ステップS11に進みステップS10によって決定した表示位置に基づいて第2の楽譜入力手段10から画像データをトリミングして読み出す。この読み出し方法はステップS4で説明した第1の楽譜入力手段6から画像データをトリミングして読み出す方法と同様で、ステップS4においてはステップS3で決定された演奏位置に基づいて画像データをトリミングして読み出していたが、本ステップS11においては、ステップS10により決定された楽譜データの表示位置に基づいて楽譜データをトリミングして読み出す。 Once the display position of the musical score data is determined in step S10, the process proceeds to step S11, where the image data is trimmed and read from the second musical score input means 10 based on the display position determined in step S10. This reading method is similar to the method described in step S4 for trimming and reading image data from the first musical score input means 6. While step S4 involved trimming and reading image data based on the performance position determined in step S3, step S11 involves trimming and reading the musical score data based on the display position determined in step S10.
更にステップS12に進み、CPU1はステップS11で読み出した楽譜データを第1の表示手段12に渡し、第1の表示手段12は渡された楽譜データ画像を液晶パネル101上の楽譜画像表示部1011にそのまま表示する。 The process then proceeds to step S12. The CPU 1 passes the musical score data read in step S11 to the first display means 12. The first display means 12 then displays the received musical score data image directly on the musical score image display unit 1011 on the liquid crystal panel 101.
以上により、本装置が合奏におけるメンバーとして設定されている場合にデータ通信手段8によりデータを受信したときに発生する一連の処理は終了するので、再びS9に戻り、データ通信手段8がデータを受信するのを待つ。 As described above, the series of processes that occur when this device is set as a member in an ensemble and receives data via the data communication means 8 are completed. Therefore, the process returns to S9 and waits for the data communication means 8 to receive data again.
図8は本発明装置の同実施例の第3のソフトウェアの動作を示すフローチャートであり、同実施例におけるリーダー設定手段2により本装置が合奏におけるメンバーとして設定されている場合に、図7で示される第2のソフトウェアの動作と並行して同一装置内で動作するもので、ジェスチャー検出手段3によりジェスチャー・イベントを検出した時の動作を示している。 Figure 8 is a flowchart showing the operation of the third software in this embodiment of the present invention. This software operates within the same device, in parallel with the operation of the second software shown in Figure 7, when the device is set as a member in an ensemble by the leader setting means 2 in this embodiment. It illustrates the operation when a gesture event is detected by the gesture detection means 3.
まずCPU1はステップS13においてジェスチャー検出手段3からジェスチャー・イベントが検出されるのを待つ。ジェスチャーが検出されればステップS14に進み回転の速度検出手段4によりジェスチャーによる回転の速度を求める。 First, in step S13, CPU 1 waits for a gesture event to be detected by the gesture detection means 3. If a gesture is detected, the process proceeds to step S14, where the rotation speed detection means 4 determines the rotation speed caused by the gesture.
回転の速度検出手段4により指300によるジェスチャー操作による回転の速度が求まれば、CPU1はステップS15において演奏位置決定手段5により演奏位置を決定する。 Once the rotation speed detection means 4 determines the rotation speed resulting from the gesture operation by the finger 300, the CPU 1 determines the performance position using the performance position determination means 5 in step S15.
ステップS15において演奏位置を決定したら、ステップS16に進みステップS15で決定された演奏位置に基づいて第1の楽譜入力手段6から画像データをトリミングして読み出す。 After determining the performance position in step S15, the process proceeds to step S16, where image data is trimmed and read from the first score input means 6 based on the performance position determined in step S15.
ステップS16においてトリミングした画像データとして読み出された楽譜データは、次のステップS17において画像処理手段7による画像処理により、ステップS15で求めた演奏位置における85音ある各音符の位置を確定し、各位置における音符の有無を検出する。 In step S16, the sheet music data read out as trimmed image data is processed by the image processing means 7 in the next step S17 to determine the position of each of the 85 notes at the performance position determined in step S15, and to detect the presence or absence of notes at each position.
ステップS17において検出された各位置における音符の有無の情報に基づいて、ステップS18においてCPU1は記憶手段に記憶してある一つ前のジェスチャー・イベント発生時に検出された各位置における音符の有無の情報とを比較して、新たに各位置における音符が出現したか、あるいは既に出現していた音符が消失したかを判断し、その判断に基づいてサウンド出力手段11に対して各位置に対応する音符の音を予め定められた音色および音量で出すあるいは止めるという指示を行う。これらステップS13からステップ18までの動作は図4で示される第1のソフトウェアの動作のステップS1からステップS6までの動作と同一である。 Based on the information detected in step S17 regarding the presence or absence of musical notes at each position, in step S18, the CPU 1 compares this information with the information stored in the memory means regarding the presence or absence of musical notes at each position during the previous gesture event to determine whether new musical notes have appeared at each position or whether previously appearing musical notes have disappeared. Based on this determination, the CPU 1 instructs the sound output means 11 to play or stop the sound of the musical note corresponding to each position at a predetermined timbre and volume. These operations from steps S13 to S18 are identical to the operations from steps S1 to S6 of the first software operation shown in Figure 4.
ステップS18においてサウンド出力手段11への指示が終了すれば、ステップS19に進み、ステップS16においてトリミングした画像データとして読み出された楽譜データを第2の表示手段13に渡す。ここで第2の表示手段13は第1の表示手段12とは独立して、既に第1の表示手段により液晶パネル101上の楽譜画像表示部1011に表示されている楽譜データ画像が見えるように、渡された楽譜データ画像を重ねて表示する。 If the instruction to the sound output means 11 is completed in step S18, the process proceeds to step S19, where the musical score data read out as trimmed image data in step S16 is passed to the second display means 13. Here, the second display means 13, independently of the first display means 12, overlays and displays the passed musical score data image so that the musical score data image already displayed on the musical score image display unit 1011 on the liquid crystal panel 101 by the first display means is visible.
ここで楽譜データ画像の重ね合わせ表示について説明する。図9はステップS11によって読み出された楽譜画像データとステップS16によって読み出された楽譜画像データの重ね合わせをどのように行うかを示した図である。図中2100で示されるものは、ステップS11によって読み出された楽譜画像データであり、図中2101で示されるものはステップS16によって読み出された楽譜画像データを白黒反転させ透明度を75%としたものであり、図中2102で示されるものは透明な背景の上に演奏位置を示す仮想的なタイミング線1020が描かれた画像データであり、これらを下から2100→2101→2102の順番に重ね合わせたものが、図10及び図11で示される図である。 This section explains the overlay display of musical score data images. Figure 9 shows how the musical score image data read in step S11 and the musical score image data read in step S16 are overlaid. In the figure, 2100 represents the musical score image data read in step S11, 2101 represents the musical score image data read in step S16 with the colors inverted and the transparency set to 75%, and 2102 represents image data with a virtual timing line 1020 indicating the performance position drawn on a transparent background. These are overlaid from bottom to top in the order of 2100 → 2101 → 2102, as shown in Figures 10 and 11.
図10において、2001、2002、2003、2005で示される黒い線は、ステップS11によって読み出された楽譜画像データにある音符を示しており、これはデータ通信手段によって受信されたリーダー端末機器の演奏位置に基づいて表示される演奏のリファレンスとなる音符であり、一方2001-2、2002-2、2003-2、2005-2で示される白い線は演奏者のジェスチャー操作に伴ってステップS16によって読み出された楽譜画像データにある音符を示している。2001、2002、2003、2005はリーダー端末機器の演奏の進行に伴って、また2001-2、2002-2、2003-2、2005-2はメンバー端末機器における演奏者自身の演奏の進行に伴って図中302で示される矢印方向に独立して進んでいく。ところで、もともと音符2001、2002、2003、2005も音符2001-2、2002-2、2003-2、2005-2も同じ楽譜データから読み出されたものであるからリーダー端末機器の演奏とメンバー端末機器における演奏者自身の演奏のタイミングと演奏の速さが一致していれば、両者は同じ場所に重なって進行していくはずである。しかしながら図10においては白い音符の方が,黒い音符よりも進行方向に向かって後ろにあることから、リファレンスとなる音符2001、2002、2003、2005よりも、演奏者の演奏を表示する音符2001-2、2002-2、2003-2、2005-2のほうが遅れていることがわかる。同様に図11においては白い音符の方が,黒い音符よりも進行方向に向かって前にあることから、リファレンスとなる音符2001、2002、2003、2005よりも、演奏者の演奏を表示する音符2001-2、2002-2、2003-2、2005-2のほうが進んでいることがわかる。このようにリファレンスとなる演奏を表現する楽譜画層データが見えるように、演奏者の演奏を表現する楽譜画像データとを重ね合わせて連続的に表示することにより、演奏者の演奏がレファレンスの演奏と比較して進んでいるの遅れているのかを視覚的に認識することが可能となる。 In Figure 10, the black lines indicated by 2001, 2002, 2003, and 2005 represent musical notes in the score image data read in step S11. These are reference notes for performance, displayed based on the performance position of the reader terminal device received by the data communication means. On the other hand, the white lines indicated by 2001-2, 2002-2, 2003-2, and 2005-2 represent musical notes in the score image data read in step S16 in accordance with the performer's gesture operation. Lines 2001, 2002, 2003, and 2005 advance independently in the direction of the arrows indicated by 302 in the figure, as the performance of the reader terminal device progresses, while lines 2001-2, 2002-2, 2003-2, and 2005-2 advance independently in the direction of the arrows indicated by 302 in the figure, as the performance of the performer themselves progresses on the member terminal device. Incidentally, since notes 2001, 2002, 2003, and 2005, as well as notes 2001-2, 2002-2, 2003-2, and 2005-2, were originally read from the same musical score data, if the timing and speed of the performance on the reader terminal device and the performer's own performance on the member terminal device match, they should overlap and progress in the same place. However, in Figure 10, the white notes are behind the black notes in the direction of progression, indicating that the notes 2001-2, 2002-2, 2003-2, and 2005-2, which display the performer's performance, are behind the reference notes 2001, 2002, 2003, and 2005. Similarly, in Figure 11, the white notes are ahead of the black notes in the direction of progression, indicating that the notes 2001-2, 2002-2, 2003-2, and 2005-2, which represent the performer's playing, are ahead of the reference notes 2001, 2002, 2003, and 2005. By overlaying the score image data representing the performer's playing with the score image data representing the reference playing and displaying them sequentially, it becomes possible to visually recognize whether the performer's playing is ahead or behind the reference playing.
以上により、第3のソフトウェアによるジェスチャー・イベントの発生による一連の処理は終了するので、再びステップS13に戻り、ジェスチャー検出手段7からジェスチャー・イベントが検出されるのを待つ。 As a result of the above, the series of processes triggered by the gesture event generated by the third software is completed, so we return to step S13 and wait for the gesture detection means 7 to detect another gesture event.
なお、ステップS15において演奏位置決定手段5により演奏位置を決定する場合、ジェスチャー検出手段3はパネル上を指300が最初にタッチした位置を原点として、以降指300がパネルから離れるまでの間1/60秒の間隔でイベントを検出し、その最初と最後のイベントについては開始と終了を示す情報も検出可能である。従ってジェスチャーの開始イベントが発生した処理フローにおけるステップS15における演奏位置決定においては、単純に演奏位置を0ピクセルとせず、その直前の時点で表示位置決定手段9で決定されたレファレンス画像の表示位置をコピーして演奏位置の初期値とし、以後この値をベースにジェスチャー・イベント検出毎のスッテプS15における演奏開始位置を決定するようにすれば、演奏者の演奏の開始時のタイミング合わせがより容易になる。 Furthermore, when the performance position is determined by the performance position determination means 5 in step S15, the gesture detection means 3 uses the position where the finger 300 first touches the panel as the origin, and detects events at intervals of 1/60 seconds until the finger 300 leaves the panel. For the first and last events, it can also detect information indicating the start and end of the event. Therefore, in determining the performance position in step S15 of the processing flow where a gesture start event occurs, instead of simply setting the performance position to 0 pixels, copying the display position of the reference image determined by the display position determination means 9 immediately before that point and using that as the initial value for the performance position, and then using this value as the basis for determining the performance start position in step S15 for each gesture event detection, makes it easier to synchronize the timing of the performer's performance.
以上の様に本実施例によれば、リファレンスとなる演奏の楽譜画像を表示する第1の表示手段と、演奏者による演奏の楽譜画像をリファレンスとなる演奏の楽譜動画画像が見えるように重ね合わせて表示する第2の表示手段とを設け、演奏の進行に合わせて両者を独立して画像表示を行うことにより、演奏者自身の演奏がレファレンスの演奏と比較して進んでいるのか遅れているのかを視覚的に認識することが可能となり、演奏者自身の演奏画像をレファレンスの演奏画像と一致するようにジェスチャー操作による回転速度を調整することにより、従来では困難であった複数台の装置による合奏を容易に実現可能とした。 As described above, this embodiment provides a first display means for displaying a reference performance score image, and a second display means for overlaying the performer's performance score image onto the reference performance score video image. By independently displaying both images in accordance with the progress of the performance, it becomes possible to visually recognize whether the performer's own performance is ahead or behind the reference performance. Furthermore, by adjusting the rotation speed of the performer's own performance image using gesture control to match the reference performance image, it becomes possible to easily realize ensemble playing with multiple devices, which was previously difficult.
なお、本実施例においてはタッチパネル上の指300による一接触点の回転ジェスチャーとして説明したが、ジェスチャーが認識できるのであれば、例えばタッチペン等を用いた一接触点によるジェスチャーであっても構わない。 In this embodiment, the gesture was described as a single-point rotation gesture using a finger 300 on a touch panel. However, any single-point gesture using a stylus or similar device is acceptable, as long as the gesture can be recognized.
また本実施例では画像処理手段7により画像処理によってデジタル楽譜画像から音符を検出するという方法を採用しているが、楽譜データとしてはデジタル画像でなくMIDIデータのようなデジタルデータでも良い。例えばMIDIデータであれば、トラックと呼ばれるグループにデルタタイムとイベントの繰り返しという形でデータが保持されており、デルタタイムとは別途指定される4分音符の長さと時間単位とで求められる時間で、一つ前に指定されたデルタタイムからの経過時間を表しており、イベントはその時の音符の音階、音量,オンかオフかを指定するものであるので、演奏位置を画素数でなく時間で表し、MIDIデータを本発明で示されるようなデジタル楽譜画像に変換して表示するようにすれば、全く同じ機能が実現できる。さらに本実施例ではデータ通信手段8を使って合奏のリーダーとなる装置から送信される演奏位置データをリファレンスとして採用したが、合奏のメンバーとなる装置内でタイマーによる定期的なイベントを発生させ、これによって図7の第2のソフトウェアの動作を示すフローチャートのステップS9を置き換え、ステップS12の後に図8の第3のソフトウェアの動作を示すフローチャートS17、S18と同等の処理を追加すれば、自装置内での演奏者一人による合奏も69となる。 Furthermore, in this embodiment, the method employed is to detect musical notes from a digital musical score image by image processing using the image processing means 7. However, the musical score data can be digital data such as MIDI data, rather than a digital image. For example, in the case of MIDI data, the data is stored in groups called tracks in the form of delta time and event repetitions. Delta time is the time determined by the length of a quarter note and the time unit specified separately, and represents the elapsed time since the previously specified delta time. Events specify the pitch, volume, and on/off status of the note at that time. Therefore, if the performance position is represented by time rather than the number of pixels, and the MIDI data is converted into a digital musical score image as shown in this invention and displayed, the exact same functionality can be achieved. Furthermore, in this embodiment, performance position data transmitted from the device acting as the leader of the ensemble using the data communication means 8 was adopted as a reference. However, by generating periodic events using a timer within the devices acting as members of the ensemble, thereby replacing step S9 in the flowchart showing the operation of the second software in Figure 7, and adding processing equivalent to steps S17 and S18 in the flowchart showing the operation of the third software in Figure 8 after step S12, an ensemble performance by a single performer within the same device can also be achieved (69).
図12は本発明の第2の実施例を示すもので、実施例1の図7における第2のソフトウェアの動作を示すフローチャートのステップS11とステップS12の間にステップS20、ステップS21、ステップS22を加えたものである。ジェスチャー検出手段3はジェスチャーの開始と終了のイベントを識別可能なので、ステップS20においては装置がジェスチャー操作中であるかどうかを判断して、ジェスチャー中であれば図7と同様にステップS17に進み、ジェスチャー中でなければステップS21、ステップS21へと進む。ステップS21、ステップS21は図8における第3のソフトウェアの動作を示すフローチャートのステップS17とステップS18と同様の処理であり、このステップを追加することによりリーダー設定手段3により合奏のメンバーとして設定されている装置は演奏者がジェスチャー操作をしていない時は、合奏のリーダーの演奏に従って自動演奏を行う自動演奏装置として動作することになる。なおその場合、データ通信手段8を介して受信するデータに演奏位置データ以外のものが含まれていた場合にはそれを利用することも可能であり、例えば音量情報が含まれていれば、それをステップS22の中に反映することも可能である。 Figure 12 shows a second embodiment of the present invention, adding steps S20, S21, and S22 between steps S11 and S12 of the flowchart showing the operation of the second software in Figure 7 of Embodiment 1. Since the gesture detection means 3 can identify the start and end events of a gesture, in step S20 it determines whether the device is performing a gesture operation. If it is performing a gesture, it proceeds to step S17, as in Figure 7; otherwise, it proceeds to steps S21 and S21. Steps S21 and S21 are the same processes as steps S17 and S18 of the flowchart showing the operation of the third software in Figure 8. By adding this step, the device set as a member of the ensemble by the leader setting means 3 will operate as an automatic playing device that automatically plays according to the ensemble leader's performance when the performer is not performing a gesture operation. In this case, if the data received via the data communication means 8 includes data other than the performance position data, it can be used; for example, if volume information is included, it can be reflected in step S22.
ジェスチャーの代わりに電気的な信号による回転の速度を検出して演奏位置を決定し、決定した演奏位置に基づいて楽譜を演奏することにより、携帯端末機器等のみならずパーソナルコンピューターによる装置、あるいは単体で動作する音楽演奏装置などにも適用可能である。また視覚的に楽譜の動画画像を一致させるという操作は、ゲームとして利用することも可能である。
By detecting rotational speed using electrical signals instead of gestures to determine the performance position, and then playing the musical score based on the determined position, this system can be applied not only to mobile devices but also to personal computer-based devices and standalone music performance devices. Furthermore, the operation of visually matching the video image of the musical score can also be used as a game.
1 CPU(中央処理ユニット)
2 リーダー設定手段
3 ジェスチャー検出手段
4 回転の速度決定手段
5 演奏位置決定手段
6 第1の楽譜入力手段
7 画像処理手段
8 データ通信手段
9 表示位置決定手段
10 第2の楽譜入力手段
11 サウンド出力手段
12 第1の表示手段
13 第2の表示手段
1. CPU (Central Processing Unit)
2 Leader setting means 3 Gesture detection means 4 Rotation speed determination means 5 Performance position determination means 6 First score input means 7 Image processing means 8 Data communication means 9 Display position determination means 10 Second score input means 11 Sound output means 12 First display means 13 Second display means
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021211751A JP7851546B2 (en) | 2021-12-26 | 2021-12-26 | Music performance device using a mobile device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021211751A JP7851546B2 (en) | 2021-12-26 | 2021-12-26 | Music performance device using a mobile device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023095713A JP2023095713A (en) | 2023-07-06 |
| JP7851546B2 true JP7851546B2 (en) | 2026-04-27 |
Family
ID=87002782
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021211751A Active JP7851546B2 (en) | 2021-12-26 | 2021-12-26 | Music performance device using a mobile device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7851546B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007034115A (en) | 2005-07-29 | 2007-02-08 | Sanyo Electric Co Ltd | Music player and music performance system |
| JP2015060207A (en) | 2013-09-20 | 2015-03-30 | カシオ計算機株式会社 | Music data display device, music data presentation method, and program |
| US20210151017A1 (en) | 2019-08-27 | 2021-05-20 | William H.T. La | Solfaphone |
| JP2022187914A (en) | 2021-06-08 | 2022-12-20 | 享寿 太田 | Music playing toy using portable terminal device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3588387B2 (en) * | 1995-06-16 | 2004-11-10 | ローランド株式会社 | Performance display device |
-
2021
- 2021-12-26 JP JP2021211751A patent/JP7851546B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007034115A (en) | 2005-07-29 | 2007-02-08 | Sanyo Electric Co Ltd | Music player and music performance system |
| JP2015060207A (en) | 2013-09-20 | 2015-03-30 | カシオ計算機株式会社 | Music data display device, music data presentation method, and program |
| US20210151017A1 (en) | 2019-08-27 | 2021-05-20 | William H.T. La | Solfaphone |
| JP2022187914A (en) | 2021-06-08 | 2022-12-20 | 享寿 太田 | Music playing toy using portable terminal device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023095713A (en) | 2023-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0829847B1 (en) | Conduct-along system | |
| JP5257966B2 (en) | Music reproduction control system, music performance program, and performance data synchronous reproduction method | |
| US9747876B1 (en) | Adaptive layout of sheet music in coordination with detected audio | |
| JPH08305356A (en) | Musical amusement system | |
| US10186246B2 (en) | Musical piece reproducing system, data outputting apparatus, and musical piece reproducing method | |
| JP2019053170A (en) | Musical instrument practicing device | |
| JP6217275B2 (en) | Song data display device, song data display method and program | |
| JP2017032693A (en) | Video recording/playback device | |
| JP2003107986A (en) | Information processor, and control method, control program and recording medium therefor | |
| US20170352340A1 (en) | Reference display device, reference display method, and program | |
| JP7851546B2 (en) | Music performance device using a mobile device | |
| JP7845424B2 (en) | Signal processing device, signal processing system, and signal processing method | |
| US7504572B2 (en) | Sound generating method | |
| JP7760116B2 (en) | Musical toy using mobile terminal device | |
| JP2003223166A (en) | Information processor, musical score page change method therefor, program for musical score display and recording medium | |
| JP2002175071A (en) | Playing guide method, playing guide device and recording medium | |
| JP2025067202A (en) | Information processing apparatus, information processing method, and program | |
| JP2003058148A (en) | Document display | |
| JP5884987B2 (en) | Music performance device | |
| EP4350684A1 (en) | Automatic musician assistance | |
| JP3953064B2 (en) | Musical amusement system | |
| JP2020171733A (en) | Program, game device, and game progress method | |
| CN112019910A (en) | Musical instrument playing method and device, television and storage medium | |
| JP6260176B2 (en) | Performance practice apparatus, method, and program | |
| JP2002366142A (en) | Music playing support device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241211 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251030 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20251125 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20251208 |
|
| 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: 20260331 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260403 |