JP3035925B2 - Sub-melody generator and music part generator - Google Patents

Sub-melody generator and music part generator

Info

Publication number
JP3035925B2
JP3035925B2 JP1252405A JP25240589A JP3035925B2 JP 3035925 B2 JP3035925 B2 JP 3035925B2 JP 1252405 A JP1252405 A JP 1252405A JP 25240589 A JP25240589 A JP 25240589A JP 3035925 B2 JP3035925 B2 JP 3035925B2
Authority
JP
Japan
Prior art keywords
melody
information
sub
pitch
chord
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
JP1252405A
Other languages
Japanese (ja)
Other versions
JPH03116097A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1252405A priority Critical patent/JP3035925B2/en
Priority to US07/588,050 priority patent/US5235125A/en
Publication of JPH03116097A publication Critical patent/JPH03116097A/en
Priority to US08/007,119 priority patent/US5331112A/en
Application granted granted Critical
Publication of JP3035925B2 publication Critical patent/JP3035925B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は音楽装置に関し、特に、副旋律生成装置及
び楽曲パート生成装置に関する。
Description: TECHNICAL FIELD [0001] The present invention relates to a music device, and more particularly, to a secondary melody generation device and a music part generation device.

[従来技術とその問題点] カウンタメロディ、オブリガード、ベースライン、ア
ルペジオ等の伴奏ラインないし副旋律を自動的に生成す
る自動伴奏装置は既知である。この種の自動伴奏装置は
電子楽器に一機能として組み込まれてきており、代表的
にはメロディ鍵盤からメロディ(主旋律)を演奏入力
し、伴奏鍵盤からコード進行を指定入力すると、内部で
副旋律が生成され、音源を通して主旋律の楽音とともに
副旋律の楽音が出力されるようになっている。
[Prior art and its problems] There is known an automatic accompaniment apparatus for automatically generating an accompaniment line or a sub-melody such as a counter melody, an obligato, a base line, an arpeggio, and the like. This type of automatic accompaniment device has been incorporated into electronic musical instruments as a function. Typically, when a melody (main melody) is input from a melody keyboard and a chord progression is designated and input from an accompaniment keyboard, a sub melody is internally generated. The generated musical sound is output through the sound source along with the musical sound of the main melody along with the musical sound of the sub melody.

副旋律の生成に関して、従来技術は装置内部に、副旋
律の基礎となるパターン(伴奏パターンと呼ばれてい
る)を有している。基本的に、伴奏パターンは時間(水
平、リズム、音長)の成分、即ちリズムパターンと、音
高(垂直)の成分、即ちピッチパターンとから構成され
る。多くの場合、自動伴奏装置の入力装置から指定され
るリズム別に、伴奏パターンが用意されており、したが
って、いったんリズムが指定されると、伴奏のリズムパ
ターン(音長列)は固定され、主旋律の如何によって自
動的に変化せず、自動伴奏について機械的な印象を与え
る要因となっている。
Regarding the generation of the sub melody, the conventional technology has a pattern (called an accompaniment pattern) which is the basis of the sub melody in the device. Basically, an accompaniment pattern is composed of a time (horizontal, rhythm, pitch) component, ie, a rhythm pattern, and a pitch (vertical) component, ie, a pitch pattern. In many cases, accompaniment patterns are prepared for each rhythm specified from the input device of the automatic accompaniment device. Therefore, once a rhythm is specified, the rhythm pattern (length sequence) of the accompaniment is fixed, and the main melody of the main melody is fixed. It does not change automatically depending on how it is, and is a factor that gives a mechanical impression about automatic accompaniment.

一方、伴奏パターンの垂直要素であるピッチパターン
は抽象的なピッチパターン、あるいはコードによるピッ
チ修飾を行う前の形成のピッチパターンで表現される。
On the other hand, the pitch pattern, which is a vertical element of the accompaniment pattern, is represented by an abstract pitch pattern or a pitch pattern formed before pitch modification by a chord.

第1の従来例では、副旋律演奏の基礎となるピッチパ
ターンは、特定のコード(例えばCメジャーのコード)
を想定したときに演奏されるピッチ情報をもち、動作に
おいてコード進行付与手段から指定されるコードに対
し、そのコードのタイプと根音により、ピッチパターン
の各ピッチを適宜、変更して、指定コードに合うピッチ
パターンを生成し、それを実際に演奏する副旋律のピッ
チパターンとしている。この構成は副旋律演奏の基礎と
なるピッチパターンに必要なデータ量、記憶容量を節約
するのに適しているが、音楽的には指定されるコードと
演奏される副旋律のピッチパターンとが1対1で固定的
に対応するので、副旋律の演奏が単調になることが避け
られない。
In the first conventional example, the pitch pattern that forms the basis of the sub-melody performance is a specific chord (for example, a C major chord).
The chord specified by the chord progression providing means in the operation has the pitch information to be played when it is assumed that the pitch of the pitch pattern is appropriately changed according to the type and root note of the chord. Is generated, and is used as the pitch pattern of the sub melody to be actually played. This configuration is suitable for saving the data amount and storage capacity required for the pitch pattern which is the basis of the sub melody performance, but musically, the specified chord and the pitch pattern of the sub melody to be played are one. Since the correspondence is fixed at one-to-one, it is inevitable that the performance of the sub melody becomes monotonous.

もう1つの従来例では副旋律演奏の基礎となるピッチ
パターンの各要素が、コード構成音の種類を表現する形
式で与えられる。そして、動作において、コード進行付
与手段から現コードが新たに指定されると、その現コー
ドの構成音のピッチ情報に従って、基礎ピッチパターン
の各要素を解読して具体的なピッチに変更する。例え
ば、指定されたコード構成音の第1の構成音がC、第2
の構成音がE、第3の構成音がAのとき、基礎ピッチパ
ターン内の第3の構成音を表現する要素はピッチAに割
り当てられる。この構成も、第1の従来技術と同様な問
題、すなわち、コード進行が特定されると、演奏される
副旋律が決まってしまい、変化が乏しいという欠点をも
っている。
In another conventional example, each element of a pitch pattern that is the basis of a sub-melody performance is given in a form expressing the type of chord constituting sound. Then, in operation, when the current chord is newly designated by the chord progression providing means, each element of the basic pitch pattern is decoded according to the pitch information of the constituent sounds of the current chord and changed to a specific pitch. For example, the first constituent sound of the designated chord constituent sound is C, the second constituent sound is
When the constituent sound is E and the third constituent sound is A, an element expressing the third constituent sound in the basic pitch pattern is assigned to pitch A. This configuration also has the same problem as the first prior art, that is, when the chord progression is specified, the sub-melody to be played is determined, and the change is poor.

更に別の従来技術として、主旋律の演奏とともにブロ
ックコード演奏を行うものがある。この従来技術では、
伴奏のリズムと主旋律のリズムが同期する。このため、
主旋律付与手段からのメロディノートオン/オフの情報
をそのまま伴奏のノートオン/オフとして使用してい
る。更に、ピッチに関しては、コード進行付与手段から
の現コードの構成音のなかから、現メロディノートと所
定の関係(例えば最も近接する関係)のコード構成音を
基準(例えば最高の伴奏音)として残りのコード構成音
を垂直方向に展開させたピッチ構成(和音構成)を伴奏
のピッチ構成として採用している。この結果、メロディ
演奏と伴奏とが一体化して、全体としてブロックコード
演奏が行われる。しかしながら、このようなブロックコ
ード演奏は特殊な演奏形態にすぎず、この従来技術はそ
の他の一般的な副旋律の演奏、特に主旋律のパートと副
旋律のパートとが別々の楽曲パートとして認識されるよ
うな演奏を行うことができない。
As another conventional technique, there is a technique in which a block chord performance is performed together with the performance of the main melody. In this prior art,
The rhythm of the accompaniment and the rhythm of the main melody are synchronized. For this reason,
The melody note on / off information from the main melody providing means is used as it is as the accompaniment note on / off. Further, regarding the pitch, among the constituent sounds of the current chord from the chord progression imparting means, a chord constituent sound having a predetermined relation (for example, the closest relation) to the current melody note is used as a reference (for example, the highest accompaniment sound). Is adopted as a pitch configuration of an accompaniment, in which a pitch configuration (chord configuration) in which the chord configuration notes are developed in the vertical direction. As a result, the melody performance and the accompaniment are integrated, and the block chord performance is performed as a whole. However, such a block chord performance is only a special performance form, and this prior art recognizes other general melody performances, especially the main melody part and the sub melody part as separate music parts. Cannot perform such a performance.

一般に、作曲家の作に係る複数の楽曲パートをもつポ
リフォニック音楽では楽曲パート間に音楽的と認められ
る好ましい相互作用が見られる。好ましい相互作用が何
かについて正確な論理的表現(相互作用の生成規則の知
識化)は、現段階では知られていないが、従来の技術
は、この点を無視するか、極端に単純化して装置化した
ものであり、多くの改良すべき余地を残している。
Generally, polyphonic music having a plurality of music parts related to a composer's composition has a favorable interaction between the music parts that is recognized as musical. The exact logical representation of what the preferred interaction is (knowledge of the rules of generation of the interaction) is not known at this stage, but conventional techniques have ignored or extremely simplified this point. It is a device and leaves much room for improvement.

[発明の目的] したがって、この発明の主な目的は自然でリアルな副
旋律や楽曲パートを自動的に生成可能な副旋律生成装
置、楽曲パート生成装置を提供することである。
[Object of the Invention] Accordingly, a main object of the present invention is to provide a sub-melody generation device and a music part generation device capable of automatically generating natural and realistic sub-melody and music parts.

更に、この発明の具体的な目的は音高(ピッチ)の流
れに関して、与えられた主旋律もしくはその他の楽曲旋
律パートと時間的に適度な相関関係をもつような副旋律
や楽曲パートを自動生成することができる副旋律生成装
置、楽曲パート生成装置を提供することである。
Further, a specific object of the present invention is to automatically generate a secondary melody or a music part having an appropriate temporal correlation with a given main melody or another music melody part with respect to a flow of a pitch (pitch). It is an object of the present invention to provide a sub melody generating device and a music part generating device capable of performing the above.

更に、この発明の具体的な目的は音長の流れ(リズ
ム)に関して、与えられた主旋律やその他の楽曲パート
と時間的に適度な相関をもつような副旋律や楽曲パート
を自動生成可能な副旋律生成装置、楽曲パート生成装置
を提供することである。
Further, a specific object of the present invention is to make it possible to automatically generate a sub-melody or a music part that has an appropriate temporal correlation with a given main melody or another music part with respect to the flow (rhythm) of the pitch. A melody generation device and a music part generation device are provided.

更に、この発明の具体的な目的は与えられた第1の旋
律パートに対して、音高の流れ(ピッチライン)だけで
なく音長の流れ(リズム)についても時間的な要素を介
してその影響を受けて変化するような第2の旋律パート
を生成可能な副旋律生成装置を提供することである。
Further, a specific object of the present invention is to provide not only a pitch flow (pitch line) but also a pitch flow (rhythm) for a given first melody part through a time element. An object of the present invention is to provide a sub melody generating device capable of generating a second melody part that changes under the influence.

[発明の構成、作用] この発明によれば、楽曲の第1の旋律パートの情報を
付与する第1旋律パート付与手段と、上記楽曲の第2の
旋律パートで使用可能な音高セットの進行の情報を第2
旋律パートの基礎データとして付与する第2旋律パート
基礎データ付与手段と、上記使用可能な音高セットの進
行における現在の使用可能な音高セットと上記第1の旋
律パートの情報のなかで現在より所定の将来の音高情
報、または現在に対し所定の時間関係をもつ複数の時点
における音高情報とに基づいて上記第2の旋律パートの
現在の音高情報を決定することにより上記第2の旋律パ
ートの情報を生成する第2旋律パート生成手段とを有す
ることを特徴とする副旋律生成装置が提供される。
According to the present invention, the first melody part assigning means for assigning information on the first melody part of the music, and the progression of the pitch set usable in the second melody part of the music Information of the second
Second melody part basic data providing means for providing as basic data of the melody part, and information on the currently available pitch set and the information of the first melody part in the progress of the usable pitch set. Determining the current pitch information of the second melody part based on predetermined future pitch information or pitch information at a plurality of time points having a predetermined time relationship with the present; And a second melody part generating means for generating melody part information.

この構成によれば、第2の旋律パートの音高情報に第
1の旋律パートの音高情報からの作用を時間的要素を介
して与えることができる。したがって、第2旋律パート
基礎データ付与手段から与えられる第2旋律パートで使
用可能な音高セットの進行が特定の進行に固定されてい
る場合であっても、最終的に得られる第2旋律パートは
第1の旋律パートの如何によって多様にしかも第1旋律
パートと時間的に異なる態様で変化し得、従来の副旋律
生成技術における単調さの問題を有効に解消し得る。
According to this configuration, the action from the pitch information of the first melody part can be given to the pitch information of the second melody part via a temporal element. Therefore, even if the progression of the pitch set usable in the second melody part provided by the second melody part basic data providing means is fixed to a specific progression, the second melody part finally obtained is obtained. Can vary in a variety of ways depending on the first melody part and in a manner different in time from the first melody part, and can effectively solve the problem of monotony in the conventional secondary melody generation technique.

上記音高セットの進行は通常のコード(和音)の進行
であり得る。
The progress of the pitch set may be the progress of a normal chord (chord).

一構成例において、楽曲の主旋律の情報を付与する主
旋律付与手段と、上記楽曲のコード進行の情報を付与す
るコード進行付与手段と、上記コード進行の過去のコー
ド情報を用いずに、現コード情報と上記主旋律の過去の
メロディ音高情報とに基づいて副旋律の現音高情報を決
定することにより、上記楽曲の少なくとも1つの副旋律
を生成する副旋律生成手段と、を備え、上記副旋律生成
手段は、上記現コード情報のコード構成音のなかで上記
メロディ音高情報と所定の音高関係をもつコード構成音
を上記現音高情報として決定する決定手段を有する、こ
とを特徴とする副旋律生成装置が提供される。
In one configuration example, main melody providing means for providing information on the main melody of the music, chord progression providing means for providing information on the chord progression of the music, and current chord information without using past chord information of the chord progression. Sub-melody generating means for generating at least one sub-melody of the music by determining current pitch information of the sub-melody based on the past melody pitch information of the main melody and the sub-melody Generating means for determining, as the current pitch information, a chord constituent sound having a predetermined pitch relationship with the melody pitch information among the chord constituent sounds of the current chord information; A sub-melody generation device is provided.

この構成の場合、主旋律にリードされるような態様で
副旋律が得られるので、カノンやフーガのような演奏効
果を付けることができる。
In the case of this configuration, the secondary melody is obtained in such a manner as to be read by the main melody, so that a performance effect such as canon or fugue can be provided.

予め主旋律の情報が与えられるような環境の場合に
は、主旋律の過去のメロディ音高情報の代りに主旋律の
将来のメロディ音高情報を副旋律の現音高情報を決定す
るためのパラメータとして採用できる。この場合、副旋
律の方がリード役となるようなカノン、フーガの曲が実
現される。また、主旋律のメロディ音高情報のなかで、
現在と所定の情報関係をもつ複数の異なる時点における
メロディ音高情報を副旋律の現音高情報に作用を与える
パラメータとして採用してもよい。これは主旋律、副旋
律間のより一般的な相互作用をシミュレートするものと
いえる。好ましくは、複数の異なる時点におけるメロデ
ィ音高情報の線形結合によって音高情報を決定し、この
決定した音高情報とコード進行の現コード情報とから、
副旋律の現音高情報が求められる。
In an environment where the information of the main melody is given in advance, the future melody pitch information of the main melody is used as a parameter for determining the current pitch information of the sub melody instead of the past melody pitch information of the main melody. it can. In this case, a melody of Canon and Fugue in which the sub melody plays the lead role is realized. Also, in the melody pitch information of the main melody,
The melody pitch information at a plurality of different points in time having a predetermined information relationship with the present may be adopted as a parameter that acts on the current pitch information of the sub melody. This simulates a more general interaction between the main melody and the secondary melody. Preferably, the pitch information is determined by a linear combination of the melody pitch information at a plurality of different times, from the determined pitch information and the current chord information of the chord progression,
The current pitch information of the sub melody is required.

副旋律の現音高と、それに影響を与える主旋律の音高
情報とコード進行の現コード情報との関係は、例えば、
現コードの構成音のなかで、上記主旋律の音高情報と所
定のピッチ関係をもつコード構成音、例えば主旋律の音
高情報に最も近いコード構成音を副旋律の現音高とする
ことで特定される。
The relationship between the current pitch of the secondary melody, the pitch information of the main melody that affects it, and the current chord information of the chord progression is, for example,
Among the constituent tones of the current chord, the chord constituent tones having a predetermined pitch relationship with the pitch information of the main melody, for example, the chord constituent tones closest to the pitch information of the main melody are specified as the current pitch of the sub melody. Is done.

更に、この発明のもう1つの側面によれば、楽曲の第
1のパートの情報を付与する第1パート付与手段と、上
記第1のパートの複数の異なる時点における音長情報の
組み合わせに基づいて上記楽曲の第2のパートにおける
現音長情報を決定することにより第2のパートのリズム
を生成する第2パートリズム生成手段とを有することを
特徴とする楽曲パート生成装置が提供される。
Further, according to another aspect of the present invention, a first part assigning unit for assigning information of a first part of a music and a combination of a plurality of tone length information of the first part at different time points. A music part generation device is provided, comprising: second part rhythm generation means for generating the rhythm of the second part by determining the current duration information of the second part of the music.

この構成によれば、与えられた第1パートのリズムと
時間的要素を介して関連するリズムを有する第2パート
を自動的に生成できる。これは、ポリフォニック音楽に
おける楽曲パート間のリズム成分の相互作用をシミュレ
ートしたものである。
According to this configuration, the second part having the rhythm related to the given rhythm of the first part through the temporal element can be automatically generated. This simulates the interaction of rhythm components between music parts in polyphonic music.

上記第2パートは音高が変化する旋律パートであって
も、格別の旋律をもたないリズムパートであってもよ
い。後者の場合、一種の自動リズム生成装置が提供され
ることになる。
The second part may be a melody part whose pitch changes, or a rhythm part having no particular melody. In the latter case, a kind of automatic rhythm generating device will be provided.

状況によっては、リアルタイムで入力される主旋律と
コード進行に応答して副旋律をリアルタイムで生成し、
主旋律と副旋律とリアルタイムに演奏出力することが望
まれる。
Depending on the situation, in response to the main melody and chord progression input in real time, the secondary melody is generated in real time,
It is desirable to output the main melody and the sub melody in real time.

このために、一構成例では、楽曲の主旋律の演奏情報
をリアルタイムで入力する主旋律演奏入力手段と、入力
された上記主旋律の演奏情報に応答して主旋律の楽音を
出力する主旋律出力手段と、入力された上記主旋律の演
奏情報を記憶する主旋律記憶手段と、上記楽曲のコード
進行をリアルタイムで入力するコード進行入力手段と、
上記コード進行入力手段からの入力に応答し、現コード
を検出する現コード検出手段と、過去のコード情報は用
いずに、上記現コード検出手段により検出された上記現
コードと上記主旋律記憶手段に記憶された上記主旋律の
演奏情報のなかで、現時点から所定の時間だけ過去の演
奏情報に含まれる音高情報とに基づいて副旋律の現音高
情報をリアルタイムで決定する決定手段であって、上記
現コード情報のコード構成音のなかで上記音高情報と所
定の音高関係をもつコード構成音を上記現音高情報とし
て決定する決定手段を含む副旋律生成手段と、上記副旋
律生成手段からの副旋律の演奏情報に応答して副旋律の
楽音を出力する副旋律出力手段と、を有することを特徴
とする副旋律生成装置が提供される。
For this purpose, in one configuration example, main melody performance input means for inputting performance information of the main melody of the music in real time, main melody output means for outputting a tone of the main melody in response to the input performance information of the main melody, Main melody storage means for storing the performance information of the main melody, a chord progression input means for inputting the chord progression of the music in real time,
In response to the input from the chord progression input means, a current code detection means for detecting a current code, and without using past code information, the current code detected by the current code detection means and the main melody storage means A determination means for determining, in real time, the current pitch information of the sub melody based on the pitch information included in the performance information of the past for a predetermined time from the present time in the stored performance information of the main melody, A sub-melody generating means including determining means for determining, as the current pitch information, a chord-constituting sound having a predetermined pitch relationship with the pitch information among the chord-forming sounds of the current chord information; And a sub-melody output device for outputting a sub-melody musical tone in response to the performance information of the sub-melody from the sub-melody.

上記の構成例において、上記副旋律生成手段は、上記
主旋律記憶手段に記憶された上記主旋律の演奏情報のな
かで現時点から上記所定の時間だけ過去の演奏情報に含
まれる音長情報に基づいて上記副旋律の現音長情報をリ
アルタイムで決定する手段を更に含むことができる。こ
の場合、ピッチラインだけでなくリズムも過去の主旋律
の演奏に類似した特徴をもつ副旋律が生成されるので、
主旋律の後を追うようなカノン的演奏効果を比較的純粋
な形態でシミュレートし得る。
In the above configuration example, the secondary melody generating means is configured to perform the above-mentioned main melody storage means in the main melody storage means on the basis of the duration information included in the past performance information for the predetermined time from the present time in the past performance information. The present invention may further include means for determining current pitch information of the sub melody in real time. In this case, not only the pitch line but also the rhythm is generated as a secondary melody with characteristics similar to the performance of the past main melody,
It can simulate the canonical performance effect following the main melody in a relatively pure form.

[実施例] 以下、図面を参照してこの発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

概要を述べると、本実施例は鍵盤タイプの電子楽器に
組み込まれており、メロディ鍵盤から主旋律(メロデ
ィ)の演奏情報が入力され、音源を通してリアルタイム
でその楽音が演奏出力される。一方、伴奏鍵盤からコー
ド進行の情報が入力され、その入力プロセスにおいて逐
次、指定されるコードが検出される。副旋律はそのリズ
ムが1小節前のメロディのリズムによって生成され、そ
のピッチラインは、1小節前のメロディ音高に一番近い
現コードのコード構成音とすることによって生成され
る。生成された副旋律も音源を通して楽音として出力さ
れ、カノン的な演奏効果が実現される。
In brief, the present embodiment is incorporated in a keyboard-type electronic musical instrument, in which performance information of a main melody (melody) is input from a melody keyboard, and the musical tone is output in real time through a sound source. On the other hand, chord progression information is input from the accompaniment keyboard, and a designated chord is detected sequentially in the input process. The sub melody is generated by using the rhythm of the melody one bar before the melody, and the pitch line as the chord constituent sound of the current chord closest to the melody pitch one bar before. The generated secondary melody is also output as a musical tone through the sound source, and a canon-like performance effect is realized.

第1図に本実施例に係る電子楽器1の全体構成を示
す。鍵盤2はこの実施例のために、主旋律(メロディ)
を入力するためのメロディ鍵盤と逐次コードを指定して
コード進行を入力するための伴奏鍵盤とに分割されてい
る。これは一段の鍵盤を鍵域によって分割するか、2段
の鍵盤のそれぞれをメロディ鍵盤と伴奏鍵盤とに割り当
てることで実現される。RAM3はCPU4の作業領域として使
用され、各種の変数が一時記憶される。ROM5にはプログ
ラムやコード構成音テーブル等が置かれる。音源6はCP
U4からの制御の下に楽音を発生する。後述するように、
この実施例の動作において、音源6を通してメロディ鍵
盤からのメロディ演奏に係る楽音とともにこの実施例に
従って自動生成された副旋律演奏に係る楽音が生成さ
れ、出力される。
FIG. 1 shows the overall configuration of an electronic musical instrument 1 according to the present embodiment. The key 2 is a main melody for this embodiment.
And an accompaniment keyboard for inputting a chord progression by designating a sequential chord. This can be realized by dividing the one-stage keyboard by the key range or by assigning each of the two-stage keyboard to a melody keyboard and an accompaniment keyboard. The RAM 3 is used as a work area of the CPU 4, and various variables are temporarily stored. The ROM 5 stores programs, code configuration sound tables, and the like. Sound source 6 is CP
Generates music under the control of U4. As described below,
In the operation of this embodiment, the musical tone relating to the sub melody performance automatically generated according to this embodiment is generated and output together with the musical tone relating to the melody performance from the melody keyboard through the sound source 6.

第2図に実施例の動作においてCPU4により参照され、
使用される主な変数のリストを示している。Tは現在時
刻を表わす変数である。詳細には時刻変数Tは1小節を
複数のタイムスロット(例えば96のタイムスロット)に
分けた場合のタイムスロット、即ち、小節内のタイミン
グを表現する。CRは現在コードの根音を表現する変数で
あり、CTは現在コードのタイプを表現する変数であり、
この両変数CRとCTにより、現コードが表わされる。この
現在コードの情報(CR、CT)は伴奏鍵盤から新しいコー
ドが指定される都度、更新されるようになっている。EL
は現在の副旋律の音高を表わす変数ないしレジスタであ
る。MD[ ]はメロディ音データを格納する配列であ
り、ここでは現在から1小節前までのメロディ情報を格
納するために、小節の分解能96に等しい要素から構成さ
れ、CPU4により、小節の先頭の音高が配列MD[ ]の先
頭に位置し、小節の最後の音高が配列MD[ ]の最後に
位置するように配列への記憶処理が小節の分解能を単位
としてサイクリックに行われる。したがって、現在時刻
Tを引数とする配列MD[ ]上の要素にはその要素への
記憶処理の直前において現在より1小節前のメロディ音
高データが記憶されており、この1小節前のメロディ音
高情報が、副旋律の現音高ELを決定する処理において参
照される。CKT[ ]はコード構成音テーブルであり、
その具体例が第4図に示される。
FIG. 2 is referred to by the CPU 4 in the operation of the embodiment,
Shows a list of the main variables used. T is a variable representing the current time. Specifically, the time variable T represents a time slot when one bar is divided into a plurality of time slots (for example, 96 time slots), that is, a timing in a bar. CR is a variable expressing the root of the current chord, CT is a variable expressing the type of the current chord,
The current code is represented by these two variables CR and CT. The current chord information (CR, CT) is updated each time a new chord is designated from the accompaniment keyboard. EL
Is a variable or register that represents the pitch of the current secondary melody. MD [] is an array for storing melody sound data. Here, in order to store the melody information from the current bar to the previous bar, it is composed of elements equal to the bar resolution of 96. The storage processing in the array is performed cyclically in units of the bar resolution so that the pitch is located at the beginning of the array MD [] and the last pitch of the bar is located at the end of the array MD []. Therefore, the melody pitch data of one bar before the current melody pitch data is stored in the element on the array MD [] having the current time T as an argument immediately before the storing process to the element. The high information is referred to in the processing for determining the current pitch EL of the sub melody. CKT [] is a chord composition sound table,
A specific example is shown in FIG.

第2図には各変数のタイプも示されている。現在コー
ドタイプCTは変数のタイプがコードタイプとなってお
り、その他の変数はメロディタイプの変数となってい
る。ここにいうコードタイプとメロディタイプの変数の
意味は第3図に定義される通りである。即ち、メロディ
タイプの変数は数値“−1"がoff、すなわち音の無い状
態を表わし、数値“0"が音高C2を表わし、以下、半音上
るごとに1だけインクリメントする数値で各々の音高C
#2、d2、d#2……を表現している。メロディタイプ
におけるoffのデータ“−1"に関連し、メロディ音格納
配列MD[ ]は変数のタイプがメロディタイプであり、
その配列要素番号(メモリアドレス)によって時間が表
現されている。したがって、配列MD[ ]にはメロディ
のリズム情報も間接的に含まれている。後述するよう
に、副旋律の発消音制御のときに参照される、現時刻T
を引数とする配列要素MD[T]、即ち1小節前のメロデ
ィ音高レジスタがoffのときに副旋律音の消音処理を行
い、音高情報を示すときに副旋律音の発音処理を行うこ
とにより、副旋律のリズムを、主旋律(メロディ)のリ
ズムから1小節遅れて追従するようなパターンに制御す
ることができる。
FIG. 2 also shows the type of each variable. At present, the code type CT has a variable type as a code type, and the other variables are melody type variables. The meanings of the chord type and melody type variables are as defined in FIG. That is, the melody type variable is such that the numerical value “−1” indicates off, that is, no sound, the numerical value “0” indicates the pitch C2, and thereafter, each pitch is incremented by 1 every semitone. C
# 2, d2, d # 2... In relation to the off data “−1” in the melody type, the melody sound storage array MD [] has a melody type variable type,
Time is represented by the array element number (memory address). Therefore, the melody rhythm information is indirectly included in the array MD []. As will be described later, the current time T, which is referred to at the time of sound control of the sub melody,
When the array element MD [T], ie, the melody pitch register one bar before, is off, the sub-melody tone is silenced, and when the pitch information is indicated, the sub-melody tone is generated. Thereby, the rhythm of the sub melody can be controlled to a pattern that follows the rhythm of the main melody (melody) with a delay of one measure.

一方、コードタイプの変数は数値“0"が例えばメジャ
ー(maj)のコードタイプ、“1"がマイナー(min)のコ
ードタイプ、“2"がマイナーセブン(min7)のコードタ
イプ、“3"がメジャーセブン(maj7)のコードタイプと
いうように、数値ごとに異なるコードタイプを表現する
ことができる。第4図のコード構成音テーブルCKT
[ ]はこのコードタイプの変数の値を引数の1つとす
る配列であり、特に、ここでは、形式上、各コードは4
つの構成音から成るものとして各コードのために4つの
連続する配列要素(記憶エリア)を確保し、実際の構成
音数に合わせて、配列要素の内容を調整し、例えば3つ
の構成音をもつコードに対しては、4つの配列要素の1
つをoff(数値“−1")にマスクしている。第4図にお
いて、配列要素の内容は第3図の定義に従うと、例えば
“0"はC2の音高、4はE2の音高、“7"はG2の音高とな
る。実際には、“0"以上の数値はコード根音からの音高
の差(音程)を表現していると考える方がわかりやす
い。例えば、0、4、7は夫々、コード根音(と等しい
高さの音)、コード根音から長3度上の音、コード根音
から完全5度上の音を表わし、したがって、メジャーの
コードを構成する。具体的(絶対的)なコード構成音の
音高表現は、コードの根音の絶対値が与えられたとき
に、この根音の絶対値(例えばd2を表わす数値2)をコ
ード構成音テーブルの各コードの音程データ(メジャー
であれば、0、4、7)に加えることによって得られ
る。
On the other hand, for the code type variables, the numerical value “0” is, for example, a major (maj) code type, “1” is a minor (min) code type, “2” is a minor seven (min7) code type, and “3” is Different chord types can be represented for each numerical value, such as major seven (maj7) chord types. Chord composition sound table CKT of FIG.
[] Is an array in which the value of a variable of this code type is one of the arguments.
Four consecutive array elements (storage areas) are reserved for each chord as being composed of three constituent sounds, and the contents of the array elements are adjusted according to the actual number of constituent sounds. For the code, one of the four array elements
One is masked to off (numerical value “−1”). In FIG. 4, for example, "0" is the pitch of C2, 4 is the pitch of E2, and "7" is the pitch of G2 according to the definition of FIG. Actually, it is easier to understand that a numerical value equal to or greater than "0" represents a pitch difference (pitch) from the chord root. For example, 0, 4, and 7 respectively represent a chord root (a note of the same pitch), a major third above the chord root, and a full fifth above the chord root, and thus the major Configure the code. A specific (absolute) pitch expression of a chord constituent sound is such that when an absolute value of a root note of a chord is given, the absolute value of this root note (for example, a numerical value 2 representing d2) is stored in the chord constituent sound table It is obtained by adding to the pitch data of each chord (0, 4, 7 if major).

第5図は実施例の動作のメインルーチンを示す。メイ
ンルーチンでは鍵盤2からの鍵情報を検出する鍵処理5
−1と音源6を制御する音源処理5−2を行う。ただ
し、音源処理5−2で行う発音と消音の対象はメロディ
鍵盤からの鍵情報したがって主旋律であり副旋律に対す
る発音と消音の処理は第6図に示す時間インタラプトル
ーチンのなかで行っている。
FIG. 5 shows a main routine of the operation of the embodiment. In the main routine, key processing 5 for detecting key information from the keyboard 2
-1 and the sound source processing 5-2 for controlling the sound source 6 is performed. However, the object of sound generation and mute performed in the sound source processing 5-2 is the key information from the melody keyboard and therefore the main melody, and the sound generation and mute processing for the sub melody is performed in the time interrupt routine shown in FIG.

第6図の時間インタラプトルーチンは小節の分解能、
例えば、96分の1小節ごとに起動される。最初に現在時
刻Tをインクリメントし(6−1)、その値が95を超え
て1小節が経過したことが示されたときにはTから96を
引く(6−2、6−3)。次に、6−4で現コードを伴
奏鍵盤からの鍵情報から検出するコード処理を行う。続
いて6−5で副旋律処理6−5を行い、6−6でメロデ
ィの記憶処理を行う。
The time interrupt routine in FIG.
For example, it is activated every 1/96 bar. First, the current time T is incremented (6-1), and when it is indicated that one bar has elapsed since the value has exceeded 95, 96 is subtracted from T (6-2, 6-3). Next, in 6-4, a chord process for detecting the current chord from key information from the accompaniment keyboard is performed. Subsequently, the sub melody processing 6-5 is performed in 6-5, and the melody storage processing is performed in 6-6.

コード処理6−4の詳細は第7図に示すようになって
おり、伴奏鍵盤の押鍵からコードのタイプと根音を周知
の仕方で判定し(7−1)、その結果をタイプCTと根音
CRにストアする(7−2)ことで行われる。
The details of the chord processing 6-4 are as shown in FIG. 7. The chord type and the root note are determined in a well-known manner from the depression of the accompaniment keyboard (7-1). Root
This is performed by storing in the CR (7-2).

第8図は副旋律処理6−6のフローチャートであり、
2−1で1小節前のメロディ配列要素MD[T]がoffか
どうかを判別し、offであれば副旋律音を消音し(8−
2)、そうでなければ副旋律発音処理(8−3)を行
う。8−1で参照されるMD[T]は現在時刻Tを引数と
するメロディ配列要素である。ここにメロディ配列MD
[ ]は、インタラプトルーチン(第6図)の最後6−
6において、第9図に示されるように、現在時刻Tの配
列要素MD[T]にメロディ鍵盤からの現在の押鍵情報す
なわち現在のメロディ音高情報(ない場合にはoffを示
す数値“−1")をストアすることにより作成される。こ
の配列要素の次要素には1小節前のメロディ音高情報が
入っており、これが次の時間インタラプトルーチンのパ
スでこの8−1において参照されるわけである。後の説
明から一層明らかとなるが、1小節前の音高情報MD
[T]がoffかどうかによって副旋律の消音と発音処理
とを分けることにより、副旋律のリズムを主旋律の1小
節前のリズムに追従させることができる。
FIG. 8 is a flowchart of the sub melody processing 6-6,
At 2-1, it is determined whether the melody array element MD [T] one bar before is off, and if it is off, the sub melody is muted (8-
2) If not, perform the sub-melody pronunciation processing (8-3). MD [T] referred to in 8-1 is a melody array element having the current time T as an argument. Here is the melody array MD
[] Indicates the end of the interrupt routine (FIG. 6).
In FIG. 6, as shown in FIG. 9, in the array element MD [T] of the current time T, the current key press information from the melody keyboard, that is, the current melody pitch information (in the absence of the melody pitch information, a numerical value “−” indicating off Created by storing 1 "). The next element of this array element contains the melody pitch information one bar before, which is referred to in this 8-1 in the next time interrupt routine pass. As will become clear from the explanation below, the pitch information MD one bar before
By dividing the mute of the sub melody and the sound generation process depending on whether [T] is off, the rhythm of the sub melody can follow the rhythm one measure before the main melody.

副旋律発音処理8−3の詳細は第10図に示される。ま
ず、10−1で現コードの指定の有無を判別する。CR=of
fならば、コード指定なしなのでなにもしない。指定あ
りのときは、10−2、10−3、10−4の副旋律用コード
構成音検索処理ループにおいて、該当するコード構成音
を見つけ出す。ここでは1小節前のメロディ音高MD
[T]に最も近いコード構成音を現在の副旋律音高とす
る論理を採用している。そのため、10−2、10−4に示
すように、1小節前のメロディ音高MD[T]を半音ずつ
下げながら、逐次、それ(変数iで示されている)がコ
ード構成音かどうかを10−3でチェックしている。候補
音高iがコード構成音かどうかの検査は第11図のフロー
に従って行われる。第4図に示すように、コード構成音
テーブルは、形式上、各コードの構成音は4つの連続す
る配列要素に置かれるので、現在のコードのタイプCTに
4を乗じることで、コード構成音テーブル上で、現コー
ドのタイプのコードの最初のコード構成音が置かれる位
置Aが計算される(11−1)。相対位置jを0から4ま
で動かす間において(11−2、11−7)、逐次、コード
構成音の音高CKT[A+j]に現コードの根音の高さCR
を加えたものにmod12をとることで、そのコード構成音
の音高クラス×1(CからBの1つ)を求め(11−
3)、同様にして、音高候補iの音高クラス×2を求め
(11−4)、音高クラスの比較を行い(11−5)、一致
すれば、音高候補iを1小節前のメロディ音高に一番近
いコード構成音として認めてフローを抜け、不一致なら
ば相対位置jを次の位置に移動させる(11−6)。
Details of the sub melody pronunciation processing 8-3 are shown in FIG. First, it is determined at 10-1 whether or not the current code is specified. CR = of
If f, do nothing because no code is specified. If specified, the corresponding chord constituent sound is found in the sub-melody chord constituent sound search processing loop of 10-2, 10-3, and 10-4. Here, the melody pitch MD one bar before
A logic is adopted in which the chord constituent sound closest to [T] is used as the current sub-melody pitch. Therefore, as shown in 10-2 and 10-4, while lowering the melody pitch MD [T] one measure before by one semitone, it is sequentially determined whether or not it is a chord constituent sound (indicated by the variable i). Checked in 10-3. A check as to whether or not the candidate pitch i is a chord constituent sound is performed according to the flow of FIG. As shown in FIG. 4, since the constituent sounds of each chord are formally arranged in four consecutive array elements as shown in FIG. 4, by multiplying the current chord type CT by four, the chord constituent sounds are multiplied. The position A where the first chord constituent sound of the chord of the current chord type is placed on the table is calculated (11-1). While moving the relative position j from 0 to 4 (11-2, 11-7), the pitch CKT [A + j] of the chord constituent sound is successively changed to the root pitch CR of the current chord.
The pitch class of the constituent sound of the chord × 1 (one from C to B) is obtained by taking mod12 to the sum of (11−
3) Similarly, the pitch class × 2 of the pitch candidate i is obtained (11-4), and the pitch classes are compared (11-5). The flow is recognized as the chord constituent sound closest to the melody pitch of (1), and the flow exits. If they do not match, the relative position j is moved to the next position (11-6).

第10図に戻り、1小節前のメロディ音高MD[T]に最
も近いコード構成音iが検出されると、10−5で、それ
が前回の副旋律の音高ELと同一かどうか調べられる。同
一ならばなにもせずにフローに抜ける。これにより同一
音の再発音を防止する。一方、異なるときには10−6で
この音高iをもつ副旋律音を発音し(10−6)、この音
高iを現在の副旋律音高ELとして記憶する(10−7)。
Returning to FIG. 10, when the chord component tone i closest to the melody pitch MD [T] one bar before is detected, it is checked at 10-5 whether or not it is the same as the pitch EL of the previous sub-melody. Can be If they are the same, exit to the flow without doing anything. This prevents re-sounding of the same sound. On the other hand, if different, a sub-melody tone having this pitch i is pronounced at 10-6 (10-6), and this pitch i is stored as the current sub-melody pitch EL (10-7).

以上の説明から明らかなように、本実施例によれば、
メロディ鍵盤からメロディが入力され、伴奏鍵盤からコ
ード進行を入力される状況の下で、コード進行の現在の
コードとメロディ(主旋律)の1小節前の音高とから副
旋律の現音がリアルタイムで生成され、音源を通じてメ
ロディの楽音とともにリアルタイムで出力される。結果
として、副旋律の演奏は主旋律(メロディ)の演奏を追
う形態となり、カノン的効果が奏される。
As is apparent from the above description, according to the present embodiment,
Under the situation where the melody is input from the melody keyboard and the chord progression is input from the accompaniment keyboard, the current note of the chord progression and the pitch of one measure before the melody (main melody) and the current tone of the secondary melody are real-time. It is generated and output in real time along with the melody tone through a sound source. As a result, the performance of the sub melody follows the performance of the main melody (melody), and a canon-like effect is achieved.

[変形例] 以上で実施例の説明を終えるが、この発明の範囲内で
種々の変形、変更が容易である。
[Modifications] Although the description of the embodiments has been finished above, various modifications and changes are easy within the scope of the present invention.

例えば、上記実施例では1つの副旋律を自動生成して
いるが、複数の副旋律を自動生成するようにしてもよ
い。例えば、メロディ配列MD[ ]に2小節分のメロデ
ィを確保しながら、第1の副旋律は1小節前のメロディ
音情報の関数としてその現音情報を生成し、第2の副旋
律の現音情報は2小節前のメロディ音情報の関数として
生成する。こうすることにより、より豊かなポリフォニ
ック音楽演奏が可能となる。
For example, in the above embodiment, one sub melody is automatically generated, but a plurality of sub melody may be automatically generated. For example, while securing a melody for two measures in the melody array MD [], the first sub-melody generates its current sound information as a function of the melody sound information one measure before, and generates the current sound of the second sub-melody. The information is generated as a function of the melody sound information two measures before. By doing so, richer polyphonic music performance can be performed.

また、予め主旋律(メロディ)の情報とコード進行の
情報が与えられている場合には(例えば使用者だけの演
奏モードのときに演奏入力装置からの主旋律の情報とコ
ード進行の情報をメモリに記憶しておくことにより確保
できる)、過去の代りに将来の主旋律情報(音高情報と
音長情報の少なくとも一方)を副旋律の現音情報の基礎
として利用できる。また、主旋律情報もしくはその他の
楽曲パート情報のなかで、現在と所定の関係をもつ複数
の時点における音情報を副旋律の現音情報に作用するパ
ラメータとして使用するようにしてもよい。例えば、現
在から所定の時間差をもつ第1時点T1における主旋律の
音高MD[T1]と第2時点T2における主旋律の音高MD[T
2]とから MD=W1×MD[T1]+W2×MD[T2] (ここにW1とW2は重み係数) で例示するように線形結合により、副旋律の現音高に作
用する音高情報MDを求め、このMDを実施例における1小
節前のメロディ音高情報MD[T]の代りに使用すれば、
より微妙な相関関係を主旋律と副旋律との間にもたせる
ことができる。上記係数W1とW2は固定値でもよければ、
小さな乱数成分と組み合わせて生成される可変値でもよ
い。更には音楽時間によって値の変化する重みパターン
W1(t)、W2(t)のデータを予め用意しておき、現在
時刻に対応する重みパターンの要素を取り出して、上記
MDの式におけるW1、W2として使用してもよい。上記MDの
式の線形結合は、2つのメロディ音要素の線形結合であ
るが、3以上のメロディ音要素の線形結合を採用しても
よい。
If the main melody information and the chord progression information are given in advance (for example, the main melody information and the chord progression information from the performance input device are stored in the memory in the performance mode only for the user). In this case, future main melody information (at least one of pitch information and pitch information) can be used as a basis for the current sound information of the sub melody instead of the past. Also, among the main melody information or other music part information, sound information at a plurality of times having a predetermined relationship with the present may be used as a parameter acting on the current sound information of the sub melody. For example, the pitch MD [T1] of the main melody at a first time point T1 having a predetermined time difference from the present time and the pitch MD [T] of the main melody at a second time point T2
2] and MD = W1 × MD [T1] + W2 × MD [T2] (where W1 and W2 are weighting factors), pitch information MD acting on the current pitch of the sub-melody by linear combination as exemplified by If this MD is used instead of the melody pitch information MD [T] one bar before in this embodiment,
A more subtle correlation can be provided between the main melody and the secondary melody. If the coefficients W1 and W2 can be fixed values,
A variable value generated in combination with a small random number component may be used. Furthermore, a weight pattern whose value changes with music time
The data of W1 (t) and W2 (t) are prepared in advance, the elements of the weight pattern corresponding to the current time are extracted, and
It may be used as W1 and W2 in the MD equation. The linear combination of the above MD equation is a linear combination of two melody sound elements, but may be a linear combination of three or more melody sound elements.

また、現在の副旋律の音情報に作用する主旋律の時点
(現在に対する相対時刻)が音楽時間(例えば楽節)に
よって可変となるようにしてもよい。
Further, the point of time of the main melody (relative time with respect to the present time) acting on the sound information of the current sub melody may be variable depending on the music time (for example, a passage).

また、音長の制御に関してこの発明を適用する場合に
は、音長が制御されるラインは必ずしも旋律を必要とせ
ず、単なるリズムのパートにも応用可能である。
Further, when the present invention is applied to control of the pitch, the line whose pitch is controlled does not necessarily require melody, and can be applied to a simple rhythm part.

生成すべき副旋律の音高の制御に関して、上記実施例
では、主旋律からの時間的作用の下で副旋律のすべての
音が現コードの構成音のなかから選択されるようにして
いるが、この制限も除去可能である。即ち、コード構成
音から選び出される和声音とともにコード構成外音から
選び出される非和声音とで副旋律を構成し得る。これを
実現するための一構成例では、主旋律の各音をコード進
行の情報と非和声音の分類知識(例えば、本件出願人に
係る特願昭62−325178号参照)とに基づいて、分析し
て、各メロディ音の種類(和声音の種類、非和声音の種
類)を類別化する、類別結果のうち和声音の種類を要素
とする配列(主旋律のアルペジオパターン)について
は、上述したような主旋律と副旋律との間の時間的相関
とピッチ関係を与えるための変換処理を施し、それを副
旋律の関連する部分の、具体的なピッチをもつアルペジ
オパターンとする。この副旋律アルペジオパターンに付
加する非和声音情報の生成のために、類別結果の残りで
ある主旋律の非和声音タイプの配列を利用する。例え
ば、この配列上の非和声音の種類のなかで、主旋律のあ
る和声音と和声音との間にある非和声音の種類の情報
を、副旋律上の対応する和声音間に挿入可能な非和声音
の種類として用い、実際にそのような非和声音が付加で
きるかどうかを非和声音の分類知識に従って検証し(音
高候補を与え、それが該当する非和声音の種類かどうか
を調べることで行う)、合格であれば付加を実行し、不
合格であれば、付加しない。この構成の場合、主旋律を
構成する音のうち和声音だけでなく非和声音も時間的要
素を介して和声音と非和声音を含む副旋律に作用するこ
とになる(図示実施例でも主旋律のなかの非和声音が副
旋律に作用するが、その作用は副旋律の和声音に対して
である)。
Regarding the control of the pitch of the sub melody to be generated, in the above embodiment, all the sounds of the sub melody are selected from among the constituent sounds of the current chord under the temporal action from the main melody. This restriction can also be removed. In other words, a sub-melody can be composed of a harmony selected from chord constituent sounds and a non-chord selected from non-chord constituent sounds. In one configuration example for realizing this, each sound of the main melody is analyzed based on chord progression information and classification knowledge of non-harmonic sounds (for example, see Japanese Patent Application No. 62-325178 of the present applicant). Then, the type of each melody sound (harmonic sound type, non-harmonic sound type) is categorized. Among the classification results, the arrangement (the arpeggio pattern of the main melody) having the harmony sound type as an element is as described above. A conversion process is performed to give a temporal correlation and a pitch relationship between the main melody and the secondary melody, and this is used as an arpeggio pattern having a specific pitch in a relevant portion of the secondary melody. In order to generate non-harmonic information to be added to the sub-melody arpeggio pattern, the non-harmonic type arrangement of the main melody, which is the remainder of the classification result, is used. For example, among the types of non-harmonics on this arrangement, information on the type of non-harmonic between the main melody and the harmony can be inserted between the corresponding harmony on the sub-melody. It is used as a type of non-harmonic sound, and it is verified whether such a non-harmonic sound can be actually added according to the classification knowledge of non-harmonic sounds. This is done by checking), if it passes, the addition is performed, and if it fails, it is not added. In the case of this configuration, not only the harmony but also the non-harmony among the sounds constituting the main melody act on the secondary melody including the harmony and the non-harmony through the temporal element (in the embodiment shown in the figure, too). Some non-harmonics affect the secondary melody, but the effect is on the secondary melody.)

[発明の効果] 最後に、特許請求の範囲に記載する発明の効果、利点
について述べる。
[Effects of the Invention] Finally, effects and advantages of the invention described in the claims will be described.

請求項8から説明すると、同項記載の構成によれば、
与えられた第1の旋律パートの音高情報が時間的相関を
以つて作用するような第2の旋律パートの音高情報を生
成でき、リアルで自然なポリフォニック音楽を第1と第
2の旋律パートによって構成することができる。
According to claim 8, according to the configuration described in the claim,
It is possible to generate pitch information of a second melody part such that given pitch information of the first melody part acts with a temporal correlation, and to generate real and natural polyphonic music in the first and second melody parts. Can be composed of parts.

また、請求項7によれば、与えられた第1パートの音
長情報が複数の時間的要素を介して作用するような第2
のパートの音長情報を生成でき、リズムが相関する自然
なポリフォニック音楽を構成可能である。
Further, according to the seventh aspect, the second information that the given duration information of the first part operates through a plurality of temporal elements.
It is possible to generate the duration information of the part, and to compose natural polyphonic music in which the rhythm is correlated.

請求項1の構成の場合、主旋律がリード役となってそ
れをハーモナイズする副旋律のピッチラインが主旋律の
ピッチラインを追いかけるようなカノン的効果を得るこ
とができる。
In the case of the configuration of the first aspect, a canon-like effect can be obtained in which the main melody plays the lead role and the pitch line of the sub melody that harmonizes the lead melody tracks the pitch line of the main melody.

請求項4では逆に、副旋律がリード役となって主旋律
のピッチラインが副旋律のピッチラインを追いかけるよ
うなカノン的効果を得ることができる。
In the fourth aspect, on the contrary, a canon-like effect can be obtained in which the sub melody plays the lead role and the pitch line of the main melody follows the pitch line of the sub melody.

請求項5では主旋律の複数の時点における音高情報が
副旋律の音高情報に作用するので、より一般的な旋律パ
ート間の相互作用を実現可能である。
According to the fifth aspect, since the pitch information at a plurality of times of the main melody acts on the pitch information of the sub melody, a more general interaction between the melody parts can be realized.

請求項1に従属する請求項3によれば、音高だけでな
く音長についても主旋律の情報が時間的に遅れて副旋律
に作用するので、より純粋な形態のカノン的効果が得ら
れる。
According to claim 3 which depends on claim 1, since the information of the main melody acts on the sub melody with a time delay not only in the pitch but also in the pitch, a more pure form of Canon effect can be obtained.

請求項9によればリアルタイムで主旋律とコード進行
とに基づく副旋律情報の自動生成が可能で、主旋律の演
奏と並んでの副旋律の演奏のリアルタイム出力が可能で
ある。したがって、手軽にポリフォニック音楽を楽しむ
ことができる。また、主旋律が及ぼす副旋律への作用は
請求項1と同様なので、ピッチ成分についてのカノン的
演奏効果が得られる。
According to the ninth aspect, it is possible to automatically generate sub melody information based on the main melody and the chord progression in real time, and to output the performance of the sub melody along with the performance of the main melody. Therefore, polyphonic music can be easily enjoyed. Since the main melody has the same effect on the secondary melody as in claim 1, a canon-like performance effect on the pitch component can be obtained.

請求項10は、請求項9の構成に加え、音長についても
主旋律の情報が音楽的な遅れをもって副旋律に作用する
ので旋律パート間において回帰性ないし再帰性の高いポ
リフォニック音楽を手軽に楽しむことができる。
According to a tenth aspect of the present invention, in addition to the configuration of the ninth aspect, since the information of the main melody also acts on the secondary melody with a musical delay with respect to the duration, it is easy to enjoy polyphonic music having high regression or recursiveness between the melody parts. Can be.

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

第1図はこの発明の一実施例に係るリアルタイムの副旋
律生成機能を有する電子楽器の全体構成図、 第2図は実施例で使用する主な変数のリストを示す図、 第3図は変数のタイプを示す図、 第4図はコード構成音テーブルを例示する図、 第5図は実施例のメインルーチンの動作を示すフローチ
ャート、 第6図は実施例の時間インタラプトルーチンの動作を示
すフローチャート、 第7図はコード処理のフローチャート、 第8図は副旋律処理のフローチャート、 第9図はメロディ処理のフローチャート、 第10図は副旋律発音処理のフローチャート、 第11図はコード構成音検査のフローチャートである。 2……鍵盤(主旋律付与手段及びコード進行付与手
段)、4……CPU(副旋律生成手段の一部)、5……ROM
(副旋律生成手段の一部)。
FIG. 1 is an overall configuration diagram of an electronic musical instrument having a real-time sub-melody generation function according to an embodiment of the present invention, FIG. 2 is a diagram showing a list of main variables used in the embodiment, and FIG. FIG. 4 is a diagram illustrating a chord configuration sound table, FIG. 5 is a flowchart showing the operation of a main routine of the embodiment, FIG. 6 is a flowchart showing the operation of a time interrupt routine of the embodiment, FIG. 7 is a flowchart of the chord processing, FIG. 8 is a flowchart of the sub melody processing, FIG. 9 is a flowchart of the melody processing, FIG. 10 is a flowchart of the sub melody sounding processing, and FIG. is there. 2 ... keyboard (main melody giving means and chord progression giving means) 4 ... CPU (part of sub melody generating means) 5 ... ROM
(Part of the sub melody generating means).

フロントページの続き (56)参考文献 特開 平2−173697(JP,A) 特開 昭56−123599(JP,A) 特開 昭64−33591(JP,A) 特開 昭59−116696(JP,A) 実開 平3−5200(JP,U) 特公 昭63−42270(JP,B2) 特公 昭63−32197(JP,B2) 特公 昭63−25676(JP,B2) 特公 昭63−22314(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G10H 1/18 - 1/30 G10H 1/36 - 1/42 G10H 1/00 101 - 102 Continuation of the front page (56) References JP-A-2-173697 (JP, A) JP-A-56-123599 (JP, A) JP-A-64-33591 (JP, A) JP-A-59-116696 (JP) , A) Japanese Utility Model 3-5200 (JP, U) JP-B 63-42270 (JP, B2) JP-B 63-32197 (JP, B2) JP-B 63-25676 (JP, B2) 63-22314 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) G10H 1/18-1/30 G10H 1/36-1/42 G10H 1/00 101-102

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】楽曲の主旋律の情報を付与する主旋律付与
手段と、 上記楽曲のコード進行の情報を付与するコード進行付与
手段と、 上記コード進行の過去のコード情報を用いずに、現コー
ド情報と上記主旋律の過去のメロディ音高情報とに基づ
いて副旋律の現音高情報を決定することにより、上記楽
曲の少なくとも1つの副旋律を生成する副旋律生成手段
と、 を備え、 上記副旋律生成手段は、上記現コード情報のコード構成
音のなかで上記メロディ音高情報と所定の音高関係をも
つコード構成音を上記現音高情報として決定する決定手
段を有する、 ことを特徴とする副旋律生成装置。
A main melody providing means for providing information on a main melody of the music; a chord progression providing means for providing information on chord progression of the music; a current chord information without using past chord information of the chord progression; And sub-melody generating means for generating at least one sub-melody of the music piece by determining current pitch information of the sub-melody based on the past melody pitch information of the main melody. Generating means for determining a chord constituent sound having a predetermined pitch relationship with the melody pitch information among the chord constituent sounds of the current chord information as the current pitch information; Sub-melody generator.
【請求項2】請求項1記載の副旋律生成装置において、
上記決定手段は、上記現コード情報のコード構成音のな
かで上記メロディ音高情報に近いコード構成音を上記現
音高情報として決定することを特徴とする副旋律生成装
置。
2. The secondary melody generating device according to claim 1,
The sub-melody generating device according to claim 1, wherein said determining means determines a chord constituent sound close to said melody pitch information among said chord constituent sounds of said current chord information as said current pitch information.
【請求項3】請求項1記載の副旋律生成装置において、
上記副旋律生成手段は、上記主旋律の過去のメロディ音
長情報に従って上記副旋律の現音長情報を決定すること
により上記副旋律のリズムを生成する手段を有すること
を特徴とする副旋律生成装置。
3. The secondary melody generating device according to claim 1,
The sub-melody generating device, characterized in that the sub-melody generating means has a means for generating a rhythm of the sub-melody by determining current pitch information of the sub-melody according to past melody pitch information of the main melody. .
【請求項4】楽曲の主旋律の情報を付与する主旋律付与
手段と、 上記楽曲のコード進行の情報を付与するコード進行付与
手段と、 上記コード進行の現コード情報と上記主旋律の将来のメ
ロディ音高情報とに基づいて副旋律の現音高情報を決定
することにより、上記楽曲の少なくとも1つの副旋律を
生成する副旋律生成手段と、 を有することを特徴とする副旋律生成装置。
4. A main melody providing means for providing information on a main melody of a music piece; a chord progression providing means for providing information on a chord progression of the music piece; current chord information of the chord progression and a future melody pitch of the main melody. A sub-melody generating means for generating at least one sub-melody of the music by determining the current pitch information of the sub-melody based on the information.
【請求項5】楽曲の主旋律の情報を付与する主旋律付与
手段と、 上記楽曲のコード進行の情報を付与するコード進行付与
手段と、 上記コード進行の現コード情報と上記主旋律の複数の異
なる時点におけるメロディ音高情報とに基づいて副旋律
の現音高情報を決定することにより、上記楽曲の少なく
とも1つの副旋律を生成する副旋律生成手段と、 を有することを特徴とする副旋律生成装置。
5. A main melody providing means for providing information on a main melody of a music, a chord progression providing means for providing information on a chord progression of the music, a current chord information of the chord progression and a plurality of different times of the main melody. A sub-melody generating means for generating at least one sub-melody of the musical piece by determining current pitch information of the sub-melody based on the melody pitch information.
【請求項6】請求項5記載の副旋律生成装置において、
上記副旋律生成手段は、上記コード進行の現コード情報
と、上記主旋律のメロディ音高情報のなかで現時点と所
定の時間関係をもつ複数の異なる時点におけるメロディ
音高情報の線形結合によって定められる音高情報とに基
づいて上記副旋律の現音高情報を決定する手段を有する
ことを特徴とする副旋律生成装置。
6. The secondary melody generating apparatus according to claim 5,
The secondary melody generating means includes a note determined by a linear combination of the current chord information of the chord progression and the melody pitch information at a plurality of different time points having a predetermined time relationship with the current time in the melody pitch information of the main melody. A sub-melody generating device comprising means for determining current pitch information of the sub-melody based on high information.
【請求項7】楽曲の第1のパートの情報を付与する第1
パート付与手段と、 上記第1のパートの複数の異なる時点における音長情報
の組み合わせに基づいて上記楽曲の第2のパートにおけ
る現音長情報を決定することにより第2のパートのリズ
ムを生成する第2パートリズム生成手段と、 を有することを特徴とする楽曲パート生成装置。
7. A first method for adding information of a first part of a music piece
A rhythm of the second part is generated by determining the current duration information of the second part of the music based on a combination of the part providing means and the duration information of the first part at a plurality of different times. A music part generation device, comprising: second part rhythm generation means.
【請求項8】楽曲の第1の旋律パートの情報を付与する
第1旋律パート付与手段と、 上記楽曲の第2の旋律パートで使用可能な音高セットの
進行の情報を第2の旋律パートの基礎データとして付与
する第2旋律パート基礎データ付与手段と、 上記使用可能な音高セットの進行における現在の使用可
能な音高セットと上記第1の旋律パートの情報のなかで
現在より所定の将来の音高情報、または現在に対し所定
の時間関係をもつ複数の時点における音高情報とに基づ
いて上記第2の旋律パートの現在の音高情報を決定する
ことにより上記第2の旋律パートの情報を生成する第2
旋律パート生成手段と、 を有することを特徴とする副旋律生成装置。
8. A first melody part assigning means for assigning information on a first melody part of a music, and information on progress of a pitch set usable in the second melody part of the music is given by a second melody part. A second melody part basic data providing means for providing as basic data, a currently available pitch set in the progress of the usable pitch set and a predetermined melody information in the information of the first melody part. Determining the current pitch information of the second melody part on the basis of future pitch information or pitch information at a plurality of time points having a predetermined time relationship with the present; Second to generate the information of
A melody part generating device, comprising: a melody part generating means.
【請求項9】楽曲の主旋律の演奏情報をリアルタイムで
入力する主旋律演奏入力手段と、 入力された上記主旋律の演奏情報に応答して主旋律の楽
音を出力する主旋律出力手段と、 入力された上記主旋律の演奏情報を記憶する主旋律記憶
手段と、 上記楽曲のコード進行をリアルタイムで入力するコード
進行入力手段と、 上記コード進行入力手段からの入力に応答し、現コード
を検出する現コード検出手段と、 過去のコード情報は用いずに、上記現コード検出手段に
より検出された上記現コードと上記主旋律記憶手段に記
憶された上記主旋律の演奏情報のなかで、現時点から所
定の時間だけ過去の演奏情報に含まれる音高情報とに基
づいて副旋律の現音高情報をリアルタイムで決定する決
定手段であって、上記現コード情報のコード構成音のな
かで上記音高情報と所定の音高関係をもつコード構成音
を上記現音高情報として決定する決定手段を含む副旋律
生成手段と、 上記副旋律生成手段からの副旋律の演奏情報に応答して
副旋律の楽音を出力する副旋律出力手段と、 を有することを特徴とする副旋律生成装置。
9. A main melody performance input means for inputting performance information of a main melody of a music in real time; a main melody output means for outputting a tone of the main melody in response to the input performance information of the main melody; Main melody storage means for storing performance information of the song, chord progression input means for inputting the chord progression of the music in real time, current chord detection means for detecting the current chord in response to an input from the chord progression input means, Without using the past chord information, the performance information of the main melody detected by the current chord detection means and the performance information of the main melody stored in the main melody storage means is replaced by the performance information of a predetermined time from the present time. Determining, in real time, the current pitch information of the sub melody based on the included pitch information. A sub melody generating means including a deciding means for deciding a chord constituent sound having a predetermined pitch relationship with the pitch information as the current pitch information, and responding to performance information of the sub melody from the sub melody generating means. And a sub-melody output means for outputting a sub-melody tone.
【請求項10】請求項9に記載の副旋律生成装置におい
て、上記副旋律生成手段は、上記主旋律記憶手段に記憶
された上記主旋律の演奏情報のなかで現時点から上記所
定の時間だけ過去の演奏情報に含まれる音長情報に基づ
いて上記副旋律の現音長情報をリアルタイムで決定する
手段を更に含むことを特徴とする副旋律生成装置。
10. The secondary melody generating device according to claim 9, wherein the secondary melody generating means includes a performance performed in the performance information of the main melody stored in the main melody storage means in the past for the predetermined time from the current time. A sub-melody generating apparatus, further comprising means for determining the current pitch information of the sub-melody in real time based on the pitch information included in the information.
JP1252405A 1989-09-29 1989-09-29 Sub-melody generator and music part generator Expired - Fee Related JP3035925B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP1252405A JP3035925B2 (en) 1989-09-29 1989-09-29 Sub-melody generator and music part generator
US07/588,050 US5235125A (en) 1989-09-29 1990-09-25 Apparatus for cross-correlating additional musical part with principal part through time
US08/007,119 US5331112A (en) 1989-09-29 1993-01-21 Apparatus for cross-correlating additional musical part to principal part through time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1252405A JP3035925B2 (en) 1989-09-29 1989-09-29 Sub-melody generator and music part generator

Publications (2)

Publication Number Publication Date
JPH03116097A JPH03116097A (en) 1991-05-17
JP3035925B2 true JP3035925B2 (en) 2000-04-24

Family

ID=17236885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1252405A Expired - Fee Related JP3035925B2 (en) 1989-09-29 1989-09-29 Sub-melody generator and music part generator

Country Status (1)

Country Link
JP (1) JP3035925B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101694412B1 (en) * 2014-11-05 2017-01-09 윤병섭 Fabricated Multi-Function Flowerpot Assembly and Flowerpot and strut with the Same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101694412B1 (en) * 2014-11-05 2017-01-09 윤병섭 Fabricated Multi-Function Flowerpot Assembly and Flowerpot and strut with the Same
KR101790143B1 (en) 2014-11-05 2017-10-25 윤병섭 Fabricated Multi-Function Flowerpot Assembly and Flowerpot and strut with the Same
KR101898581B1 (en) * 2014-11-05 2018-09-13 윤병섭 Fabricated Multi-Function Flowerpot Assembly and Flowerpot and strut with the Same

Also Published As

Publication number Publication date
JPH03116097A (en) 1991-05-17

Similar Documents

Publication Publication Date Title
Gjerdingen Apparent motion in music?
US5496962A (en) System for real-time music composition and synthesis
JP3718919B2 (en) Karaoke equipment
EP1638077B1 (en) Automatic rendition style determining apparatus, method and computer program
JP2562370B2 (en) Automatic accompaniment device
Poepel On interface expressivity: A player based study.
US6294720B1 (en) Apparatus and method for creating melody and rhythm by extracting characteristic features from given motif
JPS5983199A (en) Electronic musical instrument
JP2000315081A (en) Device and method for automatically composing music and storage medium therefor
Baggi Neurswing: An intelligent workbench for the investigation of swing in jazz
JP3035925B2 (en) Sub-melody generator and music part generator
US4941387A (en) Method and apparatus for intelligent chord accompaniment
JP2787723B2 (en) Music part generator
JP3724347B2 (en) Automatic composition apparatus and method, and storage medium
JP3664126B2 (en) Automatic composer
JP3019343B2 (en) Music part generator
JP2021113895A (en) Accompaniment sound generation device, electronic musical instrument, accompaniment sound generation method, and accompaniment sound generation program
JP2995771B2 (en) Music part generator
JP2995772B2 (en) Music part generator
JP3430895B2 (en) Automatic accompaniment apparatus and computer-readable recording medium recording automatic accompaniment control program
US5483018A (en) Automatic arrangement apparatus including selected backing part production
JP3364940B2 (en) Automatic composer
JP3674469B2 (en) Performance guide method and apparatus and recording medium
JP2623175B2 (en) Automatic performance device
JP2827313B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees