JP3508494B2 - Automatic performance data conversion system and medium recording program - Google Patents

Automatic performance data conversion system and medium recording program

Info

Publication number
JP3508494B2
JP3508494B2 JP22253197A JP22253197A JP3508494B2 JP 3508494 B2 JP3508494 B2 JP 3508494B2 JP 22253197 A JP22253197 A JP 22253197A JP 22253197 A JP22253197 A JP 22253197A JP 3508494 B2 JP3508494 B2 JP 3508494B2
Authority
JP
Japan
Prior art keywords
automatic performance
format
performance data
conversion
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22253197A
Other languages
Japanese (ja)
Other versions
JPH10124046A (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 JP22253197A priority Critical patent/JP3508494B2/en
Publication of JPH10124046A publication Critical patent/JPH10124046A/en
Application granted granted Critical
Publication of JP3508494B2 publication Critical patent/JP3508494B2/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 data conversion technique, and more particularly to an automatic performance data conversion technique for converting one form into another form of automatic performance data.

【0002】[0002]

【従来の技術】MIDIデータは、電子楽器共通に使用
することができる統一的な演奏情報である。MIDIデ
ータの大まかな規格として、GM規格がある。GM規格
は、基本的な演奏情報の規則を決めるものにすぎない。
このGM規格の細部をさらに細かく決めたものに、GS
規格とXG規格がある。GS規格とXG規格は、共にG
M規格に従うものであるが、両者は細部において若干異
なる。例えば、両者の音色番号は一部において一致して
いない。また、効果の種類または効果のパラメータが異
なる。
2. Description of the Related Art MIDI data is unified performance information that can be commonly used for electronic musical instruments. The GM standard is a rough standard for MIDI data. The GM standard merely determines the rules of basic performance information.
The GS standard is a more detailed version of the GS standard.
There are standards and XG standards. The GS and XG standards are both G
Although they comply with the M standard, the two are slightly different in detail. For example, the tone color numbers of both do not match in part. Moreover, the type of effect or the parameter of the effect is different.

【0003】電子楽器または音源においても、GS規格
用のものとXG規格用のものがある。例えば、XG規格
用の電子楽器にGS規格のMIDIデータを供給する
と、発音はされるものの、望ましい音色や効果で発音さ
れないことがある。
Among electronic musical instruments or sound sources, there are those for GS standard and those for XG standard. For example, when MIDI data of the GS standard is supplied to an XG standard electronic musical instrument, the sound may be produced but may not be produced with a desired tone color or effect.

【0004】一方、近年、通信カラオケが急速に普及し
ている。このカラオケ装置に新しい曲を加えるには、そ
の曲用の自動演奏データを作成し、その自動演奏データ
を通信によりカラオケ装置に供給する。したがって、曲
が増える度に、自動演奏データも増えていく。通信カラ
オケにおいては、次々に新しい曲用の自動演奏データが
作成されているため、既に大量の自動演奏データが世の
中に出回っている。
On the other hand, in recent years, online karaoke has become popular rapidly. To add a new song to this karaoke apparatus, automatic performance data for the song is created and the automatic performance data is supplied to the karaoke apparatus by communication. Therefore, as the number of songs increases, the automatic performance data also increases. In online karaoke, since automatic performance data for new songs are being created one after another, a large amount of automatic performance data is already available in the world.

【0005】通信カラオケに用いられる自動演奏データ
は、MIDIデータを基調としたものである。MIDI
データにはGS規格とXG規格の2種類がある。それに
対応し、自動演奏データもGS規格のものとXG規格の
ものの2種類がある。
The automatic performance data used for communication karaoke is based on MIDI data. MIDI
There are two types of data, the GS standard and the XG standard. Correspondingly, there are two types of automatic performance data, one of GS standard and one of XG standard.

【0006】例えば、XG規格のカラオケ装置でGS規
格の自動演奏データを演奏すると、音色配列の違いなど
により曲の感じが若干異なってしまい、曲本来の演奏を
期待することができない。また、ある規格の自動演奏デ
ータを大量に保持していても、異なる規格のカラオケ装
置では使用できないため、自動演奏データの資源が無駄
になってしまう。
For example, when the GS standard automatic performance data is played by an XG standard karaoke apparatus, the feeling of the music is slightly different due to a difference in tone color arrangement, and the original performance of the music cannot be expected. Further, even if a large amount of automatic performance data of a certain standard is held, it cannot be used in a karaoke device of a different standard, and resources of the automatic performance data are wasted.

【0007】[0007]

【発明が解決しようとする課題】MIDIデータまたは
自動演奏データの規格が異なれば、電子楽器またはカラ
オケ装置においてはやや異なる音が発音されてしまい、
実質的に使用に耐えられない。また、過去から現在にわ
たり、大量のMIDIデータまたは自動演奏データを蓄
積していたとしても、規格の異なる電子楽器またはカラ
オケ装置では使用することができず、大量のデータが無
駄になってしまう。
If the standard of MIDI data or automatic performance data is different, a slightly different sound is produced in the electronic musical instrument or the karaoke device,
Virtually unusable. Further, even if a large amount of MIDI data or automatic performance data is accumulated from the past to the present, it cannot be used in electronic musical instruments or karaoke devices of different standards, and a large amount of data is wasted.

【0008】本発明の目的は、ある形式の自動演奏デー
タから他の形式の自動演奏データに変換することができ
る自動演奏データ変換システム、自動演奏データ変換方
法又はプログラムを記録した媒体を提供することであ
る。
An object of the present invention is to provide an automatic performance data conversion system, an automatic performance data conversion method or a medium having a program recorded therein, which can convert automatic performance data of a certain format into automatic performance data of another format. Is.

【0009】[0009]

【課題を解決するための手段】 本発明の一観点によれ
ば、自動演奏データ変換システムは、1つの音色セット
に複数の音色を含む音色情報を有する第1の形式の自動
演奏データを前記複数種類の音色が複数の音色セットに
含まれる音色情報を有する第2の形式の自動演奏データ
に変換する自動演奏データ変換システムであって、第1
の形式の自動演奏データを入力する入力手段と、前記入
力手段により入力される第1の形式の自動演奏データに
含まれる音色情報を第2の形式の音色情報に変換すると
ともに、変換後の第2の形式の音色セットごとにチャン
ネル情報を編成した第2の形式の自動演奏データに変換
するデータ変換手段と、前記データ変換手段により変換
された第2の形式のデータ列を変換後の自動演奏データ
として出力する出力手段とを有する。
According to one aspect of the present invention, an automatic performance data conversion system includes a plurality of first-form automatic performance data having tone color information including a plurality of tone colors in one tone color set. An automatic performance data conversion system for converting tones of a variety of types into automatic performance data of a second format having tone color information included in a plurality of tone color sets.
Inputting means for inputting automatic performance data in the form of, and timbre information contained in the automatic playing data in the first format inputted by the input means is converted into timbre information in the second format, and after conversion. Data conversion means for converting the second format automatic performance data in which channel information is organized for each tone format of the second format, and automatic performance after conversion of the second format data string converted by the data conversion means. And output means for outputting as data.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】第1の形式の自動演奏データにおいては1
つのチャンネル情報で足りるが、第2の形式の自動演奏
データにおいては複数のチャンネル情報が必要になる場
合がある。その場合は、第1の形式の自動演奏データに
おける1つのチャンネル情報を複数のチャンネル情報に
分割し、第2の形式の自動演奏データを生成する。複数
のチャンネル情報に分割することにより、第2の形式の
自動演奏データにおいても適正な自動演奏が可能にな
る。
1 in the automatic play data of the first format
One channel information is sufficient, but a plurality of channel information may be required in the second type automatic performance data. In that case, one channel information in the automatic performance data of the first format is divided into a plurality of channel information to generate the automatic performance data of the second format. By dividing into a plurality of channel information, it is possible to perform proper automatic performance even in the automatic performance data of the second format.

【0015】[0015]

【0016】[0016]

【0017】 本発明のさらに他の観点によれば、1つ
の音色セットに複数の音色を含む音色情報を有する第1
の形式の自動演奏データを前記複数種類の音色が複数の
音色セットに含まれる音色情報を有する第2の形式の自
動演奏データに変換する自動演奏データ変換方法は、
(a)第1の形式の自動演奏データを入力する入力工程
と、(b)前記入力工程により入力される第1の形式の
自動演奏データに含まれる音色情報を第2の形式の音色
情報に変換するとともに、変換後の第2の形式の音色セ
ットごとにチャンネル情報を編成した第2の形式の自動
演奏データに変換するデータ変換工程と、(c)前記デ
ータ変換工程により変換された第2の形式のデータ列を
変換後の自動演奏データとして出力する出力工程とを有
する。
According to still another aspect of the present invention, a first tone color set has tone color information including a plurality of tone colors.
An automatic performance data conversion method for converting the automatic performance data in the form of into a second format automatic performance data having tone color information in which the plurality of types of tone colors are included in a plurality of tone color sets,
(A) an input step of inputting the first-format automatic performance data; and (b) converting the tone color information contained in the first-format automatic performance data into the second-format tone color information. A data conversion step of converting and converting into second format automatic performance data in which channel information is organized for each tone format set of the second format after conversion; and (c) a second data converted by the data conversion step. And an output step of outputting a data string of the format as converted automatic performance data.

【0018】[0018]

【0019】[0019]

【0020】 本発明のさらに他の観点によれば、1つ
の音色セットに複数の音色を含む音色情報を有する第1
の形式の自動演奏データを前記複数種類の音色が複数の
音色セットに含まれる音色情報を有する第2の形式の自
動演奏データに変換する自動演奏データ変換プログラム
をコンピュータに実行させるためのプログラムを記録し
たコンピュータ読み取り可能な記録媒体は、(a)第1
の形式の自動演奏データを入力する入力手順と、(b)
前記入力手順により入力される第1の形式の自動演奏デ
ータに含まれる音色情報を第2の形式の音色情報に変換
するとともに、変換後の第2の形式の音色セットごとに
チャンネル情報を編成した第2の形式の自動演奏データ
に変換するデータ変換手順と、(c)前記データ変換手
順により変換された第2の形式のデータ列を変換後の自
動演奏データとして出力する出力手順とを含む。
According to still another aspect of the present invention, a first tone color set has tone color information including a plurality of tone colors.
A program for causing a computer to execute an automatic performance data conversion program for converting the automatic performance data of the second format into the second format of the automatic performance data having the tone color information in which the plurality of types of tone colors are included in the plurality of tone color sets. The computer-readable recording medium according to claim 1,
Input procedure for inputting automatic performance data in the form of (b)
The tone color information included in the first-format automatic performance data input by the input procedure is converted into the second-type tone color information, and the channel information is organized for each converted second-type tone color set. It includes a data conversion procedure for converting into automatic performance data in the second format, and (c) an output procedure for outputting the data string in the second format converted by the data conversion procedure as converted automatic performance data.

【0021】[0021]

【発明の実施の形態】図1は、本発明の実施例による自
動演奏データ変換システムの全体構成を示す概念図であ
る。
1 is a conceptual diagram showing the overall configuration of an automatic performance data conversion system according to an embodiment of the present invention.

【0022】第1の形式の自動演奏データ2は、コンピ
ュータ3を介して、第2の形式の自動演奏データ6に変
換される。コンピュータ3は、変換ルールを記憶する変
換ルールファイル4と変換処理部5を有する。変換処理
部5は、変換ルールファイル4に記憶されている変換ル
ールに従い、自動演奏データ2を自動演奏データ6に変
換する。なお、コンピュータ3は、パーソナルコンピュ
ータ等の汎用コンピュータの他、専用変換装置であって
もよい。
The automatic performance data 2 of the first format is converted into the automatic performance data 6 of the second format via the computer 3. The computer 3 has a conversion rule file 4 storing conversion rules and a conversion processing unit 5. The conversion processing unit 5 converts the automatic performance data 2 into the automatic performance data 6 according to the conversion rules stored in the conversion rule file 4. The computer 3 may be a general-purpose computer such as a personal computer or a dedicated conversion device.

【0023】第1の形式の自動演奏データ2は、第1の
形式用の電子楽器1において再生(演奏)が可能であ
り、第2の形式の自動演奏データ6は第2の形式用の電
子楽器7において再生(演奏)が可能である。
The automatic musical performance data 2 of the first format can be reproduced (played) by the electronic musical instrument 1 of the first format, and the automatic musical performance data 6 of the second format can be reproduced by the electronic musical instrument of the second format. The musical instrument 7 can be reproduced (played).

【0024】第1の形式の自動演奏データ2は、第1の
形式用の電子楽器1においては正しく再生(演奏)でき
るが、第2の形式用の電子楽器7においては正しく再生
(演奏)できない。一方、第2の形式の自動演奏データ
6は、第2の形式用の電子楽器7においては正しく再生
(演奏)できるが、第1の形式用の電子楽器1において
正しく再生(演奏)できない。
The automatic performance data 2 of the first format can be correctly reproduced (played) on the electronic musical instrument 1 for the first format, but cannot be correctly reproduced (played) on the electronic musical instrument 7 of the second format. . On the other hand, the second-format automatic musical performance data 6 can be correctly played (played) on the second-format electronic musical instrument 7, but cannot be correctly played (played) on the first-format electronic musical instrument 1.

【0025】電子楽器1と7は、それぞれフロッピディ
スクドライブ(FDD)を備えており、当該FDDに抜
き差し可能なフロッピに自動演奏データ2または6を記
憶させることができる。例えば、電子楽器1において使
用していた自動演奏データ2を第1のフロッピに記憶さ
せ、当該第1のフロッピをコンピュータ3に挿入する。
コンピュータ3は、第1のフロッピに記憶されている自
動演奏データ2を読み出し、自動演奏データ6を第2の
フロッピに書き込む。自動演奏データ6が書き込まれた
第2のフロッピを電子楽器7に挿入すれば、電子楽器7
において正しい演奏を行うことができる。
Each of the electronic musical instruments 1 and 7 has a floppy disk drive (FDD), and the automatic performance data 2 or 6 can be stored in a floppy that can be inserted into and removed from the FDD. For example, the automatic performance data 2 used in the electronic musical instrument 1 is stored in the first floppy, and the first floppy is inserted into the computer 3.
The computer 3 reads the automatic performance data 2 stored in the first floppy and writes the automatic performance data 6 in the second floppy. If the second floppy in which the automatic performance data 6 is written is inserted into the electronic musical instrument 7, the electronic musical instrument 7
You can perform the correct performance in.

【0026】図2は、図1に示す変換ルールファイル4
の内容を示す図である。変換ルールファイル4は、ヘッ
ダ4aと変換ルール4bと変換テーブル4cを有する。
ヘッダ4aには、変換元の形式名と変換先の形式名、フ
ァイルの名称、ファイル作成日等の変換に必要なファイ
ルの情報が記載される。
FIG. 2 shows the conversion rule file 4 shown in FIG.
It is a figure which shows the content of. The conversion rule file 4 has a header 4a, a conversion rule 4b, and a conversion table 4c.
The header 4a describes the file name necessary for conversion such as the conversion source format name, the conversion destination format name, the file name, and the file creation date.

【0027】変換テーブル4cは、メロディ音色(リズ
ム音色を除く)の音色番号を変換するためのメロディ音
色変換テーブル4d、リズム音色(メロディ音色を除
く)の音色番号を変換するためのリズム音色変換テーブ
ル4e、音色別にベロシティデータ(イニシャルタッ
チ)を変換するためのベロシティ変換テーブル4f、音
色別にボリューム(音量)を変換するためのボリューム
変換テーブル4g、およびその他の変換を行うためのそ
の他変換テーブル4hを有する。
The conversion table 4c is a melody tone color conversion table 4d for converting tone color numbers of melody tone colors (excluding rhythm tone color) and a rhythm tone color conversion table for converting tone color numbers of rhythm tone colors (excluding melody tone color). 4e, a velocity conversion table 4f for converting velocity data (initial touch) for each timbre, a volume conversion table 4g for converting a volume (volume) for each timbre, and another conversion table 4h for performing other conversions. .

【0028】変換テーブル4cは、データ値の変換を行
う。データの形式(表記方法)の変換を行うものについ
ては、後に説明する変換ルール4bにより変換を行う。
データの値だけを変換するのであれば、変換テーブル4
cを用いて容易に変換することができる。例えば、プロ
グラムチェンジ(音色番号)やノートオンイベント中の
ベロシティ(イニシャルタッチ)は変換テーブル4cで
変換を行うことができる。
The conversion table 4c converts data values. For conversion of data format (notation method), conversion is performed according to conversion rule 4b described later.
If only data values are converted, conversion table 4
It can be easily converted using c. For example, a program change (tone color number) or velocity (initial touch) during a note-on event can be converted by the conversion table 4c.

【0029】変換テーブル4cは、基本的な変換を行う
部分であり、多くの場合に必ず行わなければならない変
換である。したがって、メーカが予め変換テーブル4c
を作成することができる。その場合、ユーザは、自己の
好みにより、メーカが作成した変換テーブル4cを編集
し変更することもできる。もちろん、ユーザが新たに変
換テーブルを作成することもできる。
The conversion table 4c is a part that performs basic conversion, and is a conversion that must be performed in many cases. Therefore, the maker has previously prepared the conversion table 4c.
Can be created. In that case, the user can edit and change the conversion table 4c created by the manufacturer according to his / her preference. Of course, the user can also create a new conversion table.

【0030】変換ルール4bは、テキスト形式の簡易言
語で記載することができ、変換テーブル4cでは変換が
困難な高度な変換を行うためのものである。例えば、デ
ータの形式(記載方法)が異なるものの変換を行う。
The conversion rule 4b can be described in a simple language in a text format, and is for performing advanced conversion which is difficult to convert with the conversion table 4c. For example, conversion is performed for data with different data formats (description methods).

【0031】変換ルール4bは、例えば効果付与データ
の変換を行う。効果には、例えばリバーブ(残響)、フ
ェイザー(位相変調)、ビブラート、ピッチチェンジ等
がある。これらの効果は、音源等の機種により、対応可
能な効果の数(リバーブやフェイザー等)、または効果
のパラメータ(リバーブの場合は残響の深さ、ビブラー
トの場合は振幅と速さ)等が異なる。
The conversion rule 4b converts, for example, effect imparting data. The effects include, for example, reverb (reverberation), phaser (phase modulation), vibrato, pitch change, and the like. These effects differ in the number of effects that can be supported (reverb, phaser, etc.) or effect parameters (depth of reverberation in the case of reverb, amplitude and speed in the case of vibrato), etc., depending on the model of the sound source. .

【0032】効果付与装置は、規格毎に独自の拡張をし
た機能を持つことが多い。それに対応し、自動演奏デー
タにおいても、効果に関するデータについては、規格毎
にコード(データ)体系が異なっている。
The effect imparting device often has a uniquely expanded function for each standard. Correspondingly, even in the automatic performance data, the code (data) system of the data regarding the effect is different for each standard.

【0033】コード体系が異なる場合には、上記の変換
テーブル4cにより変換を行うことが困難であるので、
変換ルール4bにより変換を行う。変換ルール4bは、
コード体系が異なる場合のように複雑な変換を行うこと
ができる。メーカまたはユーザは、簡易言語により変換
ルール4bを記述することができる。以下に、変換ルー
ル4bのフォーマット例を示す。
If the code systems are different, it is difficult to perform conversion using the conversion table 4c described above.
Conversion is performed according to the conversion rule 4b. The conversion rule 4b is
Complex conversions can be performed, such as when the code systems are different. The maker or the user can describe the conversion rule 4b in a simple language. The format example of the conversion rule 4b is shown below.

【0034】 Data? = length1, data1..., type, length2, data2...<,length3, data3...> ・・・(1) ここで、? は変換ルールの番号、length1, length2, le
ngth3 はそれぞれdata1..., data2..., data3...のデー
タ列の長さである。typeは、変換の種類を示す。typeの
詳細は後に示す。< >内は、省略が可能なフォーマット
であることを示す。
Data? = Length1, data1 ..., type, length2, data2 ... <, length3, data3 ...> (1) where? Is the conversion rule number, length1, length2, le
ngth3 is the length of the data string of data1 ..., data2 ..., data3 ..., respectively. type indicates the type of conversion. Details of type will be shown later. <> Indicates that the format can be omitted.

【0035】上記の式(1)は、データ列data1...をda
ta2...に変換するためのルールである。自動演奏データ
中にdata1...の列があれば、それをdata2...の列に置き
換える。
In the above equation (1), the data string data1 ... is da
It is a rule for converting to ta2 ... If there is a data1 ... column in the automatic performance data, replace it with a data2 ... column.

【0036】typeが0であれば、無条件にdata1...から
data2...への変換を行う。typeが1の場合、基本的にda
ta1...からdata2...への変換を行う。ただし、data1...
からdata2...への変換を正常に行うことができなけれ
ば、data1...からdata3...への変換を行う。データ列da
ta3...は、例えばエラーコードである。
If type is 0, unconditionally from data1 ...
Convert to data2 ... When type is 1, basically da
Convert ta1 ... to data2 ... However, data1 ...
If the conversion from data1 to data2 ... cannot be performed normally, the conversion from data1 ... to data3 ... is performed. Data string da
ta3 ... is an error code, for example.

【0037】次に、効果データについての変換を行うた
めの変換ルールの具体例を示す。第1の形式(形式1)
および第2の形式(形式2)の2種類の自動演奏データ
があるとする。各形式のデータ列は、以下の通りであ
る。なお、以下の形式は、現実の電子楽器において用い
られているものではなく、仮想のものである。
Next, a specific example of a conversion rule for converting effect data will be shown. First form (form 1)
And there are two types of automatic performance data of the second format (format 2). The data string of each format is as follows. It should be noted that the following format is not used in a real electronic musical instrument, but is a virtual one.

【0038】 形式1: aa, CH, bb, Eff-type, Param-byte, Param... 形式2: cc, CH, Eff-type(MSB), Eff-type(LSB), Param-byte, Param... ・・・(2) ここで、CHは効果を付与するチャンネル番号、Eff-type
は効果のタイプ、Param は効果毎に指定されるパラメー
タ(可変長)、Param-byteは可変長パラメータのバイト
数、aa, bb, ccは定数である。
Format 1: aa, CH, bb, Eff-type, Param-byte, Param ... Format 2: cc, CH, Eff-type (MSB), Eff-type (LSB), Param-byte, Param ... (2) where CH is the channel number to which the effect is added, Eff-type
Is the type of effect, Param is a parameter (variable length) specified for each effect, Param-byte is the number of bytes of the variable length parameter, and aa, bb, cc are constants.

【0039】形式1の自動演奏データから、形式2の自
動演奏データへの変換を行うには、上記の式(1)のフ
ォーマットに従い、以下のような変換ルールをテキスト
形式で変換ルールファイルに記述すればよい。REG1, RE
G2はレジスタである。データが変数であるときには、レ
ジスタを用いることができる。同一レジスタは、同じ変
数を示す。
In order to convert the automatic performance data of format 1 into the automatic performance data of format 2, the following conversion rule is described in the conversion rule file in text format in accordance with the format of the above expression (1). do it. REG1, RE
G2 is a register. Registers can be used when the data is a variable. The same register shows the same variable.

【0040】 Data1 = 6, aa, REG1, bb, 1, 1, REG2, 0, 6, cc, REG1, 0, 1, 1, REG2:Rev Tbl ・・・(3) 形式1のデータ列data1...は、" aa, REG1(=CH), bb, 1
(=Eff-type), 1(=Param-byte), REG2(=Param) " であ
り、データ列data1...の長さlength1 は6バイトであ
る。
Data1 = 6, aa, REG1, bb, 1, 1, REG2, 0, 6, cc, REG1, 0, 1, 1, REG2: Rev Tbl (3) Data string of format 1 data1. .. is "aa, REG1 (= CH), bb, 1
(= Eff-type), 1 (= Param-byte), REG2 (= Param) ", and the length length1 of the data string data1 ... is 6 bytes.

【0041】形式2のデータ列data2...は、" cc, REG1
(=CH), 0(=Eff-type(MSB)), 1(=Eff-type(LSB)), 1(=Pa
ram-byte), REG2:RevTbl(=Param) "であり、データ列da
ta2...の長さlength2 は6バイトである。
The data string data2 ... of format 2 is "cc, REG1
(= CH), 0 (= Eff-type (MSB)), 1 (= Eff-type (LSB)), 1 (= Pa
ram-byte), REG2: RevTbl (= Param) ", and the data string da
The length length2 of ta2 ... is 6 bytes.

【0042】式(3)は、効果のタイプとしてリバーブ
が指定された場合の変換ルールを示す。リバーブは、形
式1ではEff-type=1で表し、形式2ではEff-type(MSB)=
0, Eff-type(LSB)=1で表す。
Expression (3) shows the conversion rule when reverb is specified as the effect type. Reverb is expressed as Eff-type = 1 in format 1 and Eff-type (MSB) = in format 2.
Expressed as 0, Eff-type (LSB) = 1.

【0043】リバーブのパラメータParam...は、それぞ
れの値について変換ルールを作成することは効率的では
ないので、Param...を変数としてレジスタREG2を用いて
変換を行う。パラメータParam...は、ほとんどの場合、
数値を変換することで対応できる。ここでは、形式1の
パラメータ(例えばリバーブレベル)を、変換テーブル
RevTblによって、形式2のパラメータに変換している。
REG2:RevTbl の表記は、REG2の値をインデックスとして
RevTblテーブルを参照することを意味する。
Since it is not efficient to create a conversion rule for each value of the reverb parameter Param ..., conversion is performed using the register REG2 with Param ... as a variable. In most cases the parameters Param ...
It can be handled by converting the numerical value. Here, the format 1 parameters (for example, reverb level) are converted into the conversion table.
Converted to format 2 parameters by RevTbl.
The notation of REG2: RevTbl uses the value of REG2 as an index.
Refers to the RevTbl table.

【0044】式(3)では、type=0としている。これ
は、形式1から形式2へ無条件に変換することを意味す
る。
In equation (3), type = 0. This means unconditionally converting from format 1 to format 2.

【0045】なお、type=1とすれば、形式1のデータ列
data1 から形式2のデータ列data2への変換が正常に行
うことができない場合、形式1のデータ列data1 から別
のデータ列data3 に変換することができる。
If type = 1, the data string of format 1
When the conversion from data1 to the data string data2 of format 2 cannot be performed normally, the data string data1 of format 1 can be converted to another data string data3.

【0046】例えば、両者の自動演奏データ間において
論理的に扱えるパート数が異なる場合がある。両者のパ
ート数が同じであれば、変換は問題なく行うことができ
る。しかし、パート数が異なる場合には、一部において
割り当てることができないパートが生じる。その場合、
割り当てられなかったパートについては、その箇所を特
定することができるように、演奏に影響のない特殊デー
タ(エラーコード)を埋め込むように変換することがで
きる。ユーザは、コンピュータまたはシーケンサを用い
て、特殊データを検索することにより、その箇所を見つ
け出し、編集することができる。
For example, the number of parts that can be logically handled may differ between the two automatic performance data. If both parts have the same number of parts, conversion can be performed without problems. However, when the number of parts is different, some parts cannot be assigned. In that case,
The parts that have not been assigned can be converted to embed special data (error code) that does not affect the performance so that the location can be specified. The user can find and edit the location by searching the special data using a computer or a sequencer.

【0047】以上のように、テキスト形式の簡易言語で
変換ルール4bを記述することにより、変換テーブル4
cだけでは変換することが困難または不可能なデータ列
についても、変換することができる。変換テーブル4c
および変換ルール4bを作成することにより、複雑な変
換が可能になる。
As described above, by writing the conversion rule 4b in a simple language in the text format, the conversion table 4
A data string that is difficult or impossible to convert only by c can be converted. Conversion table 4c
By creating the conversion rule 4b and the conversion rule 4b, complicated conversion can be performed.

【0048】例えば、音色番号の変換を行うには、コー
ド体系を変えずに数値を変換するのみであるので、変換
テーブル4cを用いて変換を行うことができる。一方、
効果データ等の変換を行うには、コード体系の変換を必
要とするため、変換ルール4bを用いて変換を行う。効
果データ等は、変換が複雑であり、変換テーブル4cだ
けでは変換することができない。変換ルール4bを使え
ば、効果データ等についても変換を行うことができる。
For example, in order to convert the tone color number, since only the numerical value is converted without changing the code system, the conversion can be performed using the conversion table 4c. on the other hand,
Since conversion of effect data and the like requires conversion of the code system, conversion is performed using the conversion rule 4b. The conversion of effect data and the like is complicated and cannot be converted only by the conversion table 4c. If the conversion rule 4b is used, it is possible to convert effect data and the like.

【0049】また、変換ルール4bでは、レジスタREG
1, REG2またはテーブルRevTblを用いることにより、効
率的に変換ルールを記述することができる。
In the conversion rule 4b, the register REG
By using 1, REG2 or table RevTbl, conversion rules can be efficiently described.

【0050】図3は、本実施例による自動演奏データ変
換システムを実現するためのハードウエアの構成を示す
図である。
FIG. 3 is a diagram showing a hardware configuration for realizing the automatic performance data conversion system according to this embodiment.

【0051】バス16には、CPU11、ROM12、
RAM13、フロッピディスクドライブ(FDD)1
4、ハードディスクドライブ(HDD)15、操作子1
7、および表示器18が接続される。
The bus 16, CPU 11, ROM 12,
RAM13, floppy disk drive (FDD) 1
4, hard disk drive (HDD) 15, operator 1
7 and the display 18 are connected.

【0052】フロッピディスクドライブ14またはハー
ドディスクドライブ15は、変換元の自動演奏データと
変換後の自動演奏データを記憶する。両者の自動演奏デ
ータがフロッピに記憶されている場合は、図1に示す電
子楽器1と7において使用することもできる。
The floppy disk drive 14 or the hard disk drive 15 stores the conversion source automatic performance data and the converted automatic performance data. If both automatic performance data are stored in the floppy, they can be used in the electronic musical instruments 1 and 7 shown in FIG.

【0053】表示器18には、フロッピディスクドライ
ブ14またはハードディスクドライブ15に記憶されて
いる自動演奏データのファイルを一覧表として表示する
ことができる。ユーザは、ファイルの一覧表の中から、
操作子17を用いてデータ変換を行いたいファイルを選
択することができる。そして、当該ファイルを変換した
い変換後の自動演奏データの形式(規格)を操作子17
を用いて選択または入力することができる。
The display 18 can display a file of the automatic performance data stored in the floppy disk drive 14 or the hard disk drive 15 as a list. The user can select from the list of files
A file for which data conversion is desired can be selected using the manipulator 17. Then, the operator 17 sets the format (standard) of the converted automatic performance data to be converted.
Can be used to select or enter.

【0054】ROM12は、コンピュータプログラムお
よび各種パラメータを記憶している。CPU11は、R
OM12に記憶されているコンピュータプログラムに従
い、フロッピディスクドライブ14等の制御またはデー
タ変換等の処理を行う。RAM13は、レジスタ、フラ
グ、バッファを含むCPU11のワーキングエリアを有
する。
The ROM 12 stores computer programs and various parameters. CPU11 is R
According to the computer program stored in the OM 12, processing such as control of the floppy disk drive 14 or data conversion is performed. The RAM 13 has a working area for the CPU 11 including registers, flags, and buffers.

【0055】変換ルールファイル4は、フロッピディス
クドライブ14、ハードディスクドライブ15、ROM
12、またはRAM13に記憶される。データ変換処理
を高速に行うためには、変換ルールファイル4をRAM
13またはROM12に記憶することが好ましい。ただ
し、変換ルールの書き換えを行う場合は、RAM13に
変換ルールを記憶することが好ましい。
The conversion rule file 4 includes a floppy disk drive 14, a hard disk drive 15, and a ROM.
12 or stored in the RAM 13. In order to perform data conversion processing at high speed, the conversion rule file 4 is
13 or ROM 12 is preferably stored. However, when rewriting the conversion rule, it is preferable to store the conversion rule in the RAM 13.

【0056】変換ルールを長期保存するには、フロッピ
ディスクドライブ14またはハードディスクドライブ1
5に変換ルールを記憶し、データ変換時だけRAM13
にデータ転送をすればよい。
To store the conversion rules for a long time, the floppy disk drive 14 or the hard disk drive 1
The conversion rule is stored in 5, and RAM 13 is used only when converting data.
You can transfer the data to.

【0057】HDD15は動作プログラムや自動演奏デ
ータ、変換ルールファイル等の各種データを記憶してお
く記憶装置である。ROM12に動作プログラムが記憶
されていない場合、このHDD15内のハードディスク
に動作プログラムを記憶させておき、それをRAM13
に読み込むことにより、ROM12に動作プログラムを
記憶している場合と同様の動作をCPU11にさせるこ
とができる。このようにすると、動作プログラムの追加
やバージョンアップ等が容易に行える。CD−ROM
(コンパクトディスク−リード・オンリィ・メモリ)ド
ライブ21は、CD−ROM32に記憶されている動作
プログラムや各種データを読み出す装置である。読み出
した動作プログラムや各種データは、HDD15内のハ
ードディスクにストアされる。動作プログラムの新規イ
ンストールやバージョンアップ等が容易に行える。な
お、このCD−ROMドライブ21以外にも、外部記憶
装置として、光磁気ディスク(MO)装置等、様々な形
態のメディアを利用するための装置を設けるようにして
もよい。
The HDD 15 is a storage device for storing various data such as operation programs, automatic performance data, and conversion rule files. If the operation program is not stored in the ROM 12, the operation program is stored in the hard disk in the HDD 15, and the operation program is stored in the RAM 13
The CPU 11 can be caused to perform an operation similar to that when the operation program is stored in the ROM 12 by reading it into the CPU 11. By doing so, it is possible to easily add an operation program or upgrade the version. CD-ROM
The (compact disc-read only memory) drive 21 is a device for reading out an operation program and various data stored in the CD-ROM 32. The read operation program and various data are stored in the hard disk in the HDD 15. New installation and version upgrade of the operating program can be done easily. In addition to the CD-ROM drive 21, a device for using various types of media such as a magneto-optical disk (MO) device may be provided as an external storage device.

【0058】通信インターフェース22はLAN(ロー
カルエリアネットワーク)やインターネット、電話回路
等の通信ネットワーク41に接続されており、該通信ネ
ットワーク41を介して、サーバコンピュータ31と接
続される。HDD15内に上記動作プログラムや各種デ
ータが記憶されていない場合、サーバコンピュータ31
からプログラムやデータをダウンロードするために用い
られる。クライアントとなる本自動演奏データ変換シス
テムは、通信インターフェース22及び通信ネットワー
ク41を介してサーバコンピュータ31へと動作プログ
ラムやデータのダウンロードを要求するコマンドを通信
する。サーバコンピュータ31は、このコマンドを受
け、要求された動作プログラムやデータを、通信ネット
ワーク41を介して本自動演奏データ変換システムへと
配信し、自動演奏データ変換システムが通信インターフ
ェース22を介して、これらプログラムやデータを受信
してHDD15に蓄積することにより、ダウンロードが
完了する。
The communication interface 22 is connected to a communication network 41 such as a LAN (local area network), the Internet or a telephone circuit, and is connected to the server computer 31 via the communication network 41. If the operation program and various data are not stored in the HDD 15, the server computer 31
Used to download programs and data from. The automatic performance data conversion system, which is a client, communicates a command requesting a download of an operation program and data to the server computer 31 via the communication interface 22 and the communication network 41. Upon receiving this command, the server computer 31 distributes the requested operation program and data to the automatic performance data conversion system via the communication network 41, and the automatic performance data conversion system sends these to the automatic performance data conversion system via the communication interface 22. The download is completed by receiving the programs and data and storing them in the HDD 15.

【0059】なお、本実施例は、本実施例に対応する動
作プログラムや各種データをインストールした市販のパ
ーソナルコンピュータ等によって、実施させるようにし
てもよい。その場合には、本実施例に対応する動作プロ
グラムや各種データを、CD−ROMやフロッピディス
ク等の、パーソナルコンピュータが読み込むことができ
る記憶媒体に記憶させた状態で、ユーザーに提供しても
よい。そのパーソナルコンピュータ等が、LAN、イン
ターネット、電話回線等の通信ネットワークに接続され
ている場合には、通信ネットワークを介して、動作プロ
グラムや各種データ等をパーソナルコンピュータ等に提
供してもよい。
The present embodiment may be carried out by a commercially available personal computer or the like in which an operation program corresponding to the present embodiment and various data are installed. In that case, the operation program and various data corresponding to the present embodiment may be provided to the user while being stored in a storage medium readable by a personal computer such as a CD-ROM or a floppy disk. . When the personal computer or the like is connected to a communication network such as a LAN, the Internet, or a telephone line, the operation program and various data may be provided to the personal computer or the like via the communication network.

【0060】図4は、図3に示したCPU11が行う処
理のメインルーチンのフローチャートである。
FIG. 4 is a flowchart of the main routine of the processing performed by the CPU 11 shown in FIG.

【0061】ステップS1では、レジスタ、フラグおよ
びバッファ等の初期化を行う。例えば、音色バンク番号
を0に初期設定する。通常、音色指定は、バンク番号
(バンクセレクト)とプログラム番号(プログラムチェ
ンジ)との組合せにより指定する。しかし、バンク番号
なしでプログラムチェンジだけで音色指定がされた場合
は、バンク番号が0であるとみなす。バンク番号0は、
スタンダードなメロディ音色を示すバンクである。
In step S1, the registers, flags, buffers, etc. are initialized. For example, the tone bank number is initially set to 0. Normally, a tone color is designated by a combination of a bank number (bank select) and a program number (program change). However, if the tone color is specified only by the program change without the bank number, it is considered that the bank number is 0. Bank number 0 is
This is a bank showing standard melody tones.

【0062】ステップS2は、変換元の自動演奏データ
ファイル(以下、変換元ファイルと呼ぶ)を指定する。
表示器には、フロッピディスクドライブまたはハードデ
ィスクドライブに記憶されている自動演奏データファイ
ルの全ファイルが表示される。ユーザは、その中から変
換を行いたいファイルを操作子により選択する。
In step S2, a conversion source automatic performance data file (hereinafter referred to as a conversion source file) is designated.
All the automatic performance data files stored in the floppy disk drive or hard disk drive are displayed on the display. The user selects a file to be converted from among the files by the operator.

【0063】ステップS3では、変換後の自動演奏デー
タの形式を指定する。形式は、例えばGS規格やXG規
格である。表示器に全ての形式を表示し、その中からユ
ーザが操作子により選択することができる。また、ユー
ザが操作子により形式名を入力してもよい。
In step S3, the format of the converted automatic performance data is designated. The format is, for example, GS standard or XG standard. All the formats are displayed on the display unit, and the user can select from among them by the operator. Further, the user may input the format name using the operator.

【0064】ステップS4では、変換元の自動演奏デー
タの形式を検出する。形式は、例えばXG規格またはG
S規格である。自動演奏データ中のあるイベントを読み
出し、そのイベントの形式を判別することにより自動演
奏データの形式を検出することができる。
In step S4, the format of the conversion source automatic performance data is detected. The format is, for example, XG standard or G
S standard. The format of the automatic performance data can be detected by reading a certain event in the automatic performance data and discriminating the format of the event.

【0065】例えば、XG規格の自動演奏データの先頭
には、XG規格用のリセット信号が含まれており、GS
規格の自動演奏データの先頭には、GS規格用のリセッ
ト信号が含まれている。そのリセット信号を判別するこ
とにより、自動演奏データの形式がXG規格であるのか
GS規格であるのかを識別することができる。
For example, at the beginning of the XG standard automatic performance data, a reset signal for the XG standard is included.
A reset signal for the GS standard is included at the beginning of the standard automatic performance data. By discriminating the reset signal, it is possible to discriminate whether the format of the automatic performance data is the XG standard or the GS standard.

【0066】ステップS5では、前ステップで変換後の
形式のイベントが検出されたか否かをチェックする。前
ステップでは変換元の形式を検出している。変換元の形
式が、ユーザが指定した変換後の形式と同じであれば、
変換を行う必要はなく、又、無理に変換を行った場合、
異常なデータを生成してしまう可能性がある。
In step S5, it is checked whether or not an event in the format converted in the previous step is detected. In the previous step, the conversion source format is detected. If the format of the conversion source is the same as the converted format specified by the user,
If you do not need to convert, or if you force conversion,
It may generate abnormal data.

【0067】変換元の形式が変換後の形式と同じであれ
ば、ステップS11へ進み、変換が行われなかった旨を
表示器に表示し、ユーザ(利用者)に知らせる。その
後、メインルーチンの処理を終了する。
If the format of the conversion source is the same as the format after the conversion, the process proceeds to step S11, and the fact that the conversion has not been performed is displayed on the display to inform the user (user). Then, the processing of the main routine ends.

【0068】一方、変換元の形式が変換後の形式と異な
れば、データ変換を行うため、ステップS6へ進む。
On the other hand, if the format of the conversion source is different from the format after the conversion, the data conversion is performed, and thus the process proceeds to step S6.

【0069】ステップS6では、チャンネル情報テーブ
ルを作成する。具体的には、変換元ファイルから自動演
奏データを読み出し、使用しているチャンネル番号を調
べる。そして、チャンネル情報テーブルに、変換元の自
動演奏データにおいて使用しているチャンネル番号を記
録する。
In step S6, a channel information table is created. Specifically, the automatic performance data is read from the conversion source file and the channel number used is checked. Then, the channel number used in the conversion source automatic performance data is recorded in the channel information table.

【0070】ステップS7では、変換後のデータを記録
するファイル(以下、変換後ファイルと呼ぶ)を新規作
成する。ここでは、変換後ファイルにヘッダ部分のみが
書き込まれる。自動演奏データについては、後の処理に
より当該ファイルに書き込まれる。
In step S7, a file for recording the converted data (hereinafter referred to as a converted file) is newly created. Here, only the header portion is written in the converted file. The automatic performance data is written in the file by the subsequent processing.

【0071】ステップS8では、変換元ファイルよりイ
ベントを読み出す(取り出す)。ステップS9では、読
み出したイベントのデータ変換処理を行う。変換元の形
式のイベントは、変換後の形式のイベントに変換され、
変換後ファイルに書き込まれる。この処理の詳細は、後
に図5および図6のフローチャートを参照しながら説明
する。
In step S8, an event is read (retrieved) from the conversion source file. In step S9, data conversion processing of the read event is performed. Events in the source format are converted to events in the converted format,
Written to file after conversion. Details of this processing will be described later with reference to the flowcharts of FIGS. 5 and 6.

【0072】ステップS10では、変換元の自動演奏デ
ータの全イベントについて変換が終了したか否かをチェ
ックする。全イベントについて終了していないときに
は、ステップS8へ戻り、次のイベントについての処理
を繰り返す。
In step S10, it is checked whether or not the conversion is completed for all the events of the automatic performance data of the conversion source. If not completed for all events, the process returns to step S8 and the process for the next event is repeated.

【0073】全イベントについて終了したときには、メ
インルーチンの処理を終了する。変換元の自動演奏デー
タは、全て変換後の自動演奏データに変換される。
When all the events are completed, the processing of the main routine is completed. All the conversion-source automatic performance data are converted into the converted automatic performance data.

【0074】図5および図6は、図4に示すステップS
9のイベント変換処理の詳細を示すフローチャートであ
る。
5 and 6 show the step S shown in FIG.
It is a flowchart which shows the detail of the event conversion process of 9.

【0075】自動演奏データにおいて、音色は、大きく
分けて、以下の2種類がある。 〔1〕メロディ音色 〔2〕ドラム音色 また、上記の音色についてのイベントは、通常、それぞ
れ以下の順番で並ぶ。
In the automatic performance data, the tone colors are roughly classified into the following two types. [1] Melody tone [2] Drum tone Also, the events for the above tone are usually arranged in the following order.

【0076】(1)バンクセレクト (2)プログラムチェンジ (3)ノートイベント また、それ以外の情報(例えば効果)も必要に応じ、存
在する。
(1) Bank select (2) Program change (3) Note event In addition, other information (for example, effect) exists as necessary.

【0077】まず、最初にメロディ音色の場合の処理を
説明し、その次にドラム音色の処理を説明する。
First, the processing for a melody tone color will be described, and then the processing for a drum tone color will be described.

【0078】〔1〕メロディ音色 (1)バンクセレクト バンクセレクトのイベントが変換元ファイルから読み出
された場合を説明する。読み出されたイベントがバンク
セレクトの場合は、ステップS21、S41、S61を
介して、ステップS62へ進む。
[1] Melody Tone (1) Bank Select A case where a bank select event is read from the conversion source file will be described. When the read event is bank select, the process proceeds to step S62 via steps S21, S41 and S61.

【0079】ステップS62では、バンクセレクトによ
って指定されるバンク番号を記憶する。バンク番号は、
内部レジスタに記憶されるだけであり、変換後ファイル
には記録されない。その後、メインルーチンの処理(図
4)へ戻る。
In step S62, the bank number designated by the bank select is stored. Bank number is
It is only stored in the internal register, not recorded in the converted file. Then, the process returns to the main routine process (FIG. 4).

【0080】音色番号は、バンク番号(バンクセレク
ト)とプログラム番号(プログラムチェンジ)の組み合
わせにより指定される。プログラム番号は0から127
までであり、128種類の音色に相当する。バンク番号
を変えれば、異なるプログラム番号の音色(128音
色)が存在する。つまり、バンク数×128の音色が存
在する。バンク番号は、MSB(最上位バイト)とLS
B(最下位バイト)の2バイトにより指定される。
The tone color number is designated by a combination of a bank number (bank select) and a program number (program change). Program numbers are 0 to 127
Up to 128 kinds of tones. If the bank number is changed, there are tones (128 tones) having different program numbers. That is, there are 128 banks of tone colors. Bank numbers are MSB (most significant byte) and LS
It is specified by 2 bytes of B (least significant byte).

【0081】(2)プログラムチェンジ プログラムチェンジが変換元ファイルから読み出された
場合を説明する。読み出されたイベントがプログラムチ
ェンジであれば、ステップS21を介して、ステップS
22へ進む。
(2) Program Change A case where the program change is read from the conversion source file will be described. If the read event is a program change, the process proceeds to step S21 through step S21.
Proceed to 22.

【0082】ステップS22では、バンクセレクトによ
り指定されたバンク番号がドラムバンクであるかメロデ
ィバンクであるかをチェックする。ドラムバンクは、ド
ラム音色が入っているバンクであり、メロディバンクは
メロディ音色が入っているバンクである。例えば、バン
ク番号MSBが16進数表現で7Fのときドラムバンク
である。それ以外は、メロディバンクである。ただし、
ある音色が、ある形式の自動演奏データではドラムバン
クに属し、他の形式の自動演奏データではメロディバン
クに属することもある。
In step S22, it is checked whether the bank number designated by the bank select is a drum bank or a melody bank. The drum bank is a bank containing a drum tone color, and the melody bank is a bank containing a melody tone color. For example, when the bank number MSB is 7F in hexadecimal notation, it is a drum bank. Other than that, it is a melody bank. However,
A certain timbre may belong to a drum bank in automatic play data of a certain format, and may belong to a melody bank in automatic play data of another format.

【0083】ここでは、メロディ音色の場合を示す。メ
ロディ音色の場合は、バンクがドラムバンクではないの
で、ステップS23へ進む。
Here, the case of a melody tone color is shown. In the case of a melody tone, the bank is not a drum bank, so the process proceeds to step S23.

【0084】ステップS23では、記憶されているバン
ク番号(S62)と、プログラムチェンジにより指定さ
れたプログラム番号に応じて、変換後のバンク番号とプ
ログラム番号を得る。
In step S23, the converted bank number and program number are obtained according to the stored bank number (S62) and the program number designated by the program change.

【0085】具体的には、メロディ音色変換テーブル4
d(図2)を用いて、変換元のバンク番号とプログラム
番号を基に、変換後のバンク番号とプログラム番号を得
る。メロディ音色変換テーブル4dは、両者の数値(バ
ンク番号とプログラム番号)を対応付けて記憶してい
る。
Specifically, the melody tone color conversion table 4
Using d (FIG. 2), the converted bank number and program number are obtained based on the conversion source bank number and program number. The melody tone color conversion table 4d stores both numerical values (bank number and program number) in association with each other.

【0086】ステップS24では、記憶されているバン
ク番号(S62)と、指定されたプログラム番号に応じ
て、その音色に応じたベロシティテーブルを得る。ベロ
シティは、鍵盤の場合、イニシャルタッチ(押鍵速
度)、すなわち音量に相当する。ベロシティテーブル
は、タッチカーブに相当する。一般的に、押鍵速度が速
いほど大きな音が発音される。
In step S24, a velocity table corresponding to the tone color is obtained according to the stored bank number (S62) and the designated program number. In the case of a keyboard, the velocity corresponds to the initial touch (key pressing speed), that is, the volume. The velocity table corresponds to a touch curve. Generally, the faster the key pressing speed is, the louder the sound is produced.

【0087】イニシャルタッチは、鍵盤のタッチ感によ
るものであり、鍵盤(鍵盤を製造したメーカ)が異なれ
ばイニシャルタッチ(ベロシティ)も異なる。したがっ
て、自動演奏データの形式が異なれば、ベロシティも異
なる。
The initial touch is based on the touch feeling of the keyboard, and the initial touch (velocity) is different when the keyboard (the manufacturer of the keyboard) is different. Therefore, different formats of the automatic performance data have different velocities.

【0088】そこで、音色別ベロシティ変換テーブル4
f(図2)を用いて、変換元のベロシティを基に、変換
後のベロシティを得る。ベロシティ変換テーブル4f
は、音色別に両者のベロシティを対応付けて記憶してい
る。
Therefore, the velocity conversion table 4 for each tone color
Using f (FIG. 2), the velocity after conversion is obtained based on the velocity of the conversion source. Velocity conversion table 4f
Stores the velocities of both tones corresponding to each other.

【0089】ステップS25では、記憶されているバン
ク番号(S62)と、指定されたプログラム番号に応じ
て、その音色に応じたボリューム情報を得て、ボリュー
ムオフセットイベントを生成する。ボリュームは、ベロ
シティとは異なり、全体的な音量(平均的な音量レベ
ル)を示す。ボリュームオフセットイベントは、ボリュ
ームのオフセット値を設定するためのイベントである。
In step S25, volume information corresponding to the tone color is obtained in accordance with the stored bank number (S62) and the designated program number, and a volume offset event is generated. Unlike the velocity, the volume indicates the overall volume (average volume level). The volume offset event is an event for setting a volume offset value.

【0090】ボリュームは、自動演奏データの形式によ
りそれぞれの主張が出やすい。すなわち、形式により、
ボリュームが異なりやすい。例えば、ある会社の音源で
は他の音色に比べピアノが大きめのボリュームに設定さ
れている様な場合、自動演奏データもそれを考慮して作
成されている。
With respect to the volume, each assertion is likely to occur depending on the format of the automatic performance data. That is, depending on the format,
The volume is likely to be different. For example, in a sound source of a certain company, when the piano is set to have a larger volume than other tones, the automatic performance data is also created in consideration of it.

【0091】そこで、音色別ボリューム変換テーブル4
g(図2)を用いて、変換元のボリュームを基に、変換
後のボリュームを得る。ボリューム変換テーブル4g
は、音色別に両者のボリュームを対応付けて記憶してい
る。
Therefore, the tone color-specific volume conversion table 4
g (FIG. 2) is used to obtain the converted volume based on the conversion source volume. Volume conversion table 4g
Stores the volumes of both for each timbre.

【0092】なお、ベロシティとボリュームは、両方と
も音量情報であるので、両者を一体として変換を行って
もよい。ただし、上記のように、ベロシティとボリュー
ムはその性質が異なるので、分けて変換を行った方が、
変換テーブルの編集がしやすい。
Since both velocity and volume are volume information, both may be converted as a unit. However, as mentioned above, since velocity and volume have different properties, it is better to convert them separately.
Easy to edit conversion table.

【0093】ステップS26では、同一チャンネルの情
報として、バンク番号(バンクセレクト)、プログラム
番号(プログラムチェンジ)、ボリュームオフセット情
報を変換後ファイルに記録する。これにより、変換後フ
ァイルには、変換後の音色情報と音量情報が書き込まれ
たことになる。その後、メインルーチンの処理(図4)
へ戻る。
In step S26, the bank number (bank select), program number (program change), and volume offset information are recorded in the converted file as the same channel information. As a result, the converted tone color information and volume information are written in the converted file. After that, main routine processing (Figure 4)
Return to.

【0094】なお、音色は、バンク番号とプログラム番
号の組み合わせで指定されるが、バンク番号が前のもの
と変わらない場合は、プログラム番号(プログラムチェ
ンジ)だけで指定することができる。ただし、変換元の
自動演奏データにおけるあるバンク番号中の音色は、変
換後の自動演奏データにおいては2以上のバンク番号に
またがっている場合がある。その場合に対応するため、
このステップではバンク番号とプログラムチェンジの両
方を記録する。
Although the timbre is designated by a combination of the bank number and the program number, it can be designated only by the program number (program change) when the bank number is the same as the previous one. However, the tone color in a bank number in the conversion-source automatic performance data may extend over two or more bank numbers in the converted automatic performance data. In order to respond to that case,
In this step, both bank number and program change are recorded.

【0095】また、ベロシティテーブル(S24)は、
後に説明するが、ノートイベントが読み出されたとき
に、ノートイベント中のベロシティを補正する際に用い
られる(S51)。
The velocity table (S24) is
As will be described later, when the note event is read, it is used to correct the velocity during the note event (S51).

【0096】(3)ノートイベント ノートイベントが変換元ファイルから読み出された場合
を説明する。読み出されたイベントがノートイベントで
あれば、ステップS21、S41を介して、ステップS
42へ進む。
(3) Note event The case where the note event is read from the conversion source file will be described. If the read event is a note event, the steps S21 and S41 are followed by the step S
Proceed to 42.

【0097】ステップS42では、ノートイベントのチ
ャンネルがドラムアサインチャンネルであるか否かをチ
ェックする。つまり、そのノートイベントがアサインさ
れたチャンネルがドラム音色に設定されたものであるか
否かをチェックする。具体的には、後に説明するステッ
プS32においてドラムアサインチャンネルのリストが
テーブルとして作成され、そのテーブルを参照すること
によりドラムアサインチャンネルか否かをチェックす
る。
In step S42, it is checked whether or not the note event channel is the drum assign channel. That is, it is checked whether or not the channel to which the note event is assigned is set to the drum tone color. Specifically, in step S32 described later, a list of drum assign channels is created as a table, and by referring to the table, it is checked whether or not the drum assign channel.

【0098】ここでは、メロディ音色の場合を示す。メ
ロディ音色の場合は、チャンネルがドラムアサインチャ
ンネルではないので、ステップS51へ進む。
Here, the case of a melody tone color is shown. In the case of a melody tone, the channel is not the drum assign channel, so the flow proceeds to step S51.

【0099】ステップS51では、ノートイベント中の
ベロシティを、ステップS24で得たベロシティテーブ
ルによって補正し変更した後、変更したベロシティを含
むノートイベントを変換後ファイルに記録する。
In step S51, the velocity in the note event is corrected and changed by the velocity table obtained in step S24, and the note event including the changed velocity is recorded in the converted file.

【0100】ベロシティテーブルは、ステップS24に
おいて音色に応じたテーブルとして得られている。ノー
トイベントは、ベロシティを含む。ノートイベント中の
ベロシティを、当該ベロシティテーブルに応じて変換
し、変換したベロシティを含むノートイベントを変換後
ファイルに記録する。その後、メインルーチンの処理
(図4)へ戻る。
The velocity table is obtained in step S24 as a table corresponding to the timbre. Note events include velocity. The velocity in the note event is converted according to the velocity table, and the note event including the converted velocity is recorded in the converted file. Then, the process returns to the main routine process (FIG. 4).

【0101】(4)その他(例えば効果付与) その他のイベントは、例えば効果付与のイベントであ
る。効果付与のイベントは、例えば上記の式(2)に示
すデータ列で表される。そして、式(3)に示す変換ル
ールにより、形式1から形式2への変換を行うことがで
きる。
(4) Others (for example, effect addition) The other events are, for example, effect addition events. The effect-adding event is represented by, for example, the data string shown in the above equation (2). Then, the conversion from the format 1 to the format 2 can be performed by the conversion rule shown in the expression (3).

【0102】その他のイベントが変換元ファイルから読
み出された場合を説明する。読み出されたイベントがそ
の他のイベントであれば、ステップS21、S41、S
61を介して、ステップS71へ進む。
The case where other events are read from the conversion source file will be described. If the read event is another event, steps S21, S41, S
Via 61, the process proceeds to step S71.

【0103】ステップS71では、読み出した(受信し
た)イベントのデータ列を各変換ルールのdata1 部と比
較する。変換ルール4bは、図2に示す変換ルールファ
イル4中に記憶されている。また、変換ルールは、上記
の式(1)に示すフォーマットにより記述される。式
(1)中のdata1 は、変換元のデータ列である。変換ル
ールファイル4には、1または2以上の変換ルール4b
が記憶されているので、各変換ルールのdata1 部と比較
し、対応する変換ルールを探す。
In step S71, the data string of the read (received) event is compared with the data1 part of each conversion rule. The conversion rule 4b is stored in the conversion rule file 4 shown in FIG. The conversion rule is described in the format shown in the above expression (1). Data1 in Expression (1) is the data string of the conversion source. The conversion rule file 4 contains one or more conversion rules 4b.
Is stored, it is compared with the data1 part of each conversion rule to find the corresponding conversion rule.

【0104】ステップS72では、data1 部が一致する
変換ルールがあるか否かをチェックする。一致する変換
ルールがないときには、ステップS81へ進み、読み出
したイベントを無視または変換せずに、メインルーチン
の処理(図4)へ戻る。なお、一致する変換ルールがな
いときには、変換を行うまたは行わないを指定できるよ
うにしてもよい。
In step S72, it is checked whether or not there is a conversion rule in which the data1 part matches. If there is no matching conversion rule, the process proceeds to step S81 to return to the process of the main routine (FIG. 4) without ignoring or converting the read event. When there is no matching conversion rule, conversion may or may not be specified.

【0105】一方、一致する変換ルールがあるときに
は、変換ルールに従い変換を行うため、ステップS73
へ進む。
On the other hand, if there is a matching conversion rule, the conversion is performed in accordance with the conversion rule, so that step S73 is performed.
Go to.

【0106】ステップS73では、データ列data1 をty
peに基づいてデータ列data2 またはdata3 に置き換え、
変換後ファイルに記録する。例えば、式(3)に示す変
換ルールを基に、式(2)に示す形式1から形式2への
変換を行い、変換後ファイルに記録する。その後、メイ
ンルーチンの処理(図4)へ戻る。
At step S73, the data string data1 is set to ty.
Replace with data column data2 or data3 based on pe,
Record in the converted file. For example, based on the conversion rule shown in Expression (3), the conversion from the format 1 to the format 2 shown in Expression (2) is performed and recorded in the converted file. Then, the process returns to the main routine process (FIG. 4).

【0107】なお、変換ルールにおいては、式(3)に
示すように、レジスタREG1, REG2またはテーブルRevTbl
を用いて、変数や配列を参照し、効率的に変換を行うこ
とができる。
In the conversion rule, as shown in equation (3), the registers REG1, REG2 or the table RevTbl are used.
Can be used to refer to variables and arrays and efficiently perform conversion.

【0108】以上は、メロディ音色の処理を説明した。
次に、ドラム音色の処理を説明する。
The processing of the melody tone color has been described above.
Next, the drum tone color processing will be described.

【0109】〔2〕ドラム音色 (1)バンクセレクト バンクセレクトは、上記のメロディ音色の処理と同じで
ある。
[2] Drum Tone (1) Bank Select Bank select is the same as the above melody tone color processing.

【0110】ドラム音色は、メロディ音色と異なり音高
の指定が必要ない音色である。例えば、バスドラムは単
一の音高のみを発音し、音高を指定することはない。そ
のため、ドラム音色は、メロディ音色とは音色の指定方
法が異なる。
Unlike the melody tone color, the drum tone color is a tone color that does not require pitch designation. For example, the bass drum produces only a single pitch and does not specify the pitch. Therefore, the method of designating the tone color of the drum tone differs from that of the melody tone.

【0111】メロディ音色は、バンク番号(バンクセレ
クト)とプログラム番号(プログラムチェンジ)により
音色を指定し、ノートイベント中のノートナンバにより
音高が指定される。ドラム音色の場合、バンク番号とプ
ログラム番号によりドラムセットが指定され、ノートイ
ベント中のノートナンバにより当該ドラムセット中のパ
ートが指定される。ドラム音色は、実質的にバンク番号
とプログラム番号とノートナンバにより音色が指定され
る。
The melody tone color is designated by the bank number (bank select) and the program number (program change), and the pitch is designated by the note number in the note event. In the case of a drum tone, a bank set and a program number specify a drum set, and a note number in a note event specifies a part in the drum set. The drum tone color is substantially designated by the bank number, program number and note number.

【0112】(2)プログラムチェンジ プログラムチェンジが変換元ファイルから読み出された
場合を説明する。読み出されたイベントがプログラムチ
ェンジであれば、ステップS21を介して、ステップS
22へ進む。
(2) Program Change The case where the program change is read from the conversion source file will be described. If the read event is a program change, the process proceeds to step S21 through step S21.
Proceed to 22.

【0113】ステップS22では、バンクセレクトによ
り指定されたバンク番号がドラムバンクであるか否かを
チェックする。ここでは、ドラム音色の場合を説明す
る。ドラム音色の場合は、ステップS31へ進む。
In step S22, it is checked whether or not the bank number designated by the bank select is a drum bank. Here, the case of a drum tone will be described. If it is a drum tone, the process proceeds to step S31.

【0114】ステップS31では、読み出したプログラ
ムチェンジに対応するプログラム番号を内部レジスタに
記憶する。プログラム番号は、内部レジスタに記憶さ
れ、変換後ファイルには書き込まれない。プログラム番
号は、後にノートイベントが読み出された際に、変換後
ファイルに書き込まれる(S45)。
In step S31, the program number corresponding to the read program change is stored in the internal register. The program number is stored in the internal register and is not written in the converted file. The program number is written in the converted file when the note event is read out later (S45).

【0115】ステップS32では、図4のステップS6
で作成したチャンネル情報テーブルを参照し、ドラム音
色のチャンネルを分割し、分割した複数のチャンネルを
確保し、プログラム番号とチャンネル番号との対応テー
ブルを作成する。
In step S32, step S6 in FIG.
With reference to the channel information table created in step 2, the drum tone color channels are divided, a plurality of divided channels are secured, and a correspondence table of program numbers and channel numbers is created.

【0116】チャンネル情報テーブルは、変換元ファイ
ルで使用しているチャンネル番号を記憶しているテーブ
ルである。プログラム番号とチャンネル番号の対応テー
ブルは、ステップS42において対象チャンネルがドラ
ム音色のチャンネルかメロディ音色のチャンネルかを判
断する際に用いられる。
The channel information table is a table storing the channel numbers used in the conversion source file. The correspondence table of the program numbers and the channel numbers is used when determining whether the target channel is the drum tone color channel or the melody tone color channel in step S42.

【0117】変換元ファイルでは、1つのプログラムチ
ェンジ(プログラム番号)に対応し1つのチャンネルが
確保されるが、変換後ファイルでは、それに対応し複数
のチャンネルを確保する場合がある。その理由を説明す
る。
In the conversion source file, one channel is secured corresponding to one program change (program number), but in the converted file, a plurality of channels may be secured corresponding to it. The reason will be explained.

【0118】ドラム音色の場合は、バンク番号とプログ
ラム番号によりドラムセットを指定する。一度ドラムセ
ットを指定すれば、その後ドラムセットを変更すること
は稀である。ドラムセットを指定した後は、ノートナン
バを変えることによりドラムのパートを選択する。
In the case of the drum tone color, the drum set is designated by the bank number and the program number. Once a drum set is specified, it is rare to change the drum set thereafter. After specifying the drum set, select the drum part by changing the note number.

【0119】しかし、変換元の形式では、全てのパート
が、あるドラムセットの中に含まれているとしても、変
換後の形式においてはそれらのパートが複数のドラムセ
ットにまたがって含まれている場合がある。その場合、
パートが変わる度に、毎回ドラムセットを変更する方法
も考えられるが、ドラムセットが変更されると現在発音
中のドラムセットの音が途中で変更されてしまうことも
ありえる。望ましくは、ドラムセットを変更しても、発
音中の音は前のドラムセットの音を発音し続けることで
ある。
However, even though all parts are included in a certain drum set in the conversion source format, those parts are included in a plurality of drum sets in the converted format. There are cases. In that case,
A method of changing the drum set each time a part changes can be considered, but when the drum set is changed, the sound of the currently set drum set may be changed midway. Desirably, even if the drum set is changed, the sound being generated continues to sound the sound of the previous drum set.

【0120】上記の問題点を解決するため、変換元の形
式で1つのドラムセットが指定された場合、変換後の形
式ではそれに対応し、必要に応じて複数のドラムセット
を発音するための複数のチャンネルを確保する。ただ
し、変換元の形式のドラムセットが、変換後の形式では
ドラム音色とメロディ音色の両方を含む場合は、ドラム
セットとメロディ音色を発音するための複数のチャンネ
ルを確保する必要がある。
In order to solve the above-mentioned problems, when one drum set is designated in the conversion source format, it corresponds in the converted format, and a plurality of drum sets for pronouncing a plurality of drum sets can be provided if necessary. To secure a channel. However, if the conversion source format drum set includes both the drum tone and the melody tone in the converted format, it is necessary to secure a plurality of channels for producing the drum set and the melody tone.

【0121】変換元の形式と変換後の形式が分かってい
れば、あるドラムセットが指定されれば、最低確保すべ
きチャンネル数を予め知ることができる。例えば、変換
元の形式においてあるドラムセットが指定されれば、4
つのドラムセットと2つのメロディ音色を発音するた
め、6つのチャンネルを確保すればよい。これは、変換
元のあるドラムセットに含まれるパートは、変換後にお
いては6つの音色セットにまたがっていることを意味す
る。言い換えれば、変換元のチャンネル情報を複数のチ
ャンネル情報に分割し、変換後のチャンネル情報を作成
する。
If the format of the conversion source and the format after conversion are known, if a certain drum set is designated, the minimum number of channels to be secured can be known in advance. For example, if a drum set in the format of the conversion source is specified, 4
Since six drum sets and two melody tones are pronounced, it is sufficient to secure six channels. This means that the parts included in the conversion-source drum set are spread over six tone color sets after conversion. In other words, the conversion source channel information is divided into a plurality of pieces of channel information, and the converted channel information is created.

【0122】ステップS33では、前ステップでチャン
ネル数が足りなくて必要なチャンネル数を確保できなか
った場合、確保できなかったチャンネルの情報を対応テ
ーブルに記録する。後に、当該チャンネルを用いたノー
トイベントが読み出されたときは、発音することができ
ない旨を示すコードを含めて変換後ファイルに書き込む
ことができる。当該チャンネルのノートイベントは、発
音することができないが、シーケンサまたはコンピュー
タで編集することにより、所望の対応をすることができ
る。上記の対応テーブルを記録した後、メインルーチン
の処理(図4)へ戻る。
In step S33, if the required number of channels could not be secured because the number of channels was insufficient in the previous step, information on the channels that could not be secured is recorded in the correspondence table. Later, when a note event using the channel is read, it can be written in the converted file including a code indicating that the note cannot be sounded. Although the note event of the channel cannot be pronounced, it can be dealt with as desired by editing it with a sequencer or a computer. After recording the above correspondence table, the process returns to the process of the main routine (FIG. 4).

【0123】(3)ノートイベント ノートイベントが変換元ファイルから読み出された場合
を説明する。読み出されたイベントがノートイベントで
あれば、ステップS21、S41を介して、ステップS
42へ進む。
(3) Note event The case where the note event is read from the conversion source file will be described. If the read event is a note event, the steps S21 and S41 are followed by the step S
Proceed to 42.

【0124】ステップS42では、ノートイベントのチ
ャンネルがドラムアサインチャンネルであるか否かをチ
ェックする。ドラムアサインチャンネルか否かは、ステ
ップS32で作成したテーブルを基に判断する。ここで
は、ドラム音色の場合を説明する。ドラム音色の場合
は、チャンネルがドラムアサインチャンネルであるの
で、ステップS43へ進む。
In step S42, it is checked whether or not the note event channel is the drum assign channel. Whether it is a drum assign channel or not is determined based on the table created in step S32. Here, the case of a drum tone will be described. In the case of the drum tone color, the channel is the drum assign channel, so the flow proceeds to step S43.

【0125】ステップS43では、記憶されているバン
ク番号(S62)と、プログラム番号(S31)と、指
定されたノートイベント中のノートナンバ(ノート番
号)に応じて、変換後のバンク番号、プログラム番号、
ノートナンバを得る。
In step S43, the bank number and program number after conversion are stored according to the stored bank number (S62), program number (S31), and note number (note number) in the specified note event. ,
Get the note number.

【0126】具体的には、リズム音色変換テーブル4e
(図2)を用いて、変換後のバンク番号、プログラム番
号、ノートナンバを得る。
Specifically, the rhythm tone color conversion table 4e
(FIG. 2) is used to obtain the converted bank number, program number, and note number.

【0127】ステップS44では、記憶されているバン
ク番号(S62)と、プログラム番号(S31)と、指
定されたノートイベント中のノートナンバ(ノート番
号)に応じて、その音色に応じたベロシティテーブルを
得る。具体的には、音色別ベロシティ変換テーブル4f
(図2)を用いて、変換後のベロシティテーブルを得
る。
In step S44, a velocity table corresponding to the tone color is created according to the stored bank number (S62), program number (S31), and note number (note number) in the specified note event. obtain. Specifically, velocity-specific velocity conversion table 4f
(FIG. 2) is used to obtain the converted velocity table.

【0128】ステップS45では、変換後のプログラム
チェンジ(プログラム番号)に基づいて対応テーブル
(S33で作成したテーブル)を参照し、チャンネルの
アサインが可能であるか否かをチェックする。アサイン
が可能であれば、そのチャンネルの情報として変換した
バンク番号、プログラム番号、ノートナンバと、変換し
たベロシティを変換後ファイルに記録する。
In step S45, the correspondence table (table created in S33) is referred to based on the converted program change (program number) to check whether or not the channel can be assigned. If assignment is possible, the converted bank number, program number, note number, and converted velocity are recorded in the converted file as the information of that channel.

【0129】対応テーブルには、ドラム音色のチャンネ
ルを分割する際に確保することができなかったチャンネ
ルの情報が記録されている。当該対応テーブルを参照す
ることにより、チャンネルのアサインが可能か否かを判
断することができる。チャンネルのアサインが可能であ
れば、変換したバンク番号、プログラム番号等を記録
し、その後、メインルーチンの処理(図4)へ戻る。
In the correspondence table, information of channels that cannot be secured when dividing the drum tone color channels is recorded. By referring to the correspondence table, it can be determined whether or not the channel can be assigned. If the channel can be assigned, the converted bank number, program number, etc. are recorded, and then the process returns to the main routine (FIG. 4).

【0130】ドラム音色の場合は、バンク番号とプログ
ラム番号によりドラムセットが指定され、ノートナンバ
により当該ドラムセット中のパートが指定される。
In the case of drum timbre, the bank number and the program number specify the drum set, and the note number specifies the part in the drum set.

【0131】(4)その他(例えば効果付与) その他のイベントは、上記のメロディ音色の処理と同じ
である。なお、ステップS32で作成した対応テーブル
を参照し、ドラム音色がアサインされているチャンネル
にピッチベンド等により効果が付与される場合は、ドラ
ム音色用に分割されたすべてのチャンネルについて効果
を付与する。
(4) Others (for example, effect addition) Other events are the same as the above melody tone color processing. It should be noted that referring to the correspondence table created in step S32, if an effect is imparted to a channel to which a drum tone color is assigned by pitch bend or the like, the effect is imparted to all the channels divided for the drum tone color.

【0132】本実施例によれば、メロディ音色だけでな
く、ドラム音色についても自動演奏データの変換を行う
ことができる。変換テーブルを用いれば、数値変換のよ
うなデータ変換を行うことができる。例えば、音色やベ
ロシティである。さらに、変換ルールを用いれば、変換
テーブルでは変換が不可能または困難なものであって
も、所望の変換を行うことができる。ユーザは、テキス
ト形式の簡易言語で変換ルールを記述することができる
ので、ルールの作成が容易である。
According to this embodiment, not only the melody tone color but also the drum tone color can be converted into the automatic performance data. If the conversion table is used, data conversion such as numerical conversion can be performed. For example, timbre and velocity. Furthermore, by using the conversion rule, desired conversion can be performed even if conversion is impossible or difficult with the conversion table. Since the user can describe the conversion rule in a simple language in the text format, the rule can be easily created.

【0133】ユーザまたはメーカは、変換ルールまたは
変換テーブルを作成したり変更することができる。ユー
ザまたはメーカが自由にルールを作成または変更できる
ので、容易に自動演奏データの変換のためのルールを定
めることができ、自動演奏データの変換の自由度が広が
る。
The user or maker can create or change the conversion rule or the conversion table. Since the user or the maker can freely create or change the rules, the rules for converting the automatic performance data can be easily defined, and the degree of freedom in converting the automatic performance data is expanded.

【0134】また、自動演奏データ中に含まれる効果付
与のデータについても、異なる形式へのデータ変換を行
うことができる。変換元と変換後の自動演奏データとの
間で、効果付与のデータに互換性がなくても、適正な効
果付与のデータに変換することができる。変換された効
果付与のデータを含む自動演奏データを、効果付与装置
に供給すれば、楽音信号に適正な効果が付与される。
Also, the effect-added data included in the automatic performance data can be converted into a different format. Even if the conversion source and the converted automatic performance data are not compatible with each other, the effect data can be converted into the appropriate effect data. If the automatic performance data including the converted effect-applying data is supplied to the effect-applying device, an appropriate effect is applied to the musical tone signal.

【0135】さらに、ドラム音色のように、変換元の自
動演奏データにおいては1つのチャンネル情報で足りる
が、変換後の自動演奏データにおいては複数のチャンネ
ル情報が必要になる場合がある。その場合は、変換元の
自動演奏データにおける1のチャンネル情報を複数のチ
ャンネル情報に分割し、変換後の自動演奏データを生成
する。複数のチャンネル情報に分割することにより、変
換後の自動演奏データにおいても適正な自動演奏が可能
になる。メロディ音色であってもドラム音色であって
も、適正な発音が可能である。
Further, although one channel information is sufficient for the automatic performance data of the conversion source such as the drum timbre, a plurality of channel information may be required for the converted automatic performance data. In that case, one channel information in the conversion source automatic performance data is divided into a plurality of channel information to generate the converted automatic performance data. By dividing the channel information into a plurality of pieces of channel information, proper automatic performance can be performed even after conversion of the automatic performance data. Proper pronunciation is possible regardless of whether it is a melody tone or a drum tone.

【0136】本実施例による自動演奏データ変換システ
ムは、カラオケ装置で用いられる自動演奏データ、電子
楽器で用いられる自動演奏データ、MIDIデータのみ
からなる自動演奏データ等を変換することができる。
The automatic performance data conversion system according to this embodiment can convert automatic performance data used in a karaoke apparatus, automatic performance data used in an electronic musical instrument, automatic performance data consisting only of MIDI data, and the like.

【0137】なお、変換を行う際には、全ての変換ルー
ルまたはテーブルを記述する必要はなく、あるカテゴリ
ーについては特別な指定がない限りデフォルトの変換を
行い、指定があるときに限り変換ルールまたはテーブル
により変換を行うようにしてもよい。
When performing conversion, it is not necessary to describe all conversion rules or tables. Default conversion is performed for a certain category unless otherwise specified, and conversion rules or tables are specified only when specified. You may make it convert by a table.

【0138】例えば、各プログラムチェンジについて変
換ルールまたはテーブルが存在しないときは、代表の変
換ルールまたはテーブルでベロシティテーブルを変換す
るようにしてもよい。
For example, when there is no conversion rule or table for each program change, the velocity table may be converted using a representative conversion rule or table.

【0139】また、自動演奏データの変換は、コンピュ
ータで行ってもよいし、従来の電子楽器の内部で行って
もよい。
The conversion of automatic performance data may be performed by a computer or may be performed inside a conventional electronic musical instrument.

【0140】さらに、変換を行う前後の自動演奏データ
は、フロッピ等に記録せずに、ネットワークを介した電
子データとして、自動演奏データ変換システムに対し入
力または出力してもよい。
Further, the automatic performance data before and after the conversion may be input or output to the automatic performance data conversion system as electronic data via a network without being recorded on a floppy disk or the like.

【0141】以上実施例に沿って本発明を説明したが、
本発明はこれらに制限されるものではない。例えば、種
々の変更、改良、組み合わせ等が可能なことは当業者に
自明であろう。
The present invention has been described above with reference to the embodiments.
The present invention is not limited to these. For example, it will be apparent to those skilled in the art that various modifications, improvements, combinations, and the like can be made.

【0142】[0142]

【発明の効果】以上説明したように、本発明によれば、
ユーザまたはメーカが自由に変換のためのルールを作成
または変更できるので、自動演奏データの変換の自由度
が広がる。また、当該ルールに従い自動演奏データの変
換を行えば、数値の変換だけでなく、自動演奏データの
データ列を並び変えるような複雑な変換を行うこともで
きる。
As described above, according to the present invention,
Since the user or the maker can freely create or change the conversion rule, the degree of freedom in converting the automatic performance data is expanded. Further, if the automatic performance data is converted according to the rule, not only the conversion of numerical values but also the complicated conversion such as rearranging the data string of the automatic performance data can be performed.

【0143】また、第1の形式と第2の形式の自動演奏
データとの間で、効果付与のためのデータの値が異なっ
ていても、適正な効果付与のデータに変換することがで
きる。効果付与装置においては、変換後の効果付与のデ
ータを基に適正な効果を楽音信号に付与することができ
る。
Further, even if the value of the data for effect addition is different between the automatic performance data of the first format and the automatic performance data of the second format, it can be converted into the data of appropriate effect application. In the effect imparting device, an appropriate effect can be imparted to the tone signal based on the converted effect imparting data.

【0144】さらに、第1の形式の自動演奏データにお
ける1のチャンネル情報を複数のチャンネル情報に分割
し、第2の形式の自動演奏データを生成することによ
り、第2の形式の自動演奏データにおいても適正な自動
演奏が可能になる。
Further, by dividing one channel information in the first-format automatic performance data into a plurality of channel information and generating the second-format automatic performance data, the second-format automatic performance data is generated. Also enables proper automatic performance.

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

【図1】 本発明の実施例による自動演奏データ変換シ
ステムの全体構成を示す概念図である。
FIG. 1 is a conceptual diagram showing an overall configuration of an automatic performance data conversion system according to an embodiment of the present invention.

【図2】 図1に示す変換ルールファイルの内容を示す
図である。
FIG. 2 is a diagram showing the contents of a conversion rule file shown in FIG.

【図3】 本実施例による自動演奏データ変換システム
を実現するためのハードウエアの構成を示す図である。
FIG. 3 is a diagram showing a hardware configuration for realizing an automatic performance data conversion system according to the present embodiment.

【図4】 図3に示したCPUが行う処理のメインルー
チンのフローチャートである。
FIG. 4 is a flowchart of a main routine of a process performed by the CPU shown in FIG.

【図5】 図4に示すステップS9のイベント変換処理
の詳細を示すフローチャートである。
5 is a flowchart showing details of event conversion processing in step S9 shown in FIG.

【図6】 図5の処理に続くフローチャートである。FIG. 6 is a flowchart following the processing of FIG.

【符号の説明】 1,7 電子楽器、 2,6 自動演奏データ、
3 コンピュータ、4 変換ルールファイル、 4a
ヘッダ、 4b 変換ルール、 4c 変換テー
ブル、 5 変換処理部、 11 CPU、 1
2 ROM、 13 RAM、 14 FDD、
15 HDD、 16 バス、17 操作子、
18 表示器、 21 CD−ROMドライブ、22
通信インターフェース、 31 サーバコンピュー
タ、 32 CD−ROM、 41 通信ネットワ
ーク
[Explanation of symbols] 1,7 Electronic musical instrument, 2,6 Automatic performance data,
3 computers, 4 conversion rule files, 4a
Header, 4b conversion rule, 4c conversion table, 5 conversion processing unit, 11 CPU, 1
2 ROM, 13 RAM, 14 FDD,
15 HDD, 16 bus, 17 controls,
18 display, 21 CD-ROM drive, 22
Communication interface, 31 server computer, 32 CD-ROM, 41 communication network

フロントページの続き (56)参考文献 特開 平5−188941(JP,A) 特開 平6−195883(JP,A) 特開 平7−140977(JP,A) 特開 平4−249298(JP,A) 特開 平8−87271(JP,A) 特開 昭60−24591(JP,A) 特開 平5−216471(JP,A) 実開 平4−86281(JP,U) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/12 Continuation of the front page (56) Reference JP-A-5-188941 (JP, A) JP-A-6-195883 (JP, A) JP-A-7-140977 (JP, A) JP-A-4-249298 (JP , A) JP-A-8-87271 (JP, A) JP-A-60-24591 (JP, A) JP-A-5-216471 (JP, A) Actually open 4-86281 (JP, U) (58) Fields investigated (Int.Cl. 7 , DB name) G10H 1/00-7/12

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つの音色セットに複数の音色を含む音
色情報を有する第1の形式の自動演奏データを前記複数
種類の音色が複数の音色セットに含まれる音色情報を有
する第2の形式の自動演奏データに変換する自動演奏デ
ータ変換システムであって、 第1の形式の自動演奏データを入力する入力手段と、 前記入力手段により入力される第1の形式の自動演奏デ
ータに含まれる音色情報を第2の形式の音色情報に変換
するとともに、変換後の第2の形式の音色セットごとに
チャンネル情報を編成した第2の形式の自動演奏データ
に変換するデータ変換手段と、 前記データ変換手段により変換された第2の形式のデー
タ列を変換後の自動演奏データとして出力する出力手段
とを有する自動演奏データ変換システム。
1. The automatic performance data of the first format having tone color information including a plurality of tone colors in one tone color set is converted into the second format having tone color information in which the plurality of tone colors are included in the plurality of tone color sets. An automatic performance data conversion system for converting to automatic performance data, comprising input means for inputting automatic performance data of a first format, and tone color information included in the automatic performance data of the first format input by said input means. And a data conversion means for converting into a second format timbre information, and also converting into a second format automatic performance data in which channel information is organized for each timbre set of the second format after conversion. An automatic performance data conversion system having an output means for outputting the data string of the second format converted by the above as converted automatic performance data.
【請求項2】 1つの音色セットに複数の音色を含む音
色情報を有する第1の形式の自動演奏データを前記複数
種類の音色が複数の音色セットに含まれる音色情報を有
する第2の形式の自動演奏データに変換する自動演奏デ
ータ変換方法であって、 (a)第1の形式の自動演奏データを入力する入力工程
と、 (b)前記入力工程により入力される第1の形式の自動
演奏データに含まれる音色情報を第2の形式の音色情報
に変換するとともに、変換後の第2の形式の音色セット
ごとにチャンネル情報を編成した第2の形式の自動演奏
データに変換するデータ変換工程と、 (c)前記データ変換工程により変換された第2の形式
のデータ列を変換後の自動演奏データとして出力する出
力工程とを有する自動演奏データ変換方法。
2. The automatic performance data of a first format having tone color information including a plurality of tone colors in one tone color set, and the second type having tone color information in which the plurality of types of tone colors are included in the plurality of tone color sets. An automatic performance data conversion method for converting into automatic performance data, comprising: (a) an input step of inputting automatic performance data of a first format; and (b) an automatic performance of a first format input by the input step. A data conversion step of converting tone color information included in the data into tone color information of the second format, and also converting into second performance automatic performance data in which channel information is organized for each tone color set of the second format after conversion. And (c) an output step of outputting the data string of the second format converted by the data conversion step as converted automatic performance data, the automatic performance data conversion method.
【請求項3】 1つの音色セットに複数の音色を含む音
色情報を有する第1の形式の自動演奏データを前記複数
種類の音色が複数の音色セットに含まれる音色情報を有
する第2の形式の自動演奏データに変換する自動演奏デ
ータ変換方法であって、 (a)第1の形式の自動演奏データを入力する入力手順
と、 (b)前記入力手順により入力される第1の形式の自動
演奏データに含まれる音色情報を第2の形式の音色情報
に変換するとともに、変換後の第2の形式の音色セット
ごとにチャンネル情報を編成した第2の形式の自動演奏
データに変換するデータ変換手順と、 (c)前記データ変換手順により変換された第2の形式
のデータ列を変換後の自動演奏データとして出力する出
力手順とをコンピュータに実行させるための自動演奏デ
ータ変換プログラムを記録したコンピュータ読み取り可
能な記録媒体。
3. The automatic performance data of the first format having tone color information including a plurality of tone colors in one tone color set is converted into the second type having tone color information in which the plurality of tone colors are included in the plurality of tone color sets. An automatic performance data conversion method for converting into automatic performance data, comprising: (a) an input procedure for inputting automatic performance data of a first format; and (b) an automatic performance of a first format input by the input procedure. A data conversion procedure for converting the tone color information included in the data into the second format tone color information, and also converting the tone color information into the second format automatic performance data in which the channel information is organized for each tone format set of the second format after conversion. And (c) an automatic performance data conversion for causing a computer to execute the output procedure of outputting the data string of the second format converted by the data conversion procedure as the converted automatic performance data. A computer-readable recording medium recording a replacement program.
JP22253197A 1996-08-29 1997-08-19 Automatic performance data conversion system and medium recording program Expired - Fee Related JP3508494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22253197A JP3508494B2 (en) 1996-08-29 1997-08-19 Automatic performance data conversion system and medium recording program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP22884396 1996-08-29
JP8-228843 1996-08-29
JP22253197A JP3508494B2 (en) 1996-08-29 1997-08-19 Automatic performance data conversion system and medium recording program

Publications (2)

Publication Number Publication Date
JPH10124046A JPH10124046A (en) 1998-05-15
JP3508494B2 true JP3508494B2 (en) 2004-03-22

Family

ID=26524937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22253197A Expired - Fee Related JP3508494B2 (en) 1996-08-29 1997-08-19 Automatic performance data conversion system and medium recording program

Country Status (1)

Country Link
JP (1) JP3508494B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3589122B2 (en) * 1999-11-01 2004-11-17 ヤマハ株式会社 Portable terminal device
TW495735B (en) * 1999-07-28 2002-07-21 Yamaha Corp Audio controller and the portable terminal and system using the same
JP3675362B2 (en) 2000-08-18 2005-07-27 ヤマハ株式会社 Musical sound generating device and portable terminal device
JP2005017992A (en) 2003-06-30 2005-01-20 Yamaha Corp Music playing data transmission device, and system and method for playing music
JP5125373B2 (en) * 2007-10-02 2013-01-23 ヤマハ株式会社 Electronic music apparatus and program
JP5125374B2 (en) * 2007-10-02 2013-01-23 ヤマハ株式会社 Electronic music apparatus and program

Also Published As

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

Similar Documents

Publication Publication Date Title
EP0372678B1 (en) Apparatus for reproducing music and displaying words
US6034314A (en) Automatic performance data conversion system
JPH04249298A (en) Processing system of midi data file and method of processing midi data in electronic computer system
JP2937096B2 (en) Music setting apparatus and method
JP3508494B2 (en) Automatic performance data conversion system and medium recording program
JPH11175062A (en) Information output device, information editing device and recording medium
US6274799B1 (en) Method of mapping waveforms to timbres in generation of musical forms
CN101000761A (en) Tone synthesis apparatus and method
US7030312B2 (en) System and methods for changing a musical performance
US7358433B2 (en) Automatic accompaniment apparatus and a storage device storing a program for operating the same
JP4614307B2 (en) Performance data processing apparatus and program
JPH06259064A (en) Electronic musical instrument
JP4802947B2 (en) Performance method determining device and program
EP0457980B1 (en) Apparatus for reproducing music and displaying words
US6476305B2 (en) Method and apparatus for modifying musical performance data
JP4487743B2 (en) Electronic musical instrument and musical tone parameter control program
JP3593945B2 (en) Performance information correction method, performance information correction device, and recording medium
JP3426379B2 (en) Electronic musical instrument
JP3669301B2 (en) Automatic composition apparatus and method, and storage medium
JP4147407B2 (en) Computer program for musical expression and musical expression apparatus
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JP3709820B2 (en) Music information editing apparatus and music information editing program
JP3455976B2 (en) Music generator
JP3532485B2 (en) Editing method, apparatus, and program recording medium for reducing the number of channels of electronic music data
JPH0519765A (en) 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: 20031202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031215

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

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

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

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 4

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

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees