JP5747728B2 - Program for realizing electronic music apparatus and control method thereof - Google Patents

Program for realizing electronic music apparatus and control method thereof Download PDF

Info

Publication number
JP5747728B2
JP5747728B2 JP2011174182A JP2011174182A JP5747728B2 JP 5747728 B2 JP5747728 B2 JP 5747728B2 JP 2011174182 A JP2011174182 A JP 2011174182A JP 2011174182 A JP2011174182 A JP 2011174182A JP 5747728 B2 JP5747728 B2 JP 5747728B2
Authority
JP
Japan
Prior art keywords
note
input
display
touch
user
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
Application number
JP2011174182A
Other languages
Japanese (ja)
Other versions
JP2013037237A (en
Inventor
明宏 三輪
明宏 三輪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2011174182A priority Critical patent/JP5747728B2/en
Publication of JP2013037237A publication Critical patent/JP2013037237A/en
Application granted granted Critical
Publication of JP5747728B2 publication Critical patent/JP5747728B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、多点認識機能を備えたタッチパネルディスプレイを備え、該タッチパネルディスプレイを用いて楽譜入力を行うことができる電子音楽装置およびその制御方法を実現するためのプログラムに関する。   The present invention relates to an electronic music apparatus that includes a touch panel display having a multipoint recognition function, and that can input a score using the touch panel display, and a program for realizing a control method thereof.

楽曲制作用のDAW(digital audio workstation)や楽譜作成用のソフトウェアをPC(パーソナルコンピュータ)にインストールし、PC上での楽曲制作あるいは楽譜作成は、一般的に行なわれている(たとえば、特許文献1参照)。   A DAW (digital audio workstation) for music production and software for music score creation are installed in a PC (personal computer), and music production or music score creation on the PC is generally performed (for example, Patent Document 1). reference).

このようなPC上での楽曲制作や楽譜作成においては、(i )外出先で手軽に音符などを打ち込むことができない、(ii)マウスやキーボードを使って1つずつ音符を入力するのは煩雑、(iii )MIDI(musical instrument digital interface)キーボードをPCに接続してMIDIデータを入力するのは、機材が大掛かりになる上、マウスとMIDIキーボードの使い分けが面倒、などの問題があった。   In music production and score creation on such a PC, (i) it is not possible to easily enter notes on the go, and (ii) it is complicated to input notes one by one using a mouse or keyboard. (Iii) Connecting a MIDI (musical instrument digital interface) keyboard to a PC to input MIDI data has problems such as large equipment and troublesome use of a mouse and a MIDI keyboard.

これらの問題に対処するため、タッチパネルディスプレイを備えた携帯端末を使用して楽曲制作あるいは楽譜作成を行なう技術もある。携帯端末であれば、(i )持ち運びでき、(ii)タッチパネルで直感的に操作でき、(iii )入力用の装置(マウスやキーボードなど)も不要であるので、PC上での楽曲制作や楽譜作成における上記問題は解消される。   In order to deal with these problems, there is also a technique for producing a music piece or creating a score using a portable terminal equipped with a touch panel display. If it is a portable terminal, (i) it can be carried, (ii) it can be operated intuitively with a touch panel, and (iii) no input device (mouse, keyboard, etc.) is required. The above problem in creation is solved.

特開2001−75472号公報JP 2001-75472 A

しかし、上記従来の技術では、PC上で行なっていた操作などをそのままタッチパネル上での操作などに置き換えただけであるので、操作の煩雑さは完全には解消されない。たとえば、多数のボタン(8分音符や4分音符などが割り当てられたボタン)が配置されている音符長設定パレットからいずれか1つのボタンを選んだり、譜面上で音符を入力したい位置を正確に指定したりなど、従来マウスを用いて行なっていた細かい作業をタッチ操作で行うのは大変である。   However, in the above conventional technique, since the operation performed on the PC is simply replaced with the operation on the touch panel as it is, the complexity of the operation is not completely eliminated. For example, you can select one of the buttons from the note length setting palette where a large number of buttons (buttons assigned to eighth notes, quarter notes, etc.) are placed, or specify the exact position where you want to enter the note on the score. It is difficult to perform detailed operations such as designation and the like, which have been conventionally performed using a mouse, with a touch operation.

本発明は、この点に着目してなされたものであり、大まかなタッチ操作で簡単に楽譜入力を行うことが可能となる電子音楽装置およびその制御方法を実現するためのプログラムを提供することを目的とする。   The present invention has been made paying attention to this point, and provides a program for realizing an electronic music apparatus and a control method thereof capable of easily inputting a score with a rough touch operation. Objective.

上記目的を達成するため、請求項1に記載の電子音楽装置は、多点認識機能を備えたタッチパネルディスプレイと、前記タッチパネルディスプレイに譜面画像および楽器画像を表示する表示手段と、ユーザが前記タッチパネルディスプレイ上に表示された譜面画像をタッチしたときに、そのタッチ位置に基づいて、該タッチ位置が示す譜面画像上の音高、および音符の時間方向の入力位置を判定する第1の判定手段と、前記第1の判定手段によって判定された音高に応じて、前記タッチパネルディスプレイ上に表示された楽器画像の表示状態を変動させるように前記表示手段を制御する制御手段と、ユーザが前記制御手段によって表示状態の変動された楽器画像をタッチしたときに、そのタッチ位置の音高を判定する第2の判定手段と、前記第2の判定手段によって判定された音高の音符を、前記第1の判定手段によって判定された時間方向の入力位置に入力する入力手段とを有することを特徴とする。   In order to achieve the above object, an electronic music apparatus according to claim 1 is provided with a touch panel display having a multipoint recognition function, display means for displaying a musical score image and a musical instrument image on the touch panel display, and a user touching the touch panel display. When a musical score image displayed above is touched, based on the touch position, first determination means for determining a pitch on the musical score image indicated by the touch position and an input position in the time direction of the note; Control means for controlling the display means so as to change the display state of the instrument image displayed on the touch panel display according to the pitch determined by the first determination means, and a user by the control means A second determination means for determining a pitch at the touch position when a musical instrument image whose display state has been changed is touched; The notes of the determined pitch by second determination means, and having an input means for inputting the time direction of the input position determination by said first determination means.

請求項2に記載の電子音楽装置は、請求項1の電子音楽装置において、前記入力手段によって音符が入力されたときに、前記音符の時間方向の入力位置を次の入力位置に進行させる進行手段をさらに有することを特徴とする。   3. The electronic music apparatus according to claim 2, wherein in the electronic music apparatus according to claim 1, when a note is input by the input means, the advancing means advances the input position in the time direction of the note to the next input position. It further has these.

請求項3に記載の電子音楽装置は、請求項1または2の電子音楽装置において、ユーザが前記楽器画像をタッチしながら、前記譜面画像上、現在の音符の時間方向の入力位置である第1の位置とは異なる第2の位置をタッチすると、前記第1の位置と前記第2の位置との間隔に応じた音符長を、前記入力手段によって入力される音符の音符長として設定する設定手段をさらに有することを特徴とする。   The electronic music device according to claim 3 is the electronic music device according to claim 1 or 2, wherein a first touch position of the current note in the time direction on the musical score image while the user touches the musical instrument image. Setting means for setting a note length corresponding to an interval between the first position and the second position as a note length of a note input by the input means when a second position different from the first position is touched It further has these.

上記目的を達成するため、請求項4に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。   In order to achieve the above object, the program according to claim 4 can be realized by the same technical idea as claim 1.

請求項1または4に記載の発明によれば、ユーザがタッチパネルディスプレイ上に表示された譜面画像をタッチしたときに、そのタッチ位置に基づいて、該タッチ位置が示す譜面画像上の音高、および音符の時間方向の入力位置が判定され、該判定された音高に応じて、前記タッチパネルディスプレイ上に表示された楽器画像の表示状態が変動されるので、つまり、ユーザが譜面画像の大まかな位置をタッチするだけで、楽器画像の表示状態が変動されるので、その表示状態として、たとえば表示領域を採った場合には、楽器画像の表示領域は、ユーザが自分で変動させなくても、音高を設定したい位置に自動的に変動する。そして、表示領域が自動的に変動した楽器画像をタッチするだけで、そのタッチ位置の音高が判定され、該判定された音高の音符が前記判定された時間方向の入力位置に入力されるので、ユーザは譜面画像上の細かいタッチ操作で音高を指定しなくてもよくなり、大まかなタッチ操作で簡単に楽譜入力を行うことが可能となる。   According to the first or fourth aspect of the present invention, when the user touches the musical score image displayed on the touch panel display, the pitch on the musical score image indicated by the touch position based on the touch position, and The input position of the notes in the time direction is determined, and the display state of the instrument image displayed on the touch panel display is changed in accordance with the determined pitch, that is, the user can approximate the position of the musical score image. Since the display state of the instrument image is changed by simply touching, for example, when the display area is taken as the display state, the display area of the instrument image is not changed even if the user does not change the sound area. It automatically changes to the position where you want to set the height. Then, by simply touching the musical instrument image whose display area has automatically changed, the pitch of the touch position is determined, and the note of the determined pitch is input to the input position in the determined time direction. Therefore, the user does not have to specify the pitch by a fine touch operation on the musical score image, and can easily input a musical score by a rough touch operation.

本発明の一実施の形態に係る電子音楽装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic music apparatus which concerns on one embodiment of this invention. 動作モードとして楽譜作成モードが選択された場合に、図1のタッチパネルディスプレイ上に表示された楽譜入力画面の一例を示す図である。It is a figure which shows an example of the score input screen displayed on the touchscreen display of FIG. 1 when the score creation mode is selected as an operation mode. 図1のタッチパネルディスプレイ上に表示された五線譜表示画面における楽譜入力処理を説明するための図である。It is a figure for demonstrating the score input process in the staff score display screen displayed on the touchscreen display of FIG. 図1のタッチパネルディスプレイ上に表示されたピアノロール表示画面における楽譜入力処理を説明するための図である。It is a figure for demonstrating the score input process in the piano roll display screen displayed on the touchscreen display of FIG. 図3の五線譜表示画面および図4のピアノロール表示画面内の各表示部品の回転処理を説明するための図である。It is a figure for demonstrating the rotation process of each display component in the staff score display screen of FIG. 3, and the piano roll display screen of FIG. 図1の電子音楽装置、特にCPUが実行するメインルーチンの手順を示すフローチャートである。It is a flowchart which shows the procedure of the main routine which the electronic music apparatus of FIG. 1, especially CPU performs. 図6のメインルーチン中の入力音符指定処理のうち、五線譜表示画面が選択されている場合に実行される入力音符指定処理#1の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the input note designation | designated process # 1 performed when the staff score display screen is selected among the input note designation | designated processes in the main routine of FIG. 図6のメインルーチン中の入力位置指定処理のうち、五線譜表示画面が選択されている場合に実行される入力位置指定処理#1の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of input position designation | designated processing # 1 performed when the staff score display screen is selected among the input position designation | designated processes in the main routine of FIG. 図6のメインルーチン中の入力音符指定処理のうち、ピアノロール表示画面が選択されている場合に実行される入力音符指定処理#2の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the input note designation | designated process # 2 performed when the piano roll display screen is selected among the input note designation | designated processes in the main routine of FIG. 図6のメインルーチン中の入力位置指定処理のうち、ピアノロール表示画面が選択されている場合に実行される入力位置指定処理#2の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the input position designation | designated process # 2 performed when the piano roll display screen is selected among the input position designation | designated processes in the main routine of FIG. 図6のメインルーチン中の操作に応じた処理#1の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of process # 1 according to operation in the main routine of FIG.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施の形態に係る電子音楽装置の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of an electronic music apparatus according to an embodiment of the present invention.

同図に示すように、本実施の形態の電子音楽装置は、各種情報を入力するための複数のスイッチを含む設定操作子1と、楽譜作成用のGUI(graphical user interface)を含む各種UI(user interface)を表示するとともに、ユーザが表示された各種UIを、たとえば指で触れることで各種情報を入力するタッチパネルディスプレイ(以下、「タッチパネル」と略して言う)2と、設定操作子1の操作状態を検出する検出回路3と、ユーザによるタッチパネル2上の操作位置や操作圧力などの押圧操作を検出する検出回路4と、上記各種UIをタッチパネル2上に表示させる表示回路5と、装置全体の制御を司るCPU6と、該CPU6が実行する制御プログラムや、各種テーブルデータ等を記憶するROM7と、各種入力情報および演算結果等を一時的に記憶するRAM8と、前記制御プログラムを含む各種アプリケーションプログラムや各種データ等を記憶する記憶装置9と、外部機器100を接続し、この外部機器100とデータの送受信を行う通信インターフェース(I/F)10と、前記GUIを用いて作成された楽譜を再生して得られた演奏情報等を楽音信号に変換するとともに、その楽音信号に各種効果を付与するための音源・効果回路11と、該音源・効果回路11からの楽音信号を音響に変換する、たとえば、DAC(digital-to-analog converter)やアンプ、スピーカ等のサウンドシステム12とにより構成されている。   As shown in the figure, the electronic music apparatus of the present embodiment includes a setting operator 1 including a plurality of switches for inputting various types of information, and various UIs including a GUI (graphical user interface) for creating a score. a user interface), and a touch panel display (hereinafter abbreviated as “touch panel”) 2 for inputting various information by touching various UI displayed by the user with a finger, for example, and operation of the setting operator 1 A detection circuit 3 for detecting a state, a detection circuit 4 for detecting a pressing operation such as an operation position or an operation pressure on the touch panel 2 by a user, a display circuit 5 for displaying the various UIs on the touch panel 2, and an entire apparatus The CPU 6 that controls the control, the control program executed by the CPU 6, the ROM 7 that stores various table data, etc. A RAM 8 that stores data, a storage device 9 that stores various application programs including the control program, various data, and the like, and an external device 100, and a communication interface (I / F) that transmits and receives data to and from the external device 100 ) 10 and a sound source / effect circuit 11 for converting performance information obtained by playing back a score created using the GUI into a musical sound signal and applying various effects to the musical sound signal, For example, a sound system 12 such as a DAC (digital-to-analog converter), an amplifier, or a speaker is used to convert a musical sound signal from the sound source / effect circuit 11 into sound.

上記構成要素3〜11は、バス13を介して相互に接続され、通信I/F10には外部機器100が接続され、音源・効果回路11にはサウンドシステム12が接続されている。   The above components 3 to 11 are connected to each other via a bus 13, an external device 100 is connected to the communication I / F 10, and a sound system 12 is connected to the sound source / effect circuit 11.

タッチパネル2は、複数の位置に対するユーザの同時の押圧操作を認識する多点認識機能を備えたパネルである。本実施の形態の電子音楽装置は、掌に載せて片手で操作可能な小型の携帯端末(具体的には、汎用のスレートPC(slate PC)やスマートフォン(smartphone)など)を想定しているので、タッチパネル2も小型のものを採用している。   The touch panel 2 is a panel provided with a multipoint recognition function for recognizing a user's simultaneous pressing operations on a plurality of positions. The electronic music apparatus of the present embodiment assumes a small portable terminal (specifically, a general-purpose slate PC or a smartphone) that can be operated with one hand on the palm. The touch panel 2 is also small.

記憶装置9は、たとえば、フレキシブルディスク(FD)、ハードディスク(HD)、CD−ROM、DVD(digital versatile disc)、光磁気ディスク(MO)および半導体メモリなどの記憶媒体とその駆動装置である。記憶媒体は、駆動装置から着脱可能であってもよいし、記憶装置9自体が、本実施の形態の電子音楽装置から着脱可能であってもよい。あるいは、記憶媒体も記憶装置9も着脱不可能であってもよい。なお、記憶装置9(の記憶媒体)には、前述のように、CPU6が実行する制御プログラムも記憶でき、ROM7に制御プログラムが記憶されていない場合には、この記憶装置9に制御プログラムを記憶させておき、それをRAM8に読み込むことにより、ROM7に制御プログラムを記憶している場合と同様の動作をCPU6にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。   The storage device 9 is, for example, a storage medium such as a flexible disk (FD), a hard disk (HD), a CD-ROM, a DVD (digital versatile disc), a magneto-optical disk (MO), and a semiconductor memory, and a driving device thereof. The storage medium may be detachable from the drive device, or the storage device 9 itself may be detachable from the electronic music device of the present embodiment. Alternatively, neither the storage medium nor the storage device 9 may be detachable. As described above, the storage device 9 (the storage medium) can also store the control program executed by the CPU 6. If the control program is not stored in the ROM 7, the control program is stored in the storage device 9. By reading it into the RAM 8, it is possible to cause the CPU 6 to perform the same operation as when the control program is stored in the ROM 7. In this way, control programs can be easily added and upgraded.

通信I/F10には、図示例では、外部機器100が接続されているが、これに限られず、たとえばLAN(local area network)やインターネット、電話回線等の通信ネットワークを介して、サーバコンピュータが接続されるようにしてもよい。この場合、記憶装置9に上記各プログラムや各種パラメータが記憶されていなければ、通信I/F10は、サーバコンピュータからプログラムやパラメータをダウンロードするために用いられる。クライアントとなる電子音楽装置は、通信I/F10および通信ネットワークを介してサーバコンピュータへとプログラムやパラメータのダウンロードを要求するコマンドを送信する。サーバコンピュータは、このコマンドを受け、要求されたプログラムやパラメータを、通信ネットワークを介して電子音楽装置へと配信し、電子音楽装置が通信I/F10を介して、これらプログラムやパラメータを受信して記憶装置9に蓄積することにより、ダウンロードが完了する。   In the illustrated example, the external device 100 is connected to the communication I / F 10, but the present invention is not limited to this. For example, a server computer is connected via a communication network such as a LAN (local area network), the Internet, or a telephone line. You may be made to do. In this case, if the above programs and various parameters are not stored in the storage device 9, the communication I / F 10 is used to download the programs and parameters from the server computer. The electronic music apparatus serving as a client transmits a command requesting download of a program and parameters to the server computer via the communication I / F 10 and the communication network. Upon receiving this command, the server computer distributes the requested program or parameter to the electronic music device via the communication network, and the electronic music device receives the program or parameter via the communication I / F 10. Downloading is completed by accumulating in the storage device 9.

通信I/F10としては、たとえば、MIDI信号などの音楽信号を専用に送受信する音楽専用有線I/F、USB(universal serial bus)やIEEE1394などの汎用近距離有線I/F、Ethernet(登録商標)などの汎用ネットワークI/F、無線LAN(local area network)やBluetooth(登録商標)などの汎用近距離無線I/F、デジタル電話回線網用の通信I/Fを挙げることができる。本実施の形態では、通信I/F10として、デジタル電話回線網用および/または無線LAN用の通信I/Fを採用している。   As the communication I / F 10, for example, a music dedicated wired I / F that exclusively transmits and receives a music signal such as a MIDI signal, a general-purpose short-distance wired I / F such as USB (universal serial bus) and IEEE 1394, and Ethernet (registered trademark) And general-purpose network I / F such as wireless LAN (local area network) and Bluetooth (registered trademark), and communication I / F for digital telephone network. In this embodiment, a communication I / F for a digital telephone network and / or a wireless LAN is employed as the communication I / F 10.

図2は、動作モードとして楽譜作成モードが選択された場合に、タッチパネル2上に表示された楽譜入力画面の一例を示す図である。本実施の形態の電子音楽装置は、楽譜入力画面として、五線譜と鍵盤を表示し、これを用いて楽譜を入力する画面(以下、「五線譜表示画面」という)2a(図2(a))と、ピアノロールを表示し、これを用いて楽譜を入力する画面(以下、「ピアノロール表示画面」という)2b(図2(c))の2種類の画面を備え、ユーザの選択操作に応じて、いずれかを選択できるようにしている。   FIG. 2 is a diagram showing an example of a score input screen displayed on the touch panel 2 when the score creation mode is selected as the operation mode. The electronic music apparatus of the present embodiment displays a staff score and a keyboard as a score input screen, and uses this to input a score (hereinafter referred to as a “stave score display screen”) 2a (FIG. 2A); 2b (FIG. 2 (c)), which displays a piano roll and uses it to input a musical score (hereinafter referred to as a “piano roll display screen”) 2b, depending on the user's selection operation. , So that you can choose one.

図2(a)に示すように、五線譜表示画面2aには、2本の五線譜2a1と1つの鍵盤2a2が表示され、各五線譜2a1の上にはルーラ(ruler)2a3が表示されている。ルーラ2a3は、入力音符の音符長の最小単位を示すものであり、図示例では、ルーラ2a3の1目盛りは4分音符長に相当するので、4分音符長を最小単位とする音符を入力することができる。なお、ルーラ2a3の1目盛りの長さ、つまり、音符長の最小単位は、ユーザが自由に変更することができるようになっている。図2(b)は、その変更方法の一例を示す図である。同図(b)に示すように、ユーザがルーラ2a3上の任意の位置を長押しすると、選択可能な音符長の記載されたメニュー2a5がポップアップ表示されるので、そのメニュー2a5の中から変更したい音符長を選択する。これと同様にして、五線譜2a1の音部記号も、選択可能な音部記号の記載されたメニュー2a6を表示させ、そのメニュー2a6の中から変更したい音部記号を選択することで、他の音部記号に変更することができる。なお本実施の形態では、音符長の最小単位の変更も音部記号の変更も、変更対象の近傍を長押しすることによってメニューを表示させ、その中から変更したいものを選択することで行うようにしたが、これに限らず、後述するボタン2a4のいずれかを押すことによってメニューを表示させ、その中から変更したいものを選択することで行うようにしてもよい。   As shown in FIG. 2 (a), two staff notation 2a1 and one keyboard 2a2 are displayed on the staff notation display screen 2a, and a ruler 2a3 is displayed on each staff notation 2a1. The ruler 2a3 indicates the minimum unit of the note length of the input note. In the example shown in the figure, the one scale of the ruler 2a3 corresponds to the quarter note length, so that the note having the minimum unit of the quarter note length is input. be able to. The length of one scale of the ruler 2a3, that is, the minimum unit of the note length can be freely changed by the user. FIG. 2B is a diagram showing an example of the changing method. As shown in FIG. 5B, when the user presses and holds an arbitrary position on the ruler 2a3, a menu 2a5 in which selectable note lengths are displayed pops up, and it is desired to change from the menu 2a5. Select the note length. Similarly, the clef of the staff 2a1 is also displayed by displaying the menu 2a6 in which selectable clefs are described and selecting a clef to be changed from the menu 2a6. It can be changed to a part name. In this embodiment, the minimum unit of the note length and the clef are changed by pressing and holding the vicinity of the object to be changed to display a menu, and selecting one to be changed is selected. However, the present invention is not limited to this, and the menu may be displayed by pressing any one of buttons 2a4 described later, and the menu to be changed may be selected.

図2(a)に戻り、タッチパネル2は、前述のように小型のものを用いているために、タッチパネル2上に、何オクターブもの鍵盤を持つ一般的な鍵盤楽器(たとえばピアノは88鍵)の全体像(鍵盤全体)を表示させることができない(あるいは、表示できたとしても、各鍵が小さ過ぎて操作上問題が生じる)ので、鍵盤2a2は、鍵盤全体の一部(図示例では、2オクターブ程度の鍵盤であるが、各鍵が指でタッチ操作できる程度の大きさのものであれば、これに限らず、1オクターブ程度の鍵盤でも、3オクターブ程度の鍵盤でもよい)を表示したものである。このように一部の鍵盤しか表示できないので、表示されていない部分を表示させたいことがある。その場合には、ユーザは鍵盤2a2上を左/右にスワイプ(swipe)操作(タッチパネル2に触れた状態で指を滑らせる操作)することで、鍵盤2a2が左/右にスクロールして表示鍵域が変わるようになっている。もちろん、表示鍵域の変更方法はこれに限らず、鍵盤2a2の近傍にスクロールバーを表示させ、このスクロールバー上でスワイプ操作あるいはドラッグ操作することで、表示鍵域を変更するようにしてもよい。また、ユーザは鍵盤2a2上でピンチ(pinch)操作(タッチパネル2に触れた状態で2本の指を開いたり閉じたりする操作)することで、鍵盤2a2を拡大/縮小して表示することもできるようになっている。   Returning to FIG. 2A, since the touch panel 2 is a small one as described above, a general keyboard instrument (for example, 88 keys for a piano) having many octaves on the touch panel 2 is used. Since the whole image (the whole keyboard) cannot be displayed (or even if it can be displayed, each key is too small to cause operational problems), the keyboard 2a2 is a part of the whole keyboard (in the illustrated example, 2). It is an octave-like keyboard, but it is not limited to this as long as each key is of a size that can be touch-operated with a finger, and it may be a 1-octave keyboard or a 3-octave keyboard. It is. Since only a part of the keys can be displayed in this way, there is a case where it is desired to display a part that is not displayed. In that case, the user swipes left / right on the keyboard 2a2 (operation to slide his / her finger while touching the touch panel 2), and the keyboard 2a2 scrolls left / right to display keys. The area is changing. Of course, the method of changing the displayed key range is not limited to this, and a displayed scroll range may be changed by displaying a scroll bar near the keyboard 2a2 and performing a swipe operation or a drag operation on the scroll bar. . The user can also display the keyboard 2a2 in an enlarged / reduced manner by performing a pinch operation (operation to open and close two fingers while touching the touch panel 2) on the keyboard 2a2. It is like that.

五線譜表示画面2aには、この他に、複数(図示例では、8個)のボタン2a4も表示されている。本実施の形態では、ユーザはこれらのボタン2a4を押すことにより、次のような処理を行うことができる。すなわち、
(O1)保存されている楽譜データの読み出しや、現在表示中の楽譜データの保存
(O2)基本情報(拍子や調、テンポなど)の設定
(O3)入力音符の音符長の最小単位の設定
(O4)休符や音楽記号、臨時記号の入力
(O5)入力した音符データの削除や入力取り消し(Undo)
(O6)五線譜表示画面とピアノロール表示画面の切り替え
(O7)動作モードの変更
(O8)その他の設定
などの処理を行うことができる。ここで、動作モードとしては、上記「楽譜作成モード」の他に、たとえば、鍵盤2a2を非表示にして単なる楽譜として使用する「閲覧モード」などが備えられている。なお、どのボタン2a4をどう操作すれば、上記処理のいずれを実行できるかについては、本発明の特徴ではないので、その説明を省略する。
In addition to this, a plurality of (eight in the illustrated example) buttons 2a4 are also displayed on the staff notation display screen 2a. In the present embodiment, the user can perform the following processing by pressing these buttons 2a4. That is,
(O1) Reading saved musical score data and saving musical score data being displayed (O2) Setting basic information (time signature, key, tempo, etc.) (O3) Setting the minimum unit of note length of input notes ( O4) Input of rests, music symbols, and temporary symbols (O5) Deletion and cancellation of input note data (Undo)
(O6) Switching between the staff score display screen and the piano roll display screen (O7) Changing the operation mode (O8) Other settings can be performed. Here, as the operation mode, in addition to the above “score creation mode”, for example, a “viewing mode” in which the keyboard 2a2 is hidden and used as a mere score is provided. Since which button 2a4 is operated and which of the above processes can be executed is not a feature of the present invention, description thereof is omitted.

タッチパネル2上に五線譜表示画面2aが表示されている状態で、ピアノロール表示画面への切り替えが指示されると、図2(c)に示すように、タッチパネル2上にはピアノロール表示画面2bが表示される。ただし、同図(c)のピアノロール表示画面2bは全表示画面の一部であり、実際にはこの他に、五線譜表示画面2a内のボタン2a4に相当するものも表示されている。   When switching to the piano roll display screen is instructed while the stave display screen 2a is displayed on the touch panel 2, the piano roll display screen 2b is displayed on the touch panel 2 as shown in FIG. Is displayed. However, the piano roll display screen 2b in FIG. 5C is a part of the entire display screen, and actually, in addition to this, a screen corresponding to the button 2a4 in the staff score display screen 2a is also displayed.

ピアノロール表示画面2bは、鍵盤部2b1とノート表示部2b2とによって構成されている。鍵盤部2b1は、前記鍵盤2a2と同様に、鍵盤全体の一部が表示されているので、ユーザは鍵盤部2b1上を上/下にスワイプ操作することで、鍵盤部2b1が上/下にスクロールして表示鍵域が変わるようになっている。また、ユーザは鍵盤部2b1上でピンチ操作すると、鍵盤部2b1を拡大/縮小して表示することができる。この鍵盤部2b1のスクロールおよび拡大/縮小に連動して、ノート表示部2b2もスクロールおよび拡大/縮小される。さらにノート表示部2b2は、その上をユーザが左/右にスワイプ操作することで、左/右にスクロールして表示領域が変わるようにもなっている。   The piano roll display screen 2b is composed of a keyboard portion 2b1 and a note display portion 2b2. As with the keyboard 2a2, the keyboard 2b1 displays a part of the entire keyboard, so that the user can swipe the keyboard 2b1 up / down to scroll the keyboard 2b1 up / down. The display key range is changed. Further, when the user performs a pinch operation on the keyboard portion 2b1, the keyboard portion 2b1 can be enlarged / reduced and displayed. In conjunction with the scrolling and enlargement / reduction of the keyboard part 2b1, the note display part 2b2 is also scrolled and enlarged / reduced. Furthermore, the display area of the note display unit 2b2 is changed by scrolling left / right when the user performs a swipe operation on the left / right.

ノート表示部2b2は、音高を示す縦軸と時間経過を示す横軸からなる平面によって構成され、その平面内に複数のグリッド(grid)が形成されている。そして、各グリッドにノート(「音符」のことであるが、前記五線譜2a1に記載されるような「音符」形状ではなく、「楕円」形状で表示される(後述する図4(b)〜(d)参照)ので、「ノート」ということにする)を書き込むことで、楽譜(ピアノロール)を作成する。なお、各グリッドの横辺の長さが、入力ノートの音符長の最小単位を示している。この音符長の最小単位も、前記ルーラ2a3の1目盛りの長さと同様に、ユーザが自由に変更することができる。本実施の形態では、ユーザがノート表示部2b2上の任意の位置を長押しすると、前記メニュー2a5と同様のメニュー(図示せず)がポップアップ表示され、そのメニューの中から変更したい音符長を選択することで、音符長の最小単位を変更できるようにしている。もちろん、変更方法はこれに限らず、ボタン2a4を押すことで、変更できるようにしてもよい。   The notebook display unit 2b2 is composed of a plane composed of a vertical axis indicating the pitch and a horizontal axis indicating the passage of time, and a plurality of grids are formed in the plane. Each grid displays notes ("notes", but not "notes" as described in the notation 2a1 but in an "ellipse" shape (see FIGS. 4B to 4B described later). d) (referred to as “notes”), a score (piano roll) is created. Note that the length of the horizontal side of each grid indicates the minimum unit of the note length of the input note. The minimum unit of the note length can be freely changed by the user in the same way as the length of one scale of the ruler 2a3. In the present embodiment, when the user presses and holds an arbitrary position on the note display unit 2b2, a menu (not shown) similar to the menu 2a5 pops up, and the note length to be changed is selected from the menu. By doing so, the minimum unit of note length can be changed. Of course, the changing method is not limited to this, and it may be changed by pressing the button 2a4.

以上のように構成された電子音楽装置が実行する制御処理を、まず図3〜図5を参照してその概要を説明し、次に図6〜図11を参照して詳細に説明する。   A control process executed by the electronic music apparatus configured as described above will be described first with reference to FIGS. 3 to 5 and then in detail with reference to FIGS.

本実施の形態の電子音楽装置は、
(A)五線譜表示画面2aにおける楽譜入力処理
(B)ピアノロール表示画面2bにおける楽譜(ノート)入力処理
(C)五線譜表示画面2aおよびピアノロール表示画面2b内の各表示部品の回転処理
に特徴がある。
The electronic music apparatus of this embodiment is
(A) Music score input process on the staff score display screen 2a (B) Music score (note) input process on the piano roll display screen 2b (C) Rotation processing of each display component in the staff score display screen 2a and the piano roll display screen 2b is there.

図3は、上記(A)の楽譜入力処理を説明するための図であり、同図(a)は、楽譜の入力位置を指定したときの様子を示し、同図(b)は、入力音符の音高を指定したときの様子を示し、同図(c)は、入力音符の音符長を指定したときの様子を示している。   FIG. 3 is a diagram for explaining the score input process of (A), wherein FIG. 3 (a) shows a state when an input position of a score is designated, and FIG. 3 (b) is an input note. (C) shows the state when the note length of the input note is specified.

図3(a)のように、ユーザが五線譜2a1上の、たとえば1小節目の1拍目、A4(ラ)辺りをタッチすると、そのタッチ位置に最も近い(最寄りの)グリッドが判定される。ここで、グリッドとは、ルーラ2a3に刻まれた目盛りと目盛りの間の領域を示している。タッチ位置から最寄りのグリッドをどう判定するかについては、図8のステップS42の処理で後述する。そして、判定された最寄りのグリッドの先頭に位置する目盛りの上にカーソルCが表示され、この位置に音符が入力できることをユーザに知らせる。このとき、タッチ位置の音高が鍵盤2a2の中央あるいは中央付近に来るように、鍵盤2a2の表示鍵域が左/右に自動的にスクロールする。ここで、「タッチ位置の音高が中央付近に来る」とは、表示鍵域のスクロールを、たとえば1オクターブ単位あるいは半オクターブ単位で行うようにした場合には、タッチ位置の音高を表示鍵域の中央に厳密に位置させることはできないので、その場合には、中央付近に位置させるという意味である。もちろん、タッチ位置の音高を表示鍵域の中央に厳密に位置させることができる場合であっても、ユーザの操作上の都合などによって、当該音高を表示鍵域の中央に厳密に位置させない方がよいときには、「タッチ位置の音高が中央付近に来る」ようにしてもよい。   As shown in FIG. 3A, when the user touches, for example, the first beat of measure 1 around A4 (La) on the staff 2a1, the grid closest to the touch position (nearest) is determined. Here, the grid indicates an area between the scales engraved on the ruler 2a3. How to determine the nearest grid from the touch position will be described later in the process of step S42 in FIG. Then, a cursor C is displayed on the scale located at the head of the determined nearest grid, and informs the user that a note can be input at this position. At this time, the display key range of the keyboard 2a2 is automatically scrolled to the left / right so that the pitch at the touch position is at or near the center of the keyboard 2a2. Here, “the pitch at the touch position comes near the center” means that when the display key range is scrolled, for example, in units of one octave or half octave, the pitch at the touch position is displayed. Since it cannot be positioned exactly in the center of the area, in this case, it means that it is positioned near the center. Of course, even if the pitch at the touch position can be strictly positioned at the center of the display key range, the pitch is not positioned exactly at the center of the display key range due to the user's operational convenience. When it is better, “the pitch at the touch position comes near the center” may be used.

次に図3(b)のように、ユーザが指で、入力したい音高(図示例では、A4(ラ),C5(ド),E5(ミ))に対応する、鍵盤2a2の鍵を押さえると、当該鍵の色が変わり(図示例では、色の変化を斜線で表現している)、その指を離すと、破線で描かれたカーソルCの位置に対応する、五線譜2a1上の位置に、当該指定された音高の音符が入力される。ただし、入力音符の音符長は、ルーラ2a3の1目盛り(グリッドの横辺)に相当する長さ、図示例では4分音符長である。音符が入力されると、カーソルCは自動的に1目盛り分進む。   Next, as shown in FIG. 3B, the user presses the key of the keyboard 2a2 corresponding to the pitch to be input (in the illustrated example, A4 (La), C5 (Do), E5 (Mi)) with a finger. The color of the key changes (in the example shown, the color change is represented by diagonal lines), and when the finger is released, the key changes to a position on the staff 2a1 corresponding to the position of the cursor C drawn by a broken line. , The note of the specified pitch is input. However, the note length of the input note is a length corresponding to one scale (the horizontal side of the grid) of the ruler 2a3, which is a quarter note length in the illustrated example. When a note is input, the cursor C automatically advances by one scale.

同じ最小単位の音符長の音符を続けて入力する場合には、上述のように、カーソルCが次の入力位置に自動的に進むので、ユーザは鍵盤2a2の鍵を押さえて離す操作だけすればよい。たとえば、図3(b)で入力した音符と同じ音高かつ同じ音符長の音符を2つ続けて入力したい場合には、A4(ラ),C5(ド),E5(ミ)に対応する、鍵盤2a2の鍵を押さえてから離す操作を2回続けて行う。この結果、図3(c)の五線譜2a1中、第1小節の第1拍から第3拍に同じ音高の4分音符が3つ続けて入力される。なお図3(c)には、同じ音高の音符を続けて入力している例が描かれているが、これは便宜上に過ぎず、鍵を押さえて離す操作をする度に、異なった音高の鍵を操作すれば、異なった音高の音符が同じ最小単位の音符長で入力される。   When the same minimum note length is continuously input, the cursor C automatically advances to the next input position as described above, so that the user only has to press and release the key on the keyboard 2a2. Good. For example, when two notes having the same pitch and the same note length as those entered in FIG. 3 (b) are to be input in succession, these correspond to A4 (La), C5 (Do), and E5 (Mi). The operation of pressing and releasing the key of the keyboard 2a2 is performed twice in succession. As a result, in the staff 2a1 in FIG. 3C, three quarter notes having the same pitch are input in succession from the first beat to the third beat of the first measure. FIG. 3 (c) shows an example in which notes of the same pitch are continuously input, but this is only for convenience, and each time a key is pressed and released, a different sound is played. By operating the high key, notes with different pitches are input with the same minimum unit note length.

一方、最小単位の音符長とは異なる音符長の音符を入力したい場合には、ユーザは、図3(c)のように鍵盤2a2の鍵を押さえたまま、五線譜2a1上、入力したい音符長を指示する。音符長の指示は、具体的には、五線譜2a1上、現在のカーソルCの位置に対応する位置(図示例では、第1小節の第4拍)から入力したい音符長分離れた位置(図示例では、第2小節の第2拍の近傍)をタッチすることによって行う。音符長が指示されると、その音符長がどれくらいかをユーザに知らせるために、その音符長に対応する長さの短冊状表示2a7がルーラ2a3上に現れる。そして、ユーザが鍵盤2a2から押さえた鍵の指を離すと、指定された音高の音符が指示された音符長で入力される。図3(c)の例では、ユーザは、第1小節の第4拍にカーソルCが位置した状態で、A4(ラ),C5(ド),E5(ミ)に対応する、鍵盤2a2の鍵を押さえ、それを維持したまま、五線譜2a1上、第2小節の第2拍の近傍をタッチ(あるいは、五線譜2a1上、第1小節の第4拍の近傍から第2小節の第2拍の近傍までドラッグさせてもよい)すると、ルーラ2a3上に、当該指示された音符長を示す短冊状表示2a7が現れる。その後、ユーザが鍵盤2a2から指を離すと、指定された音高の2分音符が入力される。ただし図示例では、入力される音符は小節を跨ぐので、タイで表示される。音符が入力されると、カーソルCは自動的に、次の入力位置(第2小節の第2拍目の先頭)まで進む。なお図3(c)では、音符長の指定をルーラ2a3の近傍で行っているように描かれているが、これは便宜上そのように描かれているに過ぎず、実際には五線譜2a1上で行っている。もちろん、ルーラ2a3の近傍で音符長の指定ができるようにしてもよい。   On the other hand, when the user wants to input a note having a note length different from the note length of the minimum unit, the user holds the note length to be input on the staff 2a1 while holding the key of the keyboard 2a2 as shown in FIG. Instruct. Specifically, the instruction of the note length is a position (example shown) separated from the note length to be input from the position corresponding to the current position of the cursor C (fourth beat of the first measure in the example shown) on the staff 2a1. Then, it touches the vicinity of the second beat of the second measure). When the note length is specified, a strip-shaped display 2a7 having a length corresponding to the note length appears on the ruler 2a3 in order to inform the user of the note length. Then, when the user releases the finger of the key pressed from the keyboard 2a2, the note having the designated pitch is input with the designated note length. In the example of FIG. 3 (c), the user presses the key on the keyboard 2a2 corresponding to A4 (La), C5 (Do), and E5 (Mi) with the cursor C positioned at the fourth beat of the first measure. While holding and touching, touch the second beat of the second measure on the staff 2a1 (or the second beat of the second measure from the fourth beat of the first measure on the staff 2a1 Then, a strip-shaped display 2a7 indicating the instructed note length appears on the ruler 2a3. Thereafter, when the user lifts his / her finger from the keyboard 2a2, a half note having a designated pitch is input. However, in the example shown in the figure, the input note straddles a measure and is displayed in tie. When a note is input, the cursor C automatically advances to the next input position (the beginning of the second beat of the second measure). In FIG. 3 (c), the note length is shown as being specified in the vicinity of the ruler 2a3. However, this is only shown as such for the sake of convenience. Is going. Of course, the note length may be specified in the vicinity of the ruler 2a3.

このように(A)の楽譜入力処理によれば、同じ最小単位の音符長の音符を続けて入力するには、鍵盤2a2の鍵に対するタッチおよびリリースを繰り返すだけでよいので、入力操作を簡単化することができる。また、入力音符の音高は、同時に複数指定することができるので、和音を入力する際の入力操作を特に簡略化することができる。さらに、最小単位より長い音符長の音符を入力する場合でも、その音符長に相当する位置を五線譜2a1上でタッチするだけでよいので、音符長の異なる音符を入力する場合でも、入力操作は複雑化しない。   As described above, according to the score input process of (A), in order to continuously input notes of the same minimum note length, it is only necessary to repeatedly touch and release the keys of the keyboard 2a2, thereby simplifying the input operation. can do. In addition, since a plurality of pitches of input notes can be specified at the same time, the input operation when inputting chords can be particularly simplified. Furthermore, even when a note having a note length longer than the minimum unit is input, it is only necessary to touch the position corresponding to the note length on the staff 2a1, so that even if a note having a different note length is input, the input operation is complicated. Do not turn.

図4は、前記(B)の楽譜入力処理を説明するための図であり、同図(a)は、入力ノートの音高を指定したときの様子を示し、同図(b)は、ノートの入力位置を指定したときの様子を示し、同図(c)は、同じ音高かつ同じ音符長のノートを続けて入力したときの様子を示し、同図(d)は、最小単位の音符長より長い音符長のノートを入力したときの様子を示している。   FIG. 4 is a diagram for explaining the score input process of (B), where FIG. 4 (a) shows the state when the pitch of the input note is specified, and FIG. 4 (b) shows the note. (C) shows a state when notes having the same pitch and the same note length are continuously input, and (d) shows a note of the smallest unit. This shows how a note with a note length longer than the length is input.

図4(a)のように、ユーザが指で、鍵盤部2b1上の、たとえばC4(ド),E4(ミ),G4(ソ)に相当する鍵をタッチすると、タッチされた鍵の色が変わって(図示例では、色の変化を斜線で表現している)、選択状態であることをユーザに知らせる。なお、ユーザがその指を離すと、鍵の選択状態は解除され、鍵の色も元の色に戻る。   As shown in FIG. 4A, when the user touches a key corresponding to, for example, C4 (do), E4 (mi), or G4 (so) on the keyboard unit 2b1, the color of the touched key is changed. Instead (in the illustrated example, the color change is represented by diagonal lines), the user is informed of the selection state. When the user lifts the finger, the selected state of the key is released and the key color returns to the original color.

次にユーザが、鍵盤部2b1の鍵を選択した状態で、ノート表示部2b2上のいずれかの位置をタッチすると、そのタッチ位置に最も近い(最寄りの)グリッド列が判定される。ここで、グリッド列とは、グリッドの縦方向の1列を意味し、図4では、列R1〜R6のいずれか1列である。そして、ユーザがノート表示部2b2上からタッチした指を離すと、図4(b)に示すように、判定されたグリッド列に属するグリッドのうち、選択された音高に対応するグリッドにノートが入力される。ノートの入力は、当該グリッドに内接される楕円によって表現される。ここで、ノート表示部2b2上のタッチ位置は、鍵盤部2b1上で選択された鍵に対応するグリッド内の位置に限らず、当該グリッドと同じグリッド列内であればどの位置であってもよい。図示例では、ユーザは、ノート表示部2b2のグリッド列R3に属するグリッドのうち、鍵盤部2b1の鍵“D#4”に対応するグリッド内をタッチしているが、ノートは、鍵“G4”,“E4”および“C4”にそれぞれ対応する各グリッド内に入力される。なお図示例では、楕円は黒色で表されているが、色は黒色に限らず、どのような色を採用してもよいし、単色の塗り潰しではなく、網掛けや模様であってもよい。   Next, when the user touches any position on the note display section 2b2 in a state where the key of the keyboard section 2b1 is selected, the grid row closest to the touch position is determined. Here, the grid row means one row in the vertical direction of the grid, and in FIG. 4 is any one of the rows R1 to R6. Then, when the user releases the touched finger from the note display unit 2b2, as shown in FIG. 4 (b), the note is placed on the grid corresponding to the selected pitch among the grids belonging to the determined grid row. Entered. The note input is represented by an ellipse inscribed in the grid. Here, the touch position on the note display unit 2b2 is not limited to the position in the grid corresponding to the key selected on the keyboard unit 2b1, and may be any position as long as it is in the same grid row as the grid. . In the illustrated example, the user touches the grid corresponding to the key “D # 4” of the keyboard portion 2b1 among the grids belonging to the grid row R3 of the note display portion 2b2, but the note is the key “G4”. , “E4” and “C4” respectively. In the illustrated example, the ellipse is represented in black. However, the color is not limited to black, and any color may be adopted, and a shade or a pattern may be used instead of a solid color.

従来の電子音楽装置が、上記ノート表示部2b2と同様のノート表示部を備えているものとし、この従来の電子音楽装置を用いて、上述のようにC4(ド),E4(ミ),G4(ソ)の音高のノートを入力する場合には、ノート表示部上の、各音高にそれぞれ対応したグリッドを1つずつ、つまり3回タッチする必要がある。しかし、本実施の形態の電子音楽装置によれば、上述のようにノート表示部2b2へのタッチは1回で済むので、特に和音を入力する際の入力操作を簡単化することができる。さらに、ノート表示部2b2上のタッチ位置は、入力ノートの音高に対応するグリッドが属するグリッド列内であれば、どこでもよいので、ユーザは正確なタッチ操作が不要となる。   It is assumed that a conventional electronic music device includes a note display unit similar to the note display unit 2b2, and using this conventional electronic music device, C4 (do), E4 (mi), G4 as described above. When inputting a note having a pitch of (G), it is necessary to touch the grid corresponding to each pitch on the note display section one by one, that is, three times. However, according to the electronic music apparatus of the present embodiment, as described above, the touch on the note display unit 2b2 only needs to be performed once, so that it is possible to simplify the input operation particularly when inputting chords. Furthermore, since the touch position on the note display unit 2b2 may be anywhere in the grid row to which the grid corresponding to the pitch of the input note belongs, the user does not need an accurate touch operation.

同じ最小単位の音符長かつ同じ音高のノートを続けて入力する場合には、図4(c)に示すように、鍵盤部2b1上の鍵の選択状態を維持したまま、ノート表示部2b2上のタッチ位置を変動させる。図示例では、ユーザは、グリッド列R3に続いて、グリッド列R5とグリッド列R6をタッチしているので、C4(ド),E4(ミ),G4(ソ)の音高のノートが、グリッド列R3,列R5および列R6にそれぞれ属するグリッドに入力される。   When notes of the same minimum unit length and the same pitch are continuously input, as shown in FIG. 4 (c), the selected state of the key on the keyboard portion 2b1 is maintained on the note display portion 2b2. Change the touch position. In the illustrated example, since the user touches the grid row R5 and the grid row R6 following the grid row R3, notes of pitches C4 (do), E4 (mi), and G4 (so) are displayed on the grid row. The data is input to grids belonging to the columns R3, R5, and R6.

このように本実施の形態の電子音楽装置によれば、同じ音符長かつ同じ音高のノートをいくつも続けて入力する場合、鍵盤部2b1上の、当該音高に対応する鍵を押さえっぱなしにしておけば、あとはノート表示部2b2で入力位置(時間的な位置)だけを指定すればよいので、ユーザは正確なタッチ操作が不要となる。   As described above, according to the electronic music device of the present embodiment, when a number of notes having the same note length and the same pitch are continuously input, the key corresponding to the pitch on the keyboard portion 2b1 is held down. Then, only the input position (temporal position) needs to be specified on the note display unit 2b2, so that the user does not need an accurate touch operation.

一方、最小単位の音符長より長い音符長のノートを入力したい場合には、図4(d)に示すように、ユーザは鍵盤部2b1上の鍵の選択状態を維持したまま、ノート表示部2b2上を横方向にドラッグする。ドラッグ中は、ドラッグしている範囲がどれくらいか分かるように、ドラッグの始点を含むグリッド列から終点を含むグリッド列まで(図示例では、グリッド列R3からグリッド列R6まで)の全体が色つきで表示される(図示例では、色の変化を斜線で表現している)。そして、ユーザがドラッグを停止し、タッチした指を離すと、ドラッグが開始された位置から指を離した位置までに、ドラッグされた長さに相当する音符長かつ、鍵盤部2b1上で選択された音高のノートが入力される。図示例では、ユーザは、グリッド列R3内の位置からグリッド列R6内の位置までドラッグ操作しているので、C4(ド),E4(ミ),G4(ソ)の音高かつ全音符長(=最小単位×4;ただし、最小単位、つまり各グリッドの横辺の長さを4分音符長とした場合)のノートが入力される。   On the other hand, when it is desired to input a note having a note length longer than the minimum unit note length, as shown in FIG. 4 (d), the user maintains the selected state of the key on the keyboard portion 2b1 and the note display portion 2b2. Drag the top sideways. During dragging, the entire range from the grid column including the drag start point to the grid column including the end point (in the illustrated example, from the grid column R3 to the grid column R6) is colored so that the range being dragged can be understood. Displayed (in the illustrated example, the color change is represented by diagonal lines). When the user stops dragging and releases the touched finger, the note length corresponding to the dragged length is selected on the keyboard part 2b1 from the position where the drag is started to the position where the finger is released. A note with the correct pitch is input. In the illustrated example, since the user is dragging from the position in the grid row R3 to the position in the grid row R6, the pitches of C4 (do), E4 (mi), G4 (so) and the total note length ( = Minimum unit × 4; However, the note of the minimum unit, that is, the length of the horizontal side of each grid is set to the quarter note length) is input.

このように本実施の形態の電子音楽装置によれば、鍵盤部2b1で音高の指定ができるとともに、ノート表示部2b2で音符長の指定ができるので、ユーザはノートの入力を直感的に行うことができる。   As described above, according to the electronic music apparatus of the present embodiment, the pitch can be specified on the keyboard unit 2b1, and the note length can be specified on the note display unit 2b2. Thus, the user intuitively inputs the notes. be able to.

図5は、前記(C)の回転処理を説明するための図であり、同図(a)は、五線譜表示画面2aに含まれる表示部品を示し、同図(b)は、同図(a)の各表示部品を独立して回転させたときの様子を示し、同図(c)は、ピアノロール表示画面2bに含まれる表示部品を示し、同図(d)は、同図(c)の表示部品の一方を回転させたときの様子を示している。   FIG. 5 is a diagram for explaining the rotation process of (C). FIG. 5 (a) shows display components included in the staff notation display screen 2a, and FIG. ) Shows a state when each display component is independently rotated. FIG. 10C shows display components included in the piano roll display screen 2b, and FIG. It shows a state when one of the display parts is rotated.

五線譜表示画面2aは、図5(a)に示すように、五線譜2a1およびルーラ2a3からなる表示部品Pa1と、鍵盤2a2からなる表示部品Pa2とを備えている。表示部品とは、一体で独立して回転可能な表示画像を意味し、各表示部品をそれぞれ構成する表示画像は、画面毎に(本実施の形態では、五線譜表示画面2aとピアノロール表示画面2bとで)予め固定的に決まっている。なお、五線譜表示画面2aには、前述のようにボタン2a4も含まれるが、本実施の形態では、ボタン2a4は回転しないので、表示部品には含まれない(この事情は、ピアノロール表示画面2bについても同様である)。もちろん、ボタン2a4も回転できるように構成してもよい。   As shown in FIG. 5A, the musical score display screen 2a includes a display component Pa1 composed of a staff notation 2a1 and a ruler 2a3, and a display component Pa2 composed of a keyboard 2a2. The display component means a display image that can be rotated integrally and independently, and the display image constituting each display component is displayed for each screen (in this embodiment, the staff score display screen 2a and the piano roll display screen 2b). And) fixed in advance. Note that the staff notation display screen 2a includes the button 2a4 as described above. However, in the present embodiment, the button 2a4 does not rotate and is not included in the display component (this is because the piano roll display screen 2b The same applies to. Of course, you may comprise so that button 2a4 can also rotate.

ユーザは、五線譜表示画面2aから楽譜入力を行うに際して、五線譜表示画面2aの初期表示、つまり図5(a)に示す表示では、入力操作がし難い場合がある。この場合、表示部品Pa1またはPa2のいずれか一方、あるいは両方を回転させれば、入力操作が格段にし易くなることがある。そこで、本実施の形態の電子音楽装置は、ユーザの回転指示に応じて、表示部品Pa1およびPa2をそれぞれ独立して回転できるようにしている。図5(b)は、ユーザによる回転指示の仕方と、その回転指示に応じて各表示部品Pa1およびPa2を回転させた後の様子を示している。ユーザは、まず1本の指で、回転させたい表示部品の範囲内あるいはその近傍をタッチし、次にもう1本の指で、回転させる方向および角度をドラッグ操作によって指示すると、タッチした表示部品が、指示した方向および角度で回転する。図示例では、表示部品Pa1を時計の針の回る方向に所定の角度だけ回転させ、表示部品Pa2を時計の針の回る方向と逆の方向に所定の角度だけ回転させた様子が描かれている。なお図示例には、表示部品の選択と回転の指示とをそれぞれ別の手の指で行うように描かれているが、同じ手の別の指で行うようにしてもよいことは、言うまでもない。   When a user inputs a musical score from the staff notation display screen 2a, the initial display on the staff notation display screen 2a, that is, the display shown in FIG. In this case, if either one or both of the display components Pa1 and Pa2 are rotated, the input operation may be greatly facilitated. Therefore, the electronic music apparatus according to the present embodiment is configured so that the display components Pa1 and Pa2 can be independently rotated in accordance with a user's rotation instruction. FIG. 5B shows how the user gives a rotation instruction and how the display components Pa1 and Pa2 are rotated in accordance with the rotation instruction. When the user first touches within or near the range of the display component to be rotated with one finger and then designates the direction and angle of rotation with the other finger by a drag operation, the touched display component Rotate in the indicated direction and angle. In the illustrated example, the display component Pa1 is rotated by a predetermined angle in the direction in which the clock hand rotates, and the display component Pa2 is rotated by a predetermined angle in the direction opposite to the direction in which the clock hand rotates. . In the illustrated example, the selection of the display component and the rotation instruction are depicted as being performed with fingers of different hands, but it is needless to say that they may be performed with different fingers of the same hand. .

五線譜表示画面2aから楽譜入力を行うに際しての上記問題、つまり、初期画面表示のままでは入力操作がし難い場合があることは、ピアノロール表示画面2bから楽譜入力を行うに際しても同様に起こり得るので、ピアノロール表示画面2bも、図5(c)に示すように、鍵盤部2b1からなる表示部品Pb1と、ノート表示部2b2からなる表示部品Pb2とを備えるようにし、各表示部品Pb1およびPb2をそれぞれ独立して回転できるようにしている。   The above-mentioned problem when inputting a score from the staff score display screen 2a, that is, it may be difficult to perform an input operation with the initial screen displayed, may occur when inputting a score from the piano roll display screen 2b. As shown in FIG. 5C, the piano roll display screen 2b is also provided with a display component Pb1 composed of a keyboard portion 2b1 and a display component Pb2 composed of a note display portion 2b2, and each display component Pb1 and Pb2 is provided. Each can be rotated independently.

図5(d)は、前記図5(b)と同様に、ユーザによる回転指示の仕方と、その回転指示に応じて表示部品Pb1を回転させた後の様子を示している。ただし図5(d)では、図5(b)と異なり、2つの表示部品のうちの一方のみを回転させ、もう一方は初期表示のままにしているが、これは、表示部品Pb1、つまり鍵盤部2b1は、初期表示の向きでは入力操作がし難いのに対して、表示部品Pb2、つまりノート表示部2b2は、初期表示のままでも入力操作がし難いとまでは言えないからである。もちろん、表示部品Pb2も回転させるようにしてもよいし、逆に、表示部品Pb2を回転させ、表示部品Pb1を回転させないようにしてもよい。なお、回転対象となる表示部品の選択の仕方と、回転させる方向および角度の指示の仕方は、五線譜表示画面2a内の各表示部品についてのそれと同様であるので、その説明は省略する。   FIG. 5D shows the manner in which the user gives a rotation instruction and the state after the display component Pb1 is rotated in accordance with the rotation instruction, as in FIG. 5B. However, in FIG. 5 (d), unlike FIG. 5 (b), only one of the two display components is rotated and the other is left in the initial display, but this is the display component Pb1, that is, the keyboard. This is because the part 2b1 is difficult to perform an input operation in the initial display direction, whereas the display component Pb2, that is, the note display part 2b2, cannot be said to be difficult to perform an input operation even in the initial display state. Of course, the display component Pb2 may also be rotated, or conversely, the display component Pb2 may be rotated and the display component Pb1 may not be rotated. Note that the method of selecting the display component to be rotated and the method of specifying the direction and angle of rotation are the same as those for each display component in the staff notation display screen 2a, and a description thereof will be omitted.

なお本実施の形態では、鍵盤2a2および鍵盤部2b1は、表示されているもの全体が一体として回転するようにしたが、これに限らず、左鍵域と右鍵域とで別々に回転できるようにしてもよい。また、回転に加えて、各表示部品を独立して移動できるようにしてもよい。この場合、通常のドラッグ操作で移動させても良いし、スワイプ操作(鍵盤のスクロールなど)と明確に区別するため、2本指でドラッグするなど、操作方法を異ならせるようにしてもよい。また、複数の表示部品をまとめて回転または移動できるようにしてもよい。   In the present embodiment, the keyboard 2a2 and the keyboard portion 2b1 are rotated as a whole as a whole. However, the present invention is not limited to this, and the left key range and the right key range can be rotated separately. May be. In addition to rotation, each display component may be moved independently. In this case, it may be moved by a normal drag operation, or the operation method may be made different by, for example, dragging with two fingers to clearly distinguish it from a swipe operation (keyboard scrolling, etc.). Moreover, you may enable it to rotate or move several display components collectively.

回転や移動した状態は、前記RAM8のユーザ領域に保存できるようにし、これを呼び出して使用可能に構成してもよい。この場合、座って使用する場合の設定や寝そべって使用する場合の設定、縦向き、横向きなど、複数の状態を保存できるようにしておき、ユーザの使用状況に応じて適切なものを呼び出して使用できるようにするとよい。   The rotated or moved state may be stored in the user area of the RAM 8 and may be called up and used. In this case, it is possible to save multiple settings such as settings for sitting and using, lying down, portrait, landscape, etc., and calling and using the appropriate one according to the user's usage You should be able to do it.

次に、この制御処理を詳細に説明する。   Next, this control process will be described in detail.

図6は、本実施の形態の電子音楽装置、特にCPU6が実行するメインルーチンの手順を示すフローチャートである。   FIG. 6 is a flowchart showing the procedure of the main routine executed by the electronic music apparatus of the present embodiment, particularly the CPU 6.

本メインルーチンは、主として
(1)初期化処理(ステップS1)
(2)ユーザ操作を受け付け、その操作位置および操作種類を判定する受付・判定処理(ステップS2,S3)
(3)上記(2)の受付・判定処理によって判定された操作位置および操作種類に応じて処理を
(31)入力音符指定処理(ステップS7)
(32)入力位置指定処理(ステップS9)
(33)操作に応じた処理#1(ステップS10)
(34)操作に応じた処理#2(ステップS13)
(35)終了処理(ステップS12)
のうちのいずれかの処理に分岐させる分岐処理(ステップS4,S5,S6,S8,S11)
によって構成されている。本メインルーチンは、前記設定操作子1に含まれる電源スイッチ(図示せず)によって電源がオンされたときに起動される。起動後、前記(1)の初期設定処理が1回実行され、これに続いて、上記(2)および(3)の各処理が順次実行され、この(3)の分岐処理によって分岐された分岐先の処理が終了すると、(2)の処理に戻って、(2)および(3)の各処理が、電源スイッチによって電源がオフされるまで、繰り返し実行される。ただし、分岐先の処理が前記(35)の終了処理である場合には、その(35)終了処理が終了すると、本メインルーチンは終了する。
This main routine mainly includes (1) initialization processing (step S1).
(2) Acceptance / determination process for accepting user operation and determining its operation position and operation type (steps S2 and S3)
(3) (31) Input note designation process (step S7) according to the operation position and operation type determined by the reception / determination process of (2) above
(32) Input position designation processing (step S9)
(33) Process # 1 according to the operation (step S10)
(34) Process # 2 according to operation (step S13)
(35) End processing (step S12)
Branching process for branching to any one of the processes (steps S4, S5, S6, S8, S11)
It is constituted by. This main routine is started when the power is turned on by a power switch (not shown) included in the setting operator 1. After the start-up, the initial setting process (1) is executed once, and subsequently, the processes (2) and (3) are sequentially executed. When the previous process ends, the process returns to the process (2), and the processes (2) and (3) are repeatedly executed until the power is turned off by the power switch. However, when the branch destination process is the (35) end process, the main routine ends when the (35) end process ends.

前記(1)初期化処理では、CPU6は、RAM8をクリアしたり、各種パラメータの値をデフォルト値に設定したり、表示画面を選択・表示したりする。本実施の形態では、表示画面、つまり五線譜表示画面2aまたはピアノロール表示画面2bのいずれかは、この(1)初期化処理で1回のみ選択でき、その後、本メインルーチンが終了するまで、変更することはできないようになっている。これは、説明の都合上そうしているに過ぎず、本メインルーチンの途中で、ユーザの指示に応じて任意に切り替えできるようにしてもよい。なお、(1)初期化処理での表示画面の選択は、ユーザにどちらの画面を表示させたいか問い合わせるようにし、ユーザがそれに回答した方を選択するようにすればよい。   In the (1) initialization process, the CPU 6 clears the RAM 8, sets various parameter values to default values, and selects and displays a display screen. In the present embodiment, the display screen, that is, either the staff score display screen 2a or the piano roll display screen 2b can be selected only once in this (1) initialization process, and then changed until the main routine ends. You can't do that. This is only for convenience of explanation, and may be arbitrarily switched in accordance with a user instruction during the main routine. It should be noted that (1) selection of the display screen in the initialization process may be made by inquiring the user which screen is desired to be displayed, and the user responding to the selection is selected.

前記(2)受付・判定処理では、CPU6は、前記検出回路4からの出力を常時チェックすることにより、タッチパネル2に対するユーザ操作があったかどうかを監視し、ユーザ操作があったときにはそのユーザ操作を受け付け(ステップS2)、受け付けたユーザ操作に基づいて、操作位置および操作種類を判定する(ステップS3)。ここで、操作位置とは、タッチパネル2上の操作位置であり、操作種類とは、タッチ操作、ホールド操作、スワイプ操作、ドラッグ操作およびピンチ操作などである。   In the (2) reception / determination process, the CPU 6 constantly checks the output from the detection circuit 4 to monitor whether there is a user operation on the touch panel 2, and accepts the user operation when there is a user operation. (Step S2) Based on the received user operation, the operation position and the operation type are determined (Step S3). Here, the operation position is an operation position on the touch panel 2, and the operation type is a touch operation, a hold operation, a swipe operation, a drag operation, a pinch operation, or the like.

前記(3)分岐処理では、CPU6は、判定された操作位置および操作種類に基づいて、次のようにして処理を分岐させる。すなわち、
(C1)操作位置がノート入力用画像上&(かつ)操作位置が音高指定部内&操作種類がタッチ操作またはドラッグ操作:前記(31)入力音符指定処理に分岐(ステップS4→S5→S6→S7);
(C2)操作位置がノート入力用画像上&操作位置がタイミング指定部内&操作種類がタッチ操作またはドラッグ操作:前記(32)入力位置指定処理に分岐(ステップS4→S5→S8→S9);
(C3)操作位置がノート入力用画像上&操作位置が音高指定部内&操作種類がタッチ操作およびドラッグ操作のいずれでもない:前記(33)操作に応じた処理#1に分岐(ステップS4→S5→S6→S10);
(C4)操作位置がノート入力用画像上&操作位置がタイミング指定部内&操作種類がタッチ操作およびドラッグ操作のいずれでもない:前記(33)操作に応じた処理#1に分岐(ステップS4→S5→S8→S10);
(C5)操作位置がノート入力用画像上以外&操作種類が「終了指示」:前記(35)終了処理に分岐(ステップS4→S11→S12);
(C6)操作位置がノート入力用画像上以外&操作種類が「終了指示」以外:前記(34)操作に応じた処理#2に分岐(ステップS4→S11→S13)。
In the (3) branch process, the CPU 6 branches the process as follows based on the determined operation position and operation type. That is,
(C1) The operation position is on the note input image & (and) the operation position is in the pitch designation section & the operation type is a touch operation or a drag operation: branch to the (31) input note designation process (steps S4 → S5 → S6 → S7);
(C2) The operation position is on the note input image & the operation position is in the timing designation section & the operation type is a touch operation or a drag operation: branch to the (32) input position designation process (steps S4 → S5 → S8 → S9);
(C3) The operation position is on the image for note input & the operation position is in the pitch designating part & the operation type is neither touch operation nor drag operation: (33) Branch to process # 1 according to the operation (step S4 → S5 → S6 → S10);
(C4) The operation position is on the image for note input & the operation position is in the timing designation section & the operation type is neither touch operation nor drag operation: (33) Branch to the process # 1 according to the operation (steps S4 to S5) → S8 → S10);
(C5) The operation position is not on the note input image & the operation type is “end instruction”: branch to the (35) end process (steps S4 → S11 → S12);
(C6) Operation position other than on note input image & operation type other than “end instruction”: Branch to process # 2 corresponding to the operation (34) (steps S4 → S11 → S13).

上記ケース(C1)中、第1番目のケース、つまり「操作位置がノート入力用画像上」は、ユーザがノート(音符)入力に関わる画像上を操作しているケースを示している。ノート(音符)入力に関わる画像(ノート入力用画像)は、本実施の形態では、入力するノート(音符)の音高指定に関わる画像部である「音高指定部」と、入力するノート(音符)のタイミング指定に関わる画像部である「タイミング指定部」とによって構成されている。そして、五線譜表示画面2aでは、鍵盤2a2が「音高指定部」に、五線譜2a1およびルーラ2a3が「タイミング指定部」に対応し、ピアノロール表示画面2bでは、鍵盤部2b1が「音高指定部」に、ノート表示部2b2が「タイミング指定部」に対応する。したがって、五線譜表示画面2aが選択されている場合に、ユーザが五線譜2a1、鍵盤2a2およびルーラ2a3(これらに加えて、その近傍を含むようにしてもよい。以下、同様)上を操作している状態や、ピアノロール表示画面2bが選択されている場合に、ユーザが鍵盤部2b1およびノート表示部2b2(これらに加えて、その近傍を含むようにしてもよい。以下、同様)上を操作している状態が、上記第1番目のケースに該当する。一方、ユーザが、たとえば、前記ボタン2a4やメニュー2a5,2a6(図2参照)などの当該画像上以外を操作している状態は、上記第1番目のケースには該当しない。   In the case (C1), the first case, that is, “the operation position is on the note input image” indicates a case where the user is operating on an image related to note (note) input. In the present embodiment, an image related to note (note note) input (note input image) is an image portion related to pitch specification of an input note (note), and a note to be input ( The “timing designation unit” is an image part related to the timing designation of the (note). On the staff notation display screen 2a, the keyboard 2a2 corresponds to "pitch designation part", and the staff notation 2a1 and ruler 2a3 correspond to "timing designation part". On the piano roll display screen 2b, the keyboard part 2b1 corresponds to "pitch designation part". ", The note display unit 2b2 corresponds to a" timing designation unit ". Therefore, when the staff score display screen 2a is selected, the user is operating on the staff score 2a1, the keyboard 2a2, and the ruler 2a3 (in addition to these, the vicinity thereof may be included. The same applies hereinafter) When the piano roll display screen 2b is selected, the user is operating on the keyboard part 2b1 and the note display part 2b2 (in addition to these, the vicinity thereof may be included. The same applies hereinafter). This corresponds to the first case. On the other hand, a state where the user is operating other than on the image such as the button 2a4 and the menus 2a5 and 2a6 (see FIG. 2) does not correspond to the first case.

上記ケース(C1)中、第2番目のケース、つまり「操作位置が音高指定部」は、上述のように、ユーザが「ノート入力用画像」の構成要素の一方である「音高指定部」(五線譜表示画面2aでは、鍵盤2a2であり、ピアノロール表示画面2bでは、鍵盤部2b1である)内を操作しているケースを示している。   In the case (C1), the second case, that is, “the operation position is a pitch designating part”, as described above, is a “pitch designating part that is one of the constituent elements of the“ note input image ”by the user. ”(In the stave display screen 2a, it is the keyboard 2a2, and in the piano roll display screen 2b, it is the keyboard portion 2b1).

したがって、上記ケース(C1)全体は、ユーザが、五線譜表示画面2aが選択されている場合には鍵盤2a2上を、ピアノロール表示画面2bが選択されている場合には鍵盤部2b1上をタッチ操作またはドラッグ操作したケースを示している。   Therefore, the entire case (C1) is touched by the user on the keyboard 2a2 when the staff score display screen 2a is selected, and on the keyboard portion 2b1 when the piano roll display screen 2b is selected. Or the case where it dragged is shown.

また、前記ケース(C2)中、第1番目のケースは、前記ケース(C1)の第1番目のケースと同様であるので、その説明は省略するが、前記ケース(C2)中、第2番目のケース、つまり「操作位置がタイミング指定部内」は、前述のように、ユーザが「ノート入力用画像」の構成要素のもう一方である「タイミング指定部」(五線譜表示画面2aでは、五線譜2a1およびルーラ2a3であり、ピアノロール表示画面2bでは、ノート表示部2b2である)内を操作しているケースを示している。   In the case (C2), the first case is the same as the first case of the case (C1), and the description thereof is omitted, but the second case in the case (C2) is omitted. In this case, that is, “the operation position is in the timing designating portion”, as described above, the user designates the “timing designating portion” which is the other component of the “note input image”. It is a ruler 2a3, and a case in which the inside of the piano roll display screen 2b is a note display unit 2b2 is shown.

したがって、前記ケース(C2)全体は、ユーザが、五線譜表示画面2aが選択されている場合には五線譜2a1またはルーラ2a3上を、ピアノロール表示画面2bが選択されている場合にはノート表示部2b2上をタッチ操作またはドラッグ操作したケースを示している。   Therefore, the entire case (C2) is displayed on the staff notation 2a1 or the ruler 2a3 when the staff notation display screen 2a is selected, and on the note display portion 2b2 when the piano roll display screen 2b is selected. A case where the top is touched or dragged is shown.

前記ケース(C3)全体は、前記ケース(C1)全体に対して、ユーザの操作種類のみが異なっている。つまり、ユーザが、タッチ操作およびドラッグ操作以外の操作、たとえばスワイプ操作やピンチ操作などを行ったケースを示している。   The entire case (C3) differs from the entire case (C1) only in the type of user operation. That is, a case where the user performs an operation other than the touch operation and the drag operation, for example, a swipe operation or a pinch operation is shown.

同様に、前記ケース(C4)全体は、前記ケース(C2)全体に対して、ユーザの操作種類のみが異なっている。つまり、ユーザが、タッチ操作およびドラッグ操作以外の操作、たとえばスワイプ操作やピンチ操作などを行ったケースを示している。   Similarly, the entire case (C4) is different from the entire case (C2) only in the operation type of the user. That is, a case where the user performs an operation other than the touch operation and the drag operation, for example, a swipe operation or a pinch operation is shown.

前記ケース(C5)中、第1番目のケース、つまり「操作位置がノート入力用画像上以外」は、前述のように、ユーザが「ノート入力用画像」外を操作しているケースを示している。その第2番目のケース、つまり「操作種類が『終了指示』」は、ユーザが「終了指示」に該当する特別な態様の操作(たとえば、ボタン2a4内の1つに「終了」が割り当てられており、そのボタンに対するタッチ操作が考えられる。もちろん、これに限られる訳ではない)をしたケースを示している。   In the case (C5), the first case, that is, “the operation position is not on the note input image” indicates the case where the user is operating outside the “note input image” as described above. Yes. In the second case, that is, “the operation type is“ end instruction ””, the user has a special operation corresponding to the “end instruction” (for example, “end” is assigned to one of the buttons 2a4). This is a case where a touch operation on the button can be considered (of course, but not limited to this).

前記ケース(C6)全体は、上記ケース(C5)全体に対して、ユーザの操作種類のみが異なっている。つまり、ユーザが、「終了指示」に該当する操作以外の操作、たとえば前記(O1)〜(O8)の各操作を行ったケースを示している。   The entire case (C6) differs from the entire case (C5) only in the type of user operation. That is, a case where the user performs an operation other than the operation corresponding to the “end instruction”, for example, the operations (O1) to (O8) is shown.

図7は、前記(31)の入力音符指定処理のうち、五線譜表示画面2aが選択されている場合に実行される入力音符指定処理#1の詳細な手順を示すフローチャートである。   FIG. 7 is a flowchart showing a detailed procedure of the input note designation process # 1 executed when the staff score display screen 2a is selected in the input note designation process of (31).

本入力音符指定処理#1は、主として
(41)入力する音符の音高を決定する音高決定処理(ステップS21〜S25)
(42)上記(41)音高決定処理によって決定された音高の音符を最小単位の音符長で入力する第1の音符入力処理(ステップS28,S29)
(43)上記(41)音高決定処理によって決定された音高の音符を最小単位より長い音符長で入力する第2の音符入力処理(ステップS34,S35)
(44)上記(42)または(43)の音符入力処理後の後処理(ステップS30〜S33)
によって構成されている。
This input note designation processing # 1 is mainly (41) pitch determination processing (steps S21 to S25) for determining the pitch of the input note.
(42) First note input processing for inputting a note having a pitch determined by the above-described (41) pitch determination processing in a minimum unit note length (steps S28 and S29).
(43) Second note input processing (steps S34, S35) for inputting a note having a pitch determined by the above-described (41) pitch determination processing with a note length longer than the minimum unit.
(44) Post-processing after the note input processing of (42) or (43) (steps S30 to S33)
It is constituted by.

上記(41)の音高決定処理では、まずCPU6は、タッチ位置の座標をノートナンバに変換する(ステップS21)。具体的には、CPU6は、タッチ位置の座標からユーザが鍵盤2a2のどの鍵をタッチしているか判定し、判定した鍵に割り当てられているノートナンバを取得することで、タッチ位置の座標からノートナンバに変換する。ここで、どの鍵がタッチされているかの判定は、たとえば、タッチ位置のxy座標が鍵盤2a2上、各白鍵および各黒鍵がそれぞれ占める領域のうちのどの領域に含まれるかを判定することによって行えばよい。なお、タッチ位置は、実際には面積のある領域であるが、説明を単純化するために面積のない点とみなしている(以下、同様)。   In the pitch determination process of (41), first, the CPU 6 converts the coordinates of the touch position into a note number (step S21). Specifically, the CPU 6 determines which key of the keyboard 2a2 is touched by the user from the coordinates of the touch position, and obtains the note number assigned to the determined key, thereby obtaining the note from the coordinates of the touch position. Convert to number. Here, for determining which key is touched, for example, it is determined which xy coordinates of the touch position are included in the area occupied by each white key and each black key on the keyboard 2a2. Can be done. Note that the touch position is actually a region having an area, but is regarded as a point having no area in order to simplify the description (the same applies hereinafter).

次にCPU6は、変換されたノートナンバを、音符を入力するために前記RAM8の所定位置に確保された入力用バッファ(図示せず)にストアする(ステップS22)。さらにCPU6は、変換されたノートナンバに対応する、つまりタッチされている鍵盤2a2の鍵の表示態様を「選択状態」の態様に変更する(ステップS23)。「選択状態」の態様とは、元の表示色と異なった「選択状態」の表示色にすることである(前記図3(b)を参照)。   Next, the CPU 6 stores the converted note number in an input buffer (not shown) secured at a predetermined position in the RAM 8 for inputting notes (step S22). Further, the CPU 6 changes the display mode of the key corresponding to the converted note number, that is, the key of the touched keyboard 2a2 to the “selected state” (step S23). The “selected state” means that the display color of the “selected state” is different from the original display color (see FIG. 3B).

上記ステップS21〜S23の処理は、ユーザが1本の指で1つの鍵をタッチ操作する場合の処理に相当し、図7のフローチャートでは、複数の指で複数の鍵を同時にタッチ操作する場合の処理は記載されていないが、複数鍵の同時操作がなされた場合には、ステップS21〜S23の処理を同時操作された鍵の数分繰り返し実行することで、前記図3(b)のように、複数鍵の同時操作にも対応している。   The processing in steps S21 to S23 corresponds to the processing when the user touches one key with one finger. In the flowchart of FIG. Although the process is not described, when a plurality of keys are operated simultaneously, the processes in steps S21 to S23 are repeatedly executed for the number of keys operated simultaneously, as shown in FIG. Also supports simultaneous operation of multiple keys.

また、ユーザがタッチ操作する鍵を間違えた場合には、そのタッチ状態を保持したまま、正しい鍵に移動させることで、ユーザの意図通りの音高を決定できるようにしている。ステップS24およびS25の処理は、これを実現するためのものである。つまり、ステップS24では、タッチ位置の移動があったかどうかを判定し、タッチ位置の移動があったときには、処理をステップS21に戻して、移動後のタッチ位置からノートナンバを再取得し、それに応じて対応する鍵の表示態様も変更するようにしている(ステップS23)。そして、ユーザが鍵盤2a2から指を離す(リリースする)まで、ステップS24の判定処理を繰り返し実行する(ステップS25→S24)。ここまでが、(41)音高決定処理である。   When the user makes a mistake in touching the key, the user can determine the pitch as intended by moving the key to the correct key while maintaining the touch state. The processes in steps S24 and S25 are for realizing this. That is, in step S24, it is determined whether or not the touch position has moved. If the touch position has moved, the process returns to step S21, and the note number is re-acquired from the moved touch position, and accordingly. The display mode of the corresponding key is also changed (step S23). Then, the determination process of step S24 is repeatedly executed until the user releases (releases) the finger from the keyboard 2a2 (step S25 → S24). This is the (41) pitch determination process.

この(41)音高決定処理が終了すると、CPU6は、前記(42)第1の音符入力処理と前記(43)第2の音符入力処理のいずれに処理を進めるかを判定する。制御処理の概要で前述したように、ユーザが五線譜2a1にタッチして音符長を指定するのは、最小単位より長い音符長の音符を入力する場合であり、最小単位の音符長の音符を入力するには、ユーザは五線譜2a1に触れずに鍵盤2a2へのタッチおよびリリースを行うだけである。そして、ユーザが五線譜2a1にタッチして音符長を指定すると、タッチ位置に対応するグリッド(を特定する値)が入力終了位置としてセットされる(後述する図8のステップS43を参照)ので、入力終了位置に有効な値(=グリッドを特定する値)がセットされていれば、ユーザが五線譜2a1にタッチして音符長を指定したことを示している。したがって、ステップS26では、入力終了位置がセットされているかどうかを判定している。この判定の結果、入力終了位置がセットされていない場合には、CPU6は、ユーザが最小単位の音符長の音符を入力しているとして、処理を前記(42)第1の音符入力処理に進める(ステップS26→S28)。一方、入力終了位置がセットされている場合には、CPU6は、ユーザが最小単位より長い音符長の音符を入力しているとして、処理を前記(43)第2の音符入力処理に進めるが、その前に、入力開始位置(カーソルCが位置するグリッド)と入力終了位置とが同じ値であるかどうかを判定している(ステップS27)。この判定の結果、入力開始位置=入力終了位置であれば、CPU6は、ユーザが五線譜2a1をタッチしたとしても、依然として最小単位の音符長の音符を入力しているとして、処理を前記(42)第1の音符入力処理に進める一方、入力開始位置≠入力終了位置であれば、CPU6は、処理を前記(43)第2の音符入力処理に進める。   When the (41) pitch determination process ends, the CPU 6 determines which of (42) the first note input process and (43) the second note input process should proceed. As described above in the overview of the control processing, the user specifies the note length by touching the staff 2a1 when inputting a note having a note length longer than the minimum unit, and inputting the note having the minimum unit note length. To do this, the user simply touches and releases the keyboard 2a2 without touching the staff 2a1. When the user touches the staff 2a1 and designates the note length, the grid corresponding to the touch position is set as the input end position (see step S43 in FIG. 8 described later). If a valid value (= value for specifying the grid) is set at the end position, this indicates that the user has touched the staff 2a1 to specify the note length. Therefore, in step S26, it is determined whether or not the input end position is set. If the input end position is not set as a result of this determination, the CPU 6 proceeds to the (42) first note input process, assuming that the user has input a note having a minimum note length. (Step S26 → S28). On the other hand, when the input end position is set, the CPU 6 proceeds to the (43) second note input process on the assumption that the user has input a note having a note length longer than the minimum unit. Before that, it is determined whether or not the input start position (grid where the cursor C is located) and the input end position have the same value (step S27). As a result of this determination, if the input start position = input end position, the CPU 6 determines that the note of the minimum unit note length is still input even if the user touches the staff notation 2a1, and the process (42) While the process proceeds to the first note input process, if the input start position is not equal to the input end position, the CPU 6 proceeds to the (43) second note input process.

(42)第1の音符入力処理では、CPU6は、五線譜2a1上の入力位置(横(時間)軸方向の位置であり、具体的には、カーソルCの位置に対応する五線譜2a1上の位置である。この事情は、後述するステップS34の処理についても同様)に、入力用バッファにストアされているノートナンバに対応する音符をルーラ2a3の1目盛り分の音符長で入力した(ステップS28)後、次のグリッドを入力開始位置にセットする(ステップS29)。   (42) In the first note input process, the CPU 6 is the input position (the position in the horizontal (time) axis direction) on the staff 2a1, specifically, the position on the staff 2a1 corresponding to the position of the cursor C. (This is also the case with the processing of step S34 described later) After inputting the note corresponding to the note number stored in the input buffer with a note length corresponding to one division of the ruler 2a3 (step S28) The next grid is set at the input start position (step S29).

(43)第2の音符入力処理では、CPU6は、五線譜2a1上の入力位置に、入力用バッファにストアされているノートナンバに対応する音符を入力開始位置から入力終了位置までの長さの音符長で入力した(ステップS34)後、入力終了位置の次のグリッドを入力開始位置にセットする(ステップS35)。   (43) In the second note input process, the CPU 6 assigns a note corresponding to the note number stored in the input buffer to the input position on the staff 2a1 with a length from the input start position to the input end position. After the length is input (step S34), the grid next to the input end position is set to the input start position (step S35).

前記(44)の後処理では、CPU6は、ルーラ2a3のカーソルCの位置を入力開始位置で更新し(ステップS30)、入力終了位置をクリアし(ステップS31)、入力用バッファをクリアし(ステップS32)、変更した鍵盤2a2の鍵の表示態様を「非選択状態」の態様に戻す(ステップS33)。   In the post-processing (44), the CPU 6 updates the position of the cursor C of the ruler 2a3 with the input start position (step S30), clears the input end position (step S31), and clears the input buffer (step S30). (S32) The display mode of the changed key 2a2 is returned to the “non-selected state” (step S33).

図8は、前記(32)の入力位置指定処理のうち、五線譜表示画面2aが選択されている場合に実行される入力位置指定処理#1の詳細な手順を示すフローチャートである。   FIG. 8 is a flowchart showing a detailed procedure of the input position specifying process # 1 executed when the staff score display screen 2a is selected in the input position specifying process of (32).

本入力位置指定処理#1は、主として
(51)ユーザが鍵盤2a2をタッチ操作している状態で実行される第1の入力位置指定処理(ステップS42〜S46)
(52)ユーザが鍵盤2a2をタッチ操作していない状態で実行される第2の入力位置指定処理(ステップS47〜S52)
によって構成されている。
This input position designation process # 1 is mainly (51) first input position designation process (steps S42 to S46) executed while the user is touching the keyboard 2a2.
(52) Second input position designation processing executed in a state where the user does not touch the keyboard 2a2 (steps S47 to S52)
It is constituted by.

CPU6は、ユーザが鍵盤2a2をタッチ操作している状態であるかどうかを、入力用バッファにノートナンバがストアされているかどうかによって判定している(ステップS41)。この判定の結果、入力用バッファにノートナンバがストアされている場合、つまり、ユーザが鍵盤2a2をタッチ操作している状態である場合には、CPU6は処理を上記(51)第1の入力位置指定処理に進める(ステップS41→S42)一方、入力用バッファにノートナンバがストアされていない場合、つまり、ユーザが鍵盤2a2をタッチ操作していない状態である場合には、CPU6は処理を上記(52)第2の入力位置指定処理に進める(ステップS41→S47)。   The CPU 6 determines whether or not the user is touching the keyboard 2a2 based on whether or not the note number is stored in the input buffer (step S41). As a result of this determination, if the note number is stored in the input buffer, that is, if the user is touching the keyboard 2a2, the CPU 6 performs the process (51) the first input position. On the other hand, if the note number is not stored in the input buffer, that is, if the user is not touching the keyboard 2a2, the CPU 6 performs the above processing ((S41 → S42)). 52) Proceed to the second input position designation process (step S41 → S47).

(51)第1の入力位置指定処理では、まずCPU6は、タッチ位置の座標から、ルーラ2a3の複数のグリッドのうち、当該タッチ位置に最も近い(最寄りの)グリッドを判定する(ステップS42)。ここで、最寄りのグリッドの判定は、たとえば、タッチ位置のx座標が、ルーラ2a3上の各グリッドがそれぞれ占める領域(横軸(x軸)方向の領域)のうちのどの領域に含まれるかを判定することによって行えばよいが、隣接するグリッドの境界近傍がタッチされた場合には、そのタッチ位置が前のグリッドに含まれていたとしても、ユーザは後のグリッドを選択したとして、後のグリッドを最寄りのグリッドとするなどの例外処理を行う必要がある。   (51) In the first input position designation process, first, the CPU 6 determines the closest (closest) grid to the touch position among the plurality of grids of the ruler 2a3 from the coordinates of the touch position (step S42). Here, the determination of the nearest grid is, for example, which region of the regions (regions in the horizontal axis (x-axis) direction) occupied by each grid on the ruler 2a3 is included in the x coordinate of the touch position. However, if the vicinity of the border between adjacent grids is touched, the user selects the subsequent grid even if the touch position is included in the previous grid. It is necessary to perform exception handling such as making the grid the nearest grid.

次にCPU6は、判定されたグリッド(を特定する情報、たとえばグリッド番号)を入力終了位置としてセットし(ステップS43)、入力開始位置から入力終了位置までのルーラ2a3の表示態様を変更する(ステップS44)。これにより、前記図3(c)のように、ルーラ2a3上に短冊状表示2a7が現れる。   Next, the CPU 6 sets the determined grid (information for identifying, for example, a grid number) as an input end position (step S43), and changes the display mode of the ruler 2a3 from the input start position to the input end position (step S43). S44). As a result, a strip-shaped display 2a7 appears on the ruler 2a3 as shown in FIG.

さらにCPU6は、タッチ位置の移動があるかどうかを判定し(ステップS45)、タッチ位置の移動があれば、前記図7のステップS24と同様に、処理を上記ステップS42に戻して、移動後のタッチ位置の座標から最寄りのグリッドを再判定し、それに応じて上記短冊状表示2a7の横辺の長さを変更する(ステップS44)。そして、ユーザがタイミング指定部(五線譜2a1+ルーラ2a3)から指を離す(リリースする)まで、ステップS45の判定処理を繰り返すようにしている(ステップS45→S46)。   Further, the CPU 6 determines whether or not the touch position has moved (step S45). If there is a touch position movement, the process returns to step S42 in the same manner as step S24 in FIG. The nearest grid is re-determined from the coordinates of the touch position, and the length of the horizontal side of the strip-shaped display 2a7 is changed accordingly (step S44). The determination process in step S45 is repeated until the user removes (releases) his / her finger from the timing designating part (stave 2a1 + ruler 2a3) (step S45 → S46).

(52)第2の入力位置指定処理では、まずCPU6は、タッチ位置の座標から最寄りのグリッドとノートナンバを判定する(ステップS47)。最寄りのグリッドの判定は、前記ステップS42で説明した判定方法と同様の方法を用いればよいので、その説明を省略する。ノートナンバの判定は、たとえば、タッチ位置のy座標と五線譜2a1内の各音高のy座標とを比較し、その差分が最も小さいy座標を持つ音高に対応するノートナンバを目的のノートナンバと判定するようにすればよい。次にCPU6は、判定されたグリッド(を特定する情報、たとえばグリッド番号)を前記入力開始位置としてセットし(ステップS48)、判定されたグリッド(の先頭)にカーソルCを表示し(ステップS49)、判定されたノートナンバに対応する鍵が鍵盤の中央付近に来るように鍵盤2a2の表示を制御する(ステップS50)。さらにCPU6は、前記ステップS45およびS46の処理と同様の処理を行う(ステップS51およびS52)。   (52) In the second input position designation process, first, the CPU 6 determines the nearest grid and note number from the coordinates of the touch position (step S47). The determination of the nearest grid may be performed by using a method similar to the determination method described in step S42, and thus the description thereof is omitted. For example, the note number is determined by comparing the y coordinate of the touch position with the y coordinate of each pitch in the staff 2a1, and the note number corresponding to the pitch having the y coordinate with the smallest difference is selected as the target note number. It may be determined that. Next, the CPU 6 sets the determined grid (identifying information, for example, the grid number) as the input start position (step S48), and displays the cursor C on the determined grid (at the top) (step S49). The display of the keyboard 2a2 is controlled so that the key corresponding to the determined note number comes near the center of the keyboard (step S50). Further, the CPU 6 performs processing similar to the processing in steps S45 and S46 (steps S51 and S52).

なお、前記ステップS45およびS51の各判定処理では、タッチ位置の移動を、その移動量の大小に拘わらず検出し、その検出に従って処理を繰り返すようにしているが、現在判定されているグリッドを変える量のタッチ位置の移動(ドラッグ操作)があった場合にのみ、“YES”と判定して処理を繰り返すようにしてもよい。ユーザは指を動かしていないつもりでも、実際にはわずかに揺れているので、そのわずかな揺れをタッチ位置の移動と検出すれば、その検出の度に処理が繰り返されることになって、この無駄な処理により制御処理全体の動作が重くなってしまうからである。   In each determination process of steps S45 and S51, the movement of the touch position is detected regardless of the amount of movement, and the process is repeated according to the detection, but the currently determined grid is changed. Only when there is a movement (drag operation) of the amount touch position, it may be determined as “YES” and the process may be repeated. Even though the user does not intend to move the finger, the user actually swings slightly, so if the slight swing is detected as the movement of the touch position, the process is repeated each time the detection is made, and this waste This is because the operation of the entire control process becomes heavy due to an unnecessary process.

また本実施の形態では、タッチ位置の移動はタイミング指定部(五線譜2a1+ルーラ2a3)内に限られ、タイミング指定部外へ出ることを想定していないが、タイミング指定部外へ出た場合には、ユーザがタッチ位置の移動(ドラッグ操作)のためにタッチしている指をタイミング指定部から離した(リリースした)とみなして、前記ステップS46およびS52の各判定処理により、本入力位置指定処理#1を終了してもよいし、タッチ操作自体(ドラッグ操作だけではなく、その前のタッチ操作も含むという意味)のキャンセルとみなして、それまでに実行された入力開始位置(および入力終了位置)の設定をすべてクリアした後、本入力位置指定処理#1を終了してもよい。その際に、タッチ位置がタイミング指定部外に出た旨のメッセージを表示させたり、警告音を発生させたりしてもよい。   In the present embodiment, the movement of the touch position is limited to the timing designation part (stave 2a1 + ruler 2a3) and is not assumed to go outside the timing designation part. Assuming that the finger touched by the user for moving the touch position (drag operation) is released (released) from the timing designation unit, the input position designation process is performed by the determination processes in steps S46 and S52. # 1 may be terminated, and the input start position (and input end position) executed so far is regarded as cancellation of the touch operation itself (meaning that it includes not only the drag operation but also the previous touch operation). The input position designation process # 1 may be terminated after all the settings of () are cleared. At that time, a message indicating that the touch position has moved out of the timing designation section may be displayed, or a warning sound may be generated.

図9は、前記(31)の入力音符指定処理のうち、ピアノロール表示画面2bが選択されている場合に実行される入力音符指定処理#2の詳細な手順を示すフローチャートである。図9中、図7と同様の処理を行うステップには同一のステップ番号を付している。   FIG. 9 is a flowchart showing a detailed procedure of the input note specifying process # 2 executed when the piano roll display screen 2b is selected in the input note specifying process of (31). In FIG. 9, steps that perform the same processing as in FIG. 7 are given the same step numbers.

本入力音符指定処理#2が起動される場合は、前記図4で前述したように、ユーザが鍵盤部2b1に対してタッチ操作またはドラッグ操作を行った場合である。つまり、図9のステップS21〜S25,S32およびS33′の処理と、図7のステップS21〜S25,S32およびS33の処理とは、処理の文言はほとんど変わらないが、前者の処理が、鍵盤部2b1についてのユーザ操作に関するものであるのに対して、後者の処理は、鍵盤2a2についてのユーザ操作に関するものである点が異なっている。しかし、前者の処理は、後者の処理を類推適用すれば容易に理解できるので、その説明を省略する。   The case where the input note designation process # 2 is activated is a case where the user performs a touch operation or a drag operation on the keyboard part 2b1, as described above with reference to FIG. That is, the processing of steps S21 to S25, S32, and S33 'in FIG. 9 and the processing of steps S21 to S25, S32, and S33 in FIG. The latter process is different from the user operation for 2b1, whereas the latter process is related to the user operation for the keyboard 2a2. However, since the former process can be easily understood by applying the latter process by analogy, the description thereof is omitted.

ステップS33′の処理が終了すると、CPU6は、図10を用いて後述する入力位置指定処理#2が実行中であるかどうかを判定する(ステップS101)。この判定の結果、入力位置指定処理#2が実行中であれば、CPU6は、入力位置指定処理#2においてセットされた入力開始位置および入力終了位置をそれぞれクリアし(ステップS102)、後述する図10のステップS115で変更されたノート表示部2b2の表示態様を元に戻した(ステップS103)後、本入力音符指定処理#2を終了する一方、入力位置指定処理#2が実行中でなければ、CPU6は、直ちに本入力音符指定処理#2を終了する(ステップS101→リターン)。   When the process of step S33 ′ is completed, the CPU 6 determines whether or not an input position designation process # 2 described later with reference to FIG. 10 is being executed (step S101). If the input position designation process # 2 is being executed as a result of this determination, the CPU 6 clears the input start position and the input end position set in the input position designation process # 2 (step S102). After the display mode of the note display unit 2b2 changed in step S115 of step 10 is restored (step S103), the input note designation process # 2 is terminated, while the input position designation process # 2 is not being executed. The CPU 6 immediately ends the input note designation process # 2 (step S101 → return).

図10は、前記(32)の入力位置指定処理のうち、ピアノロール表示画面2bが選択されている場合に実行される入力位置指定処理#2の詳細な手順を示すフローチャートである。図10中、図8と同様の処理を行うステップには同一のステップ番号を付している。   FIG. 10 is a flowchart showing a detailed procedure of the input position specifying process # 2 executed when the piano roll display screen 2b is selected in the input position specifying process of (32). In FIG. 10, steps that perform the same processing as in FIG. 8 are given the same step numbers.

本入力位置指定処理#2は、主として
(61)前記入力音符指定処理#2によって指定された音高のノート(音符)を、ノート表示部2b2上、ユーザが指定した位置に最小単位の音符長で入力する第1のノート入力処理(ステップS119)
(62)前記入力音符指定処理#2によって指定された音高のノート(音符)を、ノート表示部2b2上、ユーザが指定した位置に最小単位より長い音符長で入力する第2のノート入力処理(ステップS122)
によって構成されている。
This input position specifying process # 2 mainly includes (61) a note (note) having a pitch specified by the input note specifying process # 2 at the position specified by the user on the note display unit 2b2, and the note length in the minimum unit. First note input process input at step S119
(62) Second note input processing for inputting a note (note) having a pitch specified by the input note specifying processing # 2 to a position specified by the user on the note display unit 2b2 with a note length longer than the minimum unit. (Step S122)
It is constituted by.

そして、上記(61)の第1のノート入力処理は、ユーザによる次の操作のいずれかを経て実行される。すなわち、
(61a)鍵盤部2b1をタッチしている状態で、ノート表示部2b2をタッチした後、そのタッチ状態を解除(リリース)した場合(ステップS41→S42′→S110→S111→S112→S116→S117→S119)
(61b)鍵盤部2b1をタッチしている状態で、ノート表示部2b2をタッチし、そのタッチ状態を保持しながらドラッグ操作をした後、そのドラッグ状態を解除(リリース)した場合(ただし、ドラッグ操作によっても次のグリッドが選択されなかった場合)(ステップS41→S42′→S110→S111→S112→S113→S114→S115→S111→S112→S116→S117→S118→S119)
(61c)鍵盤部2b1をタッチしていない状態で、ノート表示部2b2をタッチし、そのタッチ状態を保持しながら続いて鍵盤部2b1をタッチした後、ノート表示部2b2のタッチ状態を解除(リリース)した場合(ステップS41→S123→上記(61a)のS42′へ)
である。
Then, the first note input process (61) is executed through one of the following operations by the user. That is,
(61a) When the note display unit 2b2 is touched and the touch state is released (released) while the keyboard unit 2b1 is being touched (step S41 → S42 ′ → S110 → S111 → S112 → S116 → S117 → S119)
(61b) When the note display unit 2b2 is touched while the keyboard unit 2b1 is being touched, the drag operation is performed while the touch state is maintained, and then the drag state is released (released) (however, the drag operation is performed) (If the next grid is not selected) (Step S41 → S42 ′ → S110 → S111 → S112 → S113 → S114 → S115 → S111 → S112 → S116 → S117 → S118 → S119)
(61c) Touching the note display unit 2b2 without touching the keyboard unit 2b1, and then touching the keyboard unit 2b1 while maintaining the touch state, and then releasing the touch state of the note display unit 2b2 (release) ) (From step S41 → S123 → S42 ′ of (61a) above)
It is.

また、上記(62)の第2のノート入力処理は、ユーザによる次の操作のいずれかを経て実行される。すなわち、
(62a)鍵盤部2b1をタッチしている状態で、ノート表示部2b2をタッチし、そのタッチ状態を保持しながらドラッグ操作をした後、そのドラッグ状態を解除(リリース)した場合(ステップS41→S42′→S110→S111→S112→S113→S114→S115→S111→S112→S116→S117→S118→S122)
(62b)ユーザが鍵盤部2b1をタッチしていない状態で、ノート表示部2b2をタッチし、そのタッチ状態を保持しながら続いて鍵盤部2b1をタッチした後、ノート表示部2b2上でドラッグ操作をしてからそのドラッグ状態を解除(リリース)した場合(ステップS41→S123→上記(62a)のS42′へ)
である。
The second note input process (62) is executed through one of the following operations by the user. That is,
(62a) When the note display unit 2b2 is touched while the keyboard unit 2b1 is being touched and a drag operation is performed while maintaining the touch state, and then the drag state is released (released) (steps S41 → S42) ′ → S110 → S111 → S112 → S113 → S114 → S115 → S111 → S112 → S116 → S117 → S118 → S122)
(62b) The user touches the note display unit 2b2 without touching the keyboard unit 2b1, and then touches the keyboard unit 2b1 while maintaining the touch state, and then performs a drag operation on the note display unit 2b2. After that, when the drag state is released (released) (Step S41 → S123 → S42 ′ of (62a) above)
It is.

ユーザが前記(61a)の一連の操作をした場合、鍵盤部2b1がタッチ状態であることにより、入力用バッファにはノートナンバがストアされている(前記図9のステップS22を参照)ので、まずCPU6は、タッチ位置の座標から、ノート表示部2b2の複数のグリッド列のうち、当該タッチ位置に最も近い(最寄りの)グリッド列を判定する(ステップS41→S42′)。グリッド列は、前記図8のフローチャート中に記載の「グリッド」に相当し、最寄りのグリッド列の判定方法は、最寄りの「グリッド」の判定方法を適用すればよいので、その説明を省略する。   When the user performs the above-described series of operations (61a), since the keyboard part 2b1 is in the touch state, the note number is stored in the input buffer (see step S22 in FIG. 9). The CPU 6 determines the closest (closest) grid row to the touch position among the plurality of grid rows of the note display unit 2b2 from the coordinates of the touch position (steps S41 → S42 ′). The grid row corresponds to the “grid” described in the flowchart of FIG. 8, and the determination method of the nearest grid row may be the same as the determination method of the nearest “grid”, and the description thereof will be omitted.

次にCPU6は、判定されたグリッド列(を特定する情報、たとえばグリッド列番号)を入力開始位置としてセットする(ステップS110)。そして、この(61a)の一連の操作では、入力用バッファ内には有効なノートナンバがストアされており、ドラッグ操作がされずにノート表示部2b2へのタッチ操作が解除されたために入力終了位置はセットされていないので、CPU6は、処理をステップS111→S112→S116→S117→S119と進めることで、前記(61)第1のノート入力処理、つまり入力用バッファにストアされている、少なくとも1つのノートナンバに対応するノートを、入力開始位置から1グリッド分の音符長で入力する処理を実行する。これにより、前記図4(b)に示すように、判定されたグリッド列に属する複数のグリッドのうち、選択された音高に対応する、少なくとも1つ(図示例では、3つ)のグリッドにノートが最小単位の音符長で入力される。   Next, the CPU 6 sets the determined grid row (information for identifying, for example, the grid row number) as an input start position (step S110). In the series of operations (61a), a valid note number is stored in the input buffer, and the touch operation on the note display unit 2b2 is canceled without performing the drag operation. Is not set, the CPU 6 proceeds with the process from step S111 → S112 → S116 → S117 → S119, whereby (61) the first note input process, that is, stored in the input buffer, at least 1 A process of inputting notes corresponding to one note number with a note length of one grid from the input start position is executed. As a result, as shown in FIG. 4B, at least one grid (in the illustrated example, three grids) corresponding to the selected pitch among the plurality of grids belonging to the determined grid row. Notes are entered with a minimum note length.

なお、上記ステップS111では、入力用バッファがクリアされたかどうかを判定しているが、これは、ユーザがノート表示部2b2をタッチ中(ドラッグ中も含む)に、鍵盤部2b1へのタッチ状態を解除したかどうかを判定するものである(前記図9のステップS25→S32)。本実施の形態では、ノート表示部2b2へのノートの入力は、ユーザが鍵盤部2b1に対するタッチ状態を保持しながら、ノート表示部2b2へのタッチおよびリリースを行ったときになされるからである。ステップS111の判定で、入力用バッファがクリアされたときには、CPU6は、処理を後述するステップS123に進め、入力用バッファにノートナンバがストアされるまで、つまり、ユーザが鍵盤部2b1に対して再度タッチ操作を行うまで、待機する。   In step S111, it is determined whether or not the input buffer has been cleared. This is because the user touches the note display unit 2b2 (including during dragging) while the touch state on the keyboard unit 2b1 is changed. It is determined whether or not it has been canceled (steps S25 → S32 in FIG. 9). This is because in the present embodiment, a note is input to the note display unit 2b2 when the user touches and releases the note display unit 2b2 while maintaining a touch state on the keyboard unit 2b1. If it is determined in step S111 that the input buffer is cleared, the CPU 6 advances the process to step S123, which will be described later, until the note number is stored in the input buffer, that is, the user again tries the keyboard unit 2b1. Wait until touch operation is performed.

また、上記ステップS116では、ノート表示部2b2へのタッチ状態が解除(リリース)されたかどうかを判定しているが、これは、ユーザがノート表示部2b2へのノートの入力を指示したかどうかを判定するものである。ステップS116の判定で、タッチ状態が解除されなければ、現在の操作状態は、タッチ状態が継続中、あるいはドラッグ中であるので、CPU6は、処理を前記ステップS111に戻している。   In step S116, it is determined whether or not the touch state on the note display unit 2b2 has been released (released). This indicates whether or not the user has instructed to input a note to the note display unit 2b2. Judgment. If it is determined in step S116 that the touch state is not released, the current operation state is that the touch state is continuing or dragging, and therefore the CPU 6 returns the process to step S111.

ユーザが前記(62a)の一連の操作をした場合、CPU6は、処理をステップS41→S42′→S110→S111→S112と進める。このステップS41,S42′,S110およびS111の処理は既に説明したので、ここでは繰り返さない。この(62a)の一連の操作で、ユーザはドラッグ操作を行っているので、CPU6は、前記ステップS42′と同様にして、移動(ドラッグ操作)後のタッチ位置の座標から最寄りのグリッド列を判定し(ステップS112→S113)、判定されたグリッド列(を特定する情報、たとえばグリッド列番号)を入力終了位置としてセットした(ステップS114)後、ノート表示部2b2上、入力開始位置から入力終了位置までの表示領域の表示態様を変更する(ステップS115)。これにより、前記図4(d)のように、入力開始位置から入力終了位置までの表示領域(図示例では、グリッド列R3〜R6の領域)の色が変わる。ドラッグ操作が終了して、ユーザがそのタッチ状態を解除すると、CPU6は、処理をステップS111→S112→S116→S117と進める。このステップS111,S112およびS116の処理は既に説明したので、ここでは繰り返さない。前記ステップS114の処理により、入力終了位置には有効なグリッド列がセットされ、しかもこの(62a)の一連の操作では、入力終了位置と入力開始位置とは異なっているので、CPU6は、処理をステップS117→S118→S122と進めることで、前記(62)第2のノート入力処理、つまり入力用バッファにストアされている、少なくとも1つのノートナンバに対応するノートを、入力開始位置から入力終了位置までの音符長で入力する処理を実行する。これにより、前記図4(d)のように、入力開始位置から入力終了位置までの複数(図示例では、4列)のグリッド列に属する複数のグリッド行のうち、選択された音高に対応する、少なくとも1行(図示例では、3行)のグリッドにノートが最小単位×列数の音符長で入力される。   When the user performs the series of operations (62a), the CPU 6 advances the processing in steps S41 → S42 ′ → S110 → S111 → S112. Since steps S41, S42 ', S110 and S111 have already been described, they will not be repeated here. Since the user performs the drag operation by the series of operations (62a), the CPU 6 determines the nearest grid row from the coordinates of the touch position after the movement (drag operation) in the same manner as in step S42 ′. (Step S112 → S113), and the determined grid row (information for identifying, for example, the grid row number) is set as the input end position (Step S114), and then the input start position from the input start position on the note display unit 2b2. The display mode of the display area is changed (step S115). As a result, as shown in FIG. 4D, the color of the display area from the input start position to the input end position (in the illustrated example, the area of the grid columns R3 to R6) changes. When the drag operation is finished and the user releases the touch state, the CPU 6 advances the process in steps S111 → S112 → S116 → S117. Since the processing of steps S111, S112 and S116 has already been described, it will not be repeated here. By the processing of step S114, a valid grid row is set at the input end position, and in the series of operations (62a), the input end position and the input start position are different, so the CPU 6 performs the processing. By proceeding in steps S117 → S118 → S122, the note corresponding to at least one note number stored in the (62) second note input process, that is, the input buffer is changed from the input start position to the input end position. Executes input processing with note lengths up to. As a result, as shown in FIG. 4D, it corresponds to the selected pitch among a plurality of grid rows belonging to a plurality of grid columns (four columns in the illustrated example) from the input start position to the input end position. A note is input to a grid of at least one row (3 rows in the illustrated example) with a note length of minimum unit × number of columns.

ユーザが前記(61b)の一連の操作をした場合、CPU6は、処理をステップS41→S42′→S110→S111→S112→S113→S114→S115→S111→S112→S116→S117→S118と進める。このステップS41→(中略)→S117の処理は既に説明したので、ここでは繰り返さない。この(61b)の一連の操作では、入力開始位置と入力終了位置とが同じであるので、CPU6は、処理をステップS118→S119と進めて、前記(61)第1のノート入力処理を実行する。この(61)第1のノート入力処理も既に詳述したので、これ以上繰り返さない。   When the user performs the series of operations (61b), the CPU 6 proceeds with the process in steps S41 → S42 ′ → S110 → S111 → S112 → S113 → S114 → S115 → S111 → S112 → S116 → S117 → S118. Since the process of step S41 → (omitted) → S117 has already been described, it will not be repeated here. In the series of operations (61b), since the input start position and the input end position are the same, the CPU 6 advances the process from step S118 to S119, and executes the (61) first note input process. . Since this (61) first note input processing has already been described in detail, it will not be repeated any more.

ユーザが前記(61c)の一連の操作をした場合、鍵盤部2b1が非タッチ状態であることにより、入力用バッファにはノートナンバがストアされていないので、CPU6は、入力用バッファにノートナンバがストアされるまで、つまり、ユーザが鍵盤部2b1に対してタッチ操作を行うまで、ノート表示部2b2へのタッチ状態が解除されたかどうかを監視しながら、待機する(ステップS41→S123→S124→S123)。ここで、鍵盤部2b1が非タッチ状態である間に、ノート表示部2b2へのタッチ状態が解除されると、CPU6は、本入力位置指定処理#2を直ちに終了する(ステップS124→リターン)。この(61c)の一連の操作では、ノート表示部2b2へのタッチ状態が解除される前に、ユーザは鍵盤部2b1に対してタッチ操作を行っているので、CPU6は、処理をステップS123→S42′と進める。ステップS42′以降の処理は、前記(61a)の一連の操作をした場合の処理と同様であるので、その説明を省略する。   When the user performs the series of operations (61c), since the keyboard part 2b1 is in a non-touch state, the note number is not stored in the input buffer. Until it is stored, that is, until the user performs a touch operation on the keyboard portion 2b1, it waits while monitoring whether or not the touch state on the note display portion 2b2 is released (steps S41 → S123 → S124 → S123). ). If the touch state on the note display portion 2b2 is canceled while the keyboard portion 2b1 is in the non-touch state, the CPU 6 immediately ends the input position designation processing # 2 (step S124 → return). In the series of operations (61c), since the user performs a touch operation on the keyboard portion 2b1 before the touch state on the note display portion 2b2 is released, the CPU 6 performs the process from step S123 to step S42. Proceed with '. Since the processing after step S42 'is the same as the processing in the case of performing the series of operations (61a), the description thereof is omitted.

ユーザが前記(62b)の一連の操作をした場合の処理は、前記(61c)の一連の操作をした場合の処理の一部(ステップS123およびS124の処理)に、前記(62a)の一連の操作をした場合の処理の一部(ステップS42′以降の処理)を組み合わせたものであり、両処理については詳述したので、これ以上繰り返さない。   The process when the user performs the series of operations (62b) is the same as the series of processes (62a) in part of the process (the processes of steps S123 and S124) when the series of operations (61c) is performed. This is a combination of part of the processing when the operation is performed (processing after step S42 '), and both processings have been described in detail, and will not be repeated any further.

なお、前記(61)第1および(62)第2のノート入力処理が終了すると、CPU6は、入力開始位置および入力終了位置をクリアする(ステップS120)とともに、前記ステップS115の処理によって変更された、ノート表示部2b2上の表示領域の表示態様を元に戻している(ステップS121)。   When the (61) first and (62) second note input processes are completed, the CPU 6 clears the input start position and the input end position (step S120) and has been changed by the process of step S115. The display mode of the display area on the note display unit 2b2 is restored (step S121).

図11は、前記(33)の操作に応じた処理#1の詳細な手順を示すフローチャートである。   FIG. 11 is a flowchart showing a detailed procedure of process # 1 according to the operation (33).

本操作に応じた処理#1が起動されると、まずCPU6は、ユーザが行った操作の種類を判定する(ステップS61)。本操作に応じた処理#1が起動される場合は、ノート入力用画像上におけるユーザ操作が検出された場合であり、そのユーザ操作には、本実施の形態では前述のように、長押し操作、スワイプ操作、ピンチ操作、回転操作(回転指示を行う操作)、タッチ操作およびドラッグ操作の6種類が少なくとも含まれている。このうち、タッチ操作およびドラッグ操作は、前記図6のステップS6およびS8で除外されているので、上記ステップS61では、ユーザ操作として、長押し操作、スワイプ操作、ピンチ操作または回転操作のいずれかが判定される。そして、スワイプ操作は「スクロール」指示に、ピンチ操作は「拡大縮小」指示に、回転操作は「回転」指示に、それぞれ対応し、長押し操作はこれら以外の指示に対応する。したがって、ユーザ操作が、スワイプ操作、ピンチ操作または回転操作のいずれかと判定されたときには、CPU6は、処理をステップS62→S63と進める一方、ユーザ操作が長押し操作と判定されたときには、CPU6は、処理をステップS62→S66と進める。   When the process # 1 corresponding to this operation is activated, the CPU 6 first determines the type of operation performed by the user (step S61). The process # 1 corresponding to this operation is activated when a user operation on the note input image is detected. The user operation includes a long press operation as described above in the present embodiment. , Swipe operation, pinch operation, rotation operation (operation for instructing rotation), touch operation and drag operation are included. Among these, the touch operation and the drag operation are excluded in Steps S6 and S8 in FIG. 6, and in Step S61, one of the long press operation, swipe operation, pinch operation, and rotation operation is performed as the user operation. Determined. The swipe operation corresponds to a “scroll” instruction, the pinch operation corresponds to an “enlargement / reduction” instruction, the rotation operation corresponds to a “rotation” instruction, and the long press operation corresponds to an instruction other than these. Therefore, when the user operation is determined to be any one of the swipe operation, the pinch operation, and the rotation operation, the CPU 6 advances the process from step S62 to S63, while when the user operation is determined to be a long press operation, the CPU 6 The process proceeds from step S62 to S66.

ステップS63では、CPU6は、ユーザ操作に基づいて操作量を検出する。操作量は、操作の種類に応じて異なり、スワイプ操作では、スクロールの「移動量」を検出し、ピンチ操作では、拡大縮小の「拡大(縮小)率」を検出し、回転操作では、回転の「回転角」を検出する。なお、スワイプ操作では、スクロールの移動量だけでなく、移動速度も検出するようにしてもよい。また、本実施の形態では前述のように、各表示部品を回転させる場合、回転中心は表示部品毎に固定点としたので、ユーザによる回転操作は、回転角を決定するために利用される。もちろん、これに限らず、回転中心もユーザが自由に設定できるようにしてもよい。   In step S63, the CPU 6 detects an operation amount based on a user operation. The amount of operation differs depending on the type of operation. The swipe operation detects the “movement amount” of the scroll, the pinch operation detects the “enlargement (reduction) ratio” of the enlargement / reduction, and the rotation operation detects the rotation. “Rotation angle” is detected. In the swipe operation, not only the moving amount of the scroll but also the moving speed may be detected. In the present embodiment, as described above, when each display component is rotated, the rotation center is a fixed point for each display component, and therefore the rotation operation by the user is used to determine the rotation angle. Of course, the present invention is not limited to this, and the center of rotation may be set freely by the user.

次にCPU6は、検出された操作量に応じて、対象となる表示部品の表示状態を変更する(ステップS64)。具体的には、「スクロール」が指示された場合には、当該表示部品を検出された移動量だけスクロールさせ、「拡大縮小」が指示された場合には、当該表示部品を検出された拡大(縮小)率だけ拡大縮小させ、「回転」が指示された場合には、当該表示部品を検出された回転角だけ回転させる。   Next, the CPU 6 changes the display state of the target display component according to the detected operation amount (step S64). Specifically, when “scroll” is instructed, the display component is scrolled by the detected amount of movement, and when “enlargement / reduction” is instructed, the display component is detected in the detected enlargement ( When the “rotation” is instructed, the display component is rotated by the detected rotation angle.

さらにCPU6は、検出された操作量に応じて、対象となる表示部品の座標設定を変更する(ステップS65)。本実施の形態では、各表示部品にはそれぞれ独立した座標が設定されており、上記ステップS65の処理では、対象となる表示部品に設定された座標を検出された操作量に応じて変更している。たとえば「回転」が指示された場合、上記ステップS64の処理によって当該表示部品を回転させるとともに、その回転量に合わせて当該表示部品の座標も回転させておく。これにより、ユーザが表示部品上の同じ位置をタッチすれば、回転前か回転後かに拘わらず、得られる座標値は同じになるので、表示部品の表示状態が変動したとしても、ユーザは違和感なく操作できる。   Further, the CPU 6 changes the coordinate setting of the target display component according to the detected operation amount (step S65). In the present embodiment, independent coordinates are set for each display component. In the process of step S65, the coordinates set for the target display component are changed according to the detected operation amount. Yes. For example, when “rotate” is instructed, the display component is rotated by the process of step S64, and the coordinates of the display component are also rotated in accordance with the rotation amount. As a result, if the user touches the same position on the display component, the obtained coordinate values are the same regardless of whether the display component is rotated or not, so the user feels uncomfortable even if the display state of the display component changes. It can be operated without.

一方、ステップS66では、CPU6は、当該操作に応じた処理を実行する。本実施の形態では、当該操作とは、上述のように「長押し操作」のみであるが、この長押し操作がなされると、CPU6は、前記図2(b)で説明したように、その操作位置に応じてメニュー2a5または2a6をポップアップ表示する。   On the other hand, in step S66, the CPU 6 executes a process corresponding to the operation. In the present embodiment, the operation is only the “long press operation” as described above. However, when this long press operation is performed, the CPU 6 performs the operation as described in FIG. Depending on the operation position, the menu 2a5 or 2a6 is popped up.

なお本実施の形態では、入力音符(ノート)の音高を指定するための楽器種として、鍵盤楽器を例に挙げて本発明を説明したが、これに限らず、ギターやドラムセットなどの他の楽器に対しても本発明を適用することができる。ギターを採用した場合には、五線譜表示画面2aの五線譜2a1はタブ譜とし、鍵盤2a2はフレット画像とすればよい。ピアノロール表示画面2bの鍵盤部2b1もフレット画像とすればよいが、ノート表示部2b2はそのまま変更する必要はない。また、ドラムセットを採用した場合には、五線譜表示画面2aの五線譜2a1はドラム譜とし、鍵盤2a2はドラムセットを構成する各種ドラム画像とすればよい。ピアノロール表示画面2bの鍵盤部2b1も各種ドラム画像とするか、あるいはドラムセットを構成するドラム種の名称を並べたものとすればよいが、ノート表示部2b2はそのまま変更する必要はない。   In the present embodiment, the present invention has been described by taking a keyboard instrument as an example of a musical instrument type for designating the pitch of an input note (note), but is not limited to this, and other instruments such as a guitar and a drum set are also described. The present invention can also be applied to other musical instruments. When a guitar is used, the staff notation 2a1 on the staff notation display screen 2a may be a tablature and the keyboard 2a2 may be a fret image. The keyboard portion 2b1 of the piano roll display screen 2b may be a fret image, but the note display portion 2b2 does not need to be changed as it is. If a drum set is used, the staff notation 2a1 on the staff notation display screen 2a may be a drum score, and the keyboard 2a2 may be various drum images that constitute the drum set. The keyboard part 2b1 of the piano roll display screen 2b may be various drum images or the names of the drum types constituting the drum set may be arranged, but the note display part 2b2 does not need to be changed as it is.

また本実施の形態では、五線譜2a1上におけるタッチ位置に応じて鍵盤2a2がスクロールするようにしたが、これに限らず、たとえば、初期状態では楽器の全体像を表示させておき、五線譜上におけるタッチ位置に応じた音高付近の鍵域が拡大表示されるようにしてもよい。要するに、楽譜上で音高を指定したときに、対応する鍵盤(またはギターの弦やフレット)がすぐに操作できるように、鍵盤の表示を変化させるものであればよい。   In the present embodiment, the keyboard 2a2 is scrolled in accordance with the touch position on the staff notation 2a1, but the present invention is not limited to this. For example, in the initial state, the entire image of the musical instrument is displayed and the touch on the staff notation is touched. The key range near the pitch corresponding to the position may be enlarged and displayed. In short, what is necessary is just to change the keyboard display so that the corresponding keyboard (or guitar strings or frets) can be operated immediately when the pitch is specified on the score.

さらに本実施の形態では、五線譜表示画面2aでもピアノロール表示画面2bでも、グリッドを表示するようにしたが、これに限らず、グリッドを表示しないモードを備えるようにし、このモードが選択された場合、グリッドを表示しないようにしてもよい。これにより、ユーザは最小入力単位に拘らず、音符(ノート)を入力することができる。この場合、装置内部では、たとえば64分音符長のような細かいグリッドを持つようにし、そのグリッドを画面上に表示しないだけである。グリッドの単位は、本実施の形態では音符長としたが、これに限らず、MIDIのクロックや、μsecのような時間などを採用してもよい。   Furthermore, in this embodiment, the grid is displayed on both the staff notation display screen 2a and the piano roll display screen 2b. However, the present invention is not limited to this, and a mode in which no grid is displayed is provided, and this mode is selected. The grid may not be displayed. Thereby, the user can input a note (note) irrespective of the minimum input unit. In this case, a fine grid such as a 64th note length is provided inside the apparatus, and the grid is not displayed on the screen. The unit of the grid is the note length in the present embodiment, but is not limited to this, and a MIDI clock, a time such as μsec, or the like may be adopted.

また本実施の形態では、前記図4(b),(c)および図9のステップS25,S32,S33′のように、ユーザは指を鍵盤部2b1にタッチさせながら(タッチ状態を維持したまま)、別の指をノート表示部2b2にタッチしてリリースしたときに、ノートが入力されるようにしたが、これに限らず、ユーザが鍵盤部2b1へのタッチをリリースした後も、別の鍵にタッチしたり、別途設けられた選択解除スイッチを操作したりするまで、鍵盤部2b1へのタッチによる音高の選択状態が維持されるようにし、この音高の選択状態で、ユーザがノート表示部2b2へタッチしてリリースしたときも、ノートが入力されるようにしてもよい。   In the present embodiment, as shown in steps S25, S32, and S33 ′ of FIGS. 4B and 4C and FIG. 9, the user touches the keyboard 2b1 with the finger (while maintaining the touch state). ), When another finger touches and releases the note display unit 2b2, the note is input. However, the present invention is not limited to this, and after the user releases the touch to the keyboard unit 2b1, The pitch selection state by touching the keyboard portion 2b1 is maintained until the key is touched or the selection release switch provided separately is operated, and the user selects a note in this pitch selection state. A note may also be input when the display unit 2b2 is touched and released.

さらに本実施の形態では、前記図4(d)のように、ドラッグ操作によって音符長を指定する際には、常に入力終了位置が入力開始位置より右側(時間が経過する方向)に来るように操作し、逆方向に操作することを想定していないが、逆方向に操作した場合には、入力開始位置と入力終了位置とを比較し、時間的に早い方を入力開始位置とみなし、もう一方を入力終了位置とみなすことで、ドラッグ範囲の音符長が指定されるようにした方が好ましい。   Further, in the present embodiment, as shown in FIG. 4D, when the note length is designated by the drag operation, the input end position is always on the right side (the direction in which time passes) from the input start position. It is not assumed that the operation is performed in the reverse direction, but if the operation is performed in the reverse direction, the input start position is compared with the input end position, and the earlier one in time is regarded as the input start position. It is preferable that the note length of the drag range is specified by regarding one as the input end position.

なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.

この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。   As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.

また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

2…タッチパネルディスプレイ,5…表示回路(表示手段),6…CPU(表示手段、第1の判定手段、制御手段、第2の判定手段、入力手段、進行手段、設定手段) 2 ... Touch panel display, 5 ... Display circuit (display means), 6 ... CPU (display means, first determination means, control means, second determination means, input means, progress means, setting means)

Claims (4)

多点認識機能を備えたタッチパネルディスプレイと、
前記タッチパネルディスプレイに譜面画像および楽器画像を表示する表示手段と、
ユーザが前記タッチパネルディスプレイ上に表示された譜面画像をタッチしたときに、そのタッチ位置に基づいて、該タッチ位置が示す譜面画像上の音高、および音符の時間方向の入力位置を判定する第1の判定手段と、
前記第1の判定手段によって判定された音高に応じて、前記タッチパネルディスプレイ上に表示された楽器画像の表示状態を変動させるように前記表示手段を制御する制御手段と、
ユーザが前記制御手段によって表示状態の変動された楽器画像をタッチしたときに、そのタッチ位置の音高を判定する第2の判定手段と、
前記第2の判定手段によって判定された音高の音符を、前記第1の判定手段によって判定された時間方向の入力位置に入力する入力手段と
を有することを特徴とする電子音楽装置。
Touch panel display with multi-point recognition function,
Display means for displaying a musical score image and a musical instrument image on the touch panel display;
When a user touches a musical score image displayed on the touch panel display, a pitch on the musical score image indicated by the touch position and an input position in the time direction of a note are determined based on the touch position. Determining means,
Control means for controlling the display means so as to vary the display state of the instrument image displayed on the touch panel display according to the pitch determined by the first determination means;
Second determination means for determining the pitch of the touch position when the user touches the musical instrument image whose display state has been changed by the control means;
An electronic music apparatus comprising: input means for inputting a note having a pitch determined by the second determination means to an input position in a time direction determined by the first determination means.
前記入力手段によって音符が入力されたときに、前記音符の時間方向の入力位置を次の入力位置に進行させる進行手段をさらに有することを特徴とする請求項1に記載の電子音楽装置。   The electronic music apparatus according to claim 1, further comprising a progression unit that advances an input position of the note in a time direction to a next input position when a note is input by the input unit. ユーザが前記楽器画像をタッチしながら、前記譜面画像上、現在の音符の時間方向の入力位置である第1の位置とは異なる第2の位置をタッチすると、前記第1の位置と前記第2の位置との間隔に応じた音符長を、前記入力手段によって入力される音符の音符長として設定する設定手段をさらに有することを特徴とする請求項1または2に記載の電子音楽装置。   When the user touches the musical instrument image and touches a second position different from the first position that is the input position in the time direction of the current note on the musical score image, the first position and the second position 3. The electronic music apparatus according to claim 1, further comprising setting means for setting a note length corresponding to an interval from the position of the note as a note length of a note input by the input means. 多点認識機能を備えたタッチパネルディスプレイを備えた電子音楽装置を制御する制御方法をコンピュータに実行させるプログラムであって、
前記制御方法は、
前記タッチパネルディスプレイに譜面画像および楽器画像を表示させる表示ステップと、
ユーザが前記タッチパネルディスプレイ上に表示された譜面画像をタッチしたときに、そのタッチ位置に基づいて、該タッチ位置が示す譜面画像上の音高、および音符の時間方向の入力位置を判定する第1の判定ステップと、
前記第1の判定ステップによって判定された音高に応じて、前記タッチパネルディスプレイ上に表示された楽器画像の表示状態を変動させるように前記表示ステップを制御する制御ステップと、
ユーザが前記制御ステップによって表示状態の変動された楽器画像をタッチしたときに、そのタッチ位置の音高を判定する第2の判定ステップと、
前記第2の判定ステップによって判定された音高の音符を、前記第1の判定ステップによって判定された時間方向の入力位置に入力する入力ステップと
を有することを特徴とするプログラム。
A program for causing a computer to execute a control method for controlling an electronic music apparatus having a touch panel display having a multipoint recognition function,
The control method is:
A display step of displaying a musical score image and a musical instrument image on the touch panel display;
When a user touches a musical score image displayed on the touch panel display, a pitch on the musical score image indicated by the touch position and an input position in the time direction of a note are determined based on the touch position. A determination step of
A control step for controlling the display step so as to vary the display state of the instrument image displayed on the touch panel display in accordance with the pitch determined by the first determination step;
A second determination step of determining a pitch of the touch position when the user touches the musical instrument image whose display state has been changed by the control step;
An input step for inputting a musical note having a pitch determined in the second determination step to an input position in a time direction determined in the first determination step.
JP2011174182A 2011-08-09 2011-08-09 Program for realizing electronic music apparatus and control method thereof Expired - Fee Related JP5747728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011174182A JP5747728B2 (en) 2011-08-09 2011-08-09 Program for realizing electronic music apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011174182A JP5747728B2 (en) 2011-08-09 2011-08-09 Program for realizing electronic music apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2013037237A JP2013037237A (en) 2013-02-21
JP5747728B2 true JP5747728B2 (en) 2015-07-15

Family

ID=47886881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011174182A Expired - Fee Related JP5747728B2 (en) 2011-08-09 2011-08-09 Program for realizing electronic music apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5747728B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6125387B2 (en) * 2013-09-18 2017-05-10 株式会社河合楽器製作所 Keyboard apparatus and program
CN103763427B (en) * 2013-10-29 2016-08-17 小米科技有限责任公司 Handheld device, Single-hand control method and controller
CN106981282A (en) * 2016-01-15 2017-07-25 易弹信息科技(上海)有限公司 A kind of piano performance key reminding method and system
WO2017121049A1 (en) 2016-01-15 2017-07-20 Findpiano Information Technology (Shanghai) Co., Ltd. Piano system and operating method thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6115198A (en) * 1984-06-30 1986-01-23 ヤマハ株式会社 Information input unit
JP3455753B2 (en) * 1993-06-30 2003-10-14 カシオ計算機株式会社 Music information input method and music information input device
US5665927A (en) * 1993-06-30 1997-09-09 Casio Computer Co., Ltd. Method and apparatus for inputting musical data without requiring selection of a displayed icon
JP3178472B2 (en) * 1996-05-17 2001-06-18 ヤマハ株式会社 Performance instruction device
JP3620409B2 (en) * 2000-05-25 2005-02-16 ヤマハ株式会社 Mobile communication terminal device
JP3762651B2 (en) * 2001-03-09 2006-04-05 三洋電機株式会社 Music score display device
JP3980888B2 (en) * 2002-01-16 2007-09-26 ローランド株式会社 Electronic musical instruments
JP4337515B2 (en) * 2003-11-21 2009-09-30 ヤマハ株式会社 Performance instruction device and program
JP2008241762A (en) * 2007-03-24 2008-10-09 Kenzo Akazawa Playing assisting electronic musical instrument and program
WO2009147901A1 (en) * 2008-06-02 2009-12-10 シャープ株式会社 Input device, input method, program, and recording medium
JP2011141460A (en) * 2010-01-08 2011-07-21 Toshihiko Mizukami Touch panel input controller, and program

Also Published As

Publication number Publication date
JP2013037237A (en) 2013-02-21

Similar Documents

Publication Publication Date Title
US8367922B2 (en) Music composition method and system for portable device having touchscreen
JP3632523B2 (en) Performance data editing apparatus, method and recording medium
JP4211672B2 (en) Performance data creation device and program
EP2765573B1 (en) Gestures for DJ scratch effect and position selection on a touchscreen displaying dual zoomed timelines.
JP5747728B2 (en) Program for realizing electronic music apparatus and control method thereof
JP6171828B2 (en) Program and sound effect data generating apparatus for realizing sound effect data generating method
JP5842451B2 (en) Program for realizing electronic music apparatus and control method thereof
JP2009300892A (en) Electronic musical device
JP2006267254A (en) Music data generating device
JP4337515B2 (en) Performance instruction device and program
US8878044B2 (en) Processing device and method for displaying a state of tone generation apparatus
JP2012189694A (en) Electric musical instrument
JP2013037238A (en) Electronic music device and program for realizing control method thereof
KR20070113017A (en) Touch screen apparatus and selecting method of file
JP6132052B2 (en) Electronic musical instruments and programs
JP6823514B2 (en) Score display / performance program and score display / performance device
JP2011141460A (en) Touch panel input controller, and program
JP4389753B2 (en) Music information display editing apparatus and program
US11694724B2 (en) Gesture-enabled interfaces, systems, methods, and applications for generating digital music compositions
JP6125387B2 (en) Keyboard apparatus and program
JP6766397B2 (en) Performance assistance display device and performance assistance display method
JP2015114401A (en) Program for realization of music data creation method and music data creation device
JP5500143B2 (en) Sound source control device and sound source control program
JP4062257B2 (en) Music score display device and music score display program
WO2014170968A1 (en) Chord notation creation device, chord notation creation method, and chord notation creation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150306

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: 20150414

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150427

LAPS Cancellation because of no payment of annual fees