JPH0876759A - Music device with accompaniment pitch decoding function - Google Patents
Music device with accompaniment pitch decoding functionInfo
- Publication number
- JPH0876759A JPH0876759A JP6234542A JP23454294A JPH0876759A JP H0876759 A JPH0876759 A JP H0876759A JP 6234542 A JP6234542 A JP 6234542A JP 23454294 A JP23454294 A JP 23454294A JP H0876759 A JPH0876759 A JP H0876759A
- Authority
- JP
- Japan
- Prior art keywords
- accompaniment
- pitch
- chord
- sound
- tone
- 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.)
- Pending
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
(57)【要約】
【目的】 音楽的意味で表現した伴奏音データをコード
機能のような音楽的背景に合わせて音高に解読可能な伴
奏音高解読機能付き音楽装置を提供する。
【構成】 伴奏原データメモリ112は伴奏の各音を識
別子で表現したデータを記憶する。コード機能が与えら
れるとCPU102は原データおける各和声音識別子を
KMAPメモリ108上のコード構成音テーブルを用い
て音高に変換する。更にCPU102は原データにおけ
る各非和声音識別子をSDBメモリ108上の音階音デ
ータベースと変換ずみの和声音高とに基づいて音高に変
換する。
(57) [Abstract] [Purpose] To provide a music apparatus with an accompaniment pitch decoding function capable of decoding accompaniment sound data expressed in a musical sense to a pitch in accordance with a musical background such as a chord function. [Structure] The accompaniment original data memory 112 stores data in which each sound of the accompaniment is represented by an identifier. When the chord function is given, the CPU 102 converts each chord tone identifier in the original data into a pitch using the chord constituent tone table on the KMAP memory 108. Further, the CPU 102 converts each non-harmonic tone identifier in the original data into a pitch based on the scale database in the SDB memory 108 and the converted harmonic pitch.
Description
【0001】[0001]
【産業上の利用分野】この発明はコード機能に合わせて
伴奏音高を決定可能な伴奏音高解読機能付き音楽装置に
関し、例えば自動伴奏機能をもつ電子楽器に応用でき
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a music apparatus having an accompaniment pitch decoding function capable of determining an accompaniment pitch according to a chord function, and can be applied to, for example, an electronic musical instrument having an automatic accompaniment function.
【0002】[0002]
【従来の技術】従来の代表的な自動伴奏装置は、伴奏パ
ターンメモリに伴奏の各音をコード根音からの音程(相
対音高)で表現した伴奏原データを用意し、鍵盤操作か
らコードの根音とタイプを検出し、検出したコードのタ
イプによって音程データを変更し、それに検出根音デー
タを加算することによって実際の伴奏音高を求めてい
た。この種の従来装置はコードの根音とタイプとによっ
て伴奏音高を決定する方式であり、調性和声機能を定め
なければ使用できる伴奏音高を決定できないという音楽
的事実に反している。この結果、この種の装置は音楽的
に不自然な音が出る問題があった。この問題を解消する
ため、本件出願人に係る特開平3−068922号は各
コードを根音とタイプとで表現したコードの列(コード
進行)を調性分析して各コードの機能(調性和声機能)
を抽出する調判定技術を提案している。また、自動伴奏
のための伴奏原データとしてコード機能ごとに伴奏の各
音の音高データを用意している。この技術によれば音楽
的に不自然な音が出ることは少なくなる。2. Description of the Related Art A typical conventional automatic accompaniment device prepares accompaniment original data in which each note of the accompaniment is represented by a pitch (relative pitch) from a chord root note in an accompaniment pattern memory, and the chord is changed by keyboard operation. The root note and type are detected, the pitch data is changed according to the detected chord type, and the detected root note data is added to it to obtain the actual accompaniment pitch. This type of conventional device is a method of determining the accompaniment pitch based on the root note and type of the chord, which is contrary to the musical fact that the accompaniment pitch that can be used cannot be determined unless the tonal harmony function is defined. As a result, this type of device has a problem of producing a musically unnatural sound. In order to solve this problem, Japanese Patent Application Laid-Open No. 3-068922 of the present applicant applies a tonality analysis to a sequence of chords (chord progression) in which each chord is expressed by a root note and a type, and performs the function of each chord (tonality). Harmony function)
We propose a key judgment technique to extract the. In addition, pitch data of each note of the accompaniment is prepared for each chord function as original accompaniment data for automatic accompaniment. This technique reduces the occurrence of unnatural musical sounds.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、伴奏の
各音の音高データをコード機能別に用意するために多大
の記憶容量を必要とする問題があった。したがって、こ
の発明の目的は音高データをコード機能別に予め用意す
ることなく、伴奏の各音をコード機能に合わせて音楽的
に音高解読することでその音高を決定し得るような伴奏
音高解読機能付き音楽装置を提供することである。However, there is a problem that a large storage capacity is required in order to prepare pitch data of each accompaniment note for each chord function. Therefore, an object of the present invention is to provide an accompaniment tone whose musical pitch can be determined by musically decoding the pitch of each accompaniment note according to the chord function without preparing pitch data for each chord function in advance. It is to provide a music device with a high decoding function.
【0004】[0004]
【手段、作用】この発明によれば、和声音と非和声音と
を含む伴奏音の列を各音の識別子の列によって表現した
伴奏原データを記憶する伴奏原データ記憶手段と、コー
ド機能を指定するコード機能指定手段と、指定されたコ
ード機能に対する和声音の音高セットを記憶するコード
構成音記憶手段と、指定されたコード機能に対する音階
音の音高セットを記憶する音階音記憶手段と、前記伴奏
原データにおける各和声音の識別子を前記指定されたコ
ード機能に対する和声音の音高セットを用いて音高に変
換する和声音解読手段と、前記伴奏原データにおける各
非和声音の識別子を前記和声音解読手段の変換結果であ
る和声音の音高と前記指定されたコード機能に対する音
階音の音高セットとに基づいて音高に変換する非和声音
解読手段と、を有することを特徴とする伴奏音高解読機
能付き音楽装置が提供される。According to the present invention, the accompaniment raw data storage means for storing the accompaniment raw data storing the accompaniment raw data in which the sequence of the accompaniment tones including the harmony and the non-harmonic tones is expressed by the sequence of the identifiers of the respective sounds, and the chord function A chord function designating means for designating, a chord constituent sound storing means for storing a pitch set of a harmonic sound for the designated chord function, and a scale sound storing means for storing a pitch set of a scale note for the designated chord function; A chord sound decoding means for converting the identifier of each harmony tone in the accompaniment raw data into a pitch using a pitch set of the harmony tone for the specified chord function; and an identifier of each non-harmonic tone in the accompaniment raw data And a non-harmonic sound decoding means for converting the pitch of the harmony sound, which is the conversion result of the harmony sound decoding means, into a pitch based on the pitch set of the scale note for the specified chord function. Characterized Rukoto accompaniment tone pitch decryption function musical apparatus is provided.
【0005】この構成によれば、伴奏原データにおける
各識別子は音の高さではなく音の音楽的な働きを示すも
のである。したがってこの構成ではコード機能ごとの伴
奏音高データは用意されない。伴奏原データにおける各
和声音と各非和声音の識別子はコード機能に合わせてそ
れぞれ和声音解読手段と非和声音解読手段により音高に
変換される。したがって、記憶容量を節約しつつ、音楽
的に自然な伴奏が可能になる。ところでコード機能に対
する音階音の音高セットは音楽スタイルにも依存する。
したがって、音楽スタイルとコード機能の両方を考慮し
て伴奏の各音を音高解読し得る音楽装置が望まれる。According to this structure, each identifier in the accompaniment original data indicates not the pitch of the pitch but the musical function of the pitch. Therefore, in this configuration, accompaniment pitch data for each chord function is not prepared. The identifiers of the respective harmony sounds and the respective nonharmonic sounds in the accompaniment original data are converted into pitches by the harmony sound decoding means and the nonharmonic sound decoding means, respectively, according to the code function. Therefore, a musical accompaniment is possible while saving the storage capacity. By the way, the pitch set of the scale note for the chord function also depends on the musical style.
Therefore, there is a demand for a music apparatus capable of pitch-defining each accompaniment note in consideration of both the music style and the chord function.
【0006】これを達成するため、この発明によれば各
音階音データベース手段がコード機能別に音階音の音高
セットを記憶する複数の音階音データベース手段と、伴
奏スタイルを選択するスタイル選択手段と、選択された
伴奏スタイルに対する伴奏原データであって、和声音と
非和声音とを含む伴奏音の列を各音の識別子の列によっ
て表現した伴奏原データを記憶する伴奏原データ記憶手
段と、選択された伴奏スタイルに適した音階音データベ
ース手段を前記複数の音階音データベース手段のなかか
ら選択するデータベース選択手段と、コード機能を指定
するコード機能指定手段と、指定されたコード機能に対
する和声音の音高セットを記憶するコード構成音記憶手
段と、前記伴奏原データにおける各和声音の識別子を前
記指定されたコード機能に対する和声音の音高セットを
用いて音高に変換する和声音解読手段と、前記伴奏原デ
ータにおける各非和声音の識別子を、前記和声音解読手
段の変換結果である和声音の音高と、前記選択された音
階音データベース手段における前記指定されたコード機
能に対する音階音の音高セットとに基づいて音高に変換
する非和声音解読手段と、を有することを特徴とする伴
奏音高解読機能付き音楽装置が提供される。To achieve this, according to the present invention, each scale database means stores a plurality of scale database means for storing a pitch set of a scale note for each chord function, and a style selecting means for selecting an accompaniment style. Accompaniment raw data storage means for storing the accompaniment raw data for the selected accompaniment style, which stores the accompaniment raw data in which a string of accompaniment tones including a harmonic sound and a non-harmonic sound is expressed by a string of identifiers of each sound, and Database means for selecting a scale sound database means suitable for the specified accompaniment style from the plurality of scale sound database means, a chord function designating means for designating a chord function, and a chord sound for the designated chord function. A chord component sound storage means for storing a high set, and an identifier of each harmony sound in the accompaniment original data, Harmonic tone decoding means for converting the pitches of the harmony tones for the function, and the identifier of each non-harmonic tone in the accompaniment original data, and the pitch of the harmony tone which is the conversion result of the harmony tone decoding means. And an accompaniment pitch decoding means for converting into a pitch based on the pitch set of the scale sound corresponding to the specified chord function in the selected scale sound database means. A music device with a decoding function is provided.
【0007】[0007]
【実施例】以下、図面を参照してこの発明の実施例を説
明する。図1はこの発明を自動伴奏機能をもつ電子楽器
(自動伴奏装置)に適用した場合のハードウェア構成を
示すブロック図である。図1においてCPU102はプ
ログラムメモリ104に置かれるプログラムを実行して
装置各部を制御する。この実施例に従い、SDBメモリ
106は種々の伴奏スタイルのために複数の音階音デー
タベースを記憶する。各音階音データベースはコード機
能別に音階音の音高セットに関する情報を含んでいる。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a hardware configuration when the present invention is applied to an electronic musical instrument (automatic accompaniment apparatus) having an automatic accompaniment function. In FIG. 1, a CPU 102 executes a program stored in a program memory 104 to control each part of the device. According to this embodiment, the SDB memory 106 stores multiple scale database for different accompaniment styles. Each scale database contains information about the pitch set of scale notes by chord function.
【0008】KMAPメモリ108は種々の伴奏スタイ
ルのために複数のコード構成音テーブルを記憶する。各
コード構成音テーブルはコード機能別に和声音(コード
構成音)の音高セットに関する情報を含んでいる。The KMAP memory 108 stores a plurality of chord component note tables for various accompaniment styles. Each chord component note table contains information on pitch sets of chord notes (chord components) for each chord function.
【0009】伴奏ヘッダメモリ110は伴奏スタイル別
に各パートの伴奏パターンのためのヘッダ情報を記憶す
る。後述するように、ヘッダ情報のなかには、SDBメ
モリ106上のどの音階音データベースを使用するかを
示す情報、KMAPメモリ108上のどのコード構成音
テーブルを使用するかを示す情報、伴奏原データメモリ
112上の使用する伴奏原データを指示する情報等が含
まれている。伴奏原データメモリ112は種々の伴奏ス
タイルの伴奏のための伴奏原データを記憶する。伴奏原
データは和声音と非和声音とを含む伴奏音の列を各音の
識別子の列によって表現する。The accompaniment header memory 110 stores header information for accompaniment patterns of each part for each accompaniment style. As will be described later, in the header information, information indicating which scale sound database in the SDB memory 106 is used, information indicating which chord constituent sound table in the KMAP memory 108 is used, and the accompaniment original data memory 112. Information and the like indicating the accompaniment original data used above are included. The accompaniment original data memory 112 stores accompaniment original data for accompaniment of various accompaniment styles. The accompaniment raw data expresses a string of accompaniment sounds including a harmonic sound and a non-harmonic sound by a string of identifiers of the respective sounds.
【0010】調・機能評価知識メモリ114は各コード
を根音とタイプで表現したコードの列(コード進行)に
おける各コードの機能、調の主音(キーノート)を評価
するための音楽知識データを記憶する。RAM116は
CPU102のワークメモリとして使用される。The key / function evaluation knowledge memory 114 stores music knowledge data for evaluating the function of each chord in the string of chords (chord progression) in which each chord is represented by the root note and type, and the keynote of the key. Remember. The RAM 116 is used as a work memory for the CPU 102.
【0011】鍵盤118は演奏データの入力装置であ
る。自動伴奏モード下では、鍵盤118の左手領域で順
次押鍵パターンによって指定されるコードに対し、CP
U102は指定コードの根音とタイプを検知する。この
ようにして各コードを根音とタイプで表現したコードの
列(コード進行)が得られる。このコード進行に対し、
CPU102は調・機能評価知識メモリ114に置かれ
る音楽知識データを参照して調・機能判定処理を実行
し、各コードのキーノートとコード機能を判定する。こ
の調・機能判定処理としては本件出願人に係る特願平3
−68922号に開示するものが使用できる。The keyboard 118 is a performance data input device. In the automatic accompaniment mode, the CPs for the chords sequentially designated by the key depression pattern in the left hand area of the keyboard 118
U102 detects the root note and type of the designated chord. In this way, a string of chords (chord progression) in which each chord is represented by a root note and a type is obtained. For this chord progression,
The CPU 102 refers to the music knowledge data stored in the key / function evaluation knowledge memory 114 and executes key / function determination processing to determine the keynote and chord function of each chord. As the adjustment / function determination process, Japanese Patent Application No.
The one disclosed in No. -68922 can be used.
【0012】伴奏スタイルセレクタ120は伴奏スタイ
ルを選択するための入力装置である。音源122はCP
U102の制御の下にメロディと伴奏のための楽音信号
を電子的に発生する装置である。サウンドシステム12
4は音源122からの楽音信号を音として再生する。The accompaniment style selector 120 is an input device for selecting an accompaniment style. Sound source 122 is CP
It is a device that electronically generates a musical tone signal for a melody and accompaniment under the control of U102. Sound system 12
Reference numeral 4 reproduces the tone signal from the sound source 122 as a sound.
【0013】本自動伴奏装置は伴奏原データメモリ11
2にある伴奏音の各識別子を与えられた伴奏スタイルと
コード機能に基づき音楽的に解読して音高データ(キー
ノートに対する音程を表わす)に変換する音高解読機能
を有している。セレクタ120から入力される伴奏スタ
イルは伴奏ヘッダ情報を介して使用する伴奏原データと
音階音データベース(SDB)とコード構成音テーブル
を特定するのに用いられる。The automatic accompaniment apparatus has an accompaniment original data memory 11
2 has a pitch decoding function of musically decoding each identifier of the accompaniment sound based on a given accompaniment style and chord function and converting it into pitch data (representing a pitch for a keynote). The accompaniment style input from the selector 120 is used to specify the accompaniment raw data, the scale database (SDB), and the chord component sound table to be used via the accompaniment header information.
【0014】コード機能が指定されると音高解読機能は
まず伴奏原データにおける各和声音の識別子をコード構
成音テーブルに書かれた、指定コード機能に対する和声
音の音高セットを用いて音高データに変換する。その
後、音高解読機能は伴奏原データにおける各非和声音識
別子を和声音の音高解読結果と、音階音データベースに
書かれた、指定コード機能に対する音階音の音高セット
とに基づき音高データに変換する。When the chord function is designated, the pitch decoding function first uses the pitch set of the harmony tone corresponding to the designated chord function in which the identifier of each harmony tone in the accompaniment original data is written in the chord constituent tone table. Convert to data. After that, the pitch decoding function uses each non-harmonic sound identifier in the accompaniment original data to decode the pitch data of the harmonic sound and the pitch data of the scale sound for the specified chord function written in the scale database. Convert to.
【0015】更に本自動伴奏装置は上記の音高解読機能
のみならず、音高解読結果を音楽的にテストして、適時
修正を行う修正機能を備えている。第1の修正機能は音
高列が形成する形状を音楽的状況に合わせて修正する。
このために形状調整区間が用意され、所定のコード機能
の場合には伴奏原データ中に含ませた変更データに従っ
て形状調整区間内の音高列を修正する。第2の修正機能
は非和声音の音高解読結果が音楽的に好ましくないアボ
イド音かどうかを調べ、該当する場合にはその伴奏音を
アボイド音以外の音高に修正する。Further, the automatic accompaniment apparatus has not only the above-mentioned pitch decoding function but also a correction function for musically testing the pitch decoding result and correcting it in a timely manner. The first correction function corrects the shape formed by the pitch train according to the musical situation.
For this purpose, a shape adjustment section is prepared, and in the case of a predetermined chord function, the pitch string in the shape adjustment section is corrected according to the change data included in the accompaniment original data. The second correction function examines whether or not the pitch decoding result of the non-harmonic sound is a musically unfavorable avoid sound, and corrects the accompaniment sound to a pitch other than the avoid sound if applicable.
【0016】図2と図3に音階音データベースの例を参
照符号106Eで示す。これらの図において、左端の列
はコード機能(例えばI)を示している。図示のように
音階音データベース106Eはコード機能別に音階音の
音高セットに関する情報をもっている。例えば第1行の
コード機能Iのとき、音階音はC、D、E、F、G、
A、Bで構成される。図ではCに対しては第1音階音を
示す記号ST1、Dに対しては第2音階音を示す記号S
T2、以下同様にして、EにはST3、FにはST4、
GにはST5、AにはST6、BにはST7の記号がつ
けられている。更に、これらの音階音のうちC、E、G
はコード構成音(和声音)でもあるため、それぞれ、K
1、K2、K3の記号をつけてある。また、Fはアボイ
ド音であるため、記号AVをつけている。いいかえると
実施例の音階音データベースはアボイド音のテーブルを
兼ねている。更に、音階音データベース106Eには矢
印FIGS. 2 and 3 show an example of the scale database by reference numeral 106E. In these figures, the leftmost column shows the code function (eg I). As shown in the figure, the scale sound database 106E has information on the pitch set of the scale sound for each chord function. For example, in the case of the chord function I in the first line, the scale notes are C, D, E, F, G,
It is composed of A and B. In the figure, C is a symbol ST1 indicating the first scale, and D is a symbol S indicating the second scale.
T2, and so on, ST3 for E, ST4 for F,
The symbols ST5 for G, ST6 for A, and ST7 for B are attached. Furthermore, among these scale notes, C, E, G
Is also a chord constituent sound (harmonic sound), so K
The symbols 1, K2 and K3 are attached. Further, since F is an avoid sound, the symbol AV is added. In other words, the scale sound database of the embodiment also serves as a table of avoid sounds. Furthermore, the scale database 106E has an arrow.
【外1】 、→、←の記号が記入されている。このうち[Outer 1] , →, ← symbols are entered. this house
【外1】は、その音階音が上(右)と下(左)の隣接音
階音と結合する強さが同じであることを示す。→は上の
音階音と結合しやすいことを、←は下の音階音と結合し
やすいことを表わしている。[External 1] indicates that the scale note has the same strength to combine with the upper (right) and lower (left) adjacent scale notes. The → indicates that it is easy to combine with the upper scale, and the ← indicates that it is easy to combine with the lower scale.
【0017】なお、図2、図3に示す音名C〜Bは実際
にはキーノートがCのときの音名、いいかえるとキーノ
ートからの音程(キーノートに対する相対音高)を表わ
し、Cがキーノートから1度(数値表現で0)、C
#(Db)がキーノートから短2度(1)、以下同様であ
る。また、STとKにつけた番号は便宜上であり、必ず
しも必要ではない。例えば、コード機能IのときC(キ
ーノートと同じ音名)は音階音かつ和声音であることを
示せば足りる。したがって1音名に付き5ビット、即
ち、音階音かどうかを示す1ビット、和声音かどうかを
示す1ビット、アボイド音かどうかを示す1ビット、結
合を表わす2ビットのデータフォーマットで音階音デー
タベースを構成できる。Note that note names C to B shown in FIGS. 2 and 3 actually represent note names when the keynote is C, in other words, the pitch from the keynote (relative pitch to the keynote), and C From the keynote once (0 in numerical expression), C
# (D b ) is minor second (1) from the keynote, and so on. Further, the numbers given to ST and K are for convenience and are not always necessary. For example, in the case of the chord function I, it is sufficient to show that C (the same note name as the keynote) is a scale note and a harmony note. Therefore, a scale database with a data format of 5 bits per 1 note name, that is, 1 bit indicating whether it is a scale note, 1 bit indicating whether it is a harmony note, 1 bit indicating whether it is an avoid note, and 2 bits indicating a combination Can be configured.
【0018】図4にコード構成音テーブルの例を参照符
号108Eで示す。コード構成音テーブルはコード機能
別に和声音(コード構成音)の音高セットに関する情報
をもっている。図示のコード構成音テーブル108Eは
3ポリ用(K1〜K3)と4ポリ用(K1〜K4)のテ
ーブルをまとめて示したものである。例えばコード機能
Iのとき、3ポリではK1がC4(第4オクターブの
C)、K2がE4、K3がG4であり、4ポリではK4
としてC5が加わる。なお、コード構成音テーブル10
8EにおけるC4等の音高データはキーノートがCのと
きの和声音の音高、いいかえるとキーノートからの音程
を表わしている。FIG. 4 shows an example of the chord component sound table with reference numeral 108E. The chord constituent table has information on pitch sets of chord sounds (chord constituent notes) for each chord function. The chord component sound table 108E shown in the drawing collectively shows tables for 3 poly (K1 to K3) and 4 poly (K1 to K4). For example, in the case of the chord function I, K3 is C4 (C in the fourth octave), K2 is E4, K3 is G4 in 3 poly, and K4 in 4 poly.
C5 is added as. The chord component sound table 10
The pitch data of C4 or the like in 8E represents the pitch of the harmony sound when the keynote is C, in other words, the pitch from the keynote.
【0019】また、図示のコード構成音テーブル108
Eはコード機能によらず、できるだけ伴奏音域を維持す
る“隣接”モード用のテーブルである。そのためにいく
つかのコード機能に対する和声音の配置は最低音K1が
根音ではない転回形をとっている。例えばコード機能IV
に対する3ポリの和声音としてK1に本来第3構成音で
あるC4を割り当て、その上にK2としてF4(コード
根音)、K3としてA4(本来、第2構成音)がくるよ
うにしている。“隣接”モード用のコード構成音テーブ
ルとは対照的に、伴奏音域をコードの根音に従って平行
シフトさせる“平行”モード用のコード構成音テーブル
も用意される。The chord component sound table 108 shown in the figure is also included.
E is a table for the "adjacent" mode that maintains the accompaniment tone range as much as possible regardless of the chord function. For this reason, the arrangement of the harmony tones for some chord functions has an inversion form in which the lowest note K1 is not the root note. For example code function IV
C3, which is originally the third component tone, is assigned to K1 as a three polyphonic tone for, and F4 (chord root tone) is provided as K2, and A4 (originally the second component tone) is provided as K3. In contrast to the chord component note table for the "adjacent" mode, a chord component note table for the "parallel" mode is also prepared, which shifts the accompaniment tone range in parallel according to the root note of the chord.
【0020】図5に伴奏パートに対するヘッダの例を参
照符号110Eで示す。ヘッダメモリ110Eは記号ア
ドレス“SDB”に使用する音階音データベースのアド
レスポインタを記憶する。また記号アドレス“KMA
P”には使用するコード構成音テーブルのアドレスポイ
ンタを記憶する。これらにより、伴奏原データの各音識
別子を音高解読するために使用する音階音データベース
とコード構成音テーブルが特定される。また、“スタイ
ル”、“拍子”、“パターン長”の各記号アドレスには
伴奏のスタイル、拍子、パターン長さの情報がそれぞれ
記憶される。FIG. 5 shows an example of a header for the accompaniment part with reference numeral 110E. The header memory 110E stores the address pointer of the scale database used for the symbol address "SDB". In addition, the symbol address "KMA
The address pointer of the chord component note table to be used is stored in P ″. By these, the scale note database and the chord component note table used for pitch decoding of each note identifier of the accompaniment original data are specified. , “Style”, “Beat”, and “Pattern length” are respectively stored with accompaniment style, beat, and pattern length information.
【0021】記号アドレス“ライン数”には伴奏パート
を構成する伴奏のライン数が記憶され、後続するライン
数分のアドレスには伴奏原データメモリ112におけ
る、各ラインデータのアドレスポインタが記憶される。
記号アドレス“AVT”にはアボイド音の許容長(例え
ば16分音符の長さ)が記憶される。後述するように、
許容長を超えるアボイド音が発生した場合、そのアボイ
ド音は除去される。記号アドレス“形状調整区間”には
伴奏の音高列の形状を調整する区間情報が記憶される
(なおそのような区間をもたない伴奏に対してはNUL
L値が設定される)。The symbol address "number of lines" stores the number of lines of the accompaniment that composes the accompaniment part, and the addresses of the subsequent lines store the address pointers of each line data in the accompaniment original data memory 112. .
In the symbol address "AVT", the permissible length of a void sound (for example, the length of a sixteenth note) is stored. As described below,
When an avoid sound exceeding the allowable length is generated, the avoid sound is removed. Section information for adjusting the shape of the pitch string of the accompaniment is stored in the symbol address "shape adjustment section" (NUL is set for an accompaniment having no such section).
L value is set).
【0022】図6に伴奏パートを構成する伴奏原データ
メモリの例を参照番号112Eで示す。図示の例では伴
奏パートは3つのラインから成る。各ラインデータはそ
れぞれ記号アドレス“ライン1”、“ライン2”、“ラ
イン3”から始まる。ライン1の最初のアドレスには和
声音の識別子として第3コードトーンを示す符号K3が
記憶される。次のアドレスにはそのリズムのアドレスポ
インタが記憶される。リズムアドレスポインタが指すリ
ズムメモリには212に示すようにその伴奏音の発音タ
イミングパターンと消音タイミングパターンが書かれて
いる。その次のアドレスはラインの終了符号ENDが記
憶されている。したがってライン1はK3の伴奏音のみ
から成る。同様にしてライン2はK2(第2和声音)の
伴奏音のみから成る。FIG. 6 shows an example of the accompaniment original data memory forming the accompaniment part with reference numeral 112E. In the illustrated example, the accompaniment part consists of three lines. Each line data starts from the symbol address "line 1", "line 2", "line 3", respectively. At the first address of the line 1, the code K3 indicating the third code tone is stored as the identifier of the harmony tone. At the next address, the address pointer of the rhythm is stored. In the rhythm memory pointed to by the rhythm address pointer, as shown at 212, a sounding timing pattern and a mute timing pattern of the accompaniment sound are written. At the next address, the end code END of the line is stored. Therefore, line 1 consists only of the accompaniment sound of K3. Similarly, the line 2 consists only of the accompaniment sound of K2 (second harmonic sound).
【0023】これに対し、ライン3は倚音(A)とK1
(第1和声音)の伴奏音から成る。このため、ライン3
の最初のアドレスには第1の伴奏音である非和声音の識
別子として倚音を意味する符号Aが記憶される。次のア
ドレスには基本の調性和声モード、即ちキーノートが
“C”でコード機能が“I”のときの倚音Aの音高デー
タが記憶される。なお、本実施例では伴奏原データメモ
リ上の非和声音についてはその識別子とともに基本の調
性和声モードにおける音高データを記憶するようにして
いる。その次のアドレスに倚音Aのリズム情報としてそ
のリズムデータの格納アドレスポインタが記憶される。
更に次アドレスに和声音の識別子として第1和声音を示
す符号K1が記憶され、その次のアドレスに和声音K1
のリズム情報のアドレスポインタが記憶される。On the other hand, the line 3 has a sound (A) and K1.
It is composed of an accompaniment sound of (first harmony sound). Therefore, line 3
At the first address of the above, a code A that means a sound is stored as an identifier of the non-harmonic sound that is the first accompaniment sound. At the next address, the basic tonal harmony mode, that is, the pitch data of the low note A when the keynote is "C" and the chord function is "I" is stored. In this embodiment, the pitch data in the basic tonal harmony mode is stored together with the identifier of the non-harmonic sound on the accompaniment original data memory. At the next address, the storage address pointer of the rhythm data is stored as the rhythm information of the sound A.
Further, a code K1 indicating the first harmony tone is stored at the next address as an identifier of the harmony tone, and the harmony tone K1 is stored at the next address.
The address pointer of the rhythm information is stored.
【0024】なお、図6の伴奏原データが示す伴奏パー
トはパターン長が1小節であり、図7に示す形式で各ラ
インが構成される。このように伴奏原データは和声音と
非和声音を含む伴奏音別の各音を識別子の列で表現する
ものである。したがって、自動伴奏のために、与えられ
たコード機能に対して各識別子をヘッダが指定する音階
音データベースとコード構成音テーブルを用いて音高デ
ータに変換する必要がある。The accompaniment part indicated by the accompaniment original data in FIG. 6 has a pattern length of one bar, and each line is formed in the format shown in FIG. In this way, the accompaniment original data represents each sound of each accompaniment sound including a harmony sound and a non-harmonic sound by a string of identifiers. Therefore, for automatic accompaniment, it is necessary to convert each identifier into pitch data for a given chord function using the scale note database and chord constituent note table designated by the header.
【0025】図8において、(A)は図6の伴奏原デー
タに対し、キーが“C”でコード機能がI(コード名が
CMajor)のときの音高解読結果をそのリズムとともに
楽譜で示したものである。コード機能Iの場合、ライン
1のK3=G4、ライン2のK2=E4、ライン3のA
=D4、K1=C4に音高変換されている。図8(B)
は同じ伴奏原データに対し、キーが“C”でコード機能
がIV(コード名がFMajor)のときの音高解読結果を示し
たものである。コード機能IVの場合、ライン1のK3=
A4、ライン2のK2=F4、ライン3のA=D4、K
1=C4に音高変換されている。In FIG. 8, (A) is a musical score together with the rhythm of the pitch decoding result when the key is “C” and the chord function is I (the chord name is C Major ) with respect to the accompaniment raw data of FIG. It is shown. In the case of code function I, K3 of line 1 = G4, K2 of line 2 = E4, A of line 3
= D4, K1 = C4. FIG. 8 (B)
Shows the pitch decoding result when the key is "C" and the chord function is IV (the chord name is F Major ) for the same accompaniment original data. In case of code function IV, K3 of line 1 =
A4, K2 of line 2 = F4, A of line 3 = D4, K
The pitch is converted to 1 = C4.
【0026】図9は本自動伴奏装置により実行されるコ
ード機能別伴奏パターン作成処理9−Gのフローチャー
トである。この処理9−Gの目的は伴奏原データにおけ
る各音識別子をコード機能別に解読してその音高を決定
することである。本実施例ではこのコード機能別伴奏パ
ターン作成処理9−Gはステップ9−0に示すように、
伴奏スタイルセレクタ120による伴奏スタイルの選択
操作に応答して実行される。コード機能別伴奏パターン
作成処理の最初のステップ9−1でCPU102は選択
伴奏スタイルに対応づけられたヘッダを読み込む。そし
てヘッダに書かれている音階音データベースアドレスポ
インタを用いて、選択伴奏スタイルに合う音階音データ
ベースSDBをアクセスし、そのSDBの最初のコード
機能を選択する(9−2)。FIG. 9 is a flowchart of the chord function-based accompaniment pattern creating process 9-G executed by the automatic accompaniment apparatus. The purpose of this process 9-G is to decode each note identifier in the accompaniment original data for each chord function to determine its pitch. In this embodiment, the accompaniment pattern creation process 9-G for each chord function is performed as shown in step 9-0.
This is executed in response to an accompaniment style selection operation by the accompaniment style selector 120. In the first step 9-1 of the accompaniment pattern creation process for each chord function, the CPU 102 reads the header associated with the selected accompaniment style. Then, by using the scale database address pointer written in the header, the scale database SDB matching the selected accompaniment style is accessed and the first chord function of the SDB is selected (9-2).
【0027】以下、9−3〜9−12で選択コード機能
に対する伴奏の音高解読処理を実行する。まずステップ
9−3でCPU102は伴奏原データを走査するポイン
タをヘッダに書かれている最初のラインアドレスポイン
タの値にセットすることにより、最初の伴奏ラインを選
択する。そして9−4〜9−10で選択伴奏ラインに対
する音高解読処理を実行する。まず和声音高解読ステッ
プ9−4でCPU102は選択伴奏ラインに含まれる各
和声音の識別子をコード構成音テーブルを用いて音高に
変換する。次に選択伴奏ラインに形状調整区間が含ま
れ、かつ選択コード機能が4和音、即ち4つの構成音を
もつ和音かどうかチェックし(9−5)該当する場合に
は形状修正ステップ9−6で伴奏ラインの形状を修正す
る。Thereafter, in 9-3 to 9-12, accompaniment pitch decoding processing for the selected chord function is executed. First, in step 9-3, the CPU 102 selects the first accompaniment line by setting the pointer for scanning the accompaniment original data to the value of the first line address pointer written in the header. Then, in 9-4 to 9-10, the pitch decoding process for the selected accompaniment line is executed. First, in the chord pitch decoding step 9-4, the CPU 102 converts the pitch of each chord note included in the selected accompaniment line into a pitch using the chord constituent note table. Next, it is checked whether or not the selected accompaniment line includes a shape adjustment section and the selected chord function is a chord having four chords, that is, a chord having four constituent notes (9-5). Correct the shape of the accompaniment line.
【0028】次にステップ9−7で選択伴奏ラインに非
和声音が含まれるかどうかをチェックし、該当すれば非
和声音解読処理9−8を実行してライン中の各非和声音
の識別子を音高に変換する。次にアボイドチェック・修
正ステップ9−9で非和声音解読処理の結果をテスト
し、好ましくないアボイド音、即ち許容長AVTを超え
るアボイド音が発生している場合にはその音をアボイド
音でない音高に変更する。ステップ9−10ですべての
ラインについて音高解読処理が完了したかどうかをチェ
ックし、未完了なら次の伴奏ラインを選択して(9−1
1)、9−4に戻る。Next, in step 9-7, it is checked whether or not the selected accompaniment line contains a non-harmonic sound, and if it is applicable, a non-harmonic sound decoding process 9-8 is executed to identify each non-harmonic sound in the line. To pitch. Next, in a void check / correction step 9-9, the result of the non-harmonic sound decoding process is tested, and if an undesired avoid sound, that is, an avoid sound exceeding the allowable length AVT is generated, the sound is not a void sound. Change to high. In step 9-10, it is checked whether the pitch decoding processing has been completed for all the lines, and if not completed, the next accompaniment line is selected (9-1
Return to 1) and 9-4.
【0029】ステップ9−12ではすべてのコード機能
について音高解読処理が完了したかどうかをチェック
し、未完了なら、SDBから次のコード機能を選択して
(9−13)、9−3へ戻る。このように、コード機能
別伴奏パターン処理9−Gではコード機能別に伴奏パー
トの各ラインの伴奏音高列を決定し、結果をRAM11
6の所定エリアに格納する。At step 9-12, it is checked whether the pitch decoding processing is completed for all chord functions. If not, the next chord function is selected from SDB (9-13), and 9-3 is entered. Return. In this way, in the accompaniment pattern processing 9-G for each chord function, the accompaniment pitch sequence of each line of the accompaniment part is decided for each chord function, and the result is stored in the RAM 11.
Stored in a predetermined area of 6.
【0030】その後、鍵盤118で演奏が始まると、C
PU102はコード判定処理で左手鍵域の押鍵パターン
からコードのタイプと根音を検出し、調性分析処理でコ
ードの機能とキーノートを判別する。そして伴奏処理を
実行し、判別されたコード機能に対する伴奏パートの各
ラインの伴奏音高をRAM116から読み出し、発音の
各タイミングでRAM116からの該当する伴奏音高デ
ータにキーノートデータを加算して実音高データを生成
し、それによって音源122を制御する。これにより、
伴奏スタイルとコード機能に合った自動伴奏が実現され
る。After that, when the performance starts on the keyboard 118, C
The PU 102 detects the type and root note of the chord from the key depression pattern in the left-hand key range in the chord determination process, and discriminates the function of the chord and the keynote in the tonality analysis process. Then, the accompaniment process is executed, the accompaniment pitch of each line of the accompaniment part for the determined chord function is read from the RAM 116, and the keynote data is added to the corresponding accompaniment pitch data from the RAM 116 at each sounding timing to generate the actual sound. Produces high data, thereby controlling the sound source 122. This allows
Automatic accompaniment that matches the accompaniment style and chord function is realized.
【0031】図10に和声音解読処理9−4のフローチ
ャートを示す。まず10−1でCPU102は伴奏原デ
ータの走査ポインタをライン開始アドレスから進めてい
って伴奏ラインの最初の和声音識別子をロケートする。
次に10−2でCPU102はヘッダが指すコード構成
音テーブルKMAPをルックアップして、選択コード機
能における該当和声音識別子に対する音高データを取り
出す。例えば伴奏原データの和声音識別子がK3でコー
ド機能がIIm、使用するKMAPが図4に示す4ポリの
隣接型コード構成音テーブル108Eであれば、このテ
ーブルの4ポリK3の列とIImの行との交点に示す音高
データA4がK3の音高解読結果として取り出される。FIG. 10 shows a flowchart of the harmony sound decoding process 9-4. First, in 10-1, the CPU 102 advances the scan pointer of the accompaniment original data from the line start address to locate the first chord tone identifier of the accompaniment line.
Next, at 10-2, the CPU 102 looks up the chord constituent tone table KMAP pointed to by the header and extracts the pitch data for the corresponding chord tone identifier in the selected chord function. For example, if the harmony tone identifier of the accompaniment original data is K3, the chord function is II m , and the KMAP used is the 4-poly adjacent chord component note table 108E shown in FIG. 4, the 4-poly K3 column of this table and II m The pitch data A4 indicated at the intersection with the line is extracted as the pitch decoding result of K3.
【0032】1つの和声音識別子について音高を解読し
たら、伴奏原データ走査ポインタを進めていって次の和
声音識別子をロケートし(10−4)、その音高解読1
0−2を実行する。伴奏原データ走査ポインタがライン
終了符号ENDに達したら(10−3)、処理終了であ
る。形状修正処理9−6は伴奏原データの音高列の形状
を調整する機能を実現するものである。この形状修正処
理9−6は伴奏パターンに形状調整区間があり、コード
機能が4和音の場合に、その形状調整区間に対して実行
される。このためにヘッダは形状調整区間の有無や領域
に関する情報をもっており、伴奏原データメモリにも必
要に応じ形状調整のための情報をもたせている。After the pitch of one harmonic tone identifier is decoded, the accompaniment original data scanning pointer is advanced to locate the next harmonic tone identifier (10-4), and the pitch decoding 1
Perform 0-2. When the accompaniment original data scan pointer reaches the line end code END (10-3), the processing is completed. The shape correction processing 9-6 realizes a function of adjusting the shape of the pitch string of the accompaniment original data. This shape correction processing 9-6 is executed for the shape adjustment section when the accompaniment pattern has a shape adjustment section and the chord function is a four chord. For this reason, the header has information regarding the presence or absence of a shape adjustment section and the area, and the accompaniment original data memory also has information for shape adjustment as necessary.
【0033】図11に形状調整が行われる伴奏原データ
の例を参照符号112Gで部分的に示してある。図示の
ように和声音識別子の隣りに変更データが置かれる。変
更データ“0”は和声音高解読処理9−4で解読した和
声音高データを変更しないことを表わし、変更データ
“+1”は解読した和声音高データを1つ上の和声音に
変更することを意味し、変更データ“−1”は解読和声
音高データを1つ下の和声音に変更することを意味して
いる。In FIG. 11, an example of accompaniment original data whose shape is adjusted is partially shown by a reference numeral 112G. Change data is placed next to the chord identifier as shown. The change data "0" indicates that the harmony pitch data decoded in the harmony pitch decoding processing 9-4 is not changed, and the change data "+1" changes the decoded harmony pitch data to the next higher harmonic sound. The change data “−1” means that the decoded chord pitch data is changed to the next lower chord sound.
【0034】図12は形状修正処理9−6のフローチャ
ートである。まず12−1でCPU102は伴奏ライン
の原データメモリから最初の和声音識別子をロケートす
る。12−2でロケートした和声音識別子が形状調整区
間内の音かどうかをチェックする。これは、ヘッダに置
かれた形状調整区間情報と和声音識別子のリズム情報と
を比較することで行われる。FIG. 12 is a flowchart of the shape correction processing 9-6. First, in 12-1, the CPU 102 locates the first chord sound identifier from the original data memory of the accompaniment line. It is checked whether or not the harmony tone identifier located in 12-2 is a sound within the shape adjustment section. This is performed by comparing the shape adjustment section information placed in the header with the rhythm information of the chord sound identifier.
【0035】形状調整区間内の音ならば12−3へ進
み、ロケートした和声音識別子に対する音高解読結果で
ある音高データをRAM116から読み出す。次に12
−4で伴奏原データメモリ112からロケートした和声
音識別子に対する変更データを読み取る。この変更デー
タが“0”以外の値をもつときは(12−5)、12−
6へ進み、変更データを音程の値に換算する。これはコ
ード構成音テーブルから選択コード機能に対する和声音
間の音高差(音程)を計算することで得られる。例えば
コード構成音テーブルKMAPとして図4に示す4ポリ
の隣接型テーブル108Eを用いたとし、コード機能が
V7、和声音識別子がK4、変更データが“+1”だと
すると、K4に対する解読結果はB4(数値表現で4×
12+11=59)である。コード機能V7について、
K4とそれより1つ上の和声音との間の音程はK4の音
名BとK1の音名Dとの差(12mod(2−11+1
2))、即ち短3度(数値表現で3)である。したがっ
てB4に短3度を加えるとD5(62=59+3)とな
り、これが変更後の和声音高を定める(12−7)。If the sound is in the shape adjustment section, the flow proceeds to 12-3, and the pitch data which is the pitch decoding result for the located harmony sound identifier is read from the RAM 116. Next 12
At -4, the change data for the located harmony tone identifier is read from the accompaniment original data memory 112. When this change data has a value other than "0" (12-5), 12-
Proceed to step 6 to convert the change data into a pitch value. This is obtained by calculating the pitch difference (pitch) between the chord notes for the selected chord function from the chord constituent note table. For example, assuming that the 4-poly adjacent table 108E shown in FIG. 4 is used as the chord constituent tone table KMAP, the chord function is V7, the chord tone identifier is K4, and the change data is “+1”, the decoding result for K4 is B4 (numerical value). 4x in expression
12 + 11 = 59). Regarding code function V7,
The pitch between K4 and the next higher harmonic is the difference between the pitch name B of K4 and the pitch name D of K1 (12 mod (2-11 + 1
2)), that is, the minor third (3 in numerical expression). Therefore, adding a minor third to B4 results in D5 (62 = 59 + 3), which determines the changed harmonic pitch (12-7).
【0036】以下、伴奏ラインの終了(12−8)に至
るまで原データから和声音の識別子を見つける(12−
9)ごとに12−2〜12−7に示す処理を実行するこ
とにより、形状調整区間内の和声音高列の形状を修正す
る。例えば、形状調整区間の和声音の識別子がK3−K
4−K4−K3、その変更データ列が0−0−1−1、
使用コード構成音テーブルKMAPが図4の4ポリ・隣
接型だとすると、コード機能がIのときは音高列G4−
C5−C5−G4が得られる。コード機能がIM7のとき
は和声音解読処理9−4の結果、音高列G4−B4−B
4−G4が形成される。更に形状修正処理9−6によ
り、この音高列はG4−B4−C5−B4に変更され
る。Then, until the end of the accompaniment line (12-8), the identifier of the harmony tone is found from the original data (12-
By performing the processing shown in 12-2 to 12-7 for each 9), the shape of the harmonic pitch sequence in the shape adjustment section is corrected. For example, the identifier of the harmony sound in the shape adjustment section is K3-K.
4-K4-K3, the changed data string is 0-0-1-1,
Assuming that the chord composition note table KMAP used is the 4-poly / adjacent type in FIG. 4, when the chord function is I, the pitch string G4-
C5-C5-G4 is obtained. When the chord function is I M7 , the pitch sequence G4-B4-B is obtained as a result of the chord decoding process 9-4.
4-G4 is formed. Further, by the shape correction processing 9-6, this pitch string is changed to G4-B4-C5-B4.
【0037】図13は非和声音高解読処理9−8のフロ
ーチャートである。まず、原データ走査ポインタをライ
ン開始位置から進めていって最初の非和声音識別子をロ
ケートする(13−1)。13−2でロケートした非和
声音識別子の種類を判別する。本実施例では非和声音識
別子として倚音Aと経過音Pと逸音Eを使用している。
そこで判別した非和声音の種類に対応して倚音解読処理
13−3、経過音解読処理13−4、逸音解読処理13
−5をそれぞれ実行して非和声音の音高を決定する。FIG. 13 is a flowchart of the non-harmonic pitch decoding process 9-8. First, the original data scan pointer is advanced from the line start position to locate the first non-harmonic tone identifier (13-1). The type of the non-harmonic sound identifier located in 13-2 is determined. In the present embodiment, the low sound A, the transitional sound P and the lost sound E are used as the non-harmonic sound identifiers.
Therefore, the sound deciphering process 13-3, the elapsed sound deciphering process 13-4, and the lost sound deciphering process 13 are performed in accordance with the determined nonharmonic sound type.
-5 is executed to determine the pitch of the non-harmonic sound.
【0038】1つの非和声音識別子について音高解読処
理を行ったら、原データ走査ポインタを進めていって次
の非和声音識別子をサーチし、見つかれば(13−
7)、同様の音高解読処理13−2〜13−5を繰り返
す。原データ走査ポインタがライン終了符号ENDに達
したら処理完了である。After the pitch decoding process is performed for one non-harmonic tone identifier, the original data scanning pointer is advanced to search for the next non-harmonic tone identifier, and if found (13-
7), and similar pitch decoding processing 13-2 to 13-5 is repeated. When the original data scan pointer reaches the line end code END, the processing is completed.
【0039】図14に倚音解読処理13−3のフローチ
ャートを示す。まず14−1でCPU102はコード機
能が基準のコード機能Iかどうかをチェックし、該当す
れば14−2に進み、原データの倚音音高データを読む
(14−3)。次に倚音に後続する和声音の音高データ
(和声音解読処理9−4、形状修正処理9−6によって
既に得られている)を読み(14−4)、倚音から後続
和声音への音程の方向DIRを求める(14−4)。こ
の倚音の方向情報DIRは他のコード機能に対する倚音
の音高解読に利用される。FIG. 14 shows a flowchart of the sound decoding process 13-3. First, in 14-1, the CPU 102 checks whether or not the chord function is the standard chord function I, and if so, the process proceeds to 14-2, and the original pitch data is read (14-3). Next, the pitch data of the chord following the chorus (which has already been obtained by the chord deciphering process 9-4 and the shape correction process 9-6) is read (14-4), and the chord is changed to the succeeding chord. The direction DIR of the pitch of is calculated (14-4). The spur direction information DIR is used for pitch decoding of the spur for other chord functions.
【0040】以上述べるように実施例では倚音から後続
和声音への音の進行方向がすべてのコード機能で同じに
なるようにしている。即ち、基準コード機能以外のコー
ド機能に対しては(14−1)、後続する和声音の音高
データを読み出し(14−5)、音階音データベースS
DBから後続和声音の音高に隣接し、DIRの方向をも
つ音階音(同時に和声音であるケースもある得る)の音
高を倚音として読む(14−6)。As described above, in the embodiment, the traveling direction of the sound from the low-pitched sound to the subsequent chord sound is the same for all chord functions. That is, for chord functions other than the reference chord function (14-1), the pitch data of the following chord sound is read (14-5) and the scale database S
The pitch of a scale note (which may be a chord at the same time) adjacent to the pitch of the subsequent chord and having a direction of DIR is read as a sound from DB (14-6).
【0041】例えばコード機能=N、後続和声音の音高
=C4=12×4、SDB=図2の音階音データベース
106E、DIR=“−”(下向)、だとすると、CP
U102は音階音データベース106Eのコード機能IV
の行を和声音の音高クラスCの列から右方に向って見て
いく。すると、音高クラスDが音階音であることが見つ
け出される。したがって倚音の音高は後続和声音より長
2度以上(Cから右方に動かした値2で示される)であ
り、倚音音高=D4(=12×4+2)が求められる。For example, if the chord function = N, the pitch of the subsequent chord sound = C4 = 12 × 4, SDB = the scale database 106E of FIG. 2, DIR = “-” (downward), then CP
U102 is a chord function IV of the scale database 106E
From the column of the pitch class C of the chord to the right. Then, it is found that the pitch class D is a scale note. Therefore, the pitch of the low-pitched sound is longer than the second harmonic tone by 2 degrees or more (indicated by a value 2 moved to the right from C), and the low-pitched pitch = D4 (= 12 × 4 + 2).
【0042】図15に経過音解読処理13−4のフロー
チャートを示す。コード機能が基準機能Iのときは(1
5−1)原データメモリに書かれている経過音高データ
を写しとる(15−2)。ほかのコード機能のときは1
5−3へ進み、経過音の前後の和声音高データを読み
(15−3)、高さを比較する(15−4)。前後の和
声音の音高が異なるときは15−5に進み、経過音の音
高データを前の和声音の音高に初期化する。次に(15
−6)、前の和声音の音高から後の音高に向けて音階音
データベースSDBをサーチし、音階音を見つける都
度、その音高に経過音音高データを更新する。FIG. 15 shows a flowchart of the elapsed sound decoding processing 13-4. When the code function is the standard function I (1
5-1) Copy the elapsed pitch data written in the original data memory (15-2). 1 for other code functions
Proceeding to 5-3, the harmonic pitch data before and after the elapsed sound is read (15-3), and the pitch is compared (15-4). When the pitches of the preceding and following chord sounds are different, the procedure proceeds to 15-5, and the pitch data of the elapsed sound is initialized to the pitch of the preceding harmony sound. Then (15
-6), the scale note database SDB is searched from the pitch of the previous harmonic sound to the pitch of the subsequent harmonic sound, and every time a scale sound is found, the elapsed pitch data is updated to that pitch.
【0043】解読例を表1と表2に示す。Decoding examples are shown in Tables 1 and 2.
【表1】 [Table 1]
【表2】 [Table 2]
【0044】一方、前後の和声音が同じ高さの場合には
15−7へ進み、音階音データベースSBDから、和声
音の音高に隣接する上と下の音階音の結合度データをと
り出す。そして強い方の結合度をもつ音階音があればそ
れを経過音の音高とする。また両結合度データが同じか
結合度データが書かれていないときは下側の音階音を経
過音の音高とする。On the other hand, if the preceding and following chord tones have the same pitch, the flow proceeds to 15-7, and the coupling degree data of the upper and lower scale tones adjacent to the pitch of the chord tones are extracted from the scale database SBD. Then, if there is a scale note having a stronger degree of coupling, it is set as the pitch of the elapsed note. When both coupling degree data are the same or the coupling degree data is not written, the lower scale tone is set as the pitch of the elapsed tone.
【0045】解読例を表3に示すTable 3 shows a decryption example
【表3】 [Table 3]
【0046】図16に逸音解読処理13−5のフローチ
ャートを示す。コード機能が基準機能Iのときは(16
−1)、原データメモリから逸音音高データを写しとる
(16−2)。更に後続する和声音の音高データを読み
(16−3)、後続和声音に対する逸音の音程INTを
求める(16−4)。この音程情報INTはすべてのコ
ード機能について逸音から後続和声音への跳躍進行を同
様なものにするのに利用される。即ち、基準機能以外の
コード機能に対しては後続する和声音の音高データを読
み(16−4)、音階音データベースから(INT+和
声音の音高)に最も近い音階音を見つけ出し、それを逸
音の音高とする(16−5)。FIG. 16 shows a flowchart of the lost sound decoding processing 13-5. When the code function is the standard function I (16
-1), copy the pitch loss data from the original data memory (16-2). Further, the pitch data of the subsequent harmony tone is read (16-3), and the pitch INT of the missing tone for the subsequent harmony tone is obtained (16-4). This pitch information INT is used for all chord functions to make the jump progression from the missing sound to the subsequent chord sound similar. That is, for the chord functions other than the standard function, the following pitch data of the harmony tone is read (16-4), the tone scale closest to (INT + chord tone pitch) is found from the scale database, and this is searched. The pitch of the lost sound is set (16-5).
【0047】以上述べたように、非和声音解読処理では
和声音の音高解読結果と音階音データベースとに基づい
て各非和声音の識別子を音高に変換する。なお、上記の
例では伴奏原データメモリ上に基準コード機能に対する
非和声音の音高データをもたせているがもたせない方法
も考えられる。これは非和声音の意味づけ(非和声音識
別子の種類)を細かく分け、各意味づけに沿う解読処理
を行うことで実現できる。As described above, in the non-harmonic sound decoding processing, the identifier of each non-harmonic sound is converted into a pitch based on the pitch decoding result of the harmonic sound and the scale database. In the above example, the pitch data of the non-harmonic sound corresponding to the reference chord function is provided in the accompaniment original data memory, but a method without it is also possible. This can be realized by finely dividing the meanings of the non-harmonic sounds (types of the non-harmonic sounds identifiers) and performing a decoding process according to each meaning.
【0048】例えば倚音Aを後続和声音に対して下向す
る倚音“+A”と上行する倚音“−A”とに分け、+A
(−A)の解読においてSDBを後続和声音より高い方
向(低い方向)にサーチする。また、経過音については
前後の和声音の音高が異なるものをPグループ、前後の
和声音の音高が同じになるものをNグループとする。更
にPグループの経過音について、SDB上で前後の和声
音間に2の音階音が含まれる場合に前の和声音に近い音
階音で定義される音をP1、後の和声音に近い音階音で
定義される音をP2で区別化する。またNグループを前
後和声音の上側の音階音としての意味を持つ+Nと前後
和声音の下側の音階音としての意味を持つ−Nとに分け
る。For example, the sound A is divided into a sound "+ A" which is a downward sound and a sound "-A" which is an ascending sound with respect to the subsequent harmony sound, and is + A.
In decoding (-A), SDB is searched in a direction higher (lower direction) than the subsequent harmony sound. Further, regarding the progressed sounds, those having different pitches of the preceding and following harmony tones are P groups, and those having the same pitch of the preceding and following harmony tones are the N groups. Further, regarding the progressed sound of the P group, when two scales are included between the preceding and following harmonys on the SDB, the sound defined by the scale closer to the preceding harmony is P1, and the scale closer to the latter harmony. The sound defined by is differentiated by P2. Further, the N group is divided into + N, which has a meaning as an upper scale tone of the front and rear chords, and −N, which has a meaning as a lower scale tone of the front and rear chords.
【0049】また逸音については後続する和声音に対す
る音程情報を含む識別子で表現する。例えばE(+5)
は後続する和声音より5半音高いかそれに最も近い音階
音としての意味を持つ逸音識別子である。このように非
和声音識別子を豊富化し、それぞれの意味づけに合った
処理を行うことで一層きめの細かい音高解読が可能とな
るとともに伴奏原データから基準コード機能に対する非
和声音音高データを除去することができる。The lost sound is expressed by an identifier including pitch information for the following harmony sound. For example, E (+5)
Is a missing note identifier having a meaning as a scale note that is five semitones higher or is closest to the following harmonic sound. In this way, by enriching the non-harmonic tone identifiers and performing processing according to their respective meanings, it is possible to perform more detailed pitch decoding and also to generate non-harmonic pitch data from the accompaniment original data for the reference chord function. Can be removed.
【0050】図17にアボイドチェック修正処理9−9
のフローチャートを示す。まず17−1で原データ操作
ポインタを伴長ライン開始位置から進めていって最初の
非和声音識別子をロケートする。17−2ではロケート
した非和声音識別子に対する非和声音解読処理結果、即
ち音高データを読む。そしてその音高クラスとコード機
能を開いて音階音データベースSDBをルックアップ
し、解読した音高がアボイド音かどうかをテストする
(17−3)。アボイド音ならばその音長がヘッダ(図
5)にかかれた許容長AVTを越えるかどうかを調べ
る。該当すれば音楽的に好ましくないアボイド音なので
アボイド除去処理17−4を実行して、その音をアボイ
ド音でない音に変更する。FIG. 17 shows the void check correction processing 9-9.
The flowchart of is shown. First, in 17-1, the original data operation pointer is advanced from the accompanying line start position to locate the first non-harmonic tone identifier. In 17-2, the non-harmonic sound decoding processing result, that is, the pitch data, for the located non-harmonic sound identifier is read. Then, the pitch class and chord function are opened, the scale sound database SDB is looked up, and it is tested whether the decoded pitch is an avoid sound (17-3). If it is an avoid sound, it is checked whether the sound length exceeds the allowable length AVT written in the header (FIG. 5). If this is the case, it is a musically unfavorable avoid sound, so the avoid removal processing 17-4 is executed to change the sound to a sound that is not an avoid sound.
【0051】以降、伴奏ラインの原データから非和声音
識別子を見つける都度(17−7)、以上の処理を繰り
返し原データポインタがライン終了符号ENDに達した
ら(17−6)処理を抜ける。After that, each time a non-harmonic tone identifier is found from the original data of the accompaniment line (17-7), the above process is repeated, and when the original data pointer reaches the line end code END (17-6), the process is exited.
【0052】図18はアボイド除去処理17−5のフロ
ーチャートである。まず18−1でアボイド音の前後の
和声音の音高を取り出す。次に(18−2)、アボイド
音として解読された非和声音の種類を識別する。非和声
音が倚音Aの場合には音階音データベースSDBを参照
して、後の和声音の音高に隣接し、かつアボイド音とは
反対側にある音階音を見つけ出し、それを修正音高とす
る(18−3)。逸音Eの場合は、音階音データベース
SDBを参照し、アボイド音に隣接する音階音を見つけ
出し、それを修正音高とする(18−4)。経過音Pの
場合は前後の和声音高を比較し、同じなら(18−
5)、その音を倚音Aとみなして18−3の倚音修正処
理を実行する。異なるなら音階音データベースSDBを
参照し、前後の和声音間にあるアボイド音以外の音階音
をサーチする。そのような音階音が見つかればそれを経
過音の修正音高とする。見つからなければ(18−
7)、倚音とみなして倚音修正処理18−3を実行す
る。FIG. 18 is a flowchart of the void removal processing 17-5. First, in 18-1, the pitches of the harmony sound before and after the avoid sound are extracted. Next, (18-2), the type of non-harmonic sound decoded as an avoid sound is identified. When the non-harmonic sound is a dip A, the scale database SDB is referenced to find a scale note that is adjacent to the pitch of the subsequent harmony note and is on the opposite side of the avoid sound, and corrects it. (18-3). In the case of the missing note E, the scale note database SDB is referred to, a scale note adjacent to the avoid note is found, and it is set as a corrected pitch (18-4). In the case of the elapsed sound P, the harmonic pitches before and after are compared, and if they are the same (18-
5) Then, the sound is regarded as the low sound A, and the low sound correction processing of 18-3 is executed. If they are different, the scale note database SDB is referred to, and the scale notes other than the avoid notes between the preceding and following chord notes are searched. If such a scale note is found, it is set as a corrected pitch of the elapsed note. If not found (18-
7), it is regarded as a dull sound, and a dull sound correction process 18-3 is executed.
【0053】このようにアボイドチェック・修正処理を
行うことで音楽的に好ましくないアボイド音を発生しな
い伴奏を実現できる。なお、アボイドチェック・修正処
理は非和声音解読処理で1つの非和声音を解読する都度
行った方が処理速度上好ましい。以上で実施例の説明を
終えるがこの発明の範囲内で種々の変形が可能である。By performing the void check / correction processing in this manner, it is possible to realize an accompaniment that does not generate a musically unfavorable avoid sound. It is preferable in terms of processing speed that the avoid check / correction process is performed each time one non-harmonic sound is decoded by the non-harmonic sound decoding process. Although the description of the embodiment has been completed, various modifications can be made within the scope of the present invention.
【0054】[0054]
【発明の効果】以上詳細に説明したように、この発明に
よれば、伴奏原データに各音の音楽的意味を表わす識別
子をもたせ、指定されたコード機能に従って、コード構
成音記憶手段と音階音データベース手段とを参照して各
音の音高を解読しているのでコード機能別に音高データ
を予め記憶させておく必要がなく、かつ音楽的に自然な
伴奏を実現することができる。更に、この発明によれば
音高解読の際に伴奏スタイルに適合する音階音データベ
ース手段を用いるようにしたので所望のスタイルでの伴
奏を確保できる。As described in detail above, according to the present invention, the accompaniment raw data is provided with an identifier representing the musical meaning of each note, and the chord component note storage means and the scale note are assigned according to the designated chord function. Since the pitch of each note is decoded by referring to the database means, it is not necessary to store the pitch data for each chord function in advance, and a musically natural accompaniment can be realized. Further, according to the present invention, the scale note database means adapted to the accompaniment style is used at the time of pitch decoding, so that the accompaniment in the desired style can be secured.
【図1】この発明の実施例に係る音楽装置のハードウェ
ア構成を示すブロック図。FIG. 1 is a block diagram showing a hardware configuration of a music apparatus according to an embodiment of the present invention.
【図2】音階音データベースの一部を示す図。FIG. 2 is a diagram showing a part of a scale sound database.
【図3】音階音データベースの一部を示す図。FIG. 3 is a diagram showing a part of a scale sound database.
【図4】コード構成音テーブルの一例を示す図。FIG. 4 is a view showing an example of a chord component sound table.
【図5】伴奏ヘッダーメモリの例を示す図。FIG. 5 is a diagram showing an example of an accompaniment header memory.
【図6】伴奏原データメモリの例を示す図。FIG. 6 is a diagram showing an example of an accompaniment original data memory.
【図7】3つの伴奏ラインの音識別子の列を示す図。FIG. 7 is a diagram showing a sequence of sound identifiers of three accompaniment lines.
【図8】伴奏例を楽譜で示す図。FIG. 8 is a diagram showing an example of an accompaniment in musical score.
【図9】コード機能別に音高解読を行う伴長パターン作
成処理のフローチャート。FIG. 9 is a flowchart of an accompaniment pattern creating process for performing pitch decoding for each chord function.
【図10】和声音高解読処理のフローチャート。FIG. 10 is a flowchart of a harmonic pitch decoding process.
【図11】音高例の形状修正が行われる伴奏原データを
示す図。FIG. 11 is a diagram showing accompaniment original data in which the shape of a pitch example is modified.
【図12】形状修正処理のフローチャート。FIG. 12 is a flowchart of shape correction processing.
【図13】非和声音高解読処理のフローチャート。FIG. 13 is a flowchart of non-harmonic pitch decoding processing.
【図14】倚音解読処理のフローチャート。FIG. 14 is a flow chart of the sound decoding process.
【図15】経過音解読処理のフローチャート。FIG. 15 is a flowchart of a process of decoding elapsed sounds.
【図16】倚音解読処理のフローチャート。FIG. 16 is a flow chart of the sound decoding process.
【図17】アボイドチェック・修正処理のフローチャー
ト。FIG. 17 is a flowchart of a void check / correction process.
【図18】アボイド除去処理のフローチャート。FIG. 18 is a flowchart of a void removal process.
102 CPU 104 プログラムメモリ 106 SDB(音階音データベース)メモリ 108 KMAP(コード構成音テーブル)メモリ 110 伴奏ヘッダメモリ 112 伴奏原データメモリ 120 伴奏スタイルセレクタ 102 CPU 104 Program memory 106 SDB (scale note database) memory 108 KMAP (chord constituent tone table) memory 110 Accompaniment header memory 112 Accompaniment original data memory 120 Accompaniment style selector
Claims (2)
音の識別子の列によって表現した伴奏原データを記憶す
る伴奏原データ記憶手段と、 コード機能を指定するコード機能指定手段と、 指定されたコード機能に対する和声音の音高セットを記
憶するコード構成音記憶手段と、 指定されたコード機能に対する音階音の音高セットを記
憶する音階音記憶手段と、 前記伴奏原データにおける各和声音の識別子を前記指定
されたコード機能に対する和声音の音高セットを用いて
音高に変換する和声音解読手段と、 前記伴奏原データにおける各非和声音の識別子を前記和
声音解読手段の変換結果である和声音の音高と前記指定
されたコード機能に対する音階音の音高セットとに基づ
いて音高に変換する非和声音解読手段と、 を有することを特徴とする伴奏音高解読機能付き音楽装
置。1. An accompaniment raw data storage unit for storing original accompaniment data in which a string of accompaniment tones including a harmony tone and a non-harmonic tone is expressed by a sequence of identifiers of each tone, and a chord function designation unit for designating a chord function. A chord component sound storage means for storing a pitch set of a harmony tone for a designated chord function, a scale tone storage means for storing a pitch set of a scale tone for the designated chord function, and in the accompaniment raw data. Harmonic sound decoding means for converting the identifier of each harmony sound into a pitch using the pitch set of the harmonic sound for the designated chord function; and the identifier of each non-harmonic sound in the accompaniment original data as the harmony sound decoding means. And a non-harmonic sound decoding means for converting the pitch of the harmonic sound that is the conversion result of the above into a pitch based on the pitch set of the scale note corresponding to the specified chord function, That accompaniment pitch decoding function with music equipment.
に音階音の音高セットを記憶する複数の音階音データベ
ース手段と、 伴奏スタイルを選択するスタイル選択手段と、 選択された伴奏スタイルに対する伴奏原データであっ
て、和声音と非和声音とを含む伴奏音の列を各音の識別
子の列によって表現した伴奏原データを記憶する伴奏原
データ記憶手段と、 選択された伴奏スタイルに適した音階音データベース手
段を前記複数の音階音データベース手段のなかから選択
するデータベース選択手段と、 コード機能を指定するコード機能指定手段と、 指定されたコード機能に対する和声音の音高セットを記
憶するコード構成音記憶手段と、 前記伴奏原データにおける各和声音の識別子を前記指定
されたコード機能に対する和声音の音高セットを用いて
音高に変換する和声音解読手段と、 前記伴奏原データにおける各非和声音の識別子を、前記
和声音解読手段の変換結果である和声音の音高と、前記
選択された音階音データベース手段における前記指定さ
れたコード機能に対する音階音の音高セットとに基づい
て音高に変換する非和声音解読手段と、 を有することを特徴とする伴奏音高解読機能付き音楽装
置。2. A plurality of scale database means in which each scale database means stores a pitch set of a scale note for each chord function, a style selecting means for selecting an accompaniment style, and accompaniment original data for the selected accompaniment style. The accompaniment source data storage means for storing accompaniment source data in which a sequence of accompaniment tones including a harmony tone and a non-harmonic tone is expressed by a sequence of identifiers of each tone, and a scale tone suitable for the selected accompaniment style. Database selection means for selecting the database means from the plurality of scale note database means, chord function designation means for designating chord functions, and chord constituent note memory for storing pitch sets of chord sounds for the designated chord functions Means, and a pitch set of the harmony tone corresponding to the designated chord function, the identifier of each harmony tone in the accompaniment original data Harmonic tone decoding means for converting to pitch using, the identifier of each non-harmonic sound in the accompaniment original data, the pitch of the harmony sound which is the conversion result of the harmony sound decoding means, and the selected scale database A non-harmonic sound decoding means for converting a pitch based on a pitch set of a scale note corresponding to the designated chord function in the means, and a music apparatus with an accompaniment pitch decoding function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6234542A JPH0876759A (en) | 1994-09-05 | 1994-09-05 | Music device with accompaniment pitch decoding function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6234542A JPH0876759A (en) | 1994-09-05 | 1994-09-05 | Music device with accompaniment pitch decoding function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0876759A true JPH0876759A (en) | 1996-03-22 |
Family
ID=16972664
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6234542A Pending JPH0876759A (en) | 1994-09-05 | 1994-09-05 | Music device with accompaniment pitch decoding function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0876759A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5705761A (en) * | 1995-09-11 | 1998-01-06 | Casio Computer Co., Ltd. | Machine composer for adapting pitch succession to musical background |
-
1994
- 1994-09-05 JP JP6234542A patent/JPH0876759A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5705761A (en) * | 1995-09-11 | 1998-01-06 | Casio Computer Co., Ltd. | Machine composer for adapting pitch succession to musical background |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6201174B1 (en) | Method and system for improved tablature notation in digital music scores | |
| US5052267A (en) | Apparatus for producing a chord progression by connecting chord patterns | |
| US7105733B2 (en) | Musical notation system | |
| JP2000514571A (en) | Automatic improvisation system and method | |
| US6294720B1 (en) | Apparatus and method for creating melody and rhythm by extracting characteristic features from given motif | |
| WO2008018056A2 (en) | Automatic analasis and performance of music | |
| US20070157796A1 (en) | Tone synthesis apparatus and method | |
| JP3152123B2 (en) | Automatic composer | |
| JPH08160955A (en) | Musical instrument with musical tone pitch decoding function | |
| JPH0876759A (en) | Music device with accompaniment pitch decoding function | |
| JPH08160949A (en) | Musical instrument with musical tone pitch decoding function | |
| JP3271331B2 (en) | Melody analyzer | |
| JP3211839B2 (en) | Tonality judgment device and automatic accompaniment device | |
| US20060150804A1 (en) | Electronic musical apparatus for displaying score or fingering | |
| JP3949544B2 (en) | Karaoke device that displays error of singing voice pitch on bar graph | |
| JP3163654B2 (en) | Automatic accompaniment device | |
| JPH0519765A (en) | Electronic musical instrument | |
| JP3163653B2 (en) | Tonality judgment device | |
| JPH0511763A (en) | Tonality determination device and automatic accompaniment device | |
| Saibunmi et al. | His Majesty King Bhumibol Adulyadej’s Musical Genius: A Case Study of the Arrangement of 41 Royal Compositions with Lyrics for Choir | |
| JP3430419B2 (en) | Automatic accompaniment device | |
| JPH0527757A (en) | Electronic musical instrument | |
| JP3099388B2 (en) | Automatic accompaniment device | |
| JP3413842B2 (en) | Automatic accompaniment device | |
| JPH0527765A (en) | Automatic accompaniment device |