JP2003263166A - Automatic playing device, automatic playing program and data structure of automatic playing data - Google Patents

Automatic playing device, automatic playing program and data structure of automatic playing data

Info

Publication number
JP2003263166A
JP2003263166A JP2002061567A JP2002061567A JP2003263166A JP 2003263166 A JP2003263166 A JP 2003263166A JP 2002061567 A JP2002061567 A JP 2002061567A JP 2002061567 A JP2002061567 A JP 2002061567A JP 2003263166 A JP2003263166 A JP 2003263166A
Authority
JP
Japan
Prior art keywords
song
marker
data
automatic performance
song position
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.)
Granted
Application number
JP2002061567A
Other languages
Japanese (ja)
Other versions
JP3873782B2 (en
Inventor
Takashi Ikeda
隆志 池田
Takashi Komano
岳志 駒野
Hiroki Nakazono
裕樹 中薗
Shinichi Ito
真一 伊藤
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 JP2002061567A priority Critical patent/JP3873782B2/en
Publication of JP2003263166A publication Critical patent/JP2003263166A/en
Application granted granted Critical
Publication of JP3873782B2 publication Critical patent/JP3873782B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily perform jump to an optional position in music data or loop reproduction in an optional section. <P>SOLUTION: Song position markers for jumping to optional positions in music data and a loop end marker indicating the end position of loop reproduction are inserted into the music data. When the music data are loaded, the song position marks are checked and stored in a song position information storing area. When any one of the song position markers is specified, the music data are jumped to the song position on the basis of the information stored in the song position information storing area, and when the loop reproduction is specified, loop reproduction is performed in accordance with the number of times of loop reproduction. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は、曲データ中の任意
の位置へのジャンプや、任意区間のループ再生を行える
自動演奏装置、自動演奏プログラムおよび自動演奏デー
タのデータ構造に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device, an automatic performance program, and a data structure of automatic performance data capable of jumping to an arbitrary position in music data and performing loop reproduction of an arbitrary section.

【0002】[0002]

【従来の技術】自動演奏装置の操作パネルに設けられた
複数のスイッチの各々に、曲データ中の所望の小節を設
定し、各スイッチを操作することで瞬時に対応する小節
へとジャンプ可能な自動演奏装置が知られている。例え
ば、特開平09-114456号公報に記載されている自動演奏
装置は、曲番号と小節数という情報を各スイッチに設定
することができるようにされており、いずれかのスイッ
チが操作された際に、そのスイッチに設定されている小
節へジャンプして自動演奏されるようになされている。
2. Description of the Related Art It is possible to instantly jump to a corresponding bar by setting a desired bar in music data to each of a plurality of switches provided on an operation panel of an automatic performance device and operating each switch. Automatic playing devices are known. For example, the automatic performance device described in Japanese Patent Application Laid-Open No. 09-114456 is capable of setting information such as a song number and the number of measures to each switch, and when any switch is operated. On the other hand, it is designed so that it will automatically play by jumping to the bar set for that switch.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、スイッ
チを操作することで対応する小節へとジャンプ可能な従
来の自動演奏装置においては、各スイッチに設定される
所望の小節は、自動演奏装置本体内に記憶されようにな
されている。このため、曲データが変更されると自動演
奏時のジャンプをコントロールすることができず、自動
演奏される曲データが変更される場合には、各スイッチ
への設定をし直さなければならないという問題点があっ
た。また、各スイッチへの設定は小節単位とされてお
り、非小節単位で設定することができないという問題点
があった。
However, in the conventional automatic musical performance device capable of jumping to the corresponding measure by operating the switch, the desired measure set in each switch is stored in the automatic musical instrument main body. It is made to be remembered. Therefore, when the song data is changed, the jump during automatic performance cannot be controlled, and when the automatically played song data is changed, it is necessary to reset each switch. There was a point. Moreover, the setting to each switch is made in units of measures, and there is a problem that it cannot be set in units of non-measures.

【0004】そこで、本発明は、曲データ中の任意の位
置へのジャンプや、任意区間のループ再生を、簡単に行
えることのできる自動演奏装置、自動演奏プログラムお
よび自動演奏データのデータ構造を提供することを目的
としている。
Therefore, the present invention provides an automatic performance device, an automatic performance program, and a data structure of automatic performance data which can easily perform a jump to an arbitrary position in music data and a loop reproduction of an arbitrary section. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明の自動演奏装置は、曲データを読み出して自
動演奏する自動演奏手段と、曲データがロードされた際
に、前記曲データにおける特定の演奏位置を示すソング
ポジションマーカーを前記曲データ中から検出する検出
手段と、前記自動演奏手段が前記曲データを自動演奏し
ている際に、いずれかの前記ソングポジションマーカー
が指定された時は、指定された当該ソングポジションマ
ーカーにおける前記演奏位置にジャンプして、前記自動
演奏手段により自動演奏されている。
In order to achieve the above object, the automatic performance device of the present invention comprises an automatic performance means for reading and automatically playing music data, and the music data when the music data is loaded. In the song data, a detecting means for detecting a song position marker indicating a specific performance position in the song data, and when the automatic playing means is automatically playing the song data, one of the song position markers is designated. At this time, the performance position of the designated song position marker is jumped to and automatically played by the automatic performance means.

【0006】また、上記本発明の自動演奏装置におい
て、前記ソングポジションマーカーを複数のスイッチ手
段のいずれかに割り当て、該スイッチ手段のいずれかを
操作することにより、操作したスイッチ手段に割り当て
られているソングポジションマーカーが指定されるよう
にしてもよい。さらに、上記本発明の自動演奏装置にお
いて、前記ソングポジションマーカーは、前記曲データ
の特定の演奏位置が非小節単位で指定可能とされてお
り、前記ソングポジションマーカーが指定された場合
は、指定された時に自動演奏されている位置の次に到達
する、指定された前記ソングポジションマーカーの演奏
位置に対応する小節内位置まで自動演奏された際に、指
定された前記ソングポジションマーカーの前記演奏位置
にジャンプして自動演奏されるようにしてもよい。
Further, in the above-mentioned automatic performance device of the present invention, the song position marker is assigned to any one of the plurality of switch means, and any one of the switch means is operated to be assigned to the operated switch means. The song position marker may be designated. Further, in the above-mentioned automatic performance device of the present invention, the song position marker is capable of designating a specific performance position of the song data in non-measure units, and when the song position marker is designated, it is designated. When the automatic playing is performed up to the position within the bar that corresponds to the playing position of the specified song position marker that will be reached next to the automatically playing position when the playing position of the specified song position marker is reached, You may make it jump and be played automatically.

【0007】さらにまた、上記本発明の自動演奏装置に
おいて、前記ソングポジションマーカーが指定された
後、自動演奏されている位置が、前記次に到達する小節
内位置に到達するまでのジャンプ待ちの間に、再度同ソ
ングポジションマーカーが指定された時は、ジャンプを
解除するようにしてもよい。さらにまた、上記本発明の
自動演奏装置において、ループ再生時のループエンド位
置を示すループエンドマーカーが前記曲データ中に設定
可能とされており、ループ再生が指示された場合は、前
記ソングポジションマーカーあるいは前記ループエンド
マーカーの位置まで自動演奏された時に、その前に位置
するソングポジションマーカーにジャンプして、当該ソ
ングポジションマーカーの後に位置する最初のソングポ
ジションマーカーあるいはループエンドマーカーとの間
においてループ再生されるようにしてもよい。
Furthermore, in the above-mentioned automatic performance device of the present invention, after the song position marker is designated, the position of the automatic performance is waiting for a jump to reach the position within the next bar to be reached. When the same song position marker is designated again, the jump may be canceled. Furthermore, in the above-described automatic performance device of the present invention, a loop end marker indicating a loop end position during loop reproduction can be set in the music data, and when loop reproduction is instructed, the song position marker is set. Alternatively, when the song is automatically played to the position of the loop end marker, it jumps to the song position marker located before it and loops between the first song position marker or loop end marker located after the song position marker. It may be done.

【0008】さらにまた、上記本発明の自動演奏装置に
おいて、前記ソングポジションマーカーはループ回数情
報を含み、前記ジャンプしたソングポジションマーカー
におけるループ回数だけループ再生されるようにしても
よい。さらにまた、上記本発明の自動演奏装置におい
て、前記ソングポジションマーカーには、該マーカーの
名称が付与されていてもよい。さらにまた、上記本発明
の自動演奏装置において、前記検出手段により検出され
た前記ソングポジションマーカーの演奏位置に対応する
設定情報を記憶するソングポジション情報記憶手段と、
前記ソングポジションマーカーの演奏位置を非小節単位
で設定する設定手段とをさらに有し、前記ソングポジシ
ョンマーカーの演奏位置を設定する際には、該ソングポ
ジションマーカーの設定後の演奏位置に対応する設定情
報を、前記ソングポジション情報記憶手段に記憶し直す
ようにしてもよい。
Furthermore, in the above-described automatic performance device of the present invention, the song position marker may include loop count information, and loop reproduction may be performed for the number of loops at the jumped song position marker. Furthermore, in the above-mentioned automatic performance device of the present invention, the name of the marker may be given to the song position marker. Furthermore, in the above-mentioned automatic performance device of the present invention, song position information storage means for storing setting information corresponding to the performance position of the song position marker detected by the detection means,
Setting means for setting the playing position of the song position marker in non-measure units, and when setting the playing position of the song position marker, a setting corresponding to the playing position after setting of the song position marker Information may be stored again in the song position information storage means.

【0009】さらにまた、上記本発明の自動演奏装置に
おいて、前記ソングポジションマーカーおよび/または
前記ループエンドマーカの演奏位置を非小節単位で設定
する設定手段をさらに有し、前記マーカーの演奏位置を
設定する際には、前記マーカー間の時間距離が所定値以
下に設定できないようにされていてもよい。さらにま
た、上記本発明の自動演奏装置において、自動演奏ある
いはループ再生されている際に、その演奏位置に対応す
る前記ソングポジションマーカーに割り当てられている
表示手段が、その旨を表示するようにしてもよい。
Furthermore, in the above-mentioned automatic performance device of the present invention, there is further provided setting means for setting the performance position of the song position marker and / or the loop end marker in non-measure units, and the performance position of the marker is set. In doing so, the time distance between the markers may not be set below a predetermined value. Furthermore, in the above-mentioned automatic performance device of the present invention, during automatic performance or loop reproduction, the display means assigned to the song position marker corresponding to the performance position displays that fact. Good.

【0010】次に、上記目的を達成することのできる本
発明の自動演奏データのデータ構造は、楽音の発生や楽
音制御を行うイベントデータと、該イベントデータの生
起タイミングを示すタイミングデータとが交互に配置さ
れるデータ列から少なくとも構成されている自動演奏装
置により自動演奏可能な自動演奏データのデータ構造で
あって、前記イベントデータには、前記自動演奏データ
における特定の演奏位置を示すソングポジションマーカ
ーが少なくとも1つ含まれている。また、上記本発明の
自動演奏データのデータ構造において、前記ソングポジ
ションマーカーはループ再生時のループ開始位置あるい
はループエンド位置となることができ、前記イベントデ
ータには、前記自動演奏データにおける特定の演奏位置
を示すと共に、ループ再生時のループエンド位置となる
ループエンドマーカーが含まれていてもよい。なお、上
記本発明の自動演奏装置は、同様の機能を奏する自動演
奏プログラムにより実現するようにしてもよい。
Next, the data structure of the automatic performance data of the present invention which can achieve the above object is such that the event data for generating and controlling the musical tone and the timing data indicating the occurrence timing of the event data alternate. A data structure of automatic performance data which can be automatically played by an automatic performance device comprising at least a data sequence arranged in the event data, wherein the event data includes a song position marker indicating a specific performance position in the automatic performance data. At least one is included. Further, in the data structure of the automatic performance data of the present invention, the song position marker can be a loop start position or a loop end position during loop reproduction, and the event data includes a specific performance in the automatic performance data. A loop end marker indicating the position and serving as a loop end position during loop reproduction may be included. The automatic performance device of the present invention may be realized by an automatic performance program having the same function.

【0011】このような本発明によれば、曲データにお
ける特定の演奏位置を示すソングポジションマーカーや
ループエンドマーカーを曲データ中に挿入することがで
きる。このため、曲データが変更された場合にソングポ
ジションマーカーやループエンドマーカーが曲データ中
から検出されて自動的に設定されるようになる。このた
め、曲データが変更されても曲データ中の任意の位置へ
のジャンプや、任意区間のループ再生を、簡単に行える
ことができるようになる。そして、曲データ中にイベン
トデータとしてソングポジションマーカーやループエン
ドマーカーを挿入することができるので、曲データごと
にソングポジション設定やループエンド設定が簡単に行
える。このソングポジションマーカーやループエンドマ
ーカーのタイミングは非小節単位、例えば小節数と拍数
やクロックにより設定することができる。この場合に、
マーカー間が近すぎる場合は、設定する意味がないので
設定できないようにするのが好適である。そして、指定
されたソングポジションマーカーにジャンプする際に
は、ジャンプ指定後に次に到達する、指定されたソング
ポジションマーカーのポジションに対応する小節内ポジ
ションまで演奏位置が達した際に、指定されたソングポ
ジションマーカーの演奏位置にジャンプさせるようにし
ている。これにより、ユーザに違和感を覚えさせること
なくジャンプさせることができるようになる。
According to the present invention as described above, it is possible to insert a song position marker or a loop end marker, which indicates a specific performance position in the music data, into the music data. Therefore, when the song data is changed, the song position marker and the loop end marker are detected from the song data and automatically set. Therefore, even if the music data is changed, it is possible to easily perform a jump to an arbitrary position in the music data and a loop reproduction of an arbitrary section. Since a song position marker and a loop end marker can be inserted in the song data as event data, song position setting and loop end setting can be easily performed for each song data. The timing of the song position marker and the loop end marker can be set in non-measure units, for example, the number of measures, the number of beats, and the clock. In this case,
If the markers are too close to each other, it is meaningless to set them, and therefore it is preferable not to set them. When jumping to the specified song position marker, when the performance position reaches the in-measure position corresponding to the position of the specified song position marker, which is reached after the jump is specified, the specified song I try to jump to the performance position of the position marker. As a result, the user can jump without making the user feel uncomfortable.

【0012】さらに、ループ再生においてソングポジシ
ョンに加えてループエンドマーカーによりループエンド
を設定することができるので、ループエンドをソングポ
ジション以外の任意のポジションに設定することができ
る。さらにまた、ソングポジションマーカーに対応して
LED等の表示手段を設けたので、表示手段により現
在、どのソングポジションを再生中かを把握することが
できる。さらにまた、ソングポジションマーカーごとに
名前やループ回数を設定することができるので、ソング
ポジションがわかりやすく、また、ループ再生を自由に
制御できるようになる。なお、ソングポジションへのジ
ャンプを指示するスイッチ手段を、操作するごとに状態
が反転されるトグルスイッチとすると、ソングポジショ
ンへのジャンプ指示を容易にキャンセルすることができ
るようになる。
Furthermore, since the loop end can be set by the loop end marker in addition to the song position during loop reproduction, the loop end can be set at any position other than the song position. Further, since the display means such as the LED is provided corresponding to the song position marker, it is possible to grasp which song position is currently being reproduced by the display means. Furthermore, since the name and the number of loops can be set for each song position marker, the song position can be easily understood and the loop playback can be freely controlled. If the switch means for instructing to jump to the song position is a toggle switch whose state is inverted each time it is operated, the instruction to jump to the song position can be easily canceled.

【0013】[0013]

【発明の実施の形態】本発明の実施の形態の自動演奏プ
ログラムを備える自動演奏装置のハードウェア構成の一
例を図1に示す。図1に示す本発明にかかる自動演奏装
置1において、CPU10は、自動演奏装置1の全体の
動作を制御する中央処理装置(Central Processing Uni
t)であり、タイマ11は、動作時の経過時間を示した
り、特定の間隔でタイマ割込を発生するタイマであり、
自動演奏等の時間管理等に使用される。ROM12は、
CPU1が実行する本発明の自動演奏プログラム等のプ
ログラムや、各種データ等が格納されているROM(Re
ad Only Memory)であり、RAM13は、外部記録装置
14等から読み出された本発明にかかるデータ構造とさ
れている曲データ等の各種データの格納エリアや、CP
U1のワークエリア等が設定されるRAM(Random Acc
ess Memory)である。外部記憶装置14は、自動演奏プ
ログラム等の各種アプリケーションプログラムや本発明
にかかるデータ構造の曲データが記憶される外部記憶手
段であり、HDD(Hard Disk Drive)、FDD(Flopp
y(登録商標)Disk Drive)、CD(Compact Disk)−
ROM、MO(Magneto Optical Disk)、DVD(Digi
tal Versatile Disk)等により構成することができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a hardware configuration of an automatic performance device provided with an automatic performance program according to an embodiment of the present invention. In the automatic musical instrument 1 according to the present invention shown in FIG. 1, a CPU 10 controls a central processing unit (Central Processing Uni) for controlling the entire operation of the automatic musical instrument 1.
t), and the timer 11 is a timer that indicates elapsed time during operation, or that generates a timer interrupt at a specific interval,
Used for time management such as automatic performance. ROM12 is
A ROM (Re which stores programs such as the automatic performance program of the present invention executed by the CPU 1 and various data)
The RAM 13 is an ad only memory), and the RAM 13 stores various data such as music data read from the external recording device 14 and the like and has a data structure according to the present invention, and a CP.
RAM (Random Acc) in which the work area of U1 is set
ess Memory). The external storage device 14 is an external storage means for storing various application programs such as an automatic performance program and music data having a data structure according to the present invention. The external storage device 14 includes an HDD (Hard Disk Drive) and an FDD (Flopp).
y (registered trademark) Disk Drive), CD (Compact Disk)-
ROM, MO (Magneto Optical Disk), DVD (Digi
tal Versatile Disk).

【0014】MIDI I/F16は、外部に設けられ
ているMIDI機器15との間でMIDI信号の受け渡
しを行うMIDIインターフェースであり、MIDI機
器15は、MIDI対応とされたシーケンサや電子楽器
等とされる。通信インターフェース19は、イーサネッ
ト(登録商標)等のLAN(Local Area Network)やイ
ンターネット、電話回線等の通信ネットワーク18を介
してサーバコンピュータ17に接続するための通信イン
ターフェースであり、通信ネットワーク18を通じてサ
ーバコンピュータ17から本発明に係る自動演奏プログ
ラム等のアプリケーションソフトや曲データ等の各種デ
ータを受け取ることができる。演奏操作子20は、鍵盤
等の演奏操作子であり、演奏操作子20を操作した際の
演奏操作子情報は検出回路21により検出されてバス2
9へ送出される。パネル操作子22は、パネル等に設け
られた複数のスイッチであり、パネル操作子22を操作
した際のスイッチ情報は検出回路23により検出されて
バス29に送出される。ディスプレイ24は、自動演奏
の設定、楽音データの編集や入力等の画面が表示される
液晶表示器等の表示装置であり、ディスプレイ24は表
示回路25により駆動されて所望の画面が表示される。
The MIDI I / F 16 is a MIDI interface for exchanging MIDI signals with an external MIDI device 15, and the MIDI device 15 is a MIDI-compatible sequencer or electronic musical instrument. It The communication interface 19 is a communication interface for connecting to the server computer 17 via a communication network 18 such as a LAN (Local Area Network) such as Ethernet (registered trademark), the Internet, or a telephone line, and the server computer is connected through the communication network 18. From 17 it is possible to receive application software such as the automatic performance program according to the present invention and various data such as song data. The performance operator 20 is a performance operator such as a keyboard, and the performance operator information when the performance operator 20 is operated is detected by the detection circuit 21 and is detected by the bus 2
9 is sent. The panel operator 22 is a plurality of switches provided on the panel or the like, and switch information when the panel operator 22 is operated is detected by the detection circuit 23 and sent to the bus 29. The display 24 is a display device such as a liquid crystal display on which a screen for setting automatic performance, editing and inputting of musical sound data is displayed, and the display 24 is driven by the display circuit 25 to display a desired screen.

【0015】音源回路26は、音源レジスタに格納され
ている複数の発音チャンネルの楽音制御データに基づい
て楽音を生成しており、効果回路27は、エフェクタを
制御するためのエフェクト制御データに基づいて音源回
路26により生成された楽音データにリバーブ、コーラ
ス、バリエーション等の効果を付与している。サウンド
システム28は、効果回路27から出力されるアナログ
信号に変換されたアナログ楽音信号を増幅して発音する
サウンドシステムである。また、バス29は各ブロック
間においてデータ等を相互に授受するためのバスであ
り、データバスやアドレスバスから構成されている。
The tone generator circuit 26 generates musical tones based on tone control data of a plurality of tone generation channels stored in the tone generator register, and the effect circuit 27 based on effect control data for controlling effectors. Effects such as reverb, chorus, and variations are added to the musical sound data generated by the tone generator circuit 26. The sound system 28 is a sound system that amplifies and produces an analog musical tone signal converted into an analog signal output from the effect circuit 27. The bus 29 is a bus for exchanging data and the like between the blocks, and is composed of a data bus and an address bus.

【0016】上記した自動演奏装置1のハードウェア構
成は、パーソナルコンピュータやワークステーションと
同様の構成とされており、パーソナルコンピュータやワ
ークステーションに本発明にかかる自動演奏プログラム
を実行させることにより、本発明にかかる自動演奏装置
1とすることができる。図1に示す自動演奏装置1にお
いて、本発明に係る自動演奏プログラムを起動して自動
演奏を行う場合は、外部記憶装置14や通信インターフ
ェース19を介して本発明にかかるデータ構造の曲デー
タをRAM13にロードする。そして、ディスプレイ2
4に表示されているコントロールボタンを操作すること
により、所望の設定状態において自動演奏を開始するこ
とができる。自動演奏中にパネルに設けられている後述
するソングポジションスイッチを操作することにより、
指定されたソングポジションにジャンプさせて自動演奏
させることができる。また、パネルに設けられている後
述するループスイッチを操作することにより、ソングポ
ジションの間、あるいはソングポジションとループエン
ドポジションとの間においてループ再生することができ
る。
The hardware configuration of the above-described automatic performance device 1 is the same as that of a personal computer or workstation, and the present invention is realized by causing the personal computer or workstation to execute the automatic performance program according to the present invention. The automatic performance device 1 according to the present invention can be used. In the automatic performance device 1 shown in FIG. 1, when the automatic performance program according to the present invention is activated to perform an automatic performance, the music data having the data structure according to the present invention is transferred to the RAM 13 via the external storage device 14 and the communication interface 19. To load. And display 2
By operating the control button displayed in 4, the automatic performance can be started in the desired setting state. By operating the song position switch described later on the panel during automatic performance,
You can jump to the specified song position and play automatically. By operating a loop switch, which will be described later, provided on the panel, loop reproduction can be performed between song positions or between a song position and a loop end position.

【0017】次に、本発明に係る自動演奏装置1の特徴
点について、図2ないし図9を参照しながら説明する。
図2には、本発明にかかる自動演奏データのデータ構造
が示されており、このようなデータ構造の曲データを図
1に示す構成の自動演奏装置1において自動演奏するこ
とができる。図2に示すデータ構造の曲データは、曲名
やテンポ、作曲者や作成日等の曲の情報が格納されてい
るヘッダを備えている。このヘッダに続いて、イベント
の生起タイミングを示すタイミングデータと、楽音の発
生や楽音制御を行うイベントデータとが交互に配置され
るデータ列とされており、曲データはヘッダとデータ列
とから構成されている。イベントデータの種類として
は、ノートオンあるいはノートオフのノートデータ、音
量や効果などを設定するコントロールチェンジデータ、
音色を設定するプログラムチェンジデータ、ピッチを連
続的に上下させるピッチベンド、拍子、テンポチェン
ジ、および、本発明において特徴的なソングポジション
マーカーと、ループエンドマーカー等とされている。な
お、ソングポジションマーカーとループエンドマーカー
において、マーカー間の時間距離が所定値以下とされた
場合は、その際のジャンプやループ再生に意味がなくな
ることから、マーカー間の時間距離は所定値以下に設定
できないようにされている。例えば、マーカー間の時間
距離の最小値は32分音符長や半拍あるいは1拍として
もよい。
Next, the features of the automatic performance device 1 according to the present invention will be described with reference to FIGS.
FIG. 2 shows a data structure of automatic performance data according to the present invention, and music data having such a data structure can be automatically performed by the automatic performance device 1 having the configuration shown in FIG. The music data having the data structure shown in FIG. 2 is provided with a header that stores music information such as music title, tempo, composer and creation date. Following this header, there is a data string in which timing data indicating the timing of event occurrence and event data for generating and controlling musical sounds are alternately arranged. The song data is composed of a header and a data string. Has been done. As the type of event data, note data of note on or note off, control change data for setting volume and effect,
Program change data for setting a tone color, pitch bend for continuously raising and lowering a pitch, time signature, tempo change, and a song position marker and a loop end marker, which are characteristic of the present invention, are used. If the time distance between the markers in the song position marker and loop end marker is less than or equal to the specified value, the jump or loop playback at that time will be meaningless, so the time distance between the markers will be less than or equal to the specified value. It cannot be set. For example, the minimum value of the time distance between markers may be a 32nd note length, a half beat, or one beat.

【0018】イベントデータの一種とされるソングポジ
ションマーカーおよびループエンドマーカーについて図
3を参照して説明する。図3において横軸tは自動演奏
の経過時間でありソングポジションマーカーおよびルー
プエンドマーカーは、図3に示すようにその特定の演奏
位置を示すことができる。例えば、図示するように4つ
のソングポジションマーカーSPJ−01〜SPJ−0
4のイベントデータおよびその時間位置を示すタイミン
グデータを曲データ中に埋め込むことができる。これら
のソングポジションマーカーSPJ−01〜SPJ−0
4において、第1のソングポジションマーカーSPJ−
01は曲データの先頭である第1小節の第1拍を示すマ
ーカーとされており、第2のソングポジションマーカー
SPJ−02は曲データの第16小節の第2拍を示すマ
ーカーとされており、第3のソングポジションマーカー
SPJ−03は曲データの第8小節の第1拍を示すマー
カーとされており、第4のソングポジションマーカーS
PJ−04は曲データの第24小節の第1拍を示すマー
カーとされている。
A song position marker and a loop end marker, which are types of event data, will be described with reference to FIG. In FIG. 3, the horizontal axis t is the elapsed time of the automatic performance, and the song position marker and the loop end marker can indicate the specific performance position as shown in FIG. For example, as shown in the figure, four song position markers SPJ-01 to SPJ-0
Event data No. 4 and timing data indicating the time position thereof can be embedded in the music data. These song position markers SPJ-01 to SPJ-0
4, the first song position marker SPJ-
01 is a marker indicating the first beat of the first measure at the beginning of the song data, and the second song position marker SPJ-02 is a marker indicating the second beat of the 16th measure of the song data. , The third song position marker SPJ-03 is a marker indicating the first beat of the eighth measure of the song data, and the fourth song position marker SJ
PJ-04 is a marker indicating the first beat of the 24th measure of the music data.

【0019】これらのソングポジションマーカーSPJ
−01〜SPJ−04の設定情報は、イベントデータに
テキストメタイベントにて記述されており、記述内容
は、ソングポジション番号、ソングポジションの名前、
ループ再生時のループ回数等とされている。そして、ソ
ングポジションマーカーのイベントデータは、汎用MI
DIシーケンサにより作成したり編集したりすることが
可能とされている。図1に示す自動演奏装置1において
自動演奏している際に、このようなソングポジションマ
ーカーSPJ−01〜SPJ−04のいずれかを指定す
ると、指定されたソングポジションマーカーの演奏位置
にジャンプして自動演奏されるようになる。このような
動作を実現するために、外部記憶装置14等から曲デー
タがRAM13にロードされた際に、曲データ中のソン
グポジションマーカーが検出されて、そのイベントデー
タに記述されている内容およびソングポジションマーカ
ーのタイミングデータから求められる小節数と拍数、ク
ロック数、ソングポジションの位置おいて有効な楽音設
定データからなる設定情報がRAM13に確保されてい
るソングポジションマーカー情報記憶領域に記憶され
る。4つのソングポジションマーカーSPJ−01〜S
PJ−04が検出されて、その設定情報がソングポジシ
ョンマーカー情報記憶領域に記憶されている一例を図4
に示す。
These song position markers SPJ
The setting information of -01 to SPJ-04 is described in the event data as a text meta event, and the description content includes a song position number, a song position name, and
It is set as the number of loops during loop playback. Event data of the song position marker is general MI
It can be created and edited by a DI sequencer. If any of such song position markers SPJ-01 to SPJ-04 is specified during automatic performance in the automatic performance device 1 shown in FIG. 1, the performance position of the specified song position marker is jumped to. It will be played automatically. In order to realize such an operation, when the song data is loaded from the external storage device 14 or the like into the RAM 13, a song position marker in the song data is detected, and the contents and song described in the event data are detected. Setting information including the number of bars, the number of beats, the number of clocks, and the musical tone setting data effective at the position of the song position, which is obtained from the timing data of the position marker, is stored in the song position marker information storage area secured in the RAM 13. Four song position markers SPJ-01-S
An example in which PJ-04 is detected and its setting information is stored in the song position marker information storage area is shown in FIG.
Shown in.

【0020】図4に示すソングポジションマーカー情報
記憶領域に記憶されている各ソングポジションマーカー
の設定情報は次のようにされている。ソングポジション
番号「01」とされている第1のソングポジションマー
カーSPJ−01は、小節数「1」、拍数「1」とされ
て曲データの先頭である第1小節の第1拍、クロック数
「000」がソングポジションとされており、ソングポ
ジションの名前は「Intro」、ループ回数は
「5」、プログラムチェンジやコントロールチェンジ等
の設定データから設定情報が構成されている。ソングポ
ジション番号「02」とされている第2のソングポジシ
ョンマーカーSPJ−02は、小節数「16」、拍数
「2」、クロック数「000」がソングポジションとさ
れており、ソングポジションの名前は「Choru
s」、ループ回数は「無限」、プログラムチェンジやコ
ントロールチェンジ等の設定データから設定情報が構成
されている。ソングポジション番号「03」とされてい
る第3のソングポジションマーカーSPJ−03は、小
節数「8」、拍数「1」、クロック数「000」がソン
グポジションとされており、ソングポジションの名前は
「Verse」、ループ回数は「無限」、プログラムチ
ェンジやコントロールチェンジ等の設定データから設定
情報が構成されている。ソングポジション番号「04」
とされている第4のソングポジションマーカーSPJ−
04は、小節数「24」、拍数「1」、クロック数「0
00」がソングポジションとされており、ソングポジシ
ョンの名前は無し、ループ回数は「2」、プログラムチ
ェンジやコントロールチェンジ等の設定データから設定
情報が構成されている。
The setting information of each song position marker stored in the song position marker information storage area shown in FIG. 4 is as follows. The first song position marker SPJ-01 having the song position number “01” has the number of measures “1” and the number of beats “1”, which is the first beat of the first measure at the beginning of the song data, and the clock. The number “000” is a song position, the name of the song position is “Intro”, the number of loops is “5”, and setting information is configured from setting data such as program change and control change. The second song position marker SPJ-02, which has the song position number “02”, has the bar number “16”, the beat number “2”, and the clock number “000” as the song position. Is "Choru
s ”, the number of loops is“ infinite ”, and setting information is configured from setting data such as program change and control change. The third song position marker SPJ-03, which has the song position number “03”, has the number of measures “8”, the number of beats “1”, and the number of clocks “000” as song positions. Is “Verse”, the number of loops is “infinite”, and setting information is configured from setting data such as program change and control change. Song position number "04"
Fourth song position marker SPJ-
04 is the number of measures "24", the number of beats "1", the number of clocks "0"
00 ”is a song position, the song position is not named, the number of loops is“ 2 ”, and setting information is configured from setting data such as program change and control change.

【0021】そして、ソングポジション情報記憶領域の
情報が参照されて、各ポジションマーカーがパネル操作
子22の一部を構成するソングポジションスイッチにそ
れぞれ割り当てられる。この場合、ソングポジション番
号とソングポジションスイッチ番号が対応するように割
り当てられる。すなわち、ソングポジション情報記憶領
域の情報が図4に示す場合には、図3に示す第1ソング
ポジションスイッチ31に第1のソングポジションマー
カーSPJ−01が割り当てられ、第2ソングポジショ
ンスイッチ32に第2のソングポジションマーカーSP
J−02が割り当てられ、第3ソングポジションスイッ
チ33に第3のソングポジションマーカーSPJ−03
が割り当てられ、第4ソングポジションスイッチ34に
第4のソングポジションマーカーSPJ−04が割り当
てられる。ソングポジションスイッチ31〜34のいず
れかのソングポジションスイッチを操作した際に、その
ソングポジションスイッチに割り当てられたソングポジ
ションマーカーが示す演奏位置にジャンプするようにな
る。ジャンプする際には、そのソングポジションマーカ
ーが示すポジション(拍、クロック)に対応するポジシ
ョンであって、ソングポジションスイッチが操作された
時点で演奏されている位置の次に到達する、そのソング
ポジションマーカーが示すポジションに対応する小節内
のポジションの位置からジャンプさせることにより、継
続されている自動演奏に違和感を極力生じさせないよう
にしている。
Then, the information in the song position information storage area is referred to, and each position marker is assigned to a song position switch constituting a part of the panel operator 22, respectively. In this case, the song position number and the song position switch number are assigned so as to correspond to each other. That is, when the information in the song position information storage area is as shown in FIG. 4, the first song position marker SPJ-01 is assigned to the first song position switch 31 shown in FIG. 2 song position marker SP
J-02 is assigned, and the third song position switch 33 has a third song position marker SPJ-03.
And the fourth song position marker SPJ-04 is assigned to the fourth song position switch 34. When one of the song position switches 31 to 34 is operated, the song position switch jumps to the performance position indicated by the song position marker assigned to the song position switch. When jumping, the song position marker is the position that corresponds to the position (beat, clock) indicated by that song position marker, and that will arrive next to the position that was being played when the song position switch was operated. By jumping from the position in the bar corresponding to the position shown by, the unnatural feeling is prevented from occurring as much as possible in the continuous automatic performance.

【0022】なお、図3に示す例ではソングポジション
マーカーは最大4つとされている。この場合、ソングポ
ジション番号は図4に示すように「01」〜「04」と
なるが、その順番を時間位置順とする必要はなく、時間
位置は逆転していてもよい。また、これ以外の番号にし
た場合のマーカーは、ループエンドを示すループエンド
マーカーとなる。さらに、図3に示すソングポジション
マーカーの表記において、最初の「:」はソングポジシ
ョン番号とソングポジション名との区切りを示す区切り
記号であり、2番目の「:」はソングポジション名とル
ープ回数との区切りを示す区切り記号である。なお、ソ
ングポジションマーカーの表記に、任意の文字列とする
ことのできるソングポジション名を用いると、当該マー
カーの種類をユーザが判別しやすくなる。さらにまた、
ループ回数はループ再生時に繰り返す回数とされる。こ
のループ回数の指定がない時は無限ループ(ループ再生
がオフされるまで繰り返す)となる。
In the example shown in FIG. 3, the maximum number of song position markers is four. In this case, the song position numbers are “01” to “04” as shown in FIG. 4, but the order does not have to be the time position order, and the time position may be reversed. In addition, markers with other numbers become loop end markers that indicate loop ends. Further, in the notation of the song position marker shown in FIG. 3, the first ":" is a delimiter that indicates the delimiter between the song position number and the song position name, and the second ":" is the song position name and the loop count. Is a delimiter indicating the delimiter. If a song position name that can be an arbitrary character string is used for the notation of the song position marker, the user can easily identify the type of the marker. Furthermore,
The number of loops is the number of repetitions during loop reproduction. If this loop count is not specified, the loop will be infinite (repeated until loop playback is turned off).

【0023】さらにまた、図4に示すように各ソングポ
ジションスイッチに対応して、ソングポジションマーカ
ーの位置に対応したプログラムチェンジやコントロール
チェンジ等の設定データが記憶される。これにより、ジ
ャンプやループをした際に、各ソングポジションマーカ
ーの位置で適切なプログラムチェンジやコントロールチ
ェンジ等の設定がなされるようになる。後述するよう
に、マーカーの位置をエディットして移動させた場合に
は、設定データも移動後の位置に対応したものに修正さ
れる。
Furthermore, as shown in FIG. 4, setting data such as program change and control change corresponding to the position of the song position marker is stored corresponding to each song position switch. As a result, when a jump or loop is performed, an appropriate program change, control change, or the like can be set at the position of each song position marker. As will be described later, when the marker position is edited and moved, the setting data is also corrected to correspond to the moved position.

【0024】具体的に、図5ないし図9を参照してソン
グポジションマーカーが示すポジションに対応するポジ
ションの位置からジャンプさせる説明をする。図5では
操作されたソングポジションスイッチに割り当てられて
いるソングポジションマーカーの位置Tjが4/4拍子
の小節の1拍目(小節先頭)とされ、自動演奏中に4/
4拍子の小節における1拍半目で当該ソングポジション
スイッチを操作した時の位置がTp1で示され、4/4
拍子の小節における2拍半目で当該ソングポジションス
イッチを操作した時の位置がTp2で示され、3/4拍
子の小節における1拍半目で当該ソングポジションスイ
ッチを操作した時の位置がTp3で示されている。この
場合は、位置Tjが1拍目とされていることから当該ソ
ングポジションスイッチを位置Tp1あるいは位置Tp
2で操作した時は、その後の最初の小節の1拍目から位
置Tjにジャンプして自動演奏されるようになる。ま
た、位置Tp3では拍子が変更されているが、当該ソン
グポジションスイッチを位置Tp3で操作した時も、そ
の後の最初の小節の1拍目から位置Tjにジャンプして
自動演奏されるようになる。
More specifically, the jump from the position corresponding to the position indicated by the song position marker will be described with reference to FIGS. In FIG. 5, the position Tj of the song position marker assigned to the operated song position switch is set as the first beat (bar start) of the bar with a time signature of 4/4.
The position when the song position switch is operated at the first and a half beats of a bar with four beats is indicated by Tp1 and is 4/4.
The position when the song position switch is operated at the second and a half beats of the time signature is indicated by Tp2, and the position when the song position switch is operated at the first and a half beats of the 3/4 time measure is indicated by Tp3. ing. In this case, since the position Tj is the first beat, the song position switch is set to the position Tp1 or the position Tp.
When the operation is performed at 2, the jump is made to the position Tj from the first beat of the first bar thereafter, and the performance is automatically started. Although the time signature is changed at the position Tp3, when the song position switch is operated at the position Tp3, the beat is automatically played by jumping from the first beat of the first bar to the position Tj.

【0025】次に、図6では拍子は変更されず4/4拍
子とされ、操作されたソングポジションスイッチに割り
当てられているソングポジションマーカーの位置Tjが
2拍目とされ、自動演奏中に1拍半目で当該ソングポジ
ションスイッチを操作した時の位置がTp1で示され、
2拍半目で当該ソングポジションスイッチを操作した時
の位置がTp2で示されている。この場合は、位置Tj
が2拍目とされていることから当該ソングポジションス
イッチを位置Tp1で操作した時は、半拍後であるその
小節における2拍目から位置Tjにジャンプして自動演
奏されるようになる。また、位置Tp2で当該ソングポ
ジションスイッチを操作した時は、次の小節における2
拍目から位置Tjにジャンプして自動演奏されるように
なる。
Next, in FIG. 6, the time signature is not changed and is set to 4/4, and the position Tj of the song position marker assigned to the operated song position switch is set to the second beat, which is 1 during automatic performance. The position when the song position switch is operated at the half beat is indicated by Tp1,
The position when the song position switch is operated at the second and half beats is indicated by Tp2. In this case, the position Tj
Since it is the second beat, when the song position switch is operated at the position Tp1, the song is automatically played by jumping to the position Tj from the second beat in the bar which is half beat later. When the song position switch is operated at the position Tp2, 2 in the next measure
From the beat, the position is jumped to the position Tj to be automatically played.

【0026】次に、図7では操作されたソングポジショ
ンスイッチに割り当てられているソングポジションマー
カーの位置Tjが4/4拍子の小節の2拍目とされ、自
動演奏中に3/4拍子の小節の1拍半目で当該ソングポ
ジションスイッチを操作した時の位置がTp1で示さ
れ、3/4拍子の小節の2拍半目で当該ソングポジショ
ンスイッチを操作した時の位置がTp2で示されてい
る。この場合は、位置Tjが2拍目とされていることか
ら当該ソングポジションスイッチを位置Tp1で操作し
た時は、拍子の変更にかかわらず半拍後であるその小節
における2拍目から位置Tjにジャンプして自動演奏さ
れるようになる。また、位置Tp2で当該ソングポジシ
ョンスイッチを操作した時は、拍子の変更にかかわらず
次の小節における2拍目から位置Tjにジャンプして自
動演奏されるようになる。
Next, in FIG. 7, the position Tj of the song position marker assigned to the operated song position switch is set to the second beat of the bar of 4/4 time, and the bar of 3/4 time is played during the automatic performance. The position when the song position switch is operated at the first and a half beats of is indicated by Tp1, and the position when the song position switch is operated at the second and a half beats of the 3/4 time bar is indicated at Tp2. In this case, since the position Tj is the second beat, when the song position switch is operated at the position Tp1, the second beat of the bar, which is half a beat later, is moved to the position Tj regardless of the change of the time signature. You can jump and play automatically. Further, when the song position switch is operated at the position Tp2, regardless of the change of the time signature, the second beat of the next bar is jumped to the position Tj to be automatically played.

【0027】次に、図8では操作されたソングポジショ
ンスイッチに割り当てられているソングポジションマー
カーの位置Tjが4/4拍子の小節の4拍半目とされ、
自動演奏中に3/4拍子の小節の1拍と16分目で当該
ソングポジションスイッチを操作した時の位置がTp1
で示され、3/4拍子の小節の2拍半目で当該ソングポ
ジションスイッチを操作した時の位置がTp2で示さ
れ、次の3/4拍子の小節の1拍と16分目で当該ソン
グポジションスイッチを操作した時の位置がTp3で示
されている。この場合は、位置Tjが4拍半目とされて
おり、拍子が4/4拍子から3/4拍子に変更されてい
ることから、当該ソングポジションスイッチを位置Tp
1で操作した時は、3/4拍子のその小節の1拍目から
数えて4拍半目である次の小節の1拍半目から位置Tj
にジャンプして自動演奏されるようになる。また、位置
Tp2で当該ソングポジションスイッチを操作した時も
同様になる。さらに、当該ソングポジションスイッチを
位置Tp3で操作した時も、3/4拍子のその小節の1
拍目から数えて4拍半目である次の小節(Tp1の次の
次の小節)の1拍半目から位置Tjにジャンプして自動
演奏されるようになる。
Next, in FIG. 8, the position Tj of the song position marker assigned to the operated song position switch is the fourth beat and a half of the bar of 4/4 time,
The position when the song position switch is operated at the 1st beat and the 16th minute of the 3/4 bar during the automatic performance is Tp1.
The position when the song position switch is operated at the second and a half beats of the measure of 3/4 time is shown as Tp2, and the song position at the 1st and 16th minute of the next 3/4 measure. The position when the switch is operated is indicated by Tp3. In this case, the position Tj is the fourth and a half beats, and since the time signature has been changed from the 4/4 time signature to the 3/4 time signature, the song position switch is moved to the position Tp.
When operated with 1, the position Tj starts from the first beat and a half of the next measure, which is the fourth and a half beats from the first beat of the measure of 3/4 time.
You can jump to and play automatically. The same applies when the song position switch is operated at the position Tp2. Furthermore, even when the song position switch is operated at the position Tp3, 1 of the measure of 3/4 beat
From the first beat and a half of the next measure (the measure next to Tp1) which is the fourth and a half beats counting from the beat, the performance is automatically jumped to the position Tj.

【0028】次に、図9では操作されたソングポジショ
ンスイッチに割り当てられているソングポジションマー
カーの位置Tjが3/4拍子の小節の2拍目とされ、自
動演奏中に4/4拍子の小節の1拍半目で当該ソングポ
ジションスイッチを操作した時の位置がTp1で示さ
れ、3/4拍子の小節の2拍半目で当該ソングポジショ
ンスイッチを操作した時の位置がTp2で示され、次の
3/4拍子の小節の3拍半目で当該ソングポジションス
イッチを操作した時の位置がTp3で示されている。こ
の場合は、位置Tjが2拍目とされており、拍子が3/
4拍子から4/4拍子に変更されていることから、当該
ソングポジションスイッチを位置Tp1で操作した時
は、4/4拍子のその小節の2拍目から位置Tjにジャ
ンプして自動演奏されるようになる。また、位置Tp2
で当該ソングポジションスイッチを操作した時は、2拍
目は過去になっているため次の4/4拍子の小節の2拍
目から位置Tjにジャンプして自動演奏されるようにな
る。さらに、当該ソングポジションスイッチを位置Tp
3で操作した時は、その小節の次の3/4拍子の小節の
2拍目から位置Tjにジャンプして自動演奏されるよう
になる。
Next, in FIG. 9, the position Tj of the song position marker assigned to the operated song position switch is set to the second beat of the 3/4 time signature, and the bar of the 4/4 time signature is set during the automatic performance. The position when the song position switch is operated at the first and a half beats of is indicated by Tp1, and the position when the song position switch is operated at the second and a half beats of the 3/4 time bar is indicated by Tp2. The position when the song position switch is operated at the third and a half beats of the 3 / 4-beat measure is indicated by Tp3. In this case, the position Tj is the second beat, and the time signature is 3 /
Since it has been changed from 4 beats to 4/4 beats, when the song position switch is operated at the position Tp1, the song is automatically played by jumping from the second beat of the measure of 4/4 beats to the position Tj. Like Also, the position Tp2
When the song position switch is operated, since the second beat is in the past, the song is automatically played by jumping to the position Tj from the second beat of the next 4/4 time bar. In addition, set the song position switch to position Tp.
When the operation is performed at 3, the jump is made to the position Tj from the second beat of the 3 / 4-beat measure next to that measure, and the performance is automatically performed.

【0029】ところで、ループエンドマーカーもソング
ポジションマーカーと同様に、テキストメタイベントに
て記述されたループエンドマーカーのイベントデータお
よびその時間位置を示すタイミングデータにより曲デー
タ中に埋め込むことができる。ループエンドマーカー
は、任意の位置に挿入可能とされ、1つのソングポジシ
ョンマーカーの区間について、1つ以上挿入することが
できる。図3に示す例では3つのループエンドマーカー
SPJ−LE3、SPJ−LE21、SPJ−LE22
が挿入されている。ループエンドマーカーSPJ−LE
3は、第3のソングポジションマーカーSPJ−03と
第2のソングポジションマーカーSPJ−02との間に
挿入されており、ループエンドマーカーSPJ−LE2
1、SPJ−LE22は、第2のソングポジションマー
カーSPJ−02と第4のソングポジションマーカーS
PJ−04との間に挿入されている。これらのループエ
ンドマーカーは、図3に示すループスイッチ35を操作
してループ再生をオンとした時に、ループ再生されるル
ープエンド位置となる。
By the way, the loop end marker can be embedded in the song data by the event data of the loop end marker described in the text meta event and the timing data indicating the time position thereof, like the song position marker. The loop end marker can be inserted at an arbitrary position, and one or more loop end markers can be inserted for one song position marker section. In the example shown in FIG. 3, three loop end markers SPJ-LE3, SPJ-LE21, SPJ-LE22.
Has been inserted. Loop end marker SPJ-LE
3 is inserted between the third song position marker SPJ-03 and the second song position marker SPJ-02, and the loop end marker SPJ-LE2.
1, SPJ-LE22 is the second song position marker SPJ-02 and the fourth song position marker S
It is inserted between PJ-04. These loop end markers are loop end positions for loop reproduction when the loop switch 35 shown in FIG. 3 is operated to turn on loop reproduction.

【0030】具体的に図3に示す例で説明すると、ルー
プスイッチ35が押されると、次に現れる何らかのマー
カー位置まで演奏し、直前のソングポジションマーカー
まで戻って、次に現れる何らかのマーカーとの間をソン
グポジションマーカーにおいて指定されている指定回、
または無限回演奏する。すなわち、第1のソングポジシ
ョンマーカーSPJ−01と第3のソングポジションマ
ーカーSPJ−03の間でループスイッチ35が操作さ
れると、第1のソングポジションマーカーSPJ−01
と第3のソングポジションマーカーSPJ−03の間を
第1のソングポジションマーカーSPJ−01で指定さ
れている5回繰り返して自動演奏する。その後次に進む
ようになる。また、第3のソングポジションマーカーS
PJ−03とループエンドマーカーLE3の間でループ
スイッチ35が操作されると、第3のソングポジション
マーカーSPJ−03とループエンドマーカーLE3の
間を第3のソングポジションマーカーSPJ−03で指
定されている無限回(ループスイッチ35を再度操作し
てループ再生をキャンセルするまで)繰り返して自動演
奏する。
Explaining it concretely in the example shown in FIG. 3, when the loop switch 35 is pressed, it will play to some marker position that appears next, return to the song position marker immediately before, and move to any marker that appears next. The specified number of times specified in the song position marker,
Or play infinitely. That is, when the loop switch 35 is operated between the first song position marker SPJ-01 and the third song position marker SPJ-03, the first song position marker SPJ-01.
And the third song position marker SPJ-03 are repeated five times as specified by the first song position marker SPJ-01 for automatic performance. After that, it will proceed to the next. Also, the third song position marker S
When the loop switch 35 is operated between the PJ-03 and the loop end marker LE3, the third song position marker SPJ-03 is designated between the third song position marker SPJ-03 and the loop end marker LE3. Infinite number of times (until the loop switch 35 is operated again to cancel the loop reproduction), the automatic performance is repeated.

【0031】さらに、ループエンドマーカーLE3と第
2のソングポジションマーカーSPJ−02の間でルー
プスイッチ35が押されると、まずは第2のソングポジ
ションマーカーSPJ−02まで演奏し、その後第3の
ソングポジションマーカーSPJ−03に戻り、ループ
エンドマーカーLE3との間を第3のソングポジション
マーカーSPJ−03で指定されている無限回繰り返し
て自動演奏する。さらにまた、第2のソングポジション
マーカーSPJ−02とループエンドマーカーLE21
の間でループスイッチ35が押されると、第2のソング
ポジションマーカーSPJ−02とループエンドマーカ
ーLE21の間を第2のソングポジションマーカーSP
J−02で指定されている無限回繰り返して自動演奏す
る。さらにまた、ループエンドマーカーLE21とルー
プエンドマーカーLE22の間でループボタンが押され
ると、まずはループエンドマーカーLE22まで演奏
し、その後第2のソングポジションマーカーSPJ−0
2に戻り、ループエンドマーカーLE21との間を第2
のソングポジションマーカーSPJ−02で指定されて
いる無限回繰り返して自動演奏する。
When the loop switch 35 is pressed between the loop end marker LE3 and the second song position marker SPJ-02, the second song position marker SPJ-02 is played first, and then the third song position marker SPJ-02 is played. Returning to the marker SPJ-03, the portion between the loop end marker LE3 and the loop end marker LE3 is repeated infinitely repeatedly as specified by the third song position marker SPJ-03, and is automatically played. Furthermore, the second song position marker SPJ-02 and the loop end marker LE21.
When the loop switch 35 is pressed between the second song position marker SPJ-02 and the loop end marker LE21, the second song position marker SP21
Automatically repeats an infinite number of times specified by J-02. Furthermore, when the loop button is pressed between the loop end marker LE21 and the loop end marker LE22, first the loop end marker LE22 is played, and then the second song position marker SPJ-0.
Return to No. 2 and make a second line between the loop end marker LE21.
The song position marker SPJ-02 will be played repeatedly indefinitely.

【0032】さらにまた、ループエンドマーカーLE2
2と第4のソングポジションマーカーSPJ−04の間
でループボタンが押されると、まずは第4のソングポジ
ションマーカーSPJ−04まで演奏し、その後第2の
ソングポジションマーカーSPJ−02に戻り、ループ
エンドマーカーLE21の間を第2のソングポジション
マーカーSPJ−02で指定されている無限回繰り返し
て自動演奏する。さらにまた、第4のソングポジション
マーカーSPJ−04で指定されている以降でループボ
タンが押されると、まずは曲エンドまで演奏し、その後
第4のソングポジションマーカーSPJ−04で指定さ
れていると曲エンドの間を第4のソングポジションマー
カーSPJ−04で指定されている2回繰り返して自動
演奏する。そして、その後自動演奏は終了するようにな
る。
Furthermore, the loop end marker LE2
When the loop button is pressed between the second and fourth song position marker SPJ-04, first the fourth song position marker SPJ-04 is played, and then the second song position marker SPJ-02 is returned to, the loop end The marker LE21 is automatically played repeatedly infinitely as specified by the second song position marker SPJ-02. Furthermore, if the loop button is pressed after being designated by the fourth song position marker SPJ-04, the song will be played until the end of the song, and then the song designated by the fourth song position marker SPJ-04 will be performed. During the end, the automatic performance is repeated twice as specified by the fourth song position marker SPJ-04. Then, after that, the automatic performance ends.

【0033】ところで、図3に示すようにソングポジシ
ョンスイッチ31〜34とループスイッチ35の上には
発光素子LED1〜LED5がそれぞれ設けられてい
る。発光素子LED1〜LED4は、例えば、緑色およ
び赤色で発光可能とされており、発光素子LED5は例
えば、緑色で発光可能とされている。ソングポジション
スイッチ31〜34に対応して設けられている発光素子
LED1〜LED4が緑色に発光するのは、ロードされ
た曲データ中に対応するソングポジションマーカーが設
定されていた場合であって、当該ソングポジションマー
カーのエリアが自動演奏されていない場合であり、当該
ソングポジションマーカーのエリアが自動演奏されてい
る場合は赤色に発光する。また、ループスイッチ35に
おける発光素子LED5が緑色に発光するのは、ループ
再生がオンされた場合である。なお、ソングポジション
スイッチ31〜34とループスイッチ35は、操作する
ごとに状態が反転するトグルスイッチとされているた
め、ソングポジションへのジャンプ指示やループ再生指
示を容易にキャンセルすることができるようになる。
By the way, as shown in FIG. 3, light emitting elements LED1 to LED5 are provided on the song position switches 31 to 34 and the loop switch 35, respectively. The light emitting elements LED1 to LED4 can emit light in green and red, for example, and the light emitting element LED5 can emit light in green, for example. The light emitting elements LED1 to LED4 provided corresponding to the song position switches 31 to 34 emit green light when a corresponding song position marker is set in the loaded song data. This is when the area of the song position marker is not being automatically played, and when the area of the song position marker is being automatically played, red light is emitted. Further, the light emitting element LED5 in the loop switch 35 emits green light when the loop reproduction is turned on. Since the song position switches 31 to 34 and the loop switch 35 are toggle switches whose states are inverted each time they are operated, it is possible to easily cancel the jump instruction to the song position and the loop reproduction instruction. Become.

【0034】次に、本発明にかかる自動演奏装置1にお
いて実行される曲データロード処理のフローチャートを
図10に示す。外部記憶装置14から所望の曲データを
RAM13にロードする指示が行われると、曲データロ
ード処理が起動され、ステップS10にて外部記憶装置
14から指定された所望の曲データがRAM13にロー
ドされる。次いで、ステップS11にてロードされた曲
データ中のソングポジションマーカーがチェックされ
る。そして、チェックされたソングポジションマーカー
の設定情報が取得されて、ステップS12にてRAM1
3に確保されたソングポジション情報記憶領域に図4に
示すように記憶される。次いで、チェックされたソング
ポジションマーカーをステップS13にて、前述したよ
うにソングポジションスイッチ31〜34にそれぞれ割
り当て、対応する発光素子LED1〜LED4を第1態
様である緑色で発光させる。そして、ステップS14に
てディスプレイ24にソングポジションマーカー情報を
表示する。この際の表示態様の一例を図11に示す。デ
ィスプレイ24には、図11の例ではソングポジション
番号、ソングポジションの小節数と拍数、クロック数、
ソングポジションの名前、ループ再生時のループ回数が
表示される。表示態様は図11に示す表示に限らず、図
3に示すような演奏時間軸上にソングポジションマーカ
ーを表示するグラフィカルな表示態様であってもよい。
ステップS14の処理が終了すると曲データロード処理
は終了する。さらに、ソングポジションマーカー情報を
表示する際に、合わせてループエンドマーカーの情報を
表示するようにしてもよい。
Next, FIG. 10 shows a flow chart of a music piece data loading process executed in the automatic performance device 1 according to the present invention. When an instruction to load the desired song data from the external storage device 14 to the RAM 13 is issued, the song data loading process is started, and the desired song data designated from the external storage device 14 is loaded into the RAM 13 in step S10. . Next, in step S11, the song position marker in the loaded song data is checked. Then, the setting information of the checked song position marker is acquired, and the RAM 1 is set in step S12.
The song position information storage area secured in No. 3 is stored as shown in FIG. Next, in step S13, the checked song position markers are assigned to the song position switches 31 to 34, respectively, as described above, and the corresponding light emitting elements LED1 to LED4 are caused to emit light in the first mode of green. Then, in step S14, the song position marker information is displayed on the display 24. FIG. 11 shows an example of the display mode at this time. In the example of FIG. 11, the display 24 shows the song position number, the number of measures and beats of the song position, the number of clocks,
The name of the song position and the number of loops during loop playback are displayed. The display mode is not limited to the display shown in FIG. 11, and may be a graphical display mode in which song position markers are displayed on the performance time axis as shown in FIG.
When the process of step S14 ends, the music piece data loading process ends. Further, when the song position marker information is displayed, the loop end marker information may be displayed together.

【0035】次に、本発明にかかる自動演奏装置におい
て実行されるソングポジションマーカーの位置等を編集
する曲データエディット処理のフローチャートを図12
に示す。曲データをエディットするいずれかのボタン等
を操作すると、曲データエディット処理が起動され、ス
テップS21にてソングポジションマーカーの位置修正
のエディットか否かが判断される。ここで、ソングポジ
ションマーカーの位置修正のエディットが指示されてい
ると判断されると、ステップS22に進んでパネル操作
子22の操作に応じてソングポジションマーカーの位置
を修正する。この場合、小節、拍、クロックの少なくと
も1つが修正され、修正は数値で指定してもよいし、デ
ィスプレイ24上で表示されているマーカーの位置を移
動させてもよい。ただし、2つのソングポジションマー
カーの距離が所定値以内になる時は、修正を無効あるい
は所定値を超えるように自動的に設定する。例えば、2
つのマーカー間が1拍以内の距離になったとき、修正を
無効にするか、あるいは1拍にする。そして、ステップ
S21においてソングポジションマーカーの位置修正の
エディットが指示されていないと判断された場合と同様
にステップS23に進む。
Next, FIG. 12 is a flow chart of a music data editing process for editing the position of a song position marker and the like which is executed in the automatic performance device according to the present invention.
Shown in. When any button or the like for editing the song data is operated, the song data editing process is started, and it is determined in step S21 whether or not the position of the song position marker is to be edited. If it is determined that the editing of the position correction of the song position marker is instructed, the process proceeds to step S22 and the position of the song position marker is corrected according to the operation of the panel operator 22. In this case, at least one of the measure, beat, and clock is modified, and the modification may be designated by a numerical value, or the position of the marker displayed on the display 24 may be moved. However, when the distance between the two song position markers is within a predetermined value, the correction is invalidated or automatically set to exceed the predetermined value. For example, 2
When the distance between two markers is within 1 beat, the correction is invalidated or set to 1 beat. Then, similarly to the case where it is determined in step S21 that the edit of the position correction of the song position marker is not instructed, the process proceeds to step S23.

【0036】ステップS23では、ソングポジションマ
ーカーの名前やループ回数のエディットか否かが判断さ
れる。ここで、ソングポジションマーカーの名前あるい
はループ回数のエディットが指示されていると判断され
ると、ステップS24に進んでパネル操作子22の操作
に応じてソングポジションマーカーの名前やループ回数
を修正する。そして、ステップS23においてソングポ
ジションマーカーの位置修正のエディットが指示されて
いないと判断された場合と同様にステップS25に進
む。ステップS25では、その他のイベントのエディッ
トか否かが判断される。ここで、ノートデータ、コント
ロールチェンジデータやプログラムチェンジデータ等の
イベントのエディットが指示されていると判断される
と、ステップS26に進んでパネル操作子22の操作に
応じて指示されているイベントデータを修正する。そし
て、ステップS25においてその他のイベントのエディ
ットが指示されていないと判断された場合と同様にステ
ップS27に進む。
In step S23, it is determined whether the name of the song position marker or the number of loops has been edited. Here, if it is determined that the name of the song position marker or the editing of the number of loops is instructed, the process proceeds to step S24 and the name of the song position marker and the number of loops are corrected according to the operation of the panel operator 22. Then, as in the case where it is determined in step S23 that the edit of the position correction of the song position marker is not instructed, the process proceeds to step S25. In step S25, it is determined whether or not another event has been edited. If it is determined that the editing of the event such as the note data, the control change data, the program change data, or the like is instructed, the process proceeds to step S26, and the event data instructed according to the operation of the panel operator 22 is changed. Fix it. Then, the process proceeds to step S27 as in the case where it is determined in step S25 that the editing of the other event is not instructed.

【0037】ステップS27では、エディット終了が指
示されているか否かが判断され、エディット終了が指示
されていると判断された場合は、ステップS28にてエ
ディット後における曲データ中のソングポジションマー
カーがチェックされる。次いで、チェックされたソング
ポジションマーカーに対応する設定情報が取得されて、
ステップS29にてRAM13に確保されたソングポジ
ション情報記憶領域に図4に示すように記憶される。設
定情報の取得は、曲データの先頭からコントロールチェ
ンジやプログラムチェンジ等の設定データをソングポジ
ションマーカーの位置まで更新しながら読み出すことに
より取得するか、ソングポジションマーカーの位置から
曲データの先頭に向かって設定データをサーチしてい
き、見つかった設定データを取得する等により行う。ス
テップS29の処理が終了すると曲データエディット処
理は終了する。なお、ステップS27にてエディットが
継続されていると判断された場合は、ステップS21に
戻りステップS21ないしステップS26の処理が繰り
返し実行されて曲データが編集されるようになる。
In step S27, it is determined whether or not the end of editing is instructed. If it is determined that the end of editing is instructed, in step S28 the song position marker in the song data after editing is checked. To be done. Then, the setting information corresponding to the checked song position marker is acquired,
In step S29, the song position information storage area secured in the RAM 13 is stored as shown in FIG. The setting information can be acquired by reading the setting data such as control change or program change from the beginning of the song data while updating it to the position of the song position marker, or from the position of the song position marker to the beginning of the song data. This is performed by searching the setting data and acquiring the found setting data. When the processing of step S29 ends, the music data editing processing ends. If it is determined in step S27 that the editing is continued, the process returns to step S21 and the processes of steps S21 to S26 are repeatedly executed to edit the music data.

【0038】なお、曲データエディット処理において、
編集結果を反映したソングポジションマーカー情報をデ
ィスプレイ24に表示させるようにしてもよい。また、
後述するようにソングポジションマーカーの曲データへ
の挿入は、曲データの再生時にソングポジションスイッ
チ31〜34を操作(ダブルクリック)することにより
入力しているが、曲データエディット処理においてソン
グポジションマーカーを挿入できるようにしてもよい。
また、挿入されているソングポジションマーカーを削除
できるようにしてもよい。さらに、ループエンドマーカ
ーの挿入、編集、削除などは、外部のMIDIシーケン
サ(テキストメタイベントを扱うことのできるMIDI
シーケンサならばなんでもよい)により行うことを想定
しているが、曲データエディット処理においてループエ
ンドマーカーの挿入や編集をできるようにしてもよい。
In the song data editing process,
You may make it display the song position marker information which reflected the edit result on the display 24. Also,
As will be described later, the song position marker is inserted into the song data by operating (double-clicking) the song position switches 31 to 34 at the time of playing the song data. It may be inserted.
Also, the inserted song position marker may be deleted. Furthermore, the insertion, editing, and deletion of loop end markers can be performed by an external MIDI sequencer (a MIDI sequencer that can handle text meta events).
Although any sequencer may be used), the loop end marker may be inserted or edited in the song data editing process.

【0039】次に、本発明にかかる自動演奏装置におい
て実行される曲データ再生処理のフローチャートを図1
3ないし図15に示す。自動演奏の開始が指示される
と、曲データ再生処理が開始されステップS31にて読
み出されたイベント再生タイミングに達しているか否か
が判断される。イベント再生タイミングに達しているか
否かは、別途テンポに応じてカウントされているタイマ
の値と当該イベントデータのタイミングデータの値とを
比較することにより行われる。ここで、タイミングデー
タで示される時刻に達していると判断された場合は、ス
テップS32に進みイベントはソングポジションマーカ
ーか否かが判断される。ここで、イベントがソングポジ
ションマーカーと判断されると、ステップS33にてル
ープ再生モードとされているか否かが判断される。ここ
で、ループスイッチ35が操作されていてループ再生モ
ードと判断されると、イベント再生タイミングに達した
ソングポジションマーカーは、曲データの先頭のソング
ポジションマーカー以外か否かがステップS34にて判
断される。この処理は、曲データの先頭のソングポジシ
ョンマーカーの場合、ループ先がないのでループさせな
いために行われる。
Next, FIG. 1 is a flowchart of a music piece data reproducing process executed in the automatic performance device according to the present invention.
3 to FIG. When the start of the automatic performance is instructed, the music data reproduction process is started and it is determined whether or not the event reproduction timing read in step S31 has been reached. Whether or not the event reproduction timing has been reached is determined by comparing the value of the timer separately counted according to the tempo with the value of the timing data of the event data. Here, when it is determined that the time indicated by the timing data has been reached, the process proceeds to step S32, and it is determined whether or not the event is a song position marker. If it is determined that the event is a song position marker, it is determined in step S33 whether the loop reproduction mode is set. Here, when the loop switch 35 is operated and it is determined that the loop playback mode is set, it is determined in step S34 whether or not the song position marker that has reached the event playback timing is other than the first song position marker of the song data. It This process is performed so that the song position marker at the beginning of the song data will not be looped because there is no loop destination.

【0040】ここで、イベント再生タイミングに達した
ソングポジションマーカーが、曲データの先頭のソング
ポジションマーカー以外と判断されると、ループ再生が
可能となるため、ステップS35にて直前のソングポジ
ションマーカーまでジャンプし、ジャンプしたソングポ
ジションマーカーにおける設定情報を反映させる。次い
で、ステップS36にて、ジャンプしたソングポジショ
ンマーカーに設定されているループ回数は有限回数とさ
れているか否かが判断される。ここで、第1のソングポ
ジションマーカーや第4のソングポジションマーカーの
ようにループ回数が有限回数とされている場合は、ステ
ップS37にてソングポジション情報記憶領域に記憶さ
れている当該ソングポジションマーカーにおけるループ
回数が「1」だけデクリメントされる。さらに、デクリ
メントした結果、そのループ回数が「0」になったか否
かが判断される。ここで、そのループ回数が「0」にな
ったと判断されるとステップS39にてループモードが
解除されて、対応する発光素子LED5が消灯される。
ステップS39の処理が終了すると、図14に示すステ
ップS46に進む。
Here, if it is determined that the song position marker that has reached the event reproduction timing is other than the song position marker at the beginning of the song data, loop reproduction is possible, and therefore, the previous song position marker is reached in step S35. Jump and reflect the setting information at the jumped song position marker. Next, in step S36, it is determined whether the number of loops set in the jumped song position marker is a finite number. Here, when the number of loops is a finite number of times like the first song position marker and the fourth song position marker, in the song position marker stored in the song position information storage area in step S37. The loop count is decremented by "1". Further, as a result of the decrement, it is determined whether or not the number of loops has become “0”. Here, if it is determined that the number of loops has become “0”, the loop mode is canceled in step S39, and the corresponding light emitting element LED5 is turned off.
When the process of step S39 ends, the process proceeds to step S46 shown in FIG.

【0041】ステップS31にてタイミングデータで示
される時刻に達していないと判断された場合は、ステッ
プS32ないしステップS39の処理はスキップされ図
14に示すステップS46に進む。また、ステップS3
6にてループ回数が有限回数とされていないと判断され
た場合は、ステップS37ないしステップS39の処理
はスキップされ図14に示すステップS46に進む。さ
らに、ステップS38にてループ回数が「0」になって
いないと判断された場合は、ステップS39の処理はス
キップされ図14に示すステップS46に進む。また、
ステップS33にてループ再生モードでないと判断され
た場合、および、ステップS34にて曲データの先頭の
ソングポジションマーカーと判断された場合はステップ
S32にて検出されたソングポジションマーカーの位置
へジャンプするため、ステップS40に分岐して第2態
様である赤色で点灯しているジャンプ前のソングポジシ
ョンマーカーに対応する発光素子LEDがあった場合
は、その発光素子LEDを第1態様である緑色で発光さ
せる。次いで、ステップS41にてステップS32にて
検出されたジャンプ先のソングポジションマーカーに対
応する発光素子LEDを第2態様である赤色で発光させ
る。ステップS41の処理が終了すると、図14に示す
ステップS46に進む。
If it is determined in step S31 that the time indicated by the timing data has not been reached, the processes of steps S32 to S39 are skipped and the process proceeds to step S46 shown in FIG. Also, step S3
If it is determined in 6 that the number of loops is not a finite number, the processes of steps S37 to S39 are skipped and the process proceeds to step S46 shown in FIG. Further, when it is determined in step S38 that the number of loops is not "0", the process of step S39 is skipped and the process proceeds to step S46 shown in FIG. Also,
If it is determined in step S33 that the mode is not the loop playback mode, and if it is determined in step S34 that the song position marker is the head song position marker, the jump is made to the position of the song position marker detected in step S32. If there is a light emitting element LED corresponding to the song position marker before the jump which is lit in red which is the second aspect, the process is branched to step S40, and the light emitting element LED is made to emit the green color which is the first aspect. . Next, in step S41, the light emitting element LED corresponding to the jump destination song position marker detected in step S32 is caused to emit light in red which is the second mode. When the process of step S41 ends, the process proceeds to step S46 shown in FIG.

【0042】また、ステップS32にてイベント再生タ
イミングに達したイベントがソングポジションマーカー
ではないと判断されると、ステップS42に分岐してそ
のイベントがループエンドマーカーか否かが判断され
る。ここで、そのイベントがループエンドマーカーと判
断されると、ステップS43にてループ再生モードとさ
れているか否かが判断される。ここで、ループスイッチ
35が操作されていてループ再生モードと判断される
と、イベント再生タイミングに達したループエンドマー
カーの前にソングポジションマーカーがあるか否かがス
テップS44にて判断される。ここで、そのループエン
ドマーカーの前にソングポジションマーカーがある場合
は、前述したステップS35にジャンプする。そして、
前述したステップS35ないしステップS39の処理が
実行され、ステップS39の処理が終了すると、図14
に示すステップS46に進む。また、ステップS42に
てイベント再生タイミングに達したイベントがループエ
ンドマーカーでないと判断されるとステップS45に分
岐してその他のイベント処理が行われる。その他のイベ
ント処理の例としては、ノートイベントに対する発音処
理や消音処理、プログラムチェンジイベントに対する音
色設定処理、コントロールチェンジイベントに対するボ
リュームやエフェクト等の各種設定処理、ピッチベンド
イベントに対するピッチ変更処理、拍子イベントに対す
る拍子変更処理、テンポチェンジイベントに対するテン
ポ変更処理の終了がある。また、ステップS43にてル
ープ再生モードとされていないと判断された場合、およ
び、ステップS44にてイベント再生タイミングに達し
たループエンドマーカーの前にソングポジションマーカ
ーがなく、戻るソングポジションマーカーがないと判断
された場合は、図14に示すステップS46に進む。
If it is determined in step S32 that the event reaching the event reproduction timing is not the song position marker, the process branches to step S42 to determine whether the event is the loop end marker. If it is determined that the event is the loop end marker, it is determined in step S43 whether the loop reproduction mode is set. Here, if the loop switch 35 is operated and it is determined that the loop reproduction mode is set, it is determined in step S44 whether or not there is a song position marker before the loop end marker that has reached the event reproduction timing. Here, if there is a song position marker before the loop end marker, the process jumps to step S35 described above. And
When the processes of steps S35 to S39 described above are executed and the process of step S39 ends, the process shown in FIG.
Go to step S46 shown in. If it is determined in step S42 that the event reaching the event reproduction timing is not the loop end marker, the process branches to step S45 to perform other event processing. Examples of other event processing include sound generation processing and mute processing for note events, tone color setting processing for program change events, various setting processing such as volume and effects for control change events, pitch change processing for pitch bend events, and time signature for beat events. The change process and the tempo change process for the tempo change event are completed. If it is determined in step S43 that the loop reproduction mode is not set, and if there is no song position marker before the loop end marker that has reached the event reproduction timing in step S44 and there is no return song position marker. If determined, the process proceeds to step S46 shown in FIG.

【0043】図14に示すステップS46では、ソング
ポジションスイッチがシングルクリックされたか否かが
判断される。ソングポジションスイッチがシングルクリ
ックされた場合は、操作したソングポジションスイッチ
に対応するソングポジションマーカーの位置へジャンプ
させる処理が行われることから、シングルクリックされ
てステップS46にてYESと判断された場合は、ステ
ップS47に進み非ジャンプ待ちモードとなっているか
否かが判断される。ジャンプ待ちモードとは、ソングポ
ジションスイッチが操作されてから実際にジャンプする
までのモードであり、ジャンプ待ちモードは前述した図
5〜図9に示す位置Tpからジャンプするタイミングま
でとされる。ここで、非ジャンプモードになっていると
判断されると、ステップS48にて操作したソングポジ
ションスイッチに対応するソングポジションマーカーの
演奏位置のタイミングをチェックし、ジャンプさせるタ
イミングをセットする。ジャンプさせるタイミングは、
図5〜図9を参照して前述した説明の通りとされる。そ
して、ステップS49にてジャンプ待ちモードにセット
されて、ステップS50にて操作したソングポジション
スイッチに対応する発光素子LEDを第3態様、例えば
緑色の点滅発光で点灯させる。
In step S46 shown in FIG. 14, it is determined whether or not the song position switch is single-clicked. When the song position switch is single-clicked, the process of jumping to the position of the song position marker corresponding to the operated song position switch is performed. Therefore, when the single-click is performed and YES is determined in step S46, In step S47, it is determined whether the non-jump waiting mode is set. The jump wait mode is a mode from the operation of the song position switch to the actual jump, and the jump wait mode is from the position Tp shown in FIGS. 5 to 9 described above until the jump timing. If it is determined that the non-jump mode is set, the timing of the playing position of the song position marker corresponding to the song position switch operated in step S48 is checked, and the jump timing is set. When to jump
This is as described above with reference to FIGS. Then, in step S49, the jump waiting mode is set, and the light emitting element LED corresponding to the song position switch operated in step S50 is turned on in the third mode, for example, blinking green light.

【0044】また、ステップS47にてジャンプ待ちモ
ードにセットされていると判断されると、ステップS5
4に分岐する。ここで、ジャンプ待ちモードとなってい
る時に、さらにソングポジションスイッチを操作した時
は、同じソングポジションスイッチが操作された時はジ
ャンプすることがクリアされ、異なるソングポジション
スイッチが操作された時はそのソングポジションスイッ
チに対応するソングポジションマーカーの位置にジャン
プするように再セットされる。このような処理がステッ
プS54以降の処理において実行され、ステップS54
ではジャンプ待ちモードがクリアされ、さらにステップ
S55にてセットされていたジャンプタイミングがクリ
アされる。次いで、クリアされたジャンプ位置に対応す
る発光素子LEDを第1態様とされる緑色で発光させ
る。次に、ステップS57にてジャンプ待ちモードにセ
ットされた際に操作されたソングポジションスイッチと
同一のソングポジションスイッチが操作されたのか否か
が判断される。ここで、同一のソングポジションスイッ
チが操作されたと判断されると、対応するジャンプのセ
ットはステップS54ないしステップS56においてク
リアされているので、そのままステップS51へ進む。
また、異なるソングポジションスイッチが操作されたと
判断されると、ステップS48に分岐し、ステップS4
8からステップS50における前述した処理が実行され
ることにより新たに操作されたソングポジションスイッ
チに対応するソングポジションマーカーの位置へのジャ
ンプがセットされる。なお、それまでのジャンプのセッ
トはステップS54ないしステップS56においてクリ
アされている。
If it is determined in step S47 that the jump waiting mode is set, step S5
Branch to 4. When the song position switch is operated further in the jump wait mode, jumping is cleared when the same song position switch is operated, and when a different song position switch is operated. It is reset so that it jumps to the position of the song position marker that corresponds to the song position switch. Such processing is executed in the processing of step S54 and thereafter, and step S54
Then, the jump waiting mode is cleared, and further the jump timing set in step S55 is cleared. Next, the light emitting element LED corresponding to the cleared jump position is made to emit the green light which is the first mode. Next, in step S57, it is determined whether the same song position switch as the song position switch that was operated when the jump waiting mode was set was operated. If it is determined that the same song position switch has been operated, the corresponding jump set has been cleared in steps S54 to S56, and the process directly proceeds to step S51.
If it is determined that a different song position switch has been operated, the process branches to step S48 and step S4.
The jump to the position of the song position marker corresponding to the newly operated song position switch is set by performing the above-described processing in step S50 from step 8. The jump set so far has been cleared in steps S54 to S56.

【0045】ステップS50の処理が終了すると、ステ
ップS51にてソングポジションスイッチがダブルクリ
ックされたか否かが判断される。ソングポジションスイ
ッチがダブルクリックされた場合は、現在の演奏位置に
おける小節の先頭位置がそのソングポジションスイッチ
におけるソングポジションマーカーとなる。そこで、ス
テップS52にてダブルクリックされたソングポジショ
ンスイッチに対応するソングポジション情報記憶領域の
小節数と拍数およびクロックの欄に、現在の小節の先頭
タイミングを記憶させる。次いで、対応するソングポジ
ション情報記憶領域の設定データの欄に、現在の小節の
先頭におけるプログラムチェンジやコントロールチェン
ジ等の設定データが記憶される。これにより、対応する
ソングポジション情報記憶領域に既にソングポジション
マーカーの情報が記憶されている場合は対応するソング
ポジションマーカーが更新され、記憶されていない場合
はソングポジションマーカーが新規に追加されることに
なる。ステップS53の処理が終了すると、図15に示
すステップS58に進む。なお、自動演奏中において現
在の小節の先頭位置におけるプログラムチェンジやコン
トロールチェンジ等の設定データは各小節先頭に達する
毎にバッファリングされている。
When the processing in step S50 is completed, it is determined in step S51 whether or not the song position switch has been double-clicked. When the song position switch is double-clicked, the beginning position of the bar at the current playing position becomes the song position marker for that song position switch. Therefore, in step S52, the start timing of the current measure is stored in the bar number, beat number, and clock fields of the song position information storage area corresponding to the double-clicked song position switch. Next, the setting data column of the corresponding song position information storage area stores setting data such as a program change or control change at the beginning of the current bar. As a result, if the song position marker information is already stored in the corresponding song position information storage area, the corresponding song position marker is updated, and if it is not stored, a new song position marker is added. Become. When the process of step S53 ends, the process proceeds to step S58 shown in FIG. During automatic performance, setting data such as program change and control change at the current bar head position is buffered each time the bar head is reached.

【0046】ステップS58ではステップS48におい
てセットされたジャンプタイミングに達したか否かが判
断される。ここで、ジャンプタイミングに達していると
判断されると、ジャンプ先のソングポジションマーカー
の位置にジャンプすると共に、そのソングポジションマ
ーカーにおけるプログラムチェンジやコントロールチェ
ンジ等の設定データが反映される。次いで、ステップS
60にてジャンプ先のソングポジションマーカーに対応
するソングポジションスイッチにおける発光素子LED
が第2態様である赤色で点灯されると共に、他の発光素
子LEDが第1態様である緑色で点灯されるようにな
る。そして、ステップS58においてジャンプタイミン
グに達していないと判断された場合と同様に、ステップ
S61に進む。
In step S58, it is determined whether or not the jump timing set in step S48 has been reached. If it is determined that the jump timing has been reached, the jump position is jumped to the position of the song position marker and the setting data such as program change and control change at the song position marker is reflected. Then, step S
At 60, the light emitting element LED in the song position switch corresponding to the song position marker of the jump destination
Is lighted in red which is the second mode, and the other light emitting elements LEDs are lighted in green which is the first mode. Then, as in the case where it is determined in step S58 that the jump timing has not been reached, the process proceeds to step S61.

【0047】ステップS61では、ループスイッチ35
が操作されたか否かが判断される。ここで、ループスイ
ッチ35が操作されたと判断されると、ステップS62
にて現在ループモードとされているか否かが判断され、
現在ループモードとされている判断された場合はステッ
プS63においてループモードが解除される。すなわ
ち、ループ再生時にループスイッチ35を操作すること
によりループ再生をキャンセルすることができる。ま
た、ステップS62にて現在ループモードとされていな
いと判断された場合は、ステップS64に分岐してルー
プ再生モードに設定される。そして、ステップS61に
てループスイッチ35が操作されていないと判断された
場合、および、ステップS63あるいはステップS64
の処理が終了した場合はステップS65に進み、全ての
イベントデータの読み出しが終了して曲データが終了し
たか否かが判断される。ここで、曲データが終了したと
判断された場合は曲データ再生処理は終了する。また、
曲データが終了していない場合はステップS31に戻り
前述した曲データ再生処理が繰り返し実行されるように
なる。
In step S61, the loop switch 35
It is determined whether or not has been operated. If it is determined that the loop switch 35 has been operated, step S62.
Determines whether or not it is currently in loop mode,
If it is determined that the loop mode is currently set, the loop mode is canceled in step S63. That is, the loop reproduction can be canceled by operating the loop switch 35 during the loop reproduction. If it is determined in step S62 that the loop mode is not currently set, the process branches to step S64 and the loop reproduction mode is set. When it is determined in step S61 that the loop switch 35 is not operated, and in step S63 or step S64.
When the processing of step S6 is completed, the process proceeds to step S65, and it is determined whether or not the reading of all the event data is completed and the music piece data is completed. If it is determined that the song data has ended, the song data reproduction process ends. Also,
If the music data has not ended, the process returns to step S31 and the above-mentioned music data reproduction processing is repeatedly executed.

【0048】次に、本発明にかかる自動演奏装置1おい
て実行される曲データ保存処理のフローチャートを図1
6に示す。RAM13にロードされている曲データの保
存を指示するボタン等を操作すると、図16に示す曲デ
ータ保存処理が起動され、ステップS71にてRAM1
3にロードされている曲データ中のソングポジションマ
ーカーのタイミングデータとイベントデータとが削除さ
れる。ついで、ステップS72にてソングポジション情
報記憶領域の内容を参照して、ソングポジションマーカ
ーのタイミングデータとイベントデータとを作成してR
AM13にロードされている曲データ中に挿入する。次
いで、ステップS73にて新たに作成されたソングポジ
ションマーカーが挿入されているRAM13に格納され
ている曲データが外部記憶装置14等の記憶媒体に保存
される。これにより、RAM13にロードされている曲
データのソングポジションマーカーが編集された場合で
あっても、編集後の曲データが記憶媒体に保存されるよ
うになる。
Next, FIG. 1 is a flow chart of a music data storage process executed in the automatic performance device 1 according to the present invention.
6 shows. When a button or the like instructing the storage of the music data loaded in the RAM 13 is operated, the music data storage processing shown in FIG. 16 is started, and the RAM 1 is stored in step S71.
The timing data and event data of the song position marker in the song data loaded in No. 3 are deleted. Then, in step S72, the timing position information and event data of the song position marker are created by referring to the contents of the song position information storage area and R
It is inserted in the music data loaded in AM13. Next, in step S73, the song data stored in the RAM 13 in which the newly created song position marker is inserted is saved in a storage medium such as the external storage device 14. As a result, even when the song position marker of the song data loaded in the RAM 13 is edited, the edited song data is saved in the storage medium.

【0049】ところで、本発明は自動演奏プログラムと
いう自動演奏のアプリケーションソフトウェアをパソコ
ンにインストールした形態でもよく、カラオケ装置や、
ゲーム装置、携帯電話等の携帯型通信端末、自動演奏ピ
アノに適用してもよい。携帯型通信端末に適用した場
合、端末のみで所定の機能が完結している場合に限ら
ず、機能の一部をサーバ側に持たせ、端末とサーバとか
らなるシステム全体として所定の機能を実現するように
してもよい。また、本発明にかかる自動演奏装置の形態
は電子楽器とすることができる。この場合、電子楽器は
鍵盤楽器に限らず、弦楽器タイプ、管楽器タイプ、打楽
器タイプ等の形態としてもよい。また、本発明にかかる
自動演奏装置を電子楽器本体と別体の装置とし、MID
Iや各種ネットワーク等の通信手段を用いて各装置を接
続するものであってもよい。さらに、本発明にかかる自
動演奏プログラムや曲データを外部記憶媒体から、或い
は通信インターフェース19を介して外部装置から電子
楽器やパソコンに供給してもよい。この通信インターフ
ェース19及び通信ネットワーク18は、有線のものに
限らず無線でもよい。また双方を備えていてもよい。
By the way, the present invention may have a form in which an automatic performance application software called an automatic performance program is installed in a personal computer, such as a karaoke device,
It may be applied to a game device, a portable communication terminal such as a mobile phone, and an automatic playing piano. When applied to a mobile communication terminal, not only the case where the predetermined function is completed only by the terminal, but a part of the function is given to the server side, and the predetermined function is realized as the entire system including the terminal and the server. You may do it. Further, the form of the automatic performance device according to the present invention can be an electronic musical instrument. In this case, the electronic musical instrument is not limited to a keyboard musical instrument, but may be a string musical instrument type, a wind instrument type, a percussion musical instrument type, or the like. In addition, the automatic performance device according to the present invention is a device separate from the electronic musical instrument body,
Each device may be connected using communication means such as I or various networks. Further, the automatic performance program and song data according to the present invention may be supplied to an electronic musical instrument or a personal computer from an external storage medium or an external device via the communication interface 19. The communication interface 19 and the communication network 18 are not limited to wired ones and may be wireless. Also, both may be provided.

【0050】さらにまた、本発明にかかる曲データのデ
ータ構造は、演奏イベントの発生時刻を1つ前のイベン
トからの時間で表した「イベント+相対時間」、演奏イ
ベントの発生時刻を曲や小節内における絶対時間で表し
た「イベント+絶対時間」、音符の音高と符長あるいは
休符と休符長で演奏データを表した「音高(休符)+符
長」、演奏の最小分解能毎にメモリの領域を確保し、演
奏イベントの発生する時刻に対応するメモリ領域に演奏
イベントを記憶した「ベタ方式」等、どのような形式で
もよい。さらにまた、曲データを自動演奏する際の処理
方法は、設定されたテンポに応じて処理周期を変更する
方法、処理周期は一定で、曲データ中のタイミングデー
タの値を設定されたテンポに応じて変更する方法、処理
周期は一定で、1回の処理において曲データ中のタイミ
ングデータの計数の仕方をテンポに応じて変更する方法
等、どのようなものであってもよい。さらにまた、複数
チャンネル分の曲データの記憶方法としては、複数のチ
ャンネルのデータが混在記憶された形式でもよいし、各
チャンネルのデータがトラック毎に分かれて記憶されて
いる形式でもよい。さらにまた、メモリ上において、時
系列の曲データが連続する領域に記憶されていてもよい
し、飛び飛びの領域に散在して記憶されているデータ
を、連続するデータとして別途管理するようにしてもよ
い(すなわち、時系列的に連続するデータとして管理す
ることができればよく、メモリ上で連続して記憶されて
いるか否かは問題ではない)。
Furthermore, the data structure of the music data according to the present invention is "event + relative time" in which the occurrence time of a performance event is represented by the time from the previous event, and the occurrence time of a performance event is music or measure. "Event + Absolute time" expressed in absolute time, "Pitch (rest) + note length" that represents performance data in terms of note pitch and note length or rest and rest length, minimum resolution of performance Any form may be used, such as a "solid method" in which a memory area is secured for each time and the performance event is stored in the memory area corresponding to the time when the performance event occurs. Furthermore, the processing method for automatically playing music data is to change the processing cycle according to the set tempo, the processing cycle is constant, and the value of the timing data in the music data is changed according to the set tempo. Any method may be used, such as a method of changing the timing data, a method of changing the counting method of the timing data in the music data in a single processing according to the tempo, and the like. Furthermore, the method of storing the music data for a plurality of channels may be a format in which the data of a plurality of channels are mixedly stored, or a format in which the data of each channel is stored separately for each track. Furthermore, in the memory, the time-series music data may be stored in a continuous area, or the data scattered and stored in the scattered areas may be separately managed as continuous data. It is good (that is, it is sufficient that the data can be managed as continuous data in time series, and it does not matter whether or not the data is continuously stored in the memory).

【0051】[0051]

【発明の効果】本発明は以上のように構成されているの
で、曲データにおける特定の演奏位置を示すソングポジ
ションマーカーやループエンドマーカーを曲データ中に
挿入することができる。このため、曲データが変更され
た場合にソングポジションマーカーやループエンドマー
カーが曲データ中から検出されて自動的に設定されるよ
うになる。このため、曲データが変更されても曲データ
中の任意の位置へのジャンプや、任意区間のループ再生
を、簡単に行えることができるようになる。そして、曲
データ中にイベントデータとしてソングポジションマー
カーやループエンドマーカーを挿入することができるの
で、曲データごとにソングポジション設定やループエン
ド設定が簡単に行える。このソングポジションマーカー
やループエンドマーカーのタイミングは非小節単位、例
えば小節数と拍数やクロックにより設定することができ
る。この場合に、マーカー間が近すぎる場合は、設定す
る意味がないので設定できないようにするのが好適であ
る。そして、指定されたソングポジションマーカーにジ
ャンプする際には、ジャンプ指定後に次に到達する、指
定されたソングポジションマーカーのポジションに対応
する小節内ポジションまで演奏位置が達した際に、指定
されたソングポジションマーカーの演奏位置にジャンプ
させるようにしている。これにより、ユーザに違和感を
覚えさせることなくジャンプさせることができるように
なる。
Since the present invention is configured as described above, it is possible to insert a song position marker or a loop end marker indicating a specific performance position in the music data into the music data. Therefore, when the song data is changed, the song position marker and the loop end marker are detected from the song data and automatically set. Therefore, even if the music data is changed, it is possible to easily perform a jump to an arbitrary position in the music data and a loop reproduction of an arbitrary section. Since a song position marker and a loop end marker can be inserted in the song data as event data, song position setting and loop end setting can be easily performed for each song data. The timing of the song position marker and the loop end marker can be set in non-measure units, for example, the number of measures, the number of beats, and the clock. In this case, if the markers are too close to each other, it is meaningless to set them, and therefore it is preferable that the markers cannot be set. When jumping to the specified song position marker, when the performance position reaches the in-measure position corresponding to the position of the specified song position marker, which is reached after the jump is specified, the specified song I try to jump to the performance position of the position marker. As a result, the user can jump without making the user feel uncomfortable.

【0052】さらに、ループ再生においてソングポジシ
ョンに加えてループエンドマーカーによりループエンド
を設定することができるので、ループエンドをソングポ
ジション以外の任意のポジションに設定することができ
る。さらにまた、ソングポジションマーカーに対応して
LED等の表示手段を設けたので、表示手段により現
在、どのソングポジションを再生中かを把握することが
できる。さらにまた、ソングポジションマーカーごとに
名前やループ回数を設定することができるので、ソング
ポジションがわかりやすく、また、ループ再生を自由に
制御できるようになる。なお、ソングポジションへのジ
ャンプを指示するスイッチ手段を、操作するごとに状態
が反転されるトグルスイッチとすると、ソングポジショ
ンへのジャンプ指示を容易にキャンセルすることができ
るようになる。
Furthermore, since the loop end can be set by the loop end marker in addition to the song position in loop reproduction, the loop end can be set at any position other than the song position. Further, since the display means such as the LED is provided corresponding to the song position marker, it is possible to grasp which song position is currently being reproduced by the display means. Furthermore, since the name and the number of loops can be set for each song position marker, the song position can be easily understood and the loop playback can be freely controlled. If the switch means for instructing to jump to the song position is a toggle switch whose state is inverted each time it is operated, the instruction to jump to the song position can be easily canceled.

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

【図1】 本発明の実施の形態の自動演奏プログラムを
備える自動演奏装置のハードウェア構成の一例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an example of a hardware configuration of an automatic performance device provided with an automatic performance program according to an embodiment of the present invention.

【図2】 本発明の実施の形態の自動演奏装置にかかる
本発明の自動演奏データのデータ構造を示す図である。
FIG. 2 is a diagram showing a data structure of automatic performance data of the present invention according to the automatic performance device of the embodiment of the present invention.

【図3】 本発明の実施の形態の自動演奏装置にかかる
ソングポジションマーカーおよびループエンドマーカー
について説明するための図である。
FIG. 3 is a diagram for explaining a song position marker and a loop end marker according to the automatic musical instrument of the embodiment of the present invention.

【図4】 本発明の実施の形態の自動演奏装置における
設定情報がソングポジションマーカー情報記憶領域に記
憶されている態様を示す図である。
FIG. 4 is a diagram showing an aspect in which setting information in the automatic performance device according to the embodiment of the present invention is stored in a song position marker information storage area.

【図5】 本発明の実施の形態の自動演奏装置において
ジャンプさせる第1態様を示す図である。
FIG. 5 is a diagram showing a first mode of jumping in the automatic musical instrument according to the embodiment of the present invention.

【図6】 本発明の実施の形態の自動演奏装置において
ジャンプさせる第2態様を示す図である。
FIG. 6 is a diagram showing a second mode of jumping in the automatic musical instrument according to the embodiment of the present invention.

【図7】 本発明の実施の形態の自動演奏装置において
ジャンプさせる第3態様を示す図である。
FIG. 7 is a diagram showing a third mode for causing a jump in the automatic musical instrument according to the embodiment of the present invention.

【図8】 本発明の実施の形態の自動演奏装置において
ジャンプさせる第4態様を示す図である。
FIG. 8 is a diagram showing a fourth mode of jumping in the automatic musical instrument according to the embodiment of the present invention.

【図9】 本発明の実施の形態の自動演奏装置において
ジャンプさせる第5態様を示す図である。
FIG. 9 is a diagram showing a fifth mode of jumping in the automatic musical instrument according to the embodiment of the present invention.

【図10】 本発明にかかる自動演奏装置において実行
される曲データロード処理のフローチャートである。
FIG. 10 is a flowchart of music piece data loading processing executed in the automatic performance device according to the present invention.

【図11】 本発明にかかる自動演奏装置において実行
される曲データロード処理においてディスプレイに表示
されるソングポジションマーカー情報を示す図である。
FIG. 11 is a diagram showing song position marker information displayed on a display in a song data loading process executed in the automatic performance device according to the present invention.

【図12】 本発明にかかる自動演奏装置において実行
される曲データエディット処理のフローチャートであ
る。
FIG. 12 is a flowchart of song data editing processing executed in the automatic musical instrument according to the present invention.

【図13】 本発明にかかる自動演奏装置において実行
される曲データ再生処理のフローチャートの一部であ
る。
FIG. 13 is a part of a flowchart of a music piece data reproducing process executed in the automatic performance device according to the present invention.

【図14】 本発明にかかる自動演奏装置において実行
される曲データ再生処理のフローチャートの他の一部で
ある。
FIG. 14 is another part of the flowchart of the music piece data reproduction process executed in the automatic performance device according to the present invention.

【図15】 本発明にかかる自動演奏装置において実行
される曲データ再生処理のフローチャートのさらに他の
一部である。
FIG. 15 is still another part of the flowchart of the music piece data reproduction process executed in the automatic performance device according to the present invention.

【図16】 本発明にかかる自動演奏装置において実行
される曲データ保存処理のフローチャートである。
FIG. 16 is a flowchart of a music piece data storage process executed in the automatic performance device according to the present invention.

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

1 自動演奏装置、10 CPU、11 タイマ、12
ROM、13 RAM、14 外部記憶装置、15
MIDI機器、16 MIDIインタフェース、17
サーバコンピュータ、18 通信ネットワーク、19
通信インターフェース、20 演奏操作子、21 検出
回路、22 パネル操作子、23 検出回路、24 デ
ィスプレイ、25 表示回路、26 音源回路、27
効果回路、28 サウンドシステム、29 バス、31
第1ソングポジションスイッチ、32 第2ソングポ
ジションスイッチ、33 第3ソングポジションスイッ
チ、34 第4ソングポジションスイッチ、35 ルー
プスイッチ、LED1〜LED5 発光素子
1 automatic performance device, 10 CPU, 11 timer, 12
ROM, 13 RAM, 14 external storage device, 15
MIDI equipment, 16 MIDI interface, 17
Server computer, 18 communication network, 19
Communication interface, 20 performance operator, 21 detection circuit, 22 panel operator, 23 detection circuit, 24 display, 25 display circuit, 26 sound source circuit, 27
Effect circuit, 28 sound system, 29 bass, 31
First song position switch, 32 Second song position switch, 33 Third song position switch, 34 Fourth song position switch, 35 Loop switch, LED1 to LED5 Light emitting element

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中薗 裕樹 静岡県浜松市中沢町10番1号 ヤマハ株式 会社内 (72)発明者 伊藤 真一 静岡県浜松市中沢町10番1号 ヤマハ株式 会社内 Fターム(参考) 5D378 MM92 XX10 ZZ05    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Hiroki Nakazono             Yamaha stock, 10-1 Nakazawa-machi, Hamamatsu-shi, Shizuoka             In the company (72) Inventor Shinichi Ito             Yamaha stock, 10-1 Nakazawa-machi, Hamamatsu-shi, Shizuoka             In the company F term (reference) 5D378 MM92 XX10 ZZ05

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 曲データを読み出して自動演奏する自動
演奏手段と、 曲データがロードされた際に、前記曲データにおける特
定の演奏位置を示すソングポジションマーカーを前記曲
データ中から検出する検出手段と、 前記自動演奏手段が前記曲データを自動演奏している際
に、いずれかの前記ソングポジションマーカーが指定さ
れた時は、指定された当該ソングポジションマーカーに
おける前記演奏位置にジャンプして、前記自動演奏手段
により自動演奏されることを特徴とする自動演奏装置。
1. Automatic playing means for reading music data and automatically playing the music data, and detecting means for detecting a song position marker indicating a specific playing position in the music data from the music data when the music data is loaded. And when any of the song position markers is designated while the automatic playing means is automatically playing the song data, jumps to the playing position at the designated song position marker, An automatic performance device characterized by being automatically played by an automatic performance means.
【請求項2】 前記ソングポジションマーカーを複数の
スイッチ手段のいずれかに割り当て、該スイッチ手段の
いずれかを操作することにより、操作したスイッチ手段
に割り当てられているソングポジションマーカーが指定
されるようにしたことを特徴とする請求項1記載の自動
演奏装置。
2. The song position marker is assigned to any one of a plurality of switch means, and the song position marker assigned to the operated switch means is designated by operating any of the switch means. The automatic performance device according to claim 1, wherein
【請求項3】 前記ソングポジションマーカーは、前記
曲データの特定の演奏位置が非小節単位で指定可能とさ
れており、前記ソングポジションマーカーが指定された
場合は、指定された時に自動演奏されている位置の次に
到達する、指定された前記ソングポジションマーカーの
演奏位置に対応する小節内位置まで自動演奏された際
に、指定された前記ソングポジションマーカーの前記演
奏位置にジャンプして自動演奏されることを特徴とする
請求項1記載の自動演奏装置。
3. In the song position marker, a specific performance position of the music data can be designated in non-measure units, and when the song position marker is designated, it is automatically played at the designated time. When the position within the bar corresponding to the playing position of the specified song position marker that follows the specified position is automatically played, the song is automatically played by jumping to the playing position of the specified song position marker. The automatic performance device according to claim 1, wherein:
【請求項4】 前記ソングポジションマーカーが指定さ
れた後、自動演奏されている位置が、前記次に到達する
小節内位置に到達するまでのジャンプ待ちの間に、再度
同ソングポジションマーカーが指定された時は、ジャン
プを解除するようにしたことを特徴とする請求項3記載
の自動演奏装置。
4. After the song position marker is designated, the song position marker is designated again while waiting for a jump until the automatically played position reaches the position within the next bar to be reached. The automatic performance device according to claim 3, wherein the jump is released when the automatic performance device is played.
【請求項5】 ループ再生時のループエンド位置を示す
ループエンドマーカーが前記曲データ中に設定可能とさ
れており、ループ再生が指示された場合は、前記ソング
ポジションマーカーあるいは前記ループエンドマーカー
の位置まで自動演奏された時に、その前に位置するソン
グポジションマーカーにジャンプして、当該ソングポジ
ションマーカーの後に位置する最初のソングポジション
マーカーあるいはループエンドマーカーとの間において
ループ再生されるようにしたことを特徴とする請求項1
記載の自動演奏装置。
5. A loop end marker indicating a loop end position during loop playback can be set in the song data, and when loop playback is instructed, the position of the song position marker or the loop end marker is set. Up to the first song position marker or loop end marker that is located after the song position marker, the loop playback will be performed. Claim 1 characterized by
The described automatic performance device.
【請求項6】 前記ソングポジションマーカーはループ
回数情報を含み、前記ジャンプしたソングポジションマ
ーカーにおけるループ回数だけループ再生されることを
特徴とする請求項5記載の自動演奏装置。
6. The automatic performance apparatus according to claim 5, wherein the song position marker includes loop count information, and loop playback is performed for the number of loops at the jumped song position marker.
【請求項7】 前記ソングポジションマーカーには、該
マーカーの名称が付与されていることを特徴とする請求
項1記載の自動演奏装置。
7. The automatic performance device according to claim 1, wherein the song position marker is given a name of the marker.
【請求項8】 前記検出手段により検出された前記ソン
グポジションマーカーの演奏位置に対応する設定情報を
記憶するソングポジション情報記憶手段と、前記ソング
ポジションマーカーの演奏位置を非小節単位で設定する
設定手段とをさらに有し、前記ソングポジションマーカ
ーの演奏位置を設定する際には、該ソングポジションマ
ーカーの設定後の演奏位置に対応する設定情報を、前記
ソングポジション情報記憶手段に記憶し直すことを特徴
とする請求項1記載の自動演奏装置。
8. A song position information storage means for storing setting information corresponding to the playing position of the song position marker detected by the detecting means, and a setting means for setting the playing position of the song position marker in non-measure units. When setting the performance position of the song position marker, the setting information corresponding to the performance position after the setting of the song position marker is stored again in the song position information storage means. The automatic performance device according to claim 1.
【請求項9】 前記ソングポジションマーカーおよび/
または前記ループエンドマーカの演奏位置を非小節単位
で設定する設定手段をさらに有し、前記マーカーの演奏
位置を設定する際には、前記マーカー間の時間距離が所
定値以下に設定できないようにされていることを特徴と
する請求項1または5記載の自動演奏装置。
9. The song position marker and / or
Alternatively, it further comprises setting means for setting the playing position of the loop end marker in non-measure units, and when setting the playing position of the marker, the time distance between the markers is set not to be less than a predetermined value. The automatic performance device according to claim 1 or 5, characterized in that:
【請求項10】 自動演奏あるいはループ再生されてい
る際に、その演奏位置に対応する前記ソングポジション
マーカーに割り当てられている表示手段が、その旨を表
示することを特徴とする請求項1ないし9のいずれかに
記載の自動演奏装置。
10. The display means assigned to the song position marker corresponding to the performance position, when the automatic performance or the loop reproduction is being performed, displays that effect. The automatic performance device according to any one of 1.
【請求項11】 曲データを読み出して自動演奏するコ
ンピュータにより実行可能な自動演奏プログラムであっ
て、 曲データがロードされた際に、前記曲データにおける特
定の演奏位置を示すソングポジションマーカーを前記曲
データ中から検出する検出ステップと、 前記曲データを順次読み出して自動演奏する自動演奏ス
テップと、 前記自動演奏ステップにより自動演奏されている際に、
いずれかの前記ソングポジションマーカーが指定された
ことを検出する検出ステップと、 該検出ステップにおいて、前記ソングポジションマーカ
ーのいずれかが指定されたと検出された際に、検出され
た前記ソングポジションマーカーで示される演奏位置に
自動演奏の演奏位置をジャンプさせるジャンプステップ
と、 を備えることを特徴とする自動演奏プログラム。
11. An automatic performance program that can be executed by a computer that reads out music data and automatically plays the music data, wherein when the music data is loaded, a song position marker indicating a specific performance position in the music data is provided to the music piece. A detection step of detecting from the data, an automatic performance step of sequentially reading out the music data and automatically playing, and an automatic performance by the automatic performance step,
A detecting step of detecting that any one of the song position markers is designated; and in the detecting step, when it is detected that any of the song position markers is designated, it is indicated by the detected song position marker. An automatic performance program comprising: a jump step for jumping a performance position of an automatic performance to a performance position to be performed.
【請求項12】 前記ソングポジションマーカーを複数
のスイッチ手段のいずれかに割り当てる割当ステップを
さらに備え、 前記検出ステップでは、前記スイッチ手段のいずれかを
操作した際に、操作したスイッチ手段に割り当てられて
いるソングポジションマーカーが指定されたと検出する
ようにしたことを特徴とする請求項11記載の自動演奏
プログラム。
12. The method further comprises an allocating step of allocating the song position marker to any of a plurality of switch means, wherein the detecting step allocates the song position marker to the operated switch means when any of the switch means is operated. 12. The automatic performance program according to claim 11, wherein it is detected that an existing song position marker has been designated.
【請求項13】 前記ソングポジションマーカーは、前
記曲データの特定の演奏位置が非小節単位で指定可能と
されており、前記検出ステップにおいて、前記ソングポ
ジションマーカーのいずれかが指定されたと検出された
際に、前記ジャンプステップにおいて、検出された時に
自動演奏されている位置の次に到達する、指定された前
記ソングポジションマーカーの演奏位置に対応する小節
内位置まで自動演奏された際に、指定された前記ソング
ポジションマーカーの前記演奏位置にジャンプさせるよ
うにしたことを特徴とする請求項11記載の自動演奏プ
ログラム。
13. The song position marker is capable of designating a specific performance position of the song data in non-measure units, and in the detecting step, it is detected that one of the song position markers is designated. At this time, in the jump step, when the automatic performance is performed up to the position within the bar corresponding to the performance position of the specified song position marker, which is reached next to the position automatically played when it is detected, 12. The automatic performance program according to claim 11, wherein the song position marker is jumped to the performance position.
【請求項14】 楽音の発生や楽音制御を行うイベント
データと、該イベントデータの生起タイミングを示すタ
イミングデータとが交互に配置されるデータ列から少な
くとも構成されている自動演奏装置により自動演奏可能
な自動演奏データのデータ構造であって、 前記イベントデータには、前記自動演奏データにおける
特定の演奏位置を示すソングポジションマーカーが少な
くとも1つ含まれていることを特徴とする自動演奏デー
タのデータ構造。
14. An automatic performance device that can be automatically played by at least a data sequence in which event data for generating and controlling musical sounds and timing data indicating the occurrence timing of the event data are alternately arranged. A data structure of automatic performance data, wherein the event data includes at least one song position marker indicating a specific performance position in the automatic performance data.
【請求項15】 前記ソングポジションマーカーはルー
プ再生時のループ開始位置あるいはループエンド位置と
なることができ、前記イベントデータには、前記自動演
奏データにおける特定の演奏位置を示すと共に、ループ
再生時のループエンド位置となるループエンドマーカー
が含まれていることを特徴とする請求項14記載の自動
演奏データのデータ構造。
15. The song position marker can be a loop start position or a loop end position at the time of loop reproduction, and the event data indicates a specific performance position in the automatic performance data, and at the time of loop reproduction. 15. The data structure of automatic performance data according to claim 14, further comprising a loop end marker which is a loop end position.
JP2002061567A 2002-03-07 2002-03-07 Data structure of automatic performance device, automatic performance program and automatic performance data Expired - Fee Related JP3873782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002061567A JP3873782B2 (en) 2002-03-07 2002-03-07 Data structure of automatic performance device, automatic performance program and automatic performance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002061567A JP3873782B2 (en) 2002-03-07 2002-03-07 Data structure of automatic performance device, automatic performance program and automatic performance data

Publications (2)

Publication Number Publication Date
JP2003263166A true JP2003263166A (en) 2003-09-19
JP3873782B2 JP3873782B2 (en) 2007-01-24

Family

ID=29195802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002061567A Expired - Fee Related JP3873782B2 (en) 2002-03-07 2002-03-07 Data structure of automatic performance device, automatic performance program and automatic performance data

Country Status (1)

Country Link
JP (1) JP3873782B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323161A (en) * 2005-05-19 2006-11-30 Dainippon Printing Co Ltd Control code embedding device to sound signal, and control system for time series driving gear using sound signal
JP2021074395A (en) * 2019-11-12 2021-05-20 株式会社カプコン Voice reproduction program, voice reproducing device, and voice generation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323161A (en) * 2005-05-19 2006-11-30 Dainippon Printing Co Ltd Control code embedding device to sound signal, and control system for time series driving gear using sound signal
JP2021074395A (en) * 2019-11-12 2021-05-20 株式会社カプコン Voice reproduction program, voice reproducing device, and voice generation method
JP7381856B2 (en) 2019-11-12 2023-11-16 株式会社カプコン Audio playback program, audio playback device, and audio generation method

Also Published As

Publication number Publication date
JP3873782B2 (en) 2007-01-24

Similar Documents

Publication Publication Date Title
US5631433A (en) Karaoke monitor excluding unnecessary information from display during play time
JPH06124094A (en) Karaoke @(3754/24)accompaniment of recorded music) device
JP4134945B2 (en) Automatic performance device and program
US5756915A (en) Electronic musical instrument having a search function and a replace function
JP3873782B2 (en) Data structure of automatic performance device, automatic performance program and automatic performance data
JP3591227B2 (en) Karaoke equipment
JPH05333890A (en) Karaoke device
JP3264857B2 (en) Karaoke device and karaoke device distribution device
JP2002221973A (en) Karaoke machine
JP4270102B2 (en) Automatic performance device and program
JP2004212414A (en) Automatic performance system and program
JP3666392B2 (en) Automatic performance device
JP4059155B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JPH06124062A (en) Karaoke machine
JP2000221967A (en) Setting control device for electronic musical instrument or the like
JP3460562B2 (en) Input / editing device and storage medium
JP3680732B2 (en) Performance device and storage medium
JP3580143B2 (en) Karaoke equipment
JP3173704B2 (en) Automatic performance device
JP3603587B2 (en) Automatic accompaniment device and storage medium
JP2002196775A (en) Karaoke sing-along machine
JP3770131B2 (en) Remix device and remix program
JP3986751B2 (en) Musical performance device
JP3988812B2 (en) Automatic performance controller
JP4075808B2 (en) Program for realizing automatic performance apparatus and automatic performance method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

R150 Certificate of patent or registration of utility model

Ref document number: 3873782

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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 (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131102

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees