JP3346187B2 - Performance data editing device and medium storing performance data editing program - Google Patents

Performance data editing device and medium storing performance data editing program

Info

Publication number
JP3346187B2
JP3346187B2 JP28068296A JP28068296A JP3346187B2 JP 3346187 B2 JP3346187 B2 JP 3346187B2 JP 28068296 A JP28068296 A JP 28068296A JP 28068296 A JP28068296 A JP 28068296A JP 3346187 B2 JP3346187 B2 JP 3346187B2
Authority
JP
Japan
Prior art keywords
time signature
event data
data
time
performance data
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
JP28068296A
Other languages
Japanese (ja)
Other versions
JPH10124047A (en
Inventor
弘 宮本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP28068296A priority Critical patent/JP3346187B2/en
Publication of JPH10124047A publication Critical patent/JPH10124047A/en
Application granted granted Critical
Publication of JP3346187B2 publication Critical patent/JP3346187B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、リアルタイム記
録された演奏データが変拍子を含むとき、その拍子合わ
せを容易にした演奏データ編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a performance data editing apparatus for easily adjusting the time signature when performance data recorded in real time includes a time signature.

【0002】[0002]

【従来の技術】自動演奏するための演奏データを記録す
る方法として、ステップ記録方式とリアルタイム記録方
式がある。ステップ記録方式は、楽音を発音するための
ノートイベントデータや設定イベントデータなどを1つ
ずつマウスやパソコンキーボードなどを用いて記録して
ゆく方式である。また、リアルタイム記録方式は、演奏
用鍵盤などを実際に演奏してその演奏内容をリアルタイ
ムに記録してゆく方式である。演奏データを記録する装
置は、最初に拍子イベントデータを書き込んでおくと、
記録されるデータ列が自動的に1小節ごとに分割される
(1小節毎に小節線データが挿入される)ようになって
いる。
2. Description of the Related Art There are a step recording method and a real-time recording method as methods for recording performance data for automatic performance. The step recording method is a method in which note event data, setting event data, and the like for generating musical sounds are recorded one by one using a mouse, a personal computer keyboard, or the like. The real-time recording method is a method in which a performance keyboard or the like is actually played and the contents of the performance are recorded in real time. A device that records performance data first writes time signature event data,
The recorded data sequence is automatically divided into measures (measure line data is inserted for each measure).

【0003】ところで、曲のなかには曲全体で拍子が同
じでないものがある。たとえば、途中で拍子が変わる曲
や、一部区間だけ拍子が異なる変拍子の曲などがある。
このような曲を記録する場合、ステップ記録方式であれ
ば、拍子の変わる箇所で新たな拍子イベントデータを書
き込むことによって、以後の演奏データ列をその新たな
拍子に基づいて小節ごとに分割することができる。しか
し、リアルタイム記録方式で記録する場合には、演奏者
は拍子の変わる箇所であっても、演奏を中断して拍子イ
ベントデータを入力することができないため、そのまま
変わった拍子で演奏を続けることになる。このため、記
録された演奏データは拍子が変わった箇所以後で曲と拍
子、すなわち、実際の小節とデータ上で分割された小節
とが不一致になってしまう。
[0003] By the way, some tunes do not have the same time signature throughout the tune. For example, there are songs whose beats change in the middle and songs whose beats differ only in some sections.
When recording such a song, if the step recording method is used, new time signature event data is written at a location where the time signature changes, and the subsequent performance data sequence is divided into bars based on the new time signature. Can be. However, when recording using the real-time recording method, the performer cannot interrupt the performance and input the time signature event data even at the place where the time signature changes, so that the performance can be continued with the changed time signature. Become. For this reason, in the recorded performance data, the tune and the time signature, that is, the actual bar and the bar divided on the data, do not match after the point where the time signature has changed.

【0004】このような場合、リアルタイム記録したの
ちに、新たな拍子データを挿入して拍子を変更するなど
のエディットが必要になるが、従来の装置は、一旦記録
した拍子を変更できないものが多く、また、拍子を変更
できる装置であっても、4拍子のものを3拍子に変更し
たときは、各小節の4拍目(最後の1拍分)のノートイ
ベントデータを削除してしまうものや、3拍子のものを
4拍子に変更したときは、各小節の最後に1拍(4拍
目)を追加するものなど、各小節に含まれるノートイベ
ントデータの小節線に対する相対的な位置を移動させな
いで拍子のみ変更するようになっていた。
In such a case, editing such as changing the time signature by inserting new time signature data after real-time recording is required. However, conventional devices often cannot change the time signature once recorded. Even if the time signature can be changed, even if the time signature is changed from four to three, the note event data of the fourth beat (the last one) of each bar is deleted. When the time signature is changed from three to four, the relative position of the note event data included in each bar relative to the bar line, such as adding one beat (the fourth beat) at the end of each bar, is moved. Instead, only the time signature was changed.

【0005】[0005]

【発明が解決しようとする課題】このように各小節に含
まれるノートイベントデータの小節線に対する相対的な
位置を移動させないで、拍子のみ変更する方式はステッ
プ記録方式には適しているがリアルタイム記録方式で拍
子をエディットする場合には、演奏者の意図に反して、
必要なノートイベントデータが削除されたり、不必要な
拍が付加されてしまい、思いどおりの編集ができない欠
点があった。
The method of changing only the time signature without moving the relative position of the note event data contained in each bar with respect to the bar line as described above is suitable for the step recording system, but is real-time recording. When editing the time signature in a system, contrary to the performer's intention,
Necessary note event data was deleted or unnecessary beats were added, so that there was a disadvantage that editing could not be performed as desired.

【0006】この発明は、変拍子を含む演奏データ列を
リアルタイム記録したとき、その拍子合わせを容易にし
た演奏データ編集装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a performance data editing apparatus which facilitates time signature adjustment when a performance data string including a variable time signature is recorded in real time.

【0007】[0007]

【課題を解決するための手段】この発明は、1小節の拍
数を指定する拍子イベントデータと小節線を示す小節線
イベントデータを含む演奏データ列を記憶した記憶手段
と、前記演奏データ列の途中に新たな拍子イベントデー
タの書き込み、または、前記演奏データ列中の拍子イベ
ントデータの内容を変更する拍子変更手段と、該拍子変
更手段による新たな拍子イベントデータの書き込みまた
は拍子イベントデータの内容の変更に応じて、書き込み
または変更のあった拍子イベントデータ以降にある小節
線イベントデータの位置を修正する修正手段と、を備え
たことを特徴とする。また、1小節の拍数を指定する拍
子イベントデータを含む演奏データ列を記憶した記憶手
段と、前記演奏データ列の途中に新たな拍子イベントデ
ータの書き込み、または、前記演奏データ列中の拍子イ
ベントデータの内容を変更する拍子変更手段と、該拍子
変更手段による新たな拍子イベントデータの書き込みま
たは拍子イベントデータの内容の変更に応じて、後続す
る拍子イベントデータの移動量を算出する算出手段と、
前記算出手段の算出結果に基づいて前記後続する拍子イ
ベントデータの位置を修正する修正手段と、を備えたこ
とを特徴とする。
According to the present invention, there is provided a beat event data for designating the number of beats per bar and a bar line indicating a bar line.
Storage means for storing the performance data string including the event data, and time signature changes means the performance data of the new time signature event data in the middle of the column write, or modify the contents of the meter event data in the performance data string, in accordance with the change of the content of the writing or beat event data of a new time signature event data by該拍Ko changing means, writing
Or measures after the changed time signature event data
Correction means for correcting the position of the line event data . Also, a beat that specifies the number of beats in one bar
A memory device that stores a performance data string including child event data
And a new time signature event data in the middle of the performance data string.
Data or time signatures in the performance data string.
Time changing means for changing the content of the vent data;
Until new time signature event data is written
Or the time signature event data changes.
Calculating means for calculating the amount of movement of the beat event data,
Based on the calculation result of the calculating means,
Correction means for correcting the position of the vent data.
And features.

【0008】[0008]

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】また、この発明は、1小節の拍数を指定す
る拍子イベントデータを含む演奏データ列を記憶した記
憶手段と、前記演奏データ列の途中の変更点に新たな拍
子イベントデータを書き込むことによりまたは該変更点
に存在する拍子イベントデータの内容を変更することに
より該変更点以後次の拍子イベントデータまでの拍子を
それまでの旧拍子から前記新たな拍子イベントデータま
たは前記内容が変更された拍子イベントデータによって
指示される新拍子に変更する拍子変更手段と、該拍子変
更手段による拍子の変更に応じて前記変更点よりも後方
に記憶されている拍子イベントデータをサーチし旧拍子
における変更点から該サーチされた拍子イベントデータ
までの小節数と新拍子における変更点から該サーチされ
た拍子イベントまでの小節数とが等しくなるように該サ
ーチされた拍子イベントデータを移動させる拍子イベン
ト移動手段と、を備えたことを特徴とする。
Further , the present invention provides a storage means for storing a performance data string including time signature event data for designating the number of beats in one measure, and writing new time signature event data at a change point in the performance data string. Or by changing the content of the time signature event data existing at the change point, the time signature from the change point to the next time signature event data is changed from the previous time signature to the new time signature event data or the content is changed. Time change means for changing to a new time signature indicated by the time event data; and, according to the change of the time signature by the time change means, searching for the time signature event data stored after the change point, and the change in the old time signature. From the change in the number of measures and the new time signature from the time signature event data to the searched time signature event data, And meter events moving means for the number of bars and move meter event data the search so equal, characterized by comprising a.

【0014】[0014]

【0015】この発明では、最初に記録されている拍子
イベントデータに基づいて、記録された演奏データ列を
小節毎に分割する。ここで、分割とは実際にデータを割
って分離するのではなく、小節線位置に小節線データを
挿入したり、演奏データをエディット時などに表示する
ときに小節線位置を計算して小節線を表示したりする処
理のことである。曲の途中に新たな拍子イベントデータ
が書き込まれると、または、曲中の拍子イベントデータ
の内容が変更されると、その小節以後の上記小節毎の分
割を無効にして、この新たな(または内容が変更され
た)拍子イベントデータに基づいて再度小節毎に分割す
る。この処理は、前記拍子イベントデータが書き込まれ
たとき(内容が変更されたとき)即座に実行してもよ
く、上述の表示時に行ってもよい。これにより、演奏デ
ータ列をそのまま保存したまま、小節の分割を新たな拍
子に基づいてやり直すことができ、リアルタイム演奏に
よって演奏データを記録した場合の、拍子の変更や変拍
子区間の設定を容易にすることができる。
In the present invention , the recorded performance data sequence is divided into bars based on the beat event data recorded first. Here, division does not actually separate the data by dividing it, but calculates the bar line position when inserting bar line data at the bar line position or calculating the bar line position when displaying performance data at the time of editing etc. This is the process of displaying. If new time signature event data is written in the middle of a song, or if the content of the time signature event data in the song is changed, the division of each measure after that measure is invalidated, and the new (or new) Are re-divided for each bar based on the time signature event data. This processing may be executed immediately when the time signature event data is written (when the content is changed), or may be executed during the above-described display. This allows measures to be re-divided based on a new time signature while maintaining the performance data string as it is, making it easy to change the time signature and set the time signature section when recording performance data by real-time performance. can do.

【0016】また、複数の拍子イベントデータが書き込
まれている演奏データ列で複数の拍子イベントデータの
間に新たな拍子イベントデータを書き込んだ場合、また
は、途中の拍子イベントデータの内容を変更した場合に
は、この新たな(または内容が変更された)拍子イベン
トデータが書き込まれている小節から次の拍子イベント
データが書き込まれている小節までの変更区間につい
て、いままでの小節毎の分割を無効にして新たな拍子イ
ベントデータに基づく小節毎の分割を行う。これによ
り、拍子の設定を誤った場合や変拍子区間で拍子が元に
戻る小節の拍子イベントデータを先に入力しておき、変
拍子になる小節の拍子イベントデータを後から入力する
場合など効率的なエディットが可能になる。
[0016] Also, if written a new time signature event data between the plurality of time signature event data in the performance data string multiple time signature event data is written, or, change the contents of the middle of the time signature event data If this is done, the divided section for each measure up to this point will be used for the changed section from the measure in which the new (or content-changed) time signature event data is written to the measure in which the next time signature event data is written. Is invalidated and division is performed for each bar based on the new beat event data. This makes it possible to improve the efficiency, for example, when the time signature is set incorrectly or when the time signature event data of a measure that returns to the original time in the time signature section is input first, and the time signature event data of the measure that changes the time signature is input later. Editing becomes possible.

【0017】また、変更区間の小節毎の分割をやり直し
たとき、拍子の変更によって変更区間が伸縮するが(た
とえば、4小節の変更区間を4拍子から3拍子に変更し
た場合には「(3−4)×4)」で4拍縮むことにな
る。)、これに応じて後続の拍子イベントデータを移動
させるようにした。これにより、曲の途中の拍子が変更
されても以後の拍子イベントデータが自動的に正しい位
置にシフトされる。
When the division of the change section is re-divided for each measure , the change section expands and contracts due to the change of the beat (for example, when the change section of 4 measures is changed from 4 beats to 3 beats, "(3 -4) × 4) ", which would result in four beats. ), The subsequent time signature event data is moved accordingly. Thus, even if the time signature in the middle of the music is changed, the subsequent time event data is automatically shifted to the correct position.

【0018】また、新たな拍子イベントデータの書き込
みや拍子イベントデータの内容の変更によって旧拍子か
ら新拍子に拍子が変更されたとき、変更点からサーチさ
れた(次の)拍子イベントデータまでの小節数を数え、
この小節数が同じになるように前記サーチされた拍子イ
ベントデータを移動させるようにした。これにより、拍
子が変更されても新たに書き込まれたまたは内容が変更
された拍子イベントデータと以後の拍子イベントデータ
との位置関係が常に正しく保たれる。
[0018] In addition, when the time signature has been changed to the new time signature from the old beat by a change of the contents of the writing and time signature event data of a new time signature event data, were searched from changes measure up to the (next) time signature event data Count the number,
The searched beat event data is moved so that the number of measures is the same. As a result, even if the time signature is changed, the positional relationship between newly written or changed time signature event data and the subsequent time signature event data is always maintained correctly.

【0019】[0019]

【発明の実施の形態】図1はこの発明を適用した自動演
奏機能を備えた電子楽器のブロック図である。この電子
楽器は、演奏データファイル(演奏データ列)に基づい
て自動演奏をすることができるとともに、演奏データフ
ァイルを鍵盤20を用いてリアルタイム記録することが
できる。また、リアルタイム記録された演奏データファ
イルの拍子をエディット時に変更することができる。
FIG. 1 is a block diagram of an electronic musical instrument having an automatic performance function to which the present invention is applied. This electronic musical instrument can perform an automatic performance based on a performance data file (performance data string), and can record the performance data file in real time using the keyboard 20. The time signature of the performance data file recorded in real time can be changed at the time of editing.

【0020】図1において、電子楽器の全体動作を制御
するCPU10にはバスを介して、ROM11,RAM
12,タイマ13,外部記憶装置14,外部インタフェ
ース17,押鍵検出回路19,操作検出回路21,表示
回路23,音源回路24および効果回路25が接続され
ている。押鍵検出回路19には鍵盤20が接続されてい
る。操作検出回路21にはスイッチ群22およびマウス
15が接続されている。また、外部記憶装置としては、
ハードディスクドライブ,フロッピィディスクドライ
ブ,光ディスクドライブなど種々の装置を適用すること
ができる。また、外部インタフェース17としては、M
IDIインタフェースや通信インタフェースがある。ま
た、効果回路25にはサウンドシステム26が接続され
ている。
In FIG. 1, a CPU 11 for controlling the overall operation of the electronic musical instrument has a ROM 11 and a RAM via a bus.
12, a timer 13, an external storage device 14, an external interface 17, a key press detection circuit 19, an operation detection circuit 21, a display circuit 23, a sound source circuit 24, and an effect circuit 25 are connected. The keyboard 20 is connected to the key press detection circuit 19. The switch group 22 and the mouse 15 are connected to the operation detection circuit 21. Also, as an external storage device,
Various devices such as a hard disk drive, a floppy disk drive, and an optical disk drive can be applied. Further, as the external interface 17, M
There are an IDI interface and a communication interface. A sound system 26 is connected to the effect circuit 25.

【0021】ROM11はこの電子楽器の動作を制御す
るプログラムを記憶している。RAM12には、リアル
タイム録音された演奏データ列(演奏データファイル)
などを記憶する演奏データバッファ、拍子イベントレジ
スタb(i)、小節数レジスタn(i)などが設定され
る。外部記憶装置14は、複数の演奏データファイルを
記憶するエリアを備えており、前記RAM12との間で
演奏データファイルの読み出し・書き込みが行われる。
The ROM 11 stores a program for controlling the operation of the electronic musical instrument. A performance data string (performance data file) recorded in real time is stored in the RAM 12.
A performance data buffer for storing data, a time signature event register b (i), a bar number register n (i), and the like are set. The external storage device 14 has an area for storing a plurality of performance data files, and reads / writes the performance data files from / to the RAM 12.

【0022】なお、図4,図5に示すプログラムおよび
演奏データファイルは、ROM11,外部記憶装置14
のいずれの記憶媒体に記憶されていてもよく、外部記憶
装置14に記憶している場合には、RAM12に読み込
んで実行される。また、インタフェース17を介して外
部の電子楽器やコンピュータ等からプログラムや演奏デ
ータファイルを取り込み、外部記憶装置14やRAM1
2に記憶するようにしてもよい。タイマ13は、自動演
奏のテンポを制御するためのタイマであり、このタイマ
からの割り込みによって自動演奏が進行する。
The programs and performance data files shown in FIGS.
May be stored in any of the storage media described above, and when stored in the external storage device 14, the data is read into the RAM 12 and executed. In addition, a program or performance data file is fetched from an external electronic musical instrument, a computer, or the like via the interface 17, and is stored in the external storage device
2 may be stored. The timer 13 is a timer for controlling the tempo of the automatic performance, and the automatic performance proceeds by interruption from the timer.

【0023】鍵盤20は5オクターブ(61鍵)程度の
鍵数を有し、各鍵毎にオン/オフや押鍵速度,押鍵後の
押圧力を検出するスイッチ・センサを有している。これ
らのスイッチ・センサのオン/オフや検出値は押鍵検出
回路19が検出し、CPU10に入力する。リアルタイ
ム記録時には、この鍵盤20の演奏内容がリアルタイム
にRAM12の演奏データバッファに書き込まれるよう
になっている。スイッチ群22は、音色選択スイッチや
シフトキー,カーソルキーを含んでいる。また、マウス
15は、マウスボタンを備え、表示回路23に表示され
るカーソルを移動し、カーソルが指定するオブジェクト
を指定する機能を有する。
The keyboard 20 has a key number of about 5 octaves (61 keys), and has a switch sensor for detecting on / off, key pressing speed, and pressing force after key pressing for each key. The ON / OFF and detected values of these switches and sensors are detected by the key press detection circuit 19 and input to the CPU 10. At the time of real-time recording, the performance contents of the keyboard 20 are written to the performance data buffer of the RAM 12 in real time. The switch group 22 includes a tone color selection switch, a shift key, and a cursor key. The mouse 15 has a mouse button, and has a function of moving a cursor displayed on the display circuit 23 and specifying an object specified by the cursor.

【0024】音源回路24はCPU10から入力された
音色データ,音高データなどの発音データに基づいて楽
音信号を形成する回路である。音源回路24が形成した
楽音信号は効果回路25に入力される。効果回路25は
楽音信号に対してリバーブなどの効果を付与する。効果
回路25によって効果を付与された楽音信号はサウンド
システム26に入力される。サウンドシステム26は入
力されたディジタルの楽音信号をアナログ信号に変換し
たのち増幅して放音する。
The tone generator 24 is a circuit for forming a tone signal based on tone data such as tone data and pitch data input from the CPU 10. The tone signal generated by the tone generator 24 is input to the effect circuit 25. The effect circuit 25 gives an effect such as reverb to the tone signal. The tone signal provided with the effect by the effect circuit 25 is input to the sound system 26. The sound system 26 converts the input digital tone signal into an analog signal, and then amplifies and emits the sound.

【0025】図2は演奏データファイル(演奏データ
列)の構成を示す図である。演奏データは、ノートオン
イベントとノートオフイベントからなり演奏内容を示す
ノートイベントデータ,小節線データ,拍子イベントデ
ータおよび各イベントデータや小節線データの発生タイ
ミングの時間的間隔を示すデュレーションデータからな
っている。小節線データは、1つの小節線データと次の
小節線データとで挟まれる区間のデュレーションデータ
の値の合計が1小節の長さになるように、拍子イベント
データが示す拍子に基づいて演奏データファイルに挿入
される。デュレーションデータはたとえば4分音符を4
80カウントとしてカウントするカウント値のデータで
表され、この場合、4/4拍子であれば1小節は192
0カウントとなる。拍子イベントデータは、常に小節線
データと対をなし、演奏データエディット時には小節線
の位置にのみ挿入可能となっている。なお、拍子イベン
トデータは全ての小節に書き込んでおく必要はなく、拍
子を変更する小節に書き込めば、以後新たな拍子イベン
トデータが書き込まれている小節に到達するまではその
拍子が維持される。
FIG. 2 is a diagram showing the structure of a performance data file (performance data string). The performance data is composed of note-on events and note-off events, and is composed of note event data indicating the contents of the performance, bar line data, time signature event data, and duration data indicating the time intervals of the generation timing of each event data and bar line data. I have. The measure data is based on the beat data indicated by the time signature event data so that the sum of the values of the duration data of the section sandwiched between one measure line data and the next measure line data becomes one measure. Inserted into the file. The duration data is, for example, four quarter notes.
It is represented by count value data counted as 80 counts. In this case, if the time is 4/4, one bar is 192.
It becomes 0 count. The beat event data is always paired with the bar line data, and can be inserted only at the bar line position during performance data editing. It is not necessary to write the time signature event data in all the bars. If the time signature event data is written in the bar for which the time signature is to be changed, the time signature is maintained until the bar in which new time signature event data is written.

【0026】図3は拍子イベントデータが挿入された場
合、または、既に書き込まれている拍子イベントデータ
が変更された場合の小節線データの移動の態様を示す図
である。同図(A)は全体が4/4拍子で書き込まれて
いる状態を示している。同図(B)は、同図(A)の演
奏データ列を途中のaの位置から3/4拍子に変更した
場合を示している。このように途中から拍子を変更して
も、イベントデータは移動せず小節線が移動(新たに設
定しなおし)される。このような変更は、途中で拍子の
変わる曲などをリアルタイム記録した場合に、リアルタ
イム記録ののちのエディット時に行われる。また、同図
(C)は3/4拍子に変更された演奏データの途中に再
度4/4拍子の拍子イベントデータを書き込んで4/4
拍子に変更する例を示している。このようなエディット
は、4拍子の曲の中に3拍子の変拍子区間を設ける場合
などに行われる。
FIG. 3 shows how bar line data is moved when time signature event data is inserted or when time signature event data already written is changed. FIG. 7A shows a state where the whole is written in 4/4 time signature. FIG. 7B shows a case where the performance data string in FIG. 7A is changed from a position a in the middle to 3/4 time signature. Even if the time signature is changed in the middle, the bar line is moved (newly set) without moving the event data. Such a change is made at the time of editing after the real-time recording when a song or the like whose time signature changes in the middle is recorded in real time. Also, FIG. 4C shows that the 4/4 time signature event data is written again in the middle of the performance data changed to 3/4 time.
An example of changing the time signature is shown. Such editing is performed, for example, in a case where a three-beat time signature section is provided in a four-beat music.

【0027】また、同図(D)は、同図(A)の演奏デ
ータ列のa小節線位置に3/4拍子の拍子イベントデー
タを挿入すべきところを誤って4/4拍子のイベントデ
ータを書き込んでしまった場合の例を示す。元々4/4
拍子であったところに、誤って4/4拍子と入力してし
まったため、全く小節線が変更されていない。このの
ち、同図(C)の場合と同様に、演奏者は、bの位置に
4/4拍子の拍子イベントデータを挿入しているが(同
図(E))、拍子イベントデータは小節線の位置にしか
挿入できないため、装置が自動的にb′の位置にこの4
/4拍子の拍子イベントデータを移動させている。
FIG. 3D shows that the event data of the 3/4 meter should be erroneously inserted at the position of the bar a in the performance data sequence of FIG. Here is an example of the case in which is written. Originally 4/4
Because the time signature was incorrectly entered as 4/4 time signature, the bar line has not been changed at all. Thereafter, as in the case of FIG. 9C, the player inserts time event data of 4/4 time at the position b (FIG. 10E). Can be inserted only at the position b, the device is automatically placed at the position b '.
Time event data of / 4 time is shifted.

【0028】aの位置に挿入する拍子イベントデータの
内容を誤ることでこのようなずれが生じるが、aの位置
の拍子イベントデータを3/4拍子に修正することによ
り、同図(F)のように同図(C)と同様の正しい小節
割りにすることができる。同図(E)において、aの位
置から次の拍子イベントデータがあるb′の位置までの
間隔は3小節であるため、aの拍子イベントデータを3
拍子に修正しても3小節後に次の4/4拍子の拍子イベ
ントデータが書き込まれる。その結果4/4拍子の拍子
イベントデータは正しいbの位置に移動する。このよう
に、誤った拍子イベントデータをセットした場合でもも
とにもどすことができる。なお、同図(D),(E),
(F)のように挿入する拍子イベントデータを誤った場
合に正しい内容に修正する場合だけでなく、拍子イベン
トデータを挿入し忘れ、後から拍子イベントをaの位置
に挿入するような場合にも適用することができる。
Such a shift occurs due to an error in the content of the time signature event data to be inserted at the position a. However, by correcting the time signature event data at the position a to 3/4 time signature, the data shown in FIG. In this manner, the correct bar division as shown in FIG. In FIG. 10E, the interval from the position a to the position b 'where the next time signature event data is located is 3 bars, so that the time signature event data of a is 3
Even if the beat is corrected, the beat event data of the next 4/4 beat is written after three measures. As a result, the beat event data of the 4/4 beat moves to the correct b position. In this way, even if incorrect beat event data is set, it can be restored. In addition, the same figure (D), (E),
Not only when the time signature event data to be inserted is erroneously corrected as shown in (F) but also when the time signature event data is forgotten to be inserted and the time signature event is later inserted at the position a. Can be applied.

【0029】図4、図5は同電子楽器の動作を示すフロ
ーチャートである。図6は小節線データ削除と挿入の手
順を示す図である。
FIGS. 4 and 5 are flowcharts showing the operation of the electronic musical instrument. FIG. 6 is a diagram showing the procedure of bar line data deletion and insertion.

【0030】図4,図5は、エディットモードにおける
拍子イベントデータを挿入または変更する動作を示して
いる。まず拍子を変更する先頭の小節を指定する(s
1)。実際にはその小節の先頭の小節線を指定すること
になる。この小節線には拍子イベントデータが既に書き
込まれていてもいなくてもよい。そしてこの小節から始
まる新たな拍子イベントデータを入力する(s2)。そ
して演奏データから拍子イベントデータをサーチすると
き用いるポインタiに0をセットする(s3)。上記拍
子を変更する先頭の小節以後の拍子イベントデータをサ
ーチする(s5)。1小節ずつサーチしてゆき、あった
場合には、この拍子イベントデータまでの小節数をn
(i)に記憶する(s6)。そして、iに1を加算して
サーチされた拍子イベントデータをb(i)に記憶する
(s8)。この動作を曲が終了するまで繰り返し(s
9)、各拍子イベントデータ間の小節数をカウントす
る。曲が終了すると、最後の小節数レジスタn(i)に
ffをセットする。ffは255を表す値であるが、こ
れは曲の終了までを表す。
FIGS. 4 and 5 show an operation of inserting or changing beat event data in the edit mode. First, specify the first measure whose time signature is to be changed (s
1). Actually, the bar line at the beginning of the bar is specified. The bar event data may or may not be already written in this bar line. Then, new beat event data starting from this bar is input (s2). Then, 0 is set to a pointer i used when searching for beat event data from the performance data (s3). The time signature event data after the first measure for changing the time signature is searched (s5). The search is performed one measure at a time, and if found, the number of measures up to this time signature event data is set to n.
It is stored in (i) (s6). Then, the beat event data searched by adding 1 to i is stored in b (i) (s8). This operation is repeated until the song ends (s
9) The number of measures between each beat event data is counted. When the song ends, ff is set in the last bar number register n (i). ff is a value representing 255, which represents until the end of the music.

【0031】上記サーチ動作が終了すると、まず、s1
で指定された小節の小節線にs2で入力された拍子イベ
ントデータを書き込み(s11)、iの値を判断する
(s12)。i=0であれば拍子変更以後に拍子イベン
トデータがない(図3(A)参照)ことを示しているた
め、変更小節以後をサーチしていままでの小節線データ
を消去して(s13)、変更された拍子にしたがって新
たな小節線データを挿入する(s14)。これを曲の終
了が検出されるまで(s15)繰り返す。
When the search operation is completed, first, s1
The time signature event data input at s2 is written to the bar of the bar specified by (s11), and the value of i is determined (s12). If i = 0, it indicates that there is no beat event data after the beat change (see FIG. 3A), so that the bar after the changed bar is searched and the bar line data thus far is deleted (s13). Then, new bar line data is inserted according to the changed time signature (s14). This is repeated until the end of the music is detected (s15).

【0032】小節線データの削除と挿入の方式を図6を
参照して説明する。同図(A)は、小節線データの削除
の例を示している。同図において、○はイベントデー
タ、|は小節線データ、弓形はデュレーションデータで
あり、左にあるものから順に演奏データ列として記憶さ
れている。このうち小節線データBを削除する場合に
は、まず、この小節線データBを削除し、その前後のイ
ベントデータI−1,I−2との間のデュレーションデ
ータD−1,D−2を加算したデュレーションデータを
1つだけI−1,I−2の間に書き込んで修正する。す
なわちデータが2つ少なくなる。
A method of deleting and inserting bar line data will be described with reference to FIG. FIG. 11A shows an example of deleting bar line data. In the figure, ○ represents event data, | represents bar line data, and bow represents duration data, which are stored as performance data strings in order from the left. When the bar line data B is to be deleted, the bar line data B is deleted first, and the duration data D-1 and D-2 between the event data I-1 and I-2 before and after the bar line data B are deleted. Only one added duration data is written between I-1 and I-2 and corrected. That is, the data is reduced by two.

【0033】また、同図(B)は小節線データを挿入す
る場合を示している。イベントデータI−3,I−4の
間に小節線データが挿入される場合、その間のデュレー
ションデータDを小節線位置に応じてD−3,D−4に
分割し(2つのデュレーションデータを生成し)、その
間に小節線データBを挿入する。すなわちデータが2つ
増加する。なお、各小節線データは、直前の小節線デー
タと今回の小節線データとの間に存在するデュレーショ
ンデータの値の合計が1小節分のカウント値となるよう
に演奏データ列中に挿入される。
FIG. 3B shows a case where bar line data is inserted. When bar data is inserted between the event data I-3 and I-4, the duration data D between the event data I-3 and I-4 is divided into D-3 and D-4 according to the bar line position (two pieces of duration data are generated). Then, bar line data B is inserted in the meantime. That is, the data increases by two. Each measure line data is inserted into the performance data sequence so that the total value of the duration data existing between the immediately preceding measure line data and the present measure line data becomes a count value for one measure. .

【0034】一方i>0の場合には、カウンタjに0を
セットし(s20)、b(j)の区間を編集する(s2
1〜s23)。まず、現在の位置以後に存在する今まで
の小節線データを消去し(s21)、拍子b(j)に従
って小節線データを挿入する(s22)。挿入した小節
数がn(j)に記憶されている小節数になった場合に
は、この拍子の小節数分の小節線データの挿入が終了し
たとして(s23)、jに1を加算する(s24)。そ
して、この新たなb(j)の区間の先頭に拍子イベント
データb(j)を書き込み(s25)、このjの区間の
小節数n(j)がffであるか否かを判断する(s2
6)。ffでなければs21にもどって同様の動作を繰
り返す。n(j)がffであればこれが最後の拍子イベ
ントデータであるため、いままでの小節線データを消去
し(s27)、拍子b(j)にしたがって小節線データ
を挿入する(s28)。これを曲が終了するまで繰り返
して(s29)動作を終える。
On the other hand, when i> 0, the counter j is set to 0 (s20), and the section of b (j) is edited (s2).
1 to s23). First, the current bar line data existing after the current position is deleted (s21), and bar line data is inserted according to the time signature b (j) (s22). When the number of inserted bars reaches the number of bars stored in n (j), it is determined that the insertion of the bar line data for the number of bars of this time signature is completed (s23), and 1 is added to j ( s24). Then, the time signature event data b (j) is written at the beginning of the new section of b (j) (s25), and it is determined whether or not the number of measures n (j) in the section of j is ff (s2).
6). If not ff, return to s21 and repeat the same operation. If n (j) is ff, this is the last time signature event data, so the bar line data so far is deleted (s27), and bar line data is inserted according to the time signature b (j) (s28). This operation is repeated until the music ends (s29), and the operation ends.

【0035】以上の動作により、ノートイベントデータ
を移動させずに拍子のみの変更が可能になる。また、新
たに挿入(修正)された拍子イベントデータの後に拍子
イベントデータがある場合には、挿入(修正)前の小節
数に合わせてこの後の拍子イベントデータが書き込まれ
るため、ずれて記憶されていた場合でも正しい位置に補
正することができる。上記実施形態ではaの位置の拍子
イベントデータを4拍子から3拍子に修正したためb′
からbの位置に手前に移動したが、拍数の多い拍子に修
正した場合には、後ろ方向に移動し、正しい位置にな
る。
With the above operation, it is possible to change only the time signature without moving the note event data. If there is time signature event data after the newly inserted (corrected) time signature event data, the subsequent time signature event data is written according to the number of measures before the insertion (correction), so that the time signature data is shifted and stored. Can be corrected to the correct position. In the above embodiment, the time signature event data at the position a is modified from four to three.
The position has been moved to the position of b from the front, but if the time is corrected to a time signature with a large number of beats, the position is moved backward and becomes the correct position.

【0036】また、上記実施形態では、拍子イベントデ
ータに基づいて演奏データファイル中に小節線データを
挿入・削除する例について説明したが、小節線データを
持たない演奏データファイルにもこの発明を適用するこ
とができる。すなわち、演奏データのエディット時に五
線譜などの形式で表示するときに小節線を画面上のみで
生成するようにしてもよい。この場合には、表示用のビ
ットマップパターンを生成するとき、拍子イベントデー
タに基づいて小節線タイミングを計算してそのタイミン
グに対応する位置に小節線のビットマップパターンを挿
入する。また、途中で拍子が変更された場合には、それ
に合わせて小節線のビットマップパターンを移動させ
る。
In the above-described embodiment, an example has been described in which measure line data is inserted / deleted in a performance data file based on time signature event data. However, the present invention is also applicable to a performance data file having no measure line data. can do. That is, the bar lines may be generated only on the screen when the performance data is displayed in a format such as a staff when editing the performance data. In this case, when generating the display bitmap pattern, the bar timing is calculated based on the beat event data, and the bar bit pattern of the bar is inserted at a position corresponding to the timing. If the time signature is changed in the middle, the bar map pattern of the bar line is moved accordingly.

【0037】また、拍子イベントデータの変更に応じ
て、後続する拍子イベントデータのみを移動することも
できる。この場合の装置の動作を図7〜図9のフローチ
ャートおよび図10の移動例を参照して説明する。
Further, according to the change of the beat event data, only the succeeding beat event data can be moved. The operation of the apparatus in this case will be described with reference to the flowcharts of FIGS. 7 to 9 and the movement example of FIG.

【0038】図7は拍子イベント変更のメイン動作であ
る。まず、利用者によって拍子を変更すべき拍子イベン
トデータが指定される(s31)。指定されると、この
指定された拍子イベントデータの内容(拍子)を一時記
憶し(s32)、利用者によって指示された拍子にこの
拍子イベントデータの内容を変更する(s33)。そし
て、次の拍子イベントデータをサーチし(s34)、発
見された場合には、この拍子イベントデータの移動量を
算出し(s36:図8)、前記発見された拍子イベント
データをこの移動量だけ移動する(s37:図9)。後
続する全ての拍子イベントデータをこの移動量だけ移動
したのち(s38,s39)、動作を終了する。なお、
拍子イベントデータが後方に移動する場合、前の拍子イ
ベントデータを移動させた結果、まだ移動していない後
の拍子イベントデータよりも後ろになった場合でも、s
37ではこの追い越された後の拍子イベントデータが次
のサーチの対象となる。
FIG. 7 shows the main operation of changing the time signature event. First, the user specifies beat event data whose beat is to be changed (s31). When specified, the content (time signature) of the specified time event data is temporarily stored (s32), and the content of the time event data is changed to the time specified by the user (s33). Then, the next meter event data is searched (s34), and if found, the amount of movement of the meter event data is calculated (s36: FIG. 8). It moves (s37: FIG. 9). After moving all subsequent time signature event data by this movement amount (s38, s39), the operation is terminated. In addition,
If the time signature event data moves backward, even if the result of moving the previous time signature event data is later than the time signature event data that has not yet moved, s
At 37, the beat event data after this overtaking is targeted for the next search.

【0039】図8は前記移動量算出動作を示すフローチ
ャートである。まず、拍子の変更が指定された拍子イベ
ントデータとs34の動作で発見された拍子イベントデ
ータの間の時間ΔT1(図10参照)を算出する(s4
1)。この算出は両イベントの間に存在する全てのデュ
レーションデータΔtを累算することによって行う。そ
して、s32で一時記憶した変更前の拍子による1小節
の時間Δt1に基づいて前記ΔT1の小節数Nを求める
(s42)。これは「N=ΔT1/Δt1」で求めるこ
とができる。次に変更後の拍子による1小節の時間Δt
2で小節を進行した場合の上記求められた小節数までの
時間ΔT2を求める(s43)。これは「ΔT2=N×
Δt2」で求めることができる。そして、ΔT2からΔ
T1を減算することによって拍子イベントデータの移動
量ΔMを算出する(s44)。なお、上記動作ではN小
節分の時間(ΔT2,ΔT1)を求めたのちこれを減算
して移動量を求めたが、1小節分の時間の差(Δt2−
Δt1)を求めてこれをN倍して移動量を求めるように
してもよい。
FIG. 8 is a flowchart showing the movement amount calculating operation. First, a time ΔT1 (see FIG. 10) between the beat event data for which the change of the beat is designated and the beat event data found by the operation of s34 is calculated (s4).
1). This calculation is performed by accumulating all duration data Δt existing between both events. Then, based on the time Δt1 of one measure based on the pre-change time signature temporarily stored in s32, the measure number N of ΔT1 is obtained (s42). This can be obtained by “N = ΔT1 / Δt1”. Next, the time Δt of one measure based on the changed beat
The time ΔT2 up to the above-obtained number of measures when the measure is advanced in 2 is obtained (s43). This is expressed as “ΔT2 = N ×
Δt2 ”. Then, from ΔT2 to Δ
The movement amount ΔM of the beat event data is calculated by subtracting T1 (s44). In the above operation, the movement amount was obtained by calculating the time (ΔT2, ΔT1) for N measures, and then subtracting the time. However, the time difference (Δt2-
Δt1) may be obtained and multiplied by N to obtain the movement amount.

【0040】図9は前記拍子イベント移動処理を示すフ
ローチャートである。移動すべき拍子イベントデータの
位置から移動量ΔMだけ移動した時刻を挟むイベントデ
ータ、すなわち、移動先の時刻よりも早い時刻のイベン
トA(図10参照、以下同じ)と大きい時刻または同じ
時刻のイベントBをサーチする(s51)。そして、こ
れらイベントA,イベントBの間に移動された拍子イベ
ントデータを挿入する(s52)。そしてこの移動され
た拍子イベントデータのデュレーションデータ(直前の
イベントからこのイベントまでの時間)Δdを算出して
設定する(s53)。このΔdは「Δd=(BのΔd)
−(ΔM−(Bの位置〜拍子の元位置のΔd))」で算
出することができる。そして、この移動された拍子イベ
ントデータの直後のイベントデータであるイベントBに
対応するデュレーションデータを修正する(s56)。
この修正は「BのΔd=(Bの元のΔd)−(拍子イベ
ントのΔd)」で算出することができる。また、移動し
た拍子イベントデータの元の位置の次にある拍子イベン
トデータのデュレーションデータΔdを修正する(s5
7)。これは拍子イベントデータが抜けたのであるか
ら、「次のイベントのΔd=元の次のイベントのΔd+
元の拍子のΔd」で算出することができる。こののち、
元の拍子イベントデータおよびこれに対応するデュレー
ションデータを削除して(s58)、動作を終了する。
FIG. 9 is a flowchart showing the beat event moving process. Event data sandwiching the time moved by the movement amount ΔM from the position of the beat event data to be moved, that is, an event having a time larger than or the same as the event A (see FIG. 10, the same applies hereinafter) earlier than the movement destination time B is searched (s51). Then, the beat event data moved between the event A and the event B is inserted (s52). Then, the duration data (time from the immediately preceding event to this event) Δd of the moved beat event data is calculated and set (s53). This Δd is expressed as “Δd = (Δd of B)
− (ΔM− (position of B to Δd of original position of beat)) ”. Then, the duration data corresponding to the event B, which is the event data immediately after the moved beat event data, is corrected (s56).
This correction can be calculated by “Δd of B = (original Δd of B) − (Δd of beat event)”. Further, the duration data Δd of the beat event data following the original position of the moved beat event data is corrected (s5).
7). This is because the time signature event data has been omitted, so “Δd of the next event = Δd of the original next event +
Δd of the original time signature ”. After this,
The original time signature event data and the corresponding duration data are deleted (s58), and the operation ends.

【0041】図11は演奏データファイルを五線譜に表
示した例を示している。同図(A)が全てを4/4拍子
として表示した例であり、同図(B)が途中の4小節の
みを3/4拍子に変更した例である。このように音符の
配列は全く変更されずに小節線のみが移動しており、リ
アルタイム記録時の変拍子区間の設定などを正しく行う
ことができる。
FIG. 11 shows an example in which a performance data file is displayed in a staff notation. FIG. 7A shows an example in which all the beats are displayed in 4/4 time, and FIG. 7B shows an example in which only the middle four bars are changed to 3/4 time. As described above, the arrangement of the notes is not changed at all, and only the bar line is moved, so that the setting of the time-varying section at the time of real-time recording can be performed correctly.

【0042】なお、上記実施形態は、自動演奏機能を備
えた電子楽器について説明したが、この発明は、パーソ
ナルコンピュータでアプリケーションプログラムを動作
させる形態で実現することもできる。この場合におい
て、アプリケーションプログラムは磁気ディスク,光デ
ィスク,半導体メモリ等の記憶媒体に記憶して、パーソ
ナルコンピュータ等の本体装置に供給するようにしても
よいし、ネットワークを介して外部装置から供給するよ
うにしてもよい。
Although the above embodiment has been described with reference to an electronic musical instrument having an automatic performance function, the present invention can also be realized in a form in which an application program is operated by a personal computer. In this case, the application program may be stored in a storage medium such as a magnetic disk, an optical disk, or a semiconductor memory and supplied to a main device such as a personal computer, or supplied from an external device via a network. You may.

【0043】また、上記電子楽器は、音源装置,自動演
奏装置等を一体に内蔵した構成になっているが、それぞ
れを別体の装置として構成し、MIDIインタフェース
や各種ネットワーク等の通信手段を用いてそれぞれの装
置を接続するように構成してもよい。
The electronic musical instrument has a configuration in which a sound source device, an automatic performance device, and the like are integrally incorporated. However, each of the electronic musical instruments is configured as a separate device, and a communication means such as a MIDI interface or various networks is used. May be configured to connect the respective devices.

【0044】上記実施形態では、楽音の発音・消音を制
御するノートデータとしてノートオンイベント,ノート
オフイベントを別々に記憶するようにしているが、これ
に限らず、発音開始タイミングLocation,発音
時間であるゲートタイムGTで記述するようにしてもよ
い。また、演奏データのフォーマットは、「イベント+
相対時間」、「イベント+絶対時間」、「音高+符
長」、「ベタ方式」等どのような形式でもよい。また、
リアルタイム記録した演奏データのみならず、ステップ
記録方式により記録した演奏データに拍子イベントデー
タを挿入または修正するものにも適用することができ
る。
In the above embodiment, the note-on event and the note-off event are separately stored as the note data for controlling the tone on / off of the musical tone. However, the present invention is not limited to this. It may be described by a certain gate time GT. The format of the performance data is "event +
Any format such as “relative time”, “event + absolute time”, “pitch + note length”, and “solid method” may be used. Also,
The present invention can be applied not only to performance data recorded in real time but also to data in which beat event data is inserted or corrected in performance data recorded by a step recording method.

【0045】自動演奏データは、複数チャンネル(パー
ト)のものであってもよい。このとき、複数のチャンネ
ルのデータが混在した形式であってもよいし、各チャン
ネルのデータがトラック毎に別れているようなて形式で
あってもよい。
The automatic performance data may be of a plurality of channels (parts). At this time, a format in which data of a plurality of channels are mixed may be used, or a format in which data of each channel is separated for each track may be used.

【0046】また、音源回路の方式は、波形メモリ方
式,FM方式、物理モデル方式、高調波合成方式、フォ
ルマント合成方式、VCO+VCF+VCAのアナログ
シンセサイザ方式等どのような方式であってもよい。ま
た、音源回路は、専用のハードウェアを用いて構成した
ものに限らず、DSP+マイクロプログラムを用いて構
成したもの、CPU+音源アプリケーションプログラム
でソフト的に音源回路を構成するようにしてもよい。ま
た、1つの回路を時分割で使用することによって複数の
発音チャンネルを形成するようなものでもよいし、1つ
の発音チャンネルが1つの回路で構成されるような形式
のものであってもよい。
The sound source circuit may be of any type such as a waveform memory system, an FM system, a physical model system, a harmonic synthesis system, a formant synthesis system, and an analog synthesizer system of VCO + VCF + VCA. Further, the tone generator circuit is not limited to the one configured using dedicated hardware, and may be configured using a DSP + microprogram, or may be configured as a software using a CPU + sound application program. A plurality of sound channels may be formed by using one circuit in a time-division manner, or a structure in which one sound channel is constituted by one circuit may be used.

【0047】[0047]

【発明の効果】以上のようにこの発明によれば、記録さ
れた演奏データ列を小節毎に分割する。曲(演奏データ
列)の途中に拍子イベントデータを挿入して拍子を変更
しても演奏データ列をそのまま保存して小節の分割のみ
やりなおすことにより、リアルタイム演奏によって演奏
データを記録した場合の拍子の変更や変拍子区間の設定
を容易にすることができる。
As described above, according to the present invention , the recorded performance data sequence is divided into bars. Even if the time signature is changed by inserting time signature event data in the middle of a song (performance data sequence), the performance data sequence is saved as it is, and only the measure division is performed again. This makes it easy to change or set a time signature section.

【0048】また、新たに挿入・修正した拍子イベント
データから次の拍子イベントデータまでの一部区間の拍
子の変更も演奏データ列をそのまま保存して小節の分割
のみをやりなおすようにしたことにより、拍子の設定を
誤ったや変拍子区間で拍子が元に戻る小節の拍子イベン
トデータを先に入力しておき、変拍子になる小節の拍子
イベントデータを後から入力する場合など効率的なエデ
ィットが可能になる。
[0048] Also, it has to restart the only division of the bar also beat of change of some sections from the time signature event data has been inserted or modify new valley until the next time signature event data to save the performance data column as it is This is effective when the time signature setting data is incorrect or the time signature event data of a measure that returns to the original time in a time signature section is input first, and the time signature event data of the measure that changes the time signature is input later. Editing becomes possible.

【0049】また、上記発明によって変更区間の拍子を
変更することによって変更区間が伸縮しても、これに応
じて後続の拍子イベントデータを移動させるようにした
ことにより、常に後続の拍子イベントデータを正しい位
置に書き込んでおくことができる。
[0049] Further, even if expansion and contraction change portion by changing the time signature change portion by the upper Symbol invention, by which to move the subsequent beat event data in response thereto, always subsequent time signature event data Can be written in the correct position.

【0050】また、新たな拍子イベントデータの書き込
みや拍子イベントデータの内容の変更によって旧拍子か
ら新拍子に拍子が変更された場合でも、各拍子イベント
データ間の小節数が常に同じに保たれるため、拍子が変
更されても拍子イベントデータの間隔を常に正しく保つ
ことができる。
[0050] In addition, even if that has changed is the time signature to the new time signature from the old beat by a change of the contents of the writing and time signature event data of a new time signature event data, always the same kept the number of bars between each beat event data Therefore, even if the time signature is changed, the time interval between the time signature event data can always be kept correct.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の実施形態である自動演奏機能を備え
た電子楽器のブロック図
FIG. 1 is a block diagram of an electronic musical instrument having an automatic performance function according to an embodiment of the present invention.

【図2】同電子楽器で用いられる演奏データファイルの
例を示す図
FIG. 2 shows an example of a performance data file used in the electronic musical instrument.

【図3】同演奏データファイルの拍子イベントデータの
挿入の例を示す図
FIG. 3 is a diagram showing an example of inserting time signature event data in the performance data file;

【図4】同電子楽器の動作を示すフローチャートFIG. 4 is a flowchart showing the operation of the electronic musical instrument.

【図5】同電子楽器の動作を示すフローチャートFIG. 5 is a flowchart showing the operation of the electronic musical instrument.

【図6】同電子楽器において拍子イベントデータの挿入
・削除の手順を示す図
FIG. 6 is a diagram showing a procedure of inserting and deleting beat event data in the electronic musical instrument.

【図7】同電子楽器の他の動作例を示すフローチャートFIG. 7 is a flowchart showing another operation example of the electronic musical instrument.

【図8】同電子楽器の他の動作例を示すフローチャートFIG. 8 is a flowchart showing another operation example of the electronic musical instrument.

【図9】同電子楽器の他の動作例を示すフローチャートFIG. 9 is a flowchart showing another operation example of the electronic musical instrument.

【図10】同拍子イベントデータの移動例を示す図FIG. 10 is a diagram showing a movement example of the same time event data.

【図11】同電子楽器における演奏データファイルの表
示例を示す図
FIG. 11 is an exemplary view showing a display example of a performance data file in the electronic musical instrument.

【符号の説明】[Explanation of symbols]

10…CPU、11…ROM、12…RAM、15…マ
ウス、22…スイッチ群、23…表示回路
10 CPU, 11 ROM, 12 RAM, 15 mouse, 22 switch group, 23 display circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1小節の拍数を指定する拍子イベントデ
ータと小節線を示す小節線イベントデータを含む演奏デ
ータ列を記憶した記憶手段と、 前記演奏データ列の途中に新たな拍子イベントデータの
書き込み、または、前記演奏データ列中の拍子イベント
データの内容を変更する拍子変更手段と、 該拍子変更手段による新たな拍子イベントデータの書き
込みまたは拍子イベントデータの内容の変更に応じて、
書き込みまたは変更のあった拍子イベントデータ以降に
ある小節線イベントデータの位置を修正する修正手段
、 を備えたことを特徴とする演奏データ編集装置。
1. A storage means for storing a performance data string including time signature event data for specifying the number of beats in one measure and measure line event data indicating a measure line , and a new time signature event data in the middle of the performance data string. Writing or changing the content of the time signature event data in the performance data sequence; and changing the content of the time signature event data by writing new time signature event data or changing the content of the time signature event data by the time signature changing device.
After the written or changed beat event data
Correction means for correcting the position of certain bar event data
When performance data editing apparatus characterized by comprising a.
【請求項2】 1小節の拍数を指定する拍子イベントデ
ータを含む演奏データ列を記憶した記憶手段と、 前記演奏データ列の途中に新たな拍子イベントデータの
書き込み、または、前記演奏データ列中の拍子イベント
データの内容を変更する拍子変更手段と、 該拍子変更手段による新たな拍子イベントデータの書き
込みまたは拍子イベントデータの内容の変更に応じて、
後続する拍子イベントデータの移動量を算出する算出手
段と、 前記算出手段の算出結果に基づいて前記後続する拍子イ
ベントデータの位置を修正する修正手段と、 を備えたことを特徴とする演奏データ編集装置。
2. A storage means for storing a performance data string including time signature event data for designating the number of beats in one measure; writing new time signature event data in the middle of the performance data string; Time change means for changing the content of the time signature event data; writing of new time signature event data or change of the content of the time signature event data by the time change means;
Calculator that calculates the amount of movement of subsequent time signature event data
And the subsequent time signature based on the calculation result of the calculation means.
A performance data editing device , comprising: correction means for correcting the position of vent data .
【請求項3】 1小節の拍数を指定する拍子イベントデ
ータを含む演奏データ列を記憶した記憶手段と、 前記演奏データ列の途中の変更点に新たな拍子イベント
データを書き込むことにより、または、該変更点に存在
する拍子イベントデータの内容を変更することにより、
該変更点以後次の拍子イベントデータまでの拍子をそれ
までの旧拍子から前記新たな拍子イベントデータまたは
前記内容が変更された拍子イベントデータによって指示
される新拍子に変更する拍子変更手段と、 該拍子変更手段による拍子の変更に応じて、前記変更点
よりも後方に記憶されている拍子イベントデータをサー
チし、旧拍子における変更点から該サーチされた拍子イ
ベントデータまでの小節数と、新拍子における変更点か
ら該サーチされた拍子イベントまでの小節数とが等しく
なるように該サーチされた拍子イベントデータを移動さ
せる拍子イベント移動手段と、 を備えたことを特徴とする演奏データ編集装置。
3. A storage means for storing a performance data string including time signature event data specifying the number of beats in one measure; and writing new time signature event data at a change point in the middle of the performance data string; or By changing the content of the time signature event data at the change point,
Time change means for changing the time signature from the change point to the next time signature event data from the old time signature to the new time signature data indicated by the new time signature event data or the changed time signature event data; According to the change of the time signature by the time signature changing means, the time signature event data stored after the change point is searched, and the number of measures from the change point in the old time signature to the searched time signature event data and the new time signature are calculated. And a beat event moving means for moving the searched beat event data so that the number of measures from the change point in the above to the searched beat event becomes equal.
JP28068296A 1996-10-23 1996-10-23 Performance data editing device and medium storing performance data editing program Expired - Fee Related JP3346187B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28068296A JP3346187B2 (en) 1996-10-23 1996-10-23 Performance data editing device and medium storing performance data editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28068296A JP3346187B2 (en) 1996-10-23 1996-10-23 Performance data editing device and medium storing performance data editing program

Publications (2)

Publication Number Publication Date
JPH10124047A JPH10124047A (en) 1998-05-15
JP3346187B2 true JP3346187B2 (en) 2002-11-18

Family

ID=17628473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28068296A Expired - Fee Related JP3346187B2 (en) 1996-10-23 1996-10-23 Performance data editing device and medium storing performance data editing program

Country Status (1)

Country Link
JP (1) JP3346187B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4247626B2 (en) * 2005-01-20 2009-04-02 ソニー株式会社 Playback apparatus and playback method
JP4811046B2 (en) 2006-02-17 2011-11-09 ソニー株式会社 Content playback apparatus, audio playback device, and content playback method
JP2010191376A (en) * 2009-02-20 2010-09-02 Kawai Musical Instr Mfg Co Ltd Device and program for edition of sheet music

Also Published As

Publication number Publication date
JPH10124047A (en) 1998-05-15

Similar Documents

Publication Publication Date Title
JP3740908B2 (en) Performance data processing apparatus and method
JP2003302984A (en) Lyric display method, lyric display program and lyric display device
JP2000514571A (en) Automatic improvisation system and method
JP2000047667A (en) Waveform forming device and method
JP3484988B2 (en) Performance information editing method and recording medium storing performance information editing program
JP3344297B2 (en) Automatic performance device and medium recording automatic performance program
JP2000099018A (en) Playing data edition apparatus and recording medium
JP3562333B2 (en) Performance information conversion device, performance information conversion method, and recording medium storing performance information conversion control program
JP3346187B2 (en) Performance data editing device and medium storing performance data editing program
JP2001013962A (en) Automatic musical piece reproducing device, and recording medium stored with continuous musical piece information generating and reproducing program
JPH1031495A (en) Karaoke device
JP3430895B2 (en) Automatic accompaniment apparatus and computer-readable recording medium recording automatic accompaniment control program
JP3620396B2 (en) Information correction apparatus and medium storing information correction program
JP3709821B2 (en) Music information editing apparatus and music information editing program
JP2743808B2 (en) Automatic performance device
JP3480327B2 (en) Performance data editing apparatus and storage medium therefor
JP3843688B2 (en) Music data editing device
JP3587133B2 (en) Method and apparatus for determining pronunciation length and recording medium
JP2000112472A (en) Automatic music composing device, and recording medium
JP2625800B2 (en) Automatic performance device
JP3807333B2 (en) Melody search device and melody search program
JP3797180B2 (en) Music score display device and music score display program
JP3956961B2 (en) Performance data processing apparatus and method
JP3818296B2 (en) Chord detection device
JP3709820B2 (en) Music information editing apparatus and music information editing program

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20070906

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080906

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090906

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110906

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120906

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130906

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees