JP4628298B2 - Piano roll display device and piano roll display program - Google Patents

Piano roll display device and piano roll display program Download PDF

Info

Publication number
JP4628298B2
JP4628298B2 JP2006107052A JP2006107052A JP4628298B2 JP 4628298 B2 JP4628298 B2 JP 4628298B2 JP 2006107052 A JP2006107052 A JP 2006107052A JP 2006107052 A JP2006107052 A JP 2006107052A JP 4628298 B2 JP4628298 B2 JP 4628298B2
Authority
JP
Japan
Prior art keywords
piano roll
display
tempo
automatic performance
display screen
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
JP2006107052A
Other languages
Japanese (ja)
Other versions
JP2007279470A (en
JP2007279470A5 (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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP2006107052A priority Critical patent/JP4628298B2/en
Priority to US11/784,775 priority patent/US7767898B2/en
Publication of JP2007279470A publication Critical patent/JP2007279470A/en
Publication of JP2007279470A5 publication Critical patent/JP2007279470A5/ja
Application granted granted Critical
Publication of JP4628298B2 publication Critical patent/JP4628298B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、自動演奏を行うための自動演奏情報に従ってピアノロール表示を行うピアノロール表示装置およびピアノロール表示プログラムに関する。   The present invention relates to a piano roll display device and a piano roll display program for performing piano roll display according to automatic performance information for performing automatic performance.

従来、自動演奏を行う自動演奏情報をグラフィック表示する表示装置が知られている。このグラフィック表示の一つの方法として、ピアノロールと呼ばれる自動演奏を行うための自動演奏情報が記録された紙を模擬して表示画面に表示を行うという方法がある。   2. Description of the Related Art Conventionally, display devices that display automatic performance information for performing an automatic performance are known. As one of the graphic display methods, there is a method of displaying on a display screen by simulating paper on which automatic performance information for performing automatic performance called a piano roll is recorded.

ピアノロールとは、オルガン式オルゴールや自動ピアノに取り付けて使用する自動演奏情報が穿孔された紙製のロールのことである。このロールを順次送り、空気圧で穿孔部を読み取り、ハンマー等を動作させる仕組みで、19世紀末頃から作られたものである。   The piano roll is a paper roll in which automatic performance information used in an organ-type music box or an automatic piano is perforated. It was made from the end of the 19th century with a mechanism that feeds these rolls sequentially, reads the perforated part with air pressure, and operates a hammer.

特開2001−51586号公報には、演奏指示装置として、ピアノロールのように音符を表示する装置が開示されている。この装置では、押鍵から離鍵までの鍵の操作範囲をスクロールバーで表示し、曲の再生に従ってスクロールバーがロールダウンし、演奏者に押鍵または離鍵のタイミングが指示されるとしている。
特開2001−51586号公報
Japanese Patent Laid-Open No. 2001-51586 discloses a device that displays musical notes like a piano roll as a performance instruction device. In this apparatus, a key operation range from key depression to key release is displayed with a scroll bar, the scroll bar rolls down as the music is played, and the player is instructed to press or release the key.
JP 2001-51586 A

しかしながら、従来のピアノロール形式で表示を行うものは、演奏テンポを設定した場合は、その設定された演奏テンポの値に応じてピアノロールの表示をスクロールする速度を変えていたため、実際のピアノロールとは異なり、違和感があるという問題点があった。すなわち、実際のピアノロールでは、ロールを送る速度は一定であり、ピアノロールに穿孔された音符に対応する孔の長さが異なるのである。   However, when the performance tempo is set for the conventional piano roll display, the speed of scrolling the piano roll display is changed according to the set performance tempo value. Unlike that, there was a problem that there was a sense of incongruity. That is, in an actual piano roll, the speed at which the roll is fed is constant, and the lengths of the holes corresponding to the notes punched in the piano roll are different.

また、実際のピアノロール紙による自動ピアノ装置では、ロール紙を巻き戻したり、早送りをした場合に、瞬時に送られるのではなく、所定の速度で送られる。また、巻戻し、または早送りを開始した場合や、停止した場合、および巻き戻し、または、戻し早送りを行っている場合は、機械が動作する音を発生していたが、従来のピアノロール形式で表示する装置では、瞬時に巻き戻しが行われたり、機械的な音を発生することがなく、実際のピアノロールを演奏する自動ピアノとは異なり、リアリティに欠けるという問題点もあった。   Further, in an automatic piano apparatus using actual piano roll paper, when the roll paper is rewound or fast-forwarded, it is not sent instantaneously but at a predetermined speed. Also, when rewinding or fast-forwarding is started or stopped, and when rewinding or fast-forwarding is being performed, the machine has generated a sound. The display device does not rewind instantaneously or generates a mechanical sound, and has a problem of lack of reality unlike an automatic piano that plays an actual piano roll.

本発明は、上記問題点を解決するためになされたものであり、ピアノロールにより自動演奏を行う自動ピアノを模擬することができるピアノロール表示装置およびピアノロール表示プログラムを提供することを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a piano roll display device and a piano roll display program that can simulate an automatic piano that performs an automatic performance with a piano roll. .

この目的を達成するために、請求項1記載のピアノロール表示装置は、自動演奏情報を記憶する自動演奏情報記憶手段と、その自動演奏情報記憶手段に記憶された自動演奏情報に基づいて音符に対応する図形を表示する表示画面とを備えたものであり、演奏テンポを設定する演奏テンポ設定手段と、前記演奏テンポ設定手段により設定された演奏テンポに応じて前記表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、前記表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段とを備えている。   In order to achieve this object, the piano roll display device according to claim 1 uses automatic performance information storage means for storing automatic performance information, and notes based on the automatic performance information stored in the automatic performance information storage means. A display screen for displaying a corresponding figure, a performance tempo setting means for setting a performance tempo, and a note tempo displayed on the display screen in accordance with the performance tempo set by the performance tempo setting means Note length setting means for setting the length of the figure corresponding to the length, and scroll means for scrolling the display screen at a constant speed regardless of the performance tempo.

前述のピアノロール表示装置において、前記演奏テンポ設定手段により設定された演奏テンポに応じて楽音を発生するように音源に指示を送る自動演奏手段を備えるようにしてもよいIn piano roll display device described above, it may be so that an automatic performance means for sending an instruction to the sound source to generate a musical tone in accordance with the performance tempo set by the tempo setting means.

前述のピアノロール表示装置において、前記スクロール手段は、前記自動演奏手段が演奏している演奏場所が前記表示画面に表示されるようにスクロールするように構成することが望ましい In the above-mentioned piano roll display device, it is desirable that the scroll means is configured to scroll so that a performance place where the automatic performance means is playing is displayed on the display screen.

前述のピアノロール表示装置において、前記表示画面に小節線を表示する小節線設定手段を備えるように構成してもよい
In piano roll display device described above may be configured to so that with a measure line setting means for displaying a bar line on the display screen.

請求項記載のピアノロール表示装置は、更に、前記表示画面に表示される楽譜の表示位置を任意に設定する表示位置設定手段を備え、前記スクロール手段は、前記表示位置設定手段により設定された楽譜の表示位置まで前記一定速度より速い速度で表示画面をスクロールする。
The piano roll display device according to claim 1 , further comprising display position setting means for arbitrarily setting a display position of a score displayed on the display screen, wherein the scroll means is set by the display position setting means. The display screen is scrolled to a score display position at a speed faster than the predetermined speed.

請求項記載のピアノロール表示装置は、自動演奏情報を記憶する自動演奏情報記憶手段と、その自動演奏情報記憶手段に記憶された自動演奏情報に基づいて音符に対応する図形を表示する表示画面とを備えたものであり、演奏テンポを設定する演奏テンポ設定手段と、前記演奏テンポ設定手段により設定された演奏テンポに応じて前記表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、前記表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段とを備えている。更に、前記スクロール手段が前記一定速度より速い速度で表示画面をスクロールする場合に擬音を発生する擬音発生手段を備えている。
3. The piano roll display device according to claim 2 , wherein an automatic performance information storage means for storing automatic performance information and a display screen for displaying a figure corresponding to a musical note based on the automatic performance information stored in the automatic performance information storage means. A performance tempo setting means for setting a performance tempo, and a figure length corresponding to the length of a note displayed on the display screen in accordance with the performance tempo set by the performance tempo setting means Note length setting means for setting the length, and scroll means for scrolling the display screen at a constant speed regardless of the performance tempo. Furthermore, it comprises pseudo sound generating means for generating pseudo sound when the scroll means scrolls the display screen at a speed faster than the constant speed.

ピアノロール表示プログラムは、自動演奏情報を記憶する自動演奏情報記憶手段と、その自動演奏情報記憶手段に記憶された自動演奏情報に基づいて音符に対応する図形を表示する表示画面とを備えたピアノロール表示装置により実行されるものであり、演奏テンポを設定する演奏テンポ設定ステップと、その演奏テンポ設定手段により設定された演奏テンポに応じて前記表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定ステップと、前記表示画面を演奏テンポに関わらず一定速度でスクロールするスクロールステップとを備えている。
The piano roll display program includes an automatic performance information storage means for storing automatic performance information, and a display screen for displaying a graphic corresponding to a note based on the automatic performance information stored in the automatic performance information storage means. This is executed by the roll display device, and corresponds to the performance tempo setting step for setting the performance tempo and the length of the note displayed on the display screen in accordance with the performance tempo set by the performance tempo setting means. A note length setting step for setting the length of the figure, and a scroll step for scrolling the display screen at a constant speed regardless of the performance tempo.

前述のピアノロール表示プログラムにおいて、前記演奏テンポ設定ステップにより設定された演奏テンポに応じて楽音を発生するように音源に指示を送る自動演奏ステップを備えるようにしてもよいIn the foregoing piano roll display program, may be so that an automatic performance sending an instruction to the sound source to generate a musical tone in accordance with the performance tempo set by the tempo setting step.

前述のピアノロール表示プログラムにおいて、前記スクロールステップは、前記自動演奏ステップが演奏している演奏場所が前記表示画面に表示されるようにスクロールするように構成することが望ましい In the above-described piano roll display program, it is preferable that the scroll step is configured to scroll so that a performance place where the automatic performance step is performed is displayed on the display screen.

前述のピアノロール表示プログラムにおいて、前記表示画面に小節線を表示する小節線設定ステップを備えるようにしてもよいIn the foregoing piano roll display program, it may be so that with a measure line setting step of displaying a bar line on the display screen.

前述のピアノロール表示プログラムにおいて、前記表示画面に表示される楽譜の表示位置を任意に設定する表示位置設定ステップを備え、前記スクロールステップは、前記表示位置設定ステップにより設定された楽譜の表示位置まで前記一定速度より速い速度で表示画面をスクロールするように構成することが望ましい The above-mentioned piano roll display program includes a display position setting step for arbitrarily setting a display position of a score displayed on the display screen, and the scroll step includes a display position of the score set by the display position setting step. It is desirable that the display screen is scrolled at a speed faster than the constant speed.

請求項1記載の請求項1記載のピアノロール表示装置によれば、演奏テンポを設定する演奏テンポ設定手段と、演奏テンポ設定手段により設定された演奏テンポに応じて表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段とを備えているので、表示画面に表示されるピアノロールは、実際のピアノロールと同等の表示となり、違和感のない表示が行われるという効果がある。   According to the piano roll display device of the first aspect, the performance tempo setting means for setting the performance tempo, and the notes displayed on the display screen according to the performance tempo set by the performance tempo setting means. Since it has note length setting means for setting the length of the figure corresponding to the length and scroll means for scrolling the display screen at a constant speed regardless of the performance tempo, the piano roll displayed on the display screen is The display is equivalent to that of an actual piano roll, and there is an effect that a display without a sense of incongruity is performed.

更に、前述のピアノロール表示装置によれば、演奏テンポ設定手段により設定された演奏テンポに応じて楽音を発生するように音源に指示を送る自動演奏手段を備えているので、自動演奏に合致したピアノロールの表示が行われ、自動ピアノを模擬することができるという効果がある。 Furthermore, according to the piano roll display device described above is provided with the automatic performance means for sending an instruction to the sound source to generate a musical tone in accordance with the performance tempo set by Starring Kanade tempo setting means, it matches the automatic performance The piano roll is displayed and the automatic piano can be simulated.

更に、前述のピアノロール表示装置によれば、スクロール手段は、自動演奏手段が演奏している演奏場所が表示画面に表示されるようにスクロールするので、自動演奏が行われている楽譜上の場所をピアノロール上で確認することができるという効果がある。 Furthermore, according to the piano roll display device described above, scroll means, since the scroll so that play where the automatic performance device is playing is displayed on the display screen, on the score the automatic performance is carried out There is an effect that the place can be confirmed on the piano roll.

更に、前述のピアノロール表示装置によれば、表示画面に小節線を表示する小節線設定手段を備えているので、ピアノロールに表示される図形と音符との関係を把握しやすいという効果がある。
Furthermore, according to the above-mentioned piano roll display device, since the bar line setting means for displaying the bar line on the display screen is provided, there is an effect that it is easy to grasp the relationship between the figure displayed on the piano roll and the musical note. .

請求項記載のピアノロール表示装置によれば、更に、表示画面に表示される楽譜の表示位置を任意に設定する表示位置設定手段を備え、スクロール手段は、表示位置設定手段により設定された楽譜の表示位置まで一定速度より速い速度で表示画面をスクロールするので、ピアノロールの早送りや巻き戻しを行った際に、実際のピアノロールが早送りや巻き戻しされる様子を模擬することができるという効果がある。
The piano roll display device according to claim 1 , further comprising display position setting means for arbitrarily setting a display position of a score displayed on the display screen, wherein the scroll means is a score set by the display position setting means. Scrolls the display screen at a speed faster than a certain speed to the display position of, so when you fast forward or rewind the piano roll, you can simulate how the actual piano roll is fast forwarded or rewound There is.

請求項記載のピアノロール表示装置によれば、演奏テンポを設定する演奏テンポ設定手段と、演奏テンポ設定手段により設定された演奏テンポに応じて表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段とを備えているので、表示画面に表示されるピアノロールは、実際のピアノロールと同等の表示となり、違和感のない表示が行われるという効果がある。更に、スクロール手段が一定速度より速い速度で表示画面をスクロールする場合に擬音を発生する擬音発生手段を備えているので、ピアノロールを早送りや巻き戻しを行った際に、よりよく実際のピアノロールが早送りや巻き戻しされる様子を模擬することができるという効果がある。
According to the piano roll display device of claim 2 , the performance tempo setting means for setting the performance tempo, and the length of the note displayed on the display screen in accordance with the performance tempo set by the performance tempo setting means. Since it has note length setting means for setting the figure length and scroll means for scrolling the display screen at a constant speed regardless of the performance tempo, the piano roll displayed on the display screen is the actual piano roll. The display is equivalent to the above, and there is an effect that a display without a sense of incongruity is performed. Furthermore, since the scroll means is provided with a pseudo sound generating means for generating a pseudo sound when the display screen is scrolled at a speed faster than a constant speed, the actual piano roll is better when the piano roll is fast-forwarded or rewound. This has the effect of simulating how fast forwards and rewinds.

ピアノロール表示プログラムによれば、演奏テンポを設定する演奏テンポ設定ステップと、その演奏テンポ設定手段により設定された演奏テンポに応じて表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定ステップと、表示画面を演奏テンポに関わらず一定速度でスクロールするスクロールステップとを備えているので、表示画面に表示されるピアノロールは、実際のピアノロールと同等の表示となり、違和感のない表示が行われるという効果がある。
According to the piano roll display program, the performance tempo setting step for setting the performance tempo and the length of the figure corresponding to the length of the note displayed on the display screen according to the performance tempo set by the performance tempo setting means Note length setting step and scroll step to scroll the display screen at a constant speed regardless of the performance tempo, the piano roll displayed on the display screen is the same display as the actual piano roll Thus, there is an effect that a display without a sense of incongruity is performed.

更に、前述のピアノロール表示プログラムによれば、演奏テンポ設定ステップにより設定された演奏テンポに応じて楽音を発生するように音源に指示を送る自動演奏ステップを備えているので、自動演奏に合致したピアノロールの表示が行われ、自動ピアノを模擬することができるという効果がある。 Furthermore, according to the aforementioned piano roll display program is provided with the automatic performance sending an instruction to the sound source to generate a musical tone in accordance with the performance tempo set by Starring Kanade tempo setting step, it matches the automatic performance The piano roll is displayed and the automatic piano can be simulated.

更に、前述のピアノロール表示プログラムによれば、スクロールステップは、自動演奏手段が演奏している演奏場所が表示画面に表示されるようにスクロールするので、自動演奏が行われている楽譜上の場所をピアノロール上で確認することができるという効果がある。 Furthermore, according to the aforementioned piano roll display program, scroll step, since the scroll so that play where the automatic performance device is playing is displayed on the display screen, on the score the automatic performance is carried out There is an effect that the place can be confirmed on the piano roll.

更に、前述のピアノロール表示プログラムによれば、表示画面に小節線を表示する小節線設定ステップを備えているので、ピアノロールに表示される図形と音符との関係を把握しやすいという効果がある。 Furthermore, according to the aforementioned piano roll display program is provided with the bar-line setting step of displaying a bar line in Table示画surface, the effect of easily grasp the relationship between the figure and notes that appear on piano roll is there.

更に、前述のピアノロール表示プログラムによれば、表示画面に表示される楽譜の表示位置を任意に設定する表示位置設定ステップを備え、スクロールステップは、表示位置設定ステップにより設定された楽譜の表示位置まで一定速度より速い速度で表示画面をスクロールするので、ピアノロールの早送りや巻き戻しを行った際に、実際のピアノロールが早送りや巻き戻しされる様子を模擬することができるという効果がある。 Furthermore, according to the aforementioned piano roll display program includes a display position setting step of setting a display position of the musical score to be displayed in the table示画surface arbitrarily, scrolling step, the display of musical score set by the display position setting step Since the display screen is scrolled to a position faster than a certain speed, it is possible to simulate how the actual piano roll is fast-forwarded or rewound when the piano roll is fast-forwarded or rewound. .

以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の一実施形態であるピアノロール表示装置1の電気的構成を示したブロック図である。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a piano roll display device 1 according to an embodiment of the present invention.

ピアノロール表示装置1は、CPU2と、ROM3と、RAM4と、操作子5と、表示器6と、音源7と、フラッシュメモリ8と、鍵盤9と、アンプ10と、スピーカ11とにより構成されている。   The piano roll display device 1 includes a CPU 2, a ROM 3, a RAM 4, an operator 5, a display 6, a sound source 7, a flash memory 8, a keyboard 9, an amplifier 10, and a speaker 11. Yes.

CPU2は、演算装置であり、ROM3に記憶される制御プログラムに従って自動演奏やピアノロール表示などの処理を行う。CPU2には、所定の時間単位で計時を行うタイマ2aが備えられている。   The CPU 2 is an arithmetic unit and performs processing such as automatic performance and piano roll display according to a control program stored in the ROM 3. The CPU 2 is provided with a timer 2a that measures time in a predetermined time unit.

ROM3は、CPU2により実行される各種の制御プログラム3aやその制御プログラム3aを実行する際に参照される固定値データが記憶されている。制御プログラムの一つが自動演奏を行うとともにピアノロールを表示する制御プログラムである。   The ROM 3 stores various control programs 3a executed by the CPU 2 and fixed value data referred to when the control programs 3a are executed. One of the control programs is a control program that performs an automatic performance and displays a piano roll.

RAM4は、CPU2が、ROM3に記憶されている制御プログラムの実行に当たって各種のデータ等を一時的に記憶するワーキングエリアと、表示器6にピアノロール図を表示した際に、表示データを記憶する表示データ記憶エリアとを有する書き換え可能なメモリである。RAM4には、自動演奏を行っているか、早送りを行っているか、巻き戻しを行っているかを示すフラグを記憶するフラグメモリ4aと、現在設定されているテンポの値を記憶するテンポ値メモリ4bと、ピアノロール図を描画する際に変数などが記憶される表示パラメータメモリ4cとが備えられている。   The RAM 4 has a working area in which the CPU 2 temporarily stores various data and the like when the control program stored in the ROM 3 is executed, and a display for storing display data when the piano roll diagram is displayed on the display 6. A rewritable memory having a data storage area. The RAM 4 has a flag memory 4a for storing a flag indicating whether automatic performance, fast-forwarding or rewinding is performed, and a tempo value memory 4b for storing a currently set tempo value. And a display parameter memory 4c for storing variables and the like when drawing the piano roll diagram.

操作子5は、自動演奏の開始や停止などの指示を行うスイッチや、自動演奏が行われる際の音量などを調整する操作子である。図2を参照して、本発明に関わる操作子について後述する。   The operation element 5 is an operation element for adjusting a switch for instructing the start or stop of the automatic performance or the volume when the automatic performance is performed. With reference to FIG. 2, the operation element according to the present invention will be described later.

表示器6は、LCDにより構成される表示器であって、ピアノロール図が表示される。表示態様については、図2を参照して後述する。   The display 6 is a display configured by an LCD, and displays a piano roll diagram. The display mode will be described later with reference to FIG.

音源7は、CPU2により指示される音高、音量、音色で楽音を形成するもので、各種楽器(例えば、ピアノ、フルート、バイオリンなど)の波形や、実際のピアノロール紙を早送りおよび巻き戻しを行う際のローラの回転音やロール紙が高速で巻き取られる際、および巻き取りを開始する際や巻き取りを終了した際に発生する機械的な音を模擬する擬音を記憶し、その波形を読み出すことにより楽音を形成する。音源7により形成された楽音は、アンプ10により増幅されてスピーカ11により放音される。   The sound source 7 forms a musical tone with the pitch, volume, and timbre instructed by the CPU 2, and fast-forwards and rewinds waveforms of various musical instruments (for example, piano, flute, violin, etc.) and actual piano roll paper. Stores the rotational sound of the roller during rolling and the pseudo sound that simulates the mechanical sound that is generated when the roll paper is wound at high speed and when winding is started or when winding is completed, and the waveform is stored. A musical tone is formed by reading. The musical sound formed by the sound source 7 is amplified by the amplifier 10 and emitted by the speaker 11.

フラッシュメモリ8は、ピアノロール表示装置1に備えられたスロット(図示なし)に着脱自在に装着される書き換え可能で不揮発性のメモリであり、自動演奏を行うための自動演奏情報8aを記憶する。自動演奏情報8aは、楽曲に対応し、楽曲のタイトルや、作曲者などの情報とともに、時間経過に従って演奏を行う演奏情報により構成され、図3を参照して後述する。   The flash memory 8 is a rewritable and non-volatile memory that is detachably mounted in a slot (not shown) provided in the piano roll display device 1 and stores automatic performance information 8a for performing an automatic performance. The automatic performance information 8a corresponds to the music, and is composed of performance information that performs along with the passage of time along with information such as the title of the music and the composer, and will be described later with reference to FIG.

鍵盤9は、複数の白鍵および黒鍵により構成される楽器用の鍵盤であって、発生される楽音の音高を指定するとともに、押鍵により発音の開始を指示し離鍵により発音の停止を指示するものである。   The keyboard 9 is a musical instrument keyboard composed of a plurality of white keys and black keys. The pitch of the musical tone to be generated is designated, the start of sounding is instructed by pressing the key, and the sounding is stopped by releasing the key. Is instructed.

鍵盤9を演奏することにより音源7から演奏音が発生され、その演奏を記録することにより、自動演奏情報を形成することができる。   A performance sound is generated from the sound source 7 by playing the keyboard 9, and automatic performance information can be formed by recording the performance.

次に、図2を参照して、表示器6に表示される表示画面と、自動演奏を行う際に操作される操作子について説明する。図2は、ピアノロール表示装置1の操作パネルに配置された表示器6と4つのスイッチを示すパネル図である。   Next, with reference to FIG. 2, the display screen displayed on the display device 6 and the controls that are operated when performing an automatic performance will be described. FIG. 2 is a panel diagram showing the display 6 and four switches arranged on the operation panel of the piano roll display device 1.

表示画面には、ピアノロール図が表示される。この実施形態では、ピアノロール図には、鍵が押下されている時間を黒い長方形の音符線21aで示し、鍵盤の鍵の配置を模擬して横方向に音高を表し、右方へ行くほど音高が高い鍵について表示している。   A piano roll diagram is displayed on the display screen. In this embodiment, in the piano roll diagram, the time during which the key is pressed is indicated by a black rectangular musical note line 21a, the pitch of the key on the keyboard is simulated to represent the pitch in the horizontal direction, and the more it goes to the right. A key with a high pitch is displayed.

また、縦方向は、時間を表し上方から下方へ時間が進行する事象を示している。したがってピアノロール図は、演奏の進行に伴って下方から上方(矢印Aの方向)へスクロールされる。   The vertical direction represents time and represents an event in which time advances from above to below. Accordingly, the piano roll diagram is scrolled from below to above (in the direction of arrow A) as the performance progresses.

表示画面中に、縦方向に長く黒く表示されている長方形の音符線21aが、鍵盤を押下していることを示す。表示画面において、縦方向に引かれている破線21cは、5線譜の位置を示し、同図において、右方の5線が高音部(右端の破線から順に、F,D,B,G,Eの各音高を示す)、左方の5線が低音部(中央のやや太い破線の左隣の破線から順に、A,F,D,B,Gの各音高を示す)に対応し、中央のやや太い破線は、中央Cの音高を示している。   In the display screen, a rectangular note line 21a that is long and displayed in black in the vertical direction indicates that the keyboard is being pressed. In the display screen, a broken line 21c drawn in the vertical direction indicates the position of the five-line score, and in the same figure, the five lines on the right are treble parts (F, D, B, G, E indicates each pitch), and the left five lines correspond to the bass part (showing each pitch of A, F, D, B, G in order from the dashed line on the left of the slightly thick dashed line in the center) The slightly thick broken line in the center indicates the pitch of the center C.

また、表示画面において、横方向に引かれている実線は、小節線を示し、この表示画面では、上方の小節線の間隔が広く、下方の小節線の間隔が狭く描かれている。これは、上方の間隔が広い部分では、テンポが遅く、間隔が短い部分では、テンポが速いことを意味している。   In the display screen, a solid line drawn in the horizontal direction indicates a bar line, and in this display screen, the upper bar line interval is wide and the lower bar line interval is narrow. This means that the tempo is slow in the upper part where the interval is wide and the tempo is fast in the part where the interval is short.

表示器6の下方には、4つの自動演奏を行う際に操作されるスイッチが配置されてる。左側から順に、巻き戻しスイッチ5a、プレイスイッチ5b、ストップスイッチ5c、早送りスイッチ5dである。巻き戻しスイッチ5aが操作されると、現在の曲の演奏位置が先頭まで高速で戻され、プレイスイッチ5bが操作されると、現在位置から演奏が開始される。ストップスイッチ5cが操作されると、演奏している場所で停止し、早送りスイッチ5dが操作されると、現在位置が曲の終わり方向へ高速で送られる。   Below the display 6, there are arranged four switches that are operated when performing an automatic performance. In order from the left side, there are a rewind switch 5a, a play switch 5b, a stop switch 5c, and a fast-forward switch 5d. When the rewind switch 5a is operated, the performance position of the current song is returned to the beginning at a high speed, and when the play switch 5b is operated, the performance is started from the current position. When the stop switch 5c is operated, it stops at the place where it is played, and when the fast-forward switch 5d is operated, the current position is sent at high speed toward the end of the song.

自動演奏が行われる場合は、自動演奏情報に従って演奏が行われるとともに、その自動演奏情報に対応するピアノロール図が、表示器6に表示される。巻き戻しまたは早送りが指示された場合は、自動演奏情報に基づく演奏は行われず、ピアノロール紙が巻き取られる機械音を模擬した音が発生されるとともに、ピアノロール図が高速でスクロールされる(図4(a)、参照)。巻き取りを開始した場合は、巻き取りを開始した機械音を、また、巻き取りを終了した場合は、機械が停止する機械音を模擬した音が音源7により形成される。   When the automatic performance is performed, the performance is performed in accordance with the automatic performance information, and a piano roll diagram corresponding to the automatic performance information is displayed on the display device 6. When rewinding or fast-forwarding is instructed, the performance based on the automatic performance information is not performed, a sound simulating a mechanical sound on which the piano roll paper is wound is generated, and the piano roll diagram is scrolled at high speed ( (See FIG. 4 (a)). When winding is started, the sound source 7 forms a mechanical sound that starts winding, and when winding is finished, a sound that simulates a mechanical sound that stops the machine.

次に、図3を参照して自動演奏情報について説明する。図3は、自動演奏情報を示すテーブルである。この実施形態における自動演奏情報は、イベントの種類と、次のイベントまでの時間(delta)とを、一組のデータとして時間経過に従って順次記憶するものである。   Next, automatic performance information will be described with reference to FIG. FIG. 3 is a table showing automatic performance information. The automatic performance information in this embodiment sequentially stores the type of event and the time (delta) until the next event as a set of data as time elapses.

図3に示すテーブルにおいて、まず第一行に記述されたデータは、イベントの種類がテンポの値を80(拍/分)とし、次のイベントまでの時間を0(単位は、ティック)とすると記述されている。ここで、ティックとは、1拍を所定の数で除した値であり、ここでは、1拍を96で除した値をティックとする。読み出されたテンポの値は、RAM4に設けられたテンポ値メモリ4bに記憶される。   In the table shown in FIG. 3, first, the data described in the first line is that the event type has a tempo value of 80 (beats / minute) and the time to the next event is 0 (unit is tick). is described. Here, the tick is a value obtained by dividing one beat by a predetermined number. Here, a value obtained by dividing one beat by 96 is a tick. The read tempo value is stored in a tempo value memory 4 b provided in the RAM 4.

次の行に記述されたデータは、イベントの種類がノートオンであり、次のイベントまでの時間を96ティックとしている。ここで、ノートオンとは、MIDI規格でいう鍵盤が押下されたことを示すデータであり、図3では、音高を示すノートナンバを2列目に示し、押鍵速度を表すベロシティは、省略して示す。以下同様に、イベントと次のイベントまでの時間により自動演奏情報は構成される。   In the data described in the next line, the event type is note-on, and the time to the next event is 96 ticks. Here, note-on is data indicating that a key in the MIDI standard has been pressed. In FIG. 3, note numbers indicating pitches are shown in the second column, and velocity indicating key pressing speed is omitted. Show. Similarly, automatic performance information is composed of an event and the time until the next event.

次に、図4を参照して、自動演奏時以外の時に表示器6に表示されるピアノロール図について説明する。図4(a)は、巻き戻しを行っている場合に表示されるピアノロール図である。従来の、ピアノロールを表示するものでは、巻き戻しを指示すると瞬時に曲の先頭に演奏位置が移動され、味気ないものであったが、本発明では、演奏時とは逆の方向に高速でスクロール表示を行い、実際の自動ピアノなどのように、機械的にピアノロール紙を巻き取る様子を模擬する。   Next, with reference to FIG. 4, the piano roll figure displayed on the indicator 6 at the time other than the automatic performance will be described. FIG. 4A is a piano roll diagram displayed when rewinding is performed. With the conventional piano roll display, when the rewind is instructed, the performance position is instantaneously moved to the beginning of the song, which is unpleasant. However, in the present invention, at a high speed in the opposite direction to the performance. The scroll display is performed to simulate the mechanical roll-up of the piano roll paper, such as an actual automatic piano.

図4(b)は、ピアノロール図の曲頭を表示する図であり、ピアノロール紙の先頭部分を模擬して表示する。   FIG. 4B is a diagram for displaying the beginning of the piano roll diagram, and displays the top portion of the piano roll paper in a simulated manner.

次に、図5〜図8を参照して、CPU2が制御プログラムを実行することより行われるピアノロール表示処理について説明する。図5は、ピアノロール表示装置1の電源が投入されることにより起動されるメインルーチンを示すフローチャートで、このメインルーチンは、ピアノロール表示装置1の電源が遮断されるまで繰り返し実行される。   Next, with reference to FIGS. 5-8, the piano roll display process performed when CPU2 runs a control program is demonstrated. FIG. 5 is a flowchart showing a main routine activated when the power of the piano roll display device 1 is turned on. This main routine is repeatedly executed until the power of the piano roll display device 1 is cut off.

まず、初期設定を行う(S1)。この初期設定としては、表示画面に図4(b)に示す曲頭を示す表示を行う。なお、ここでは、説明を簡単にするために、複数の曲の演奏情報がフラッシュメモリ8に記憶され、選曲がすでに行われているものとする。また、タイマ2aを所定の時間間隔(例えば、1msec)で計時を行うように設定し、タイマ割り込みを禁止するように設定する。   First, initial setting is performed (S1). As this initial setting, the display showing the beginning of the song shown in FIG. 4B is performed on the display screen. Here, in order to simplify the description, it is assumed that performance information of a plurality of songs is stored in the flash memory 8 and the music selection has already been performed. In addition, the timer 2a is set to measure time at a predetermined time interval (for example, 1 msec), and set to prohibit timer interruption.

次に、プレイスイッチ5bが操作されて演奏の開始が指示されたか否かを判断する(S2)。プレイスイッチ5bが操作された場合は(S2:Yes)、タイマ割り込みを許可するように設定するとともに、RAM4に設けられたフラグメモリ4aに記憶されたフラグを自動演奏であることを示す値に設定する(S3)。   Next, it is determined whether or not the play switch 5b has been operated to instruct the start of performance (S2). When the play switch 5b is operated (S2: Yes), the timer interrupt is set to be permitted, and the flag stored in the flag memory 4a provided in the RAM 4 is set to a value indicating automatic performance. (S3).

プレイスイッチが操作されていない場合(S2:No)、または、S3の処理を終了した場合は、ストップスイッチ5cが操作されて演奏の停止が指示されたか否かを判断する(S4)。   When the play switch is not operated (S2: No), or when the process of S3 is finished, it is determined whether or not the stop switch 5c is operated to stop the performance (S4).

ストップスイッチ5cが操作された場合は(S4:Yes)、タイマ割り込みを禁止するように設定する(S5)。この時、自動演奏中であれば、発音中の楽音の発音を停止するように音源7に指示し、早送り中であれば、早送りの擬音の発生を停止し、巻戻し中であれば、巻き戻しの擬音の発生を停止するように音源7に指示を送る。   When the stop switch 5c is operated (S4: Yes), the timer interrupt is set to be prohibited (S5). At this time, if the automatic performance is being performed, the sound source 7 is instructed to stop the sounding of the musical sound that is being generated. If the fast-forwarding is in progress, the generation of the fast-forwarding pseudo-sound is stopped. An instruction is sent to the sound source 7 to stop the generation of the return pseudo sound.

ストップスイッチ5cが操作されていない場合(S4:No)、または、S5の処理を終了した場合は、巻戻しスイッチ5aが操作されて巻き戻しが指示されたか否かを判断する(S6)。巻き戻しスイッチ5aが操作された場合は(S6:Yes)、タイマ割り込みを許可し、巻き戻しを示すフラグをフラグメモリ4aに記憶すると共に、ピアノロール紙の巻戻しを開始する機械音を模擬する音を発生し、その後は巻き戻しを行っている模擬音を発生するように音源7に指示を送る(S7)。   When the stop switch 5c is not operated (S4: No), or when the process of S5 is finished, it is determined whether or not the rewind switch 5a is operated to instruct rewinding (S6). When the rewind switch 5a is operated (S6: Yes), timer interruption is permitted, a flag indicating rewind is stored in the flag memory 4a, and a mechanical sound for starting rewinding of the piano roll paper is simulated. An instruction is sent to the sound source 7 so as to generate a simulated sound that is generated and then rewound (S7).

巻き戻しスイッチ5aが操作されていない場合(S6:No)、または、S7の処理を終了した場合は、早送りスイッチ5dが操作されて早送りが指示されたか否かを判断する(S8)。早送りスイッチ5dが操作された場合は(S8:Yes)、タイマ割り込みを許可し、早送りを示すフラグをフラグメモリ4aに記憶すると共に、ピアノロール紙の早送りを開始する機械音を模擬する音を発生し、その後は早送りを行っている模擬音を発生するように音源7に指示を送る(S9)。早送りスイッチ5dが操作されていない場合(S8:No)、または、S9の処理を終了した場合は、S2の処理に戻る。   When the rewind switch 5a is not operated (S6: No), or when the process of S7 is finished, it is determined whether or not the fast-forward switch 5d is operated to instruct fast-forward (S8). When the fast-forward switch 5d is operated (S8: Yes), a timer interrupt is permitted, a flag indicating fast-forwarding is stored in the flag memory 4a, and a sound that simulates a mechanical sound that starts fast-forwarding of piano roll paper is generated. Thereafter, an instruction is sent to the sound source 7 so as to generate a simulated sound that is fast-forwarded (S9). When the fast-forward switch 5d is not operated (S8: No), or when the process of S9 is terminated, the process returns to S2.

次に、図6を参照して、タイマ割り込み処理について説明する。図6は、タイマ割り込み処理を示すフローチャートである。フラグメモリ4aに記憶したフラグを参照し、現在自動演奏中であるか否かを判断する(S11)。現在、自動演奏中である場合は(S11:Yes)、Δtickの値を演算する(S12)。このΔtickは、タイマ割り込みが発生する時間間隔に対応するティック数である。上記の通り、タイマ割り込みの時間間隔を1msec、ティックを1拍を96で分割した値とし、テンポ値(テンポ値メモリ4bに記憶されている)をtempoとすると、
Δtick=(tempo×96)/(60×1000)
次に、現在の自動演奏を開始した時からのティック数tickを求め(S13)、このΔtickの間にイベントが存在するか否かを判断する(S14)。上述の通り、自動演奏情報は、イベントの種類と次のイベントまでの時間を記憶しているので、予め各イベントの演奏開始からの時刻を演算して記憶しておいてもよいし、すでに処理を終了したイベントまでの累算した時間を記憶し、次のイベントの時刻が、現在時間に達しているか否かを判断してもよい。
Next, timer interrupt processing will be described with reference to FIG. FIG. 6 is a flowchart showing timer interrupt processing. With reference to the flag stored in the flag memory 4a, it is determined whether or not an automatic performance is currently being performed (S11). If an automatic performance is currently being performed (S11: Yes), the value of Δtick is calculated (S12). This Δtick is the number of ticks corresponding to the time interval at which the timer interrupt occurs. As described above, when the timer interrupt time interval is 1 msec, the tick is a value obtained by dividing one beat by 96, and the tempo value (stored in the tempo value memory 4b) is tempo,
Δtick = (tempo × 96) / (60 × 1000)
Next, the number of ticks tick from the start of the current automatic performance is obtained (S13), and it is determined whether there is an event during this Δtick (S14). As described above, since the automatic performance information stores the type of event and the time until the next event, the time from the performance start of each event may be calculated and stored in advance, or already processed. It is also possible to store the accumulated time up to the event that ended and to determine whether or not the time of the next event has reached the current time.

Δtickの間にイベントが存在する場合は(S14:Yes)、そのイベントについての処理を行う(S15)。すなわち、イベントがノートオンやノートオフなどの楽音の発生に関する情報である場合には、音源7にその情報を送信し、テンポの値を示す情報である場合は、そのテンポ値をRAM4のテンポ値メモリ4bに記憶する。   If there is an event during Δtick (S14: Yes), the event is processed (S15). That is, if the event is information related to the generation of musical sounds such as note-on and note-off, the information is transmitted to the sound source 7. If the event is information indicating the tempo value, the tempo value is used as the tempo value in the RAM 4. Store in the memory 4b.

S14の判断処理においてイベントが存在しない場合(S14:No)、またはS15の処理を終了した場合は、表示器6に表示するピアノロール図を更新する(S16)。この更新処理については、図7および図8を参照して後述する。   When there is no event in the determination process of S14 (S14: No), or when the process of S15 is ended, the piano roll diagram displayed on the display 6 is updated (S16). This update process will be described later with reference to FIGS.

S11の判断処理において、フラグメモリ4aに記憶したフラグにより、現在、自動演奏中ではないと判断した場合は(S11:No)、そのフラグにより現在、早送りに設定されているか否かを判断する(S21)。現在、早送りに設定されている場合は(S21:Yes)、tickの値に、値FDを加算してtickの値を進める(S22)。この値FDは、早送りの際に高速でピアノロール図をスクロールするための値であって、例えば、1拍のtick数(96)などとする。   In the determination process of S11, when it is determined that the automatic performance is not currently being performed based on the flag stored in the flag memory 4a (S11: No), it is determined whether or not fast-forwarding is currently set based on the flag (S11: No). S21). If fast-forward is currently set (S21: Yes), the value FD is added to the tick value to advance the tick value (S22). This value FD is a value for scrolling the piano roll diagram at high speed during fast-forwarding, and is, for example, the number of ticks per beat (96).

次に、tickの値が曲の終わりに達したか否かを判断する(S23)。曲の終わりに達した場合は(S23:Yes)、ピアノロール紙を早送りする擬音に変わり、ピアノロール紙の早送りを停止した時の擬音を発生し、タイマ割り込みを禁止するように設定する(S24)。曲の終わりに達していない場合(S23:No)、またはS24の処理を終了した場合は、S16のピアノロール表示処理に進む。   Next, it is determined whether or not the value of tick has reached the end of the song (S23). When the end of the song has been reached (S23: Yes), it is changed to an imitation sound that fast-forwards the piano roll paper, and an imitation sound is generated when the fast-forwarding of the piano roll paper is stopped, and the timer interrupt is prohibited (S24). ). When the end of the song has not been reached (S23: No), or when the process of S24 is completed, the process proceeds to the piano roll display process of S16.

S21の判断処理において、フラグメモリ4aに記憶したフラグにより、現在、早送り中ではないと判断した場合は(S21:No)、現在、巻き戻しに設定されているので、tickの値から値BDを加算してtickの値を戻す(S31)。この値BDは、巻戻しの際に高速でピアノロール図を逆方向へスクロールするための値であって、例えば、1拍のtick数(96)などとする。   In the determination process of S21, if it is determined that fast-forwarding is not currently being performed based on the flag stored in the flag memory 4a (S21: No), the value BD is calculated from the value of tick because it is currently set to rewind. The value of tick is returned by addition (S31). This value BD is a value for scrolling the piano roll diagram in the reverse direction at a high speed during rewinding, and is, for example, the number of ticks per beat (96).

次に、tickの値が曲の初め(曲頭)に達したか否かを判断する(S32)。曲の初めに達した場合は(S32:Yes)、ピアノロール紙を巻戻しする擬音に変わり、ピアノロール紙の巻き戻しを停止した時の擬音を発生し、タイマ割り込みを禁止するように設定する(S33)。曲の初めに達していない場合(S32:No)、またはS33の処理を終了した場合は、S16のピアノロール表示処理に進む。   Next, it is determined whether or not the value of tick has reached the beginning of the song (the beginning of the song) (S32). If the beginning of the song is reached (S32: Yes), it is changed to a pseudo sound for rewinding the piano roll paper, and a pseudo sound is generated when the rewind of the piano roll paper is stopped, and the timer interrupt is set to be prohibited. (S33). If the beginning of the song has not been reached (S32: No), or if the process of S33 is terminated, the process proceeds to the piano roll display process of S16.

次に、図7および図8を参照して上記S16のピアノロール表示処理について説明する。図7は、ピアノロール表示処理を示すフローチャートである。このピアノロール表示処理では、現在のtickの値が、表示器6の縦方向の中央付近に位置するように表示され、表示される範囲を時刻t0からt1までの自動演奏情報とする。ここで、この処理において使用される変数について説明する。これらの変数は、RAM4に備えられた表示パラメータメモリに記憶される。
「time」は、描画を行う際の現在時刻を示し、
「wait」は、時刻timeから、次のイベントまでの時間であり、
map[n]は、ノートマップを表し、いずれかの鍵nが押下されていることを示すフラグである。また、「tempoD」は、表示を行う際に参照するテンポ値であり、テンポ値メモリ4bに記憶されるテンポ値とは、異なる。
Next, the piano roll display process of S16 will be described with reference to FIGS. FIG. 7 is a flowchart showing piano roll display processing. In this piano roll display process, the current tick value is displayed so as to be located near the center of the display 6 in the vertical direction, and the displayed range is the automatic performance information from time t0 to time t1. Here, variables used in this process will be described. These variables are stored in a display parameter memory provided in the RAM 4.
“Time” indicates the current time when drawing,
“Wait” is the time from the time time to the next event,
map [n] represents a note map and is a flag indicating that any key n is pressed. “TempoD” is a tempo value to be referred to when displaying, and is different from the tempo value stored in the tempo value memory 4b.

描画処理において、まず、時刻t0におけるテンポ値をtempoDに代入し、押鍵状態にある鍵に対応するフラグmap[n]に1を代入し、waitの値を求める(S41)。これらの値は、曲の先頭から順次、演奏情報について処理することにより得られるものであり、前回表示処理を行った際の時刻t0における各値を記憶しておいて、その状態から今回のt0までの変化を処理することにより得ることができる。   In the drawing process, first, the tempo value at time t0 is substituted into tempoD, and 1 is substituted into the flag map [n] corresponding to the key in the depressed state, thereby obtaining the value of wait (S41). These values are obtained by processing the performance information sequentially from the beginning of the song. Each value at the time t0 when the previous display process is performed is stored, and from this state, the current t0 is stored. Can be obtained by processing changes up to.

次に、timeを時刻t0とし(S42)、timeが時刻t1に達していないかを判断する(S43)。timeが時刻t1に達した場合は(S43:No)、全表示画面の描画を終了してことになるのでこの描画処理を終了し、timeが時刻t1に達していない場合は(S43:Yes)、dtをwaitと(t1−time)とのいずれか小さい値とし(S44)、map[n]が1である音高についての音符線を描画する(S45)。この音符線は、音高nについて、時間がtimeからtime+dtまでの線分である。   Next, time is set to time t0 (S42), and it is determined whether time has not reached time t1 (S43). When the time reaches the time t1 (S43: No), the drawing on the entire display screen is finished. Therefore, the drawing process is finished. When the time does not reach the time t1, the time (S43: Yes). , Dt is set to a smaller value of either wait or (t1-time) (S44), and a note line for a pitch whose map [n] is 1 is drawn (S45). This note line is a line segment from time to time + dt with respect to pitch n.

なお、この時間dtの間に、小節線を有する場合は、その小節線の時刻に対応する表示画面の時刻に、横線を描画する。   If there is a bar line during this time dt, a horizontal line is drawn at the time on the display screen corresponding to the bar line time.

次に、時間dtに対応する自動演奏情報を読み進める(S46)。この読み進める処理については、図8を参照して後述する。次に、現在時間timeをdtだけ進め(S47)、S43の処理に戻る。   Next, the automatic performance information corresponding to the time dt is read (S46). The process of proceeding with reading will be described later with reference to FIG. Next, the current time time is advanced by dt (S47), and the process returns to S43.

次に、図8を参照して、自動演奏情報を読み進める処理について説明する。図8は、自動演奏情報を読み進める処理を示すフローチャートである。   Next, with reference to FIG. 8, a process for reading the automatic performance information will be described. FIG. 8 is a flowchart showing a process of reading the automatic performance information.

この自動演奏情報を読み進める処理では、まず、変数waitをdtを引いた値にする(S51)。そのwaitの値が0より小さいか等しいかを判断し(S52)、waitの値が0より小さいか等しい場合は(S52:Yes)、自動演奏情報を読み進めて、次のイベントとそのイベントに対応して記憶されているdeltaとを得る(S53)。   In the process of reading the automatic performance information, first, the variable wait is set to a value obtained by subtracting dt (S51). It is determined whether the value of the wait is less than or equal to 0 (S52). If the value of the wait is less than or equal to 0 (S52: Yes), the automatic performance information is read and the next event and the event are read. The corresponding stored delta is obtained (S53).

次に、そのイベントの種類がテンポ値を示すものであるか否かを判断し(S54)、テンポ値を示すものである場合は(S54:Yes)、tempoDの値を、その値に書き換える(S55)。   Next, it is determined whether or not the event type indicates a tempo value (S54). If the event type indicates a tempo value (S54: Yes), the value of tempoD is rewritten to that value (S54: Yes). S55).

イベントの種類が、テンポ値を示すものではない場合は(S54:No)、イベントの種類がノートオンであるか否かを判断し(S56)、ノートオンである場合には(S56:Yes)、フラグmap[n]を1とする(S57)。   If the event type does not indicate a tempo value (S54: No), it is determined whether the event type is note-on (S56). If the event type is note-on (S56: Yes). The flag map [n] is set to 1 (S57).

イベントの種類が、ノートオンではない場合は(S56:No)、イベントの種類がノートオフであるか否かを判断し(S58)、ノートオフである場合には(S58:Yes)、フラグmap[n]を0とする(S59)。   If the event type is not note-on (S56: No), it is determined whether the event type is note-off (S58). If the event type is note-off (S58: Yes), the flag map is determined. [N] is set to 0 (S59).

イベントの種類がノートオフではない場合(S58:No)、または、S55、S57S59の処理を終了した場合は、waitの値を、wait+delta/tempoDとし(S60)、S52の処理に戻る。   When the event type is not note-off (S58: No), or when the processes of S55 and S57 and S59 are terminated, the value of wait is set to wait + delta / tempoD (S60), and the process returns to S52.

ここで、deltaの値をテンポ値で除算するので、ピアノロール図は、テンポ値が大きい場合は、時間軸が圧縮され、テンポ値が小さい場合は、時間軸が伸長されて表示される。従って、同じ音符長であっても、ピアノロール図として表示される図形の長さは、短くなり、逆にテンポの値が小さい場合は、図形の長さが長く表示される。   Here, since the value of delta is divided by the tempo value, the piano roll diagram is displayed with the time axis compressed when the tempo value is large, and with the time axis expanded when the tempo value is small. Therefore, even if the note length is the same, the length of the figure displayed as a piano roll diagram is shortened. Conversely, when the tempo value is small, the figure length is displayed longer.

S52の判断処理において、waitの値が正の値となった場合は、この自動演奏情報を読み進める処理を終了する。   If the wait value becomes a positive value in the determination process of S52, the process of reading the automatic performance information is terminated.

以上実施形態に基づいて説明したように、本発明によれば、ピアノロール図は、テンポの値に関係なく、一定の速度でスクロールされ、実際の自動ピアノなどのピアノロール紙を用いた装置の様子を忠実に再現することができる。   As described above based on the embodiment, according to the present invention, the piano roll diagram is scrolled at a constant speed regardless of the value of the tempo, and an apparatus using piano roll paper such as an actual automatic piano is used. The situation can be faithfully reproduced.

また、早送りや、巻き戻しを行う際にも、実際の自動ピアノなどのピアノロール紙が早送り、または、巻き戻しされる際の機械音などが模擬されるので、より忠実に自動ピアノなどのピアノロール紙を用いた装置を模擬することができる。   In addition, when fast-forwarding and rewinding, the actual machine roll sound of a piano roll paper such as an actual automatic piano is simulated so that a piano such as an automatic piano can be faithfully reproduced. A device using roll paper can be simulated.

なお、請求項記載の演奏テンポ設定手段および演奏テンポ設定ステップは、図8に記載のフローチャートのS55の処理が該当し、音符長さ設定手段および音符長さ設定ステップは、図7に記載のフローチャートのS45の処理が該当し、スクロール手段およびスクロールステップは、図6に示すフローチャートのS16の処理が該当し、自動演奏手段おおび自動演奏ステップは、図6に示すフローチャートのS15の処理が該当し、小節線設定手段および小節線設定ステップは、図7に示すフローチャートのS45の処理が該当し、表示位置設定手段および表示位置設定ステップは、図5に示すフローチャートのS6からS9の処理が該当する。   The performance tempo setting means and the performance tempo setting step described in the claims correspond to the processing of S55 of the flowchart shown in FIG. 8, and the note length setting means and the note length setting step are the flowchart shown in FIG. 6 corresponds to the process of S16 of the flowchart shown in FIG. 6, and the automatic performance means and the automatic performance step correspond to the process of S15 of the flowchart shown in FIG. The measure line setting means and the measure line setting step correspond to the process of S45 in the flowchart shown in FIG. 7, and the display position setting means and the display position setting step correspond to the processes of S6 to S9 in the flowchart shown in FIG. .

以上、実施形態に基づき本発明を説明したが、本発明は上記実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。   As described above, the present invention has been described based on the embodiments, but the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. It can be guessed.

例えば、上記実施形態では、鍵盤9等を有する電子楽器に組み込まれたピアノロール表示装置1に本発明が適用されるものとしたが、パーソナルコンピュータにおいて、液晶などの表示装置にピアノロールを表示するようにしてもよい。   For example, in the above embodiment, the present invention is applied to the piano roll display device 1 incorporated in an electronic musical instrument having the keyboard 9 or the like. However, in a personal computer, the piano roll is displayed on a display device such as a liquid crystal display. You may do it.

また、上記実施形態では、自動演奏情報に基づいて、自動演奏が行われるとともに、その自動演奏情報に基づいてピアノロールを表示するものとしたが、自動演奏情報に従ってピアノロール形式により演奏指示を行い、伴奏パートの自動演奏情報に従って伴奏パートの自動演奏を行うようにしてもよい。この場合は、伴奏パートの進行に同期してピアノロール表示が行われる。   In the above embodiment, the automatic performance is performed based on the automatic performance information and the piano roll is displayed based on the automatic performance information. However, the performance instruction is performed in the piano roll format according to the automatic performance information. The accompaniment part may be automatically played according to the accompaniment part automatic performance information. In this case, the piano roll display is performed in synchronization with the progress of the accompaniment part.

また、上記実施形態では、テンポの値は、自動演奏情報に時間経過に従って記憶されているものとしたが、操作パネルにテンポの値を任意に設定する操作子を備え、その操作子の操作に応じてテンポ値を設定するようにしてもよい。   In the above embodiment, the tempo value is stored in the automatic performance information as time elapses. However, the operation panel is provided with an operation element for arbitrarily setting the tempo value, and the operation element is operated. The tempo value may be set accordingly.

また、上記実施形態では、タイマ割り込みの発生に応じて、自動演奏の楽音の発生や停止を行うとともに、ピアノロールの表示を更新するものとしたが、表示の更新の頻度を低く(例えば、30msec毎)してもよい。   In the above embodiment, in response to the occurrence of a timer interruption, the musical tone of automatic performance is generated or stopped and the display of the piano roll is updated. However, the display update frequency is low (for example, 30 msec). Every).

また、上記実施形態では、ピアノロール図は、演奏の進行に従って下から上にスクロールするものとしたが、逆に上から下にスクロールするようにしたり、横方向へスクロールするようにしてもよい。また、図9(a)に示すように、立体的な表示として、ピアノロール紙が、手前から奥の方へ搬送されるような表示としてもよい。   In the above embodiment, the piano roll diagram is scrolled from the bottom to the top as the performance progresses. However, the piano roll diagram may be scrolled from the top to the bottom or may be scrolled horizontally. Moreover, as shown to Fig.9 (a), it is good also as a display as which a piano roll paper is conveyed toward the back from this side as a three-dimensional display.

また、上記実施形態では、鍵を押下している部分を示す音符線は、同一の太さの線分としたが、図9(b)に示すように、音量に応じて太さを変えたり、楽音の音量に応じてグレイスケールを変えるなどの表示を行っても良い。図9(b)では、オルガンの場合には、音量により太さを変え、ピアノの場合には、押鍵直後は、濃い黒で表示し、音量が次第に小さくなるのを模擬して、次第に薄くなるように表示している。また、図9(b)最下列に示すように、鍵を押下する位置に正方形を図示し、その正方形の大きさにより、押鍵速度の大きさを表すようにしてもよい。   In the above embodiment, the musical note line indicating the portion where the key is pressed is the same thickness, but the thickness may be changed according to the volume as shown in FIG. 9B. In addition, display such as changing the gray scale according to the volume of the musical sound may be performed. In FIG. 9B, in the case of an organ, the thickness is changed depending on the volume, and in the case of a piano, immediately after the key is pressed, the display is dark black, and the volume gradually decreases, simulating that the volume gradually decreases. It is displayed as follows. Further, as shown in the bottom row of FIG. 9B, a square may be shown at the position where the key is pressed, and the size of the key may be expressed by the size of the square.

本発明の実施形態におけるピアノロール表示装置の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the piano roll display apparatus in embodiment of this invention. 操作子とピアノロール図が表示される表示画面とを有するピアノロール表示装置の操作パネルを示すパネル図である。It is a panel figure which shows the operation panel of the piano roll display apparatus which has an operation element and the display screen on which a piano roll figure is displayed. 自動演奏情報を示すテーブルである。It is a table which shows automatic performance information. (a)は、巻き戻しを行っている場合に表示されるピアノロール図であり、(b)は、ピアノロールの曲頭を示す図である。(A) is a piano roll figure displayed when rewinding is performed, and (b) is a figure which shows the beginning of the music of a piano roll. メイン処理を示すフローチャートである。It is a flowchart which shows a main process. タイマ割り込み処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. 描画処理を示すフローチャートである。It is a flowchart which shows a drawing process. 描画処理において、自動演奏情報を読み進める処理を示すフローチャートである。It is a flowchart which shows the process which advances automatic performance information in a drawing process. ピアノロール図の変形例を示す図である。It is a figure which shows the modification of a piano roll figure.

符号の説明Explanation of symbols

1 ピアノロール表示装置
2 CPU
3 ROM
3a 制御プログラム(ピアノロール表示プログラム)
4 RAM
6 表示器
7 音源(擬音発生手段)
8 フラッシュメモリ(自動演奏情報記憶手段)
1 Piano roll display device 2 CPU
3 ROM
3a Control program (piano roll display program)
4 RAM
6 Display 7 Sound source (mock sound generation means)
8 Flash memory (automatic performance information storage means)

Claims (2)

自動演奏情報を記憶する自動演奏情報記憶手段と、その自動演奏情報記憶手段に記憶された自動演奏情報に基づいて音符に対応する図形を表示する表示画面とを備えたピアノロール表示装置において、
演奏テンポを設定する演奏テンポ設定手段と、
前記演奏テンポ設定手段により設定された演奏テンポに応じて前記表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、
前記表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段と
前記表示画面に表示される楽譜の表示位置を任意に設定する表示位置設定手段とを備え
前記スクロール手段は、前記表示位置設定手段により設定された楽譜の表示位置まで前記一定速度より速い速度で表示画面をスクロールすることを特徴とするピアノロール表示装置。
In a piano roll display device comprising an automatic performance information storage means for storing automatic performance information, and a display screen for displaying a graphic corresponding to a note based on the automatic performance information stored in the automatic performance information storage means,
A performance tempo setting means for setting a performance tempo;
Note length setting means for setting the length of a figure corresponding to the length of the note displayed on the display screen according to the performance tempo set by the performance tempo setting means;
Scroll means for scrolling the display screen at a constant speed regardless of the performance tempo ;
Display position setting means for arbitrarily setting the display position of the score displayed on the display screen ,
The piano roll display device characterized in that the scroll means scrolls the display screen at a speed faster than the constant speed to the score display position set by the display position setting means .
自動演奏情報を記憶する自動演奏情報記憶手段と、その自動演奏情報記憶手段に記憶された自動演奏情報に基づいて音符に対応する図形を表示する表示画面とを備えたピアノロール表示装置において、In a piano roll display device comprising an automatic performance information storage means for storing automatic performance information, and a display screen for displaying a graphic corresponding to a note based on the automatic performance information stored in the automatic performance information storage means,
演奏テンポを設定する演奏テンポ設定手段と、A performance tempo setting means for setting a performance tempo;
前記演奏テンポ設定手段により設定された演奏テンポに応じて前記表示画面に表示される音符の長さに対応する図形の長さを設定する音符長さ設定手段と、Note length setting means for setting the length of a figure corresponding to the length of the note displayed on the display screen according to the performance tempo set by the performance tempo setting means;
前記表示画面を演奏テンポに関わらず一定速度でスクロールするスクロール手段と、Scroll means for scrolling the display screen at a constant speed regardless of the performance tempo;
前記スクロール手段が前記一定速度より速い速度で表示画面をスクロールする場合に擬音を発生する擬音発生手段とを備えていることを特徴とするピアノロール表示装置。A piano roll display device comprising: an onomatopoeia generating means for generating onomatopoeia when the scroll means scrolls the display screen at a speed faster than the constant speed.
JP2006107052A 2006-04-10 2006-04-10 Piano roll display device and piano roll display program Expired - Fee Related JP4628298B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006107052A JP4628298B2 (en) 2006-04-10 2006-04-10 Piano roll display device and piano roll display program
US11/784,775 US7767898B2 (en) 2006-04-10 2007-04-06 Display equipment and display program for electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006107052A JP4628298B2 (en) 2006-04-10 2006-04-10 Piano roll display device and piano roll display program

Publications (3)

Publication Number Publication Date
JP2007279470A JP2007279470A (en) 2007-10-25
JP2007279470A5 JP2007279470A5 (en) 2009-05-21
JP4628298B2 true JP4628298B2 (en) 2011-02-09

Family

ID=38680971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006107052A Expired - Fee Related JP4628298B2 (en) 2006-04-10 2006-04-10 Piano roll display device and piano roll display program

Country Status (1)

Country Link
JP (1) JP4628298B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5509536B2 (en) * 2008-04-15 2014-06-04 ヤマハ株式会社 Audio data processing apparatus and program
JP5779838B2 (en) * 2010-03-29 2015-09-16 ヤマハ株式会社 Sound processing apparatus and program
FR3008218A1 (en) * 2013-07-02 2015-01-09 Serge Marc Ducourant "BOX OF SOUNDS" OPTICAL INTERACTIVE ITS ASSOCIATED SOLFEGE AND ITS SOCIAL NETWORK
JP6036903B2 (en) * 2015-04-06 2016-11-30 ヤマハ株式会社 Display control apparatus and display control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305171A (en) * 1996-05-17 1997-11-28 Yamaha Corp Playing idnication device
JP2001051586A (en) * 1996-05-17 2001-02-23 Yamaha Corp Performance instructing device
JP2001086321A (en) * 1999-09-17 2001-03-30 Olympus Optical Co Ltd Image processor and printer
JP2002372967A (en) * 2001-06-14 2002-12-26 Yamaha Corp Device for guiding keyboard playing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305171A (en) * 1996-05-17 1997-11-28 Yamaha Corp Playing idnication device
JP2001051586A (en) * 1996-05-17 2001-02-23 Yamaha Corp Performance instructing device
JP2001086321A (en) * 1999-09-17 2001-03-30 Olympus Optical Co Ltd Image processor and printer
JP2002372967A (en) * 2001-06-14 2002-12-26 Yamaha Corp Device for guiding keyboard playing

Also Published As

Publication number Publication date
JP2007279470A (en) 2007-10-25

Similar Documents

Publication Publication Date Title
JP2003302984A (en) Lyric display method, lyric display program and lyric display device
JP2011158854A (en) Electronic musical instrument and musical tone generation program
US7767898B2 (en) Display equipment and display program for electronic musical instruments
JP4628298B2 (en) Piano roll display device and piano roll display program
US6538188B2 (en) Electronic musical instrument with display function
JP4692189B2 (en) Ensemble system
JP2011209654A (en) Voice input evaluation system, method of controlling voice input evaluation system, and program
JP2009031549A (en) Melody display control device and karaoke device
JP2631722B2 (en) Automatic performance device
JP4684168B2 (en) Keyboard display device and keyboard display program
JP4376169B2 (en) Automatic accompaniment device
JP4056902B2 (en) Automatic performance apparatus and automatic performance method
JP3717651B2 (en) Lyric display device, computer-readable recording medium applied to the device, and lyrics display method
JP5164401B2 (en) Automatic performance device and automatic performance program
JP5692275B2 (en) Electronic musical instruments
JP4735969B2 (en) Accompaniment display device and program
WO2021100743A1 (en) Sound production control device, keyboard instrument, sound production control method, and program
JP5399831B2 (en) Music game system, computer program thereof, and method of generating sound effect data
JP2010117419A (en) Electronic musical instrument
JP4402853B2 (en) Performance data generation method and electronic keyboard instrument
JP4241833B2 (en) Automatic performance device and program
JP2009037022A (en) Electronic musical instrument
JP4942938B2 (en) Automatic accompaniment device
JPS6321040Y2 (en)
JP2006047646A (en) Automatic performance system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090402

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101012

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101109

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees