Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4774997B2 - Music editing device and program for music editing processing - Google Patents
[go: Go Back, main page]

JP4774997B2 - Music editing device and program for music editing processing - Google Patents

Music editing device and program for music editing processing Download PDF

Info

Publication number
JP4774997B2
JP4774997B2 JP2006007040A JP2006007040A JP4774997B2 JP 4774997 B2 JP4774997 B2 JP 4774997B2 JP 2006007040 A JP2006007040 A JP 2006007040A JP 2006007040 A JP2006007040 A JP 2006007040A JP 4774997 B2 JP4774997 B2 JP 4774997B2
Authority
JP
Japan
Prior art keywords
data
note
start timing
graph
event
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
JP2006007040A
Other languages
Japanese (ja)
Other versions
JP2007187950A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2006007040A priority Critical patent/JP4774997B2/en
Publication of JP2007187950A publication Critical patent/JP2007187950A/en
Application granted granted Critical
Publication of JP4774997B2 publication Critical patent/JP4774997B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Auxiliary Devices For Music (AREA)

Description

本発明は、楽音編集装置および楽音編集処理のプログラムに関し、特に、曲のイベントデータを表示装置に表示する楽音編集装置および楽音編集処理のプログラムに関するものである。   The present invention relates to a musical sound editing apparatus and a musical sound editing process program, and more particularly to a musical sound editing apparatus and a musical sound editing process program for displaying event data of a song on a display device.

曲のイベントデータの音符情報をLCDなどの表示装置に表示する電子鍵盤楽器が広く知られている。例えば、ある提案の演奏情報分析装置によれば、メロディ等の演奏情報を分析して楽譜情報を作成し、音符長情報に基づいて所定の条件に適合した拍子および小節線位置を自動的に選択するようになっている。このために、1音毎に音高情報と発音タイミングとを供給する供給手段と、この供給手段から供給される順次の発音タイミング情報に基づいて1音毎に次音までの時間間隔に対応した音符長情報を作成する作成手段と、この作成手段からの音符長情報に基づいて異なる拍子および異なる小節線位置のうち所定の条件に適合した拍子および小節線位置を選択する選択手段とを備えた構成になっている。(特許文献1参照)   2. Description of the Related Art An electronic keyboard instrument that displays musical note information of music event data on a display device such as an LCD is widely known. For example, according to a proposed performance information analysis apparatus, musical score information is generated by analyzing performance information such as a melody, and time signature and bar line positions that meet a predetermined condition are automatically selected based on note length information. It is supposed to be. For this reason, a supply means for supplying pitch information and sound generation timing for each sound, and a time interval to the next sound for each sound based on sequential sound generation timing information supplied from the supply means. Creation means for creating note length information, and selection means for selecting a time signature and bar line position that meet a predetermined condition among different time signatures and different bar line positions based on the note length information from the creation means. It is configured. (See Patent Document 1)

一般に、曲の演奏においては、演奏するフレーズの各音の発音開始タイミングの相関関係は非常に重要である。例えば、16分音符の連打が続いている箇所の演奏において、各音符に対してほぼ一定の時間間隔で演奏されない場合には、いわゆる「もたった」演奏になり、テンポが変動して聴く人に不快感を与えることになる。一方、楽譜通りの極めて正確な時間間隔で演奏された場合には、無味乾燥で機械的な演奏になってしまい、メロディの魅力をさらに昂揚させるテンポの細かい揺らぎやリズミカルな乗りの良さを表現することができない。豊かな演奏技術の向上を図る方法として、ある程度の法則のようなものはある。例えば、付点8分音符の後に16分音符が続くような付点リズムの演奏では、しばしば16分音符が短めに演奏される。このような演奏はリズムが躍動的になり、生き生きとした音楽を実現することができる。一方、同じリズムでも非常に急速な曲の場合には、逆に16分音符を長めに、付点4分音符を短めに演奏することがある。これは16分音符を楽譜通りの音長で演奏すると短すぎて聴き取り難いので、意図的に長めに演奏するからである。ところが、演奏技術が未熟なために、同じように16分音符が長めになり、付点4分音符が短めになる場合もある。したがって、演奏者の技量が高い場合には、テンポの細かい揺らぎやリズミカルな乗りの良さを表現ために、演奏する各音の発音開始タイミングを客観的に認識することが望まれている。また、演奏者の技量が低い場合や演奏者のひとりよがりでテンポが変動するのを改善するためにも、演奏する各音の発音開始タイミングを客観的に認識して、テンポの細かい揺らぎやリズミカルな乗りの良さを表現できるような豊かな演奏技術の向上を図る方法が望まれている。従来の技術においては、発音開始タイミングを客観的に認識する方法として、演奏データを記録して再生し、耳で聴いて認識する方法、および、シーケンサなどの表示機能によって演奏データをグラフィック表示する方法が採られている。   In general, in the performance of a song, the correlation between the pronunciation start timings of the sounds of the phrase to be played is very important. For example, in a performance where a sixteenth note continues to be played, if each note is not played at a substantially constant time interval, it becomes a so-called “must” performance, and the tempo changes to a listener who listens. It will be uncomfortable. On the other hand, when played at extremely precise time intervals as shown in the score, it becomes a dry and mechanical performance, expressing the fine fluctuations of tempo and the good rhythmic ride that further enhances the appeal of the melody. I can't. There are some rules that can be used to improve abundant performance techniques. For example, in the performance of a dotted rhythm in which a sixteenth note follows a dotted eighth note, the sixteenth note is often played short. Such a performance has a dynamic rhythm and can realize lively music. On the other hand, in the case of a very rapid song with the same rhythm, a 16th note may be played longer and a dotted quarter note may be played shorter. This is because playing a sixteenth note with a musical note length is too short and difficult to hear, so it is intentionally performed longer. However, since the performance technique is immature, the 16th note may be longer and the dotted quarter note may be shorter. Therefore, when the skill of the performer is high, it is desired to objectively recognize the sound generation start timing of each sound to be played in order to express fine fluctuations in tempo and good rhythmic riding. Also, in order to improve the tempo fluctuations when the performer's skill is low or when the performer is swayed by one of the performers, the start timing of each sound to be played is objectively recognized, and fine tempo fluctuations and rhythmical There is a demand for a method of improving abundant performance techniques that can express the good ride quality. In the prior art, as a method for objectively recognizing the sound generation start timing, a method for recording and reproducing performance data and listening to it by ear recognition, and a method for graphically displaying performance data by a display function such as a sequencer Has been adopted.

特開平7−129158号公報JP 7-129158 A

しかしながら、記録した演奏データを再生して耳で聴いて認識する方法の場合には、相当に高い音楽的なレベルを必要とする上、発音開始タイミングを定量的に認識して、演奏技術の向上を図ることは困難である。一方、演奏データをグラフィック表示する方法の場合には、例えば、グラフの横軸を時間とし縦軸を音高として表示するか、あるいは、グラフの横軸に発音開始時間および音長を表示し、縦軸に音高を表示するようになっているので、任意の演奏データの発音開始タイミングと次の演奏データの発音開始タイミングとの時間差を表示するものではない。このため、発音開始タイミングを定量的に認識して、演奏技術の向上を図ることは困難である。また、上記提案の演奏情報分析装置の場合も、演奏データを分析して音符情報に変換して表示するものであり、発音開始タイミングを定量的に認識することは困難である。
本発明は、このような従来の課題を解決するためのものであり、演奏データの発音開始タイミングを定量的かつ視覚的に認識して、その認識された発音開始タイミングに基づいて演奏技術の向上を図るようにすることを目的とする。
However, in the case of a method in which the recorded performance data is reproduced and listened to and recognized by the ear, a considerably high musical level is required, and the sound generation start timing is quantitatively recognized to improve the performance technique. It is difficult to plan. On the other hand, in the case of a method of displaying performance data graphically, for example, the horizontal axis of the graph is displayed as time and the vertical axis is displayed as pitch, or the horizontal axis of the graph is displayed as the pronunciation start time and the sound length, Since the pitch is displayed on the vertical axis, the time difference between the sounding start timing of arbitrary performance data and the sounding start timing of the next performance data is not displayed. For this reason, it is difficult to improve the performance technique by quantitatively recognizing the sound generation start timing. The proposed performance information analyzing apparatus also analyzes performance data, converts it into note information, and displays it, so that it is difficult to quantitatively recognize the pronunciation start timing.
The present invention is for solving such a conventional problem, and quantitatively and visually recognizing the sounding start timing of performance data, and improving the performance technique based on the recognized sounding start timing. It aims at trying to plan.

請求項1に記載の楽音編集装置は、演奏(実施形態においては、図1の鍵盤110の演奏に相当する)に応じて記憶手段(実施形態においては、図2のRAM4のソングメモリに相当する)に記憶された曲のイベントデータを読み出して、当該イベントデータにおける任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差をグラフィックデータに変換して表示手段(実施形態においては、図1の表示部101に相当する)にグラフを表示するデータ読出手段と、表示手段に表示されたグラフの時間差に対する修正の操作がされたときは、当該修正に応じてグラフィックデータを変更するデータ変更手段(実施形態においては、図2のCPU1に相当する)と、データ変更手段によって変更されたグラフィックデータに応じて、前記イベントデータを修正して記憶手段に書き込むデータ書込手段(実施形態においては、図2のCPU1に相当する)と、を備えた構成になっている。 The musical tone editing apparatus according to claim 1 corresponds to the song memory of the RAM 4 in FIG. 2 according to the performance (in the embodiment, this corresponds to the performance of the keyboard 110 in FIG. 1). ) Is stored in the event data, and the time difference between the start timing of any note-on data in the event data and the start timing of the next note-on data is converted into graphic data and displayed. In the embodiment, when an operation for correcting a time difference between the graph displayed on the display unit and the data reading unit that displays the graph on the display unit 101 in FIG. 1 is performed, the graphic data is displayed according to the correction. Is changed by data changing means (in the embodiment, corresponding to CPU 1 in FIG. 2) and data changing means. The according to the graphic data, the data writing means for writing in the storage means to correct the said event data (in embodiments, corresponding to the CPU1 in Figure 2) has a configuration which includes a, a.

請求項1の楽音編集装置において、請求項2に記載したように、データ読出手段は、記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間以内である場合には、当該後のノートオンデータを当該任意のノートオンデータに併合して1つのノートオンデータとして、当該1つのイベントデータをグラフィックデータに変換するような構成にしてもよい。   2. The musical sound editing apparatus according to claim 1, wherein the data reading means starts the sound generation of the note-on data after the sounding start timing of any note-on data in the event data read from the storage means. When the time difference from the timing is within a predetermined time, the subsequent note-on data is merged with the arbitrary note-on data as one note-on data, and the one event data is converted into graphic data. Any configuration may be used.

請求項1の楽音編集装置において、請求項に記載したように、データ読出手段は、記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を棒グラフの棒の高さで表すように、当該イベントデータをグラフィックデータに変換するような構成にしてもよい。 In musical sound editing apparatus according to claim 1, as described in claim 3, the data reading means, in the event data read out from the storage means, the start of sounding of the next note-on data from the sounding start timing of any note-on data The event data may be converted into graphic data so that the time difference from the timing is represented by the height of the bar of the bar graph.

請求項に記載の楽音編集処理のプログラムは、演奏(実施形態においては、図1の鍵盤110の演奏に相当する)に応じて記憶手段(実施形態においては、図2のRAM4のソングメモリに相当する)に記憶された曲のイベントデータを読み出して、当該イベントデータにおける任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差をグラフィックデータに変換して表示手段(実施形態においては、図1の表示部101に相当する)にグラフを表示するステップAと、表示手段に表示されたグラフの時間差に対する修正の操作がされたときは、当該修正に応じてグラフィックデータを変更するステップBと、ステップBによって変更されたグラフィックデータに応じて、前記イベントデータを修正して記憶手段に書き込むステップCと、をコンピュータ(実施形態においては、図2のCPU1に相当する)に実行させる構成になっている。 The program for musical tone editing processing according to claim 4 is stored in the song memory of the RAM 4 in FIG. 2 according to the performance (in the embodiment, corresponding to the performance of the keyboard 110 in FIG. 1). Means for reading the event data of the music stored in the corresponding event data, converting the time difference between the sounding start timing of any note-on data in the event data to the sounding start timing of the next note-on data into graphic data, and displaying the data When the operation for correcting the time difference between the step A for displaying the graph on the display unit (in the embodiment, corresponding to the display unit 101 in FIG. 1) and the time displayed on the display means is performed, a graphic is displayed according to the correction. a step B to change the data, in accordance with the graphic data changed in step B, the event data A step C of writing in the memory means to modify the data, the computer (in embodiments, corresponds to CPU1 in Figure 2) has a configuration to be executed in.

請求項に記載の楽音編集処理のプログラムにおいて、請求項に記載したように、ステップAは、記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間以内である場合には、当該後のノートオンデータを当該任意のノートオンデータに併合して1つのノートオンデータとして、当該1つのイベントデータをグラフィックデータに変換するような構成にしてもよい。 5. A program for musical tone editing processing according to claim 4 , wherein, as described in claim 5 , in step A, in the event data read out from the storage means, note-on data after the start timing of any note-on data is recorded. If the time difference from the sound generation start timing is within a predetermined time, the subsequent note-on data is merged with the arbitrary note-on data as one note-on data, and the one event data is converted into graphic data. You may make it the structure which converts.

請求項に記載の楽音編集処理のプログラムにおいて、請求項に記載したように、ステップAは、記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を棒グラフの棒の高さで表すように、当該イベントデータをグラフィックデータに変換するような構成にしてもよい。 The program tone editing process according to claim 4, as described in claim 6, Step A, in the event data read out from the storage means, the next note-on data from the sounding start timing of any note-on data The event data may be converted into graphic data so that the time difference from the sound generation start timing is represented by the bar height of the bar graph.

本発明の楽音編集装置および楽音編集処理のプログラムによれば、演奏データの発音開始タイミングを定量的かつ視覚的に認識して、その認識された発音開始タイミングに基づいて演奏技術の向上を図ることができるという効果が得られる。   According to the musical sound editing apparatus and the musical sound editing processing program of the present invention, the sound generation start timing of performance data is quantitatively and visually recognized, and the performance technique is improved based on the recognized sound generation start timing. The effect of being able to be obtained.

以下、本発明の楽音編集装置の実施形態について電子鍵盤楽器を例に採って、図面を参照しながら詳細に説明する。
図1は、実施形態における電子鍵盤楽器の外観を示す平面図である。図1において、表示部1は、演奏前の初期画面としてメインメニューを表示し、演奏者のモード設定操作に応じて、通常演奏モード、登録演奏モード、表示モード、又は再生モードを選択することができる。演奏が開始した後は、設定されたモードに応じた内容を表示する。表示部101の下側には複数のキースイッチからなるスイッチ部が設けられている。すなわち、図に示すように、左移動(「L」)キー102、右移動(「R」)キー103、アップ(「+」)キー104、ダウン(「−」)キー105、シフトキー106、決定キー107、モードキー108、およびスタート/ストップキー109、および図示しない音色キー、音量キーなどが設けられている。スタートキーとストップキーは共通のキースイッチであり、オン操作ごとに状態が反転するトグルスイッチである。その他の各キーの機能については後述する。鍵盤110は、演奏に応じて鍵番号に対応する音高、押鍵時間に対応する音長、押鍵の強さに対応するベロシティを入力する。2つのスピーカ111は内部で生成された楽音信号を発音する。
Hereinafter, an embodiment of a musical sound editing apparatus of the present invention will be described in detail with reference to the drawings, taking an electronic keyboard instrument as an example.
FIG. 1 is a plan view showing an appearance of an electronic keyboard instrument in the embodiment. In FIG. 1, the display unit 1 displays a main menu as an initial screen before performance, and can select a normal performance mode, a registered performance mode, a display mode, or a playback mode in accordance with the player's mode setting operation. it can. After the performance starts, the contents corresponding to the set mode are displayed. A switch unit including a plurality of key switches is provided below the display unit 101. That is, as shown in the figure, left shift (“L”) key 102, right shift (“R”) key 103, up (“+”) key 104, down (“−”) key 105, shift key 106, and enter. A key 107, a mode key 108, a start / stop key 109, a tone color key, a volume key, and the like (not shown) are provided. The start key and the stop key are common key switches, and are toggle switches whose state is reversed every time an ON operation is performed. The functions of other keys will be described later. The keyboard 110 inputs a pitch corresponding to the key number, a tone length corresponding to the key pressing time, and a velocity corresponding to the key pressing strength according to the performance. The two speakers 111 generate a tone signal generated inside.

図2は、図1の電子鍵盤楽器のシステム構成を示すブロック図である。図2において、CPU1は、システムバス2を介して、ROM3、RAM4、表示制御部5、鍵盤検出部6、スイッチ検出部7、音源部8に接続され、これら各部との間でコマンドおよびデータの授受を行って全体を制御する。ROM3は、CPU1によって実行される楽音編集処理のプログラムなどの制御プログラム、および、初期データなどを予め記憶している。RAM4は、CPU1によって処理されるデータを一時的に記憶するワークエリアであり、演奏データを記憶するためのソングメモリ、各種のレジスタ、フラグ、ポインタのエリアが設けられている。表示制御部5は、VRAM、映像増幅回路、駆動回路などを備え、CPU1から供給される画像データをVRAMにおいてフレーム画像データに展開して、表示部101の画面に表示する。鍵盤検出部6は、鍵盤110の押鍵の演奏に応じてノートオンデータ、音高、音長、ベロシティ、又は、離鍵の演奏に応じてノートオフイベント、音高をCPU1に入力する。スイッチ検出部7は、各スイッチのオン又はオフを検出してCPU1に入力する。音源部8は、各楽器の音色に対応する波形データを記憶している波形ROMを備え、CPU1の発音指令(ノートオンデータ)、音高、音長、ベロシティに応じて、波形ROMから読み出した波形データを元に楽音信号を生成してサウンドシステム9に出力し、CPU1の消音指令(ノートオフイベント)、音高に応じて、サウンドシステム9の出力を停止する。サウンドシステム9は、D/A変換回路、フィルタ回路、増幅回路などを備え、音源部8から入力される楽音信号に対してデジタルからアナログに変換する処理、不要な高域成分を除去するフィルタ処理、増幅処理などを施して、図1の2つのスピーカ111から発音させる。   FIG. 2 is a block diagram showing a system configuration of the electronic keyboard instrument of FIG. In FIG. 2, a CPU 1 is connected to a ROM 3, a RAM 4, a display control unit 5, a keyboard detection unit 6, a switch detection unit 7, and a sound source unit 8 via a system bus 2, and commands and data are exchanged between these units. Send and receive and control the whole. The ROM 3 stores in advance a control program such as a musical sound editing process program executed by the CPU 1 and initial data. The RAM 4 is a work area for temporarily storing data processed by the CPU 1, and is provided with a song memory, various registers, flags, and pointer areas for storing performance data. The display control unit 5 includes a VRAM, a video amplification circuit, a drive circuit, and the like, develops image data supplied from the CPU 1 into frame image data in the VRAM, and displays the frame image data on the screen of the display unit 101. The keyboard detection unit 6 inputs note-on data, pitch, pitch, velocity, or note-off event and pitch according to the performance of the key release to the CPU 1 according to the key-press performance of the keyboard 110. The switch detection unit 7 detects the on or off of each switch and inputs it to the CPU 1. The sound source unit 8 includes a waveform ROM that stores waveform data corresponding to the tone color of each musical instrument, and is read from the waveform ROM according to the sound generation command (note-on data), pitch, tone length, and velocity of the CPU 1. Based on the waveform data, a musical sound signal is generated and output to the sound system 9, and the output of the sound system 9 is stopped according to the mute command (note-off event) and pitch of the CPU 1. The sound system 9 includes a D / A conversion circuit, a filter circuit, an amplification circuit, and the like, a process for converting a musical sound signal input from the sound source unit 8 from digital to analog, and a filter process for removing unnecessary high-frequency components. Then, an amplification process is performed, and the two speakers 111 in FIG.

次に、この実施形態における電子鍵盤楽器の動作について、図3ないし図13に示すCPU1のフローチャート、図14ないし図18に示す表示部101の画面、RAM4のデータ構成などを参照しながら説明する。
図3は、CPU1のメインルーチンのフローチャートである。所定のイニシャライズ(ステップSA1)の後、現在のモードを示すレジスタMODEの値に応じた処理を実行する。MODEの値は、図1のモードキー108のオン操作に応じて、「0」→「1」→「2」→「3」→「0」…とサイクリックに変更される。まず、MODEが0であるか否かを判別し(ステップSA2)、MODEが0の場合には通常演奏処理を行う(ステップSA3)。通常演奏処理では、鍵盤101の演奏に応じて鍵盤検出部6から入力されたノートオン又はノートオフのイベントデータ、音高、音長、ベロシティを音源部8に出力してスピーカ111から発音させる。
Next, the operation of the electronic keyboard instrument in this embodiment will be described with reference to the flowchart of the CPU 1 shown in FIGS. 3 to 13, the screen of the display unit 101 shown in FIGS. 14 to 18, the data configuration of the RAM 4, and the like.
FIG. 3 is a flowchart of the main routine of the CPU 1. After predetermined initialization (step SA1), processing corresponding to the value of the register MODE indicating the current mode is executed. The value of MODE is cyclically changed from “0” → “1” → “2” → “3” → “0”... According to the ON operation of the mode key 108 in FIG. First, it is determined whether or not MODE is 0 (step SA2). If MODE is 0, normal performance processing is performed (step SA3). In the normal performance process, note-on or note-off event data, pitch, tone length, and velocity input from the keyboard detection unit 6 according to the performance of the keyboard 101 are output to the sound source unit 8 and sounded from the speaker 111.

MODEが0でない場合には、MODEが1であるか否かを判別し(ステップSA4)、MODEが1の場合には、登録処理を実行する(ステップSA5)。MODEが1でない場合には、MODEが2であるか否かを判別し(ステップSA6)、MODEが2である場合には、表示処理を実行する(ステップSA7)。MODEが2でない場合には、MODEが3であるか否かを判別し(ステップSA8)、MODEが3である場合には、再生処理を実行する(ステップSA9)。   If MODE is not 0, it is determined whether MODE is 1 (step SA4). If MODE is 1, registration processing is executed (step SA5). If MODE is not 1, it is determined whether or not MODE is 2 (step SA6). If MODE is 2, display processing is executed (step SA7). If MODE is not 2, it is determined whether MODE is 3 (step SA8). If MODE is 3, playback processing is executed (step SA9).

ステップSA3の通常演奏処理の後、ステップSA5の登録処理の後、ステップSA7の表示処理の後、又は、ステップSA9の再生処理の後は、MODE変更がされたか否かを判別する(ステップSA10)。MODE変更がされない場合には現在のモードの処理を継続するが、MODE変更がされたときは、変更値をMODEにストアする(ステップSA11)。そして、変更されたMODEに対応する処理を実行する。   After the normal performance process in step SA3, after the registration process in step SA5, after the display process in step SA7, or after the reproduction process in step SA9, it is determined whether or not the MODE has been changed (step SA10). . If the MODE is not changed, the processing in the current mode is continued. If the MODE is changed, the changed value is stored in the MODE (step SA11). Then, processing corresponding to the changed MODE is executed.

図4は、メインルーチンにおけるステップSA5の登録処理のフローチャートである。スタートキースイッチ109がオンされたか否かを判別し(ステップSB1)、このキーがオンされたときは、フラグSTFを1(登録)にセットし、演奏データを登録するRAM4のソングメモリのアドレスを示すポインタNを1(先頭アドレス)にセットする(ステップSB2)。また、タイムレジスタTを0にクリアする(ステップSB3)。この後、タイマインタラプトの禁止を解除する(ステップSB4)。タイマインタラプトの禁止解除により、一定時間が経過するたびにタイムレジスタTの値がインクリメントされる。すなわち、経過時間がTにストアされる。   FIG. 4 is a flowchart of the registration process in step SA5 in the main routine. It is determined whether or not the start key switch 109 is turned on (step SB1). When this key is turned on, the flag STF is set to 1 (registration), and the address of the song memory in the RAM 4 for registering performance data is set. The pointer N shown is set to 1 (start address) (step SB2). Further, the time register T is cleared to 0 (step SB3). Thereafter, the prohibition of the timer interrupt is canceled (step SB4). By canceling the prohibition of the timer interrupt, the value of the time register T is incremented every time a fixed time elapses. That is, the elapsed time is stored in T.

この後は、STFが1であるか否かを判別する(ステップSB5)。STFが1の場合には、鍵盤検出部6によって鍵盤101の鍵変化を判別する(ステップSB6)。演奏が行われず鍵変化がない場合にはメインルーチンに戻るが、オンの鍵変化があったとき、すなわち押鍵の演奏がされたときは、そのノートオンデータ、ノート(音高)、音長、およびベロシティを音源部8に送出する発音処理を行う(ステップSB7)。また、ポインタNをアドレスにして、タイムレジスタTの時間すなわち発音開始タイミング、ノートオン、ノート、ベロシティをRAM4のソングメモリにストアする(ステップSB8)。次に、Nの値をインクリメントして、ソングメモリのアドレスを更新する(ステップSB9)。そして、図3のメインルーチンに戻る。   Thereafter, it is determined whether or not STF is 1 (step SB5). When STF is 1, the keyboard detection unit 6 determines the key change of the keyboard 101 (step SB6). If the performance is not performed and there is no key change, the process returns to the main routine. However, if there is a key change that is on, that is, if a key is played, the note-on data, note (pitch), pitch And a sound generation process for sending the velocity to the sound source unit 8 (step SB7). Further, using the pointer N as an address, the time of the time register T, that is, the sound generation start timing, note-on, note and velocity are stored in the song memory of the RAM 4 (step SB8). Next, the value of N is incremented and the address of the song memory is updated (step SB9). Then, the process returns to the main routine of FIG.

図4のステップSB6において、オフの鍵変化があったとき、すなわち離鍵の演奏がされたときは、音源部8に対して消音を指示する消音処理を行い(ステップSB10)、ポインタNをアドレスにして、タイムレジスタTの時間、ノートオフ、ノートをRAM4のアドレスNにストアする(ステップSB11)。次に、Nの値をインクリメントして、RAM4のソングメモリのアドレスを更新する(ステップSB9)。そして、図3のメインルーチンに戻る。   In step SB6 of FIG. 4, when there is an off key change, that is, when a key release is performed, a mute process is performed to instruct the sound source unit 8 to mute (step SB10), and the pointer N is addressed. Then, the time, note-off, and note of the time register T are stored in the address N of the RAM 4 (step SB11). Next, the value of N is incremented and the address of the song memory in the RAM 4 is updated (step SB9). Then, the process returns to the main routine of FIG.

図4のステップSB1において、スタートキースイッチがオンでない場合には、ストップキースイッチがオンされたか否かを判別する(ステップSB12)。ストップキーがオンされたときは、STFを0にリセットし(ステップSB13)、タイマインタラプトを禁止する(ステップSB14)。そして、図3のメインルーチンに戻る。   In step SB1 in FIG. 4, if the start key switch is not on, it is determined whether or not the stop key switch is turned on (step SB12). When the stop key is turned on, the STF is reset to 0 (step SB13), and the timer interrupt is prohibited (step SB14). Then, the process returns to the main routine of FIG.

図14は、RAM4にストアされているノートオンデータをグラフィックデータに変換する推移を示す図である。図14(1)は、RAM4のソングメモリにストアされたイベントのうち、ノートオンデータすなわち押鍵の演奏データを示す図である。図14(1)におけるアドレスは、押鍵開始のときのタイムレジスタTの値、すなわちノートオンデータの発音開始タイミングを表している。アドレスの単位である「0001」は、この場合は40分音符の音長に対応する単位時間長を表し、音長の単位は秒である。したがって、曲のテンポが1分間に4分音符が120の場合には、アドレスの単位である「0001」は25msの時間長となる。したがって、図14(1)における最初のアドレス「0003」にストアされている音高C4、音長0.50、ベロシティ104は、演奏開始から「0003(75ms)」の発音開始タイミングでC4の鍵が500msの時間だけベロシティ104で押鍵されたことを表している。このように、アドレスの値と経過時間とはリンクしているので、以下の説明においては、経過時間をアドレスの値として表す。   FIG. 14 is a diagram showing a transition in which note-on data stored in the RAM 4 is converted into graphic data. FIG. 14 (1) is a diagram showing note-on data, that is, key-press performance data, among events stored in the song memory of the RAM 4. The address in FIG. 14 (1) represents the value of the time register T at the start of key depression, that is, the sounding start timing of note-on data. The address unit “0001” represents a unit time length corresponding to the sound length of a 40th note in this case, and the sound length unit is seconds. Therefore, when the tempo of the song is 120 for a quarter note per minute, the address unit “0001” has a time length of 25 ms. Therefore, the pitch C4, the pitch 0.50, and the velocity 104 stored at the first address “0003” in FIG. 14A are the key of C4 at the sounding start timing “0003 (75 ms)” from the start of the performance. Represents that the key has been depressed at the velocity 104 for a time of 500 ms. As described above, since the address value and the elapsed time are linked, in the following description, the elapsed time is expressed as the address value.

図5ないし図9は、図3のメインルーチンにおけるステップSA7の表示処理のフローチャートである。この表示処理においては、図14(1)のソングメモリにおけるノートオンデータを図14(2)の表示用レジスタ(1)にストアするためのデータ変換を行い、さらに、表示用レジスタ(1)のデータを図14(3)の表示用レジスタ(2)にストアする。まず、フラグDISPが「0」であるか否かを判別し(ステップSC1)、DISPが「0」である場合には、ポインタN、ポインタMを「1」にセットする(ステップSC2)。Nは図14(1)のソングメモリのアドレスの単位を累積するポインタである。また、Mは図14(2)に示す表示用レジスタ(1)のアドレス(1、2、3…)を示すポインタである。次に、和音の時間を管理するためのレジスタHMを「0」にクリアする(ステップSC3)。   5 to 9 are flowcharts of the display process in step SA7 in the main routine of FIG. In this display processing, data conversion for storing the note-on data in the song memory of FIG. 14 (1) in the display register (1) of FIG. 14 (2) is performed. Data is stored in the display register (2) shown in FIG. First, it is determined whether or not the flag DISP is “0” (step SC1). If the DISP is “0”, the pointer N and the pointer M are set to “1” (step SC2). N is a pointer for accumulating the address unit of the song memory shown in FIG. M is a pointer indicating the address (1, 2, 3,...) Of the display register (1) shown in FIG. Next, the register HM for managing the chord time is cleared to “0” (step SC3).

次に、ポインタNのアドレスにノートオンデータがあるか否かを判別し(ステップSC4)、ノートオンデータがない場合には、Nの値をインクリメントする(ステップSC5)。そして、ステップSC4に移行してポインタNのアドレスにノートオンデータがあるか否かを判別する。アドレスNにノートオンデータがある場合には、レジスタnにNのアドレスをストアする(ステップSC6)。そして、Nの値をインクリメントする(ステップSC7)。このとき、Nのアドレスがソングメモリの最終番地を超えたか否かを判別する(ステップSC8)。Nのアドレスが最終番地を超えない場合には、ポインタNのアドレスにノートオンデータがあるか否かを判別する(ステップSC9)。Nのアドレスにノートオンデータがない場合には、Nのアドレスがソングメモリの最終番地を超えない限り、ステップSC7、ステップSC8、ステップSC9のループ処理を繰り返しながら、ソングメモリのノートオンデータを捜す。ステップSC9において、Nのアドレスにノートオンデータがあったときは、Nのアドレスをレジスタmにストアする(ステップSC10)。すなわち、連続する2つのノートオンデータにおいて、前のノートオンデータのアドレスをnにストアし、後のノートオンデータをmにストアする。   Next, it is determined whether or not there is note-on data at the address of the pointer N (step SC4). If there is no note-on data, the value of N is incremented (step SC5). Then, the process proceeds to step SC4 to determine whether or not there is note-on data at the address of the pointer N. If there is note-on data at address N, the address of N is stored in register n (step SC6). Then, the value of N is incremented (step SC7). At this time, it is determined whether the address of N has exceeded the final address of the song memory (step SC8). If the address of N does not exceed the final address, it is determined whether or not there is note-on data at the address of the pointer N (step SC9). If there is no note-on data at the N address, the loop memory of step SC7, step SC8, and step SC9 is repeated to search for the note-on data in the song memory unless the N address exceeds the final address of the song memory. . If there is note-on data at the address N in step SC9, the address N is stored in the register m (step SC10). That is, in two consecutive note-on data, the address of the previous note-on data is stored in n, and the subsequent note-on data is stored in m.

次に、図6のフローチャートにおいて、アドレスmのTの値からアドレスnのTの値を減算してレジスタHにストアする(ステップSC12)。すなわち、アドレスmのノートオンデータの発音開始タイミングとアドレスnのノートオンデータの発音開始タイミングとの時間差をレジスタHにストアする。次に、Hにストアした時間差が所定時間αより大きいか又はα以下であるかを判別する(ステップSC13)。αの値は、アドレスnおよびアドレスmの2つのノートオンデータが和音であるか否かを判別するための閾値であり、例えば、「0001」のアドレス差に相当する。Hの値がαより大きくてアドレスnおよびアドレスmの2つのノートオンデータが和音でない場合には、図14(2)に示す表示用レジスタ(1)のMエリアの「時間差」にHとレジスタHMとの加算した時間をストアし、「グループ化」に「1」をストアする(ステップSC14)。HMは、和音の時間差を累積するレジスタである。ステップSC14において、Mエリアの「時間差」および「グループ化」の値をストアした後は、HMを「0」にクリアし(ステップSC15)、レジスタmのアドレスをレジスタnにセットする(ステップSC16)。ステップSC13において、Hにストアした時間差がα以下である場合、すなわち、アドレスnおよびアドレスmの2つのノートオンデータが和音の場合には、レジスタHMにHの時間差を加算する(ステップSC17)。このように、複数の連続するノートオンデータが和音を構成する場合には、最初のノートオンデータを表示用レジスタ(1)のMエリアにストアし、残りの1つ以上のノートオンデータについては、前のノートオンデータとの発音開始タイミングの時間差をHMに累算する。この結果、和音を構成する複数のノートオンデータは、最初のノートオンデータに後のノートオンデータが併合される。   Next, in the flowchart of FIG. 6, the value of T at address n is subtracted from the value of T at address m and stored in register H (step SC12). That is, the time difference between the sound generation start timing of the note-on data at the address m and the sound generation start timing of the note-on data at the address n is stored in the register H. Next, it is determined whether the time difference stored in H is greater than or less than a predetermined time α (step SC13). The value of α is a threshold value for determining whether the two note-on data at the address n and the address m are chords, and corresponds to an address difference of “0001”, for example. If the value of H is larger than α and the two note-on data at address n and address m are not chords, H and the register are set as “time difference” in the M area of display register (1) shown in FIG. The time added with HM is stored, and "1" is stored in "Grouping" (step SC14). HM is a register for accumulating time differences of chords. In step SC14, after the values of “time difference” and “grouping” in the M area are stored, HM is cleared to “0” (step SC15), and the address of register m is set to register n (step SC16). . In step SC13, if the time difference stored in H is less than or equal to α, that is, if the two note-on data at address n and address m are chords, the time difference of H is added to register HM (step SC17). Thus, when a plurality of continuous note-on data forms a chord, the first note-on data is stored in the M area of the display register (1), and the remaining one or more note-on data is The time difference of the sound generation start timing with the previous note-on data is accumulated in HM. As a result, in the plurality of note-on data constituting the chord, the subsequent note-on data is merged with the first note-on data.

ステップSC16においてレジスタmのアドレスをレジスタnにセットした後、又は、ステップSC17においてHMにHの時間差を加算した後は、図5のフローチャートのステップSC7に移行して、ポインタNをインクリメントしながら、ソングメモリにおける次の新たなノートオンデータを捜す。そして、新たなノートオンデータを取得するたびに、その新たなノートオンデータのアドレスをレジスタmにストアして(ステップSC10)、図6のフローチャートにおいて、レジスタmのTの値とレジスタnのTの値との時間差に応じて、2つのノートオンデータが和音でない場合には表示用レジスタ(1)にストアし(ステップSC14)、和音である場合にはHMに時間差を加算する(ステップSC17)。ソングメモリの中の全てのノートオンデータに対する処理が終了して、図5のステップSC8においてアドレスNがソングメモリの最終番地を超えたときは、フラグDISPを「1」にセットして(ステップSC11)、ステップSC1に移行する。   After setting the address of the register m in the register n in step SC16 or adding the time difference of H to HM in step SC17, the process proceeds to step SC7 in the flowchart of FIG. Searches for the next new note-on data in the song memory. Each time new note-on data is acquired, the address of the new note-on data is stored in the register m (step SC10). In the flowchart of FIG. 6, the T value of the register m and the T value of the register n are stored. If the two note-on data are not chords, they are stored in the display register (1) (step SC14). If they are chords, the time difference is added to HM (step SC17). . When the processing for all the note-on data in the song memory is completed and the address N exceeds the final address of the song memory at step SC8 in FIG. 5, the flag DISP is set to “1” (step SC11). ), The process proceeds to step SC1.

DISPを「1」にセットしたときは、図14(1)に示したソングメモリのノートオンデータのアドレス差分が図14(2)の表示用レジスタ(1)の時間差として各ノート番号のエリアにストアされ、各エリアのグループ化ポイントに「1」がストアされる。この場合においては、図14(1)に示すように、アドレスの差分は「0007」ないし「0016」でαの値「0001」より大きく、和音が含まれていないので、図14(2)の表示用レジスタ(1)のグループ化ポイントには全て「1」がストアされる。   When DISP is set to “1”, the address difference of the note-on data in the song memory shown in FIG. 14 (1) is stored in the area of each note number as the time difference of the display register (1) in FIG. 14 (2). Stored and “1” is stored in the grouping point of each area. In this case, as shown in FIG. 14A, the address difference is “0007” to “0016” larger than the value “0001” of α and does not include chords. “1” is stored in all grouping points of the display register (1).

一方、ソングメモリに和音が含まれている場合には、その和音を構成する複数のノートオンデータを1つのノートオンデータと見なして表示用レジスタ(1)にストアする。図15は、RAM4のソングメモリの和音のノートオンデータを表示用レジスタ(1)にストアする例を示す図である。図15(1)の楽譜の小節1の6番目の音符には、D4およびE4の和音が含まれている。いま、D4のノートオンデータの発音開始タイミングから「0001」だけ遅れてE4のノートオンデータの発音開始タイミングになったときは、図15(2)のソングメモリには、「0030」のアドレスにD4の音高がストアされ、「0031」のアドレスにE4の音高がストアされる。E4のアドレスとD4のアドレスの差、すなわち、E4の発音開始タイミングとD4の発音開始タイミングとの時間差は「0001」であるので、図6のステップSC13において和音と判別され、D4およびE4が併合されて1つのノートオンデータとして表示用レジスタ(1)にストアされる。   On the other hand, when a chord is included in the song memory, a plurality of note-on data constituting the chord are regarded as one note-on data and stored in the display register (1). FIG. 15 is a diagram illustrating an example of storing note-on data of chords in the song memory of the RAM 4 in the display register (1). The sixth note of measure 1 in FIG. 15 (1) includes D4 and E4 chords. Now, when the sound generation start timing of the note-on data of E4 is delayed by “0001” from the sound generation start timing of the note-on data of D4, the address “0030” is stored in the song memory of FIG. The pitch of D4 is stored, and the pitch of E4 is stored at the address “0031”. Since the difference between the E4 address and the D4 address, that is, the time difference between the E4 sounding start timing and the D4 sounding start timing is “0001”, it is determined as a chord in step SC13 in FIG. 6, and D4 and E4 are merged. And stored in the display register (1) as one note-on data.

図5のステップSC1においてDISPが「1」の場合には、図7のフローチャートにおいて、図14(2)の表示用レジスタ(1)のエリアを指定するポインタMを「1」にセットし、図14(3)の表示用レジスタ(2)のエリアを指定するポインタNを0にセットする(ステップSC18)。なお、表示用レジスタ(2)は、表示部101に棒グラフを表示するためのグラフィックデータをストアレジスタである。次に、表示用レジスタ(1)のMの「グループ化」が「1」であるか又は「0」であるかを判別する(ステップSC19)。Mの「グループ化」が「1」である場合には、Nの値をインクリメントし(ステップSC20)、表示用レジスタ(2)のアドレスNに表示用レジスタ(1)の時間差をストアする(ステップSC21)。一方、ステップSC19において、表示用レジスタ(1)のMの「グループ化」が「0」である場合には、表示用レジスタ(2)のアドレスNの時間差に表示用レジスタ(1)の時間差を加算する(ステップSC22)。ステップSC21において時間差をストアした後、又は、ステップSC22において時間差を加算した後は、Mの値をインクリメントする(ステップSC23)。そして、インクリメントしたMの値が表示用レジスタ(1)の最終アドレスを超えたか否かを判別し(ステップSC24)、Mの値が最終アドレスを超えていない場合には、ステップSC19に移行して、ステップSC24までのループ処理を繰り返す。ステップSC24において、Mの値が最終アドレスを超えたとき、すなわち、表示用レジスタ(1)の全てのデータを表示用レジスタ(2)にストアした後は、表示用レジスタ(2)の内容に基づいて、表示制御部5によって表示部101に棒グラフを表示するとともに、カーソルを表示する(ステップSC25)。   If DISP is “1” in step SC1 in FIG. 5, the pointer M for designating the area of the display register (1) in FIG. 14 (2) is set to “1” in the flowchart in FIG. The pointer N for designating the area of the display register (2) 14 (3) is set to 0 (step SC18). The display register (2) is a store register for graphic data for displaying a bar graph on the display unit 101. Next, it is determined whether the “grouping” of M in the display register (1) is “1” or “0” (step SC19). When the “grouping” of M is “1”, the value of N is incremented (step SC20), and the time difference of the display register (1) is stored in the address N of the display register (2) (step S20). SC21). On the other hand, if the “grouping” of M of the display register (1) is “0” in step SC19, the time difference of the display register (1) is set to the time difference of the address N of the display register (2). Add (step SC22). After the time difference is stored in step SC21 or after the time difference is added in step SC22, the value of M is incremented (step SC23). Then, it is determined whether or not the incremented M value exceeds the final address of the display register (1) (step SC24). If the M value does not exceed the final address, the process proceeds to step SC19. The loop process up to step SC24 is repeated. In step SC24, when the value of M exceeds the final address, that is, after all the data in the display register (1) is stored in the display register (2), it is based on the contents of the display register (2). Then, the display control unit 5 displays a bar graph on the display unit 101 and displays a cursor (step SC25).

図16は、表示用レジスタ(2)にストアされたデータに基づいて、表示部101の鍵盤画像501の上に表示された棒グラフ502を示す図である。棒グラフ502の下にはカーソル503が表示されている。図7のステップSC25において表示部101に棒グラフを表示した後は、図8のフローチャートにおいて、図1のスイッチ部のシフトキー106がオン状態であるか否かを判別する(ステップSC26)。シフトキー106がオン状態でない場合には、左移動キー102又は右移動キー103がオンされたか否かを判別する(ステップSC27)。左移動キー102又は右移動キー103がオンされたときは、カーソル503の位置を移動する(ステップSC28)。次に、カーソル503の位置がグラフ上であるか否かを判別し(ステップSC29)、カーソル503の位置がグラフ上である場合には、カーソル位置の棒を強調表示する(ステップSC30a)。図16の棒グラフは、下の楽譜のノートオンデータをグラフィックデータに変換して表示したものであり、カーソル503によって3番目の棒g3が指定されて強調表示された状態を示している。この図で、3本の点線は、下から順に8分音符の比較ライン、4分音符の比較ライン、および2分音符の比較ラインを表している。棒g3の高さは、画面の下に記載した楽譜において、3番目のE4の音符n3の発音開始タイミングから4番目のF4の音符n4の発音開始タイミングまでの時間差を表している。   FIG. 16 is a diagram showing a bar graph 502 displayed on the keyboard image 501 of the display unit 101 based on the data stored in the display register (2). A cursor 503 is displayed below the bar graph 502. After the bar graph is displayed on the display unit 101 in step SC25 in FIG. 7, it is determined in the flowchart in FIG. 8 whether or not the shift key 106 of the switch unit in FIG. 1 is in the ON state (step SC26). If the shift key 106 is not in the on state, it is determined whether or not the left movement key 102 or the right movement key 103 has been turned on (step SC27). When the left movement key 102 or the right movement key 103 is turned on, the position of the cursor 503 is moved (step SC28). Next, it is determined whether or not the position of the cursor 503 is on the graph (step SC29). If the position of the cursor 503 is on the graph, the bar at the cursor position is highlighted (step SC30a). The bar graph of FIG. 16 is obtained by converting note-on data of the lower score into graphic data and displaying it. The third bar g3 is designated and highlighted by the cursor 503. In this figure, three dotted lines represent an eighth note comparison line, a quarter note comparison line, and a half note comparison line in order from the bottom. The height of the bar g3 represents the time difference from the sounding start timing of the third E4 note n3 to the sounding start timing of the fourth F4 note n4 in the score shown at the bottom of the screen.

ステップSC30aにおいて棒を強調表示した後は、カーソル503のある棒に対応するノートアドレスをレジスタnにストアする(ステップSC30b)。したがって、図16に示した例においては、強調表示されているグラフの棒に対応するノートオンデータである表示用レジスタ(2)の棒番号3をnにストアする。次に、図1のスイッチ部においてアップキー104がオンされたか否かを判別し(ステップSC31)、このキーがオンされたときは、棒の高さの修正値を示すレジスタΔTの値をインクリメントする(ステップSC32)。アップキー104がオンでない場合には、ダウンキー105がオンされたか否かを判別し(ステップSC33)、このキーがオンされたときは、ΔTの値をデクリメントする(ステップSC34)。ΔTの値をインクリメント又はデクリメントした後は、変更処理(1)を実行する(ステップSC35)。ΔTの初期値は「0」であるので、その値は正負の符号を含むことになる。   After highlighting the bar in step SC30a, the note address corresponding to the bar with the cursor 503 is stored in register n (step SC30b). Therefore, in the example shown in FIG. 16, the bar number 3 of the display register (2), which is note-on data corresponding to the highlighted bar of the graph, is stored in n. Next, it is determined whether or not the up key 104 is turned on in the switch section of FIG. 1 (step SC31). When this key is turned on, the value of the register ΔT indicating the correction value of the bar height is incremented. (Step SC32). If the up key 104 is not turned on, it is determined whether or not the down key 105 is turned on (step SC33). If this key is turned on, the value of ΔT is decremented (step SC34). After incrementing or decrementing the value of ΔT, change processing (1) is executed (step SC35). Since the initial value of ΔT is “0”, the value includes positive and negative signs.

図10は、変更処理(1)のフローチャートである。まず、表示用レジスタ(1)のノート番号を指定するポインタM、Nを「1」にセットする(ステップSD1)。次に、表示用レジスタ(1)のノート番号Mのグループ化が「1」であるか否かを判別する(ステップSD2)。ノート番号Mのグループ化が「0」である場合、すなわち、ノート番号Mに対応するソングメモリのノートオンデータが、少なくとも1つ前のノートオンデータを含む和音である場合には、Mの値をインクリメントして(ステップSD3)、ステップSD2においてノート番号Mのグループ化が「1」であるか否かを判別する。ノート番号Mのグループ化が「1」である場合には、ポインタNの値がカーソル位置のグラフに対応するノートアドレスであるnの値と同じであるか否かを判別する(ステップSD4)。Nの値とnの値とが異なる場合には、Nの値をインクリメントし(ステップSD5)、Mの値をインクリメントして(ステップSD3)、再びステップSD2においてノート番号Mのグループ化が「1」であるか否かを判別する。ノート番号Mのグループ化が「1」で、かつ、Nの値とnの値とが同じである場合には、ソングメモリのアドレスを指定するポインタkを1にセットし、表示用レジスタ(1)のノート番号を指定するポインタmを1にセットする(ステップSD6)。そして、ステップSD7からステップSD15までのループ処理を実行して、アップキー又はダウンキーのオン操作によって表示部101のグラフの修正内容をソングメモリに反映させる。   FIG. 10 is a flowchart of the change process (1). First, pointers M and N for designating the note number of the display register (1) are set to “1” (step SD1). Next, it is determined whether or not the grouping of note numbers M in the display register (1) is “1” (step SD2). When the grouping of the note number M is “0”, that is, when the note-on data of the song memory corresponding to the note number M is a chord including at least the previous note-on data, the value of M Is incremented (step SD3), and it is determined in step SD2 whether or not the grouping of note numbers M is “1”. When the grouping of the note numbers M is “1”, it is determined whether or not the value of the pointer N is the same as the value of n that is the note address corresponding to the graph at the cursor position (step SD4). If the value of N is different from the value of n, the value of N is incremented (step SD5), the value of M is incremented (step SD3), and the grouping of note numbers M is again “1” in step SD2. Is determined. When the grouping of the note numbers M is “1” and the values of N and n are the same, the pointer k for designating the address of the song memory is set to 1, and the display register (1 ) Is set to 1 (step SD6). Then, the loop processing from step SD7 to step SD15 is executed, and the correction content of the graph on the display unit 101 is reflected in the song memory by turning on the up key or the down key.

このループ処理において、ソングメモリのアドレスk内のイベントノートがノートオンであるか否かを判別し(ステップSD7)、アドレスk内のイベントノートがノートオフである場合には、kの値をインクリメントして(ステップSD8)、次のアドレスのイベントノートがノートオンであるか否かを判別する。アドレスk内のイベントノートがノートオンである場合には、mの値が「M+1」の値と同じか否かを判別する(ステップSD9)。mの値が「M+1」の値と異なる場合には、mの値をインクリメントし(ステップSD10)、kのアドレスをインクリメントする(ステップSD11)。そして、ステップSD7に移行して、ステップSD9においてmの値が「M+1」の値になるまで、ステップSD7、ステップSD10、ステップSD11のループ処理を繰り返す。mの値が「M+1」の値になったときは、ソングメモリのアドレスkの発音開始タイミングであるTの値に、図8のステップSC32又はステップSC34において増減した正又は負のΔTを加算する(ステップSD12)。さらに、対応するノートオフのTにもΔTを加算する(ステップSD13)。   In this loop processing, it is determined whether or not the event note in the address k of the song memory is note-on (step SD7). If the event note in the address k is note-off, the value of k is incremented. In step SD8, it is determined whether or not the event note at the next address is note-on. If the event note in the address k is note-on, it is determined whether or not the value of m is the same as the value of “M + 1” (step SD9). When the value of m is different from the value of “M + 1”, the value of m is incremented (step SD10), and the address of k is incremented (step SD11). Then, the process proceeds to step SD7, and the loop processing of step SD7, step SD10, and step SD11 is repeated until the value of m becomes “M + 1” in step SD9. When the value of m becomes “M + 1”, the positive or negative ΔT increased or decreased in step SC32 or step SC34 in FIG. 8 is added to the value of T that is the sounding start timing of the address k in the song memory. (Step SD12). Further, ΔT is added to the corresponding note-off T (step SD13).

例えば、表示部101の棒グラフmの棒g3の高さが高くなるようにアップキー104のオン操作で修正された場合を想定する。棒g3の高さは表示用レジスタ(2)の棒番号3の高さ「7」である。この値は、次のノートオンデータn4の発音開始タイミングから前のノートオンデータn3の発音開始タイミングを減算した時間差を表している。この高さが「7」から「10」に修正されたときは、ノートオンデータn4の発音開始タイミングを「3」だけ遅くする修正がされたことになる。したがって、次のノートオンをソングメモリの中から検索して、その発音開始タイミングTに「0003」を加算する。   For example, it is assumed that the bar g3 of the bar graph m on the display unit 101 is corrected by turning on the up key 104 so as to increase the height. The height of the bar g3 is the height “7” of the bar number 3 of the display register (2). This value represents a time difference obtained by subtracting the sounding start timing of the previous note-on data n3 from the sounding start timing of the next note-on data n4. When this height is corrected from “7” to “10”, the sounding start timing of the note-on data n4 is corrected to be delayed by “3”. Therefore, the next note-on is searched from the song memory, and “0003” is added to the sounding start timing T.

図10のステップSD13の後は、Mの値をインクリメントし(ステップSD14)、表示用レジスタ(1)のノート番号Mのグループ化が「0」であるか否かを判別する(ステップSD15)。ノート番号Mのグループ化が「1」である場合には、ステップSD7に移行して、ソングメモリ内のノートオンデータの発音開始タイミングTにΔTを加算するループ処理を繰り返す。ステップSD15において、ノート番号Mのグループ化が「0」である場合には、表示をクリアして(ステップSD16)、図8のフローチャートに戻る。図8のステップSC35の後は、DISPを「0」にリセットして(ステップSC36)、図5のフローチャートのステップSC1に移行する。   After step SD13 in FIG. 10, the value of M is incremented (step SD14), and it is determined whether or not the grouping of note numbers M in the display register (1) is “0” (step SD15). When the grouping of the note number M is “1”, the process proceeds to step SD7, and the loop process of adding ΔT to the sounding start timing T of the note-on data in the song memory is repeated. In step SD15, when the grouping of note numbers M is “0”, the display is cleared (step SD16), and the process returns to the flowchart of FIG. After step SC35 in FIG. 8, DISP is reset to “0” (step SC36), and the process proceeds to step SC1 in the flowchart in FIG.

この後は、図14(1)のソングメモリの修正された発音開始タイミングに基づいて、表示部101に表示するグラフを変更することになる。すなわち、再び、図5および図6のフローチャートを実行して、図14(1)のソングメモリのノートオンデータを図14(2)の表示用レジスタ(1)にストアし、図7のフローチャートを実行して、図14(2)の表示用レジスタ(1)のノートオンデータを図14(3)の表示用レジスタ(2)にストアし、ステップSC1の後、再び、図7のフローチャートに移行して、表示部101に変更されたグラフを表示する。   Thereafter, the graph displayed on the display unit 101 is changed based on the corrected sounding start timing in the song memory of FIG. That is, the flowcharts of FIGS. 5 and 6 are executed again to store the note-on data of the song memory of FIG. 14 (1) in the display register (1) of FIG. 14 (2), and the flowchart of FIG. The note-on data of the display register (1) in FIG. 14 (2) is stored in the display register (2) in FIG. 14 (3), and after step SC1, the process proceeds to the flowchart in FIG. 7 again. Then, the changed graph is displayed on the display unit 101.

図8のステップSC26において、シフトキーがオン状態である場合には、図9のフローチャートにおいて、左右移動キー102、103がオンされたか否かを判別する(ステップSC37)。シフトキーがオン状態で左右移動キー102、103のいずれか一方がオンされたときは、カーソル位置を移動する(ステップSC38)。次に、カーソル位置がグラフ上か否かを判別し(ステップSC39)、カーソル位置がグラフ上である場合には、カーソル位置のグラフの棒を強調表示する(ステップSC40)。そして、決定キースイッチ107がオンされたか否かを判別し(ステップSC41)、このスイッチがオンでない場合には、シフトキーのオン状態が継続している限り、左右移動キー102、103のオン操作に応じて、複数の棒を強調表示する。ステップSC41において、決定スイッチがオンされたときは、変更処理(2)を実行する(ステップSC42)。   If it is determined in step SC26 in FIG. 8 that the shift key is on, it is determined whether or not the left and right movement keys 102 and 103 are turned on in the flowchart in FIG. 9 (step SC37). When one of the left and right movement keys 102 and 103 is turned on while the shift key is on, the cursor position is moved (step SC38). Next, it is determined whether or not the cursor position is on the graph (step SC39). If the cursor position is on the graph, the graph bar at the cursor position is highlighted (step SC40). Then, it is determined whether or not the enter key switch 107 is turned on (step SC41). If this switch is not turned on, the left and right movement keys 102 and 103 are turned on as long as the shift key is kept on. In response, highlight multiple bars. When the determination switch is turned on in step SC41, change process (2) is executed (step SC42).

図11は、変更処理(2)のフローチャートである。この処理では、和音を構成していない複数のノートオンデータを1つのノートオンデータに統合して、図16に示したグラフ502の表示領域を縮小することによって、多数のノートオンデータに対応する全体的な分析を可能にする。図11において、まず、強調表示になっているグラフの棒に対応するノート番号をストアする(ステップSE1)。次に、表示用レジスタ(1)のノート番号を指定するポインタMを「1」にセットして(ステップSE2)、Mの値をインクリメントしながら、ステップSE3からステップSE6までのループ処理を実行する。すなわち、表示用レジスタ(1)のアドレスMは強調表示されてストアされたノート番号であるか否かを判別して(ステップSE3)、アドレスMがストアされたノート番号である場合には、表示用レジスタ(1)のアドレスMの「グループ化」を「0」にする(ステップSE4)。アドレスMの「グループ化」を「0」にした後、又は、ステップSE3においてアドレスMがストアされたノート番号でない場合には、Mの値をインクリメントする(ステップSE5)。そして、インクリメントしたMの値が表示用レジスタ(1)の最終アドレスを超えたか否かを判別する(ステップSE6)。Mの値が最終アドレスを超えない場合には、ステップSE3に移行してループ処理を繰り返す。Mの値が最終アドレスを超えたときは、表示をクリアして(ステップSE7)、図7のフローチャートのステップSC18に移行する。なお、図10の変更処理(1)の場合には、表示されたグラフの修正に基づいてソングメモリの内容を変更したが、この変更処理(2)の場合には、グラフ表示の便宜上、本来和音を構成しない複数のノートオンデータを修正して、1つのノートオンデータに統合したのであるから、ソングメモリの内容は変更しない。   FIG. 11 is a flowchart of the change process (2). In this process, a plurality of note-on data that do not constitute a chord are integrated into one note-on data, and the display area of the graph 502 shown in FIG. Enables overall analysis. In FIG. 11, first, the note number corresponding to the bar of the highlighted graph is stored (step SE1). Next, the pointer M for designating the note number of the display register (1) is set to “1” (step SE2), and the loop processing from step SE3 to step SE6 is executed while incrementing the value of M. . That is, it is determined whether or not the address M of the display register (1) is the highlighted note number stored (step SE3), and if the address M is the stored note number, the display is made. The “grouping” of the address M of the register (1) is set to “0” (step SE4). After the “grouping” of the address M is set to “0” or when the address M is not the stored note number in step SE3, the value of M is incremented (step SE5). Then, it is determined whether or not the incremented M value has exceeded the final address of the display register (1) (step SE6). If the value of M does not exceed the final address, the process proceeds to step SE3 and loop processing is repeated. When the value of M exceeds the final address, the display is cleared (step SE7), and the process proceeds to step SC18 in the flowchart of FIG. In the case of the changing process (1) in FIG. 10, the contents of the song memory are changed based on the correction of the displayed graph. Since a plurality of note-on data not constituting a chord is modified and integrated into one note-on data, the contents of the song memory are not changed.

図17は、和音を構成していない複数のノートオンデータを1つのノートオンデータに統合する変更処理(2)を示す図である。図17(1)に示す楽譜における音符は和音を構成していないので、通常は図16のグラフ502に示すように、7gまでの7個の棒グラフで表される。図17(1)の楽譜において、第1小節の前半の4個のノートオンデータを「グループ1」とし、後半の3個のノートオンデータを「グループ2」とすると、それぞれ1つのノートオンデータに統合した場合には、図17(2)の表示用レジスタ1のように、ノート番号2から4までの時間差がノート番号1の時間差に累積されて「グループ化」が「0」となり、ノート番号6および7の時間差がノート番号5の時間差に累積されて「グループ化」が「0」となる。したがって、図17(2)の表示用レジスタ(1)のデータを図17(3)の表示用レジスタ(2)にストアすると、各グループの時間差が累算された高さ「40」および「38」の2つの棒番号1、2となる。この結果、図17(4)に示すように、表示部101に表示される2個の棒のグラフとなる。   FIG. 17 is a diagram showing a change process (2) for integrating a plurality of note-on data not constituting a chord into one note-on data. Since the notes in the score shown in FIG. 17 (1) do not constitute chords, they are usually represented by seven bar graphs up to 7g as shown in the graph 502 of FIG. In the score of FIG. 17 (1), if the first four note-on data of the first measure are “group 1” and the last three note-on data are “group 2”, one note-on data each. , The time difference from note numbers 2 to 4 is accumulated into the time difference of note number 1 as shown in display register 1 in FIG. 17 (2), and “grouping” becomes “0”. The time difference between the numbers 6 and 7 is accumulated in the time difference between the note numbers 5 and “grouping” becomes “0”. Therefore, when the data in the display register (1) in FIG. 17 (2) is stored in the display register (2) in FIG. 17 (3), the heights “40” and “38” in which the time differences of the groups are accumulated are stored. "Are two bar numbers 1 and 2. As a result, as shown in FIG. 17 (4), a graph of two bars displayed on the display unit 101 is obtained.

図12は、図3のメインルーチンにおけるステップSA9の再生処理のフローチャートである。まず、DISPが「1」であるか否かを判別し(ステップSF)、DISPが「0」の場合はメインルーチンに戻るが、DISPが「1」である場合には、図1のスタートキースイッチ109がオンされたか否かを判別する(ステップSF2)。スタートスイッチがオンされたときは、フラグSTFを「1」にセットして(ステップSF3)、ソングメモリのイベントを指定するポインタNを「1」にセットし、タイマレジスタTを「0」にクリアする(ステップSF4)。そして、タイマインタラプトの禁止を解除する(ステップSF5)。図13は、タイマインタラプトのフローチャートである。タイマインタラプトの禁止を解除した後は、一定時間ごとのタイマインタラプトに応じて、Tの値がインクリメントされる(ステップSG1)。   FIG. 12 is a flowchart of the reproduction process in step SA9 in the main routine of FIG. First, it is determined whether or not DISP is “1” (step SF). If DISP is “0”, the process returns to the main routine. If DISP is “1”, the start key shown in FIG. It is determined whether or not the switch 109 has been turned on (step SF2). When the start switch is turned on, the flag STF is set to “1” (step SF3), the pointer N for designating the song memory event is set to “1”, and the timer register T is cleared to “0”. (Step SF4). Then, the prohibition of the timer interrupt is canceled (step SF5). FIG. 13 is a flowchart of the timer interrupt. After canceling the prohibition of the timer interrupt, the value of T is incremented according to the timer interrupt at regular intervals (step SG1).

ステップSF5においてタイマインタラプトの禁止を解除した後、又は、ステップSF13においてストップスイッチがオンでない場合には、STFが「1」であるか否かを判別する(ステップSF6)。STFが「1」の場合には、Nをアドレスとする時間tにTの値が達したか否かを判別する(ステップSF7)。時間tにTの値が達したときは、Nをアドレスとするイベントの処理を実行する(ステップSF8)。すなわち、イベントがノートオンデータである場合には、そのノートオンデータの音高、音長、およびベロシティを発音指示のコマンドとともに音源部8に送出して発音させる。イベントがノートオフイベントである場合には、そのノートオンデータの音高を消音指示のコマンドとともに音源部8に送出して消音させる。イベントがノートイベントでなくコントロールチェンジなどの制御データである場合には、そのイベントに対応する処理を行う。次に、Nの値をインクリメントして次のアドレスを指定する(ステップSF9)。そして、インクリメントしたNの値がソングメモリの最終アドレスを超えたか否かを判別し(ステップSF10)、最終アドレスを超えない場合には、ステップSF1、ステップSF13、ステップSF6、およびステップSF7のループを繰り返し、Nをアドレスとする時間tにTの値が達するたびに、Nをアドレスとするイベントの処理を実行する。そして、ステップSF10において、Nの値がソングメモリの最終アドレスを超えたとき、すなわち、変更されたソングメモリの全てのイベントの処理が終了したときは、STFを「0」にリセットして(ステップSF11)、タイマインタラプトを禁止する(ステップSF12)。そして、ステップSF2に移行してスタートスイッチのオンを判別する。このように、表示部101に表示されたグラフに対して修正操作がされるたびに、ソングメモリの内容を変更し、変更されたイベントを再生する。   After canceling the prohibition of the timer interrupt in step SF5 or when the stop switch is not on in step SF13, it is determined whether or not STF is “1” (step SF6). If the STF is “1”, it is determined whether or not the value of T has reached a time t with N as an address (step SF7). When the value of T reaches time t, event processing with N as an address is executed (step SF8). That is, when the event is note-on data, the pitch, tone length, and velocity of the note-on data are transmitted to the sound source unit 8 together with the sound generation instruction command to generate sound. If the event is a note-off event, the pitch of the note-on data is sent to the sound source unit 8 together with a mute instruction command to mute the sound. If the event is not a note event but control data such as a control change, processing corresponding to the event is performed. Next, the value of N is incremented and the next address is designated (step SF9). Then, it is determined whether or not the incremented value of N has exceeded the final address of the song memory (step SF10). If not, the loop of step SF1, step SF13, step SF6, and step SF7 is executed. Repeatedly, every time the value of T reaches time t with N as an address, processing of an event with N as an address is executed. In step SF10, when the value of N exceeds the final address of the song memory, that is, when all the events of the changed song memory have been processed, the STF is reset to “0” (step SF11), and timer interrupt is prohibited (step SF12). Then, the process proceeds to step SF2 to determine whether the start switch is on. In this way, each time a correction operation is performed on the graph displayed on the display unit 101, the contents of the song memory are changed and the changed event is reproduced.

ステップSF2において、スタートスイッチがオンされない場合には、ストップスイッチがオンされたか否かを判別する(ステップSF13)。ストップスイッチがオンされたときは、STFを「0」にリセットして(ステップSF14)、タイマインタラプトを禁止する(ステップSF15)。そして、図3のメインルーチンに戻る。   If the start switch is not turned on in step SF2, it is determined whether or not the stop switch is turned on (step SF13). When the stop switch is turned on, the STF is reset to “0” (step SF14), and the timer interrupt is prohibited (step SF15). Then, the process returns to the main routine of FIG.

以上のように、この実施形態によれば、CPU1は、鍵盤の演奏に応じてRAM4のソングメモリに記憶された曲のイベントデータを読み出して、そのイベントデータをグラフィックデータに変換して表示部101に棒グラフを表示し、その表示された棒グラフの高さに対してアップキースイッチ104又はダウンキースイッチ105による修正の操作がされたときは、その修正に応じてグラフィックデータを変更し、変更したグラフィックデータをイベントデータに変換してソングメモリに書き込む。この場合において、CPU1は、ソングメモリから読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を表すように、イベントデータをグラフィックデータに変換する。
したがって、演奏データの発音開始タイミングを定量的かつ視覚的に認識して、その認識された発音開始タイミングに基づいて演奏技術の向上を図ることができる。具体的には、演奏者は、表示部101に表示されたグラフを見て、自分の悪い演奏のタイミングの弱点や傾向(癖)、あるいは、良い演奏のタイミングや傾向を明確に把握して、自身の演奏技術の向上を図ることができる。
As described above, according to this embodiment, the CPU 1 reads the event data of a song stored in the song memory of the RAM 4 according to the performance of the keyboard, converts the event data into graphic data, and displays the display unit 101. A bar graph is displayed, and when a correction operation is performed with the up key switch 104 or the down key switch 105 for the height of the displayed bar graph, the graphic data is changed according to the correction, and the changed graphic is displayed. Convert data to event data and write it to song memory. In this case, in the event data read from the song memory, the CPU 1 converts the event data into graphic data so as to represent the time difference between the sounding start timing of any note-on data and the sounding start timing of the next note-on data. To do.
Accordingly, it is possible to quantitatively and visually recognize the sound generation start timing of the performance data, and to improve the performance technique based on the recognized sound generation start timing. Specifically, the performer clearly sees the weak point or tendency (癖) of his / her bad performance timing or the timing or tendency of his good performance by looking at the graph displayed on the display unit 101. You can improve your performance skills.

例えば、図16のグラフ502において、左から3番目の棒g3が他の棒に比べて短く、その直後の棒g4は逆に長くなっている。これは曲の最初から4番目のF4の音符n4が前のめりに演奏されたことを示している。同様の傾向が10番目の棒g10と11番目の棒g11にも見られる。このような傾向は、一般的には「ころび」と表現されており、演奏技術が未熟な演奏にしばしば見られる傾向である。初心者は指の動きである運指や音楽的感覚が十分には発達していないために、同じ時間間隔で演奏すべき音符の並びの中で、一部の音が前のめりになる場合や、逆に後ろへもたれる場合がある。本発明によれば、演奏者は、グラフ表示された発音開始タイミングの時間差を定量的かつ視覚的に認識して、表示されたグラフを修正してソングメモリを変更し、模範的な演奏に編集して再生することにより、演奏技術の向上を図ることができる。   For example, in the graph 502 of FIG. 16, the third bar g3 from the left is shorter than the other bars, and the bar g4 immediately after that is longer. This indicates that the fourth F4 note n4 from the beginning of the song was played forward. A similar tendency is seen in the tenth bar g10 and the eleventh bar g11. Such a tendency is generally expressed as “coroll”, and is often found in performances with unskilled performance techniques. Beginners do not have enough fingering or musical sensation as finger movements, so some notes may turn forward in the sequence of notes to be played at the same time interval, or vice versa. May lean back. According to the present invention, the performer can quantitatively and visually recognize the time difference between the pronunciation start timings displayed in the graph, modify the displayed graph, change the song memory, and edit it to an exemplary performance. Thus, the playing technique can be improved.

さらに、図16のグラフ502において、第1小節の最後のC4の4分音符に対応する棒g7、および、第2小節の最後のE4の4分音符に対応する棒g14の高さが下から2番目の点線である4分音符の比較ラインに達してしない。それぞれの前の2つの棒の高さは1番下の8分音符の比較ラインとほぼ同じであるが、棒g7および棒g14の高さは、その上の4分音符の比較ラインより低い。これは第1小節の最後の4分音符C4および第2小節の最後の4分音符E4の発音開始タイミングが早めであることを示している。これも初心者の演奏にしばしば見られる傾向であり、短い音長の8分音符が続いた後に長い音符がくると、直前の短い音価に慣れているために、次の長い音符の音価を保つことができず、先走って次の演奏をすることにより発生する現象である。このような場合にも、本発明によって、グラフ表示された発音開始タイミングの時間差を定量的かつ視覚的に認識して、表示されたグラフを修正してソングメモリを変更し、模範的な演奏に編集して再生することにより、演奏技術の向上を図ることができる。   Further, in the graph 502 of FIG. 16, the height of the bar g7 corresponding to the last C4 quarter note of the first measure and the height of the bar g14 corresponding to the last E4 quarter note of the second measure from the bottom. The second dotted line, the quarter note comparison line, has not been reached. The height of each previous two bars is about the same as the comparison line of the bottom eighth note, but the height of bars g7 and g14 is lower than the comparison line of the quarter note above it. This indicates that the sounding start timing of the last quarter note C4 of the first measure and the last quarter note E4 of the second measure is earlier. This is also a tendency that is often seen in beginner performances. When a long note comes after a short eighth note, because it is used to the previous short note, the note value of the next long note is reduced. This is a phenomenon that cannot be maintained and occurs when the next performance is performed first. Even in such a case, the present invention quantitatively and visually recognizes the time difference between the pronunciation start timings displayed in a graph, modifies the displayed graph, changes the song memory, and performs an exemplary performance. By editing and playing, the performance technique can be improved.

図18は、等間隔にならんだ同じ音高の連打の演奏データをグループ化してグラフ表示した例を示す図である。図18(1)の楽譜において、1小節内に16分音符が16個ならんだフレーズを、4つの音符を1つのグループにまとめて、その演奏結果を図18(2)に示すグラフで表している。すなわち、各グループにおける発音開始タイミングの時間差を4つの棒で表している。このグラフから明らかなように、後のグループになるほど少しずつ棒の高さが低くなっている。これも実際の演奏にありがちな「走る」という現象で、演奏が進むに従って少しずつテンポが速くなるが、演奏者自身は自覚していないことが多い。このような傾向の場合は、各音符の単位で見るよりも、このように複数の音符をグループ化して見たほうが演奏の傾向を把握できる。したがって、このような場合にも、本発明により、グラフ表示された発音開始タイミングの時間差を定量的かつ視覚的に認識して、表示されたグラフを修正してソングメモリを変更し、模範的な演奏に編集して再生することにより、演奏技術の向上を図ることができる。   FIG. 18 is a diagram showing an example in which performance data of repeated hits with the same pitch aligned at equal intervals are grouped and displayed as a graph. In the score of FIG. 18 (1), phrases having 16 sixteenth notes in one measure are grouped into four groups, and the performance results are represented by the graph shown in FIG. 18 (2). Yes. That is, the time difference between the sound generation start timings in each group is represented by four bars. As is clear from this graph, the height of the bar gradually decreases as the group becomes later. This is also a phenomenon of “running” that is common in actual performances, and the tempo gradually increases as the performance progresses, but the performer himself is often not aware of it. In the case of such a tendency, it is possible to grasp the tendency of performance by viewing a group of a plurality of notes in this way, rather than looking at each note unit. Therefore, even in such a case, the present invention quantitatively and visually recognizes the time difference between the pronunciation start timings displayed in a graph, and modifies the displayed graph to change the song memory. By editing and playing back the performance, the performance technique can be improved.

このように初心者におけるタイミングのずれやバラつきのように演奏の欠点を認識して演奏技術の向上を図るだけでなく、熟練の演奏者に対しても本発明は有効である。上記したように、楽譜通りの機械的な演奏の場合には、表示されたグラフの各棒の高さは比較ラインの上に整然と揃うことになり、人間味の薄い無味乾燥な演奏になってしまう。そこで、表示されたグラフを修正してソングメモリのノートオンデータを変更することにより、テンポの細かい揺らぎやリズミカルな乗りの良さを表現できる。   As described above, the present invention is effective not only for improving performance techniques by recognizing the drawbacks of performance such as timing shifts and variations among beginners, but also for skilled performers. As described above, in the case of a mechanical performance according to the score, the heights of the bars of the displayed graph will be aligned on the comparison line, resulting in a tasteless and dry performance with a thin human touch. . Therefore, by modifying the displayed graph and changing the note-on data of the song memory, it is possible to express fine fluctuations in tempo and good rhythmic riding.

また、上記実施形態において、図15に示したように、CPU1は、ソングメモリから読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が和音の閾値である所定時間α以内である場合には、後のノートオンデータと任意のノートオンデータとをグループ化して1つのノートオンデータと見なして、そのイベントデータをグラフィックデータに変換する。
したがって、和音を構成する複数のノートオンデータに対しては、1つにまとめてグラフ表示することにより、限られた表示画面を有効に利用できる。
Further, in the above embodiment, as shown in FIG. 15, in the event data read from the song memory, the CPU 1 has a time difference between the sounding start timing of any note-on data and the sounding start timing of the subsequent note-on data. If it is within a predetermined time α which is a chord threshold value, subsequent note-on data and arbitrary note-on data are grouped and regarded as one note-on data, and the event data is converted into graphic data.
Therefore, for a plurality of note-on data composing a chord, a limited display screen can be used effectively by displaying the graphs together in one graph.

また、上記実施形態において、図17に示したように、CPU1は、表示部101に表示されているグラフにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が和音の閾値である所定時間αを超えている複数のノートオンデータに対応するグラフ領域に対して併合化の操作がされたときは、そのグラフ領域を1つのノートオンデータに対応するグラフ領域に統合するようにグラフィックデータを変更するが、統合されたグラフ領域に対応するグラフィックデータについては、その棒グラフの高さの修正操作された場合でも、イベントデータに変換せずソングメモリには書き込まない。
したがって、和音を構成しない複数のノートオンデータであっても、操作に応じて1つのノートオンデータと見なして統合してグラフ表示することにより、限られた表示画面を有効に利用できる。
In the above embodiment, as illustrated in FIG. 17, the CPU 1 determines the note-on data sounding start timing after the note-on data sounding start timing in the graph displayed on the display unit 101. When a merge operation is performed on a graph area corresponding to a plurality of note-on data whose time difference exceeds a predetermined time α that is a chord threshold, the graph area corresponds to one note-on data. The graphic data is changed so as to be integrated into the area, but the graphic data corresponding to the integrated graph area is not converted to event data even if the height of the bar graph is modified, and is written to the song memory. Absent.
Therefore, even for a plurality of note-on data that do not constitute a chord, a limited display screen can be used effectively by considering the data as one note-on data according to the operation and integrating them into a graph.

また、上記実施形態において、図12の再生処理のフローチャートに示したように、表示されたグラフを修正してソングメモリのイベントを変更するたびに、スタートスイッチのオン操作によって、変更したソングメモリのイベントを再生するので、変更した内容を実際に耳で聴いて確認することができる。この場合において、上記実施形態においては、変更したノートオンデータの演奏データを元の演奏データに上書きする構成にしたが、元の演奏データとは別のエリアに書き込んで、変更前の演奏データと変更後の演奏データとを聞き比べる構成にしてもよい。   Further, in the above embodiment, as shown in the flowchart of the reproduction process in FIG. 12, each time the displayed graph is modified to change the event of the song memory, the change of the song memory is performed by turning on the start switch. Since the event is played back, you can actually listen to the changed content. In this case, in the above embodiment, the performance data of the changed note-on data is overwritten on the original performance data. However, the performance data before the change is written in a different area from the original performance data. You may make it the structure which hears and compares with the performance data after a change.

また、上記実施形態においては、ノートオンデータの発音開始タイミングの時間差を定量的かつ視覚的に表示するために棒グラフを用いたが、ノートオンデータの発音開始タイミングの時間差を定量的かつ視覚的に表示するものであれば、折れ線グラフ又は他の形態のグラフを用いてもよい。   In the above embodiment, the bar graph is used to quantitatively and visually display the time difference between the sounding start timings of the note-on data. However, the time difference between the sounding start times of the note-on data is quantitatively and visually displayed. A line graph or another form of graph may be used as long as it is displayed.

なお、上記実施形態においては、ROM3にあらかじめ記憶されている楽音編集処理のプログラムをCPU1が実行する装置の発明について説明したが、フレキシブルディスク(FD)、CD、メモリカードなどの外部記憶媒体に記憶された演奏処理のプログラム、又は、インターネットなどのネットワークからダウンロードした演奏処理のプログラムをRAM4あるいは別途設けたフラッシュROMやハードディスクなどの不揮発性メモリにインストールして、CPU1がそのプログラムを実行する構成も可能である。この場合には、プログラムの発明および記憶媒体の発明を実現できる。   In the above-described embodiment, the invention of the apparatus in which the CPU 1 executes the musical tone editing process program stored in advance in the ROM 3 has been described. However, the program is stored in an external storage medium such as a flexible disk (FD), CD, or memory card. It is also possible to install the performance processing program downloaded from the network or a performance processing program downloaded from a network such as the Internet into the RAM 4 or a non-volatile memory such as a separately provided flash ROM or hard disk, and the CPU 1 can execute the program. It is. In this case, the invention of the program and the invention of the storage medium can be realized.

すなわち、本発明の楽音編集処理のプログラムは、
演奏に応じて記憶手段に記憶された曲のイベントデータを読み出して、当該イベントデータにおける任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差をグラフィックデータに変換して表示手段にグラフを表示するステップAと、前記表示手段に表示されたグラフの時間差に対する修正の操作がされたときは、当該修正に応じてグラフィックデータを変更するステップBと、前記ステップBによって変更されたグラフィックデータをイベントデータに変換して前記記憶手段に書き込むステップCと、をコンピュータに実行させる。
That is, the musical sound editing process program of the present invention is:
The event data of the song stored in the storage means is read according to the performance, and the time difference between the sounding start timing of any note-on data in the event data and the sounding start timing of the next note-on data is converted into graphic data. Step A for displaying the graph on the display means, and when the operation for correcting the time difference of the graph displayed on the display means is performed, step B for changing the graphic data in accordance with the correction, and step B The computer executes the step C of converting the changed graphic data into event data and writing it into the storage means.

前記ステップAは、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間以内である場合には、当該後のノートオンデータを当該任意のノートオンデータに併合して1つのノートオンデータとして、当該1つのイベントデータをグラフィックデータに変換する。   In the event data read out from the storage unit, the step A is performed when the time difference between the sounding start timing of any note-on data and the sounding start timing of the subsequent note-on data is within a predetermined time. The note-on data is merged with the arbitrary note-on data to form one note-on data, and the one event data is converted into graphic data.

前記ステップBは、前記表示手段に表示されているグラフにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間を超えている複数のノートオンデータに対応するグラフ領域に対して併合化の操作がされたときは、当該グラフ領域を1つのノートオンデータに対応するグラフ領域に統合するようにグラフィックデータを変更し、前記ステップCは、当該統合されたグラフ領域に対応するグラフィックデータについては、当該グラフの形状の修正操作の有無にかかわらず、イベントデータに変換せず前記記憶手段には書き込まない。   In the graph displayed on the display unit, the step B includes a plurality of note-on data in which a time difference between a sounding start timing of any note-on data and a sounding start timing of a later note-on data exceeds a predetermined time. When the merge operation is performed on the graph area corresponding to the graphic area, the graphic data is changed so as to be integrated into the graph area corresponding to one note-on data. The graphic data corresponding to the graph area is not converted into event data and is not written in the storage means regardless of whether or not the graph shape is corrected.

前記ステップAは、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を棒グラフの棒の高さで表すように、当該イベントデータをグラフィックデータに変換する。   In step A, in the event data read from the storage means, the time difference between the sounding start timing of any note-on data and the sounding start timing of the next note-on data is represented by the bar height of the bar graph. Convert event data to graphic data.

前記表示手段に表示されたグラフの形状に対する修正の操作がされたときは、修正されたグラフに対応して変更した曲のイベントデータを音源手段に出力して発音させるステップDをさらに有する。   When the operation for correcting the shape of the graph displayed on the display means is performed, the method further includes a step D for outputting the event data of the music changed corresponding to the corrected graph to the sound source means for sound generation.

本発明の実施形態における電子鍵盤楽器の外観を示す平面図。The top view which shows the external appearance of the electronic keyboard musical instrument in embodiment of this invention. 図1の電子鍵盤楽器のシステム構成を示すブロック図。The block diagram which shows the system configuration | structure of the electronic keyboard instrument of FIG. 図2のCPUのメインルーチンのフローチャート。The flowchart of the main routine of CPU of FIG. 図3における登録処理のフローチャート。The flowchart of the registration process in FIG. 図3における表示処理のフローチャート。The flowchart of the display process in FIG. 図5に続く表示処理のフローチャート。The flowchart of the display process following FIG. 図5に続く表示処理のフローチャート。The flowchart of the display process following FIG. 図7に続く表示処理のフローチャート。The flowchart of the display process following FIG. 図8に続く表示処理のフローチャート。The flowchart of the display process following FIG. 図8における変更処理(1)のフローチャート。The flowchart of the change process (1) in FIG. 図9における変更処理(2)のフローチャート。The flowchart of the change process (2) in FIG. 図3における再生処理のフローチャート。The flowchart of the reproduction | regeneration processing in FIG. 図2のCPUのタイマインタラプト処理のフローチャート。3 is a flowchart of timer interrupt processing of the CPU in FIG. 2. 図2のRAMにストアされているノートオンデータをグラフィックデータに変換する推移を示す図。The figure which shows the transition which converts the note-on data stored in RAM of FIG. 2 into graphic data. 図2のRAMのソングメモリの和音のノートオンデータを表示用レジスタ(1)にストアする例を示す図。The figure which shows the example which stores the note-on data of the chord of the song memory of RAM of FIG. 2 in the display register (1). 図2のRAMの表示用レジスタ(2)にストアされたデータに基づいて、表示部の鍵盤画像の上に表示された棒グラフを示す図。The figure which shows the bar graph displayed on the keyboard image of a display part based on the data stored in the display register (2) of RAM of FIG. 和音を構成していない複数のノートオンデータを1つのノートオンデータに統合する変更処理(2)を示す図。The figure which shows the change process (2) which integrates several note-on data which does not comprise the chord into one note-on data. 等間隔にならんだ同じ音高の連打の演奏データをグループ化してグラフ表示した例を示す図。The figure which shows the example which grouped and displayed the performance data of the continuous pitch of the same pitch which followed equal intervals, and displayed it as a graph.

符号の説明Explanation of symbols

1 CPU
3 ROM
4 RAM
5 表示制御部
6 鍵盤検出部
7 スイッチ検出部
8 音源部
9 サウンドシステム
101 表示部
110 鍵盤
1 CPU
3 ROM
4 RAM
DESCRIPTION OF SYMBOLS 5 Display control part 6 Keyboard detection part 7 Switch detection part 8 Sound source part 9 Sound system 101 Display part 110 Keyboard

Claims (6)

演奏に応じて記憶手段に記憶された曲のイベントデータを読み出して、当該イベントデータにおける任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差をグラフィックデータに変換して表示手段にグラフを表示するデータ読出手段と、
前記表示手段に表示されたグラフの時間差に対する修正の操作がされたときは、当該修正に応じてグラフィックデータを変更するデータ変更手段と、
前記データ変更手段によって変更されたグラフィックデータに応じて、前記イベントデータを修正して前記記憶手段に書き込むデータ書込手段と、
を備えた楽音編集装置。
The event data of the song stored in the storage means is read according to the performance, and the time difference between the sounding start timing of any note-on data in the event data and the sounding start timing of the next note-on data is converted into graphic data. Data reading means for displaying a graph on the display means;
When an operation for correcting the time difference of the graph displayed on the display means is performed, data changing means for changing graphic data in accordance with the correction;
In accordance with the graphic data changed by the data changing means, a data writing means for correcting the event data and writing it in the storage means;
Music editing device equipped with.
前記データ読出手段は、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間以内である場合には、当該後のノートオンデータを当該任意のノートオンデータに併合して1つのノートオンデータにして、当該1つのイベントデータをグラフィックデータに変換することを特徴とする請求項1に記載の楽音編集装置。   In the event data read from the storage means, the data reading means, when the time difference between the sounding start timing of any note-on data and the sounding start timing of the subsequent note-on data is within a predetermined time, 2. The musical tone editing apparatus according to claim 1, wherein the note-on data is merged with the arbitrary note-on data into one note-on data, and the one event data is converted into graphic data. 前記データ読出手段は、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を棒グラフの棒の高さで表すように、当該イベントデータをグラフィックデータに変換することを特徴とする請求項1に記載の楽音編集装置。   In the event data read from the storage means, the data reading means represents a time difference between the sounding start timing of any note-on data and the sounding start timing of the next note-on data by the height of the bar of the bar graph. 2. The musical sound editing apparatus according to claim 1, wherein the event data is converted into graphic data. 演奏に応じて記憶手段に記憶された曲のイベントデータを読み出して、当該イベントデータにおける任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差をグラフィックデータに変換して表示手段にグラフを表示するステップAと、
前記表示手段に表示されたグラフの時間差に対する修正の操作がされたときは、当該修正に応じてグラフィックデータを変更するステップBと、
前記ステップBによって変更されたグラフィックデータに応じて、前記イベントデータを修正して前記記憶手段に書き込むステップCと、
をコンピュータに実行させる演奏処理のプログラム。
The event data of the song stored in the storage means is read according to the performance, and the time difference between the sounding start timing of any note-on data in the event data and the sounding start timing of the next note-on data is converted into graphic data. Step A for displaying the graph on the display means,
When an operation for correcting the time difference of the graph displayed on the display means is performed, step B for changing graphic data in accordance with the correction;
In accordance with the graphic data changed in the step B, the step C of correcting the event data and writing it in the storage means;
A performance processing program that causes a computer to execute.
前記ステップAは、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから後のノートオンデータの発音開始タイミングとの時間差が所定時間以内である場合には、当該後のノートオンデータを当該任意のノートオンデータに併合して1つのノートオンデータとして、当該1つのイベントデータをグラフィックデータに変換することを特徴とする請求項に記載の楽音編集処理のプログラム。 In the event data read out from the storage unit, the step A is performed when the time difference between the sounding start timing of any note-on data and the sounding start timing of the subsequent note-on data is within a predetermined time. 5. The program of musical tone editing processing according to claim 4 , wherein the note-on data is merged with the arbitrary note-on data to be converted into one note-on data, and the one event data is converted into graphic data. 前記ステップAは、前記記憶手段から読み出したイベントデータにおいて、任意のノートオンデータの発音開始タイミングから次のノートオンデータの発音開始タイミングとの時間差を棒グラフの棒の高さで表すように、当該イベントデータをグラフィックデータに変換することを特徴とする請求項に記載の演奏処理のプログラム。 In step A, in the event data read from the storage means, the time difference between the sounding start timing of any note-on data and the sounding start timing of the next note-on data is represented by the bar height of the bar graph. 5. The performance processing program according to claim 4 , wherein the event data is converted into graphic data.
JP2006007040A 2006-01-16 2006-01-16 Music editing device and program for music editing processing Expired - Fee Related JP4774997B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006007040A JP4774997B2 (en) 2006-01-16 2006-01-16 Music editing device and program for music editing processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006007040A JP4774997B2 (en) 2006-01-16 2006-01-16 Music editing device and program for music editing processing

Publications (2)

Publication Number Publication Date
JP2007187950A JP2007187950A (en) 2007-07-26
JP4774997B2 true JP4774997B2 (en) 2011-09-21

Family

ID=38343150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006007040A Expired - Fee Related JP4774997B2 (en) 2006-01-16 2006-01-16 Music editing device and program for music editing processing

Country Status (1)

Country Link
JP (1) JP4774997B2 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0435172A (en) * 1990-05-25 1992-02-05 Sony Corp Control system
JP2526066Y2 (en) * 1990-07-17 1997-02-12 カシオ計算機株式会社 Performance information display device
JP2614532B2 (en) * 1990-08-17 1997-05-28 株式会社河合楽器製作所 Music data correction device
JP3350074B2 (en) * 1991-12-18 2002-11-25 松下電器産業株式会社 Electronic musical instrument
JPH0816161A (en) * 1994-06-30 1996-01-19 Roland Corp Performance analysis device
JP3588387B2 (en) * 1995-06-16 2004-11-10 ローランド株式会社 Performance display device
JP2745474B2 (en) * 1996-10-21 1998-04-28 ヤマハ株式会社 Parameter information setting device for electronic musical instruments
JP2001125566A (en) * 1999-10-27 2001-05-11 Casio Comput Co Ltd Performance training device and recording medium storing performance training processing program
JP3620396B2 (en) * 2000-03-24 2005-02-16 ヤマハ株式会社 Information correction apparatus and medium storing information correction program
JP3812510B2 (en) * 2002-08-08 2006-08-23 ヤマハ株式会社 Performance data processing method and tone signal synthesis method

Also Published As

Publication number Publication date
JP2007187950A (en) 2007-07-26

Similar Documents

Publication Publication Date Title
JP3058051B2 (en) Musical amusement system
US6031174A (en) Generation of musical tone signals by the phrase
JP4174940B2 (en) Karaoke equipment
US6878869B2 (en) Audio signal outputting method and BGM generation method
JP6402878B2 (en) Performance device, performance method and program
JP5014073B2 (en) Melody display control device and karaoke device
GB2220784A (en) "Electronic musical instrument with a tone parameter control function"
JP3563428B2 (en) Multimedia control device
JP4774997B2 (en) Music editing device and program for music editing processing
JP3684774B2 (en) Performance instruction device and medium recording program
JP4933910B2 (en) Karaoke equipment
JP2007093820A (en) Concert system
JP4029286B2 (en) Performance recording / reproducing apparatus and performance recording / reproducing program
JPH11126071A (en) Performance fingering device
JP4117596B2 (en) Automatic performance device and automatic performance method
JP3940999B2 (en) Performance device and performance method
JP4395618B2 (en) Performance support apparatus and performance support processing program
JP2006178268A (en) Musical sound control device and musical sound control program
JP3672178B2 (en) Musical amusement system
JP3672179B2 (en) Musical amusement system
JP3945307B2 (en) Performance guide method, apparatus thereof, and program
JP3404594B2 (en) Recording medium and music game apparatus
JP5549838B2 (en) Playback apparatus and program
JP2001195061A (en) Method and device for synchronous control
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080515

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100810

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101008

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4774997

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees