Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4154600B2 - Automatic accompaniment generation program and automatic accompaniment generation device - Google Patents
[go: Go Back, main page]

JP4154600B2 - Automatic accompaniment generation program and automatic accompaniment generation device - Google Patents

Automatic accompaniment generation program and automatic accompaniment generation device Download PDF

Info

Publication number
JP4154600B2
JP4154600B2 JP2003330610A JP2003330610A JP4154600B2 JP 4154600 B2 JP4154600 B2 JP 4154600B2 JP 2003330610 A JP2003330610 A JP 2003330610A JP 2003330610 A JP2003330610 A JP 2003330610A JP 4154600 B2 JP4154600 B2 JP 4154600B2
Authority
JP
Japan
Prior art keywords
data
automatic accompaniment
track
melody
section
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
JP2003330610A
Other languages
Japanese (ja)
Other versions
JP2005099205A (en
Inventor
智恵子 古賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2003330610A priority Critical patent/JP4154600B2/en
Publication of JP2005099205A publication Critical patent/JP2005099205A/en
Application granted granted Critical
Publication of JP4154600B2 publication Critical patent/JP4154600B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、電子楽器などにおいて伴奏スタイルデータを用いて自動伴奏を行うのに適したコンピュータに実行させるための自動伴奏生成プログラム及び自動伴奏生成装置に関する。 The present invention relates to an automatic accompaniment generating program and an automatic accompaniment generating apparatus for causing a computer suitable for performing automatic accompaniment using accompaniment style data in an electronic musical instrument or the like.

従来、電子楽器やシーケンサなどにおいて、曲データに自動伴奏を付加して再生する際に伴奏スタイルを使用している。伴奏スタイルは、曲のイントロダクションに用いるイントロセクションや、曲本体部で主に定常的に用いるメインセクションや、曲のエンディングに用いるエンディングセクションなどの複数種類のセクションが含まれている。そして、このような伴奏スタイルを曲データに付加する技術として特許第3327188号公報、特許第2806351号公報に開示されたものがある。   Conventionally, in an electronic musical instrument, a sequencer, and the like, an accompaniment style is used when an automatic accompaniment is added to music data for playback. The accompaniment style includes a plurality of types of sections such as an intro section used for the introduction of the music, a main section used mainly in the music main body, and an ending section used for the ending of the music. As a technique for adding such accompaniment style to music data, there are those disclosed in Japanese Patent No. 3327188 and Japanese Patent No. 2806351.

特許第3327188号公報のものは、曲データを解析してコード進行の和音列と伴奏スタイルのセクション列を自動生成するようにしてる。また、特許第2806351号公報のものは、曲データを分析してセクション列を自動検出するにあたってセクションのバリエーションタイプを判定することができるものであり、自動判定されたバリエーションタイプは、そのセクションの該当する区間の曲データ中での盛り上がり傾向に対応している。
特許第3327188号公報 特許第2806351号公報
In Japanese Patent No. 3327188, chord progression chord strings and accompaniment style section strings are automatically generated by analyzing song data. Japanese Patent No. 2806351 can determine a variation type of a section when analyzing song data and automatically detecting a section row, and the automatically determined variation type corresponds to the corresponding section. It corresponds to the climax tendency in the song data of the section to be.
Japanese Patent No. 3327188 Japanese Patent No. 2806351

前記従来技術のように曲データに自動伴奏のコード進行の和音列や伴奏スタイルのセクション列を自動付与する場合、従来は、曲データの全体もしくは特定トラック全体を1曲分のメロディデータとして認識していた。例えば最初にイントロ用フレーズがあり、実際のメロディフレーズへと続くような曲データにおいて、イントロ用フレーズと類似したフレーズがメロディ内に存在しないような場合、メロディ区間内で検出されるセクション列の盛り上がり傾向が不適切なものになってしまうことがある。例えば、イントロ用フレーズに派手な伴奏が付き、代わりにメロディで盛り上がるべきところで静かな伴奏がついてしまう可能性がある。   When automatic chord progression chord progressions and accompaniment style section sequences are automatically added to song data as in the prior art, conventionally, the entire song data or the entire specific track is recognized as melody data for one song. It was. For example, if there is an intro phrase first and the song data that continues to the actual melody phrase does not have a phrase similar to the intro phrase in the melody, the rise of the section string detected in the melody section The trend may be inappropriate. For example, the intro phrase may have a flashy accompaniment, and instead a quiet accompaniment may occur where it should be swelled by a melody.

また、イントロ用フレーズがメロディとは別トラックに入っている場合には、メロディのみを1曲分のデータとして解析すると、このメロディに対して検出される伴奏の盛り上がり傾向には不都合はなくなるが、イントロ用フレーズに対して和音列もセクション列も付加されなくなる。   Also, if the intro phrase is on a separate track from the melody, analyzing only the melody as data for one song will not inconvenience the accompaniment trend detected for this melody, No chord string or section string is added to the intro phrase.

本発明は、自動伴奏を行う際に特別な操作を必要としないで、曲データに適した自動伴奏を付加できるようにすることを課題とする。   It is an object of the present invention to add an automatic accompaniment suitable for music data without requiring a special operation when performing an automatic accompaniment.

請求項1及び2の自動伴奏生成プログラムは、パーソナルコンピュータや電子楽器等におけるコンピュータに実行させるものである。請求項1の自動伴奏生成プログラムの実行により、曲データからイベント情報を読み出して、そのイベント情報に基づいて曲データ内の演奏データを複数の区間グループに分割し、この分割された各区間グループの演奏データに対して各区間グループ独立に各区間のデータを解析してコード進行の和音列や伴奏スタイルのセクション列などの自動伴奏を生成するようにした。 The automatic accompaniment generation program according to claims 1 and 2 is executed by a computer in a personal computer, an electronic musical instrument or the like. By executing the automatic accompaniment generating program according to claim 1, event information is read from the song data, and the performance data in the song data is divided into a plurality of section groups based on the event information, and each of the divided section groups is divided. The performance data was analyzed independently for each section group to generate automatic accompaniment such as chord progression chord progressions and accompaniment style section sequences.

イベント情報に基づいて演奏データを区間グループに分割する場合、演奏データ自体であるイベント情報で例えばメロディ部分を検出して、このメロディ部分を一つの区間グループに対応させる方法、例えばメロディ部分の開始位置と終了位置とを示す区切り情報であるイベント情報を演奏データに予め記録しておき、この区切り情報(イベント情報)でメロディ部分を一つの区間グループに対応させる方法などがある。   When dividing performance data into section groups based on event information, a method of detecting, for example, a melody part from event information that is the performance data itself, and making this melody part correspond to one section group, for example, the start position of the melody part There is a method in which event information, which is delimiter information indicating the end position and the end position, is recorded in advance in performance data, and the melody portion is associated with one section group by this delimiter information (event information).

楽曲は、イントロ、メロディ、間奏、エンディングのように各々特徴を持ったフレーズが時系列に連なったものであり、曲データに対して時間軸上で区間を区切り、その区間内の演奏データ(ノートイベント)を各区間グループにグループ分けし、この区間グループ毎にその演奏データに基づいて自動伴奏を生成すると、特徴の異なるフレーズで各フレーズに適した自動演奏を付加することが可能となる。   A song is a series of phrases with different characteristics, such as intro, melody, interlude, and ending, in chronological order. The song data is divided into sections on the time axis, and the performance data (notes) in that section Event) are grouped into section groups, and automatic accompaniment is generated for each section group based on the performance data, it is possible to add an automatic performance suitable for each phrase with phrases having different characteristics.

また、請求項の自動伴奏生成プログラムは、複数トラックからなる曲データを対象とし分割された各区間グループについて各区間グループ独立に自動伴奏を生成する際に、自動伴奏生成の元となる演奏データを読み出すトラックの組み合わせを区間グループ毎に制御するようにした。 The automatic accompaniment generator according to claim 1 is directed to a music data comprising a plurality of tracks, for each of the divided segment groups were in generating an automatic accompaniment in each segment groups independently a original accompaniment generation performance The combination of tracks from which data is read is controlled for each section group.

例えば、イントロに対応する区間グループではメロディトラック以外のトラックから演奏データを読み出す。メロディに対応する区間グループではメロディトラックから演奏データを読み出したり、メロディトラックと間奏トラックとから演奏データを読み出したりする。   For example, in the section group corresponding to the intro, performance data is read from tracks other than the melody track. In the section group corresponding to the melody, the performance data is read from the melody track, or the performance data is read from the melody track and the interlude track.

請求項の自動伴奏生成プログラムは、複数トラックからなる曲データを対象とし、請求項1と同様に分割された各区間グループについて各区間グループ独立に自動伴奏を生成する際に、分割された各区間グループにメロディ相当の演奏データが有るか否かを判断し、メロディ相当の演奏データが有ると判断された場合、その区間グループに対して、メロディトラックの演奏データに基づいて自動伴奏を生成し、メロディ相当の演奏データがないと判断された場合、その区間グループに対して、メロディトラック以外のトラックの演奏データに基づいて各区間のデータを解析して自動伴奏を生成するようにした。 The automatic accompaniment generation program according to claim 2 targets music data composed of a plurality of tracks, and generates each of the divided accompaniments independently for each section group for each section group as in claim 1. It is determined whether there is performance data equivalent to a melody in a section group. If it is determined that there is performance data equivalent to a melody, an automatic accompaniment is generated for that section group based on the performance data of the melody track. When it is determined that there is no performance data equivalent to the melody , the data of each section is analyzed for the section group based on the performance data of tracks other than the melody track, and an automatic accompaniment is generated.

例えば、メロディのアウフタクト部分はメロディトラックの演奏データであるが、このアウフタクト部分は「メロディ相当の演奏データ」とはせず、メロディトラック以外のイントロトラックの演奏データに基づいて自動伴奏を生成できるので、イントロに適した自動伴奏を生成できる。   For example, the melody output part is the performance data of the melody track, but this output part is not “performance data equivalent to the melody”, and automatic accompaniment can be generated based on the performance data of the intro track other than the melody track. Automatic accompaniment suitable for intro can be generated.

請求項の自動伴奏生成装置によれば請求項1と同様な作用効果を奏する。 According to the automatic accompaniment generator of claim 3, the same effect as that of claim 1 is obtained.

本発明の請求項1及び2の自動伴奏生成プログラムの実行または請求項の自動伴奏生成装置によれば、曲データを自動的に解析して少なくともメロディフレーズ区間とそれ以外のフレーズ区間とを別の区間グループに分割して各区間グループ毎に独立に自動伴奏を生成できるので、曲データ内のどの区間のフレーズに対しても適切な自動伴奏を付加することができる。なお、ユーザは曲データ内のフレーズ構成などを自分で調べる必要もないので煩雑な作業も必要なくなる。 According to the execution of the automatic accompaniment generating program according to claims 1 and 2 of the present invention or the automatic accompaniment generating apparatus according to claim 3 , the music data is automatically analyzed to separate at least a melody phrase section and other phrase sections. Therefore, an automatic accompaniment can be generated independently for each section group, so that an appropriate automatic accompaniment can be added to a phrase in any section in the music data. Since the user does not need to check the phrase structure in the song data by himself / herself, no complicated work is required.

以下、図面を参照して本発明の一実施の形態について説明する。図1は本発明を適用した電子楽器のハード構成ブロック図であり、CPU1はROM2に格納されている制御プログラムに基づいてRAM3のワーキングエリアを使用して電子楽器全体の制御を行う。通常の電子楽器の基本的な機能として、CPU1は入力操作部4の鍵盤等の操作イベントを検出してマニュアル演奏の制御を行う。また、入力操作部4のパネル操作子等の操作イベントを検出し各種操作子の操作に応じた処理を行う。また、CPU1は表示部5を介してディスプレイ6における表示の制御を行う。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a hardware configuration block diagram of an electronic musical instrument to which the present invention is applied. The CPU 1 controls the entire electronic musical instrument using a working area of the RAM 3 based on a control program stored in the ROM 2. As a basic function of a normal electronic musical instrument, the CPU 1 detects an operation event such as a keyboard of the input operation unit 4 and controls manual performance. Further, an operation event such as a panel operator of the input operation unit 4 is detected, and processing corresponding to the operation of various operators is performed. Further, the CPU 1 controls display on the display 6 via the display unit 5.

音源7は複数の音源チャンネルで時分割多重処理を行って複数音を実質的に同時発音可能としたものであり、CPU1から各音源チャンネル毎にキーコード、音色データ、音量データなどが設定され、各音源チャンネル毎に楽音信号をサウンドシステム8に出力する。そして、サウンドシステム8は楽音信号のD/A変換や増幅等を行ってスピーカー等で発音する。   The sound source 7 performs time-division multiplexing processing on a plurality of sound source channels so that a plurality of sounds can be generated substantially simultaneously. A key code, tone data, volume data, etc. are set for each sound source channel from the CPU 1. A tone signal is output to the sound system 8 for each sound source channel. The sound system 8 performs D / A conversion, amplification, etc. of the musical sound signal and generates sound through a speaker or the like.

外部記憶装置9はハードディスク装置(HDD)、フロッピィ(商標)ディスク装置(FDD)、CD−ROM装置、光磁気ディスク(MO)装置、デジタル多目的ディスク(DVD)装置等であり、例えばこの外部記憶装置9から本発明の自動伴奏生成プログラム、曲データ、自動伴奏の伴奏スタイルデータを供給したり、各種データを保存するために用いられる。なお、プリセットの伴奏スタイルデータやデモの曲データはROM2に記憶されている。   The external storage device 9 is a hard disk device (HDD), a floppy (trademark) disk device (FDD), a CD-ROM device, a magneto-optical disk (MO) device, a digital multipurpose disk (DVD) device or the like. 9 is used to supply the automatic accompaniment generation program, song data, automatic accompaniment style data of the present invention from 9 and to store various data. Note that preset accompaniment style data and demo song data are stored in the ROM 2.

さらに、通信インターフェース(I/F)10を介して他のMIDI機器などの外部機器11との間で各種データの授受を行う。そして、例えば曲や伴奏の再生時の各種楽音制御データをMIDIデータとして出力して、外部機器11で再生することもできる。また、外部機器11から曲データや伴奏スタイルデータを供給することもできる。   Furthermore, various data is exchanged with an external device 11 such as another MIDI device via a communication interface (I / F) 10. For example, various musical tone control data at the time of reproduction of a song or accompaniment can be output as MIDI data and reproduced by the external device 11. Also, music data and accompaniment style data can be supplied from the external device 11.

なお、この実施形態では、自動伴奏生成プログラムを含む実施形態の制御プログラム、曲データ及びプリセット以外の伴奏スタイルデータは外部記憶装置9のハードディスク装置(HDD)に記憶されており、CPU1は、このハードディスク装置の制御プログラムをRAM3に展開し、このRAM3のプログラムに基づいて自動伴奏の動作を制御する。また、曲データを解析してコード進行の和音列と伴奏スタイルのセクション列を自動生成する。なお、この和音列やセクション列を生成する方法(自動伴奏生成)については、前掲の特許文献等に開示された従来の方法でよく、その詳細な説明は省略する。   In this embodiment, the control program of the embodiment including the automatic accompaniment generation program, the accompaniment style data other than the song data and the preset are stored in the hard disk device (HDD) of the external storage device 9, and the CPU 1 stores this hard disk. A device control program is developed in the RAM 3 and the operation of the automatic accompaniment is controlled based on the program in the RAM 3. Also, the chord progression chord string and accompaniment style section string are automatically generated by analyzing the song data. Note that the chord string and section string generation method (automatic accompaniment generation) may be a conventional method disclosed in the above-mentioned patent documents and the like, and detailed description thereof will be omitted.

図2は実施形態における曲データのフォーマットの一例を示す図である。曲データは、例えばSMF(スタンダードMIDIファイル)あるいはそれに準じた形式であり、ヘッダ、フレーズトラック及びマスタートラックで構成されている。ヘッダには、曲名、曲の長さなどが記録されている。   FIG. 2 is a diagram showing an example of the format of music data in the embodiment. The song data is, for example, SMF (standard MIDI file) or a format conforming thereto, and is composed of a header, a phrase track, and a master track. In the header, a song name, a song length, and the like are recorded.

また、フレーズトラックは複数のトラック(トラック1,トラック2,トラック3,…)で構成され、例えばトラック1にはメロディ、トラック2にはイントロ用フレーズ、トラック3には間奏用フレーズの各演奏データが記録されている。すなわち、この実施例ではトラック1が「メロディトラック」、トラック2が「イントロトラック」、トラック3が「間奏トラック」に対応する。演奏データは時系列なノートイベントで構成されており、一つのノートイベントは、ノートの発生タイミングを表すタイミングデータ及びノートデータ(音高データ、ベロシティデータ、ゲートタイムデータ)から構成されている。   The phrase track is composed of a plurality of tracks (track 1, track 2, track 3,...), For example, each piece of performance data of a melody for track 1, an intro phrase for track 2, and an interlude phrase for track 3. Is recorded. That is, in this embodiment, track 1 corresponds to a “melody track”, track 2 corresponds to an “intro track”, and track 3 corresponds to an “interlude track”. The performance data is composed of time-series note events, and one note event is composed of timing data representing note generation timing and note data (pitch data, velocity data, gate time data).

マスタートラックには、拍子、テンポ、調性なども記録されているが、自動伴奏生成で生成されたコード進行の和音列が、このマスタートラックに記録される。コード進行の和音列は、コードイベントとして、和音の種類と根音を和音の開始(または切換)タイミングを示すタイミングデータとともに順次記録される。なお、マスタートラックにコード進行が記録されている場合もあり、このような場合には伴奏生成時にコード進行は生成しなくてもよい。さらに、本発明の実施形態の1特徴として、マスタートラックには、メロディの演奏データに対応してメロディの開始位置及びメロディの終了位置の各区切り情報(位置情報)がタイミングデータとともに記録されている。   The master track also records time signature, tempo, tonality, etc., but the chord progression of chord progression generated by automatic accompaniment generation is recorded on this master track. The chord sequence of chord progression is sequentially recorded as chord events, the chord type and root tone, together with timing data indicating the chord start (or switching) timing. In some cases, the chord progression is recorded on the master track. In such a case, the chord progression may not be generated when the accompaniment is generated. Furthermore, as one feature of the embodiment of the present invention, each piece of delimiter information (position information) of the start position of the melody and the end position of the melody is recorded together with the timing data in the master track corresponding to the performance data of the melody. .

なお、上記の各タイミングデータは、イベント(例えばノートデータ)の曲内でのロケーションのデータでり、例えば、そのイベントが、何小節目(メジャ)の何拍目(ビート)の何クロック目(クロック)であるかを示すデータである。このようにタイミングデータとともに記録されているデータ(区切り情報も含む)は、全て「イベント情報」である。   Note that each timing data described above is location data within a song of an event (for example, note data). For example, the event is the number of beats of what measure (measure) and what number of clocks (beat) ( Clock). Data recorded together with timing data (including delimiter information) is all “event information”.

図3は実施形態における伴奏スタイルデータのフォーマットの一例を示す図であり、伴奏スタイルデータは各種スタイルに応じて複数スタイル分のデータがある。各伴奏スタイルデータは、伴奏スタイル名、拍子、テンポなどから成るヘッダと、「イントロA」「メインA」「エンディングA」のように伴奏パターンにバリエーションを持たせる複数のセクションのデータで構成されている。各セクションのデータは、セクション名、小節数、各パート(トラック)の設定情報などから成る設定情報と、実際の伴奏データの元になるノートデータを含むパターンデータとで構成されている。例えば、パターンデータは、複数のパートに対応するトラックパターンデータで構成され、各トラックパターンデータは、各トラックの音色を指定する音色データや、例えば1〜2小節長の演奏データとして、ノートデータとその発生タイミングを表すタイミングデータを再生順に記憶している。このタイミングデータも前記曲データと同様に伴奏パターン内でのロケーションのデータである。   FIG. 3 is a diagram showing an example of the format of accompaniment style data in the embodiment. Accompaniment style data includes data for a plurality of styles according to various styles. Each accompaniment style data is composed of a header composed of an accompaniment style name, time signature, tempo, etc., and data of a plurality of sections that give variations to accompaniment patterns such as “Intro A”, “Main A”, and “Ending A”. Yes. The data of each section is composed of setting information including section name, number of measures, setting information of each part (track), etc., and pattern data including note data from which actual accompaniment data is based. For example, the pattern data is composed of track pattern data corresponding to a plurality of parts, and each track pattern data includes note data and timbre data for designating the timbre of each track, for example, performance data having a length of 1 to 2 bars. Timing data representing the generation timing is stored in the order of reproduction. This timing data is also location data in the accompaniment pattern, like the music data.

図4は実施形態における曲データの例を概念的に示す図であり、曲再生時の経過時間に対応して長楕円のバーで前記各トラック1,2,3における演奏データ(イベントの列)を示している。この例では曲の開始からトラック2(イントロトラック)によりイントロが始まり、このイントロの終了間際からトラック1(メロディトラック)によりアウフタクトでメロディが始まる。またメロディの途中にはトラック3(間奏トラック)により間奏があり、この間奏の区間はメロディトラックにおいては休符区間となっている。   FIG. 4 is a diagram conceptually showing an example of song data in the embodiment. Performance data (sequence of events) in each of the tracks 1, 2, and 3 is shown by an elliptical bar corresponding to the elapsed time at the time of playing the song. Is shown. In this example, the intro begins with track 2 (intro track) from the beginning of the song, and the melody begins with an aftert by track 1 (melody track) just before the end of the intro. In the middle of the melody, there is an interlude by track 3 (interlude track), and this interval is a rest interval in the melody track.

前記のように、この実施形態における曲データのマスタートラックには、メロディ開始及びメロディ終了を示す区切り情報が予め記録されている。メロディ開始の区切り情報はアウフタクトの直後に記録され、メロディ終了の区切り情報はメロディ終了の直後に記録されている。そして、この区切り情報で挟まれた区間(B区間)を主にメロディトラックを中心とした区間グループとし、この区間グループの例えば前後の区間(A区間)を主にメロディトラック以外を中心とした区間グループとする。すなわち、メロディのアウフタクト部分はメロディトラック以外を中心とした区間グループ(A区間)に含まれ、間奏用フレーズはメロディトラックを中心とした区間グループ(B区間)に含まれる。このように、主にメロディトラック以外を中心とした区間グループにメロディトラックのイベントデータ(アウフタクト)が含まれることもある。また、主にメロディトラックを中心とした区間グループにメロディトラック以外のイベントデータ(間奏)が含まれることもある。   As described above, the delimiter information indicating the start and end of the melody is recorded in advance in the master track of the song data in this embodiment. The melody start delimiter information is recorded immediately after the outcome, and the melody end delimiter information is recorded immediately after the melody end. Then, a section (B section) sandwiched between the delimiter information is a section group mainly centering on the melody track, and for example, the front and back sections (A section) of this section group are mainly sections other than the melody track. Group. That is, the melody output part is included in a section group (section A) centered on other than the melody track, and the interlude phrase is included in a section group (section B) centered on the melody track. In this way, event data (outfact) of the melody track may be included in the section group mainly centering on other than the melody track. Moreover, event data (interlude) other than the melody track may be included in the section group mainly having the melody track.

区間グループに分割する具体的な方法としては、各区間グループ(A区間,B区間)に対応して「イベントリスト」と称するリスト(任意個のデータを記録可能な変数群)を用い、各区間グループに対応するイベントデータを各イベントリストに格納する。これにより、曲データ内の演奏データが複数の区間グループに分割される。そして、実際の自動伴奏を生成するとき、各イベントリストを順次選択し、イベントリスト内にメロディ相当の演奏データ(イベントデータ)が有るか無いかを判断し、このメロディ相当の演奏データの有無に応じて自動伴奏生成の元となるトラックを決める。なお、メロディトラック中のアウフタクト部分の演奏データは「メロディ相当の演奏データ」ではない。   As a specific method of dividing into section groups, a list called “event list” (variable group capable of recording any number of data) corresponding to each section group (section A, section B) is used. Store event data corresponding to a group in each event list. Thereby, the performance data in the music data is divided into a plurality of section groups. Then, when generating an actual automatic accompaniment, each event list is sequentially selected, and it is determined whether or not there is performance data (event data) corresponding to the melody in the event list. In response, the source track for automatic accompaniment generation is determined. Note that the performance data of the output part in the melody track is not “performance data equivalent to a melody”.

図5及び図6はCPU1が実行する自動伴奏生成プログラムの要部フローチャートであり、図5は演奏データ分割処理のフローチャート、図6は伴奏生成処理の一例を示すフローチャートである。図5のフローチャートの処理は図示しないメインルーチンで指定されたモードに応じて実行される。先ず、ステップS11で曲データのRAM3への読み込みなどを行って曲データを用意し、ステップS12で対象トラック決定ルールを設定する。この対象トラック決定ルールは、自動伴奏生成に用いるトラックやその組み合わせあるいは優先順位等を設定(選択)する処理である。例えば、どのトラックがメロディトラックで、どのトラックがメロディトラックと共に対象にできるかできないかなどの処理である。この設定により例えば図6のでの判断が決まる。   5 and 6 are main part flowcharts of the automatic accompaniment generation program executed by the CPU 1, FIG. 5 is a flowchart of the performance data dividing process, and FIG. 6 is a flowchart showing an example of the accompaniment generation process. The process of the flowchart of FIG. 5 is executed according to a mode specified by a main routine (not shown). First, in step S11, music data is read into the RAM 3 to prepare music data, and a target track determination rule is set in step S12. This target track determination rule is a process of setting (selecting) a track used for automatic accompaniment generation, a combination thereof, or a priority order. For example, it is processing such as which track is a melody track and which track cannot be targeted together with the melody track. For example, the determination in FIG. 6 is determined by this setting.

次に、ステップS13で、例えばメモリ領域を確保するなどして最初の区間グループ用の空のイベントリストを用意し、ステップS14以降の処理を行う。ステップS14では曲データから時間順(タイミング順)にイベントデータを1つ読み出し、ステップS15で有効なデータが有ったか否かを判定する。有効なデータがなければ曲データの終了であるのでステップS19に進む。有効なデータが有ればステップS16でそのデータが区切り情報であるか否かを判定する。区切り情報でなければイベントリストにイベントデータを記録(追加)してステップS14に戻る。なお、このイベントデータをイベントリストに記録するときどのトラックのイベントデータであるかを示すトラック情報も記録する。ステップS16で区切り情報であればステップS18で次の区間グループ用の空のイベントリストを用意してステップS14に戻る。   Next, in step S13, an empty event list for the first section group is prepared, for example, by securing a memory area, and the processing from step S14 onward is performed. In step S14, one event data is read from the music data in time order (timing order), and in step S15, it is determined whether there is valid data. If there is no valid data, it is the end of the music data, and the process proceeds to step S19. If there is valid data, it is determined in step S16 whether the data is delimiter information. If it is not delimiter information, the event data is recorded (added) to the event list, and the process returns to step S14. When this event data is recorded in the event list, track information indicating which track is the event data is also recorded. If it is delimiter information in step S16, an empty event list for the next section group is prepared in step S18, and the process returns to step S14.

この処理により、例えば図4の場合、最初のイベントリストに、トラック2のイントロ用フレーズのイベントデータとトラック1のアウフタクト部分のイベントデータが記録され、メロディ開始の区切り情報が検出されるとステップS18で2番目のイベントリストが用意され、この2番目のイベントリストに、トラック1のアウフタクト以外のイベントデータとトラック3の間奏用フレーズのイベントデータが記録される。そして、メロディ終了の区切り情報が検出されると分割処理を終了してステップS19に進む。この例では、区切り情報が2つの場合であり、イベントリスト(区間グループ)は2つになるが、当然、区切り情報が多ければ、それだけイベントリストの数(区間グループの数)も増える。   With this processing, for example, in the case of FIG. 4, the event data of the intro phrase of track 2 and the event data of the output portion of track 1 are recorded in the first event list, and when the delimiter information at the start of melody is detected, step S18 is performed. The second event list is prepared, and the event data other than the track 1 output and the event data of the interlude phrase for the track 3 are recorded in the second event list. When the melody end delimiter information is detected, the division process is terminated and the process proceeds to step S19. In this example, there are two pieces of delimiter information, and there are two event lists (section groups). Of course, if there are many pieces of delimiter information, the number of event lists (number of section groups) increases accordingly.

ステップS19では、例えば図6のような伴奏生成処理を行う。この処理は、複数生成されたイベントリストについて、ステップS21でイベントリストを1つ選択するとともに、ステップS28で全てのイベントリストの処理が終了したかを判定し、ステップS21〜S27の処理を各イベントリストについて行う。ステップS22,S23の処理により、イベントリスト内にメロディトラックに属するイベントデータが無い場合と、メロディトラックに属するイベントデータが有ってそのイベントデータの全てがアウフタクトであった場合にステップS24に進む。一方、イベントリスト内にメロディトラックに属するイベントデータがあり、そのイベントデータにアウフタクトでないものが含まれる場合にはステップS25に進む。   In step S19, for example, accompaniment generation processing as shown in FIG. 6 is performed. In this process, one event list is selected in step S21 for a plurality of generated event lists, and it is determined whether all event lists have been processed in step S28. The processes in steps S21 to S27 are performed for each event list. Do about the list. As a result of the processing in steps S22 and S23, if there is no event data belonging to the melody track in the event list, or if there is event data belonging to the melody track and all of the event data is output, the process proceeds to step S24. On the other hand, if there is event data belonging to the melody track in the event list and the event data includes data that is not an outcome, the process proceeds to step S25.

ステップS24の処理は、「メロディ相当の演奏データが無し」の場合に対応しており、イベントリスト内のメロディトラック以外のトラックのイベントデータに基づいて自動伴奏を生成する。すなわち、メロディトラックのイベントデータが有っても、その全てがアウフタクトであった場合にはこのアウフタクト部分はメロディ相当の演奏データではないと判定する。これにより、アウフタクトに影響されずに自動伴奏を生成できる。これは、例えば図4の場合、A区間ではトラック2のイントロ用フレーズのイベントデータのみに基づいて自動伴奏を生成することに対応している。   The processing in step S24 corresponds to the case of “no performance data equivalent to melody”, and generates automatic accompaniment based on event data of tracks other than the melody track in the event list. That is, even if there is event data of the melody track, if all of them are output, it is determined that the extracted portion is not performance data corresponding to the melody. Thereby, an automatic accompaniment can be generated without being affected by the output. For example, in the case of FIG. 4, this corresponds to the generation of an automatic accompaniment based only on the event data of the intro phrase of track 2 in section A.

ステップS25,S26,S27の処理は、「メロディ相当の演奏データが有り」の場合の処理であり、イベントリスト内にメロディトラックと共に対象となる(自動伴奏の生成の元にできる)トラックのイベントデータがあれば、イベントリスト内のそのトラックのイベントデータとメロディトラックのイベントデータとに基づいて自動伴奏を生成する。また、イベントリスト内にメロディトラックと共に対象とできないトラックのイベントデータがあれば、そのイベントリスト内のメロディトラックのイベントデータとメロディトラックと共に対象となるトラックのイベントデータのみに基づいて自動伴奏を生成する。これは、例えば図4の場合、B区間でトラック1のメロディとトラック3の間奏用フレーズの両イベントデータで自動伴奏を生成したり、間奏用フレーズのイベントデータは用いずにメロディのイベントデータのみで自動伴奏を生成したりする。   The processing in steps S25, S26, and S27 is processing in the case of “there is performance data equivalent to a melody”, and event data of a target track (can be a source of automatic accompaniment) along with the melody track in the event list. If there is, an automatic accompaniment is generated based on the event data of that track in the event list and the event data of the melody track. If there is event data for a track that cannot be included in the event list together with the melody track, an automatic accompaniment is generated based only on the event data for the melody track in the event list and the event data for the target track together with the melody track. . For example, in the case of FIG. 4, in the B section, automatic accompaniment is generated with both event data of the melody of track 1 and the interlace phrase of track 3, or the event data of the melody is not used and only event data of the melody is used. To generate an automatic accompaniment.

このように、メロディと共に対象とできるトラックであるか否かは、前記の対象トラック決定ルール(図5のステップS12)で設定する。なお、このような「メロディ相当の演奏データが有り」の場合に、無条件でメロディトラックのイベントデータのみに基づいて自動伴奏を生成するようにしてもよい。このような無条件という条件も対象トラック決定ルールで設定することができる。   In this way, whether or not the track can be targeted together with the melody is set by the target track determination rule (step S12 in FIG. 5). In the case of “there is performance data equivalent to a melody”, an automatic accompaniment may be generated unconditionally based only on event data of the melody track. Such an unconditional condition can also be set by the target track determination rule.

なお、実施形態において、A区間はトラック2(イントロトラック)に基づき自動伴奏を生成し、B区間はトラック1(メロディトラック)とトラック3(間奏トラック)とに基づき自動伴奏を生成する処理は、請求項の「トラックの組み合わせを区間グループ毎に制御することに相当する。また、アウフタクトをメロディ相当の演奏データとみなさないで、A区間はトラック2(イントロトラック)に基づき自動伴を奏生成し、B区間はトラック1(メロディトラック)に基づき自動伴奏を生成するような処理は、請求項に対応している。 In the embodiment, the process of generating automatic accompaniment based on track 2 (intro track) in section A and automatic accompaniment based on track 1 (melody track) and track 3 (interlude track) in section B is as follows: Claim 1 “corresponding to controlling the combination of tracks for each section group. Also, the section A is automatically generated on the basis of the track 2 (intro track) without considering the output as performance data corresponding to the melody. The processing for generating an automatic accompaniment based on track 1 (melody track) in section B corresponds to claim 2 .

実施形態では、区間グループを示す区切り情報が曲データ内に予め挿入されている場合について説明したが、例えばメロディに対応する歌詞データのある区間を検索するなど、区間グループの区切りの位置を自動検出するようにしてもよい。また、イベント形式の区切り情報を、演奏データと同じトラックに入れるようにしてもよい。さらに、イベント形式の区切り情報ではなく、区切り位置を示す設定情報として区切り情報をヘッダなどに入れるようにしてもよい。   In the embodiment, the case has been described in which the section information indicating the section group is inserted in advance in the song data. However, for example, the section position of the section group is automatically detected, such as searching for a section having lyrics data corresponding to the melody. You may make it do. In addition, event format delimiter information may be included in the same track as the performance data. Furthermore, instead of the event format delimiter information, delimiter information may be included in the header as setting information indicating delimiter positions.

また、イベント形式の区切り情報で区間分割する場合、この区切り情報はユーザにより追加、削除、変更等が可能となるようにしてもよい。   In addition, when the section is divided by the event format delimiter information, the delimiter information may be added, deleted, or changed by the user.

本発明は曲の感じが大きく変化する場合でもフレーズに適した自動演奏を付加できるので、メドレー形式の曲データに対しても有効である。また、調の変化にも的確に対応できる。   Since the present invention can add an automatic performance suitable for a phrase even when the feeling of the music greatly changes, it is also effective for medley format music data. In addition, it can accurately respond to changes in key.

処理の対象とするメロディトラックはデフォルトで固定でもよいし、ユーザが設定可能なものでもよい。また、メロディトラック以外の演奏データの入るトラックについても、曲中の全トラックを処理の対象としてもよいし、一部のトラックを処理の対象として選択可能としてもよい。   The melody track to be processed may be fixed by default or may be set by the user. As for tracks containing performance data other than the melody track, all tracks in the song may be processed, or some of the tracks may be selectable as processing targets.

なお、通信インターフェース10を介して通信ネットワークに接続し、サーバコンピュータ等から前記自動伴奏生成プログラムや曲データあるいは伴奏スタイルデータなどの各種データの配信を受けるようにすることもできる。   It is also possible to connect to a communication network via the communication interface 10 and receive delivery of various data such as the automatic accompaniment generation program, song data or accompaniment style data from a server computer or the like.

本発明は、実施形態のものに限定されず様々な態様とすることができる。例えば、曲データは、外部から入力したり演奏操作により作成するものにかぎらず、例えばユーザがモチーフメロディやコード進行を入力して、このコード進行に基づいてモチーフメロディを発展させることにより曲データ(メロディ)を生成するようなものでもよい。   The present invention is not limited to the embodiment, and can be various aspects. For example, the song data is not limited to those input from the outside or created by a performance operation. For example, the user inputs a motif melody or chord progression, and develops the motif melody based on the chord progression, so that the song data ( (Melody) may be generated.

また、実施形態は本発明を電子楽器に適用したものであるが、パーソナルコンピュータとソフトウエアで構成することもできる。また、音源装置、シーケンサ、エフェクタなどそれぞれが別体の装置であって、MIDIあるいは各種ネットワーク等の通信手段を用いて各装置を接続するようなものであってもよい。   In the embodiment, the present invention is applied to an electronic musical instrument, but may be configured by a personal computer and software. In addition, the sound source device, the sequencer, the effector, and the like are separate devices, and the devices may be connected using communication means such as MIDI or various networks.

本発明を適用した電子楽器のハード構成ブロック図である。It is a hardware block diagram of an electronic musical instrument to which the present invention is applied. 本発明の実施形態における曲データのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the music data in embodiment of this invention. 本発明の実施形態における伴奏スタイルデータのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the accompaniment style data in embodiment of this invention. 本発明の実施形態における曲データの例を概念的に示す図である。It is a figure which shows notionally the example of the music data in embodiment of this invention. 本発明の実施形態における演奏データ分割処理のフローチャートである。It is a flowchart of the performance data division | segmentation process in embodiment of this invention. 本発明の実施形態における伴奏生成処理の一例を示すフローチャートである。It is a flowchart which shows an example of the accompaniment production | generation process in embodiment of this invention.

符号の説明Explanation of symbols

1…CPU、2…ROM、3…RAM、7…音源、8…サウンドシステム、9…外部記憶装置   1 ... CPU, 2 ... ROM, 3 ... RAM, 7 ... sound source, 8 ... sound system, 9 ... external storage device

Claims (3)

曲データからイベント情報を読み出すステップと、
該読み出したイベント情報に基づいて曲データ内の演奏データを複数の区間グループに分割するステップと、
該分割された各区間グループの演奏データに対して各区間グループ独立に各区間のデータを解析して自動伴奏を生成するステップと、
をコンピュータに実行させるための自動伴奏生成プログラムであって、
前記曲データが複数トラックからなり、
前記自動伴奏を生成するステップが、前記分割された各区間グループについて、自動伴奏生成の元となる演奏データを読み出すトラックの組み合わせを区間グループ毎に制御して、各区間グループ独立に自動伴奏を生成するステップであることを特徴とする自動伴奏生成プログラム。
Reading event information from song data;
Dividing the performance data in the song data into a plurality of section groups based on the read event information;
Analyzing the data of each section independently for each section group with respect to the performance data of each divided section group, and generating automatic accompaniment;
An automatic accompaniment generation program for causing a computer to execute the,
The song data consists of multiple tracks,
The step of generating the automatic accompaniment generates an automatic accompaniment independently for each section group by controlling, for each section group, a combination of tracks for reading performance data as a source of automatic accompaniment for each divided section group. An automatic accompaniment generating program characterized by being a step of performing
曲データからイベント情報を読み出すステップと、
該読み出したイベント情報に基づいて曲データ内の演奏データを複数の区間グループに分割するステップと、
該分割された各区間グループの演奏データに対して各区間グループ独立に各区間のデータを解析して自動伴奏を生成するステップと、
をコンピュータに実行させるための自動伴奏生成プログラムであって、
前記曲データが複数トラックからなり、
前記自動伴奏を生成するステップが、前記分割された各区間グループにメロディ相当の演奏データが有るか否かを判断し、メロディ相当の演奏データが有ると判断された場合、その区間グループに対して、メロディトラックの演奏データに基づいて自動伴奏を生成し、メロディ相当の演奏データがないと判断された場合、その区間グループに対して、メロディトラック以外のトラックの演奏データに基づいて自動伴奏を生成するステップであることを特徴とする自動伴奏生成プログラム。
Reading event information from song data;
Dividing the performance data in the song data into a plurality of section groups based on the read event information;
Analyzing the data of each section independently for each section group with respect to the performance data of each divided section group, and generating automatic accompaniment;
Is an automatic accompaniment generation program for causing a computer to execute
The song data consists of multiple tracks,
The step of generating the automatic accompaniment determines whether or not there is performance data equivalent to a melody in each of the divided section groups, and if it is determined that there is performance data equivalent to a melody, , Generate automatic accompaniment based on the performance data of the melody track, and if it is determined that there is no performance data equivalent to the melody, generate automatic accompaniment for the section group based on the performance data of the track other than the melody track automatic accompaniment generation program that is characterized in that a step for.
曲データからイベント情報を読み出す読出し手段と、
該読出し手段で読み出したイベント情報に基づいて曲データ内の演奏データを複数の区間グループに分割する分割手段と、
該分割手段で分割された各区間グループの演奏データに対して各区間グループ独立に各区間のデータを解析して自動伴奏を生成する自動伴奏生成手段と、
を備えた自動伴奏生成装置であって、
前記曲データが複数トラックからなり、
前記自動伴奏生成手段が、前記分割された各区間グループについて、自動伴奏生成の元となる演奏データを読み出すトラックの組み合わせを区間グループ毎に制御して、各区間グループ独立に自動伴奏を生成することを特徴とする自動伴奏生成装置。
Reading means for reading event information from song data;
Dividing means for dividing the performance data in the song data into a plurality of section groups based on the event information read by the reading means;
Automatic accompaniment generating means for analyzing the data of each section independently of the performance data of each section group divided by the dividing means and generating automatic accompaniment;
An automatic accompaniment generator comprising:
The song data consists of multiple tracks,
The automatic accompaniment generating means controls, for each section group, a combination of tracks for reading performance data from which automatic accompaniment is generated for each divided section group, and generates an automatic accompaniment independently for each section group. An automatic accompaniment generator characterized by the above.
JP2003330610A 2003-09-22 2003-09-22 Automatic accompaniment generation program and automatic accompaniment generation device Expired - Fee Related JP4154600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003330610A JP4154600B2 (en) 2003-09-22 2003-09-22 Automatic accompaniment generation program and automatic accompaniment generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003330610A JP4154600B2 (en) 2003-09-22 2003-09-22 Automatic accompaniment generation program and automatic accompaniment generation device

Publications (2)

Publication Number Publication Date
JP2005099205A JP2005099205A (en) 2005-04-14
JP4154600B2 true JP4154600B2 (en) 2008-09-24

Family

ID=34459520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003330610A Expired - Fee Related JP4154600B2 (en) 2003-09-22 2003-09-22 Automatic accompaniment generation program and automatic accompaniment generation device

Country Status (1)

Country Link
JP (1) JP4154600B2 (en)

Also Published As

Publication number Publication date
JP2005099205A (en) 2005-04-14

Similar Documents

Publication Publication Date Title
US6528715B1 (en) Music search by interactive graphical specification with audio feedback
CN101796587A (en) Automatic accompaniment of vocal melody
JP3528654B2 (en) Melody generator, rhythm generator, and recording medium
JP2000514571A (en) Automatic improvisation system and method
JP3637775B2 (en) Melody generator and recording medium
US6570081B1 (en) Method and apparatus for editing performance data using icons of musical symbols
JP4154600B2 (en) Automatic accompaniment generation program and automatic accompaniment generation device
JP3531507B2 (en) Music generating apparatus and computer-readable recording medium storing music generating program
JP3709821B2 (en) Music information editing apparatus and music information editing program
JP3799843B2 (en) Music generation apparatus and computer-readable recording medium on which music generation program is recorded
JP3587133B2 (en) Method and apparatus for determining pronunciation length and recording medium
JP4449370B2 (en) Automatic accompaniment generator and program
JP3752859B2 (en) Automatic composer and recording medium
JP4305315B2 (en) Automatic performance data characteristic changing device and program thereof
JP3641955B2 (en) Music data generator and recording medium therefor
JP3654227B2 (en) Music data editing apparatus and program
JP4062193B2 (en) Automatic accompaniment playback position detection device, automatic accompaniment device, automatic accompaniment playback position detection program, and automatic accompaniment control program
JP3267226B2 (en) Automatic accompaniment device and medium recording automatic accompaniment control program
JP2002304175A (en) Waveform-generating method, performance data processing method and waveform-selecting device
JP4186802B2 (en) Automatic accompaniment generator and program
JP3931727B2 (en) Performance information editing apparatus and program
JP3885803B2 (en) Performance data conversion processing apparatus and performance data conversion processing program
JP3327188B2 (en) Chord progression creation support device and recording medium recording chord progression creation support program
JP3709820B2 (en) Music information editing apparatus and music information editing program
JP3797180B2 (en) Music score display device and music score display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080310

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080611

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080624

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130718

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees