JP2000099011A - Automatic arranging device - Google Patents

Automatic arranging device

Info

Publication number
JP2000099011A
JP2000099011A JP11269935A JP26993599A JP2000099011A JP 2000099011 A JP2000099011 A JP 2000099011A JP 11269935 A JP11269935 A JP 11269935A JP 26993599 A JP26993599 A JP 26993599A JP 2000099011 A JP2000099011 A JP 2000099011A
Authority
JP
Japan
Prior art keywords
note
chord
sound
melody
additional sound
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
JP11269935A
Other languages
Japanese (ja)
Other versions
JP3087757B2 (en
Inventor
Eiichiro Aoki
栄一郎 青木
Kazunori Maruyama
和範 丸山
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 JP11269935A priority Critical patent/JP3087757B2/en
Publication of JP2000099011A publication Critical patent/JP2000099011A/en
Application granted granted Critical
Publication of JP3087757B2 publication Critical patent/JP3087757B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate the performance data suited to original music and to easily generate rich sound performance information. SOLUTION: A melody of a certain part of the original music is inputted to a melody memory 4, and the chord data of the original music are inputted to a code advance memory 5. A rhythm pattern of a rhythm pattern memory 12 is selected according to the style and the composition constitution of the original music. A top note, an added sound, a bass part and a drum part are generated at the timing of the note code of the selected rhythm pattern. The top note according to a chord is generated from a top note table of a top note table memory 15, and the added sound according to the top note and the chord is generated from a voicing table of a voicing table memory 16. The top note and the added sound are selected from a continuous two sound pair.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、元曲のメロディやコー
ド(和音)進行を入力すれば、以降は自動的にその元曲
の複数の演奏パート分の演奏データを自動生成する自動
編曲装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic arranging apparatus for automatically generating performance data for a plurality of performance parts of an original tune by inputting a melody or chord progression of the original tune. About.

【0002】[0002]

【従来の技術】従来、自動編曲の分野において、元曲の
メロディパートの演奏データを入力あるいは予め記憶し
ておき、この演奏データに基づいて他のパートの演奏デ
ータを自動的に生成する試みがなされているが、元曲に
適したパートを生成するのが困難であった。例えば、こ
れらの試みでは元曲の調性、曲風、和音に基づいて演奏
データを生成するものもあるが、生成された演奏データ
は未だに単純で不自然な印象を与えるものであった。
2. Description of the Related Art Conventionally, in the field of automatic arranging, an attempt has been made to input or store in advance performance data of a melody part of an original music piece and to automatically generate performance data of another part based on the performance data. However, it was difficult to generate a part suitable for the original song. For example, in some of these attempts, performance data is generated based on the tonality, style, and chord of the original music, but the generated performance data still gives a simple and unnatural impression.

【0003】[0003]

【発明が解決しようとする課題】本発明は、元曲の或る
パートの演奏データに基づいて他のパートを自動生成す
る自動編曲装置において、元曲に適した演奏データを生
成するとともに、豊かな響きの演奏情報を容易に生成す
ることを課題とする。
SUMMARY OF THE INVENTION The present invention relates to an automatic arranging apparatus for automatically generating another part based on performance data of a certain part of an original music. It is an object of the present invention to easily generate performance information having a resounding sound.

【0004】[0004]

【課題を解決するための手段】上記の課題を解決するた
めになした本発明の請求項1記載の自動編曲装置は、メ
ロディに対して付加すべき、メロディ以外のパートの演
奏情報を生成する自動編曲装置において、少なくとも発
音タイミングを示すリズムパターンであって音高情報を
有しないリズムパターンを複数記憶するリズムパターン
記憶手段と、作成する曲のリズムパターンを前記複数の
リズムパターンの中から選択する選択手段と、前記メロ
ディに対応した和音進行を供給する和音進行供給手段
と、和音毎に、前記メロディ以外のパートの演奏情報と
して使用可能で、和音構成音以外の音名も含む複数の音
名候補を記憶している音名候補記憶手段と、和音毎、か
つ音名候補毎に、該音名に付加すべき付加音を記憶した
付加音記憶手段と、前記リズムパターン記憶手段から選
択されたリズムパターンを読み出し、該リズムパターン
の発音タイミング毎に、供給された和音進行が示す和音
において使用可能な複数の音名候補のうちの何れかを選
択するとともに、供給された和音と前記選択された音名
候補に対応した付加音を前記付加音記憶手段から読み出
し、該付加音の音名情報と前記選択された音名候補の音
名情報と合わせて、これらの音名情報に対応する演奏情
報を前記メロディ以外のパートの演奏情報として生成す
る演奏情報生成手段と、を備えることを特徴とする。
According to a first aspect of the present invention, there is provided an automatic arrangement apparatus for generating performance information of a part other than a melody to be added to a melody. In the automatic arranging device, a rhythm pattern storage means for storing a plurality of rhythm patterns at least indicating a sounding timing and having no pitch information, and a rhythm pattern of a song to be created is selected from the plurality of rhythm patterns. Selecting means, chord progression supplying means for supplying a chord progression corresponding to the melody, and a plurality of note names which can be used for each chord as performance information of parts other than the melody and include note names other than the chord constituent sounds. Note name candidate storage means for storing candidates, for each chord, and for each note name candidate, additional sound storage means for storing an additional sound to be added to the note name, The selected rhythm pattern is read from the rhythm pattern storage unit, and for each sounding timing of the rhythm pattern, any one of a plurality of note name candidates usable in the chord indicated by the supplied chord progression is selected, The supplied chord and the additional sound corresponding to the selected note name candidate are read out from the additional sound storage means, and these are added together with the note name information of the additional sound and the note name information of the selected note name candidate. And performance information generating means for generating performance information corresponding to the note name information of the part as performance information of parts other than the melody.

【0005】また、本発明の請求項2記載の自動編曲装
置は、メロディに対して付加すべき、メロディ以外のパ
ートの演奏情報を生成する自動編曲装置において、少な
くとも発音タイミングを示すリズムパターンであって音
高情報を有しないリズムパターンを記憶するリズムパタ
ーン記憶手段と、前記メロディの音高情報を供給する音
高情報供給手段と、前記メロディに対応した和音進行を
供給する和音進行供給手段と、和音毎に、前記メロディ
以外のパートの演奏情報として使用可能な、複数の音名
候補を記憶している音名候補記憶手段と、和音毎、かつ
音名候補毎に、該音名に付加すべき付加音を記憶した付
加音記憶手段と、前記リズムパターン記憶手段からリズ
ムパターンを読み出し、該リズムパターンの発音タイミ
ング毎に、供給された和音進行が示す和音に対応する複
数の音名候補のうち、前記発音タイミングに対応するメ
ロディの音高情報を参照し何れかを選択するとともに、
供給された和音と前記選択された音名候補に対応した付
加音を前記付加音記憶手段から読み出し、該付加音の音
名情報と前記選択された音名候補の音名情報と合わせ
て、これらの音名情報に対応する演奏情報を前記メロデ
ィ以外のパートの演奏情報として生成する演奏情報生成
手段と、を備えることを特徴とする。
According to a second aspect of the present invention, there is provided an automatic arrangement apparatus for generating performance information of a part other than a melody to be added to a melody. Rhythm pattern storage means for storing a rhythm pattern having no pitch information, pitch information supply means for supplying pitch information of the melody, chord progression supply means for supplying a chord progression corresponding to the melody, A pitch name candidate storage unit that stores a plurality of pitch name candidates that can be used as performance information of parts other than the melody for each chord, and that is added to the pitch name for each chord and for each pitch name candidate. A rhythm pattern is read from the additional sound storage means storing the power addition sound to be stored, and the rhythm pattern is read from the rhythm pattern storage means. Among a plurality of pitch names candidate corresponding to chord indicated chord progression was, while select one with reference to the pitch information of the melody corresponding to the tone generation timing,
The supplied chord and the additional sound corresponding to the selected note name candidate are read out from the additional sound storage means, and these are added together with the note name information of the additional sound and the note name information of the selected note name candidate. And performance information generating means for generating performance information corresponding to the note name information of the part as performance information of parts other than the melody.

【0006】また、本発明の請求項3記載の自動編曲装
置は、メロディに対して付加すべき、メロディ以外のパ
ートの演奏情報を生成する自動編曲装置において、少な
くとも発音タイミングを示すリズムパターンであって音
高情報を有しないリズムパターンを記憶するリズムパタ
ーン記憶手段と、前記メロディに対応した和音進行を供
給する和音進行供給手段と、和音毎に、前記メロディ以
外のパートの演奏情報として使用可能な、複数の音名候
補を記憶している音名候補記憶手段と、和音毎、かつ音
名候補毎に、該音名に付加すべき付加音を記憶した付加
音記憶手段と、前記リズムパターン記憶手段からリズム
パターンを読み出し、該リズムパターンの発音タイミン
グ毎に、供給された和音進行が示す和音に対応する複数
の音名候補のうち、以前に生成した演奏情報を参照し何
れかを選択するとともに、供給された和音と前記選択さ
れた音名候補に対応した付加音を前記付加音記憶手段か
ら読み出し、該付加音の音名情報と前記選択された音名
候補の音名情報と合わせて、これらの音名情報に対応す
る演奏情報を前記メロディ以外のパートの演奏情報とし
て生成する演奏情報生成手段と、を備えることを特徴と
する。
According to a third aspect of the present invention, there is provided an automatic arrangement apparatus for generating performance information of a part other than a melody to be added to a melody. Rhythm pattern storage means for storing a rhythm pattern having no pitch information, a chord progression supply means for supplying a chord progression corresponding to the melody, and, for each chord, usable as performance information of parts other than the melody. A note name candidate storing means for storing a plurality of note name candidates; an additional sound storing means for storing, for each chord and for each note name candidate, an additional sound to be added to the note name; The rhythm pattern is read from the means, and for each sounding timing of the rhythm pattern, a plurality of note name candidates corresponding to the chord indicated by the supplied chord progression are read out. While referring to the previously generated performance information and selecting any one of them, the supplied chord and the additional sound corresponding to the selected note name candidate are read from the additional sound storage means, and the note name information of the additional sound and Performance information generating means for generating performance information corresponding to the selected note name information as performance information of a part other than the melody, together with the note name information of the selected note name candidates. .

【0007】また、本発明の請求項4記載の自動編曲装
置は、請求項1または請求項2または請求項3の構成を
備え、前記付加音記憶手段は、和音毎、かつ音名候補毎
に複数の付加音候補を記憶し、演奏情報生成手段は、複
数の付加音候補のうちのいずれか選択された付加音候補
を演奏情報とすることを特徴とする。
According to a fourth aspect of the present invention, there is provided an automatic arrangement device according to the first or second or third aspect, wherein the additional sound storage means is provided for each chord and each note name candidate. A plurality of additional sound candidates are stored, and the performance information generating means uses any one of the plurality of additional sound candidates selected as the performance information.

【0008】[0008]

【作用】本発明の請求項1または請求項2または請求項
3の自動編曲装置によれば、リズムパターン毎に音の高
さを指定する情報を有していないので、リズムパターン
の記憶容量を削減でき、また、音名候補の中からいずれ
か選択された音名と、該選択された音名に適した付加音
とからなる豊かな響きの演奏情報を容易に生成すること
ができる。
According to the automatic arrangement device of the first, second or third aspect of the present invention, since there is no information for designating the pitch of each rhythm pattern, the storage capacity of the rhythm pattern is reduced. In addition, it is possible to easily generate rich sounding performance information including a note name selected from any of the note name candidates and an additional sound suitable for the selected note name.

【0009】特に、請求項1の自動編曲装置によれば、
供給された和音に対して使用可能な非和音構成音も含む
複数の音名候補の中から何れかを選択するので、和音に
適した演奏情報を生成させることができ、しかも、和音
構成音以外の音も生成可能であるので、多様な演奏情報
を作成することができる。
In particular, according to the automatic arranging device of the first aspect,
Since any one of a plurality of tone name candidates including non-chord constituent tones usable for the supplied chord is selected, performance information suitable for the chord can be generated, and further, other than the chord constituent tones. Can also be generated, so that various performance information can be created.

【0010】また、請求項2の自動編曲装置によれば、
メロディの音高情報を参照して複数の音名候補の中から
何れかを選択するので、メロディに合った演奏情報を生
成することができる。
According to the automatic arranging device of the second aspect,
Since any one of a plurality of pitch name candidates is selected with reference to the pitch information of the melody, performance information suitable for the melody can be generated.

【0011】また、請求項3の自動編曲装置によれば、
以前に生成した演奏情報を参照して複数の音名候補の中
から何れかを選択するので、自然な流れの演奏情報を生
成することができる。
[0011] According to the automatic arrangement device of the third aspect,
Since any one of the plurality of tone name candidates is selected with reference to the previously generated performance information, it is possible to generate performance information with a natural flow.

【0012】また、請求項4の自動編曲装置によれば、
請求項1〜3の作用効果に加えて、1つの音名候補に対
して複数の付加音候補があるため、少ない記憶容量で多
くの演奏情報を生成可能である。
Further, according to the automatic arranging device of the fourth aspect,
In addition to the effects of the first to third aspects, since a plurality of additional sound candidates are provided for one note name candidate, a large amount of performance information can be generated with a small storage capacity.

【0013】[0013]

【実施例】図1は本発明実施例の自動編曲装置のブロッ
ク図であり、CPU1はプログラムメモリ2に記憶され
ている制御プログラムに基づいてワーキングメモリ3の
ワーキングエリアを使用して装置全体の制御を行う。そ
して、メロディメモリ4に記憶されている演奏データ、
コード進行メモリ5に記憶されているコード進行データ
(時系列な和音データ)、入力設定される楽曲のスタイ
ルおよび楽節の構成に基づいて、ギターやストリングス
といった音色の主として中音域のバッキングパート、ベ
ースギターやチューバといった音色の主として低音域の
ベースパートおよび打楽器音色のドラムパートの演奏デ
ータを生成し、それぞれバッキングパートメモリ6、ベ
ースパートメモリ7およびドラムパートメモリ8に記憶
する。なお、演奏データにおける音符のタイミングや間
隔等は、例えば四分音符を24クロックに対応させるな
ど所定のクロックを設定し、このクロック値をの時間情
報として用いている。
FIG. 1 is a block diagram of an automatic arrangement apparatus according to an embodiment of the present invention. A CPU 1 controls the entire apparatus by using a working area of a working memory 3 based on a control program stored in a program memory 2. I do. Then, the performance data stored in the melody memory 4,
Based on the chord progression data (time-series chord data) stored in the chord progression memory 5, the style of the music to be input and the composition of the passages, the backing part mainly in the mid-range such as guitar and strings, and the bass guitar The performance data of the bass part and the drum part of the percussion instrument timbre, mainly of the low tone range, such as the timbre and the tuba, are stored in the backing part memory 6, the base part memory 7, and the drum part memory 8, respectively. Note that a predetermined clock is set as the note timing and interval in the performance data, for example, a quarter note is made to correspond to 24 clocks, and this clock value is used as time information.

【0014】メロディメモリ4に記憶される演奏データ
およびコード進行メモリ5に記憶される和音データは、
入出力インターフェース9を介して例えば外部機器から
入力され、それぞれ所定のフォーマットで記憶される。
例えば、和音データは、図4に示したように、和音の根
音と種類のコードをセットにしてその和音の継続時間を
示すデュレーションのデータとともに曲の先頭から順に
記憶され、曲の最後にエンドコードが記憶される。ま
た、演奏データは、例えばメロディのキーコードとタイ
ミングのデータをセットにして記憶される。これらは、
操作者が直接演奏して入力してもよいし、すでに出来上
がっているものを、データファイルとして転送してもよ
い。
The performance data stored in the melody memory 4 and the chord data stored in the chord progression memory 5 are:
For example, the data is input from an external device via the input / output interface 9 and stored in a predetermined format.
For example, as shown in FIG. 4, chord data is stored in order from the beginning of a song together with duration data indicating the duration of the chord by setting the root of the chord and a chord type, and ending at the end of the song. The code is stored. The performance data is stored, for example, as a set of melody key codes and timing data. They are,
The operator may directly play and input, or an already completed one may be transferred as a data file.

【0015】また、楽曲のスタイルと楽節構成は表示部
10による表示と操作部11の操作によって操作者が意
図するように入力設定される。図5は楽節構成を入力す
るときの表示例であり、先ず、楽節構成入力の処理にな
ると、同図(A) に示したように楽節のタイプ(A,B,
A' 等)の組合せによる楽節構成が表示部10に表示さ
れる。この表示された楽節構成の中らか操作部11の操
作によって任意の楽節構成を選択すると、同図(B) に示
したように選択された楽節構成の各楽節の小節数を入力
するように表示が切換えられ、操作部11から小節数を
入力する。
The style and passage composition of the music are input and set by the display on the display unit 10 and the operation of the operation unit 11 as intended by the operator. FIG. 5 shows a display example when a phrase configuration is input. First, when the process of the phrase configuration input is performed, as shown in FIG.
A ′, etc.) are displayed on the display unit 10. When an arbitrary phrase configuration is selected by operating the operation section 11 from among the displayed phrase configurations, the number of measures of each phrase in the selected phrase configuration is input as shown in FIG. The display is switched, and the number of measures is input from the operation unit 11.

【0016】このようにして入力された楽節構成は、図
6に示したように各楽節のタイプとその小節数からなる
フォーマットでワーキングメモリ3のパターンシーケン
スメモリPTN(k)に記憶されるとともに曲の最後に
エンドコードが記憶される。なお、楽節タイプはタイプ
に応じたタイプナンバとして記憶される。また、スタイ
ルの入力は表示部10にスタイル名を表示して操作部1
1の操作で選択され、スタイルナンバとして記憶され
る。
The phrase configuration input in this way is stored in the pattern sequence memory PTN (k) of the working memory 3 in a format consisting of the type of each phrase and the number of measures as shown in FIG. At the end of the end code is stored. The phrase type is stored as a type number corresponding to the type. To input a style, the style name is displayed on the display unit 10 and the operation unit 1 is displayed.
It is selected by the operation 1 and stored as a style number.

【0017】リズムパターンメモリ12には、図7に示
したようにリズムパターンのパターンデータがスタイル
および楽節タイプに対応して複数種類記憶されている。
各パターンデータは、タイミングのデータと音符コード
または休符コードが対になって1小節分記憶されてお
り、小節の最後にはエンドコードが記憶されている。そ
して、このパターンデータはスタイルナンバSと楽節タ
イプナンバTに応じて参照され、この音符コードに対応
するタイミングにより、バッキングパートを構成するキ
ーコードが演奏データとして生成される。
As shown in FIG. 7, the rhythm pattern memory 12 stores a plurality of types of rhythm pattern data corresponding to styles and passage types.
In each pattern data, a timing data and a note code or a rest code are paired and stored for one measure, and an end code is stored at the end of the measure. The pattern data is referred to in accordance with the style number S and the phrase type number T, and a key code constituting the backing part is generated as performance data at a timing corresponding to the note code.

【0018】ベースパターンメモリ13には、図8に示
したようにベースパターンのパターンデータがスタイル
および楽節タイプに対応して複数種類記憶されている。
各パターンデータは、タイミングのデータとベース音の
キーコードおよびキーオン時間のデータがセットになっ
て1小節分記憶されており、小節の最後にはエンドコー
ドが記憶されている。なお、このベース音のキーコード
は例えばCメジャ調のものが記憶されており、パターン
データをスタイルナンバSと楽節タイプナンバTで参照
し、現在のタイミングのベース音を現在の和音データに
応じて音高変換し、ベースパートを構成するキーコード
が演奏データとして生成される。
As shown in FIG. 8, the base pattern memory 13 stores a plurality of types of base pattern data corresponding to styles and passage types.
In each pattern data, the timing data, the key code of the bass sound and the key-on time data are stored as a set and stored for one bar, and the end code is stored at the end of the bar. The key code of this bass tone is stored in, for example, a C major tone. The pattern data is referred to by the style number S and the phrase type number T, and the bass tone at the current timing is determined according to the current chord data. The pitch is converted, and a key code constituting the bass part is generated as performance data.

【0019】なお、本実施例でいうリズムパターンと
は、音高を含まずタイミングを表すデータで構成される
もののことである。もちろん、タイミングデータに付加
してベロシティデータ等を持っても良いことは言うまで
もない。打楽器の演奏パターンのことをリズムパターン
と称する文献もあるが、本実施例では、これをドラムパ
ターン、ドラムパートのような用語を用いて区別してい
る。
It should be noted that the rhythm pattern referred to in the present embodiment is constituted by data representing a timing without including a pitch. Of course, it goes without saying that velocity data and the like may be added to the timing data. Although there is a literature which refers to a percussion instrument performance pattern as a rhythm pattern, in the present embodiment, this is distinguished by using terms such as a drum pattern and a drum part.

【0020】なお、ドラムパターンメモリ14にはスタ
イルおよび楽節タイプに対応して複数種類のドラムパタ
ーンデータが1小節分記憶されており、設定されたスタ
イルナンバと楽節タイプナンバに応じてドラムパターン
データを選択し、ドラムパートの演奏データとして記憶
される。
A plurality of types of drum pattern data corresponding to one style are stored in the drum pattern memory 14 corresponding to the style and the phrase type, and the drum pattern data is stored in accordance with the set style number and the phrase type number. The selected data is stored as performance data of the drum part.

【0021】前記のようにして生成されるバッキングパ
ートのキーコードとベースパートのキーコードは、いず
れも図9に示したフォーマットでバッキングパートメモ
リ6およびベースパートメモリ7にそれぞれ記憶され
る。すなわち、タイミングのデータ、キーコードおよび
キーオン時間のデータをセットにし、各小節間には小節
線のデータが記憶され、曲の最後にはエンドコードが記
憶される。また、ドラムパートのドラムパターンデータ
は1小節毎に小節線のデータとともにドラムパートメモ
リ8に記憶される。
The key code of the backing part and the key code of the base part generated as described above are stored in the backing part memory 6 and the base part memory 7, respectively, in the format shown in FIG. That is, timing data, key code, and key-on time data are set, bar line data is stored between each bar, and an end code is stored at the end of the song. The drum pattern data of the drum part is stored in the drum part memory 8 together with the bar line data for each measure.

【0022】ここで、この実施例では、ベースパートの
キーコードは前記のようにベースパターンメモリ13の
ベース音を和音に応じて音高変換して生成するが、バッ
キングパートのキーコードについては、和音に応じたト
ップノートをトップノートテーブルメモリ15のトップ
ノートテーブルを参照して生成し、さらに、和音および
トップノートに応じた付加音をボイシングテーブルメモ
リ16のボイシングテーブルを参照して生成する。
Here, in this embodiment, the key code of the bass part is generated by pitch-converting the bass sound of the base pattern memory 13 according to the chord as described above. A top note corresponding to the chord is generated with reference to the top note table of the top note table memory 15, and an additional sound corresponding to the chord and the top note is generated with reference to the voicing table of the voicing table memory 16.

【0023】また、トップノートの生成では、メロディ
メモリ4の演奏データに現在のメロディ音(キーコー
ド)がある場合には和音に応じた候補音から現在のメロ
ディ音に最も近い音をトップノートし、現在のメロディ
音がない場合には和音に応じた候補音からランダム選択
した音をトップノートとする。さらに、これらのトップ
ノートの生成では、リズムパターンの1つのタイミング
の音符に対応する1音のトップノートを生成する場合
と、連続するタイミングの2つの音符に対応する2音ペ
アのトップノートを生成する場合とがある。
In the generation of the top note, if the current melody sound (key code) is included in the performance data in the melody memory 4, a note closest to the current melody sound is selected from candidate sounds corresponding to the chords. If there is no current melody sound, a sound randomly selected from the candidate sounds corresponding to the chords is set as the top note. Further, in the generation of these top notes, a top note of one note corresponding to a note at one timing of the rhythm pattern is generated, and a top note of a two-sound pair corresponding to two notes at continuous timing is generated. There are times when you do.

【0024】図2はトップノートテーブルを示す図であ
り、トップノートテーブルは2音ペアのトップノートを
生成するための2音ペアテーブルと1音のトップノート
を生成するための1音テーブルとで構成されており、各
テーブルはトップノートの候補音(D♯→E,F♯→
G,…:2音ペアの場合、D,E,…:1音の場合)を
和音の種類TP(M,m,7th,…)に対応付けて記憶
している。なお、この実施例では、根音が“C”の和音
(“C”,“Cm”,“C7th”…)についての候補音
が音名コードで記憶されており、この候補音から選択さ
れた音名コードは和音の根音に基づいて音高変換され、
各和音に応じたトップノートのキーコードとされる。
FIG. 2 is a diagram showing a top note table. The top note table includes a two-sound pair table for generating a two-note top note and a one-sound table for generating a one-note top note. Each table has a top note candidate sound (D♯ → E, F♯ →
G,...: In the case of a two-tone pair, D, E,..., In the case of one tone) are stored in association with the chord type TP (M, m, 7th,. In this embodiment, the candidate tones for the chord whose root is “C” (“C”, “Cm”, “C7th”...) Are stored as note name codes, and are selected from these candidate tones. The pitch name code is pitch-converted based on the root of the chord,
It is the key code of the top note corresponding to each chord.

【0025】図3は付加音を生成するためのボイシング
テーブルを示す図であり、ボイシングテーブルは2音ペ
アのトップノートに対応する2セットの付加音1と付加
音2を生成するための2音ペアテーブルと、1音のトッ
プノートに対応する1セットの付加音を生成するための
1音テーブルとで構成されている。各テーブルには、図
2のトップノートテーブルの和音の種類とトップノート
の候補音との組合せに対応する付加音の候補がトップノ
ートからの音高差(“−4”,“−8”,等)を示す付
加音データによって2セットづつ記憶されており、各セ
ットはセットNoによって選択される。なお、このセッ
トNo.1は密集和音(クローズドボイシング)に相当
し、セットNo.2は開和音(オープンボイシング)に
相当する。また、このボイシングテーブルでは、トップ
ノートで参照するために、トップノートと和音の根音
(C)との音高差Dが付加されている。なお、この音高
差Dおよび付加音データは1差が半音に相当する。
FIG. 3 is a diagram showing a voicing table for generating an additional sound. The voicing table includes two sets of additional sounds 1 and 2 corresponding to a top note of a two-sound pair. It is composed of a pair table and a one-sound table for generating one set of additional sounds corresponding to one top note of one sound. In each table, candidates of additional sounds corresponding to combinations of the types of chords in the top note table of FIG. 2 and candidate sounds of the top note are represented by pitch differences (“−4”, “−8”, ) Is stored in each of two sets of additional sound data indicating each set, and each set is selected by a set No. This set No. No. 1 corresponds to a dense chord (closed voicing), and set No. 2 corresponds to an open chord (open voicing). In the voicing table, a pitch difference D between the top note and the root of the chord (C) is added for reference by the top note. In addition, one difference between the pitch difference D and the additional sound data corresponds to a semitone.

【0026】図10は制御プログラムのメインルーチン
のフローチャート、図11〜図18はサブルーチンのフ
ローチャートであり、各フローチャートに基づいて実施
例の動作を説明する。なお、以下の説明および各フロー
チャートにおいて各レジスタ等を下記のラベルで表記
し、それらの内容は特に断らない限り同一のラベルで表
す。
FIG. 10 is a flowchart of a main routine of the control program, and FIGS. 11 to 18 are flowcharts of subroutines. The operation of the embodiment will be described based on each flowchart. In the following description and each flowchart, each register and the like are represented by the following labels, and their contents are represented by the same label unless otherwise specified.

【0027】AD1(j):付加音1の付加音データ/キー
コードAD2(j):付加音2の付加音データ/キーコード
BK(k):バッキングパートメモリのレジスタBKP:バ
ッキングパートメモリの書込みポインタBP:ベースパ
ターンメモリの読出しポインタBS(k) :ベースパート
メモリのレジスタBSP:ベースパートメモリの書込み
ポインタBSPTNS,T (k) :ベースパターンメモリの
S(スタイルナンバ)とT(楽節タイプナンバ)に対応
するレジスタBTMm:セットNo.mの付加音データ
/キーコードの最小値(最低音)(m=1,2)BYM
KC:生成された付加音の最低音のキーコード
AD 1 (j): additional sound data / key code of additional sound 1 AD 2 (j): additional sound data / key code of additional sound 2 BK (k): register BKP of backing part memory: backing part memory Write pointer BP: read pointer of base pattern memory BS (k): register of base part memory BSP: write pointer of base part memory BSPTN S, T (k): S (style number) and T (section) of base pattern memory BTMm corresponding to the type number): Set No. m minimum value of the additional sound data / key code (lowest sound) (m = 1, 2) BYM
KC: Key code of the lowest tone of the generated additional sound

【0028】D:トップノートと和音の根音の音高差 GTM:リズムパターンのゲートタイム(キーオン時
間) i:選択セットNo K:付加音数のカウンタ KC:ベースパートのキーコード MJN:パターンシーケンスメモリの楽節内の小節数カ
ウンタ NC:1音のトップノートの音名コード NC1:2音ペアのトップノートにおける前の音の音名
コード NC2:2音ペアのトップノートにおける後ろの音の音
名コード n:1音/2音ペアのトップノート数(1音:n=1、
2音:n=2)
D: Pitch difference between top note and root of chord GTM: Gate time (key-on time) of rhythm pattern i: Selected set No. K: Counter of number of additional sounds KC: Key code of base part MJN: Pattern sequence Number counter in bars in memory NC: Note name code of top note of one note NC1: Note name code of previous note in top note of two note pair NC2: Note name of last note in top note of two note pair Chord n: Number of top notes in one sound / two sound pairs (one sound: n = 1,
2 sounds: n = 2)

【0029】ORT:前回の和音の根音 OTP:前回の和音の種類 PTN(k) :パターンシーケンスメモリのレジスタ PTNP:パターンシーケンスメモリの読出しポインタ RT:和音の根音 RYTS,T (k) :リズムパターンメモリのS,Tに対応
するレジスタ RYTP:リズムパターンメモリの読出しポインタ S:入力されたスタイルナンバ STYL:入力されたスタイルナンバ T:パターンシーケンスメモリの楽節タイプナンバ TKC:メロディメモリの演奏データにおけるメロディ
のキーコード TP:和音の種類 TPKC:生成された1音のトップノートのキーコード TPKCm:生成された2音ペアのトップノートのキー
コード(m=1:前の音、m=2:後ろの音)
ORT: root of previous chord OTP: type of previous chord PTN (k): register of pattern sequence memory PTNP: read pointer of pattern sequence memory RT: root of chord RYT S, T (k): Registers corresponding to S and T of rhythm pattern memory RYTP: Read pointer of rhythm pattern memory S: Input style number STYL: Input style number T: Phrase type number of pattern sequence memory TKC: Performance data of melody memory Keycode of melody TP: Type of chord TPKC: Keycode of top note generated for one note TPKCm: Keycode of top note generated for two note pair (m = 1: previous sound, m = 2: back) sound of)

【0030】電源の投入等によって図10のメインルー
チンの処理を開始すると、ステップS1で前記図5につ
いて説明したように楽節構成入力の処理を行い、ステッ
プS2で入出力インターフェース9を介してメロディ入
力を行い、ステップS3で入出力インターフェース9を
介してコード進行データの入力を行う。次に、ステップ
S4でスタイル入力の処理を行って入力されたスタイル
ナンバをSTYLに格納し、ステップS5で図11のバ
ッキングパート生成の処理、ステップS6で図17のド
ラムパート生成の処理およびステップS7で図18のベ
ースパート生成の処理をそれぞれ行って処理を終了す
る。
When the processing of the main routine shown in FIG. 10 is started by turning on the power or the like, the processing for inputting the passage composition is performed in step S1 as described with reference to FIG. 5, and the melody is input via the input / output interface 9 in step S2. Is performed, and chord progression data is input via the input / output interface 9 in step S3. Next, in step S4, the style input processing is performed, and the input style number is stored in STYL. In step S5, the backing part generation processing in FIG. 11 is performed. In step S6, the drum part generation processing in FIG. 17 and step S7 are performed. Then, the base part generation process of FIG. 18 is performed, and the process ends.

【0031】図11のバッキングパート生成の処理で
は、パターンシーケンスメモリ(図6)の楽節タイプと
スタイルに応じてリズムパターンメモリ(図7)のパタ
ーンデータを参照するとともに、メロディメモリとコー
ド進行メモリの内容に応じて、トップノートと付加音を
生成し、生成したトップノートと付加音を図9のフォー
マットでバッキングパートメモリに記憶する。また、リ
ズムパターンメモリの小節最後のエンドコードの検出に
より1小節の処理を終了し、小節線コードをバッキング
パートメモリに記憶する。そして、各楽節タイプ毎にそ
の小節数だけ処理を繰り返しパターンシーケンスメモリ
のエンドコードの検出により処理を終了する。
In the backing part generation process of FIG. 11, the pattern data of the rhythm pattern memory (FIG. 7) is referred to in accordance with the phrase type and style of the pattern sequence memory (FIG. 6). A top note and an additional sound are generated according to the content, and the generated top note and the additional sound are stored in the backing part memory in the format shown in FIG. The processing of one measure is terminated by detecting the last end code of the measure in the rhythm pattern memory, and the measure line code is stored in the backing part memory. Then, the process is repeated for each bar type by the number of bars, and the process is terminated by detecting the end code in the pattern sequence memory.

【0032】すなわち、ステップS11でスタイルナン
バSTYLをレジスタSにセットするとともに、パター
ンシーケンスメモリのポインタPTNPとバッキングパ
ートメモリのポインタBKPをリセットし、和音の根音
のレジスタRTにデフォルト値“FFH ”をセットして
ステップS12に進む。
That is, in step S11, the style number STYL is set in the register S, the pointer PTNP of the pattern sequence memory and the pointer BKP of the backing part memory are reset, and the default value "FF H " is set in the chord root register RT. Is set and the process proceeds to step S12.

【0033】次に、ステップS12でパターンシーケン
スメモリの楽節タイプナンバPTN(PTNP)をレジ
スタTにセットするとともにその楽節タイプの小節数P
TN(PTNP+1)をMJNにセットし、ステップS
13以降の処理を行う。そして、ステップS105でポ
インタPTNPを2増加させ、ステップS106でパタ
ーンシーケンスメモリのエンドコードが検出されるまで
ステップS12でレジスタT,MJNを更新しながら処
理を繰り返す。これにより各楽節タイプについて同様の
処理を繰り返し、ステップS106でエンドコードが検
出されるとステップS107でエンドコードをバッキン
グパートメモリに書き込んでバッキングパート生成の処
理を終了してメインルーチンに復帰する。
Next, in step S12, the phrase type number PTN (PTNP) of the pattern sequence memory is set in the register T, and the number of measures P of the phrase type is set.
TN (PTNP + 1) is set in MJN, and step S
Step 13 and subsequent steps are performed. Then, the pointer PTNP is incremented by 2 in step S105, and the process is repeated while updating the registers T and MJN in step S12 until an end code in the pattern sequence memory is detected in step S106. Thus, the same process is repeated for each phrase type. When an end code is detected in step S106, the end code is written in the backing part memory in step S107, the backing part generation process ends, and the process returns to the main routine.

【0034】また、各楽節タイプ毎の処理では、1小節
の頭となるステップS13でリズムパターンメモリのポ
インタRYTPをリセットしてステップS14〜ステッ
プS19で1小節についての処理を行う。ここで、ポイ
ンタRYTPは後述のボイシングの処理により2づつ増
加されるので、図7に示したようにRYTS,T (RYT
P)はタイミングデータかエンドコードである。そこ
で、ステップS14でRYTS,T (RYTP)がエンド
コードであるか否かを判定することによりステップS1
5〜ステップS19の処理を1小節分繰り返し、ステッ
プS14でエンドコードであれば1小節分の処理を終了
してステップS101に抜ける。
In the processing for each phrase type, the pointer RYTP of the rhythm pattern memory is reset in step S13, which is the beginning of one measure, and the processing for one measure is performed in steps S14 to S19. Here, since the pointer RYTP is incremented by two by the voicing process described later, as shown in FIG. 7, RYT S, T (RYT S, T
P) is timing data or end code. Therefore, in step S14, it is determined whether or not RYT S, T (RYTP) is an end code.
The processing of steps 5 to S19 is repeated for one measure. If the end code is obtained in step S14, the processing for one measure is completed, and the process goes to step S101.

【0035】1小節毎の処理では、ステップS15でR
YTS,T (RYTP+1)が音符コードであるか否かを
判定し、音符コードでなければ(例えば休符コードな
ど)ステップS14に戻り、音符コードであればステッ
プS16で和音の根音RTと種類TPをレジスタOR
T,OTPにセットし、ステップS17で音符のタイミ
ングRYTS,T (RYTP)に対応した和音のデータを
コード進行メモリから読出して根音と種類をレジスタR
T,TPに格納する。そして、ステップS18で図12
〜図14のトップノートの処理を行ってトップノートを
生成し、ステップS19で図15および図16のボイシ
ングの処理を行って付加音を生成し、ステップS14に
戻る。
In the processing for each bar, at step S15, R
It is determined whether or not YTS , T (RYTP + 1) is a note code. If it is not a note code (for example, a rest code), the process returns to step S14. If YTS , T (RYTP + 1) is a note code, the process returns to step S16. Type TP to register OR
T, OTP, and at step S17, read chord data corresponding to the note timing RYTS , T (RYTP) from the chord progression memory and register the root note and type in the register R.
Stored in T and TP. Then, in step S18, FIG.
14 to generate a top note, and perform the voicing processing of FIGS. 15 and 16 to generate an additional sound in step S19, and return to step S14.

【0036】上記の1小節の処理が終了する毎にステッ
プS101に抜け、ステップS101では小節数のカウ
ンタMJNを1減数し、ステップS102の判定でMJ
N=0となるまですなわち1つの楽節タイプの残り小節
数MJNが0になるまで、ステップS13〜ステップS
19の処理、ステップS103、ステップS104の各
処理を各小節について繰り返す。なお、ステップS10
3では1小節の終了により小節線コードをバッキングパ
ートメモリBK(BKP)に書き込み、ステップS10
4ではポインタBKPを1増加させて更新する。
Each time the processing of one bar is completed, the process goes to step S101. In step S101, the bar number counter MJN is decremented by one.
Steps S13 to S13 until N = 0, that is, until the number of remaining bars MJN of one passage type becomes zero.
The processing of step 19, steps S103 and S104 are repeated for each bar. Step S10
At 3, the bar line code is written into the backing part memory BK (BKP) at the end of one bar, and step S10
At 4, the pointer BKP is incremented by one and updated.

【0037】図12のトップノートの処理では、先ず、
ステップS21で「ORT=FFHor (ORT=R
T & OTP=TP)」の条件を満足するか否か、す
なわち、今回の音符コードのタイミングに対応した和音
が前回の和音から変化したか否かを判定し、和音が変化
していなければステップS204に進み、変化していれ
ばステップS22に進む。ステップS22では、メロデ
ィメモリを検索して今回の和音のデュレーションタイム
中にメロディがあるか否かを判定し、メロディがあれば
ステップS23以降でそのメロディTKCとトップノー
トテーブルに基づく処理を行い、メロディがなければス
テップS204以降でトップノートテーブルに基づく処
理を行う。
In the processing of the top note in FIG. 12, first,
In step S21, "ORT = FF H or (ORT = R
T & OTP = TP) ", that is, whether or not the chord corresponding to the timing of the current note chord has changed from the previous chord. Proceed to S204, and if it has changed, proceed to Step S22. In step S22, the melody memory is searched to determine whether or not there is a melody during the duration time of the current chord. If there is a melody, a process based on the melody TKC and the top note table is performed in step S23 and thereafter. If not, the process based on the top note table is performed in step S204 and thereafter.

【0038】ステップS23ではBKP>0であるか否
かを判定し、BKP>0でなければすなわち最初のトッ
プノートの生成であればステップS27に進み、BKP
>0すなわち2回目以降のトップノート生成であればス
テップS24に進む。ステップS24では、RYTS,T
(RYTP−1)が音符コードであるか否かすなわちリ
ズムパターンメモリのリズムパターンにおいて今回の音
符コードの前のタイミングのパターンデータが音符コー
ドであるか否かを判定する。そして、音符コードでなけ
ればステップS27に進み、音符コードであればステッ
プS25に進む。
In step S23, it is determined whether or not BKP> 0. If BKP> 0 is not satisfied, that is, if the first top note is generated, the flow advances to step S27 to execute BKP.
If> 0, that is, if the top note is generated for the second time or later, the process proceeds to step S24. In step S24, RYT S, T
It is determined whether or not (RYTP-1) is a note code, that is, whether or not the pattern data at the timing before the current note code in the rhythm pattern in the rhythm pattern memory is a note code. If it is not a note code, the process proceeds to step S27, and if it is a note code, the process proceeds to step S25.

【0039】ここで、前回のパターンデータが音符コー
ドであれば前回の処理で何等かのトップノートが生成さ
れているので、ステップS25でトップノートとしてそ
の音を維持するか否かすなわち同音を連続するかしない
かをランダムに選択し、ステップS26の判定により、
同音連続する場合はそのままもとのルーチンに復帰し、
同音連続しない場合はステップS27以降でトップノー
トを生成する。
Here, if the previous pattern data is a note code, some top note has been generated in the previous processing. Therefore, in step S25, whether or not the sound is to be maintained as the top note, that is, the same sound is continuously Whether to perform or not is selected at random, and according to the determination in step S26,
If the same sound continues, return to the original routine as it is,
If the same sound does not continue, a top note is generated in step S27 and subsequent steps.

【0040】ステップS27ではでは、RYTS,T (R
YTP+3)が音符コードであるか否かすなわち今回の
音符コードの次のタイミングのパターンデータが音符コ
ードであるか否かを判定する。そして、音符コードでな
ければステップS28で1音テーブルに基づいてトップ
ノートを選択し、音符コードであればステップS29で
2音テーブルと1音テーブルに基づいてトップノートを
選択する。
In step S27, RYT S, T (R
It is determined whether or not (YTP + 3) is a note code, that is, whether or not the pattern data at the timing following the current note code is a note code. If it is not a note code, the top note is selected based on the one note table in step S28, and if it is a note code, the top note is selected based on the two note table and one note table in step S29.

【0041】すなわち、ステップS28では、トップノ
ートテーブルの1音テーブルから現在の和音の種類TP
に応じた候補音名群を選択し、その中から和音の根音で
音高シフトしたときに所定音域内で現在の和音のデュレ
ーションタイム内のメロディTKCに最も近くなる音を
選択する。そして、選択した音の音名コードをステップ
S201でNCに格納し、図14のステップS220に
進む。また、ステップS29では、トップノートテーブ
ルの2音ペアテーブルから和音の種類TPに応じた前の
音の音名群を選択するとともに、1音テーブルから和音
の種類TPに応じた候補音名群を選択し、この両方の音
名群の中から和音の根音で音高シフトしたときに所定音
域内でメロディTKCに最も近くなる音を選択する。
That is, in step S28, the current chord type TP is read from the one-note table of the top note table.
Is selected from the candidate tone names corresponding to the melody TKC within the predetermined chord when the pitch is shifted by the root of the chord. Then, the note name code of the selected sound is stored in the NC in step S201, and the process proceeds to step S220 in FIG. In step S29, a note name group corresponding to the chord type TP is selected from the two note pair table of the top note table, and a candidate note name group corresponding to the chord type TP is selected from the single note table. Then, a sound which is closest to the melody TKC within a predetermined range when the pitch is shifted by the root of a chord is selected from both of these note names.

【0042】そして、ステップS202で、選択された
音が2音ペアテーブルからのものであるあ否かを判定
し、1音テーブルのものであればステップS201に進
み、2音ペアテーブルのものであれば、ステップS20
3で、選択された前の音の音名コードをNC1に格納す
るとともに、この音とペアを成す後ろの音の音名コード
をNC2に格納し、図13のステップS213に進む。
In step S202, it is determined whether or not the selected sound is from the two-sound pair table. If there is, step S20
In step 3, the note name code of the selected previous sound is stored in NC1, and the note name code of the subsequent sound paired with this sound is stored in NC2, and the process proceeds to step S213 in FIG.

【0043】一方、ステップS204、ステップS20
5、ステップS206およびステップS207の処理で
は、ステップS23、ステップS24、ステップS25
およびステップS26の処理と同様に、同音連続するか
しないかのランダム選択処理を行い、同音連続する場合
はそのままもとのルーチンに復帰し、同音連続しない場
合はステップS208に進む。ステップS208では、
RYTS,T (RYTP+3)が音符コードであるか否か
すなわち次のパターンデータが音符コードであるか否か
を判定し、音符コードでなければステップS209に進
み、音符コードであればステップS210に進む。
On the other hand, step S204, step S20
5. In the processing of steps S206 and S207, steps S23, S24, and S25
Similarly to the processing in step S26, a random selection process is performed to determine whether or not the sound is continuous. If the sound is continuous, the process returns to the original routine. If the sound is not continuous, the process proceeds to step S208. In step S208,
It is determined whether or not RYT S, T (RYTP + 3) is a note code, that is, whether or not the next pattern data is a note code. If it is not a note code, the process proceeds to step S209. If it is a note code, the process proceeds to step S210. move on.

【0044】ステップS209では、トップノートテー
ブの1音テーブルから和音の種類TPに応じた候補音名
群を選択し、その候補音名群からランダムに音名を選択
し、選択された音名をNCに格納して図14のステップ
S220に進む。また、ステップS210では、2音ペ
アにするか1音にするかをランダムに選択し、ステップ
S211の判定で1音であればステップS209の処理
を行い、2音ペアであればステップS212で2音ペア
テーブルから和音の種類TPに応じた候補音名群を選択
し、その候補音名群の中から2音ペアをセットにしてラ
ンダム選択し(ペアが1組の場合はそのペアを選択
し)、選択された2音ペアの前の音の音名コードをNC
1に格納するとともに後の音の音名コードをNC2に格
納し、図13のステップS213に進む。
In step S209, a candidate note name group corresponding to the chord type TP is selected from the one-note table of the top note table, a note name is randomly selected from the candidate note name group, and the selected note name is entered. NC, and the process proceeds to step S220 in FIG. In step S210, a two-sound pair or a single sound is randomly selected. If it is determined in step S211 that there is one sound, the process of step S209 is performed. A candidate tone name group corresponding to the chord type TP is selected from the tone pair table, and two tone pairs are set as a set from the candidate tone name groups and randomly selected (if the number of pairs is one, the pair is selected. ), The note name code of the sound before the selected two-sound pair is NC
1 and the note name code of the subsequent sound is stored in NC2, and the process proceeds to step S213 in FIG.

【0045】図13のステップS213以降は2音ペア
の場合の処理であり、先ず、ステップS213でレジス
タnに2をセットし、ステップS214で音名コードN
C1,NC2を和音の根音RTによって現在の和音に応
じた音名コードに変換し、ステップS215でBKP>
0であるか否か、すなわち、最初のトップノート生成で
あるか否かを判定する。BKP>0でなければ最初のト
ップノート生成であるので、ステップS216で所定音
域内で音名がNC1であるキーコードをランダムに選択
して前のトップノートとしてレジスタTPKC1に格納
し、ステップS218に進む。また、BKP>0であれ
ば2回目以降のトップノート生成であるので、ステップ
S217で前回のトップノートTPCKに対して所定音
域内で最も近い音で音名がNC1であるキーコード(2
つあるときは低い方)を前のトップノートとしてレジス
タTPKC1に格納し、ステップS218に進む。
Step S213 and subsequent steps in FIG. 13 are processing for a two-sound pair. First, in step S213, 2 is set in the register n, and in step S214, the note name code N
C1 and NC2 are converted into a note name code corresponding to the current chord by the chord root RT, and in step S215, BKP>
It is determined whether or not the number is 0, that is, whether or not the first top note is generated. If BKP is not greater than 0, the first top note is generated. Therefore, in step S216, a key code having a note name of NC1 is randomly selected within a predetermined range and stored in the register TPKC1 as the previous top note. move on. If BKP> 0, the top note is generated for the second and subsequent times, and therefore, in step S217, the key code (2) whose pitch is NC1 and which is closest to the previous top note TPCK in the predetermined range.
Is stored in the register TPKC1 as the previous top note, and the process proceeds to step S218.

【0046】ステップS218では前のトップノートT
PKC1に対して所定音域内で最も近い音で音名がNC
2であるキーコード(2つあるときは低い方)を後のト
ップノートとしてレジスタTPKC2に格納し、さら
に、ステップS219でこのトップノートTPKC2を
次回の処理に対する前回のトップノートとしてレジスタ
TPKCに格納し、元のルーチンに復帰する。
In step S218, the previous top note T
The tone that is closest to PKC1 in the predetermined range and whose name is NC
The key code 2 (lower when there are two) is stored in the register TPKC2 as a later top note, and in step S219, this top note TPKC2 is stored in the register TPKC as the previous top note for the next processing. And return to the original routine.

【0047】図14のステップS220以降は1音の場
合の処理であり、先ず、ステップS220でレジスタn
に1をセットし、ステップS221で音名コードNCを
和音の根音RTによって現在の和音に応じた音名コード
に変換し、ステップS222でBKP>0であるか否か
を判定する。BKP>0でなければ最初のトップノート
生成であるのでステップS223で所定音域内で音名が
NCであるキーコードをランダムに選択してトップノー
トとしてレジスタTPKCに格納し、元のルーチンに復
帰する。また、BKP>0であれば2回目以降のトップ
ノート生成であるのでステップS224で前回のトップ
ノートTPCKに対して所定音域内で最も近い音で音名
がNCであるキーコード(2つあるときは低い方)をト
ップノートとしてレジスタTPKCに格納し、元のルー
チンに復帰する。
The process after step S220 in FIG. 14 is a process for one tone.
Is set to 1 and the pitch name code NC is converted into a pitch name code corresponding to the current chord by the root chord RT of the chord in a step S221, and it is determined whether or not BKP> 0 in a step S222. If BKP is not greater than 0, the first top note is generated, so in step S223, a key code whose note name is NC in a predetermined range is randomly selected and stored in the register TPKC as the top note, and the routine returns to the original routine. . If BKP> 0, the top note is generated for the second time or later, and in step S224, the key code whose tone is NC and which is the tone closest to the previous top note TPCK in the predetermined range is NC (when there are two). Is stored in the register TPKC as the top note, and the process returns to the original routine.

【0048】以上のトップノートの処理により、2音ペ
アまたは1音のトップノートが生成される。そして、2
音ペアのトップノートが生成されたときは前のトップノ
ートのキーコードがレジスタTPKC1に格納されると
ともに、後のトップノートのキーコードがレジスタTP
KC2とレジスタTPKCに格納され、1音のトップノ
ートが生成されたときはそのトップノートのキーコード
がレジスタTPKCに格納される。また、これによって
次回の処理に対する前回のトップノートのキーコードが
レジスタTPKCに保持される。
By the above-described processing of the top note, a two-note pair or a one-note top note is generated. And 2
When the top note of the sound pair is generated, the key code of the previous top note is stored in the register TPKC1, and the key code of the next top note is stored in the register TPKC1.
The key code of the top note is stored in the register TPKC when the top note of one sound is generated. In addition, the key code of the previous top note for the next processing is held in the register TPKC.

【0049】図15のボイシングの処理では、得られた
トップノートに対するハーモニー音(付加音)を付ける
処理を行う。この処理では、付加音の有する音域が急変
して不自然にならないように、付加音の最低音(ボトム
音)のつながりにも着目して処理される。まず、ステッ
プ31でn=2であるか否かを判定し、n=2でなけれ
ば1音のトップノートを生成された場合であるので、ス
テップS32以降で1音による付加音の生成を行い、n
=2であれば2音ペアのトップノートが生成された場合
であるので、ステップS302以降で2音ペアによる付
加音の生成を行う。
In the voicing process of FIG. 15, a process of adding a harmony sound (additional sound) to the obtained top note is performed. In this processing, processing is performed by focusing on the connection of the lowest sound (bottom sound) of the additional sound so that the range of the additional sound does not suddenly change and becomes unnatural. First, it is determined in step 31 whether or not n = 2. If n = 2, it means that a top note of one sound has been generated. Therefore, an additional sound is generated by one sound in step S32 and thereafter. , N
If = 2, it means that the top note of the two-sound pair has been generated, and the additional sound is generated by the two-sound pair in step S302 and thereafter.

【0050】ステップS31で1音の場合は、ステップ
S32で前のトップノートTPKCと和音の根音RTの
音高差をレジスタDにセットし、ステップS33でBK
P>0であるか否かを判定する。BKP>0でなければ
最初の付加音生成であるので、ステップS34でボイシ
ングテーブル(1音テーブル)のセットNoの“1”ま
たは“2”の何れかをランダム選択してレジスタiにセ
ットし、ステップS38に進む。
If there is one note in step S31, the pitch difference between the previous top note TPKC and the root RT of the chord is set in the register D in step S32, and the BK difference is set in step S33.
It is determined whether or not P> 0. If BKP is not greater than 0, the first additional sound is generated. Therefore, in step S34, either "1" or "2" of the set number of the voicing table (single sound table) is randomly selected and set in the register i. Proceed to step S38.

【0051】ステップS33でBKP>0であれば最初
の付加音生成でないので、ステップS35で、ボイシン
グテーブル(1音テーブル)から和音の種類TPと音高
差Dに応じてセットNo.1とセットNo.2について
付加音データの最小値(絶対値は最大)をそれぞれ読出
し、セットNo.1の付加音データをレジスタBTM1
に格納するとともに、セットNo.2の付加音データを
レジスタBTM2に格納する。これによって、最低音の
候補音がセットNo.1およびセットNo.2から選ば
れる。
If BKP> 0 in step S33, it is not the first additional sound generation. Therefore, in step S35, the set No. is determined from the voicing table (single sound table) according to the chord type TP and the pitch difference D. 1 and set No. 1 The minimum value (absolute value is maximum) of the additional sound data is read out for each of 1 additional sound data in the register BTM1.
And the set No. 2 is stored in the register BTM2. Thereby, the candidate sound of the lowest sound is set No. 1 and set No. 1 Choose from two.

【0052】次に、ステップS36で、トップノートT
PKCに付加音データBTM1とBTM2をそれぞれ加
算して付加音の絶対音高のキーコードに変換し、セット
No.1の付加音のキーコードをレジスタBTM1に格
納するとともに、セットNo.2の付加音のキーコード
をレジスタBTM2に格納する。そして、ステップS3
7で、BTM1とBTM2のうち前回の付加音BTMK
C(付加音の最小キーコード)に近いキーコード(同じ
音程差のときは低い方)となる方を選択し、その選択さ
れた方に対応するセットNo(選択セットNo)をレジ
スタiに格納し、ステップS38に進む。これによって
最低音は前の最低音に対して大きな音高差がなるべく生
じないように密集和音か開和音かが決められる。
Next, in step S36, the top note T
Each of the additional sound data BTM1 and BTM2 is added to the PKC and converted to a key code of the absolute pitch of the additional sound. In addition to storing the key code of the additional sound of No. 1 in the register BTM1, The key code of the additional sound 2 is stored in the register BTM2. Then, step S3
7, the previous additional sound BTMK of BTM1 and BTM2
A key code that is closer to C (the minimum key code of the additional sound) (lower when the pitch difference is the same) is selected, and the set No. (selected set No.) corresponding to the selected one is stored in the register i. Then, the process proceeds to step S38. Thus, the lowest note is determined to be a dense chord or an open chord so as to minimize a large pitch difference from the preceding lowest note.

【0053】ステップS38では、ボイシングテーブル
(1音テーブル)から、和音の種類TPと音高差Dに応
じてセットNo.i(選択セットNo)の付加音データ
を読出し、各付加音データをレジスタAD1(j)(j=0
〜付加音数−1)に順次格納するとともに、ステップS
39で、トップノートTPKCに付加音データAD1(j)
をそれぞれ加算して選択セットNo.iの付加音のキー
コードをレジスタAD 1(j)に順次書き直し、トップノー
トから最低音までの全5音乃至4音のバッキングパート
のボイシング(用いる音高の組合せ)が決定される。次
に、ステップS301で選択セットNo.iの付加音の
キーコードBTMiを次回の処理に対する前回の最低音
の付加音としてレジスタBTMKCに格納するとともに
トップノートTPKCをレジスタTPKC1に格納し、
図16のステップS311に進む。
In step S38, the voicing table
(One-tone table), responds to chord type TP and pitch difference D
Set No. Additional sound data of i (selection set No.)
Is read, and each additional sound data is stored in the register AD.1(j) (j = 0
To the number of additional sounds -1), and
39, the additional sound data AD is added to the top note TPKC.1(j)
Are added to the selected set No. Key of additional sound of i
Register code AD 1(j), and rewrite
Backing part of 5 to 4 sounds from the first to the lowest
(A combination of pitches to be used) is determined. Next
In step S301, the selected set No. i additional sound
Key code BTMi is set to the last lowest tone for the next process
And stored in register BTMKC as additional sound
Store the top note TPKC in the register TPKC1,
The process proceeds to step S311 in FIG.

【0054】一方、ステップS31で2音ペアの場合
は、ステップS302で前のトップノートTPKC1と
和音の根音RTの音高差をレジスタDにセットし、ステ
ップS303でBKP>0であるか否かを判定する。B
KP>0でなければ最初のトップノート生成であるの
で、ステップS304でボイシングテーブル(2音ペア
テーブル)のセットNoの“1”または“2”の何れか
をランダム選択してレジスタiにセットし、ステップS
308に進む。
On the other hand, in the case of a two tone pair in step S31, the pitch difference between the previous top note TPKC1 and the chord root RT is set in the register D in step S302, and in step S303 whether BKP> 0 is satisfied. Is determined. B
If KP is not greater than 0, the first top note is generated. Therefore, in step S304, either "1" or "2" of the set number of the voicing table (two-tone pair table) is randomly selected and set in the register i. , Step S
Proceed to 308.

【0055】ステップS303でBKP>0であれば最
初の付加音生成でないので、ステップS305で、ボイ
シングテーブル(2音ペアテーブル)から和音の種類T
Pと音高差Dに応じて付加音1のセットNo.1とセッ
トNo.2について付加音データの最小値をそれぞれ読
出し、セットNo.1の付加音データをレジスタBTM
1に格納するとともに、セットNo.2の付加音データ
をレジスタBTM2に格納する。
If BKP> 0 in step S303, it is not the first additional sound generation, so in step S305, the chord type T is obtained from the voicing table (two-tone pair table).
Set No. of additional sound 1 according to P and pitch difference D. 1 and set No. 1 The minimum value of the additional sound data for each of the set Nos. 1 additional sound data in register BTM
1 and the set No. 2 is stored in the register BTM2.

【0056】次に、ステップS306で、ステップS3
6と同様にセットNo.1の付加音データBTM1とセ
ットNo.2の付加音データBTM2をそれぞれ絶対音
高のキーコードに変換してレジスタBTM1とレジスタ
BTM2に格納し、ステップS307で、BTM1とB
TM2のうち前回の最低音の付加音BTMKCに近いキ
ーコード(同じ音程差のときは低い方)となる方を選択
し、その選択された方に対応するセットNo(選択セッ
トNo)をレジスタiに格納し、ステップS308に進
む。
Next, in step S306, step S3
No. 6 in the same manner as in Set No. 6. 1 and the additional sound data BTM1 of the set No. 1 2 is converted into the key code of the absolute pitch and stored in the registers BTM1 and BTM2.
From TM2, a key code that is close to the last additional sound BTMKC of the last tone (lower when the pitch difference is the same) is selected, and a set No. (selected set No.) corresponding to the selected one is registered in register i. And the process proceeds to step S308.

【0057】ステップS308では、ボイシングテーブ
ル(2音ペアテーブル)から、和音の種類TPと音高差
Dに応じて選択セットNo.iの付加音1と付加音2の
各付加音データを読出し、付加音1の各付加音データを
レジスタAD1(j)(j=0〜付加音数−1)に順次格納
するとともに、付加音2の各付加音データをレジスタA
1(j)に順次格納するとともに、ステップS309で、
前のトップノートTPKC1に付加音データAD1(j)を
加算して付加音1の付加音データをキーコードにそれぞ
れ変換し、それぞれレジスタAD1(j)に格納する。ま
た、後ろのトップノートTPKC2に付加音データAD
2(j)を加算して付加音2の付加音データをキーコードに
それぞれ変換し、それぞれレジスタAD2(j)に格納す
る。こうして、2音ペアのバッキング音の流れに対し
て、その付加音と、全4つの付加音がそれぞれ2音ペア
として流れをもったボイシングで決定される。そして、
ステップS310で後ろの付加音2のキーコードAD
2(j)の最小値を次回の処理に対する前回の最低音の付加
音としてレジスタBTMKCに格納し、図16のステッ
プS311に進む。
In step S308, the selected set No. is selected from the voicing table (two-tone pair table) according to the chord type TP and the pitch difference D. The additional sound data of the additional sound 1 and the additional sound 2 of i are read out, and the additional sound data of the additional sound 1 are sequentially stored in the register AD 1 (j) (j = 0 to the number of additional sounds−1). Register each additional sound data of sound 2 in register A
D 1 (j), and in step S309,
The additional sound data AD 1 (j) is added to the previous top note TPKC1, the additional sound data of the additional sound 1 is converted into a key code, and stored in the register AD 1 (j). In addition, the additional sound data AD is stored in the back top note TPKC2.
2 (j) is added to convert the additional sound data of the additional sound 2 into key codes, respectively, and stored in the register AD 2 (j). In this way, with respect to the flow of the backing sound of the two-sound pair, the additional sound and all four additional sounds are determined by voicing having a flow as a two-sound pair. And
In step S310, the key code AD of the subsequent additional sound 2
2 The minimum value of (j) is stored in the register BTMKC as an additional sound of the previous lowest sound for the next processing, and the flow advances to step S311 in FIG.

【0058】以上の処理により、トップノートの2音ペ
アに対応する2音ペアの付加音のセットまたは1音に対
応する付加音のセットが生成され、2音ペアの付加音が
生成されたときは、前の付加音のキーコードがレジスタ
AD1(j)にそれぞれ格納されるとともに、後の付加音の
キーコードがレジスタAD2(j)2にそれぞれ格納され
る。また、1音の付加音が生成されたときはその付加音
のキーコードがレジスタAD1(j)にそれぞれ格納され
る。また、次回の処理に対する前回の付加音の最低音が
キーコードがレジスタBTMKCに格納されることにな
る。
By the above processing, a set of additional sounds of two sound pairs corresponding to the two sound pairs of the top note or a set of additional sounds corresponding to one sound is generated, and the additional sound of the two sound pairs is generated. The key code of the preceding additional sound is stored in the register AD 1 (j), and the key code of the subsequent additional sound is stored in the register AD 2 (j) 2. When one additional sound is generated, the key code of the additional sound is stored in the register AD 1 (j). In addition, the key code of the lowest sound of the preceding additional sound for the next processing is stored in the register BTMKC.

【0059】図16の処理では、ステップS311でレ
ジスタmに1をセットし、ステップS312でリズムパ
ターンの次のデータまでの時間(次のタイミングまでの
時間)をレジスタGTMに格納し、ステップS313で
この時間GTMを0.8倍してバッキングパートのゲー
ト時間としてレジスタGTMに格納し、ステップS31
4以降の処理を行う。なお、ステップS314以降の処
理は、ステップS322の判定により、トップノートと
付加音を1音で生成したとき(n=1)は1回行い、2
音ペアで生成されたとき(n=2)は2回行われる。
In the processing shown in FIG. 16, 1 is set in the register m in step S311, and the time until the next data of the rhythm pattern (time until the next timing) is stored in the register GTM in step S312. This time GTM is multiplied by 0.8 and stored in the register GTM as the gate time of the backing part.
4 and subsequent processes are performed. Note that the processing after step S314 is performed once when the top note and the additional sound are generated by one sound (n = 1) according to the determination in step S322.
When a sound pair is generated (n = 2), it is performed twice.

【0060】まず、ステップS314で、バッキングパ
ートメモリのレジスタBK(BKP)にタイミングRY
S,T (RYTP)を格納し、レジスタBK(BKP+
1)にトップノートTPKCmを格納し、レジスタBK
(BKP+2)にゲート時間GTMを格納する。そし
て、ステップS315でバッキングパートメモリのポイ
ンタBKPを3増加させてステップS316で付加音数
のカウンタKをリセットする。
First, at step S314, the timing RY is stored in the register BK (BKP) of the backing part memory.
T S, T (RYTP) is stored, and the register BK (BKP +
1) stores the top note TPKCm in the register BK
The gate time GTM is stored in (BKP + 2). Then, in step S315, the pointer BKP of the backing part memory is increased by 3, and in step S316, the counter K for the number of additional sounds is reset.

【0061】次に、ステップS317で、バッキングパ
ートメモリのレジスタBK(BKP)にタイミングRY
S,T (RYTP)を格納し、レジスタBK(BKP+
1)に付加音ADm(K) を格納し、レジスタBK(BK
P+2)にゲート時間GTMを格納する。そして、ステ
ップS318で付加音数のカウンタKを1増加するとと
もにバッキングパートメモリのポインタBKPを3増加
させ、ステップS319でKが付加音数に達したか否か
を判定し、付加音数に達していなければステップS31
7に戻り、付加音数に達していればステップS320に
進む。
Next, at step S317, the timing RY is stored in the register BK (BKP) of the backing part memory.
T S, T (RYTP) is stored, and the register BK (BKP +
The additional sound ADm (K) is stored in 1), and the register BK (BK
The gate time GTM is stored in (P + 2). Then, in step S318, the counter K for the number of additional sounds is incremented by 1 and the pointer BKP in the backing part memory is increased by 3. In step S319, it is determined whether or not K has reached the number of additional sounds. If not, step S31
7, and if the number of additional sounds has been reached, the process proceeds to step S320.

【0062】次に、ステップS320でリズムパターン
メモリのポインタRYTPを2増加させ、S321でレ
ジスタmを1増加させてステップS322でm>nであ
るか否かを判定し、m>nでなければ2音ペアで後ろの
音についての処理が残っているのでステップS314に
戻り、m>nであれば1音または2音ペアの後ろの音に
ついて処理が終了したので元のルーチン(バッキングパ
ート生成)に戻る。
Next, at step S320, the pointer RYTP of the rhythm pattern memory is incremented by 2, and at step S321, the register m is incremented by 1 to determine at step S322 whether or not m> n. The process returns to step S314 because the process for the back sound in the two-sound pair remains, and if m> n, the process for the back sound of the one or two-sound pair has been completed, so the original routine (backing part generation) Return to

【0063】以上の処理により、リズムパターンメモリ
の音符コードのタイミングに対応して、1音のトップノ
ートと1音のセットの付加音または2音ペアのトップノ
ートと2音ペアのセットの付加音が生成され、ゲート時
間とともにバッキングパートメモリに格納される。な
お、これらの処理(トップノート,ボイシング)は、図
11(ステップS18,ステップS19)に示したよう
に、バッキングパート生成の処理内で1小節毎にリズム
パターンメモリの或るタイミングの音符コードに対応し
て行われる処理であり、このバッキングパート生成の処
理が終了すると、各小節および各楽節タイプに応じたト
ップノートと付加音が楽曲全体について生成される。
According to the above processing, the additional sound of the set of one note and the set of two notes, or the additional note of the set of two notes and the set of two notes, corresponding to the timing of the note code in the rhythm pattern memory. Is generated and stored in the backing part memory together with the gate time. As shown in FIG. 11 (steps S18 and S19), these processes (top note, voicing) are performed on a note code at a certain timing in the rhythm pattern memory for each bar in the backing part generation process. When the backing part generation process is completed, a top note and additional sound corresponding to each bar and each passage type are generated for the entire music.

【0064】図17のドラムパート生成の処理では、ス
テップS41でパターンシーケンスメモリのポインタP
TNPをリセットし、ステップS42でドラムパートメ
モリをクリアする。次に、ステップS43でパターンシ
ーケンスメモリの楽節タイプナンバPTN(PTNP)
をレジスタTにセットするとともにその楽節タイプの小
節数PTN(PTNP+1)をMJNにセットし、ステ
ップS48でポインタPTNPを2増加させてステップ
S49でパターンシーケンスメモリのエンドコードが検
出されるまでステップS43でレジスタT,MJNを更
新しながら、ステップS44〜ステップS49の処理を
各楽節について繰り返す。
In the drum part generation process shown in FIG. 17, the pointer P in the pattern sequence memory is
The TNP is reset, and the drum part memory is cleared in step S42. Next, in step S43, the phrase type number PTN (PTNP) in the pattern sequence memory
Is set in the register T, the number of measures PTN (PTNP + 1) of the passage type is set in MJN, the pointer PTNP is increased by 2 in step S48, and the end code of the pattern sequence memory is detected in step S49 in step S43. The process of steps S44 to S49 is repeated for each phrase while updating the registers T and MJN.

【0065】ステップS44では、スタイルナンバSと
楽節タイプナンバTに対応する1小節のドラムパターン
をドラムパターンメモリに追加記憶し、ステップS45
で小節数のカウンタMJNを1減数して、ステップS4
6でMJN=0であるか否かを判定する。そして、MJ
N=0でなければステップS47で小節線コードをドラ
ムパートメモリのデータの最後に書き込んでステップS
44に戻り、MJN=0であればその楽節の各小節の処
理が終了したのでステップS48に抜ける。そして、各
楽節について同様の処理を繰り返し、ステップS49で
エンドコードが検出されるとメインルーチンに復帰す
る。
In step S44, the drum pattern of one measure corresponding to the style number S and the phrase type number T is additionally stored in the drum pattern memory.
In step S4, the counter MJN of the number of measures is decremented by one.
At 6, it is determined whether or not MJN = 0. And MJ
If N = 0, the bar code is written at the end of the data in the drum part memory in step S47, and step S47 is executed.
Returning to step S44, if MJN = 0, the processing of each measure of the passage has been completed, and the flow goes to step S48. Then, the same processing is repeated for each passage. When the end code is detected in step S49, the process returns to the main routine.

【0066】以上のドラムパート生成の処理により、各
楽節のタイプに応じた1小節分のドラムパターンが各楽
節毎のその小節数だけ繰り返されて記録され、各小節の
間には小節線コードが記録される。
By the above-described drum part generation processing, a drum pattern for one measure corresponding to the type of each measure is repeated and recorded by the number of measures for each measure, and a measure line code is inserted between measures. Be recorded.

【0067】図18のベースパート生成の処理では、先
ず、ステップS51でパターンシーケンスメモリのポイ
ンタPTNPをリセットするとともに、ステップS52
でベースパートメモリのポインタBSPをリセットし、
ステップS53以降の処理を各楽節タイプ毎に繰り返
す。すなわち、ステップS53でパターンシーケンスメ
モリの楽節タイプナンバPTN(PTNP)をレジスタ
Tにセットするとともにその楽節タイプの小節数PTN
(PTNP+1)をMJNにセットし、ステップS50
4でポインタPTNPを2増加し、ステップS505で
パターンシーケンスメモリのエンドコードが検出される
までステップS53でレジスタT,MJNを更新しなが
らステップS54〜ステップS503の処理を楽節タイ
プ毎に行う。
In the base part generation process of FIG. 18, first, in step S51, the pointer PTNP in the pattern sequence memory is reset, and in step S52
To reset the pointer BSP in the base part memory,
The processing after step S53 is repeated for each phrase type. That is, in step S53, the phrase type number PTN (PTNP) of the pattern sequence memory is set in the register T, and the number of measures PTN of the phrase type is stored.
(PTNP + 1) is set in MJN, and step S50
In step 4, the pointer PTNP is increased by 2, and the processing in steps S54 to S503 is performed for each phrase type while updating the registers T and MJN in step S53 until the end code of the pattern sequence memory is detected in step S505.

【0068】また、各楽節タイプ毎の処理では、1小節
の頭となるステップS54でベースパターンメモリのポ
インタBPをリセットしてステップS55〜ステップS
501で1小節についての処理を行う。そして、1小節
毎の処理では、ステップS55でベースパターンメモリ
のキーコードBSPTNS,T (BP+1)をレジスタK
Cにセットし、ステップS56でこのキーコードKCの
タイミングBSPTN S,T (BP)に対応した和音のデ
ータをコード進行メモリから読出して根音と種類をレジ
スタRT,TPに格納する。
In the processing for each passage type, one bar
In step S54, which is the head of
Reset the inter BP and execute steps S55 to S
At 501, processing for one measure is performed. And one bar
In each process, the base pattern memory
Key code BSPTNS, T(BP + 1) to the register K
C, and in step S56, the key code KC
Timing BSPTN S, TChord data corresponding to (BP)
Data from the chord progression memory and register the root tone and type.
It is stored in the star RT, TP.

【0069】次に、ステップS57でキーコードKCを
和音の根音RTと種類TPに応じて音高変換してレジス
タKCにセットし、ステップS58でベースパートメモ
リのレジスタBS(BSP)にタイミングBSPTN
S,T (BP)を格納し、レジスタBS(BSP+1)に
キーコードKCを格納し、レジスタBS(BSP+2)
にキーオン時間BSPTNS,T (BP+2)を格納す
る。そして、ステップS59でベースパートメモリの書
込みポインタBSPとベースパターンメモリの読出しポ
インタBPをそれぞれ3増加させ、ステップS501で
BSPTNS,T (BP)がエンドコードであるか否かを
判定する。
Next, in step S57, the key code KC is pitch-converted according to the root chord RT and type TP of the chord and set in the register KC. In step S58, the timing BSPTN is stored in the register BS (BSP) of the base part memory.
S, T (BP) is stored, the key code KC is stored in the register BS (BSP + 1), and the register BS (BSP + 2) is stored.
The key-on time BSPTN S, T (BP + 2). Then, in step S59, the write pointer BSP of the base part memory and the read pointer BP of the base pattern memory are each increased by 3, and in step S501, it is determined whether or not BSPTN S, T (BP) is an end code.

【0070】ステップS501でエンドコードが検出さ
れなければステップS55に戻って1小節内の処理を続
け、エンドコードが検出されれば、ステップS502で
小節数のカウンタMJNを1減数して、ステップS50
3でMJN=0であるか否かを判定する。そして、MJ
N=0でなければステップS54に戻り、MJN=0で
あればその楽節の各小節の処理を終了する。そして、各
楽節について同様の処理を繰り返し、ステップS505
でパターンシーケンスメモリのエンドコードが検出され
るとメインルーチンに復帰する。
If the end code is not detected in step S501, the process returns to step S55 to continue the processing within one measure. If the end code is detected, the measure number counter MJN is decremented by one in step S502.
At 3, it is determined whether MJN = 0. And MJ
If N = 0, the process returns to step S54, and if MJN = 0, the processing of each measure of the passage ends. Then, the same processing is repeated for each passage, and step S505
When the end code of the pattern sequence memory is detected in step (5), the process returns to the main routine.

【0071】以上のようにして、バッキングパートメモ
リ6、ベースパートメモリ7およびドラムパートメモリ
8に各パートの演奏データが生成される。なお、最終的
に作成された一曲分の複数パートの演奏データは、どの
ような形式で出力してもよい。
As described above, the performance data of each part is generated in the backing part memory 6, the base part memory 7, and the drum part memory 8. The finally created performance data of a plurality of parts for one music may be output in any format.

【0072】トップノートと付加音の音高は和音だけに
応じて決定するようにしてもよいが、この実施例ではメ
ロディと和音データに基づいてトップノートと付加音の
音高を決定するようにしているので、和音に適した演奏
データが生成される。
Although the pitch of the top note and the pitch of the additional sound may be determined according to only the chord, in this embodiment, the pitch of the top note and the pitch of the additional sound are determined based on the melody and chord data. Therefore, performance data suitable for the chord is generated.

【0073】メロディに対する他のパートの音楽的な制
約の点では、和音やメロディの調性によって使用可能な
音高はある程度限られるが、1音ずつ独立に音高を選択
する場合には、あまり使用してはいけない音高を頻繁に
選択してしまうこともあり、また、これを避けるように
する選択可能な音高が限定されてしまうので自然が演奏
データが得られない。しかし、本実施例では、2音ペア
の連続した音高を選択できるようになっており、このう
ち前の1音はあまり使用してはいけないが短時間ならよ
いとされるいわゆる装飾音として使用できるようにして
おり、1音ずつ独立に音高を選択する場合よりも選択可
能な音高が増し、自然な演奏データが得られる。
In terms of musical restrictions of other parts to the melody, usable pitches are limited to some extent by the chords and the tonality of the melody. In some cases, pitches that should not be used are frequently selected, and the selectable pitches to avoid this are limited, so that performance data cannot be obtained naturally. However, in this embodiment, it is possible to select a continuous pitch of a two-tone pair. Of these, the previous one should not be used much, but is used as a so-called decorative sound which is good for a short time. This makes it possible to select more pitches than when pitches are independently selected one by one, thereby obtaining natural performance data.

【0074】ところで、トップノート生成に注目すれ
ば、これはメロディに対する対旋律となっていことが理
解できよう。すなわち、この技術は対旋律の生成手法と
して用いることができるものである。
By looking at the generation of the top note, it can be understood that this is a counter melody to the melody. That is, this technique can be used as a countermeasure generation method.

【0075】なお、2音ペアのトップノートとして連続
した同じ音が選択されたとき、付加音として前の音と後
ろの音とで異なる音高の付加音を選択するようにしても
よい。この場合、同音が連続した場合の付加音の音高を
テーブルに記憶しておき、このテーブルから付加音の音
高を選択するようにしてもよい。
When the same continuous sound is selected as the top note of a two-sound pair, additional sounds having different pitches for the preceding sound and the following sound may be selected as the additional sounds. In this case, the pitch of the additional sound when the same sound is continuous may be stored in a table, and the pitch of the additional sound may be selected from this table.

【0076】[0076]

【発明の効果】以上説明したように、本発明の請求項1
の自動編曲装置によれば、リズムパターン毎に音の高さ
を指定する情報を有していないので、リズムパターンの
記憶容量を削減でき、また、音名候補の中からいずれか
選択された音名と、該選択された音名に適した付加音と
からなる豊かな響きの演奏情報を容易に生成することが
できる。さらに、供給された和音に対して使用可能な非
和音構成音も含む複数の音名候補の中から何れかを選択
するので、和音に適した演奏情報を生成させることがで
き、しかも、和音構成音以外の音も生成可能であるの
で、多様な演奏情報を作成することができる。
As described above, according to the first aspect of the present invention,
According to the automatic arranging device of the present invention, since there is no information for designating the pitch of each rhythm pattern, the storage capacity of the rhythm pattern can be reduced, and the sound selected from any of the note name candidates can be reduced. It is possible to easily generate rich sounding performance information including a name and an additional sound suitable for the selected note name. Further, since any one of a plurality of tone name candidates including non-chord constituent tones usable for the supplied chord is selected, performance information suitable for the chord can be generated. Since sounds other than sounds can also be generated, various performance information can be created.

【0077】また、本発明の請求項2の自動編曲装置に
よれば、リズムパターン毎に音の高さを指定する情報を
有していないので、リズムパターンの記憶容量を削減で
き、また、音名候補の中からいずれか選択された音名
と、該選択された音名に適した付加音とからなる豊かな
響きの演奏情報を容易に生成することができる。さら
に、メロディの音高情報を参照して複数の音名候補の中
から何れかを選択するので、メロディに合った演奏情報
を生成することができる。
According to the automatic arranging device of the second aspect of the present invention, since there is no information for designating the pitch of each rhythm pattern, the storage capacity of the rhythm pattern can be reduced. It is possible to easily generate rich sounding performance information composed of a note name selected from any of the name candidates and an additional sound suitable for the selected note name. Furthermore, since any one of a plurality of pitch name candidates is selected with reference to the pitch information of the melody, performance information suitable for the melody can be generated.

【0078】また、本発明の請求項3の自動編曲装置に
よれば、リズムパターン毎に音の高さを指定する情報を
有していないので、リズムパターンの記憶容量を削減で
き、また、音名候補の中からいずれか選択された音名
と、該選択された音名に適した付加音とからなる豊かな
響きの演奏情報を容易に生成することができる。さら
に、以前に生成した演奏情報を参照して複数の音名候補
の中から何れかを選択するので、自然な流れの演奏情報
を生成することができる。
According to the automatic arrangement device of the third aspect of the present invention, since there is no information for designating the pitch of each rhythm pattern, the storage capacity of the rhythm pattern can be reduced, and It is possible to easily generate rich sounding performance information composed of a note name selected from any of the name candidates and an additional sound suitable for the selected note name. Further, since any one of the plurality of tone name candidates is selected with reference to the previously generated performance information, it is possible to generate performance information having a natural flow.

【0079】また、本発明の請求項4の自動編曲装置に
よれば、請求項1〜3の効果に加えて、1つの音名候補
に対して複数の付加音候補があるため、少ない記憶容量
で多くの演奏情報を生成可能である。
According to the automatic arrangement device of the fourth aspect of the present invention, in addition to the effects of the first to third aspects, since a plurality of additional sound candidates are provided for one sound name candidate, a small storage capacity is required. Can generate a lot of performance information.

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

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

【図2】実施例におけるトップノートテーブルを概念的
に示す図である。
FIG. 2 is a diagram conceptually showing a top note table in the embodiment.

【図3】実施例におけるボイシングテーブルを概念的に
示す図である。
FIG. 3 is a diagram conceptually showing a voicing table in the embodiment.

【図4】実施例におけるコード進行メモリのフォーマッ
トを示す図である。
FIG. 4 is a diagram showing a format of a chord progression memory in the embodiment.

【図5】実施例における楽節構成入力の表示例を示す図
である。
FIG. 5 is a diagram showing a display example of a phrase configuration input in the embodiment.

【図6】実施例におけるパターンシーケンスメモリのフ
ォーマットを示す図である。
FIG. 6 is a diagram showing a format of a pattern sequence memory in the embodiment.

【図7】実施例におけるリズムパターンメモリのフォー
マットを示す図である。
FIG. 7 is a diagram showing a format of a rhythm pattern memory in the embodiment.

【図8】実施例におけるベースパターンメモリのフォー
マットを示す図である。
FIG. 8 is a diagram showing a format of a base pattern memory in the embodiment.

【図9】実施例におけるバッキングパートメモリおよび
ベースパートメモリのフォーマットを示す図である。
FIG. 9 is a diagram showing a format of a backing part memory and a base part memory in the embodiment.

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

【図11】実施例におけるバッキングパート生成処理の
フローチャートである。
FIG. 11 is a flowchart of a backing part generation process in the embodiment.

【図12】実施例におけるトップノート処理のフローチ
ャートの一部である。
FIG. 12 is a part of a flowchart of a top note process in the embodiment.

【図13】実施例におけるトップノート処理のフローチ
ャートの他の一部である。
FIG. 13 is another part of the flowchart of the top note process in the embodiment.

【図14】実施例におけるトップノート処理のフローチ
ャートの他の一部である。
FIG. 14 is another part of the flowchart of the top note process in the embodiment.

【図15】実施例におけるボイシング処理のフローチャ
ートの一部である。
FIG. 15 is a part of a flowchart of a voicing process in the embodiment.

【図16】実施例におけるボイシング処理のフローチャ
ートの他の一部である。
FIG. 16 is another part of the flowchart of the voicing process in the embodiment.

【図17】実施例におけるドラムパート生成処理のフロ
ーチャートである。
FIG. 17 is a flowchart of a drum part generation process in the embodiment.

【図18】実施例におけるベースパート生成処理のフロ
ーチャートである。
FIG. 18 is a flowchart of a base part generation process in the embodiment.

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

1…CPU、4…メロディメモリ、5…コード進行メモ
リ、6…バッキングパートメモリ、12…リズムパター
ンメモリ。
1 CPU, 4 melody memory, 5 chord progression memory, 6 backing part memory, 12 rhythm pattern memory.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 メロディに対して付加すべき、メロディ
以外のパートの演奏情報を生成する自動編曲装置におい
て、 少なくとも発音タイミングを示すリズムパターンであっ
て音高情報を有しないリズムパターンを複数記憶するリ
ズムパターン記憶手段と、 作成する曲のリズムパターンを前記複数のリズムパター
ンの中から選択する選択手段と、 前記メロディに対応した和音進行を供給する和音進行供
給手段と、 和音毎に、前記メロディ以外のパートの演奏情報として
使用可能で、和音構成音以外の音名も含む複数の音名候
補を記憶している音名候補記憶手段と、 和音毎、かつ音名候補毎に、該音名に付加すべき付加音
を記憶した付加音記憶手段と、 前記リズムパターン記憶手段から選択されたリズムパタ
ーンを読み出し、該リズムパターンの発音タイミング毎
に、供給された和音進行が示す和音において使用可能な
複数の音名候補のうちの何れかを選択するとともに、供
給された和音と前記選択された音名候補に対応した付加
音を前記付加音記憶手段から読み出し、該付加音の音名
情報と前記選択された音名候補の音名情報と合わせて、
これらの音名情報に対応する演奏情報を前記メロディ以
外のパートの演奏情報として生成する演奏情報生成手段
と、 を備えることを特徴とする自動編曲装置。
An automatic arranging device for generating performance information of a part other than a melody to be added to a melody, wherein a plurality of rhythm patterns that at least indicate a sounding timing and do not have pitch information are stored. Rhythm pattern storage means, selection means for selecting a rhythm pattern of a song to be created from the plurality of rhythm patterns, chord progression supply means for supplying a chord progression corresponding to the melody, and for each chord, other than the melody A note name candidate storage means which can be used as performance information of a part and stores a plurality of note name candidates including note names other than chord constituent sounds, and for each chord and for each note name candidate, An additional sound storing means for storing an additional sound to be added; and a rhythm pattern selected from the rhythm pattern storing means, For each of the sounding timings of the chords, any one of a plurality of pitch name candidates usable in the chord indicated by the supplied chord progression is selected, and the supplied chord and the additional tone corresponding to the selected pitch name candidate are selected. Is read from the additional sound storage means, and together with the sound name information of the additional sound and the sound name information of the selected sound name candidate,
And a performance information generating means for generating performance information corresponding to the note name information as performance information of a part other than the melody.
【請求項2】 メロディに対して付加すべき、メロディ
以外のパートの演奏情報を生成する自動編曲装置におい
て、 少なくとも発音タイミングを示すリズムパターンであっ
て音高情報を有しないリズムパターンを記憶するリズム
パターン記憶手段と、 前記メロディの音高情報を供給する音高情報供給手段
と、 前記メロディに対応した和音進行を供給する和音進行供
給手段と、 和音毎に、前記メロディ以外のパートの演奏情報として
使用可能な、複数の音名候補を記憶している音名候補記
憶手段と、 和音毎、かつ音名候補毎に、該音名に付加すべき付加音
を記憶した付加音記憶手段と、 前記リズムパターン記憶手段からリズムパターンを読み
出し、該リズムパターンの発音タイミング毎に、供給さ
れた和音進行が示す和音に対応する複数の音名候補のう
ち、前記発音タイミングに対応するメロディの音高情報
を参照し何れかを選択するとともに、供給された和音と
前記選択された音名候補に対応した付加音を前記付加音
記憶手段から読み出し、該付加音の音名情報と前記選択
された音名候補の音名情報と合わせて、これらの音名情
報に対応する演奏情報を前記メロディ以外のパートの演
奏情報として生成する演奏情報生成手段と、 を備えることを特徴とする自動編曲装置。
2. An automatic arrangement apparatus for generating performance information of a part other than a melody to be added to a melody, wherein the rhythm stores at least a rhythm pattern indicating a sounding timing and having no pitch information. Pattern storage means, pitch information supply means for supplying pitch information of the melody, chord progression supply means for supplying chord progression corresponding to the melody, and for each chord, as performance information of parts other than the melody. Available note name candidate storage means for storing a plurality of available note name candidates; additional sound storage means for storing, for each chord, and for each note name candidate, an additional sound to be added to the note name; A rhythm pattern is read from the rhythm pattern storage means, and a plurality of tones corresponding to the chord indicated by the supplied chord progression are generated at each sounding timing of the rhythm pattern. Among the name candidates, referring to the pitch information of the melody corresponding to the sounding timing and selecting any of them, the supplied chord and the additional sound corresponding to the selected note name candidate are stored in the additional sound storage means. Performance information generation for reading out the note name information of the additional note and the note name information of the selected note name candidate, and generating performance information corresponding to the note name information as performance information of a part other than the melody. Means for automatic arrangement.
【請求項3】 メロディに対して付加すべき、メロディ
以外のパートの演奏情報を生成する自動編曲装置におい
て、 少なくとも発音タイミングを示すリズムパターンであっ
て音高情報を有しないリズムパターンを記憶するリズム
パターン記憶手段と、 前記メロディに対応した和音進行を供給する和音進行供
給手段と、 和音毎に、前記メロディ以外のパートの演奏情報として
使用可能な、複数の音名候補を記憶している音名候補記
憶手段と、 和音毎、かつ音名候補毎に、該音名に付加すべき付加音
を記憶した付加音記憶手段と、 前記リズムパターン記憶手段からリズムパターンを読み
出し、該リズムパターンの発音タイミング毎に、供給さ
れた和音進行が示す和音に対応する複数の音名候補のう
ち、以前に生成した演奏情報を参照し何れかを選択する
とともに、供給された和音と前記選択された音名候補に
対応した付加音を前記付加音記憶手段から読み出し、該
付加音の音名情報と前記選択された音名候補の音名情報
と合わせて、これらの音名情報に対応する演奏情報を前
記メロディ以外のパートの演奏情報として生成する演奏
情報生成手段と、 を備えることを特徴とする自動編曲装置。
3. An automatic arrangement device for generating performance information of a part other than a melody to be added to a melody, wherein the rhythm stores at least a rhythm pattern indicating a sounding timing and having no pitch information. Pattern storage means, chord progression supply means for supplying a chord progression corresponding to the melody, and note names storing a plurality of note name candidates usable for each chord as performance information of parts other than the melody. Candidate storage means; additional sound storage means for storing an additional sound to be added to the note name for each chord and for each note name candidate; reading a rhythm pattern from the rhythm pattern storage means; For each of the plurality of note name candidates corresponding to the chord indicated by the supplied chord progression, one of the plurality of note name candidates is referred to by referring to the previously generated performance information. And selecting the supplied chord and the additional sound corresponding to the selected note name candidate from the additional sound storage means, and selecting the note name information of the additional sound and the note name information of the selected note name candidate. In addition, a performance information generating means for generating performance information corresponding to the note name information as performance information of a part other than the melody, and an automatic arrangement device.
【請求項4】 前記付加音記憶手段は、和音毎、かつ音
名候補毎に複数の付加音候補を記憶し、演奏情報生成手
段は、複数の付加音候補のうちのいずれか選択された付
加音候補を演奏情報とすることを特徴とする請求項1ま
たは請求項2または請求項3記載の自動編曲装置。
4. The additional sound storage means stores a plurality of additional sound candidates for each chord and each note name candidate, and the performance information generating means stores an additional sound candidate selected from the plurality of additional sound candidates. The automatic arrangement device according to claim 1, wherein the sound candidates are used as performance information.
JP11269935A 1999-09-24 1999-09-24 Automatic arrangement device Expired - Fee Related JP3087757B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11269935A JP3087757B2 (en) 1999-09-24 1999-09-24 Automatic arrangement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11269935A JP3087757B2 (en) 1999-09-24 1999-09-24 Automatic arrangement device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5064340A Division JP3013648B2 (en) 1993-03-23 1993-03-23 Automatic arrangement device

Publications (2)

Publication Number Publication Date
JP2000099011A true JP2000099011A (en) 2000-04-07
JP3087757B2 JP3087757B2 (en) 2000-09-11

Family

ID=17479258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11269935A Expired - Fee Related JP3087757B2 (en) 1999-09-24 1999-09-24 Automatic arrangement device

Country Status (1)

Country Link
JP (1) JP3087757B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002055679A (en) * 2000-05-30 2002-02-20 Yamaha Corp Contents-generating service system, method and recording medium
WO2006114998A1 (en) * 2005-04-25 2006-11-02 Sony Corporation Musical content reproducing device and musical content reproducing method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101753124B1 (en) * 2015-05-29 2017-07-05 (주)와이에이치비 Oil mist collecting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002055679A (en) * 2000-05-30 2002-02-20 Yamaha Corp Contents-generating service system, method and recording medium
WO2006114998A1 (en) * 2005-04-25 2006-11-02 Sony Corporation Musical content reproducing device and musical content reproducing method
US8269092B2 (en) 2005-04-25 2012-09-18 Sony Corporation Musical content reproducing device and musical content reproducing method

Also Published As

Publication number Publication date
JP3087757B2 (en) 2000-09-11

Similar Documents

Publication Publication Date Title
US4539882A (en) Automatic accompaniment generating apparatus
US6175072B1 (en) Automatic music composing apparatus and method
JP3829439B2 (en) Arpeggio sound generator and computer-readable medium having recorded program for controlling arpeggio sound
JP2562370B2 (en) Automatic accompaniment device
US6166313A (en) Musical performance data editing apparatus and method
JP3533975B2 (en) Automatic composer and storage medium
JP2002023747A (en) Automatic musical composition method and device therefor and recording medium
JPH07219536A (en) Automatic arrangement device
US5457282A (en) Automatic accompaniment apparatus having arrangement function with beat adjustment
JP3013648B2 (en) Automatic arrangement device
US6486390B2 (en) Apparatus and method for creating melody data having forward-syncopated rhythm pattern
JP3087757B2 (en) Automatic arrangement device
JPH09134173A (en) Display control method and display control device for automatic player
US4674383A (en) Electronic musical instrument performing automatic accompaniment on programmable memorized pattern
JPH05281970A (en) Automatic music arranging device and electronic musical instrument
US5410098A (en) Automatic accompaniment apparatus playing auto-corrected user-set patterns
JP3353777B2 (en) Arpeggio sounding device and medium recording a program for controlling arpeggio sounding
JP3507006B2 (en) Arpeggio sounding device and computer-readable medium storing a program for controlling arpeggio sounding
JP2625207B2 (en) Automatic performance device
JP3427413B2 (en) Automatic arrangement device
JP2518056B2 (en) Music data processor
JP2002032079A (en) Device and method for automatic music composition and recording medium
JPH05346781A (en) Key detecting device and automatic music arranging device
JP3661963B2 (en) Electronic musical instruments
JP3054242B2 (en) Automatic accompaniment device

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

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

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees