JPH08272361A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH08272361A
JPH08272361A JP8124969A JP12496996A JPH08272361A JP H08272361 A JPH08272361 A JP H08272361A JP 8124969 A JP8124969 A JP 8124969A JP 12496996 A JP12496996 A JP 12496996A JP H08272361 A JPH08272361 A JP H08272361A
Authority
JP
Japan
Prior art keywords
performance data
storage means
stored
conversion information
configuration
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
JP8124969A
Other languages
Japanese (ja)
Other versions
JP2639381B2 (en
Inventor
Masao Kondo
昌夫 近藤
Yoshinari Terada
好成 寺田
Kensuke Ide
健介 井出
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 JP8124969A priority Critical patent/JP2639381B2/en
Publication of JPH08272361A publication Critical patent/JPH08272361A/en
Application granted granted Critical
Publication of JP2639381B2 publication Critical patent/JP2639381B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE: To increase the compatibility of an electronic musical instrument by making the playing data such as automatic playing data, which are produced by other kinds of electronic musical instruments, to be compatible. CONSTITUTION: A ROM 6 stores plural configuration tables which convert playing data produced for other instrument. A configuration table region for a user is set in a RAM 7. A configuration number is set by a panel switch 2 so as to select a specific configuration table from other tables. The configuration number is set in accordance with the playing data inputted from a MIDI (musical instrument digital interface) interface 3, the playing data stored in the RAM 7 and the kinds of instruments which make the playing data. The playing data are converted by the configuration table selected by the configuration number and the playing is performed by a sound source 8 and a sound system 9. The ROM 6 only stores a representative configuration table and a special configuration table corresponding to a special playing data is set and stored in the RAM 7 with the playing data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリに記憶され
た演奏データに基づいて自動演奏を行なう電子楽器に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument that automatically performs a performance based on performance data stored in a memory.

【0002】[0002]

【従来の技術】従来、上記のような電子楽器として、例
えばシーケンサを内蔵するものがある。この種の電子楽
器では、音高情報としてのキーコードや音色情報として
の音色番号等の楽音情報から構成された演奏データが用
いられ、このような演奏データを例えば鍵盤演奏やパネ
ルスイッチ操作等により入力してメモリに記憶し、この
演奏データをシーケンサの動作により順次読み出して、
音源部に送り楽音を発生して自動演奏が行なわれる。
2. Description of the Related Art Conventionally, as an electronic musical instrument as described above, there is an electronic musical instrument having a built-in sequencer, for example. In this type of electronic musical instrument, performance data composed of musical tone information such as key code as pitch information and tone color number as tone color information is used, and such performance data is used by, for example, keyboard performance or panel switch operation. Input and store in the memory, this performance data is read sequentially by the operation of the sequencer,
An automatic performance is performed by sending a musical tone to the sound source section.

【0003】このような自動演奏機能を持った電子楽器
の中には、1つの電子楽器の中でMIDI(Musical In
strument Digital Interface)チャンネル毎に異なる音
色を設定して、複数パートによるアンサンブル自動演奏
が行なえるようになっているものもある。
Among the electronic musical instruments having such an automatic performance function, MIDI (Musical In Musical Instrument) is one of the electronic musical instruments.
(Strument Digital Interface) In some cases, different tones are set for each channel, so that an ensemble automatic performance with multiple parts can be performed.

【0004】[0004]

【発明が解決しようとする課題】このようにして自動演
奏を行う電子楽器では、発生される楽音の特徴のうち、
例えば、音色は音色プログラム番号として数値コード化
され、また、音高はキーコードとして数値コード化さ
れ、タッチなどの演奏強度情報も数値コード化されてお
り、それらコードが演奏データとして通信されたり記録
再生されたりする。そして、電子オルガン、電子ピア
ノ、シンセサイザ、ポータブルキーボード等の電子楽器
の種類の違いによって、同じプログラム番号でも同じ音
色を示さなかったり、同じキーコードでも同じ音高では
なかったり、同じタッチ数値でも感度の違いにより同じ
音量にならなかったりした。
In an electronic musical instrument that performs automatic performance in this way, of the characteristics of the generated musical sounds,
For example, timbres are coded numerically as timbre program numbers, pitches are coded numerically as key codes, and performance intensity information such as touches are also coded numerically.These codes are communicated or recorded as performance data. Or played. Depending on the type of electronic musical instrument such as an electronic organ, an electronic piano, a synthesizer, a portable keyboard, etc., the same program number does not show the same tone color, the same key code does not have the same pitch, and the same touch value does not affect the sensitivity. Due to the difference, the volume may not be the same.

【0005】このため、MIDIを用いて異なる種類の
電子楽器を接続して、シーケンサ側と音源側の役割を分
担させて自動演奏させたり、他の電子楽器やコンピュー
タ等で作成された演奏データを用いて自動演奏を行う
と、音色や音量音高などが本来のものと異なってしまっ
ていた。
[0005] For this reason, different types of electronic musical instruments are connected using MIDI, and the roles of the sequencer and the sound source are shared so that automatic performances can be performed. Performance data created by other electronic musical instruments or computers can be used. When performing an automatic performance using such an instrument, the tone and volume pitch were different from the original ones.

【0006】つまり、ベース演奏が行われるはずがピア
ノの音色で演奏されたり、ひどい場合にはサキソフォン
の音色できれいなメロディが演奏されるはずがドラムの
音色でドタバタ演奏されたりしていた。また、運良く同
じ音色で演奏されたとしても、次第に幅広くクレッシェ
ンドするはずの演奏があまり幅広くクレッシェンドされ
ず、ダイナミックな演奏にならないとか、アンサンブル
演奏の場合に、メロディの音高が1オクターブずれてし
まったためにメロディが目立たなくなったり等の問題を
生じていた。
In other words, a bass tone is supposed to be played with a piano tone, and in a worst case, a saxophone tone is supposed to play a beautiful melody, and a drum tone is apt to be played. Also, even if they are luckily played with the same tone, the performance that should gradually crescend broadly is not so broadly crescendoed and does not become dynamic. As a result, the melody became inconspicuous and caused problems.

【0007】本発明は、種類の異なる電子楽器などで作
成した演奏データに対して互換性の高い電子楽器を得る
ことを課題とする。
An object of the present invention is to obtain an electronic musical instrument having high compatibility with performance data created by different types of electronic musical instruments and the like.

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
めになした本発明の請求項1記載の電子楽器は、複数の
楽曲の演奏データを記憶するとともに、該演奏データを
所定の演奏データに変換するための変換情報を前記各楽
曲の演奏データに対応して記憶可能な記憶手段と、任意
に設定された前記変換情報を前記各楽曲の演奏データに
対応させて前記記憶手段に記憶させる変換情報設定手段
と、前記記憶手段から所望の楽曲の演奏データおよび該
演奏データに対応する変換情報を読み出すとともに、該
読み出した変換情報に基づいて前記読み出した演奏デー
タに対して変換処理を施して楽音を発生する演奏手段
と、を備えたことを特徴とする。
According to a first aspect of the present invention, there is provided an electronic musical instrument which stores performance data of a plurality of music pieces and stores the performance data in a predetermined performance data. Storage means capable of storing conversion information for converting to the music data of each of the music pieces, and storing the conversion information arbitrarily set in the storage means so as to correspond to the performance data of each of the music pieces. A conversion information setting unit for reading performance data of a desired music and conversion information corresponding to the performance data from the storage unit, and performing a conversion process on the read performance data based on the read conversion information; Performance means for generating musical tones.

【0009】また、本発明の請求項2記載の電子楽器
は、複数の楽曲の演奏データを記憶するための演奏デー
タ記憶手段と、前記演奏データ記憶手段に記憶された演
奏データを所定の演奏データに変換するための変換情報
が複数記憶された変換情報記憶手段と、前記複数の変換
情報のうちのいずれかを指示する識別情報を前記楽曲毎
に設定する識別情報設定手段と、前記識別情報設定手段
で設定された各楽曲毎の識別情報を記憶する識別情報記
憶手段と、前記演奏データ記憶手段から所望の楽曲の演
奏データを読み出すとともに、前記識別情報記憶手段に
記憶された該楽曲の識別情報を読み出して、該読み出し
た識別情報が指示する変換情報を前記変換情報記憶手段
から読み出し、前記読み出した演奏データに対して前記
読み出した変換情報に基づいて変換処理を施して楽音を
発生する演奏手段と、を備えた電子楽器であって、前記
演奏データ記憶手段は、記憶する複数の楽曲のうちの少
なくとも1つの特殊な楽曲について、前記演奏データと
ともに前記変換情報を記憶するものであり、前記演奏手
段は、前記特殊な楽曲の演奏データを読み出した場合、
該演奏データとともに前記演奏データ記憶手段に記憶さ
れた変換情報に基づいて該演奏データに対して変換処理
を施して楽音を発生するものであることを特徴とする。
According to a second aspect of the present invention, there is provided an electronic musical instrument, wherein performance data storage means for storing performance data of a plurality of music pieces, and the performance data stored in the performance data storage means are stored in predetermined performance data. Conversion information storage means for storing a plurality of pieces of conversion information for converting the information, identification information setting means for setting identification information indicating one of the plurality of pieces of conversion information for each music, and the identification information setting Identification information storage means for storing identification information for each music piece set by the means; readout of performance data of a desired music piece from the performance data storage means; and identification information of the music piece stored in the identification information storage means. And reads the conversion information indicated by the read identification information from the conversion information storage means, and reads the read conversion information with respect to the read performance data. Electronic musical instrument comprising: a musical instrument that performs a conversion process on the basis of the musical data based on the musical performance data. The conversion means stores the conversion information, and when the performance means reads out the performance data of the special music,
The performance data is converted based on the conversion information stored in the performance data storage means together with the performance data to generate a musical tone.

【0010】本発明の請求項1記載の電子楽器において
は、複数の楽曲の演奏データを記憶手段に記憶すること
ができる。また、変換情報設定手段により、任意に設定
された変換情報を各楽曲の演奏データに対応させて記憶
手段に記憶させることができる。そして、演奏手段は、
記憶手段から所望の楽曲の演奏データとこれに対応する
変換情報を読み出し、この読み出した変換情報に基づい
て、読み出した演奏データに対して変換処理を施して楽
音を発生する。
[0010] In the electronic musical instrument according to the first aspect of the present invention, performance data of a plurality of music pieces can be stored in the storage means. The conversion information setting means can store the conversion information arbitrarily set in the storage means in association with the performance data of each music piece. And the playing means is
The performance data of a desired music piece and the conversion information corresponding thereto are read from the storage means, and the read performance data is subjected to conversion processing based on the read conversion information to generate a musical tone.

【0011】本発明の請求項2記載の電子楽器において
は、演奏データ記憶手段には複数の楽曲の演奏データが
記憶される。変換情報記憶手段には演奏データ記憶手段
に記憶された演奏データを所定の演奏データに変換する
ための変換情報が複数記憶されている。識別情報設定手
段により複数の変換情報のうちのいずれかを指示する識
別情報を楽曲毎に設定すると、この識別情報設定手段で
設定された各楽曲毎の識別情報が識別情報記憶手段に記
憶される。そして、演奏手段は、演奏データ記憶手段か
ら所望の楽曲の演奏データを読み出し、識別情報記憶手
段からその楽曲の識別情報を読み出し、この読み出した
識別情報が指示する変換情報を変換情報記憶手段から読
み出し、読み出した演奏データに対して読み出した変換
情報に基づいて変換処理を施して楽音を発生する。前記
演奏データ記憶手段には、記憶する複数の楽曲のうちの
少なくとも1つの特殊な楽曲について、演奏データとと
もに変換情報が記憶される。前記演奏手段は、この特殊
な楽曲については、この演奏データを、この演奏データ
とともに演奏データ記憶手段に記憶された変換情報に基
づいて変換処理を施して楽音を発生する。
In the electronic musical instrument according to the second aspect of the present invention, the performance data storage means stores performance data of a plurality of music pieces. The conversion information storage means stores a plurality of conversion information for converting the performance data stored in the performance data storage means into predetermined performance data. When the identification information setting means sets the identification information indicating any one of the plurality of pieces of conversion information for each music, the identification information for each music set by the identification information setting means is stored in the identification information storage means. . The playing means reads the performance data of the desired music from the performance data storage means, reads the identification information of the music from the identification information storage means, and reads the conversion information indicated by the read identification information from the conversion information storage means. A conversion process is performed on the read performance data based on the read conversion information to generate a musical tone. In the performance data storage means, conversion information is stored together with the performance data for at least one special music of the plurality of stored music. The performance means performs a conversion process on the special music based on the conversion data stored in the performance data storage means together with the performance data to generate a musical sound.

【0012】[0012]

【発明の実施の形態】図1は本発明実施例の電子楽器の
ブロック図、図2はそのパネル面の一部を示す図であ
る。この電子楽器は、楽音の特徴と演奏データとの対応
関係が異なるような4種類の電子楽器やコンピュータで
作成した演奏データを、この電子楽器に相応する演奏デ
ータに変換するために、変換情報としてのコンフィグテ
ーブルが4種類記憶されている。そして、この4種類の
コンフィグテーブルで演奏データを変換することによ
り、対応関係の異なる演奏データによっても自然な自動
演奏を行なえるようにしたものである。
1 is a block diagram of an electronic musical instrument according to an embodiment of the present invention, and FIG. 2 is a diagram showing a part of its panel surface. This electronic musical instrument converts performance data created by a computer and four types of electronic musical instruments in which the correspondence between the characteristics of musical sounds and performance data is different into performance data corresponding to the electronic musical instrument. Are stored. By converting the performance data using these four types of configuration tables, a natural automatic performance can be performed even with performance data having different correspondences.

【0013】また、このようなコンフィグテーブルを任
意に作成してRAMに書き込むことができ、上記4種類
以外のものでも、対応するコンフィグテーブルを作成し
書き込むことにより、楽音の特徴と演奏データの対応し
た自然な自動演奏を行なえるようになっている。
Further, such a config table can be arbitrarily created and written in the RAM. Even if the config table other than the above four types is created and written, the corresponding config table can be created and written to correspond the musical tone characteristics to the performance data. You can perform natural automatic performance.

【0014】すなわち、コンフィグデータは、他の装置
で扱われる演奏データに基づいて実施例の電子楽器で発
音したときにこの他の装置で発音したときと同等の楽音
が発生されるように、他の装置の演奏データをこの実施
例の電子楽器における演奏データに変換するように設定
されている。また、演奏データを変換するとき、コンフ
ィグデータはコンフィグ番号と称する識別情報によって
選択される。
That is, the configuration data is generated based on performance data handled by another device so that when the electronic musical instrument of the embodiment generates a tone, the same tone as that generated by the other device is generated. The apparatus is set so that the performance data of the electronic musical instrument of this embodiment is converted into the performance data of the electronic musical instrument of this embodiment. When converting the performance data, the configuration data is selected by identification information called a configuration number.

【0015】この電子楽器はCPU5によって制御さ
れ、鍵盤4とパネルスイッチ1の操作により鍵盤演奏と
自動演奏が行なわれ、さらに、MIDI信号で外部装置
から入力される演奏データをMIDIインターフェース
3を介して取り込み、この外部入力によっても自動演奏
が行なわれる。
This electronic musical instrument is controlled by the CPU 5, the keyboard performance and the automatic performance are performed by operating the keyboard 4 and the panel switch 1, and the performance data input from the external device by the MIDI signal is transmitted via the MIDI interface 3. This is also taken in and the automatic performance is performed by this external input.

【0016】なお、この実施例では、鍵盤4からのキー
オン/キーオフのキーイベント時の情報はMIDI信号
と同様に内部処理するため、鍵盤4に対してMIDIチ
ャンネルを設定するようにしている。
In this embodiment, since a key-on / key-off key event information from the keyboard 4 is internally processed in the same manner as the MIDI signal, a MIDI channel is set for the keyboard 4.

【0017】パネルスイッチ1は、図2に示したよう
に、鍵盤4に対応するMIDIチャンネルを設定するた
めのキーボードチャンネルスイッチ11、鍵盤4の音色
を設定するための音色設定スイッチ12、シーケンサに
よる自動演奏をスタートさせるためのスタートスイッチ
13、コンフィグ番号を選択するためのコンフィグ選択
スイッチ14を備えている。
As shown in FIG. 2, the panel switch 1 includes a keyboard channel switch 11 for setting a MIDI channel corresponding to the keyboard 4, a tone color setting switch 12 for setting the tone color of the keyboard 4, and an automatic sequencer. A start switch 13 for starting a performance and a config selection switch 14 for selecting a config number are provided.

【0018】また、RAM7のコンフィグテーブルをカ
スタム設定するためのカスタムモードにおいてコンフィ
グテーブルのデータの内容を選択するためのカスタムス
イッチ15、各種番号等を入力するための右側のテンキ
ー16および左側のテンキー17を備えている。
Further, in the custom mode for custom setting the config table of the RAM 7, a custom switch 15 for selecting the contents of the config table data, a right numeric keypad 16 for inputting various numbers, and a left numeric keypad 17 for inputting various numbers. Is equipped with.

【0019】なお、キーボードチャンネルスイッチ1
1、音色設定スイッチ12、スタートスイッチ13、コ
ンフィグ選択スイッチ14の横には各スイッチが操作さ
れたとき点灯されるLED11a,12a,13a,1
4aが設けられ、カスタムスイッチ15の近傍には、コ
ンフィグテーブルに設定するデータの内容に応じて9通
りの態様で点灯される5つのLED15a1 〜15a5
が設けられている。
The keyboard channel switch 1
1, LED 11a, 12a, 13a, 1 that is lit when each switch is operated beside the tone setting switch 12, the start switch 13, and the configuration selection switch 14.
4a is provided in the vicinity of the custom switch 15, five LEDs 15a 1 to 15A 5 to be turned by nine aspect of in accordance with the contents of the data to be set in the configuration table
Is provided.

【0020】さらに、パネル面には、選択したコンフィ
グ番号やコンフィグテーブルの内容を表示するために、
3桁の7セグメントの表示器2L,2Rが左右に設けら
れている。
Further, on the panel surface, in order to display the selected configuration number and the contents of the configuration table,
Three-digit seven-segment displays 2L and 2R are provided on the left and right.

【0021】図1において、パネルスイッチ1のスイッ
チ操作のイベント情報、MIDIインターフェース3か
らのMIDI情報、鍵盤4からの鍵情報、ROM6およ
びRAM7からの各情報はバス10を介してCPU5に
取り込まれ、CPU5は、ROM6の制御プログラムに
基づいてRAM7に設定した各種レジスタやフラグを使
用しながら制御を行なう。
In FIG. 1, the event information of the switch operation of the panel switch 1, the MIDI information from the MIDI interface 3, the key information from the keyboard 4, and the information from the ROM 6 and the RAM 7 are taken into the CPU 5 via the bus 10. The CPU 5 controls using various registers and flags set in the RAM 7 based on the control program in the ROM 6.

【0022】また、MIDIインターフェース3は外部
からMIDI信号が入力されるとCPU5に割込み信号
を発生し、CPU5はこの割込み信号により割込み処理
を行ない、MIDI信号として入力される楽音情報をR
AM7に設定されたMIDIバッファに書き込む。
The MIDI interface 3 generates an interrupt signal to the CPU 5 when a MIDI signal is input from the outside, and the CPU 5 performs an interrupt process in accordance with the interrupt signal.
Write to the MIDI buffer set in AM7.

【0023】音源8は複数の発音チャンネルを有してお
り、CPU5は音源8のチャンネル割り当て等を行なっ
て発音すべき楽音のデータをこの割当てチャンネルに出
力することにより発音制御を行なう。そして、音源8
は、CPU5から入力されるデータに応じた楽音信号を
サウンドシステム9に出力し、サウンドシステム9はD
/A変換や増幅等を行なって楽音を発音する。
The tone generator 8 has a plurality of tone generation channels, and the CPU 5 performs tone assignment by assigning channels to the tone generator 8 and outputting musical tone data to be emitted to these assigned channels. And sound source 8
Outputs to the sound system 9 a tone signal corresponding to the data input from the CPU 5, and the sound system 9 outputs D
A / A conversion, amplification, etc. are performed to generate a musical sound.

【0024】図3はROM6とRAM7のメモリマップ
を示す図である。ROM6には図7〜図18にフローチ
ャートを示した制御プログラム、プリセット音色デー
タ、コンフィグ番号“0〜3”で選択される4種類のコ
ンフィグテーブル0〜3およびその他のデータが記憶さ
れている。
FIG. 3 is a diagram showing a memory map of the ROM 6 and the RAM 7. The ROM 6 stores the control program whose flow charts are shown in FIGS. 7 to 18, preset tone color data, four types of config tables 0 to 3 selected by the config numbers “0 to 3”, and other data.

【0025】また、RAM7には、外部からの演奏デー
タ等を書き込むためのMIDIバッファ領域、コンフィ
グ番号“4”で選択される任意のコンフィグテーブル4
を書き込むためのコンフィグテーブル領域、レジスタや
フラグ等のその他のデータ領域および自動演奏の演奏デ
ータを記憶するシーケンサ演奏データ領域が、それぞれ
設定されている。
In the RAM 7, a MIDI buffer area for writing performance data and the like from the outside, and an arbitrary config table 4 selected by the config number "4".
, A data area such as a register and a flag, and a sequencer performance data area for storing performance data of an automatic performance.

【0026】ここで、MIDI信号で楽音情報として用
いられるものには、チャンネルボイスメッセイージと称
する1バイト単位のコマンド信号や、このコマンド信号
に続けられる音色番号、ノートコード(キーコード)、
イニシャルタッチのベロシティなどの各種データ信号な
どがある。
The MIDI signal used as tone information includes a command signal in 1-byte units called a channel voice message, a tone color number following this command signal, a note code (key code),
There are various data signals such as velocity of initial touch.

【0027】さらに、チャンネルボイスメッセージの中
には、音色を指定するプログラムチェンジ、発音を指示
するノートオンイベント、消音を指示するノートオフイ
ベント等の各種コマンド信号がある。なお、このコマン
ド信号の1バイト内にはチャンネル番号の情報が含まれ
ており、このチャンネル番号によりそのコマンド信号の
指令がどのMIDIチャンネルに対するものであるかが
指定される。また、これらのコマンド信号の後には、音
色番号に相当するプログラムチェンジ番号、ノートコー
ド、ベロシティ等のデータが続けられる。
Further, in the channel voice message, there are various command signals such as a program change for designating a tone, a note-on event for instructing sound generation, and a note-off event for instructing mute. It should be noted that one byte of this command signal contains channel number information, and this channel number specifies to which MIDI channel the command of the command signal is directed. After these command signals, data such as a program change number, a note code, and a velocity corresponding to the tone number are continued.

【0028】図4は実施例におけるコンフィグテーブル
のフォーマットを示す図であり、PM(0)〜PM(1
27)は、MIDIで指定されるプログラムチェンジ番
号(音色番号)“0”〜“127”をそれぞれ引数とす
るコンフィグデータであり、このコンフィグデータが変
換後の音色番号になる。
FIG. 4 is a diagram showing a format of the configuration table in the embodiment, and includes PM (0) to PM (1).
27) is configuration data having program change numbers (tone color numbers) "0" to "127" specified by MIDI as arguments, and this configuration data is the converted tone color number.

【0029】ICはイニシャルタッチのベロシティカー
ブ番号、IOFSはベロシティのオフセット、OCTは
オクターブシフトの各コンフィグデータ、また、DM
(0)〜DM(127)は、ドラムセットにおけるパー
トの各音色に対応するドラム音色番号であり、プログラ
ムチェンジの音色番号と同様に“0”〜“127”の各
音色をそれぞれ引数とする変換後のドラム音色番号を示
すコンフィグデータである。
IC is the velocity curve number of initial touch, IOFS is the velocity offset, OCT is each octave shift configuration data, and DM is also
(0) to DM (127) are the drum tone color numbers corresponding to the tone colors of the parts in the drum set, and are converted with the tone colors "0" to "127" as arguments, like the tone colors of the program change. It is configuration data showing the subsequent drum tone color number.

【0030】さらに、PBENDはピッチベンド幅、V
Cはボリュームカーブ番号、VIBSはビブラート感
度、DCHはドラムに割り当てられているMIDIチャ
ンネルのチャンネル番号、DVNはドラムセットの種類
を示すドラムセット番号の各コンフィグデータである。
Further, PBEND is the pitch bend width, V
C is the volume curve number, VIBS is the vibrato sensitivity, DCH is the channel number of the MIDI channel assigned to the drum, and DVN is the drum set number indicating the type of drum set.

【0031】図5はRAM7のシーケンサ演奏データの
メモリマップを示す図であり、シーケンサ演奏データ
は、複数の曲のヘッダからなるヘッダ部と各曲の演奏デ
ータで構成されている。
FIG. 5 is a diagram showing a memory map of the sequencer performance data in the RAM 7. The sequencer performance data is composed of a header portion composed of headers of a plurality of music and performance data of each music.

【0032】各演奏データに対応するヘッダには、その
演奏データに対応するコンフィグテーブルのコンフィグ
番号、テンポ、拍子数、自動演奏を開始するときの各楽
音に対応するMIDIチャンネルのプログラムチェンジ
番号、演奏データの記憶位置、演奏データのサイズ等の
各種データが記憶されている。
The header corresponding to each performance data includes a configuration number of a configuration table corresponding to the performance data, a tempo, the number of beats, a program change number of a MIDI channel corresponding to each tone at the time of starting automatic performance, and a performance number. Various data such as a data storage position and performance data size are stored.

【0033】なお、このヘッダに記憶されているコンフ
ィグ番号が“4”のときは、例えば曲番号=2の演奏デ
ータのように、その演奏データに対応するコンフィグデ
ータがその演奏データの先頭に書き込まれる。
When the configuration number stored in the header is "4", the configuration data corresponding to the performance data is written at the head of the performance data, for example, the performance data of the music number = 2. It is.

【0034】すなわち、ROM6に記憶されているコン
フィグテーブルに対応しない他の機種で扱う演奏データ
を記憶するときは、その演奏データに対応するコンフィ
グテーブルを作成して演奏データとともに記憶してお
き、自動演奏のときにこの演奏データが選択されたとき
は、このコンフィグテーブルが前記図3について説明し
たRAM7のコンフィグテーブル領域に読み出される。
That is, when storing performance data handled by another model that does not correspond to the configuration table stored in the ROM 6, a config table corresponding to the performance data is created and stored together with the performance data. When this performance data is selected during a performance, this config table is read into the config table area of the RAM 7 described with reference to FIG.

【0035】図6は実施例の電子楽器の機能の概略を説
明する機能ブロック図であり、鍵盤4からの鍵盤入力、
MIDIインターフェース3からのMIDI入力による
演奏データと、RAM7から読み出される演奏データは
MIDIバッファに書き込まれる。
FIG. 6 is a functional block diagram for explaining the outline of the function of the electronic musical instrument of the embodiment.
Performance data by MIDI input from the MIDI interface 3 and performance data read from the RAM 7 are written to a MIDI buffer.

【0036】また、演奏データを記憶するときは、鍵盤
入力またはMIDI入力によってMIDIバッファに書
き込まれた演奏データがRAM7に書き込まれ、同時に
コンフィグテーブルを書き込むときは、このコンフィグ
テーブルに対応するコンフィグ番号CNが対応する演奏
データのヘッダに書き込まれる。
When the performance data is stored, the performance data written into the MIDI buffer by keyboard input or MIDI input is written into the RAM 7. When the configuration table is written simultaneously, the configuration number CN corresponding to the configuration table is used. Is written in the header of the corresponding performance data.

【0037】一方、コンフィグ選択スイッチ14やテン
キー16からの操作子入力によるコンフィグ番号CNま
たはRAM7の演奏データのヘッダから読み出したコン
フィグ番号CNにより、コンフィグテーブルが設定さ
れ、MIDIバッファに書き込まれた演奏データはこの
コンフィグテーブルで変換されて音源に出力されるそし
て、音源およびサウンドシステムにより演奏の楽音が発
生される。
On the other hand, the configuration table is set by the configuration number CN read from the header of the performance data in the RAM 7 or the configuration number CN input by the operator input from the configuration selection switch 14 or the numeric keypad 16, and the performance data written in the MIDI buffer. Is converted by the configuration table and output to the sound source. Then, the musical sound of the performance is generated by the sound source and the sound system.

【0038】図7は制御プログラムのメインルーチン、
図8〜図18はサブルーチンおよび割込み処理ルーチン
を示すフローチャートでり、各フローチャートに基づい
て動作を説明する。
FIG. 7 shows the main routine of the control program,
8 to 18 are flowcharts showing a subroutine and an interrupt processing routine, and the operation will be described based on each flowchart.

【0039】なお、以下の説明および各フローチャート
において、制御に用いられる各レジスタおよびフラグを
下記のラベルで表記し、各レジスタおよびフラグとそれ
らの内容は特に断らない限り同一のラベルで表す。
In the following description and each flowchart, each register and flag used for control are represented by the following labels, and each register and flag and their contents are represented by the same label unless otherwise specified.

【0040】 RUN :自動演奏のスタート/ストップを示すフラグ NC :ノートコードのレジスタ VEL :ベロシティのレジスタ k :鍵盤に設定されMIDIチャンネルのチャン
ネル番号のレジスタ DSP :パネルスイッチの操作に対応する表示モード
とテンキーからの入力値の扱い方を示す内部レジスタ
RUN: Flag indicating start / stop of automatic performance NC: Register of note code VEL: Register of velocity k: Register of channel number of MIDI channel set on keyboard DSP: Display mode corresponding to operation of panel switch Internal register indicating how to handle input values from numeric keypad

【0041】TC :音色番号のレジスタ CN :コンフィグ番号のレジスタ CEN :カスタムスイッチで選択したコンフィグデー
タ内容を示レジスタ BUF1:右テンキーで入力された数値を保持するレジ
スタ BUF2:左テンキーで入力された数値を保持するレジ
スタ
TC: register of tone number CN: register of configuration number CEN: register indicating the contents of the configuration data selected by the custom switch BUF1: register holding the numerical value input with the right numeric keypad BUF2: numerical value input with the left numeric keypad Register that holds

【0042】SPCi:自動演奏開始時のチャンネル番
号iのプログラムチェンジ番号のレジスタ PCi :チャンネル番号iのプログラムチェンジ番号
のレジスタ BD :ベンドデータのレジスタ PB :ピッチベンドデータのレジスタ TGNC:音源に出力するノートナンバのレジスタ
SPCi: Register of program change number of channel number i at the start of automatic performance PCi: Register of program change number of channel number i BD: Register of bend data PB: Register of pitch bend data TGNC: Note number to be output to sound source Register of

【0043】VOL :音源に出力する音量のレジスタ TD :音源に出力すタッチデータのレジスタ PMD :音源に出力するピッチ変調データのレジスタ AS :音源における割当てチャンネルのチャンネル
番号のレジスタ
VOL: register of volume to be output to sound source TD: register of touch data to be output to sound source PMD: register of pitch modulation data to be output to sound source AS: register of channel number of assigned channel in sound source

【0044】先ず、電源の投入等によってCPU5が図
7のメインルーチンの処理を開始すると、ステップS1
で各フラグおよびレジスタのリセット等の初期設定を行
い、ステップS2で図8の鍵処理を行い、ステップS3
でパネルスイッチ1についてのパネル処理を行なってス
テップS4に進む。
First, when the CPU 5 starts the processing of the main routine of FIG.
Perform initial settings such as resetting of each flag and register, and perform the key processing of FIG.
Then, the panel process for the panel switch 1 is performed, and the process proceeds to step S4.

【0045】なお、ステップS3のパネル処理では、パ
ネルスイッチ2における各スイッチのオンイベントを検
出し、オンイベントのあったスイッチに応じて、それぞ
れ、図10のキーボードチャンネル設定処理、図11の
キーボード音色設定処理、図12のコンフィグテーブル
選択処理、図13のコンフィグテーブルカスタム設定処
理、図14の右テンキー処理、図15の左テンキー処
理、図18のシーケンサスタート処理を行なう。
In the panel processing of step S3, the on event of each switch in the panel switch 2 is detected, and the keyboard channel setting processing of FIG. 10 and the keyboard tone color of FIG. 11 are respectively performed according to the switch having the on event. The setting process, the configuration table selection process of FIG. 12, the configuration table custom setting process of FIG. 13, the right ten-key process of FIG. 14, the left ten-key process of FIG. 15, and the sequencer start process of FIG. 18 are performed.

【0046】ステップS3のパネル処理が終了すると、
ステップS4で図16のMIDIバッファ処理を行い、
ステップS5で、自動演奏のテンポに応じて設定したテ
ンポクロックの間隔に相当する一定時間が経過したか否
かを判定し、一定時間が経過していなければステップS
2に進み、一定時間が経過したらステップS6でフラグ
RUNを判定する。
When the panel processing in step S3 is completed,
In step S4, the MIDI buffer processing of FIG.
In step S5, it is determined whether or not a fixed time corresponding to the tempo clock interval set according to the tempo of the automatic performance has elapsed.
The process proceeds to step S2, and after a predetermined time has elapsed, the flag RUN is determined in step S6.

【0047】ステップS6でRUN=1でなければステ
ップS2以降の処理を繰り返し、RUN=1であればス
テップS7で現在のテンポクロックのタイミングに応じ
て録音または再生等のシーケンサ処理を行なう。そし
て、ステップS8で曲(ソング)が終了したか否かを判
定し、終了でなければステップS2に進み、終了であれ
ばステップS9でフラグRUNを“0”にリセットして
ステップS2以降の処理を繰り返す。
If RUN = 1 is not satisfied at step S6, the processes from step S2 onward are repeated. If RUN = 1, at step S7 a sequencer process such as recording or reproduction is performed according to the current tempo clock timing. Then, in step S8, it is determined whether or not the song is completed. If not, the process proceeds to step S2. If not, the flag RUN is reset to "0" in step S9, and the process after step S2 is performed. repeat.

【0048】図8の鍵処理では、ステップS11で鍵盤
4におけるキーイベントの有無を判定し、キーイベント
が無ければステップS14でキーオフであるか否かを判
定してキーオフでもなければメインルーチンに復帰す
る。
In the key processing shown in FIG. 8, it is determined in step S11 whether or not there is a key event on the keyboard 4, and if there is no key event, it is determined in step S14 whether or not the key is off. If not, the process returns to the main routine. I do.

【0049】ステップS11でキーイベントが有ればス
テップS12でキーコード(ノートコード)をレジスタ
NCにセットするとともにベロシティをレジスタVEL
にセットしてステップS13に進み、ステップS13で
は、鍵盤4に現在設定されているMIDIチャンネルの
チャンネル番号kについてのノーオトオンイベントとし
て、NCおよびVELをRAM7のMIDIバッファに
書き込み、メインルーチンに復帰する。
If there is a key event in step S11, a key code (note code) is set in the register NC and a velocity is set in the register VEL in step S12.
To step S13. In step S13, NC and VEL are written to the MIDI buffer of the RAM 7 as a no-on event for the channel number k of the MIDI channel currently set to the keyboard 4, and the process returns to the main routine. I do.

【0050】一方、ステップS14でキーオフであれ
ば、ステップS15でキーコードをNCにセットし、ス
テップS16で、鍵盤4に現在設定されているMIDI
チャンネルのチャンネル番号kについてのノートオフイ
ベントとして、NCをRAM7のMIDIバッファに書
き込んでメインルーチンに復帰する。
On the other hand, if the key is off in step S14, the key code is set to NC in step S15, and in step S16 the MIDI currently set in the keyboard 4 is set.
As a note-off event for the channel number k of the channel, NC is written into the MIDI buffer of the RAM 7 and the process returns to the main routine.

【0051】なお、この鍵処理でMIDIバッファに書
き込まれたデータは、メインルーチンのステップS4に
おける後述のMIDIバッファ処理により処理され、鍵
盤4におけるキーイベントに対応する発音または消音が
行なわれる。
The data written to the MIDI buffer in this key processing is processed by a MIDI buffer processing described later in step S4 of the main routine, and sounding or silencing corresponding to a key event on the keyboard 4 is performed.

【0052】図9のMIDIインターフェース割込み処
理は、前記のようにMIDIインターフェース3がMI
DI信号を受信したときに割込み信号により開始される
もので、ステップS21で受信データを受け取り、ステ
ップS22でこの受信データをRAM7のMIDIバッ
ファに書き込んで元のルーチンに復帰する。
The MIDI interface interrupt processing shown in FIG.
It is started by an interrupt signal when the DI signal is received. The received data is received in step S21, the received data is written in the MIDI buffer of the RAM 7 in step S22, and the process returns to the original routine.

【0053】図10のキーボードチャンネル設定処理は
キーボードチャンネルスイッチ11のオンイベントがあ
ったときに開始され、先ず、ステップS31でレジスタ
DSPを“1”にセットする。次に、ステップS32で
現在の鍵盤4に設定されているMIDIチャンネル番号
kを右の表示器2Rに表示し、ステップS33でキーボ
ードチャンネルスイッチ11の横にあるLED11aの
みを点灯状態にしてメインルーチンに復帰する。
The keyboard channel setting process shown in FIG. 10 is started when an ON event of the keyboard channel switch 11 occurs. First, in step S31, the register DSP is set to "1". Next, in step S32, the MIDI channel number k set for the current keyboard 4 is displayed on the right display 2R, and in step S33, only the LED 11a beside the keyboard channel switch 11 is turned on to return to the main routine. Return.

【0054】図11のキーボード音色設定処理は音色設
定スイッチ12のオンイベントがあったときに開始さ
れ、先ず、ステップS34でレジスタDSPを“2”に
セットする。次に、ステップS35で現在の鍵盤4に設
定されているMIDIチャンネル番号kに対応する音色
番号TC(k)を右の表示器2Rに表示し、ステップS
36で音色設定スイッチ12の横にあるLED12aの
みを点灯状態にしてメインルーチンに復帰する。
The keyboard tone color setting process of FIG. 11 is started when there is an on event of the tone color setting switch 12, and first, in step S34, the register DSP is set to "2". Next, in step S35, the tone color number TC (k) corresponding to the MIDI channel number k currently set on the keyboard 4 is displayed on the right indicator 2R, and step S35
At 36, only the LED 12a next to the tone color setting switch 12 is turned on, and the process returns to the main routine.

【0055】図12のコンフィグテーブル選択処理はコ
ンフィグ選択スイッチ14のオンイベントがあったとき
に開始され、先ず、ステップS41でレジスタDSPを
“3”にセットする。次に、ステップS42で現在選択
されていコンフィグ番号CNを右の表示器2Rに表示
し、ステップS43でコンフィグ選択スイッチ14の横
にあるKED14aのみを点灯状態にしてメインルーチ
ンに復帰する。
The config table selection process of FIG. 12 is started when there is an on event of the config selection switch 14, and first, in step S41, the register DSP is set to "3". Next, in step S42, the currently selected configuration number CN is displayed on the right display 2R, and in step S43, only the KED 14a beside the configuration selection switch 14 is turned on, and the process returns to the main routine.

【0056】以上の、キーボードチャンネル設定処理、
キーボード音色設定処理およびコンフィグテーブル選択
処理は、MIDIチャンネル番号、音色番号およびコン
フィグ番号をそれぞれ右側のテンキー16で入力・設定
するための前処理である。
The above-mentioned keyboard channel setting process,
The keyboard tone color setting process and the configuration table selection process are pre-processes for inputting and setting the MIDI channel number, tone color number, and config number with the ten keys 16 on the right side, respectively.

【0057】すなわち、これらの処理の後にテンキー1
6で入力された入力値は、後述説明する図14の右テン
キー処理においてレジスタDSPの値に応じてMIDI
チャンネル番号、音色番号およびコンフィグ番号の何れ
であるかが識別され、各番号が所定のレジスタにセット
される。
That is, after these processes, the ten key 1
The input value input in 6 is MIDI according to the value of the register DSP in the right ten key processing of FIG. 14 which will be described later.
A channel number, a tone color number, or a configuration number is identified, and each number is set in a predetermined register.

【0058】図13のコンフィグテーブルカスタム設定
処理はRAM7のコンフィグデータ領域のコンフィグテ
ーブルをカスタム設定するための処理であり、カスタム
スイッチ15のオンイベントがあったときに開始され
る。なお、このカスタム設定モードではレジスタDSP
の値は“4”にセットされる。
The config table custom setting process of FIG. 13 is a process for custom setting the config table in the config data area of the RAM 7, and is started when the custom switch 15 has an on event. In this custom setting mode, register DSP
Is set to "4".

【0059】先ず、ステップS401でDSP=4であ
るか否かを判定し、DSP=4であればカスタム設定モ
ードであるのでステップS402に進み、DSP=4で
なければカスタム設定モードでないのでステップS40
5に進む。
First, in step S401, it is determined whether or not DSP = 4. If DSP = 4, it means that the mode is a custom setting mode, so the process proceeds to step S402. If DSP = 4, it means that the mode is not the custom setting mode.
Go to 5.

【0060】ステップS402では、CEM=9である
か否かを判定し、CEM=9でなければステップS40
3でCEMをインクリメントしてステップS407に進
み、CEM=9であればステップS404でCEMを
“1”にセットしてステップS407に進む。
In step S402, it is determined whether or not CEM = 9, and if CEM = 9, it is determined in step S40.
In step 3, the CEM is incremented and the process proceeds to step S407. If CEM = 9, CEM is set to "1" in step S404 and the process proceeds to step S407.

【0061】なお、レジスタCEMの値はカスタム設定
するコンフィグデータの内容を示すもので、このCEM
の値は上記の処理によりカスタムスイッチ15が操作さ
れる毎に“1”→“2”→…→“9”→“1”のように
サイクリクに更新される。
It should be noted that the value of the register CEM indicates the contents of the configuration data to be custom-set.
Is cyclically updated as “1” → “2” →... → “9” → “1” each time the custom switch 15 is operated by the above processing.

【0062】ステップS405では現在のコンフィグ番
号CNを判定し、CN=4でなければ現在ROM6に書
き込まれているコンフィグテーブルが選択されているの
で、そのままメインルーチンに復帰し、CN=4であれ
ば現在RAM7のコンフィグテーブルが選択されている
ので、ステップS406でレジスタDSPを“4”にセ
ットするとともにレジスタCEMを“1”にプリセット
し、ステップS407に進む。
In step S405, the current configuration number CN is determined. If CN = 4, the configuration table currently written in the ROM 6 is selected. Since the configuration table of the RAM 7 is currently selected, the register DSP is set to “4” and the register CEM is preset to “1” in step S406, and the process proceeds to step S407.

【0063】ステップS407では、レジスタCEMの
値に応じたコンフィグデータの現在値を左右の表示器2
L,2Rに表示し、ステップS408で、カスタムスイ
ッチ15の近傍に配された5つのLED15a1 〜15
5 を図19に示したようにCEMに応じた表示態様で
点灯し、メインルーチンに復帰する。
In step S407, the current value of the configuration data according to the value of the register CEM is displayed on the left and right display units 2.
L, is displayed on 2R, in step S408, 5 single LEDs 15a 1 to 15 disposed in the vicinity of the custom switch 15
As shown in FIG. 19, a 5 is turned on in a display mode corresponding to the CEM, and the process returns to the main routine.

【0064】図19において黒丸は点灯状態を示し、
(A) はプログラムチェンジ番号(音色番号)の設定モー
ド、(B) はイニシャルタッチのベロシティカーブ番号の
設定モード、(C) はベロシティのオフセットの設定モー
ド、(D) はオクターブシフトの設定モード、(E) はドラ
ムセットにおけるドラム音色番号の設定モードをそれぞ
れ示す表示態様である。また、(F) はピッチベンド幅の
設定モード、(G) はボリュームカーブ番号の設定モー
ド、(H) はビブラート感度の設定モード、(I) はドラム
に割り当てられているMIDIチャンネルのチャンネル
番号とドラムセット番号の設定モードをそれぞれ示す表
示態様である。
In FIG. 19, black circles indicate the lighting state.
(A) is the program change number (tone number) setting mode, (B) is the initial touch velocity curve number setting mode, (C) is the velocity offset setting mode, (D) is the octave shift setting mode, (E) is a display mode showing the setting mode of the drum timbre number in the drum set. (F) is the pitch bend width setting mode, (G) is the volume curve number setting mode, (H) is the vibrato sensitivity setting mode, and (I) is the MIDI channel number and drum number assigned to the drum. It is a display mode which shows each set number setting mode.

【0065】このように、カスタムスイッチ15の操作
によりレジスタCEMの値と、LED15a1 〜15a
5 による表示態様が変化するが、これに対応して左右の
表示器2L,2Rの表示内容も次表のように変化する。
[0065] Thus, the value of the register CEM by the operation of the custom switch 15, LEDs 15a 1 to 15A
Although the display mode according to 5 changes, the display contents of the left and right indicators 2L and 2R also change correspondingly as shown in the following table.

【表1】 [Table 1]

【0066】次に、図14の右テンキー処理は右側のテ
ンキー16で入力値が設定されたときに開始され、先
ず、ステップS51でキー入力値をレジスタBUF1に
格納し、ステップS52で現在のレジスタDSPの値を
判定する。
Next, the right numeric key processing of FIG. 14 is started when an input value is set by the right numeric key 16. First, in step S 51, the key input value is stored in the register BUF 1, and in step S 52, the current register Determine the value of DSP.

【0067】DSP=1であればステップS53で鍵盤
4のMIDIチャンネル番号kをBUF1の値に更新
し、ステップS53aで右の表示器2Rの表示の更新を
行なってメインルーチンに復帰する。
If DSP = 1, the MIDI channel number k of the keyboard 4 is updated to the value of BUF1 in step S53, the display on the right display 2R is updated in step S53a, and the process returns to the main routine.

【0068】DSP=2であればステップS54で鍵盤
4のMIDIチャンネル番号kに対応する音色番号TC
(k)をBUF1の値に更新し、ステップS54aで右
の表示器2Rの表示の更新を行なってメインルーチンに
復帰する。
If DSP = 2, the tone color number TC corresponding to the MIDI channel number k of the keyboard 4 is determined in step S54.
(K) is updated to the value of BUF1, the display of the right display 2R is updated in step S54a, and the process returns to the main routine.

【0069】DSP=3であればステップS55でコン
フィグ番号CNをBUF1の値に更新し、ステップS5
5aで右の表示器2Rの表示の更新を行なってメインル
ーチンに復帰する。
If DSP = 3, the configuration number CN is updated to the value of BUF1 in step S55, and step S5
At 5a, the display on the right display unit 2R is updated and the process returns to the main routine.

【0070】DSP=4であればステップS56でレジ
スタCEMの現在の値に応じたコンフィグテーブルデー
タをBUF1の値に更新し、ステップS56aで右の表
示器2Rの表示の更新を行なってメインルーチンに復帰
する。
If DSP = 4, the config table data corresponding to the current value of the register CEM is updated to the value of BUF1 in step S56, and the display of the right indicator 2R is updated in step S56a to enter the main routine. Return.

【0071】DSP=1〜4以外のときはステップS5
7でその他の処理を行なってメインルーチンに復帰す
る。
If the DSP is other than 1 to 4, step S5
Other processing is performed at 7 to return to the main routine.

【0072】図15の左テンキー処理は左側のテンキー
17で入力値が設定されたときに開始され、右テンキー
処理と同様に、ステップS501でキー入力値をレジス
タBUF1に格納し、ステップS502で現在のレジス
タDSPの値を判定する。
The left numeric key processing of FIG. 15 is started when an input value is set by the left numeric keypad 17, and the key input value is stored in the register BUF1 in step S501, and the current value is stored in step S502 as in the right numeric key processing. Of the register DSP is determined.

【0073】DSP=1〜3のときはそのままメインル
ーチンに復帰し、DSP=4のときはステップS503
でレジスタDEMの値に応じてエディットするコンフィ
グデータの選択を行い、ステップS504で選択に変化
があったときは左右の表示器2L,2Rの表示の更新を
行なってメインルーチンに復帰する。また、DSP=1
〜4以外のときはステップS505でその他の処理を行
なってメインルーチンに復帰する。
When DSP = 1 to 3, the process returns to the main routine, and when DSP = 4, the process proceeds to step S503.
Then, the configuration data to be edited is selected according to the value of the register DEM. If there is a change in the selection in step S504, the display of the left and right display units 2L and 2R is updated and the process returns to the main routine. Also, DSP = 1
If it is other than 4, the other processing is performed in step S505, and the process returns to the main routine.

【0074】以上の、キーボードチャンネル設定処理、
キーボード音色設定処理、コンフィグテーブル選択処
理、コンフィグテーブルカスタム設定処理、右テンキー
処理および左テンキー処理により、パネルスイッチ1の
各操作に応じて、鍵盤4のMIDIチャンネル番号k、
鍵盤4のMIDIチャンネル番号に対応する音色番号T
C(k)、コンフィグ番号CNおよびRAM7のコンフ
ィグテーブルがそれぞれ設定される。
The keyboard channel setting processing described above
The keyboard tone color setting processing, the configuration table selection processing, the configuration table custom setting processing, the right numeric key processing, and the left numeric key processing allow the MIDI channel number k of the keyboard 4,
Tone number T corresponding to MIDI channel number of keyboard 4
C (k), config number CN, and config table of RAM 7 are set respectively.

【0075】図16のMIDIバッファ処理では、先ず
ステップS61でMIDIバッファに受信イベントがあ
るか否かを判定し、受信イベントがなければメインルー
チンに復帰し、受信イベントがあればステップS62で
MIDIバッファのイベントの内容を判定する。
In the MIDI buffer process of FIG. 16, first, in step S61, it is determined whether or not there is a reception event in the MIDI buffer. If there is no reception event, the process returns to the main routine. If there is a reception event, the MIDI buffer is processed in step S62. Determine the content of the event.

【0076】ステップS62で、イベントの内容がプロ
グラムチェンジであれば、ステップS63で、プログラ
ムチェンジコマンドに含まれているチャンネル番号をレ
ジスタiに格納するとともに、プログラムチェンジ番号
をレジスタPCに格納し、ステップS64に進む。
If the content of the event is a program change in step S62, the channel number included in the program change command is stored in the register i and the program change number is stored in the register PC in step S63. Proceed to S64.

【0077】ステップS64では、i=DCHCNである
か否か、すなわち、プログラムチェンジコマンドのチャ
ンネル番号がドラムチャンネルに相当するか否かを判定
し、i=DCHCNであればドラムチャンネルであるので
プログラムチェンジ番号の変更を行なわないでメインル
ーチンに復帰する。
[0077] At step S64, i = whether DCH CN, i.e., the channel number of the program change command is determined whether corresponding to the drum channels, because if i = DCH CN is drum channel Return to the main routine without changing the program change number.

【0078】一方、ステップS64でi=DCHCNでな
ければ、ステップS65で、コンフィグテーブルから音
色番号PMCN(PC)を読み出してレジスタTC(i)
にセットすることにより、MIDIバッファ内のプログ
ラムチェンジ番号PCをコンフィグデータに基づいて当
該電子楽器の音色番号に変換し、MIDIチャンネルの
音色を設定する。そして、メインルーチンに復帰する。
On the other hand, if it is not i = DCH CN in step S64, the timbre number PM CN (PC) is read from the configuration table in step S65, and the register TC (i) is read.
The program change number PC in the MIDI buffer is converted to the tone number of the electronic musical instrument based on the configuration data, and the tone color of the MIDI channel is set. Then, the process returns to the main routine.

【0079】ステップS62で、イベントの内容がノー
トオンであれば、ステップS66で、ノートオンコマン
ドに含まれているチャンネル番号をレジスタiに格納す
るとともに、ノートコードをレジスタNCに格納し、さ
らにベロシティをレジスタVELに格納て、ステップS
67で図17の発音処理を行なってメインルーチンに復
帰する。
If the content of the event is note-on in step S62, the channel number included in the note-on command is stored in register i, the note code is stored in register NC, and the velocity is further stored in step S66. Is stored in the register VEL, and step S
At 67, the sound generation process of FIG. 17 is performed, and the process returns to the main routine.

【0080】ステップS62で、イベントの内容がノー
トオフであれば、ステップS68で、ノートオフコマン
ドに含まれているチャンネル番号をレジスタiに格納す
るとともに、ノートコードをレジスタNCに格納し、ス
テップS69でMIDIチャンネル番号iについてノー
トコードNCの楽音の消音処理を行なってメインルーチ
ンに復帰する。
If the content of the event is note-off in step S62, the channel number included in the note-off command is stored in the register i and the note code is stored in the register NC in step S68. To mute the tone of the note code NC for the MIDI channel number i and return to the main routine.

【0081】ステップS62で、イベントの内容がピッ
チベンドであれば、ステップS601で、ピッチベンダ
チェンジマンドに含まれているチャンネル番号をレジス
タiに格納するとともに、ベンドデータをレジスタBD
に格納してステップS602に進む。
If the content of the event is pitch bend in step S62, the channel number included in the pitch bender change command is stored in the register i and the bend data is stored in the register BD in step S601.
Stored in, and the process proceeds to step S602.

【0082】ステップS602では、ベンドデータBD
にコンフィグデータのピッチベンド幅PBENDCNを乗
算してレジスタPBに格納することにより、MIDIバ
ッファ内のベンドデータをコンフィグデータに基づいて
当該電子楽器のベンドデータに変換してステップS60
3に進み、ステップS603で、MIDIチャンネル番
号iの発音を行なっている音源のチャンネルにベンドデ
ータPBを送出してメインルーチンに復帰する。
In step S602, the bend data BD
Is multiplied by the pitch bend width PBEND CN of the configuration data and stored in the register PB, whereby the bend data in the MIDI buffer is converted into the bend data of the electronic musical instrument based on the configuration data, and step S60 is performed.
In step S603, the bend data PB is sent to the channel of the sound source producing the MIDI channel number i, and the process returns to the main routine.

【0083】ステップS62で、イベントの内容がその
他のものであればステップS604でその他の処理を行
なってメインルーチンに復帰する。
If it is determined in step S62 that the content of the event is another, other processing is performed in step S604, and the process returns to the main routine.

【0084】図17の発音処理では、先ず、ステップS
71でi=DCHCNであるか否か、すなわち、ノートオ
ンのチャンネル番号がドラムチャンネルに相当するか否
かを判定し、i=DCHCNであればステップS72以降
でドラム音についての処理を行い、i=DCHCNであれ
ばステップS75以降でドラム以外の音についての処理
を行なう。
In the sound generation process shown in FIG.
71 i = whether DCH CN, i.e., note-on channel number it is determined whether corresponding to the drum channels, if i = DCH CN in step S72 and subsequent performs processing for drum sounds , I = DCH CN , the process for sounds other than the drum is performed in step S75 and subsequent steps.

【0085】ステップS72では、ドラム音色番号DM
(NC)をレジスタDNにセットすることによりドラム
の音色を示すノートコードNCを当該電子楽器のドラム
音色番号DNに変換し、ステップS73で音源8のチャ
ンネル割当てを行なって割当てチャンネル番号をレジス
タASにセットしてステップS74に進む。
In step S72, the drum tone number DM
By setting (NC) in the register DN, the note code NC indicating the tone color of the drum is converted into the drum tone number DN of the electronic musical instrument. In step S73, the channel of the sound source 8 is assigned, and the assigned channel number is assigned to the register AS. Set and go to step S74.

【0086】ステップS74では、音源8のASチャン
ネルにコンフィグ番号CNに対応するコンフィグテーブ
ルのドラムセット番号DVNCNとドラム音色番号DNお
よびノートオン信号を送出し、メインルーチンに復帰す
る。
In step S74, the drum set number DVN CN , the drum tone color number DN, and the note-on signal of the config table corresponding to the config number CN are sent to the AS channel of the sound source 8, and the process returns to the main routine.

【0087】ステップS75では、“12”にコンフィ
グ番号CNに対応するコンフィグテーブルのオクターブ
シフトOCTCNを乗算してこの乗算値をノートコードN
Cに加算してレジスタTGNCに格納し、ステップS7
6でコンフィグ番号CNに対応するコンフィグテーブル
のベロシティカーブ番号ICCNとボリュームカーブ番号
VCをそれぞれレジスタa,bに格納する。
In step S75, “12” is multiplied by the octave shift OCT CN of the configuration table corresponding to the configuration number CN, and the multiplied value is used as the note code N
It is added to C and stored in the register TGNC, and step S7
In step 6, the velocity curve number IC CN and the volume curve number VC of the configuration table corresponding to the configuration number CN are stored in registers a and b, respectively.

【0088】次に、ステップS77で、ベロシティカー
ブ番号aに対応するベロシティカーブFaからベロシテ
ィVELで得られた値にベロシティのオフセットIOF
Sを加算してレジスタTDに格納し、ボリュームカーブ
番号bに対応するボリュームカーブFbからタッチデー
タTDで得られた値をレジスタVOLに格納し、さらに
タッチデータTDにビブラート感度VIBSCNを乗算し
た値をレジスタPMDに格納する。
Next, in step S77, the velocity offset IOF is added to the value obtained by the velocity VEL from the velocity curve Fa corresponding to the velocity curve number a.
A value obtained by adding S and storing it in the register TD, storing the value obtained by the touch data TD from the volume curve Fb corresponding to the volume curve number b in the register VOL, and further multiplying the touch data TD by the vibrato sensitivity VIBS CN. Are stored in the register PMD.

【0089】次に、ステップS78で、音源8のチャン
ネル割当てを行なって割当てチャンネル番号をレジスタ
ASにセットし、ステップS79で、音源8のASチャ
ンネルに音色番号TC(i)、ノートコードTGNC、
ベロシティTD、ボリュームVOL、ピッチ変調データ
PMDおよびノートオン信号を送出し、メインルーチン
に復帰する。
Next, in step S78, the channel of the tone generator 8 is assigned and the assigned channel number is set in the register AS. In step S79, the tone color number TC (i), the note code TGNC,
The velocity TD, the volume VOL, the pitch modulation data PMD and the note-on signal are transmitted, and the process returns to the main routine.

【0090】ここで、実施例の電子楽器の使い方の一例
を説明すると、例えば、ROM6に記憶されているコン
フィグテーブルに相応する他の電子楽器をMIDIイン
ターフェース3に接続し、コンフィグ選択スイッチ14
でこのコンフィグテーブルに対応するコンフィグ番号を
設定する。そして、この他の電子楽器からMIDI信号
として演奏データを入力すると、コンフィグ番号に対応
するコンフィグテーブルにより、入力される演奏データ
が変換されて当該電子楽器による演奏が行なわれる。
An example of how to use the electronic musical instrument of the embodiment will now be described. For example, another electronic musical instrument corresponding to the config table stored in the ROM 6 is connected to the MIDI interface 3 and the config selection switch 14 is connected.
Set the config number corresponding to this config table with. When performance data is input as a MIDI signal from another electronic musical instrument, the input performance data is converted by the configuration table corresponding to the configuration number, and the electronic musical instrument performs.

【0091】また、接続する電子楽器についてのコンフ
ィグテーブルがROM6に記憶されていない場合は、コ
ンフィグ選択スイッチ14でコンフィグ番号“4”を選
択するとともに、カスタムスイッチ15およびテンキー
16,17を操作して接続した他の電子楽器についての
コンフィグテーブルを設定する。そして、この他の電子
楽器からMIDI信号として演奏データを入力すると、
RAM7に設定されているコンフィグテーブルにより入
力される演奏データが変換され、当該電子楽器による演
奏が行なわれる。
If the configuration table for the electronic musical instrument to be connected is not stored in the ROM 6, the configuration number "4" is selected by the configuration selection switch 14, and the custom switch 15 and the ten keys 16 and 17 are operated. Set the config table for other connected electronic musical instruments. When performance data is input as a MIDI signal from another electronic musical instrument,
The performance data input by the configuration table set in the RAM 7 is converted, and the performance by the electronic musical instrument is performed.

【0092】また、鍵盤4を操作すると、この鍵盤4か
らの演奏データはMIDIバッファに一旦書き込まれる
が、この演奏データはMIDIバッファ処理で読み出さ
れて発音処理により発音される。
When the keyboard 4 is operated, the performance data from the keyboard 4 is once written in the MIDI buffer, but this performance data is read out by the MIDI buffer processing and sounded by the sound generation processing.

【0093】次に、RAM7に記憶された演奏データに
よる自動演奏について説明する。なお、この自動演奏を
行なう場合は、先ず、図示しないシーケンサスイッチを
オンにした後、曲番号を入力する。そしてスタートスイ
ッチ13をオンにすると自動演奏が開始される。
Next, an automatic performance based on the performance data stored in the RAM 7 will be described. When performing this automatic performance, first a sequencer switch (not shown) is turned on, and then a music number is input. Then, when the start switch 13 is turned on, the automatic performance is started.

【0094】図18のシーケンサスタート処理はスター
トスイッチ13のオンイベントがあったときに開始さ
れ、先ず、ステップS81で現在設定されているシーケ
ンサの曲番号をレジスタSNに記憶し、ステップS82
で曲番号SNのヘッダの読み出し準備を行なってステッ
プS83に進む。
The sequencer start process shown in FIG. 18 is started when an ON event of the start switch 13 occurs. First, in step S81, the music number of the currently set sequencer is stored in the register SN.
To prepare for reading the header of the music number SN, and then proceed to step S83.

【0095】ステップS83では、曲番号SNのヘッダ
を読み出して、演奏データの読出しアドレス、初期テン
ポ、拍子数等の設定を行なうとともにヘッダに記録され
ているコンフィグ番号をレジスタCNに格納して再生開
始準備を行ない、ステップS84でコンフィグ番号CN
の判定を行なう。
In step S83, the header of the music number SN is read, the read address of the performance data, the initial tempo, the number of beats, etc. are set, and the config number recorded in the header is stored in the register CN to start reproduction. Preparations are made, and the configuration number CN is set in step S84.
Is determined.

【0096】ステップS84でCN=4でなければステ
ップS86に進み、CN=4であればステップS85で
演奏データの頭からコンフィグテーブルを読出してRA
M7のコンフィグテーブル4の領域に書き込んでステッ
プS86に進む。
If CN = 4 in step S84, the process proceeds to step S86. If CN = 4, the configuration table is read from the beginning of the performance data in step S85 and RA
The data is written in the area of the configuration table 4 of M7 and the process proceeds to step S86.

【0097】ステップS86では、自動演奏開始時のチ
ャンネル番号iのプログラムチェンジ番号SPCiとコ
ンフィグ番号CNに対応するコンフィグテーブルとに基
づいて、音色番号PMCN(SPCi)を読出してレジス
タTC(i)にセットし、チャンネル番号iの各MID
Iチャンネルの音色を設定する。なお、コンフィグテー
ブルは、CN=1〜3のときはROM6のコンフィグテ
ーブル1〜3が用いられ、CN=4のときはRAM7の
コンフィグテーブル4が用いられる。
At step S86, the timbre number PM CN (SPi) is read out to the register TC (i) based on the program change number SPCi of the channel number i at the start of the automatic performance and the configuration table corresponding to the configuration number CN. Set, each MID of channel number i
Set the tone for the I channel. When CN = 1 to 3, the configuration tables 1 to 3 of the ROM 6 are used, and when CN = 4, the configuration table 4 of the RAM 7 is used.

【0098】以上の処理が終了するとステップS87で
フラグRUNを“1”にセットしてメインルーチンに復
帰する。
When the above process is completed, the flag RUN is set to "1" in a step S87, and the process returns to the main routine.

【0099】以上のシーケンサスタート処理によりRU
N=1となり、メインルーチンのステップS7のシーケ
ンサ処理によって曲番号SNの自動演奏が開始される。
なお、ステップS7のシーケンサ処理では、現在選択さ
れているコンフィグテーブルにより、前記MIDIバッ
ファ処理のときと同様に演奏データが変換されて自動演
奏が行なわれる。
By the sequencer start processing described above, the RU
Since N = 1, the automatic performance of the music number SN is started by the sequencer processing in step S7 of the main routine.
In the sequencer process of step S7, the performance data is converted by the currently selected configuration table in the same manner as in the MIDI buffer process, and the automatic performance is performed.

【0100】なお、上記実施例の自動演奏装置は鍵盤を
備えた電子楽器内に組み込まれているが、他の演奏用操
作子を有する電子楽器に組み込んでもよいし、演奏操作
子を有しない音源装置に組み込んでもよい。
Although the automatic performance device of the above embodiment is incorporated in an electronic musical instrument having a keyboard, it may be incorporated in an electronic musical instrument having other performance operators, or a sound source having no performance operators. It may be incorporated in the device.

【0101】また、以上の実施例では、MIDIインタ
ーフェースから演奏データを入力する場合にはコンフィ
グ番号をパネルスイッチから入力するようにしている
が、例えば図16のMIDIバッファ処理のイベント内
容の判定処理やその他の処理でMIDIバッファからコ
ンフィグ番号を読み取る等の処理を行なうようにすれ
ば、MIDIインターフェースに接続する電子楽器から
予めコンフィグ番号を送信するような使い方もできる。
Further, in the above embodiment, when the performance data is input from the MIDI interface, the config number is input from the panel switch. However, for example, the determination process of the event contents of the MIDI buffer process of FIG. If the processing such as reading the config number from the MIDI buffer is performed in other processing, the electronic musical instrument connected to the MIDI interface can be used to transmit the config number in advance.

【0102】また、このような場合に、受信したコンフ
ィグ番号に相当するコンフィグテーブルがROMにない
場合には、MIDIインターフェースに接続する電子楽
器からコンフィグテーブルのデータを送信させるととも
に、コンフィグ番号を“4”にしてRAMのコンフィグ
テーブル領域に受信したコンフィグテーブルを設定する
ような使い方もできる。
In such a case, if the configuration table corresponding to the received configuration number is not stored in the ROM, the data of the configuration table is transmitted from the electronic musical instrument connected to the MIDI interface, and the configuration number is set to “4”. And setting the received configuration table in the configuration table area of the RAM.

【0103】[0103]

【発明の効果】以上説明したように本発明の請求項1記
載の電子楽器によれば、複数の楽曲の演奏データを記憶
手段に記憶するとともに、その演奏データを所定の演奏
データに変換するための変換情報を各楽曲の演奏データ
に対応して記憶可能な記憶手段を用い、変換情報設定手
段により、任意に設定された変換情報を各楽曲の演奏デ
ータに対応させて記憶手段に記憶させ、演奏手段によ
り、記憶手段から所望の楽曲の演奏データとこの演奏デ
ータに対応する変換情報を読み出すとともに、この読み
出した変換情報に基づいてこの読み出した演奏データに
対して変換処理を施して楽音を発生するようにしたの
で、種類の異なる電子楽器等の演奏データを所定の演奏
データに変換することが可能となり互換性を高めること
ができ、かつ、ユーザーが変換情報を任意に設定するこ
とができるので、記憶された演奏データを所望の演奏デ
ータに変換することができる。また、各楽曲に対応する
変換情報が演奏データに対応させて記憶手段に保持され
るので、その楽曲については、その後、その楽曲を読み
出す毎にその演奏データの変換に用いる変換情報を設定
し直すという必要がなく、便利である。
As described above, according to the electronic musical instrument of the first aspect of the present invention, the performance data of a plurality of music pieces are stored in the storage means, and the performance data is converted into predetermined performance data. Using storage means capable of storing the conversion information corresponding to the performance data of each music piece, and storing the conversion information arbitrarily set by the conversion information setting means in the storage means in correspondence with the performance data of each music piece, The playing means reads performance data of a desired music piece and conversion information corresponding to the performance data from the storage means, and performs a conversion process on the read performance data based on the read conversion information to generate a musical tone. Therefore, performance data of different types of electronic musical instruments can be converted into predetermined performance data, compatibility can be improved, and user performance can be improved. Since There can be arbitrarily set the conversion information, the stored performance data can be converted to the desired performance data. Further, since the conversion information corresponding to each music is held in the storage means in association with the performance data, the conversion information used for conversion of the performance data is reset for the music every time the music is read out thereafter. It is not necessary and is convenient.

【0104】また、本発明の請求項2記載の電子楽器に
よれば、識別情報設定手段により、変換情報記憶手段に
記憶された複数の変換情報のうちのいずれかを指示する
識別情報を楽曲毎に設定し、この識別情報設定手段で設
定された各楽曲毎の識別情報をが識別情報記手段に記憶
し、演奏手段により、演奏データ記憶手段から所望の楽
曲の演奏データを読み出し、識別情報記憶手段からその
楽曲の識別情報を読み出し、この読み出した識別情報が
指示する変換情報を変換情報記憶手段から読み出し、こ
の読み出した演奏データに対してこの読み出した変換情
報に基づいて変換処理を施して楽音を発生するようにし
たので、種類の異なる電子楽器等の演奏データを所定の
演奏データに変換することが可能となり互換性を高める
ことができ、かつ、記憶する複数の楽曲のうちの少なく
とも1つの特殊な楽曲について、演奏データ記憶手段に
演奏データとともに変換情報を記憶し、この特殊な楽曲
については、この楽曲の演奏データを、この演奏データ
とともに演奏データ記憶手段に記憶された変換情報に基
づいて変換処理を施して楽音を発生するようにしたの
で、代表的な変換情報のみ変換情報記憶手段に記憶し、
例外的な変換情報については変換情報記憶手段に記憶し
ないようにすることができ、変換情報記憶手段の記憶容
量を無闇に増やすことがなく、構成を簡素化することが
できる。すなわち、例外的な変換情報を全て変換情報記
憶手段に記憶するようにすると、演奏データ記憶手段に
記憶される演奏データによっては、使用しない変換情報
までも記憶することになり、記憶手段の記憶容量が無駄
になるが、請求項2記載の電子楽器によれば、このよう
な不都合がない。また、各楽曲に対応する変換情報を指
示する識別情報を設定すれば、この識別情報が識別情報
記憶手段に保持されるので、その楽曲については、その
後、その楽曲を読み出す毎にその演奏データの変換に用
いる変換情報を設定し直すという必要がなく、便利であ
る。
Further, according to the electronic musical instrument of the second aspect of the present invention, the identification information setting means provides the identification information for instructing any one of the plurality of conversion information stored in the conversion information storage means for each music piece. The identification information for each music set by the identification information setting means is stored in the identification information recording means, and the performance means reads the performance data of the desired music from the performance data storage means to store the identification information. The identification information of the music piece is read from the means, the conversion information indicated by the read identification information is read from the conversion information storage means, and the read performance data is subjected to conversion processing based on the read conversion information to generate a musical tone. Since the performance data of different types of electronic musical instruments can be converted into predetermined performance data, the compatibility can be improved. For at least one special song among a plurality of songs to be stored, conversion information is stored together with the performance data in the performance data storage means. For the special song, the performance data of the song is stored together with the performance data. Since a tone is generated by performing a conversion process based on the conversion information stored in the storage means, only representative conversion information is stored in the conversion information storage means,
The exceptional conversion information can be prevented from being stored in the conversion information storage means, and the configuration can be simplified without unnecessarily increasing the storage capacity of the conversion information storage means. That is, if all the exceptional conversion information is stored in the conversion information storage means, even the conversion information not used may be stored depending on the performance data stored in the performance data storage means, and the storage capacity of the storage means. However, according to the electronic musical instrument of the second aspect, there is no such inconvenience. Also, if identification information indicating conversion information corresponding to each music is set, this identification information is stored in the identification information storage means. This is convenient because there is no need to reset the conversion information used for the conversion.

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

【図1】本発明実施例の自動演奏装置のブロック図であ
る。
FIG. 1 is a block diagram of an automatic performance device according to an embodiment of the present invention.

【図2】実施例におけるパネル面の一部を示す図であ
る。
FIG. 2 is a diagram showing a part of a panel surface in the embodiment.

【図3】実施例におけるROMとRAMのメモリマップ
を示す図である。
FIG. 3 is a diagram showing a memory map of a ROM and a RAM in the embodiment.

【図4】実施例におけるコンフィグテーブルのフォーマ
ット図である。
FIG. 4 is a format diagram of a configuration table in the embodiment.

【図5】実施例におけるシーケンサ演奏データのメモリ
マップを示す図である。
FIG. 5 is a diagram showing a memory map of sequencer performance data in the embodiment.

【図6】実施例における機能ブロック図である。FIG. 6 is a functional block diagram in an embodiment.

【図7】実施例における制御のメインルーチンのフロー
チャートである。
FIG. 7 is a flowchart of a main routine of control in the embodiment.

【図8】実施例における鍵処理のフローチャートであ
る。
FIG. 8 is a flowchart of a key process in the embodiment.

【図9】実施例におけるMIDIインターフェース割込
み処理のフローチャートである。
FIG. 9 is a flowchart of MIDI interface interrupt processing in the embodiment.

【図10】実施例におけるキーボードチャンネル設定処
理のフローチャートである。
FIG. 10 is a flowchart of a keyboard channel setting process in the embodiment.

【図11】実施例におけるキーボード音色設定処理のフ
ローチャートである。
FIG. 11 is a flowchart of keyboard tone color setting processing in the embodiment.

【図12】実施例におけるコンフィグテーブル選択処理
のフローチャートである。
FIG. 12 is a flowchart of a configuration table selection process in the embodiment.

【図13】実施例におけるコンフィグテーブルカスタム
設定処理のフローチャートである。
FIG. 13 is a flowchart of a config table custom setting process according to the embodiment.

【図14】実施例における右テンキー処理のフローチャ
ートである。
FIG. 14 is a flowchart of right numeric key processing in the embodiment.

【図15】実施例における左テンキー処理のフローチャ
ートである。
FIG. 15 is a flowchart of left numeric keypad processing in the embodiment.

【図16】実施例におけるMIDIバッファ処理のフロ
ーチャートである。
FIG. 16 is a flowchart of a MIDI buffer process in the embodiment.

【図17】実施例における発音処理のフローチャートで
ある。
FIG. 17 is a flowchart of a sounding process in the embodiment.

【図18】実施例におけるシーケンサスタート処理のフ
ローチャートである。
FIG. 18 is a flowchart of a sequencer start process in the embodiment.

【図19】実施例におけるカスタム設定時の表示態様を
示す図である。
FIG. 19 is a diagram showing a display mode at the time of custom setting in the embodiment.

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

1…パネルスイッチ、3…MIDIインターフェース、
5…CPU、6…ROM、7…RAM、14…コンフィ
グ選択スイッチ、15…カスタムスイッチ。
1: Panel switch, 3: MIDI interface,
5 ... CPU, 6 ... ROM, 7 ... RAM, 14 ... Config selection switch, 15 ... Custom switch.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の楽曲の演奏データを記憶するとと
もに、該演奏データを所定の演奏データに変換するため
の変換情報を前記各楽曲の演奏データに対応して記憶可
能な記憶手段と、 任意に設定された前記変換情報を前記各楽曲の演奏デー
タに対応させて前記記憶手段に記憶させる変換情報設定
手段と、 前記記憶手段から所望の楽曲の演奏データおよび該演奏
データに対応する変換情報を読み出すとともに、該読み
出した変換情報に基づいて前記読み出した演奏データに
対して変換処理を施して楽音を発生する演奏手段と、 を備えたことを特徴とする電子楽器。
1. Storage means for storing performance data of a plurality of music pieces and storing conversion information for converting the performance data into predetermined performance data in association with the performance data of each music piece. Conversion information setting means for storing the conversion information set in the above in the storage means in association with the performance data of each of the music pieces, and performance data of a desired music piece and conversion information corresponding to the performance data from the storage means. An electronic musical instrument comprising: a playing means for reading and performing a conversion process on the read performance data based on the read conversion information to generate a musical tone.
【請求項2】 複数の楽曲の演奏データを記憶するため
の演奏データ記憶手段と、 前記演奏データ記憶手段に記憶された演奏データを所定
の演奏データに変換するための変換情報が複数記憶され
た変換情報記憶手段と、 前記複数の変換情報のうちのいずれかを指示する識別情
報を前記楽曲毎に設定する識別情報設定手段と、 前記識別情報設定手段で設定された各楽曲毎の識別情報
を記憶する識別情報記憶手段と、 前記演奏データ記憶手段から所望の楽曲の演奏データを
読み出すとともに、前記識別情報記憶手段に記憶された
該楽曲の識別情報を読み出して、該読み出した識別情報
が指示する変換情報を前記変換情報記憶手段から読み出
し、前記読み出した演奏データに対して前記読み出した
変換情報に基づいて変換処理を施して楽音を発生する演
奏手段と、 を備えた電子楽器であって、 前記演奏データ記憶手段は、記憶する複数の楽曲のうち
の少なくとも1つの特殊な楽曲について、前記演奏デー
タとともに前記変換情報を記憶するものであり、 前記演奏手段は、前記特殊な楽曲の演奏データを読み出
した場合、該演奏データとともに前記演奏データ記憶手
段に記憶された変換情報に基づいて該演奏データに対し
て変換処理を施して楽音を発生するものであることを特
徴とする電子楽器。
2. Performance data storage means for storing performance data of a plurality of music pieces, and a plurality of conversion information for converting the performance data stored in the performance data storage means into predetermined performance data are stored. Conversion information storage means, identification information setting means for setting identification information indicating one of the plurality of pieces of conversion information for each music piece, and identification information for each music piece set by the identification information setting means. Identification information storage means for storing the music data of the desired music piece from the performance data storage means, read the identification information of the music piece stored in the identification information storage means, and indicate the read identification information. The conversion information is read from the conversion information storage means, and the read performance data is subjected to a conversion process based on the read conversion information to generate a musical tone. An electronic musical instrument comprising: a performance data storage means for storing the conversion information together with the performance data for at least one special music piece among a plurality of music pieces to be stored. When the performance data of the special music piece is read, the performance means performs a conversion process on the performance data based on the conversion information stored in the performance data storage means together with the performance data to generate a musical tone. An electronic musical instrument characterized by the following:
JP8124969A 1996-05-20 1996-05-20 Electronic musical instrument Expired - Fee Related JP2639381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8124969A JP2639381B2 (en) 1996-05-20 1996-05-20 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8124969A JP2639381B2 (en) 1996-05-20 1996-05-20 Electronic musical instrument

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP4001632A Division JP2570045B2 (en) 1992-01-08 1992-01-08 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH08272361A true JPH08272361A (en) 1996-10-18
JP2639381B2 JP2639381B2 (en) 1997-08-13

Family

ID=14898710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8124969A Expired - Fee Related JP2639381B2 (en) 1996-05-20 1996-05-20 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2639381B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007093800A (en) * 2005-09-27 2007-04-12 Kawai Musical Instr Mfg Co Ltd Data structure of electronic musical instrument
JP2007233146A (en) * 2006-03-02 2007-09-13 Kawai Musical Instr Mfg Co Ltd Electronic musical sound generating device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61233784A (en) * 1985-04-09 1986-10-18 カシオ計算機株式会社 Automatic performer
JPS62299996A (en) * 1986-06-20 1987-12-26 松下電器産業株式会社 Automatic performer
JPH03196191A (en) * 1989-12-26 1991-08-27 Brother Ind Ltd Performance information processor
JPH03237494A (en) * 1990-02-15 1991-10-23 Yamaha Corp Electronic musical instrument
JPH03280000A (en) * 1990-03-29 1991-12-11 Yamaha Corp Automatic music player
JP3114891U (en) * 2005-07-19 2005-10-27 芳久 宮川 Microorganism culture equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61233784A (en) * 1985-04-09 1986-10-18 カシオ計算機株式会社 Automatic performer
JPS62299996A (en) * 1986-06-20 1987-12-26 松下電器産業株式会社 Automatic performer
JPH03196191A (en) * 1989-12-26 1991-08-27 Brother Ind Ltd Performance information processor
JPH03237494A (en) * 1990-02-15 1991-10-23 Yamaha Corp Electronic musical instrument
JPH03280000A (en) * 1990-03-29 1991-12-11 Yamaha Corp Automatic music player
JP3114891U (en) * 2005-07-19 2005-10-27 芳久 宮川 Microorganism culture equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007093800A (en) * 2005-09-27 2007-04-12 Kawai Musical Instr Mfg Co Ltd Data structure of electronic musical instrument
JP4672501B2 (en) * 2005-09-27 2011-04-20 株式会社河合楽器製作所 Electronic musical instruments
JP2007233146A (en) * 2006-03-02 2007-09-13 Kawai Musical Instr Mfg Co Ltd Electronic musical sound generating device
JP4535336B2 (en) * 2006-03-02 2010-09-01 株式会社河合楽器製作所 Electronic musical sound generator

Also Published As

Publication number Publication date
JP2639381B2 (en) 1997-08-13

Similar Documents

Publication Publication Date Title
US5521322A (en) Tone information processing device for an electronic musical instrument for generating sounds
US5612501A (en) Automatic accompaniment information producing apparatus
KR100583371B1 (en) Musical tone synthesizing apparatus, musical tone synthesizing method and storage medium
JPH047519B2 (en)
JP3568326B2 (en) Electronic musical instrument
JPH06259065A (en) Electronic musical instrument
JP2570045B2 (en) Electronic musical instrument
JP2639381B2 (en) Electronic musical instrument
JP4614307B2 (en) Performance data processing apparatus and program
JPH06259064A (en) Electronic musical instrument
JP2885333B2 (en) Electronic musical instrument
JP2760301B2 (en) Electronic musical instrument
JPH06348258A (en) Automatic playing device of electronic musical instrument
JPH0527762A (en) Electronic musical instrument
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JPH02173698A (en) Electronic musical instrument
JP2639381C (en)
JP2760346B2 (en) Electronic musical instrument system
JP3529123B2 (en) Automatic performance device and automatic performance method
JP3630266B2 (en) Automatic accompaniment device
JP2001051681A (en) Automatic accompaniment information generator
JP3241813B2 (en) Performance information processing device
JPH0546177A (en) Electronic musical instrument
JP2671889B2 (en) Electronic musical instrument
JPH05108074A (en) Automatic accompaniment device of electronic musical instrument

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970325

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

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees