JP2713136B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP2713136B2
JP2713136B2 JP5351445A JP35144593A JP2713136B2 JP 2713136 B2 JP2713136 B2 JP 2713136B2 JP 5351445 A JP5351445 A JP 5351445A JP 35144593 A JP35144593 A JP 35144593A JP 2713136 B2 JP2713136 B2 JP 2713136B2
Authority
JP
Japan
Prior art keywords
data
automatic performance
pattern
musical
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5351445A
Other languages
Japanese (ja)
Other versions
JPH07199924A (en
Inventor
弘 宮本
卓也 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP5351445A priority Critical patent/JP2713136B2/en
Publication of JPH07199924A publication Critical patent/JPH07199924A/en
Application granted granted Critical
Publication of JP2713136B2 publication Critical patent/JP2713136B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 apparatus for recording and reproducing automatic performance data corresponding to a plurality of musical instruments.

【0002】[0002]

【従来の技術】従来、複数の楽器に対応する自動演奏デ
ータをメモリに記憶し、再生する自動演奏装置が提案さ
れている。
2. Description of the Related Art Conventionally, there has been proposed an automatic performance apparatus for storing and reproducing automatic performance data corresponding to a plurality of musical instruments in a memory.

【0003】かかる自動演奏装置の自動演奏データの記
憶方法には、次の2種類の方法がある。一つの方法は、
複数の楽器に対応する自動演奏データをすべて1トラッ
ク内に記憶する方法であり、もう一つの方法は、各楽器
毎に対応する自動演奏データをそれぞれ別のトラックに
記憶する方法である。
There are the following two methods for storing automatic performance data in such automatic performance devices. One way is
This is a method of storing all the automatic performance data corresponding to a plurality of musical instruments in one track, and the other is a method of storing the automatic performance data corresponding to each musical instrument in separate tracks.

【0004】また、記憶される自動演奏データのフォー
マットとして各種の方式が提案されている。例えば、自
動演奏データは、イベントデータとデュレーションデー
タからなり、イベントデータはオンイベントデータと操
作子の情報を示すコントロールチェンジ等のその他のデ
ータがある。デュレーションデータはイベントデータと
イベントデータの時間間隔を表している。オンイベント
データは、発音指示を意味するノートオン、入力された
楽器の音高を示すデータ(例えば、ノートナンバ)およ
びその音の強さを示すベロシティデータから構成され
る。これらのイベントデータとデュレーションデータは
交互に記憶されるが、種々のイベントデータの発生タイ
ミングが同じときには、イベントデータが連続して記憶
されることもある。
Various formats have been proposed for the format of stored automatic performance data. For example, the automatic performance data consists event data and duration data, event data is other data control change or the like indicating information on event data and operator. Duration data represents a time interval between event data. The on-event data is composed of note-on meaning a sounding instruction, data indicating the pitch of the input musical instrument (for example, note number), and velocity data indicating the intensity of the sound. The event data and the duration data are stored alternately. However, when various event data have the same generation timing, the event data may be stored continuously.

【0005】したがって、上記自動演奏データの記憶方
法の内、前者の方法では、出力タイミングが同一で、楽
器の種類が異なるオンイベントデータが複数個あるとき
には、当該複数のオンイベントデータに対して1つのデ
ュレーションデータが記憶される。一方、後者の方法で
は、出力タイミングが同一で、楽器の種類が異なるオン
イベントデータが複数個あったとしても当該各オンイベ
ントデータに対してそれぞれ1つのデュレーションデー
タ(同一値)が各トラック毎に記憶される。
Therefore, in the method of storing the automatic performance data, in the former method, when there is a plurality of on-event data having the same output timing and different types of musical instruments, one on-event data is stored in the plurality of on-event data. One duration data is stored. On the other hand, in the latter method, even if there are a plurality of on-event data having the same output timing and different types of musical instruments, one piece of duration data (the same value) is provided for each on-event data for each track. It is memorized.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の自動演奏装置の自動演奏データの記憶方法の内、前
者の方法では、記憶された自動演奏データは記憶された
順に表示されるので、各楽器に対応する自動演奏データ
(オンイベントデータ)が入り交じって表示され、再生
音がどの楽器の音か分かり難く、自動演奏データが記憶
された後の編集作業等の操作性が非常に低下するという
問題があった。
However, in the former method of storing the automatic performance data of the above-mentioned conventional automatic performance apparatus, the stored automatic performance data is displayed in the order in which it is stored. Is displayed intermingled with the automatic performance data (on-event data), which makes it difficult to know which instrument the reproduced sound is from, and the operability of editing work after the automatic performance data is stored is greatly reduced. There was a problem.

【0007】一方、後者の方法では、出力タイミングが
同一のオンイベントデータであっても、楽器の種類が違
えば、即ち記憶するべきトラックが異なれば、デュレー
ションデータが複数個必要になるために、記憶するメモ
リ容量が増加するという問題があった。
On the other hand, in the latter method, even if the output timing is the same on-event data, if the type of musical instrument is different, that is, if the track to be stored is different, a plurality of duration data is required. There is a problem that the storage memory capacity increases.

【0008】本発明は、上記問題に鑑みてなされたもの
で、自動演奏データが記憶された後の編集作業等の操作
性を向上させるとともに、自動演奏データを記憶するメ
モリのメモリ容量を減少させることが可能な自動演奏装
置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and improves operability of editing work after automatic performance data is stored, and reduces the memory capacity of a memory for storing automatic performance data. It is an object of the present invention to provide an automatic performance device capable of performing the following.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
請求項1記載の発明は、少なくとも2種類以上の楽器の
自動演奏データであって、当該自動演奏データが前記種
類中どの種類のデータであるかを識別する識別データを
含むイベントデータおよび該イベントデータの読み出し
タイミングを表すタイミングデータにより構成されるも
のが時系列的に1トラックに混在して配列された自動演
奏パターンを、複数種類記憶する第1の記憶手段と、前
記各識別データと楽器の種類とを一対一に対応付ける対
応データを複数種類記憶する第2の記憶手段と、前記第
1の記憶手段に記憶された複数種類の自動演奏パターン
から所望の自動演奏パターンを選択する第1の選択手段
と、前記第2の記憶手段に記憶された複数種類の対応デ
ータから所望の対応データを選択する第2の選択手段
と、前記選択された自動演奏パターン内の自動演奏デー
タを順次読み出す読出し手段と、該読出し手段により前
記自動演奏データを構成するイベントデータが読み出さ
れたときに、当該識別データおよび前記選択された対応
データに基づいて前記イベントデータが示す楽器の種類
を取得し、前記イベントデータを楽器毎に分離する分離
手段と、該分離されたイベントデータを、該イベントデ
ータに対応する前記タイミングデータに基づいて、楽器
毎に定められた所定の表示位置に表示する表示手段と、
前記読出し手段により順次読み出された自動演奏データ
に基づいて楽音の生成を行う楽音生成手段とを有するこ
とを特徴とする。好ましくは、前記識別データによって
示される種類毎に、前記楽音生成手段による楽音の生成
を行わないことを設定する設定手段と、前記読出し手段
によって読み出された自動演奏データが、前記設定手段
により楽音の生成を行わないことが設定されたものであ
るか否かを判別する判別手段とを有し、前記楽音生成手
段は、前記判別手段により楽音の生成を行わないことが
設定された自動演奏データであると判別されたときに
は、その種類の楽音の生成を行わないことを特徴とす
る。さらに、好ましくは、前記第1の記憶手段は、少な
くとも2種類以上の楽器毎に、それぞれ前記複数種類の
自動演奏パターンのうちいずれかを指定する指定情報か
ら構成される特殊自動演奏パターンを記憶し、前記読出
し手段は、前記第1の選択手段により前記特殊自動演奏
パターンが選択されたときには、当該各指定情報により
それぞれ指定された自動演奏パターン中、当該楽器に対
応する自動演奏データを順次読み出すことを特徴とす
る。
According to the first aspect of the present invention, there is provided an automatic performance data of at least two types of musical instruments, wherein the automatic performance data is any type of data among the types. A plurality of types of automatic performance patterns in which event data including identification data for identifying the presence of the event data and timing data indicating the read timing of the event data are arranged in chronological order on a single track are stored. A first storage means, a second storage means for storing a plurality of types of correspondence data for associating the identification data with the types of musical instruments on a one-to-one basis, and a plurality of types of automatic performances stored in the first storage means First selecting means for selecting a desired automatic performance pattern from the pattern; and a desired pair from a plurality of types of corresponding data stored in the second storage means. Second selecting means for selecting data, reading means for sequentially reading out the automatic performance data in the selected automatic performance pattern, and when the event data constituting the automatic performance data is read out by the reading means. Separating means for obtaining the type of musical instrument indicated by the event data based on the identification data and the selected corresponding data, and separating the event data for each musical instrument; Display means for displaying at a predetermined display position determined for each instrument, based on the timing data corresponding to
And a tone generating means for generating a tone based on the automatic performance data sequentially read by the reading means. Preferably, for each type indicated by the identification data, setting means for setting not to generate a tone by the tone generating means, and automatic performance data read by the reading means, wherein Discriminating means for discriminating whether or not generation of a musical tone is not performed, wherein the musical tone generating means includes an automatic performance data set to not generate a musical tone by the discriminating means. When it is determined that the tone is not generated, the generation of that type of tone is not performed. Further, preferably, the first storage means stores, for each of at least two or more types of musical instruments, a special automatic performance pattern composed of specification information for specifying one of the plurality of types of automatic performance patterns. The reading means, when the special automatic performance pattern is selected by the first selecting means, sequentially reads out the automatic performance data corresponding to the musical instrument among the automatic performance patterns specified by the respective specification information. It is characterized by.

【0010】また、請求項4記載の発明は、少なくとも
2種類以上の楽器の自動演奏データが時系列的に1トラ
ックに混在して配列された自動演奏パターンを、複数種
類記憶する第1の記憶手段と、前記第1の記憶手段に記
憶された複数種類の自動演奏パターンのうちのいずれか
の自動演奏パターンを、少なくとも2種類以上の楽器毎
それぞれ指定する指定情報から構成される特殊自動演奏
パターンを記憶する第2の記憶手段と、前記自動演奏パ
ターンまたは特殊自動演奏パターンのいずれかを選択す
る選択手段と、該選択されたパターンが特殊演奏パター
ンであるときに、当該各指定情報によりそれぞれ指定さ
れた自動演奏パターン中、当該楽器に対応する自動演奏
データを順次読み出す読出し手段と、該読み出された自
動演奏データに基づいて楽音を生成する楽音生成手段と
を有することを特徴とする。
According to a fourth aspect of the present invention, there is provided a first memory for storing a plurality of types of automatic performance patterns in which automatic performance data of at least two or more types of musical instruments are arranged in chronological order in a mixture on one track. Means, and a special automatic performance pattern comprising at least two types of automatic performance patterns each of at least two types of musical instruments, each of the plurality of types of automatic performance patterns stored in the first storage means. Second storage means for storing the automatic performance pattern or the special automatic performance pattern, and when the selected pattern is a special performance pattern, each of the information is designated by the corresponding specification information. Reading means for sequentially reading out automatic performance data corresponding to the musical instrument in the read automatic performance pattern; There characterized by having a musical tone generating means for generating musical tones.

【0011】[0011]

【作用】請求項1記載の発明に依れば、第1の記憶手段
に記憶された複数種類の自動演奏パターンから所望の自
動演奏パターンが選択され、第2の記憶手段に記憶され
た複数種類の対応データから所望の対応データが選択さ
れ、読出し手段によリ前記自動演奏データを構成するイ
ベントデータが読み出されたときに、当該識別データお
よび前記選択された対応データに基づいて前記イベント
データが示す楽器の種類が取得されて、前記イベントデ
ータが楽器毎に分離され、このイベントデータが、該イ
ベントデータに対応するタイミングデータに基づいて、
楽器毎に定められた所定の表示位置に表示されるととも
に、前記読出し手段により順次読み出された自動演奏デ
ータに基づいて楽音が生成される。請求項2記載の発明
に依れば、判別手段により、読出し手段によって読み出
された自動演奏データが設定手段により楽音の生成を行
わないことが設定されたものであると判別されたときに
は、楽音生成手段による当該種類の楽音の生成は行われ
ない。請求項3記載の発明に依れば、第1の記憶手段に
は、少なくとも2種類以上の楽器毎に、それぞれ前記複
数種類の自動演奏パターンのうちいずれかを指定する指
定情報から構成される特殊自動演奏パターンが記憶さ
れ、第1の選択手段により前記特殊自動演奏パターンが
選択されたときには、当該各指定情報によりそれぞれ指
定された自動演奏パターン中、当該楽器に対応する自動
演奏データが順次読み出される。
According to the first aspect of the present invention, a desired automatic performance pattern is selected from a plurality of types of automatic performance patterns stored in the first storage means, and a plurality of types of automatic performance patterns stored in the second storage means are selected. When the desired corresponding data is selected from the corresponding data, and when the reading means reads out the event data constituting the automatic performance data, the event data is read out based on the identification data and the selected corresponding data. Is acquired, the event data is separated for each instrument, and the event data is determined based on timing data corresponding to the event data.
A musical tone is generated based on the automatic performance data sequentially displayed by the reading means while being displayed at a predetermined display position determined for each musical instrument. According to the second aspect of the present invention, when the determining means determines that the automatic performance data read by the reading means is set by the setting means not to generate a musical tone, the musical tone is output. The generation means does not generate the tone of the type. According to the third aspect of the present invention, the first storage means stores, for each of at least two or more types of musical instruments, special information configured to specify one of the plurality of types of automatic performance patterns. The automatic performance pattern is stored, and when the special automatic performance pattern is selected by the first selecting means, the automatic performance data corresponding to the musical instrument is sequentially read out of the automatic performance patterns specified by the respective specification information. .

【0012】請求項4記載の発明に依れば、第2の記憶
手段には、第1の記憶手段に記憶された複数種類の自動
演奏パターンのうちのいずれかの自動演奏パターンを、
少なくとも2種類以上の楽器毎それぞれ指定する指定情
報から構成される特殊自動演奏パターンが記憶され、選
択手段により特殊演奏パターンが選択されると、読出し
手段により、当該各指定情報によりそれぞれ指定された
自動演奏パターン中、当該楽器に対応する自動演奏デー
タが順次読み出され、該読み出された自動演奏データに
基づいて楽音が生成される。
According to the fourth aspect of the present invention, the second storage means stores any one of a plurality of types of automatic performance patterns stored in the first storage means.
A special automatic performance pattern composed of specification information specified for each of at least two or more types of musical instruments is stored, and when the special performance pattern is selected by the selection means, the automatic performance specified by the specification information is read by the reading means. During the performance pattern, automatic performance data corresponding to the musical instrument is sequentially read, and a tone is generated based on the read automatic performance data.

【0013】[0013]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は、本発明の一実施例に係る自動演奏
装置の概略構成を示すブロック図であり、本実施例は、
本発明を電子ドラム楽器に適用したものである。
FIG. 1 is a block diagram showing a schematic configuration of an automatic performance apparatus according to one embodiment of the present invention.
The present invention is applied to an electronic drum musical instrument.

【0015】同図において、本実施例の自動演奏装置
は、音高を入力するための鍵盤1と、主として自動演奏
データを入力するためのスイッチから成るパネル操作子
2と、各種入力状態等を表示するLCDディスプレイ3
と、装置全体の制御を司るCPU4と、CPU4が実行
する制御プログラムやテーブルデータ等を記憶するRO
M5と、自動演奏データ、演算結果、および各種入力情
報等を一時的に格納するRAM6と、自動演奏データ等
を音声信号に変換する音源7と、音源7からの音声信号
に効果音等を付加するデジタルシグナルプロセッサ(D
SP)8とにより、主として構成されている。
Referring to FIG. 1, an automatic performance apparatus according to this embodiment includes a keyboard 1 for inputting a pitch, a panel operator 2 mainly composed of switches for inputting automatic performance data, and various input states. LCD display 3 to display
A CPU 4 that controls the entire apparatus, and an RO that stores a control program executed by the CPU 4 and table data.
M5, a RAM 6 for temporarily storing automatic performance data, calculation results, various input information, etc., a sound source 7 for converting automatic performance data and the like into audio signals, and adding sound effects and the like to the audio signals from the sound source 7 Digital signal processor (D
SP) 8 mainly.

【0016】鍵盤1には、各鍵の押下状態を検出する鍵
盤インターフェース(I/F)9が接続され、パネル操
作子2には、各スイッチの押下状態を検出するパネルス
イッチインターフェース(I/F)10が接続され、L
CDディスプレイ3には、LCDディスプレイ3に文字
や図形等を表示するためのLCDインターフェース(I
/F)11が接続されている。
The keyboard 1 is connected to a keyboard interface (I / F) 9 for detecting the pressed state of each key, and the panel operator 2 is connected to a panel switch interface (I / F) for detecting the pressed state of each switch. ) 10 is connected and L
The CD display 3 has an LCD interface (I / O) for displaying characters and graphics on the LCD display 3.
/ F) 11 are connected.

【0017】さらに、デジタルシグナルプロセッサ8に
は、そのデジタル楽音信号をアナログ信号に変換するた
めのデジタルアナログコンバータ(DAC)12を介し
て、スピーカ等から成るサウンドシステム13が接続さ
れている。
Further, the digital signal processor 8 is connected to a sound system 13 composed of a speaker or the like via a digital / analog converter (DAC) 12 for converting the digital musical tone signal into an analog signal.

【0018】なお、上記要素4〜11は、バス14を介
して相互に接続されている。
The above elements 4 to 11 are interconnected via a bus 14.

【0019】図2は、自動演奏装置のパネル面の構成を
示す図であり、パネル面には、前記図1のパネル操作子
2およびLCDディスプレイ3が配設されている。
FIG. 2 is a diagram showing the configuration of the panel surface of the automatic performance apparatus. The panel operator 2 and the LCD display 3 of FIG. 1 are arranged on the panel surface.

【0020】なお、パネル操作子2として、ドラムの各
要素に対応する自動演奏データを入力するための12個
のパッドスイッチと、編集等のためのその他のスイッチ
が図示されている。
As the panel operator 2, twelve pad switches for inputting automatic performance data corresponding to each element of the drum and other switches for editing and the like are shown.

【0021】ここで、パッドスイッチ21は、ハイハッ
トの音を入力するためのものであり、パッドスイッチ2
2は、スネアドラムの音を入力するためのものであり、
パッドスイッチ23は、バスドラムの音を入力するため
のものであり、パッドスイッチ24は、シンバルの音を
入力するためのものである。
The pad switch 21 is for inputting a hi-hat sound.
2 is for inputting the sound of the snare drum,
The pad switch 23 is for inputting bass drum sounds, and the pad switch 24 is for inputting cymbal sounds.

【0022】また、その他のスイッチ25は、編集また
は再生の開始/終了を指示するスイッチ251,252
自動演奏データの表示位置等の変更を指示するスイッチ
253〜255や各パッドスイッチから入力できる自動演
奏データを変更するキーアサインスイッチ256等によ
り構成されている。したがって、本実施例では、操作者
が前記その他のスイッチ25の所定のスイッチを操作す
ることにより、各パッドスイッチに割り当てられている
楽器(ドラムの要素)の設定を変更することができる。
[0022] In addition, other switches 25, edit or switch 25 1 to instruct the start / end of the playback, 25 2 and the switch 25 for instructing a change of the display position of the automatic performance data 3-25 5 and each pad switch It is composed of key assignment switch 25 6 such as changing the automatic performance data that can be entered from. Therefore, in the present embodiment, the setting of the musical instrument (element of the drum) assigned to each pad switch can be changed by operating the predetermined switch of the other switches 25 by the operator.

【0023】さらに、LCDディスプレイ3には、編集
または再生時の自動演奏データや、パッドスイッチ表示
やパッドスイッチに割り当てられた楽器の設定を変更し
たときの設定状態や、その他の入力情報等が表示され
る。
Further, the LCD display 3 displays automatic performance data at the time of editing or reproduction, a pad switch display, a setting state when a setting of an instrument assigned to the pad switch is changed, and other input information. Is done.

【0024】図3は、ある1つのトラックに記録された
自動演奏データの一例を示す図であり、パターン1とし
て前記RAM6の所定領域に記録されたものである。
FIG. 3 is a diagram showing an example of automatic performance data recorded on a certain track, which is recorded as a pattern 1 in a predetermined area of the RAM 6.

【0025】同図中、コード31(“F000”)は、
データの始まりを示すコードであり、どのパターンも、
“F000”から始まっている。コード32(“B10
0”)は、小節1の始まりを示すコードであり、小節2
の始まりは、“B200”により示される(コード3
3)。
In the figure, code 31 (“F000”) is
This is the code that marks the beginning of the data.
It starts with "F000". Code 32 ("B10
0 ″) is a code indicating the start of measure 1,
Is indicated by “B200” (code 3
3).

【0026】また、コード32とコード33とにより囲
まれた複数のコード34は、小節1に記録された自動演
奏パターンを示している。以下、コード341(“C8
7F”)およびコード342を例に挙げ、そのコードを
構成する各要素の意味を説明する。なお、この実施例で
は説明を簡単にするため、自動演奏データはオンイベン
トとデュレーションデータだけで構成されているものと
する。
A plurality of chords 34 surrounded by chords 32 and 33 indicate an automatic performance pattern recorded in bar 1. Hereinafter, code 34 1 (“C8
7F ") and include a code 34 2 as an example, explaining the meaning of each element constituting the code. In order to simplify the explanation in this embodiment, the automatic performance data is configured only on event and duration data It is assumed that

【0027】まず、コード341の“C”は「ステータ
ス」を示し、オンイベントであることを示している。そ
の次の“8”は「パッドナンバ」、即ち、図2の各パッ
ドスイッチの番号を示し、この例では、前記パッドスイ
ッチ23からのオンイベント(初期設定では、スネアド
ラムの音)が記録されたことを示している。さらに、
“7F”(16進数)は、「ベロシティ」を示し、例え
ば8ビットで表現されている。
[0027] First of all, the code 34 1 "C" indicates the "Status", shows that it is on the event. The next “8” indicates the “pad number”, that is, the number of each pad switch in FIG. 2. In this example, an on event (the sound of the snare drum in the initial setting) from the pad switch 23 is recorded. It shows that. further,
“7F” (hexadecimal number) indicates “velocity” and is represented by, for example, 8 bits.

【0028】次に、コード342の“D”も前記“C”
と同様に「ステータス」を示し、次のオンイベントの出
力タイミングを示すオンイベント間の時間(デュレーシ
ョン)であることを示している。その次の“030”
(16進数)は、デュレーションの値を示し、例えば1
2ビットで表現されている。なお、同一タイミングに複
数のパッドスイッチが押された場合には、図3に示され
るように、一つのデュレーションに対して当該複数のオ
ンイベントが記録される。
Next, the code 34 2 "D" also said "C"
In the same manner as the above, “status” is shown, and it is a time (duration) between ON events indicating the output timing of the next ON event. The next “030”
(Hexadecimal) indicates the value of the duration, for example, 1
It is represented by 2 bits. When a plurality of pad switches are pressed at the same timing, as shown in FIG. 3, the plurality of ON events are recorded for one duration.

【0029】また、コード35(“F200”)は、デ
ータの終わりを示すコードである。
The code 35 ("F200") is a code indicating the end of data.

【0030】図4は、前記LCDディスプレイ3に表示
された自動演奏データのパターンの一例を示す図であ
る。
FIG. 4 is a diagram showing an example of the pattern of the automatic performance data displayed on the LCD display 3. As shown in FIG.

【0031】同図には、パターン1の小節1に記録され
たパターン、即ち、図3のコード34で示されるパター
ンが表示され、1トラックにドラムの各要素のオンイベ
ントが混在して記録されているものを各要素毎に分離し
て表示されている。同図に示されるように、各要素は、
上からハイハット(HH)、スネアドラム(SD)、バ
スドラム(BD)、その他(Others)の順に表示されて
いる。なお、記録されたパターンの要素の内、所望の要
素(本実施例では、スネアドラムおよびその他)を出力
しないように、ミュートをかけることもできる。
In FIG. 3, the pattern recorded in the bar 1 of the pattern 1, that is, the pattern indicated by the code 34 in FIG. 3 is displayed, and the ON event of each element of the drum is recorded in one track in a mixed manner. Are displayed separately for each element. As shown in FIG.
From the top, hi-hat (HH), snare drum (SD), bass drum (BD), and other (Others) are displayed in this order. It should be noted that mute can be applied so as not to output a desired element (in this embodiment, a snare drum and others) among the elements of the recorded pattern.

【0032】また、本実施例の自動演奏装置は、前記R
AM6に、100パターンの自動演奏データを記録でき
る領域を有し、パターン1〜49はプリセットパター
ン、即ち出荷時に所定のパターンが予め設定されたパタ
ーンであり、パターン50〜89はユーザパターン、即
ち操作者が自由に設定できるパターンであり、パターン
90〜100はコンビネーションパターン、即ちパター
ン1〜89のパターンを楽器(ドラム)の要素毎に読み
出して設定できるパターンである。
Further, the automatic performance device of the present embodiment
AM6 has an area in which 100 patterns of automatic performance data can be recorded. Patterns 1 to 49 are preset patterns, that is, patterns in which predetermined patterns are set before shipment. Patterns 50 to 89 are user patterns, that is, operation patterns. The patterns 90 to 100 are patterns that can be read and set for each element of a musical instrument (drum).

【0033】図5は、コンビネーションパターンの記憶
領域(コンビネーションエリア)に記憶されたデータの
一例を示す図であり、パターン100として記憶された
データを示している。同図に示されるように、コンビネ
ーションパターンは、楽器の各要素毎にそれぞれ所望の
パターン番号を記憶するようにしている。
FIG. 5 is a diagram showing an example of data stored in a storage area (combination area) of a combination pattern, and shows data stored as a pattern 100. As shown in the figure, the combination pattern stores a desired pattern number for each element of the musical instrument.

【0034】図6は、図5のコンビネーションパターン
(パターン100)をLCDディスプレイ3に表示した
ものであり、小節2が表示され、楽器の各要素には対応
するパターン番号およびそのパターンが表示されてい
る。即ち、コンビネーションパターンが指定されると、
前記CPU4は、コンビネーションエリアの楽器の種類
とそのパターン番号に応じて、RAM6に記憶されてい
る当該パターン(パターン1〜89のいずれかのパター
ン)内の当該楽器のパターンのみを読み出し、LCDデ
ィスプレイ3に表示する。
FIG. 6 shows the combination pattern (pattern 100) shown in FIG. 5 on the LCD display 3. A bar 2 is displayed, and a corresponding pattern number and its pattern are displayed for each element of the musical instrument. I have. That is, when a combination pattern is specified,
The CPU 4 reads out only the pattern of the musical instrument in the pattern (any one of patterns 1 to 89) stored in the RAM 6 according to the type of the musical instrument in the combination area and its pattern number, and To be displayed.

【0035】図7は、本実施例の自動演奏装置により出
力される音色とパッドスイッチの各スイッチに割り当て
られた音色とを変換する変換方法を説明するための図で
ある。
FIG. 7 is a diagram for explaining a conversion method for converting the timbre output by the automatic performance device of the present embodiment and the timbre assigned to each of the pad switches.

【0036】前述したように、各パッドスイッチに割り
当てられる楽器の要素(音色)は変更することができ、
変更したときには変更後の各パッドスイッチと音色との
対応関係が分かるように、パッドアサインテーブルと呼
ばれるテーブルに対応する音色番号を書き込む。同図に
よると、図2のパッドスイッチ21(HH)、23(B
D)、22(SD)に、ハイハットの音色10、バスド
ラムの音色2、およびスネアドラムの音色6がそれぞれ
割り当てられている。なお、アサインテーブルは複数個
用意され、複数グループの設定が可能である。
As described above, the musical instrument elements (tone colors) assigned to the respective pad switches can be changed.
When a change is made, a tone color number corresponding to a table called a pad assignment table is written so that the correspondence between each pad switch and the tone after the change can be understood. According to the figure, the pad switches 21 (HH) and 23 (B
D) and 22 (SD) are assigned a hi-hat tone 10, a bass drum tone 2, and a snare drum tone 6, respectively. A plurality of assignment tables are prepared, and a plurality of groups can be set.

【0037】以下、以上のように構成された自動演奏装
置の制御処理を、図8〜図15のフローチャートに基づ
いて説明する。
Hereinafter, the control processing of the automatic performance device configured as described above will be described with reference to the flowcharts of FIGS.

【0038】図8は、メインルーチンの処理手順を示す
フローチャートである。
FIG. 8 is a flowchart showing the processing procedure of the main routine.

【0039】まず、CPU4やRAM6等の各種初期設
定を行う(ステップS1)。
First, various initial settings such as the CPU 4 and the RAM 6 are performed (step S1).

【0040】次に、自動演奏パターンの設定を行う設定
処理サブルーチンを実行し(ステップS2)、前記LC
Dディスプレイ3に表示を行う表示処理サブルーチンを
実行し(ステップS3)、設定されたパターンに基づい
て自動演奏を行う自動演奏処理サブルーチンを実行し
(ステップS4)、コンビネーションパターンをユーザ
パターンにコピーするコピー処理サブルーチンを実行し
(ステップS5)、その他の処理を実行した(ステップ
S6)後に、ステップS2に戻り、前記ステップS2〜
ステップS6の処理を繰り返す。
Next, a setting processing subroutine for setting an automatic performance pattern is executed (step S2), and the LC
A display processing subroutine for displaying on the D display 3 is executed (step S3), an automatic performance processing subroutine for performing an automatic performance based on the set pattern is executed (step S4), and the copy for copying the combination pattern to the user pattern After executing a processing subroutine (step S5) and executing other processing (step S6), the process returns to step S2, and returns to steps S2 to S2.
Step S6 is repeated.

【0041】図9は、図8のステップS2の設定処理サ
ブルーチンの詳細な手順を示すフローチャートである。
FIG. 9 is a flowchart showing a detailed procedure of the setting processing subroutine of step S2 in FIG.

【0042】まず、パターン1〜100の内、指示され
たパターンに従ってパターン選択処理を行い(ステップ
S11)、選択されたパターンがLCDディスプレイ3
に表示される。
First, a pattern selection process is performed in accordance with the designated pattern among the patterns 1 to 100 (step S11), and the selected pattern is displayed on the LCD display 3.
Will be displayed.

【0043】次に、選択指示されたパターンがコンビネ
ーションパターンか否かを判別し(ステップS12)、
コンビネーションパターンであるとき、即ちパターン9
0〜100のときには図5で説明したように楽器毎のパ
ターン選択処理を行い(ステップS13)、一方、コン
ビネーションパターンでないときにはステップS13を
スキップしてステップS14に進む。
Next, it is determined whether the selected pattern is a combination pattern (step S12).
When it is a combination pattern, that is, pattern 9
When it is 0 to 100, the pattern selection processing for each musical instrument is performed as described with reference to FIG. 5 (step S13). On the other hand, when it is not a combination pattern, step S13 is skipped and the process proceeds to step S14.

【0044】ステップS14では、操作者の指示に応じ
て表示するべき小節の選択処理を行い、次に、前記パッ
ドスイッチの割り当てが変更されたときには、その変更
された割り当て状態に対応するパッドアサインテーブル
を選択する選択処理を行い(ステップS15)、前述し
たミュートが指示されている楽器のパターンがあるとき
にはそれに応じてミュート設定処理を行い(ステップS
16)、テンポを設定するテンポ設定処理を行い(ステ
ップS17)、その他の処理を行った(ステップS1
8)後に、本サブルーチン処理を終了する。
In step S14, a measure to be displayed is selected in accordance with the instruction of the operator. Next, when the assignment of the pad switch is changed, the pad assignment table corresponding to the changed assignment state is selected. Is selected (step S15), and if there is an instrument pattern for which mute is instructed, mute setting processing is performed accordingly (step S15).
16), a tempo setting process for setting a tempo is performed (step S17), and other processes are performed (step S1).
8) Thereafter, the present subroutine process ends.

【0045】図10は、図8のステップS3の表示処理
サブルーチンの詳細な手順を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a detailed procedure of the display processing subroutine of step S3 in FIG.

【0046】まず、前記ステップS14で選択された表
示するべき小節番号を読み出す(ステップS21)。
First, the bar number to be displayed selected in step S14 is read (step S21).

【0047】次に、前記ステップS15で選択されたパ
ッドアサインテーブルから、ハイハットHH、バスドラ
ムBD、スネアドラムSD、その他Othersのそれぞれの
音色の音がどのパッドスイッチに割り当てられているか
を検索し、そのパッドスイッチの番号をそれぞれ前記R
AM6の領域HHPN,BDPN,SDPN,OTHP
Nに格納する。具体的には、前述した図7において、例
えば、ハイハットHHに対応するパッドスイッチの番号
HHPNを得る場合には、ハイハット音色ナンバテーブ
ルと選択されたパッドアサインテーブルとを比較し、番
号10〜12の内のいずれかの番号が格納されているパ
ッド番号を検索して領域HHPNに格納する。同様に、
各楽器に対応する音色ナンバテーブルとパッドアサイン
テーブルとを比較し、パッド番号を検索して前記領域B
DPN,SDPN,OTHPNの値を決定する。
Next, from the pad assignment table selected in step S15, a search is made to find which pad switch the tone of each of the hi-hat HH, the bass drum BD, the snare drum SD, and other Others is assigned to. The numbers of the pad switches are designated by R
AM6 area HHPN, BDPN, SDPN, OTHP
N. Specifically, in FIG. 7 described above, for example, when obtaining the number HHPN of the pad switch corresponding to the hi-hat HH, the hi-hat tone number table is compared with the selected pad assignment table, and the numbers 10-12 are assigned. Is searched for and stored in the area HHPN. Similarly,
The tone number table corresponding to each instrument is compared with the pad assignment table, and a pad number is searched for to determine the area B
The values of DPN, SDPN and OTHPN are determined.

【0048】次に、楽器毎に選択されているパターンの
表示するべき小節の中から、前記ステップS22で格納
されたパット番号HHPN,BDPN,SDPN,OT
HPNに対応するパッド番号を検索し、そのイベントを
表示した(ステップS23)後に、本サブルーチン処理
を終了する。即ち、図7において、番号HHPNの値は
“7”であるので、図3のパターン1の小節1から“C
7”を有するコードを検索するとともに、“C7”を有
するコードとコードの間にあるステータス“D”を有す
るコードを検索して、そのデュレーションデータを得る
ことにより、図6に示すようにそのタイミングを表示す
る。なお、“C7”と“C7”の間に複数のデュレーシ
ョンデータがある場合は、それらのデュレーションデー
タを加算した結果を表示する。以下、同様にして、スネ
アドラムSD、バスドラムBD、その他othersに対応す
るパターンを表示する。
Next, the pat numbers HHPN, BDPN, SDPN, OT stored in step S22 are selected from the bars to be displayed of the pattern selected for each musical instrument.
After searching for the pad number corresponding to the HPN and displaying the event (step S23), the subroutine processing is terminated. That is, since the value of the number HHPN is “7” in FIG.
In addition to searching for a code having "7" and a code having a status "D" between the code having "C7" and its duration data, the timing data is obtained as shown in FIG. If there are a plurality of duration data between "C7" and "C7", the result of adding the duration data is displayed. Hereinafter, similarly, the snare drum SD and the bass drum BD are displayed. , And other corresponding patterns are displayed.

【0049】図11は、図8のステップS4の自動演奏
処理サブルーチンの詳細な手順を示すフローチャートで
ある。
FIG. 11 is a flowchart showing a detailed procedure of the automatic performance processing subroutine of step S4 in FIG.

【0050】まず、前記図2の自動演奏処理の開始の指
示を行うスタートスイッチ251が押されたか否かを判
別し(ステップS31)、押されたときには後述する再
生処理サブルーチンを実行し(ステップS32)、一
方、押されないときにはステップS32をスキップして
ステップS33に進む。
Firstly, the start switch 25 1, it is determined whether or not pressed (step S31) for instructing the start of the automatic performance process of FIG 2, when pressed performs reproduction processing subroutine to be described later (step S32) On the other hand, when the button is not pressed, the process skips step S32 and proceeds to step S33.

【0051】ステップS33では、前記図2の自動演奏
処理の終了の指示を行うストップスイッチ252が押さ
れたか否かを判別し(ステップS33)、押されたとき
には後述する割り込み処理を禁止する割り込み禁止処理
の指示を行った(ステップS34)後に、本サブルーチ
ン処理を終了し、一方、ストップスイッチが押されない
ときにはステップS34をスキップして本サブルーチン
処理を終了する。
In Step S33, it is determined whether or not the stop switch 25 2 for instructing termination of the automatic performance process of FIG 2 is pressed (step S33), when pressed to disable interrupts processing to be described later interrupt After the prohibition process is instructed (step S34), the present subroutine process is terminated. On the other hand, if the stop switch is not pressed, step S34 is skipped and the present subroutine process is terminated.

【0052】図12は、図11のステップS32の再生
処理サブルーチンの詳細な手順を示すフローチャートで
ある。なお、本サブルーチンでは再生処理の初期設定の
みが行われ、その後の処理は後述する割り込み処理で行
われる。
FIG. 12 is a flowchart showing a detailed procedure of the reproduction processing subroutine of step S32 in FIG. In this subroutine, only the initial setting of the reproduction process is performed, and the subsequent process is performed by an interrupt process described later.

【0053】まず、割り込みを許可して(ステップS4
1)、後述する割り込み処理が行われるようにする。
First, an interrupt is permitted (step S4).
1) An interrupt process described later is performed.

【0054】次に、前記RAM6に確保されたカウンタ
iの値(以下、「楽器i」ともいう)を“1”とする
(ステップS42)。ここで、カウンタiは、1〜4の
整数値を採り、整数値1〜4は、それぞれ順にハイハッ
トHH、スネアドラムSD、バスドラムBD、その他ot
hersに対応する。
Next, the value of the counter i secured in the RAM 6 (hereinafter, also referred to as "instrument i") is set to "1" (step S42). Here, the counter i takes an integer value of 1 to 4, and the integer values 1 to 4 respectively represent the hi-hat HH, the snare drum SD, the bass drum BD, and other ots.
Corresponds to hers.

【0055】次に、楽器iに対応するパターンデータの
先頭アドレスを検索して、そのアドレス値を得(ステッ
プS43)、その得られたアドレス値を、各楽器に対応
して前記RAM6に確保されたポインタptr_iに格
納し(ステップS44)、ポインタptr_iにより指
示される位置に記録されているデータ(コード)を読み
出す(ステップS45)。
Next, the head address of the pattern data corresponding to the musical instrument i is searched to obtain its address value (step S43), and the obtained address value is secured in the RAM 6 for each musical instrument. The data (code) stored in the position designated by the pointer ptr_i is read (step S45).

【0056】ステップS45で読み出されたデータが、
ステータス“D”のデュレーションデータであるか否か
を判別し(ステップS46)、デュレーションデータで
あれば、デュレーションデータをカウントダウンするた
めにRAM6に確保されたカウンタcount_iにそ
のデュレーションデータを格納し(ステップS47)、
すべての楽器iについてデータの判別が終了したか否か
を判別する(ステップS48)。このとき、まだ終了し
ていないときにはカウンタiを“1”だけインクリメン
トした(ステップS49)後に、前記ステップS43に
戻り、次の楽器i+1について同様の処理を行い、一
方、すべての楽器iについてデータの判別を終了したと
きには本サブルーチン処理を終了する。
The data read in step S45 is
It is determined whether or not the data is the status "D" duration data (step S46). If it is the duration data, the duration data is stored in a counter count_i secured in the RAM 6 to count down the duration data (step S47). ),
It is determined whether the data determination has been completed for all the musical instruments i (step S48). At this time, if the processing has not been completed, the counter i is incremented by "1" (step S49), and the process returns to the step S43 to perform the same processing for the next instrument i + 1. When the determination is completed, the present subroutine process is completed.

【0057】一方、ステップS46の判別で、デュレー
ションデータでないときには、そのコードのパッド番号
と楽器iに対応するパッド番号とを比較し(ステップS
50)、一致したか否かを判別する(ステップS5
1)。このとき、一致しない場合にはポインタptr_
iを次のデータが指示されるように移動した(ステップ
S52)後に、前記ステップS45に戻り、その位置で
のデータの読み出しを行う。一方、一致した場合にはミ
ュートの指示がなされているか否かを判別し(ステップ
S53)、ミュートの指示がなされていないときには発
音処理を行い(ステップS54)、一方、ミュートの指
示がなされていないときにはステップS54をスキップ
してステップS55に進む。
On the other hand, if it is determined in step S46 that the data is not duration data, the pad number of the code is compared with the pad number corresponding to the musical instrument i (step S46).
50), it is determined whether or not they match (step S5)
1). At this time, if they do not match, the pointer ptr_
After moving i so that the next data is designated (step S52), the process returns to step S45, and the data is read at that position. On the other hand, if they match, it is determined whether or not a mute instruction has been given (step S53). If no mute instruction has been given, a sound generation process is performed (step S54), while no mute instruction has been given. In some cases, the process skips step S54 and proceeds to step S55.

【0058】ステップS55では、コピーの指示がなさ
れているか否かの判別を行い、コピーの指示がなされて
いるときには当該オンイベントを記憶し(ステップS5
6)、一方、コピーの指示がなされていないときには前
記ステップS52に進み、次の読み出し位置にポインタ
ptr_iを進める。ここで、コピーとは、前記コンビ
ネーションパターンの自動演奏データを編集するために
元のパターンの自動演奏データを前記RAM6の所定領
域(ユーザエリア)にコピーする処理をいう。即ち、コ
ンビネーションパターンの構成要素である元の自動演奏
データのパターンを直接編集すると、そのパターンが他
のコンビネーションパターンで使用されている場合等
に、変更したくないコンビネーションパターンの音色ま
で変更されてしまう虞があるからである。
In step S55, it is determined whether or not a copy instruction has been issued. If a copy instruction has been issued, the ON event is stored (step S5).
6) On the other hand, when the copy instruction has not been issued, the process proceeds to step S52, and the pointer ptr_i is advanced to the next read position. Here, copying means a process of copying the automatic performance data of the original pattern to a predetermined area (user area) of the RAM 6 in order to edit the automatic performance data of the combination pattern. That is, if the pattern of the original automatic performance data, which is a component of the combination pattern, is directly edited, the tone of the combination pattern that is not desired to be changed is changed when the pattern is used in another combination pattern. This is because there is a fear.

【0059】図13は、図8のステップS5のコピー処
理サブルーチンの詳細な手順を示すフローチャートであ
る。
FIG. 13 is a flowchart showing a detailed procedure of the copy processing subroutine of step S5 in FIG.

【0060】まず、コンビネーションパターンをユーザ
パターンにコピーする指示があるか否かを判別し(ステ
ップS61)、指示があったときには書き込まれるユー
ザエリアをクリアし(ステップS62)、書き込みのた
めのデュレーションデータをカウントする、RAM6の
レジスタR_durをクリアし(ステップS63)、前
述した図12の再生処理サブルーチンを実行した(ステ
ップS64)後に、本サブルーチン処理を終了する。一
方、ステップS61の判別でコピーの指示がないときに
は前記ステップS62〜ステップS64をスキップして
本サブルーチン処理を終了する。
First, it is determined whether or not there is an instruction to copy the combination pattern to the user pattern (step S61), and if so, the user area to be written is cleared (step S62), and the duration data for writing is written. The register R_dur of the RAM 6 is cleared (step S63), and after executing the above-described reproduction processing subroutine of FIG. 12 (step S64), the subroutine processing is terminated. On the other hand, if it is determined in step S61 that there is no copy instruction, steps S62 to S64 are skipped, and the present subroutine process ends.

【0061】図14および図15は、前記割り込み処理
の詳細な手順を示すフローチャートである。
FIGS. 14 and 15 are flowcharts showing the detailed procedure of the interrupt processing.

【0062】本実施例において、タイマ割り込み要求
は、図示しないタイマにより1小節の長さの1/96、
すなわち96分長毎に1回の割合でなされるように構成
されている。即ち、タイマは96分長に相当する時間を
計時するとCPU4に対して割り込み要求を出力し、C
PU4は、この割り込み要求を受けてメインルーチンか
らタイマ割り込みルーチンへ処理を移行させる。この9
6分長に相当する時間は、テンポの変更に従って変化す
るため、割り込み要求がなされる時間間隔は、テンポに
より変化することになる。
In the present embodiment, the timer interrupt request is sent by a timer (not shown) to 1/96 of the length of one bar,
That is, it is configured to be performed once every 96 minutes. That is, when the timer measures the time corresponding to the 96-minute length, the timer outputs an interrupt request to the CPU 4,
In response to the interrupt request, the PU 4 shifts the processing from the main routine to the timer interrupt routine. This 9
Since the time corresponding to the length of six minutes changes according to the change in tempo, the time interval at which an interrupt request is made changes according to the tempo.

【0063】まず、前記レジスタR_durを“1”だ
けインクリメントし(ステップS71)、前記カウンタ
iの値を“1”に設定する(ステップS72)。
First, the register R_dur is incremented by "1" (step S71), and the value of the counter i is set to "1" (step S72).

【0064】次に、前記カウンタcount_iを
“1”だけデクリメントし(ステップS73)、カウン
タcount_iの値が“0”であるか否かを判別する
(ステップS74)。この判別で、カウンタcount
_iの値が“0”でないとき、即ち、まだオンイベント
の発音タイミングでないときには、カウンタiの値が
“4”であるか否か、即ち、すべての楽器に対する判別
が終了したか否かを判別し(ステップS75)、まだ判
別するべき楽器が残っているときにはカウンタiを
“1”だけインクリメントした(ステップS76)後
に、ステップS73に戻って次の楽器の判別に処理を移
す。一方、ステップS75の判別で、すべての楽器に対
する判別が終了したときには本割り込み処理を終了す
る。
Next, the counter count_i is decremented by "1" (step S73), and it is determined whether or not the value of the counter count_i is "0" (step S74). In this determination, the counter count
When the value of _i is not "0", that is, when it is not yet the on-event sounding timing, it is determined whether or not the value of the counter i is "4", that is, whether or not the determination for all instruments has been completed. If there is still a musical instrument to be determined (step S75), the counter i is incremented by "1" (step S76), and the process returns to step S73 to move to the next musical instrument determination. On the other hand, when it is determined in step S75 that the determination has been completed for all the musical instruments, the interrupt processing ends.

【0065】一方、ステップS74の判別で、カウンタ
count_iの値が“0”であるとき、即ち、オンイ
ベントの発音タイミングであるときには、前記ポインタ
ptr_iを次の読み出しデータの位置に移動させて、
そのデータを読み出し(ステップS77)、そのデータ
がデュレーションデータか否かを判別し(ステップS7
8)、デュレーションデータであるときにはそのデュレ
ーションデータをカウンタcount_iに格納し(ス
テップS79)、前記ステップS75に移行する。
On the other hand, when it is determined in step S74 that the value of the counter count_i is "0", that is, when it is the sounding timing of the ON event, the pointer ptr_i is moved to the position of the next read data.
The data is read (step S77), and it is determined whether or not the data is duration data (step S7).
8) If the data is duration data, the duration data is stored in the counter count_i (step S79), and the flow shifts to step S75.

【0066】一方、ステップS78の判別で、デュレー
ションデータでないときにはそのデータがファイルの終
わりを示すデータ(“F200”)であるか否かを判別
し(図15のステップS80)、ファイルの終わりでな
いときには前記図12のステップS50で説明した処理
と同様の楽器iに対応するパッドナンバの比較を行い
(ステップS81)、その結果一致したときには、前述
したステップS53,S54と同様のミュートの処理を
行う(ステップS83,S84)。
On the other hand, if it is determined in step S78 that the data is not duration data, it is determined whether or not the data is data indicating the end of the file ("F200") (step S80 in FIG. 15). The pad number corresponding to the musical instrument i is compared with the process described in step S50 of FIG. 12 (step S81), and when they match, the same mute process as in steps S53 and S54 is performed (step S81). Steps S83 and S84).

【0067】次に、コピーの指示がなされているか否か
を判別し(ステップS85)、コピーの指示がなされて
いるときには前記ステップS73でカウントされたレジ
スタR_durの値とイベントデータとを順に前記ユー
ザエリアに記憶し(ステップS86)、レジスタR_d
urの値をリセットした(ステップS87)後に、前記
ステップS77に戻って、次のデータに処理を移す。ス
テップS86の処理に移行したときに、レジスタR_d
urの値が“0”である場合がある。即ち、同一出力タ
イミングを有するイベントデータが複数ある場合であ
る。この場合には、ステップS86の処理においてイベ
ントデータの記憶のみを行い、レジスタR_durの値
は記憶しないようにする。
Next, it is determined whether or not a copy instruction has been issued (step S85). If a copy instruction has been issued, the value of the register R_dur and the event data counted in step S73 are sequentially transferred to the user. Stored in the area (step S86), the register R_d
After resetting the value of ur (step S87) , the process returns to step S77 to shift the processing to the next data. When the process proceeds to step S86, the register R_d
The value of ur may be “0”. That is, there is a case where there are a plurality of event data having the same output timing. In this case, only the event data is stored in the process of step S86, and the value of the register R_dur is not stored.

【0068】なお、本実施例では、自動演奏データの再
生処理中にコピー処理を行っているために、コピー処理
中は、ユーザエリアへの自動演奏データのコピーととも
に、発音も行われる。
In this embodiment, since the copy processing is performed during the reproduction processing of the automatic performance data, during the copy processing, the sound is generated together with the copying of the automatic performance data to the user area.

【0069】一方、ステップS82の判別で楽器iに対
応するパッドナンバがないとき、または、S85の判別
でコピーの指示がなされないときには、何もせずにステ
ップS77に戻る。
On the other hand, if there is no pad number corresponding to the musical instrument i in the determination in step S82, or if no copy instruction is given in the determination in S85, the process returns to step S77 without doing anything.

【0070】一方、ステップS80の判別で、読み出さ
れたデータがファイルの終わりを示すデータであるとき
にはそのファイルは最長のパターンのファイルの終わり
を示すデータであるか否かを判別し(ステップS8
8)、最長パターンのファイルの終わりを示すデータで
ないときにはポインタptr_iをそのファイルの先頭
に移動させ、再びその位置に記憶されているデータを読
み出し(ステップS89)、ステップS78にもどる。
On the other hand, if it is determined in step S80 that the read data is data indicating the end of the file, it is determined whether the file is data indicating the end of the file having the longest pattern (step S8).
8) If the data is not the data indicating the end of the longest pattern file, the pointer ptr_i is moved to the head of the file, the data stored at that position is read out again (step S89), and the process returns to step S78.

【0071】ここで、コンビネーションパターンの場合
には、各楽器毎のパターンのファイルの長さは異なって
いることが多く、再生処理およびコピー処理ともにその
処理を最長パターンに合わせ、最長パターン以外のパタ
ーンのファイルの終わりが読み出されたときには、その
ファイルの先頭に戻って、処理を続けるように構成して
いる。
Here, in the case of a combination pattern, the pattern file length of each musical instrument is often different, so that both the reproduction processing and the copy processing are performed by matching the processing to the longest pattern. When the end of the file is read, the process returns to the beginning of the file and the processing is continued.

【0072】一方、ステップS88の判別で、最長パタ
ーンのファイルの終わりが検出されたときにはコピーの
指示がなされているか否かを判別し(ステップS9
0)、コピーの指示がなされているときにはコピーの指
示を解除し(ステップS91)、割り込みを禁止して
(ステップS92)、本割り込み処理を終了する。一
方、ステップS90の判別で、コピーの指示がなされて
いないときには、前述した図12のステップS42に進
み、コンビネーションパターンの最初に戻って処理を続
ける。
On the other hand, when the end of the longest pattern file is detected in step S88, it is determined whether or not a copy instruction has been issued (step S9).
0), if a copy instruction has been issued, the copy instruction is released (step S91), interrupts are prohibited (step S92), and the interrupt processing ends. On the other hand, if it is determined in step S90 that a copy instruction has not been issued, the process proceeds to step S42 in FIG. 12 described above, and the process returns to the beginning of the combination pattern to continue.

【0073】以上説明したように本実施例では、1トラ
ックに各楽器のパターンデータが混在して記録され、そ
の中から楽器毎にパターンデータを分離して表示するの
で、メモリ容量が減少するとともに楽器毎のパターンに
対する視認性が向上することにより編集作業等の操作性
が向上する。
As described above, in this embodiment, the pattern data of each musical instrument is recorded mixedly on one track, and the pattern data is displayed separately for each musical instrument from among them, so that the memory capacity is reduced and By improving the visibility of the pattern for each instrument, the operability of editing work and the like is improved.

【0074】また、コンビネーションパターンでは、各
楽器に対応するパターンとしてプリセットパターンおよ
びユーザパターンのパターン番号により記憶したので、
メモリ容量が減少するとともに簡単な操作で思い通りの
パターンを作成することができる。
In the combination pattern, the pattern corresponding to each musical instrument is stored by the pattern numbers of the preset pattern and the user pattern.
As the memory capacity is reduced, a desired pattern can be created with a simple operation.

【0075】さらに、本実施例では楽器毎にトラックを
変更して記録しないので、同時に複数の楽器のオンイベ
ントが入力されたときにはそのまま所定の1つのトラッ
クに記憶すればよく、記録のためのソフトウェアが簡単
になる。
Further, in the present embodiment, the track is not changed and recorded for each musical instrument, so that when the on-events of a plurality of musical instruments are inputted at the same time, it is sufficient to store the information as it is on a predetermined track. Becomes easier.

【0076】なお、本実施例では、本発明を電子ドラム
楽器に適用したが、これに限らず、電子鍵盤楽器等どの
ような電子楽器であってもよい。
In the present embodiment, the present invention is applied to an electronic drum musical instrument, but is not limited to this, and may be any electronic musical instrument such as an electronic keyboard musical instrument.

【0077】[0077]

【発明の効果】以上説明したように、請求項1記載の発
明に依れば、第1の記憶手段に記憶された複数種類の自
動演奏パターンから所望の自動演奏パターンが選択さ
れ、第2の記憶手段に記憶された複数種類の対応データ
から所望の対応データが選択され、読出し手段によリ前
記自動演奏データを構成するイベントデータが読み出さ
れたときに、当該識別データおよび前記選択された対応
データに基づいて前記イベントデータが示す楽器の種類
が取得されて、前記イベントデータが楽器毎に分離さ
れ、このイベントデータが、該イベントデータに対応す
るタイミングデータに基づいて、楽器毎に定められた所
定の表示位置に表示されるとともに、前記読出し手段に
より順次読み出された自動演奏データに基づいて楽音が
生成されるので、各種楽器の自動演奏データが時系列的
に混在されて記憶されたトラックから楽器毎に分離され
て表示されることにより、楽器毎の自動演奏パターンの
視認性が増加し、編集作業等の操作性が向上するととも
に、自動演奏データを記憶するメモリのメモリ容量を減
少させることが可能となる効果を奏する。
As described above, according to the first aspect of the present invention, a plurality of types of self-stored data stored in the first storage means are provided.
The desired automatic performance pattern is selected from the dynamic performance patterns.
And a plurality of types of corresponding data stored in the second storage means.
The desired corresponding data is selected from
The event data that constitutes the automatic performance data is read out.
The identification data and the selected correspondence
Type of musical instrument indicated by the event data based on the data
Is acquired, and the event data is separated for each instrument.
This event data corresponds to the event data.
Specified for each instrument based on the timing data
Displayed at a fixed display position, and
Musical sounds are generated based on the automatic performance data
Since the automatic performance data of various musical instruments are generated and generated , the automatic performance data of each musical instrument is displayed separately from the stored tracks in a time-series manner, thereby increasing the visibility of the automatic performance pattern of each musical instrument. This has the effect of improving the operability of work and the like and reducing the memory capacity of the memory for storing the automatic performance data.

【0078】また、請求項記載の発明に依れば、第2
の記憶手段には、第1の記憶手段に記憶された複数種類
の自動演奏パターンのうちのいずれかの自動演奏パター
ンを、少なくとも2種類以上の楽器毎それぞれ指定する
指定情報から構成される特殊自動演奏パターンが記憶さ
れ、選択手段により特殊演奏パターンが選択されると、
読出し手段により、当該各指定情報によりそれぞれ指定
された自動演奏パターン中、当該楽器に対応する自動演
奏データが順次読み出され、該読み出された自動演奏デ
ータに基づいて楽音が生成されるので、楽器毎に異なっ
た自動演奏パターンを選択して再生することができ、自
動演奏の幅を拡大することができる。
According to the fourth aspect of the present invention, the second
The storage means has a plurality of types stored in the first storage means.
Auto play pattern from one of the auto play patterns
For each of at least two or more instruments
Special automatic performance patterns consisting of specified information are stored.
When the special performance pattern is selected by the selection means,
By the reading means, each specified by the specified information
Of the automatic performance patterns
Performance data is sequentially read, and the read automatic performance data is read out.
Since the musical tone is generated based on the data, it is possible to select and reproduce a different automatic performance pattern for each musical instrument, thereby expanding the range of the automatic performance.

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

【図1】本発明の一実施例に係る自動演奏装置の概略構
成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an automatic performance device according to an embodiment of the present invention.

【図2】自動演奏装置のパネル面の構成を示す図であ
る。
FIG. 2 is a diagram showing a configuration of a panel surface of the automatic performance device.

【図3】ある1つのトラックに記録された自動演奏デー
タの一例を示す図である。
FIG. 3 is a diagram showing an example of automatic performance data recorded on a certain track.

【図4】図2のLCDディスプレイに表示された自動演
奏データのパターンの一例を示す図である。
FIG. 4 is a diagram showing an example of a pattern of automatic performance data displayed on the LCD display of FIG. 2;

【図5】コンビネーションパターン記憶領域に記憶され
たデータの一例を示す図である。
FIG. 5 is a diagram showing an example of data stored in a combination pattern storage area.

【図6】図5のコンビネーションパターンを図2のLC
Dディスプレイに表示したものである。
FIG. 6 shows the combination pattern of FIG.
This is displayed on the D display.

【図7】本実施例の自動演奏装置により出力される音色
とパッドスイッチの各スイッチに割り当てられた音色と
を変換する変換方法を説明するための図である。
FIG. 7 is a diagram for explaining a conversion method for converting a tone color output by the automatic performance device of the present embodiment and a tone color assigned to each of the pad switches.

【図8】メインルーチンの処理手順を示すフローチャー
トである。
FIG. 8 is a flowchart illustrating a processing procedure of a main routine.

【図9】図8のステップS2の設定処理サブルーチンの
詳細な手順を示すフローチャートである。
FIG. 9 is a flowchart showing a detailed procedure of a setting processing subroutine of step S2 in FIG. 8;

【図10】図8のステップS3の表示処理サブルーチン
の詳細な手順をしめすフローチャートである。
FIG. 10 is a flowchart showing a detailed procedure of a display processing subroutine of step S3 in FIG. 8;

【図11】図8のステップS4の自動演奏処理サブルー
チンの詳細な手順を示すフローチャートである。
FIG. 11 is a flowchart showing a detailed procedure of an automatic performance processing subroutine of step S4 in FIG. 8;

【図12】図11のステップS32の再生処理サブルー
チンの詳細な手順を示すフローチャートである。
FIG. 12 is a flowchart showing a detailed procedure of a reproduction processing subroutine in step S32 of FIG. 11;

【図13】図8のステップS5のコピー処理サブルーチ
ンの詳細な手順を示すフローチャートである。
FIG. 13 is a flowchart showing a detailed procedure of a copy processing subroutine in step S5 of FIG. 8;

【図14】割り込み処理の詳細な手順を示すフローチャ
ートである。
FIG. 14 is a flowchart illustrating a detailed procedure of interrupt processing.

【図15】割り込み処理の詳細な手順を示すフローチャ
ートである。
FIG. 15 is a flowchart illustrating a detailed procedure of interrupt processing.

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

2 パネル操作子(第1の選択手段、第2の選択手段、
設定手段、選択手段) 3 LCDディスプレイ(表示手段) 4 CPU(読出し手段、楽音生成手段、分離手段、
別手段) 6 RAM(第1の記憶手段、第2の記憶手段
2 panel controls ( first selecting means, second selecting means,
Setting means, selection means) 3 LCD display (display means) 4 CPU (read means, the musical tone generating means, separating means, determine
Separate means ) 6 RAM ( first storage means , second storage means )

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも2種類以上の楽器の自動演奏
データであって、当該自動演奏データが前記種類中どの
種類のデータであるかを識別する識別データを含むイベ
ントデータおよび該イベントデータの読み出しタイミン
グを表すタイミングデータにより構成されるものが時系
列的に1トラックに混在して配列された自動演奏パター
ンを、複数種類記憶する第1の記憶手段と、前記各識別データと楽器の種類とを一対一に対応付ける
対応データを複数種類記憶する第2の記憶手段と、 前記第1の記憶手段に 記憶された複数種類の自動演奏パ
ターンから所望の自動演奏パターンを選択する第1の
択手段と、前記第2の記憶手段に記憶された複数種類の対応データ
から所望の対応データを選択する第2の選択手段と、 前記選択された自動演奏パターン内の自動演奏データを
順次読み出す読出し手段と、 該読出し手段により前記自動演奏データを構成するイベ
ントデータが読み出されたときに、当該識別データおよ
び前記選択された対応データに基づいて前記イベントデ
ータが示す楽器の種類を取得し、前記イベントデータを
楽器毎に 分離する分離手段と、 該分離されたイベントデータを、該イベントデータに対
応する前記タイミングデータに基づいて、楽器毎に定め
られた所定の表示位置に表示する表示手段と、前記読出し手段により順次読み出された自動演奏データ
に基づいて楽音の生成を行う楽音生成手段と を有するこ
とを特徴とする自動演奏装置。
1. Automatic performance of at least two or more musical instruments
dataWhich automatic performance data is
Event containing identification data that identifies the type of data
Event data and a timing for reading the event data
Consisting of timing data representingIs time series
Automatic performance putters arranged on one track in a row
Memorize multiple typesFirstStorage means;Associating each identification data with the type of musical instrument on a one-to-one basis
Second storage means for storing a plurality of types of correspondence data; In the first storage means RememberedMultiple typesAutomatic performance
Select the desired automatic performance pattern from the turnFirstSelection
Selection means,Plural types of corresponding data stored in the second storage means
Second selecting means for selecting desired corresponding data from Automatic performance data in the selected automatic performance pattern
Reading means for reading sequentially; An event comprising the automatic performance data by the reading means.
When the client data is read, the identification data and the
And the event data based on the selected corresponding data.
Data of the instrument indicated by the data
For each instrument Separating means for separating, the separatedEvent data is
Determined for each instrument based on the corresponding timing data
To the specified display positionDisplay means for displaying;Automatic performance data sequentially read by the reading means
Musical sound generation means for generating musical sounds based on Have
And an automatic performance device.
【請求項2】 前記識別データによって示される種類毎2. Each type indicated by the identification data
に、前記楽音生成手段による楽音の生成を行わないことNot to generate a musical tone by the musical tone generating means.
を設定する設定手段と、Setting means for setting 前記読出し手段によって読み出された自動演奏データAutomatic performance data read by the reading means
が、前記設定手段により楽音の生成を行わないことが設However, it is set that no tone is generated by the setting means.
定されたものであるか否かを判別する判別手段とを有Determination means for determining whether or not the
し、And 前記楽音生成手段は、前記判別手段により楽音の生成をThe musical sound generating means controls generation of a musical sound by the discriminating means.
行わないことが設定された自動演奏データであると判別Judgment that automatic performance data is set to not be performed
されたときには、その種類の楽音の生成を行わWhen it is done, ないことNot
を特徴とする請求項1記載の自動演奏装置。The automatic performance device according to claim 1, wherein:
【請求項3】 前記第1の記憶手段は、少なくとも2種3. The first storage means includes at least two types
類以上の楽器毎に、それぞれ前記複数種類の自動演奏パFor each musical instrument of more than one kind,
ターンのうちいずれかを指定する指定情報から構成されConsists of information specifying one of the turns
る特殊自動演奏パターンを記憶し、Memorize special automatic performance patterns 前記読出し手段は、前記第1の選択手段により前記特殊The reading unit is configured to perform the special operation by the first selecting unit.
自動演奏パターンが選択されたときには、当該各指定情When an automatic performance pattern is selected,
報によりそれぞれ指定された自動演奏パターン中、当該In the automatic performance pattern specified by the
楽器に対応する自動演奏データを順次読み出すことを特It specially reads out automatic performance data corresponding to musical instruments sequentially.
徴とする請求項1記載の自動演奏装置。2. The automatic performance device according to claim 1, wherein
【請求項4】 少なくとも2種類以上の楽器の自動演奏
データが時系列的に1トラックに混在して配列された自
動演奏パターンを、複数種類記憶する第1の記憶手段
と、 前記第1の記憶手段に記憶された複数種類の自動演奏パ
ターンのうちのいずれかの自動演奏パターンを、少なく
とも2種類以上の楽器毎それぞれ指定する指定情報から
構成される特殊自動演奏パターンを記憶する第2の記憶
手段と、 前記自動演奏パターンまたは特殊自動演奏パターンのい
ずれかを 選択する選択手段と、該選択されたパターンが特殊演奏パターンであるとき
に、当該各指定情報によりそれぞれ指定された自動演奏
パターン中、当該楽器に対応する自動演奏データを順次
読み出す読出し手段と、 該読み出された自動演奏データに基づいて楽音を生成す
る楽音生成手段と を有することを特徴とする自動演奏装
置。
4. Automatic performance of at least two or more musical instruments
The data in which the data are arranged in a time-series
Store multiple types of dynamic performance patternsFirstStorage means
And saidFirstStorage meansMultiple types of automatic performance patterns stored in
Reduce the number of auto-play patterns in any of the turns
From the specified information specified for each of two or more instruments
Second storage for storing the constructed special automatic performance pattern
Means, The automatic performance pattern or the special automatic performance pattern
Somehow A selection means for selecting,When the selected pattern is a special performance pattern
The automatic performance specified by the specified information
During the pattern, the automatic performance data corresponding to the
Reading means for reading; Generating a musical tone based on the read automatic performance data;
Musical tone generating means Automatic performance equipment characterized by having
Place.
JP5351445A 1993-12-28 1993-12-28 Automatic performance device Expired - Fee Related JP2713136B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5351445A JP2713136B2 (en) 1993-12-28 1993-12-28 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5351445A JP2713136B2 (en) 1993-12-28 1993-12-28 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH07199924A JPH07199924A (en) 1995-08-04
JP2713136B2 true JP2713136B2 (en) 1998-02-16

Family

ID=18417343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5351445A Expired - Fee Related JP2713136B2 (en) 1993-12-28 1993-12-28 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2713136B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01237596A (en) * 1989-01-27 1989-09-22 Yamaha Corp Automatic musical performance device
JP2625207B2 (en) * 1989-05-29 1997-07-02 ローランド株式会社 Automatic performance device
JPH05224683A (en) * 1992-02-07 1993-09-03 Roland Corp Text display controller of 'karaoke' (recorded orchestral accompaniment device)

Also Published As

Publication number Publication date
JPH07199924A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
JPH05108065A (en) Automatic performance device
EP1094442B1 (en) Musical tone-generating method
JP3838353B2 (en) Musical sound generation apparatus and computer program for musical sound generation
US5756917A (en) Automatic accompaniment device capable of selecting a desired accompaniment pattern for plural accompaniment components
US5686682A (en) Electronic musical instrument capable of assigning waveform samples to divided partial tone ranges
US20080060501A1 (en) Music data processing apparatus and method
JPH04234090A (en) Electronic musical instrument
JP2713136B2 (en) Automatic performance device
JPH10240117A (en) Support device for musical instrument practice and recording medium of information for musical instrument practice
JP3010936B2 (en) Music player
JP4270102B2 (en) Automatic performance device and program
JP3139081B2 (en) Electronic musical instrument parameter setting device
JP3446278B2 (en) Automatic performance device
JP2641851B2 (en) Automatic performance device
JP2756799B2 (en) Automatic rhythm playing device
JP7231719B2 (en) Music data editing device and music data editing program
JP3178176B2 (en) Automatic accompaniment device
JP3430894B2 (en) Chord detection method, chord detection device, and recording medium recording chord detection program
JP2556040B2 (en) Automatic playing device
JP2625800B2 (en) Automatic performance device
JP4402853B2 (en) Performance data generation method and electronic keyboard instrument
JP2725585B2 (en) Automatic performance device
JP3518392B2 (en) Performance information setting device and computer-readable recording medium storing performance information setting program
JP3757664B2 (en) Performance information reproducing apparatus and computer-readable recording medium recording performance information reproducing program
JP3855908B2 (en) Performance data creation device and program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071031

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees