JPH11126065A - Playing data analyzing apparatus and medium recording playing data analysis program - Google Patents

Playing data analyzing apparatus and medium recording playing data analysis program

Info

Publication number
JPH11126065A
JPH11126065A JP9290012A JP29001297A JPH11126065A JP H11126065 A JPH11126065 A JP H11126065A JP 9290012 A JP9290012 A JP 9290012A JP 29001297 A JP29001297 A JP 29001297A JP H11126065 A JPH11126065 A JP H11126065A
Authority
JP
Japan
Prior art keywords
section
performance
sections
candidate
performance data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9290012A
Other languages
Japanese (ja)
Other versions
JP3329242B2 (en
Inventor
Tomoyuki Funaki
知之 船木
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 JP29001297A priority Critical patent/JP3329242B2/en
Publication of JPH11126065A publication Critical patent/JPH11126065A/en
Application granted granted Critical
Publication of JP3329242B2 publication Critical patent/JP3329242B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To divide playing data into musically natural plural playing sections by dividing even sections which include modulation positions but are not divided concerning the playing sections where the playing data are sectionally divided. SOLUTION: The playing data is roughly divided into chorus sections by right after long notes, etc. A phrase section is determined from the chorus section by comparison of the average length of the tone length of the notes of the chorus section and the tone length of the note. The chorus section is divided into repeat sections from the top position of the melody and phrase sections of the chorus section. A tune candidate which is the candidate of the tune is detected in the repeat sections. If the tune candidate is detected, the tune section is determined as it is. If the tune candidate is not detected, the repeat section is finely segmented. When the tune candidate is detected in any of the finely segmented sections, the finely segmented section is determined as the tune section.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子楽器やコンピ
ュータミュージック等における演奏データを分析する装
置に関わり、該演奏データの音符の情報などにより演奏
データを複数の演奏区間に分割する演奏データ分析装置
および分析データ分析プログラムを記録した媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for analyzing performance data in electronic musical instruments, computer music, and the like, and to a performance data analyzer for dividing performance data into a plurality of performance sections based on information on notes of the performance data. And a medium recording an analysis data analysis program.

【0002】[0002]

【従来の技術】従来、電子楽器やコンピュータミュージ
ック等において、例えばメロディに和音を付けたり調を
検出するためにメロディを分析して演奏データを複数の
演奏区間(フレーズや楽節など)に分割する技術が知ら
れている。例えば、特開平8−292762号において
は以下の手順でメロディを分割する。先ず、メロディの
全体の平均音符長を求め、その2倍の(あるいは2倍に
近い)音符長を有する音符の終わりをフレーズの区切り
とする。
2. Description of the Related Art Conventionally, in an electronic musical instrument or computer music, for example, a technique of analyzing a melody to add a chord to a melody or detecting a key and dividing performance data into a plurality of performance sections (phrases, passages, etc.). It has been known. For example, in Japanese Patent Application Laid-Open No. 8-292762, a melody is divided according to the following procedure. First, the average note length of the entire melody is determined, and the end of a note having a note length twice (or nearly twice) is defined as a phrase delimiter.

【0003】次に、分割した各フレーズについて平均音
符長を算出し、順次の2フレーズについて、フレーズ毎
に「フレーズの平均音符長×2≦フレーズの終端音符
長」の条件を満たさないとき、2フレーズの間の区切り
を削除する。次に、あるフレーズとメロディが同一であ
る部分を含む他のフレーズを検出し、検出されたフレー
ズにおける前記メロディの同一部と残部およびを各々フ
レーズとして再分割する。そして、各フレーズ内でメロ
ディが同一となる小節を検出し、同一の小節を各々フレ
ーズとして分割する。
[0003] Next, the average note length is calculated for each of the divided phrases. If the condition of “average note length of phrase × 2 ≦ end note length of phrase” is not satisfied for each of the two successive phrases, 2 Remove breaks between phrases. Next, another phrase including a part having the same melody as a certain phrase is detected, and the same part and the remaining part of the melody in the detected phrase are subdivided as phrases. Then, measures that have the same melody in each phrase are detected, and the same measures are divided as phrases.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の処
理では、音符の長さやメロディの同一性のみに基づいて
演奏区間を分割しているので、区切り位置が音楽的に相
応しくない場合がある。例えば、曲の途中で転調がある
場合、その位置で演奏区間を分割するのが適すると思わ
れるが、音符の長さやメロディの同一性のみに基づく分
割方法では、この位置を検出できない可能性がある。
In the above-described conventional processing, the performance section is divided based only on the length of a note or the identity of a melody, so that the delimiter position may not be musically appropriate. . For example, if there is a transposition in the middle of a song, it may be appropriate to divide the performance section at that position, but it may not be possible to detect this position with a division method based solely on the length of notes and the identity of the melody. is there.

【0005】本発明は、所望の方法により区間分割され
た各区間について、転調位置を含む可能性のある区間に
ついても分割することで、演奏データを音楽的に自然な
複数の演奏区間に分割することを課題とする。
According to the present invention, the performance data is divided into a plurality of musically natural performance sections by dividing each section divided by a desired method into sections which may include a modulation position. That is the task.

【0006】[0006]

【課題を解決するための手段】本発明の請求項1記載の
演奏データ分析装置は、演奏データの第1の演奏区間に
ついてその演奏区間の調の候補となる調候補を検出する
処理を行う調候補検出処理手段と、該調候補検出処理手
段により第1の演奏区間について調候補が検出されなけ
れば該第1の演奏区間を細分化して、該細分化された演
奏区間の調の候補となる調候補が検出されたら該細分化
された演奏区間を第2の演奏区間とする細分化処理手段
と、を備えたことを特徴とする。
According to a first aspect of the present invention, there is provided a performance data analyzing apparatus for performing a process for detecting a key candidate which is a candidate for a key in a first performance section of performance data. If the key candidate detection processing means does not detect a key candidate for the first performance section, the first performance section is subdivided and becomes a key candidate for the subdivided performance section. And subdividing processing means for setting the subdivided performance section to a second performance section when a key candidate is detected.

【0007】上記のように構成された請求項1記載の演
奏データ分析装置において、第1の演奏区間で調候補が
検出されなければ、この第1の演奏区間には少なくとも
転調部を含む可能性がある。したがって、この調候補が
検出されない第1の演奏区間について細分化を行い、こ
の細分化された演奏区間のうち調候補が検出された演奏
区間を第2の演奏区間とすると、この第2の演奏区間に
より転調部で区間が分割される可能性が高くなる。
In the performance data analyzing apparatus according to the first aspect, if a key candidate is not detected in the first performance section, the first performance section may include at least a modulation part. There is. Accordingly, if the first performance section in which no key candidate is detected is subdivided, and the performance section in which a key candidate is detected among the subdivided performance sections is defined as a second performance section, this second performance section There is a high possibility that a section is divided by the modulation section by the section.

【0008】本発明の請求項2記載の演奏データ分析プ
ログラムを記録した媒体は、演奏データを分析するコン
ピュータで実行する演奏データ分析プログラムを記録し
た媒体であって、演奏データの第1の演奏区間について
その演奏区間の調の候補となる調候補を検出する処理を
行うステップと、上記調候補を検出する処理により第1
の演奏区間について調候補が検出されなければ該第1の
演奏区間を細分化して、該細分化された演奏区間の調の
候補となる調候補が検出されたら該細分化された演奏区
間を第2の演奏区間とするステップと、をコンピュータ
で実行するたねの演奏データ分析プログラムを記録した
ものであり、この演奏データ分析プログラムの実行によ
れば請求項1と同様の作用効果が得られる。
According to a second aspect of the present invention, there is provided a medium on which a performance data analysis program executed by a computer for analyzing performance data is recorded, wherein the first performance section of the performance data is recorded. Performing a process of detecting a key candidate that is a candidate for a key in the performance section, and a process of detecting the key candidate.
If no key candidate is detected for the performance section, the first performance section is subdivided, and if a key candidate that is a key candidate for the subdivided performance section is detected, the subdivided performance section is referred to as the first performance section. The performance data analysis program is executed by executing the steps of setting the second performance section by a computer. According to the execution of the performance data analysis program, the same operation and effect as in claim 1 can be obtained.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図2は本発明の演奏データ分析装置を適用
した電子楽器および該電子楽器を接続したネットワーク
システムのブロック図であり、CPU1はROM2に格
納されている制御プログラムに基づいてRAM3のワー
キングエリアを使用して電子楽器全体の制御を行う。鍵
盤演奏時には、CPU1は鍵盤4からのノートナンバや
キーオン信号等を検出回路4aを介して取り込み、音源
回路5に対してノートナンバ、ベロシティおよびノート
オン/ノートオフを設定することで発音処理および消音
処理を行う。音源回路5で発生された楽音信号には効果
回路6で各種効果が付与され、サウンドシステム7で楽
音が発生される。
Embodiments of the present invention will be described below. FIG. 2 is a block diagram of an electronic musical instrument to which the performance data analyzer of the present invention is applied and a network system connecting the electronic musical instrument. The CPU 1 uses a working area of a RAM 3 based on a control program stored in a ROM 2. To control the entire electronic musical instrument. At the time of playing the keyboard, the CPU 1 captures a note number, a key-on signal, and the like from the keyboard 4 via the detection circuit 4a, and sets a note number, a velocity, and a note-on / note-off for the tone generator circuit 5, thereby generating sound and processing sound. Perform processing. Various effects are given to the tone signal generated by the tone generator circuit 5 by the effect circuit 6, and a tone is generated by the sound system 7.

【0010】スイッチ8は電子楽器の操作パネルに配設
されており、CPU1はスイッチ8からの入力データを
検出回路8aを介して取り込み、操作に応じた各種処理
を行う。スイッチ8は、音色選択スイッチや自動演奏の
スタート/ストップスイッチ等を備えている。表示回路
9は液晶パネル等で構成されており、ユーザーの入力操
作等は、スイッチ8の他に表示回路9の液晶パネル等を
利用した所謂GUI(グラフィカル・ユーザーズ・イン
ターフェース)も併用される。
The switch 8 is provided on the operation panel of the electronic musical instrument, and the CPU 1 takes in the input data from the switch 8 via the detection circuit 8a and performs various processes according to the operation. The switch 8 includes a tone color selection switch, an automatic performance start / stop switch, and the like. The display circuit 9 is composed of a liquid crystal panel or the like, and a so-called GUI (graphical user's interface) using a liquid crystal panel or the like of the display circuit 9 is used for the user's input operation and the like in addition to the switch 8.

【0011】例えば、表示回路9の液晶パネルに画面ス
イッチをグラフィック表示し、スイッチ8の操作で液晶
パネルのカーソルを画面スイッチ上に設定し、スイッチ
8のアップ/ダウンスイッチ等を操作することにより、
その画面スイッチに対応付けたデータの値を変更するな
ど、各種の入力処理が行える。このGUIを併用した入
力操作としては、演奏データ分析モードの選択操作や、
分析対象とする演奏データ(メロディ等)の選択操作や
入力操作、分割条件をユーザーが設定する設定操作など
がある。なお、タイマ10は自動演奏等の処理でCPU
1に割込み信号(クロック信号)を発生するものであ
る。
For example, by graphically displaying a screen switch on the liquid crystal panel of the display circuit 9, operating the switch 8, setting the cursor of the liquid crystal panel on the screen switch, and operating the up / down switch of the switch 8, etc.
Various input processes, such as changing the value of data associated with the screen switch, can be performed. The input operation using this GUI also includes a performance data analysis mode selection operation,
There are a selection operation and an input operation of performance data (melody or the like) to be analyzed, and a setting operation in which a user sets division conditions. It should be noted that the timer 10 has a CPU for processing such as automatic performance.
1 generates an interrupt signal (clock signal).

【0012】外部記憶装置11はハードディスク装置
(HDD)、フロッピィディスク装置(FDD)、CD
−ROM装置、光磁気ディスク(MO)装置、デジタル
多目的ディスク(DVD)装置等であり、自動演奏デー
タなどの各種データの入力と記憶に用いることもでき
る。また、MIDIインターフェース(I/F)12は
MIDI機器Aとの間で演奏データなどの各種データの
授受を行うものであり、通信インターフェース13は通
信ネットワークBに接続してサーバコンピュータCから
演奏データなどの各種データの配信を受けるようになっ
ている。
The external storage device 11 includes a hard disk device (HDD), a floppy disk device (FDD), and a CD.
A ROM device, a magneto-optical disk (MO) device, a digital versatile disk (DVD) device, etc., which can be used for inputting and storing various data such as automatic performance data; A MIDI interface (I / F) 12 exchanges various data such as performance data with the MIDI device A, and a communication interface 13 is connected to the communication network B to transmit performance data and the like from the server computer C. Of various data is received.

【0013】演奏データ分析モードでは、外部記憶装置
11やMIDIインターフェース12から分析対象とす
る演奏データを入力し、RAM3の所定の領域に記憶す
る。なお、この演奏データは、鍵盤4の演奏操作でリア
ルタイムに入力することもでき、また、鍵盤4とスイッ
チ8等の操作によって1音づつ入力することもできる
(ステップレコード)。なお、このような演奏データの
入力時には、発音タイミングのバラツキ等を修正(クオ
ンタイズ)して音符データ(符長のデータ、音高デー
タ、休符データ、休符長データ等)を生成して演奏デー
タとして構成する。そして、演奏データをRAM3に記
憶すると、後述詳細に説明するようにCPU1はこの記
憶した演奏データの分析を行い、演奏データを調の特定
が可能な区間に分割する。
In the performance data analysis mode, performance data to be analyzed is input from the external storage device 11 or the MIDI interface 12 and stored in a predetermined area of the RAM 3. The performance data can be input in real time by a performance operation of the keyboard 4, or can be input one by one by operating the keyboard 4 and the switch 8 (step record). At the time of inputting such performance data, note data (note length data, pitch data, rest data, rest length data, etc.) is generated by correcting (quantizing) variations in tone generation timing, etc. Configure as data. When the performance data is stored in the RAM 3, the CPU 1 analyzes the stored performance data and divides the performance data into sections in which a key can be specified, as will be described in detail later.

【0014】なお、演奏データは、所定のクロック(例
えば4分音符を96個に分割したクロック)を単位とす
るクロック数を基にして音符データを時系列に記憶して
いるデータであり、この演奏データの分割位置も、例え
ば曲の先頭からのクロック値で表す。また、演奏データ
中の任意の区間はその区間の先頭のクロック値と終端の
クロック値、あるいは先頭のクロック値と先頭から終端
までのクロック数などで表すことができ、これらの値を
RAM3のレジスタに記憶しておくことにより、任意の
区間を記憶しておくことができる。さらに、任意の区間
を識別したり、同類の区間をグループ化することも、各
区間に対応付けたレジスタに所定のデータを記憶するこ
とで可能である。以下に説明する各処理において、CP
U1はRAM3のレジスタを用いることにより、上記の
ような区間の同定や分類あるいは区分位置の判定を行っ
ている。
The performance data is data in which note data is stored in time series based on the number of clocks in units of a predetermined clock (for example, a clock obtained by dividing a quarter note into 96). The division position of the performance data is also represented by, for example, a clock value from the beginning of the music. Also, an arbitrary section in the performance data can be represented by a leading clock value and a terminating clock value of the section, or a leading clock value and the number of clocks from the beginning to the ending, and the like. , An arbitrary section can be stored. Further, it is also possible to identify an arbitrary section or group similar sections by storing predetermined data in a register associated with each section. In each process described below, the CP
U1 uses the register of the RAM 3 to perform the above-described section identification, classification, or division position determination.

【0015】図1は実施例における演奏データ分析の流
れを説明する概念図であり、まず、演奏データを次のよ
うにコーラス区間に分割する。すなわち、演奏データか
ら長い音符や長い休符を探し、その直後の位置を次ぎの
コーラス区間の先頭としたり、また、音色が変更される
位置を次ぎのコーラス区間の先頭とするなどのルールに
より、演奏データをコーラス区間に分割する。
FIG. 1 is a conceptual diagram illustrating the flow of performance data analysis in the embodiment. First, performance data is divided into chorus sections as follows. In other words, a long note or long rest is searched from the performance data, and the position immediately after that is set as the beginning of the next chorus section, or the position at which the tone is changed is set as the start of the next chorus section. The performance data is divided into chorus sections.

【0016】次に、コーラス区間を次のようにフレーズ
区間に分割する。すなわち、コーラス区間の開始位置
(先頭)から順次音長の平均値を計算し、この平均値の
定数倍以上の音長となる音符を探し、その直後を次ぎの
フレーズ区間の先頭とするというルールにより、コーラ
ス区間をフレーズ区間に分割する。例えば、4番目の音
符の音長は、(1番目の音長+2番目の音長+3番目の
音長)×K/3の値と比較する。なお、Kは1以上の定
数であり、例えばユーザーによって設定してもよい。
Next, the chorus section is divided into phrase sections as follows. That is, the rule is that the average value of the note length is calculated sequentially from the start position (head) of the chorus section, a note having a note length equal to or more than a constant multiple of this average value is searched, and the immediately following note is set as the start of the next phrase section. Divides the chorus section into phrase sections. For example, the duration of the fourth note is compared with the value of (first duration + second duration + third duration) × K / 3. Note that K is a constant of 1 or more, and may be set by a user, for example.

【0017】次に、複数のコーラス区間とフレーズ区間
の先頭位置からリピート区間を決定する。まず、複数の
コーラス区間について、先頭の複数小節(例えば3小
節)を比較し、メロディが同じ(平行移動を含む)であ
るようなコーラス区間に同じ番号を付与する。次に、コ
ーラス区間の先頭の複数小節が、自区間の途中にありか
つその位置がフレーズ区間の先頭位置である場合、ある
いは上記先頭の複数小節が他区間の途中にありかつその
位置がフレーズ区間の先頭位置であるときは、それぞれ
の位置を区間先頭位置として、同じ番号を付与する。そ
して、同じ番号がついた複数区間を比較し、一致しない
部分を新たな区間とする。以上の処理を分割できなくな
るまで繰り返し、すべての区間に番号を付与し、各区間
をリピート区間として決定する。なお、同じメロディに
ついては同じ番号が付与されている。
Next, a repeat section is determined from the beginning positions of the plurality of chorus sections and the phrase section. First, for a plurality of chorus sections, the first plurality of measures (for example, three measures) are compared, and the same number is assigned to a chorus section having the same melody (including parallel movement). Next, when the first bars of the chorus section are in the middle of the own section and the position is the head position of the phrase section, or when the first bars are in the middle of another section and the position is the phrase section. , The same number is assigned to each position as the section start position. Then, a plurality of sections with the same number are compared, and a part that does not match is set as a new section. The above processing is repeated until it becomes impossible to divide, and all sections are numbered, and each section is determined as a repeat section. Note that the same melody is given the same number.

【0018】以上のように「第1の演奏区間」としての
リピート区間に分割し、このリピート区間毎にその区間
の調となるような調(「調候補」という。)を検出する
処理を行い、調候補が検出されれば(調検出OK)その
リピート区間をそのまま「第2の演奏区間」としての調
区間とし、調候補が検出されなければ(調検出NG)そ
のリピート区間に対して細分化処理を行ってさらに分割
する。このように、リピート区間で調候補が検出されな
いということは、そのリピート区間中に転調部が存在す
る可能性が高いのでその区間を細分化する。
As described above, a process is performed in which a key is divided into repeat sections as a "first performance section", and a key (referred to as a "key candidate") serving as a key of the section is detected for each repeat section. If a key candidate is detected (key detection OK), the repeat section is used as it is as a "second performance section", and if a key candidate is not detected (key detection NG), the repeat section is subdivided. And then further divided. In this manner, when a key candidate is not detected in a repeat section, there is a high possibility that a modulation portion exists in the repeat section, so that the section is subdivided.

【0019】図3は実施例における演奏データ分析プロ
グラムにおける区間分割・調検出処理のフローチャー
ト、図4はそのサブルーチンのフローチャートであり、
各フローチャートに基づいて実施例の動作を説明する。
FIG. 3 is a flowchart of a section division / tone detection process in the performance data analysis program in the embodiment, and FIG. 4 is a flowchart of a subroutine thereof.
The operation of the embodiment will be described based on each flowchart.

【0020】演奏データ分析モードで、図3の区間分割
・調検出処理が開始されると、先ず、図1で説明したよ
うに、ステップS1でコーラス区間に分割するコーラス
区間決定処理を行い、ステップS2でフレーズ区間に分
割するフレーズ区間決定処理を行い、ステップS3でリ
ピート区間に分割するリピート区間決定処理を行ってス
テップS4に進む。
In the performance data analysis mode, when the section division / tone detection processing of FIG. 3 is started, first, as described with reference to FIG. 1, a chorus section determination processing for dividing into chorus sections is performed in step S1. At step S2, a phrase section determination process for dividing into phrase sections is performed, and at step S3, a repeat section determination process for dividing into repeat sections is performed, and the process proceeds to step S4.

【0021】ステップS4では、最初のループでは最初
のリピート区間について調候補の検出処理をおこなう
が、2回目のループ以降はそれぞれ次のリピート区間に
ついて調候補の検出処理を行う。この調候補の検出処理
では、例えば、リピート区間に含まれる全ての音符の音
長の合計に対する、リピート区間に含まれるある調の音
階音の音長の合計の割合が、所定値(「合格ライン」)
以上であり、かつ、このような調が複数ある場合は、最
も割合が高い調を、調候補とする。また、調候補の検出
NGとは、全ての調について合格ライン未満である場合
などである。なお、上記以外の検出処理であってもよ
い。また、既に調候補が検出されている区間と同じ番号
を有する区間については、調候補の検出処理を省略して
調候補が検出されている(検出OK)としてもよい。
In step S4, in the first loop, key candidate detection processing is performed for the first repeat section, but after the second loop, key candidate detection processing is performed for the next repeat section. In this key candidate detection process, for example, the ratio of the total length of the scale notes of a certain key included in the repeat section to the total length of all the notes included in the repeat section is determined by a predetermined value (“pass line”). ")
If there is more than one such key, the key with the highest ratio is determined as a key candidate. In addition, the detection NG of the key candidate is, for example, a case where all the keys are less than the acceptable line. Note that detection processing other than the above may be performed. For a section having the same number as the section in which the key candidate has already been detected, the key candidate detection process may be omitted and the key candidate may be detected (detection OK).

【0022】ステップS4の処理が終了すると、ステッ
プS5で調候補が検出されたか(調候補検出OK)否か
を判定し、検出されていなければステップS6で図4の
リピート区間細分化処理を行ってステップS4に戻り、
検出されていればステップS7で現在のリピート区間が
最終のリピート区間であるか否かを判定する。最終のリ
ピート区間でなければステップS4に戻り、最終のリピ
ート区間であれば処理を終了する。
When the processing in step S4 is completed, it is determined in step S5 whether a key candidate has been detected (key candidate detection OK). If not, the repeat section subdivision processing of FIG. 4 is performed in step S6. And return to step S4,
If detected, it is determined in step S7 whether the current repeat section is the last repeat section. If it is not the last repeat section, the process returns to step S4, and if it is the last repeat section, the process ends.

【0023】図4のリピート区間細分化処理では、ステ
ップS11で現在のリピート区間内の各フレーズ区間の
最終音の終止感を求める。この終止感を求める処理で
は、例えば、2音進行がどのくらい終止感(人間の感覚
あるいは音楽理論による)を出すかをテーブル化したも
のを例えばROM2に用意しておき、フレーズ区間内の
最終音と、それ以外の音の終止感の合計を算出し(必要
に応じて音長や最終音とそれ以外の音の距離によって重
み付けをしてもよい)、それを最終音の終止感とする。
なお、終止感を求める処理は上記以外でもよいし、これ
以外の方法と上記の終止感のテーブルを利用する方法の
併用でもよい。
In the repeat section subdivision processing of FIG. 4, in step S11, the sense of end of the last sound of each phrase section in the current repeat section is determined. In the process for obtaining the sense of end, for example, a table of how much the two-tone progression gives a sense of end (according to human senses or music theory) is prepared in, for example, the ROM 2, and the final sound in the phrase section is prepared. Then, the sum of the feeling of ending of the other sounds is calculated (the sound may be weighted according to the length of the sound or the distance between the last sound and the other sounds as necessary), and this is used as the feeling of ending of the last sound.
The processing for obtaining the sense of end may be other than the above, or a combination of another method and the method using the table of sense of end may be used.

【0024】ステップS11の処理が終了すると、ステ
ップS12で現在のリピート区間内の先頭の複数小節
(例えば3小節)、最終の複数小節(例えば3小節)を
含まないフレーズ区間の各先頭位置のうち、終止感の最
も高い位置を新たな分割位置とする。次に、ステップS
13で上記ステップS12により細分化できたか否かを
判定し、細分化できなければステップS16で調候補の
うち(合格ライン以下であっても)最も可能性の高い調
を調区間(現在のリピート区間)の調に決定し、元のル
ーチンに復帰する。
When the processing in step S11 is completed, in step S12, among the head positions of the phrase sections that do not include the first plural measures (for example, three measures) and the last plural measures (for example, three measures) in the current repeat section, The position where the sense of end is the highest is set as a new division position. Next, step S
In step S13, it is determined whether or not subdivision has been performed in step S12. If subdivision is not possible, in step S16, the most probable key (even if it is below the pass line) is selected in the key section (the current repeat period). Key), and returns to the original routine.

【0025】一方、ステップS13の判定で細分化でき
ていれば、ステップS14で、分割した各区間について
調候補の検出処理を行い、ステップS15で調候補が検
出されたか(調候補検出OK)否かを判定し、検出され
ていなければステップS16に進み、検出されていれ
ば、ステップS17で現在のリピート区間の番号と同じ
番号を持つリピート区間が他にもあるか否かを判定す
る。同じ番号を持つリピート区間がなければステップS
19に進み、同じ番号を持つリピート区間があれば、ス
テップS18で現在のリピート区間の番号と同じ番号を
もつリピート区間について、現在のリピート区間と同じ
位置で分割し、ステップS19に進む。ステップS19
では、分割した各区間について、新たに番号を付与し、
元のルーチンに復帰する。
On the other hand, if the subdivision has been made in the determination of step S13, key candidate detection processing is performed for each of the divided sections in step S14, and whether a key candidate has been detected in step S15 (key candidate detection OK) is determined. If not, the process proceeds to step S16, and if detected, it is determined in step S17 whether there is another repeat section having the same number as the current repeat section number. If there is no repeat section having the same number, step S
In step S18, if there is a repeat section having the same number, the repeat section having the same number as the current repeat section is divided at the same position as the current repeat section in step S18, and the process proceeds to step S19. Step S19
Let's assign a new number to each of the divided sections,
Return to the original routine.

【0026】以上の処理により、最初に分割されたリピ
ート区間で調候補が検出されたものはそのままのリピー
ト区間とされ(ステップS5,ステップS6)、上記調
候補が検出されなかったものは、フレーズ区間における
終止感に基づいて細分化され、その細分化されたリピー
ト区間の各分割区間で調候補が検出されるとその調候補
が検出された区間(同じ番号を持つリピート区間につい
ても同様)が調区間とされる(ステップS17,ステッ
プS18,ステップS19)。なお、このリピート区間
で細分化ができなかった場合、および細分化できても分
割された区間で調候補が検出できなかった場合は、ステ
ップS16で暫定的な調を決定しておく。
According to the above-described processing, the key segment candidate detected in the first divided repeat section is used as it is (step S5, step S6), and the key segment candidate not detected is replaced with the phrase When a key candidate is detected in each of the divided sections of the subdivided repeat section, the section in which the key candidate is detected (the same applies to a repeat section having the same number) A key adjustment section is set (step S17, step S18, step S19). If subdivision cannot be performed in this repeat section, or if a key candidate cannot be detected in a divided section even if subdivision is possible, a provisional key is determined in step S16.

【0027】以上のようにして分割された演奏区間(調
区間)は、各種用途に利用できる。たとえば、分割され
た演奏区間を、演奏データに対する自動和音付けに利用
してもよい。また、分割された演奏区間に基づいて、自
動伴奏のセクション(イントロ、メイン、フィルイン、
エンディング等)の位置を自動決定するのに利用しても
よい。あるいは、演奏区間の検出と共に行った調の検出
結果に基づいて、演奏データに対する自動和音付け、自
動伴奏の際の音高変換、自動作曲あるいは自動編曲など
を行ってもよい。
The performance section (key section) divided as described above can be used for various purposes. For example, the divided performance sections may be used for automatic chord addition to performance data. Also, based on the divided performance sections, the automatic accompaniment sections (intro, main, fill-in,
It may be used to automatically determine the position of the ending or the like. Alternatively, based on the detection result of the key performed together with the detection of the performance section, automatic chord addition to the performance data, pitch conversion at the time of automatic accompaniment, automatic music or automatic music arrangement may be performed.

【0028】なお、実施例では、リピート区間を請求項
1および請求項2の「第1の演奏区間」に対応させた場
合について説明したが、「第1の演奏区間」はこのリピ
ート区間に限定されるものではない。例えば演奏データ
の任意の区間を「第1の演奏区間」としてもよいし、そ
の他の演奏区間でもよい。
In the embodiment, the case where the repeat section corresponds to the "first performance section" of claim 1 and claim 2, but the "first performance section" is limited to this repeat section. It is not something to be done. For example, an arbitrary section of the performance data may be the “first performance section”, or may be another performance section.

【0029】実施例における演奏データのフォーマット
は、音符等(イベント)の発生時刻を曲や小節内におけ
る絶対時間で表した「イベント+絶対時間」という形式
であるが、これに限らず、イベントの発生時刻を1つ前
のイベントからの時間(クロック数で示すデュレーショ
ン)で表した「イベント+相対時間」という形式でもよ
い。また、演奏データを音符データで表しているが、楽
音のノートコード、発生タイミング、ゲートタイム等の
データを表した形式でもよい。あるいは、楽音発生イベ
ントの最小分解能毎(実施例のクロック)にメモリの領
域を確保し、楽音発生イベントの発生する時刻に対応す
るメモリ領域にノートナンバやベロシティ等のデータを
記憶したいわゆる「ベタ方式」の形式など、どのような
形式でもよい。
The format of the performance data in the embodiment is "event + absolute time" in which the time of occurrence of a note or the like (event) is represented by an absolute time in a song or a bar, but is not limited thereto. The format of “event + relative time” in which the occurrence time is represented by the time (duration indicated by the number of clocks) from the immediately preceding event may be used. Although the performance data is represented by note data, the performance data may be represented by data such as musical note codes, generation timings, gate times, and the like. Alternatively, a so-called “solid system” in which a memory area is secured for each minimum resolution of a tone generation event (clock in the embodiment) and data such as note numbers and velocities are stored in a memory area corresponding to the time when the tone generation event occurs. , Or any other format.

【0030】また、演奏データは、複数チャンネルのデ
ータが混在した形式であってもよいし、各チャンネルの
データがトラック毎に分かれているような形式でもよ
い。
The performance data may be in a format in which data of a plurality of channels are mixed, or in a format in which data of each channel is divided for each track.

【0031】上記の実施例では、演奏データ分析プログ
ラムがROM2に予め記憶されている場合について説明
したが、これに限らず次のようにしてもよい。例えば、
CD−ROMに演奏データ分析プログラムを記録してお
き、CD−ROM装置から演奏データ分析プログラムを
ハードディスクにロードする。そして、CPU1が、こ
のHDの演奏データ分析プログラムをRAM3に展開
し、このRAM3のプログラムに基づいて前記実施例同
様に演奏データ分析の動作を制御する。これにより、R
OM2に演奏データ分析プログラムを記憶している場合
と同様の動作をCPUにさせることができる。このよう
にすると、演奏データ分析プログラムの新規インストー
ルや追加あるいはバージョンアップ等が容易に行える。
また、フロッピディスク、磁気ディスク(MO)等に演
奏データ分析プログラムを記録しておいて、RAM3あ
るいはハードディスクに供給するようにしてもよい。
In the above-described embodiment, the case where the performance data analysis program is stored in the ROM 2 in advance has been described. For example,
A performance data analysis program is recorded on a CD-ROM, and the performance data analysis program is loaded from a CD-ROM device onto a hard disk. Then, the CPU 1 develops the performance data analysis program of the HD in the RAM 3 and controls the operation of the performance data analysis based on the program of the RAM 3 in the same manner as in the above embodiment. This gives R
The same operation as when the performance data analysis program is stored in OM2 can be performed by the CPU. This makes it possible to easily install, add, or upgrade the performance data analysis program.
Alternatively, the performance data analysis program may be recorded on a floppy disk, a magnetic disk (MO), or the like, and supplied to the RAM 3 or a hard disk.

【0032】また、通信インターフェース13を利用
し、演奏データ分析プログラムをダウンロードするよう
にしてもよい。この場、例えば、LAN(ローカルエリ
アネットワーク)やインターネットあるいは電話回線等
の通信ネットワークBに接続し、該通信ネットワークB
を介して、サーバコンピュータCから演奏データ分析プ
ログラムの配信を受けることにより、それをハードディ
スクに記録してダウンロードが完了する。
Also, the performance data analysis program may be downloaded using the communication interface 13. In this case, for example, the communication network B is connected to a communication network B such as a LAN (local area network), the Internet, or a telephone line.
, The performance data analysis program is distributed from the server computer C, and is recorded on the hard disk, and the download is completed.

【0033】本発明は上記実施例のような鍵盤式の電子
楽器に限らず、音源装置、シーケンサ、エフェクタなど
それぞれが別体の装置であって、MIDIあるいは各種
ネットワーク等の通信手段を用いて各装置を接続するよ
うなものであってもよい。
The present invention is not limited to the keyboard-type electronic musical instrument as in the above-described embodiment, but each of the sound source device, the sequencer, the effector, etc. is a separate device, and each device is provided by using communication means such as MIDI or various networks. It may be one that connects devices.

【0034】以上の実施例は電子楽器に本発明を適用し
たものであるが、本発明の演奏データ分析装置は、パー
ソナルコンピュータとアプリケーションソフトウエアで
構成することこともできる。
In the above embodiment, the present invention is applied to an electronic musical instrument. However, the performance data analyzer of the present invention can be constituted by a personal computer and application software.

【0035】この場合、パーソナルコンピュータのCP
Uは例えばハードディスクにインストールされたOSに
よりRAMのワーキングエリアを使用して制御を行う
が、前記実施例のように外部記憶装置から演奏データや
演奏データ分析プログラムをアプリケーションソフトウ
エアとしてハードディスク等に供給し、CPUにより前
記実施例と同様の動作を行うことができる。演奏データ
の選択や演奏データ分析もの選択操作を行う場合、キー
ボードやマウス等の操作に応じたデータの入力処理で容
易に制御できる。また、このようにパーソナルコンピュ
ータを用いた場合も、前記同様に、ネットワークを介し
て供給するようにしてもよい。
In this case, the personal computer CP
U performs control using a working area of a RAM by an OS installed on a hard disk, for example, and supplies performance data and a performance data analysis program from an external storage device to a hard disk or the like as application software as in the above-described embodiment. The same operation as the above embodiment can be performed by the CPU. When performing the operation of selecting performance data or selecting performance data analysis, control can be easily performed by inputting data in accordance with operations of a keyboard, a mouse, and the like. Also, when a personal computer is used in this way, the information may be supplied via a network as described above.

【0036】なお、以上の実施例で説明したような演奏
データ分析プログラムが記録された媒体、すなわちRO
M、RAM、ハードディスク、CD−ROM、光磁気デ
ィスク、DVD(デジタル多目的ディスク)あるいは通
信ネットワークのサーバコンピュータなど配信先の記憶
装置は、本発明の請求項2の演奏データ分析プログラム
を記録した媒体に相当する。
The medium on which the performance data analysis program as described in the above embodiment is recorded, ie, RO
The destination storage device such as M, RAM, hard disk, CD-ROM, magneto-optical disk, DVD (digital versatile disk), or server computer of a communication network is stored in a medium on which the performance data analysis program according to claim 2 of the present invention is recorded. Equivalent to.

【0037】[0037]

【発明の効果】以上説明したように、本発明の請求項1
記載の演奏データ分析装置または請求項2記載の媒体に
記録された演奏データ分析プログラムの実行によれば、
所望の方法により区間分割された各区間について、転調
位置を含む可能性のある区間についても分割すること
で、演奏データを音楽的に自然な複数の演奏区間に分割
することができる。
As described above, according to the first aspect of the present invention,
According to the performance data analysis device described above or the execution of the performance data analysis program recorded on the medium according to claim 2,
By dividing each of the sections divided by the desired method into sections that may include the modulation position, the performance data can be divided into a plurality of musically natural performance sections.

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

【図1】本発明の実施例における演奏区間の分割の流れ
の一例を示す図である。
FIG. 1 is a diagram showing an example of a flow of dividing a performance section in an embodiment of the present invention.

【図2】本発明の演奏データ分析装置を適用した電子楽
器および該電子楽器を接続したネットワークシステムの
ブロック図である。
FIG. 2 is a block diagram of an electronic musical instrument to which the performance data analyzer of the present invention is applied and a network system connecting the electronic musical instruments.

【図3】実施例における区間分割・調検出処理のフロー
チャートである。
FIG. 3 is a flowchart of section division / tone detection processing in the embodiment.

【図4】実施例におけるリピート区間細分化処理のフロ
ーチャートである。
FIG. 4 is a flowchart of a repeat section subdividing process in the embodiment.

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

1…CPU、2…ROM、3…RAM、11…外部記憶
装置、12…MIDIインターフェース、13…通信イ
ンターフェース。
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... ROM, 3 ... RAM, 11 ... External storage device, 12 ... MIDI interface, 13 ... Communication interface.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 演奏データの第1の演奏区間についてそ
の演奏区間の調の候補となる調候補を検出する処理を行
う調候補検出処理手段と、 該調候補検出処理手段により第1の演奏区間について調
候補が検出されなければ該第1の演奏区間を細分化し
て、該細分化された演奏区間の調の候補となる調候補が
検出されたら該細分化された演奏区間を第2の演奏区間
とする細分化処理手段と、を備えたことを特徴とする演
奏データ分析装置。
1. Key candidate detection processing means for detecting a key candidate that is a key candidate of a performance section of a first performance section of performance data, and a first performance section by the key candidate detection processing means. If no key candidate is detected, the first performance section is subdivided, and if a key candidate that is a key candidate of the subdivided performance section is detected, the subdivided performance section is divided into a second performance section. A performance data analysis device, comprising: segmentation processing means for dividing into sections.
【請求項2】 演奏データを分析するコンピュータで実
行する演奏データ分析プログラムを記録した媒体であっ
て、 演奏データの第1の演奏区間についてその演奏区間の調
の候補となる調候補を検出する処理を行うステップと、 上記調候補を検出する処理により第1の演奏区間につい
て調候補が検出されなければ該第1の演奏区間を細分化
して、該細分化された演奏区間の調の候補となる調候補
が検出されたら該細分化された演奏区間を第2の演奏区
間とするステップと、を実行する演奏データ分析プログ
ラムを記録した媒体。
2. A medium storing a performance data analysis program to be executed by a computer for analyzing performance data, wherein a process is performed for detecting a key candidate that is a candidate for a key of the first performance section of the performance data. And if the key candidate is not detected for the first performance section by the process of detecting the key candidate, the first performance section is subdivided to be a candidate for the key of the subdivided performance section. A step of setting the subdivided performance section to a second performance section when a key candidate is detected.
JP29001297A 1997-10-22 1997-10-22 Performance data analyzer and medium recording performance data analysis program Expired - Fee Related JP3329242B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29001297A JP3329242B2 (en) 1997-10-22 1997-10-22 Performance data analyzer and medium recording performance data analysis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29001297A JP3329242B2 (en) 1997-10-22 1997-10-22 Performance data analyzer and medium recording performance data analysis program

Publications (2)

Publication Number Publication Date
JPH11126065A true JPH11126065A (en) 1999-05-11
JP3329242B2 JP3329242B2 (en) 2002-09-30

Family

ID=17750647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29001297A Expired - Fee Related JP3329242B2 (en) 1997-10-22 1997-10-22 Performance data analyzer and medium recording performance data analysis program

Country Status (1)

Country Link
JP (1) JP3329242B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008151966A (en) * 2006-12-15 2008-07-03 Casio Comput Co Ltd Musical note display device and musical note display processing program
JP2013097302A (en) * 2011-11-04 2013-05-20 Casio Comput Co Ltd Automatic tone correction device, automatic tone correction method and program therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008151966A (en) * 2006-12-15 2008-07-03 Casio Comput Co Ltd Musical note display device and musical note display processing program
JP2013097302A (en) * 2011-11-04 2013-05-20 Casio Comput Co Ltd Automatic tone correction device, automatic tone correction method and program therefor

Also Published As

Publication number Publication date
JP3329242B2 (en) 2002-09-30

Similar Documents

Publication Publication Date Title
US6297439B1 (en) System and method for automatic music generation using a neural network architecture
US20020007721A1 (en) Automatic music composing apparatus that composes melody reflecting motif
US6175072B1 (en) Automatic music composing apparatus and method
JPH11327427A (en) Music allocating device and medium recording music allocation program
JP3528654B2 (en) Melody generator, rhythm generator, and recording medium
US5852252A (en) Chord progression input/modification device
JP2002023747A (en) Automatic musical composition method and device therefor and recording medium
JP2001331175A (en) Device and method for generating submelody and storage medium
US6570081B1 (en) Method and apparatus for editing performance data using icons of musical symbols
JPH11344979A (en) Melody generator and record medium
JP3489503B2 (en) Sound signal analyzer, sound signal analysis method, and storage medium
JP2000066675A (en) Automatic music performing device and recording medium therefor
JP3329242B2 (en) Performance data analyzer and medium recording performance data analysis program
JP3567701B2 (en) Chord detection method and chord detection device for detecting chords from musical tone data, and recording medium recording a chord detection program
JPH0990952A (en) Chord analyzing device
JP2002268632A (en) Phrase analyzing device and recording medium with recorded phrase analyzing program
JP3407623B2 (en) Chord progression creation support device and recording medium recording chord progression creation support program
JP3531507B2 (en) Music generating apparatus and computer-readable recording medium storing music generating program
JP2000112472A (en) Automatic music composing device, and recording medium
JP3430895B2 (en) Automatic accompaniment apparatus and computer-readable recording medium recording automatic accompaniment control program
JP3752859B2 (en) Automatic composer and recording medium
JP3632487B2 (en) Chord detection device for electronic musical instruments
JP3371774B2 (en) Chord detection method and chord detection device for detecting chords from performance data, and recording medium storing a chord detection program
JP3807333B2 (en) Melody search device and melody search program
JP2002032079A (en) Device and method for automatic music composition and recording medium

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020618

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120719

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130719

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees