JPS60262193A - Automatic accompanying apparatus - Google Patents

Automatic accompanying apparatus

Info

Publication number
JPS60262193A
JPS60262193A JP59118844A JP11884484A JPS60262193A JP S60262193 A JPS60262193 A JP S60262193A JP 59118844 A JP59118844 A JP 59118844A JP 11884484 A JP11884484 A JP 11884484A JP S60262193 A JPS60262193 A JP S60262193A
Authority
JP
Japan
Prior art keywords
pattern
data
rhythm
accompaniment
counter
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
JP59118844A
Other languages
Japanese (ja)
Other versions
JPH0656550B2 (en
Inventor
桜井 敬一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59118844A priority Critical patent/JPH0656550B2/en
Priority to US06/709,774 priority patent/US4674384A/en
Priority to GB08506306A priority patent/GB2156135B/en
Priority to DE19853509474 priority patent/DE3509474A1/en
Publication of JPS60262193A publication Critical patent/JPS60262193A/en
Publication of JPH0656550B2 publication Critical patent/JPH0656550B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、鍵操作状態に応じて最適な伴奏パターンに
自動的に変更するようにした自動伴奏装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an automatic accompaniment device that automatically changes an optimal accompaniment pattern according to key operation conditions.

〔従来技術とその問題点〕[Prior art and its problems]

従来、自動伴奏装置にはリズムパターン選択スイッチが
設けられており、ロック、ボサノバ、サンバ等の各種の
リズムが自動演奏されるようになっている。その場合、
このリズムは、例えば2小節を1周期として同一リズム
パターンが繰返されるものである。
Conventionally, automatic accompaniment devices have been provided with a rhythm pattern selection switch so that various rhythms such as rock, bossa nova, samba, etc. can be automatically played. In that case,
This rhythm is one in which the same rhythm pattern is repeated, for example, with one period of two bars.

しかしながら、同一パターンの繰返しであると伴奏が単
調になり、飽きがきやすい問題がある。
However, if the same pattern is repeated, the accompaniment becomes monotonous and becomes boring.

そのため従来でも、バリエーションスイッチを設けてバ
リエーションを挿入したり、或いは、例えばロック11
ロツク■の2種類のスイッチを設けて、同じロックでも
ロック■をオンすると8ビート系のロックが演奏され、
またロック■をオンすると16ビート系のロックが演奏
されるようにしている。
Therefore, even in the past, a variation switch was provided to insert a variation, or, for example, lock 11
There are two types of switches, one for rock ■, and when you turn on lock ■ for the same rock, 8-beat rock will be played.
Also, when rock ■ is turned on, 16-beat rock music is played.

然るにこのようにすると、スイッチの数が増え、また回
路が複雑になり、更に演奏操作も難しくなる問題が新た
に発生する。
However, if this is done, the number of switches will increase, the circuit will become complicated, and further problems will arise, such as making performance operations difficult.

〔発明の目的〕[Purpose of the invention]

簡単な構成で、各種の伴奏パターンが自動的に変更され
、飽きのこない、また演奏操作も簡単な自動伴奏装置を
提供することを目的とする。
To provide an automatic accompaniment device that has a simple configuration, automatically changes various accompaniment patterns, keeps you bored, and allows easy performance operations.

〔発明の要点〕[Key points of the invention]

予め設定された所定期間内の押鍵タイミングまたは押鍵
速度信号に基づいて抽出される鍵操作状態の特徴を示す
データから、予め定められている伴奏パターンのうちの
1つの伴奏パターンを選択し、伴奏パターンの変更を自
動的に行うようにしたものである。
Selecting one of the predetermined accompaniment patterns from data indicating the characteristics of the key operation state extracted based on the key press timing or key press speed signal within a preset predetermined period; The accompaniment pattern is automatically changed.

〔実施例〕〔Example〕

以下、図面を参照してこの発明を、自動リズム伴奏が行
える電子楽器に適用した一実施例を説明する。
Hereinafter, an embodiment in which the present invention is applied to an electronic musical instrument capable of automatic rhythm accompaniment will be described with reference to the drawings.

第1図は全体構成を示す。図中、1は鍵Jlで、例えば
61個の鍵を有し、また各錘からの出力信:1″ 号は
押鍵検出回路2に与えられて押鍵操作状態、: 即ち、
押鍵速度及び音高が夫々検出される。そしてこの回路2
からは音高を表わすキーコードKYDT、押鍵速度を表
わすデータKYPRが出力し、前記キーコードKYDT
は楽音形成回路3に与えられ、またデータKYPRは楽
音形成回路3及び特徴量抽出回路4に与えられる。
FIG. 1 shows the overall configuration. In the figure, 1 is a key Jl, which has, for example, 61 keys, and the output signal from each weight: 1'' is given to the key press detection circuit 2 to determine the key press operation state: That is,
The key press speed and pitch are detected respectively. And this circuit 2
A key code KYDT representing the pitch and data KYPR representing the key press speed are output from the key code KYDT.
is given to the musical tone forming circuit 3, and data KYPR is given to the musical tone forming circuit 3 and the feature extraction circuit 4.

楽音形成回路3は操作鍵の楽音を前記キーコードKYD
’l’等に基づいて作成し、それをアンプ5、スピーカ
6等を介し放音させる。
The musical tone forming circuit 3 converts the musical tone of the operation key into the key code KYD.
'l' etc., and output the sound through the amplifier 5, speaker 6, etc.

一方、テンポ発振器7は設定テンポに応じたテンポクロ
ック1月、を発生し、テンポカウンタ8に与えて計数さ
せる。そしてこのテンポカウンタ8からは、1小節を0
〜47の合計48のタイミングに分割したタイミングデ
ータCo と、0〜3にその値が変化し、4小節単位で
クリアされる小節データQb(即ち、その値Oは1小節
目、1.2.3は夫々、2.3.4小節目を示し、そし
て0に戻ってあらたな1小節目を示し、以下は同様な繰
返しとなる)とを出力する。そしてタイミングデータC
8は特徴量抽出回路4及びリズムパターンメモリ10に
供給され、また小節データCbは特徴量抽出回路4に与
えられる。
On the other hand, the tempo oscillator 7 generates a tempo clock 1 month according to the set tempo, and supplies it to the tempo counter 8 for counting. And from this tempo counter 8, one measure is set to 0.
-47, for a total of 48 timings, and measure data Qb whose value changes from 0 to 3 and is cleared in units of 4 measures (that is, the value O is the 1st measure, 1.2... 3 indicates the 2nd, 3rd, and 4th measures, respectively, and returns to 0 to indicate a new 1st measure, and the same is repeated thereafter). and timing data C
8 is supplied to the feature quantity extraction circuit 4 and rhythm pattern memory 10, and measure data Cb is supplied to the feature quantity extraction circuit 4.

特徴量抽出回路4はパワーオン時、またはリズムスター
ト/ストップスイッチ(図示略)のオン、オフ時に信号
CRを発生してテンポカウンタ8をリセットすると共に
、前記各小節内の48個のタイミングのうち、4小節を
1区切りとして夫々同じタイミング内に押鍵されたメロ
ディの押鍵数の総和を更にこの4小節間の全押鍵数で割
算した結果を表わすデータX1〜X48を発生してパタ
ーン分類回路9へ与える。
The feature extraction circuit 4 generates a signal CR when the power is turned on or when a rhythm start/stop switch (not shown) is turned on or off to reset the tempo counter 8, and also generates a signal CR to reset the tempo counter 8. , generates data X1 to X48 representing the result of dividing the sum of the number of keys pressed in the melody at the same timing by the total number of keys pressed during these four measures, with four measures as one division, and generates a pattern. It is given to the classification circuit 9.

パターン分類回路9には、この実施例では第4図(A)
、(B)に示す2種類のメロディに対する特徴量a1〜
lL4いb1〜1)4gが予め記憶されていると共に、
前記データx1〜X41に基づいて、現在の鍵操作状態
を判断し、それが前記2種のパターンのどちらに類似し
ているかを判別してその結果、ロックまたはロックバラ
ードの何れか一方のリズムパターンを指定するパターン
選択信号Ptをリズムパターンメモリ10に与える。
In this embodiment, the pattern classification circuit 9 has a
, feature amounts a1~ for the two types of melodies shown in (B)
lL4b1~1)4g is stored in advance, and
The current key operation state is determined based on the data x1 to A pattern selection signal Pt specifying the pattern is given to the rhythm pattern memory 10.

換言すれば、前記特徴量[Ll〜&48.1)、 −b
4、とは、第4図(A)のロックのリズム、または第4
図(B)のロックバラードのリズムに対応したメロディ
、即ち、各メロディの鍵操作状態を夫々特徴づけるデー
タであり、例えば前記ロックのリズムに適したメロディ
につき、各↑データXl〜X48を統計的に処理して得
られたデータが、前記特徴量a1〜”41であり、パタ
ーン分類回路9にプリセットされているものである。そ
してパターン分類回路9は、前記特徴量a、〜&46、
b。
In other words, the feature amount [Ll~&48.1), -b
4 means the rock rhythm in Figure 4 (A) or the 4th
It is data that characterizes the key operation state of each melody, that is, the melody that corresponds to the rhythm of the rock ballad in Figure (B). For example, each ↑ data Xl to X48 is statistically calculated for the melody that is suitable for the rock rhythm. The data obtained by processing are the feature amounts a1 to 41, which are preset in the pattern classification circuit 9.The pattern classification circuit 9 then processes the feature amounts a, to &46,
b.

〜b、い及びデータXi 〜X4mから各ノぐターンに
つき次式(1)、(2)の計算を行って前記ノザターン
選択信号ptを出力する。
~b, i and data Xi ~X4m are used to calculate the following equations (1) and (2) for each turn, and the above-mentioned no-turn selection signal pt is output.

da−(X、 −[Ll )!+(x、−FL2y+・
・・+(X411 ass )!、・・(1)db=(
X、−’bげ+(x2−bl )”+・・・+(x48
 b4+1 )”・・(2)而してこのようにして得ら
れたデータda、db(距離を表わすデータである)の
うち値の小さい方(距離の短い方)がよく類似している
方と決め、四ツク、ロックバラードの何れか一方ヲ指定
する前記パターン選択信号ptを発生する。
da-(X, -[Ll)! +(x, -FL2y+・
...+(X411 ass)! ,...(1)db=(
X, -'bge+(x2-bl)"+...+(x48
b4+1)”...(2) Then, among the data da and db (data representing distance) obtained in this way, the one with the smaller value (the one with the shorter distance) is the one that is more similar to the one The pattern selection signal pt is generated which specifies one of the following songs: ``Single Song'', ``Rock Ballad'', and ``Rock Ballad''.

前記リズムパターンメモリ10には、前記のロック、ロ
ックバラードのほか、リズム選択スイツチ11によって
選択されるその他のリズムを含めた多数のリズムパター
ンデータが記憶され、而してこのスイッチ11の選択ま
たはパターン選択信号ptに応じたリズムパターンデー
タを読出されてリズム音源回路12に供給する。
The rhythm pattern memory 10 stores a large number of rhythm pattern data including the rock and rock ballads described above as well as other rhythms selected by the rhythm selection switch 11. Rhythm pattern data corresponding to the selection signal pt is read out and supplied to the rhythm sound source circuit 12.

リズム音源回路12は複数のリズム音源を含み、前記リ
ズムパターンデータに応じたリズム音源が駆動′されて
リズム音が作成され、アンプ5、スピーカ6を介し放音
される。
The rhythm sound source circuit 12 includes a plurality of rhythm sound sources, and the rhythm sound sources are driven according to the rhythm pattern data to create rhythm sounds, which are emitted through the amplifier 5 and the speaker 6.

次に第2図により特徴量抽出回路4の具体的構成を説明
する。制御装置15には、前記データKYPR,小節デ
ータOb NタイミングデータC0が入力し、これに基
づいて4小節毎の特徴量のデータX、〜x48を演算部
16に演算出力させるための制御プログラムが記憶され
ている。この場合、データ記憶部17には、1小節内の
前記48個のタイミング別に設けられ、そのタイミング
で押鍵11° があると+1されるカウンタSKE¥が
48個設けられている。またレジスタ群18には、各タ
イミングを順次指定するカウンタ■と、4小節内の押鍵
総数をカウントするカウンタtotalが設けられてい
る。そして制御装置15はまた、パワーオン時などに信
号ORを発生する。
Next, the specific configuration of the feature quantity extraction circuit 4 will be explained with reference to FIG. The control device 15 receives the data KYPR, measure data ObN, and timing data C0, and has a control program for causing the calculation unit 16 to calculate and output feature amount data X, ~x48 for every four measures based on this. remembered. In this case, the data storage unit 17 is provided with 48 counters SKE\, which are provided for each of the 48 timings within one measure, and which are incremented by 1 when a key is pressed 11° at that timing. Further, the register group 18 is provided with a counter (2) for sequentially specifying each timing, and a counter (total) for counting the total number of keys pressed within four measures. The control device 15 also generates a signal OR when the power is turned on.

次に第3図ないし第6図を参照して動作を説明する。鼓
で、この実施例では説明を簡単にするために、既に述べ
たように、第4図(A)に示すロック、または第4図(
B)に示すロックバラードの2種類のリズムのうちいず
れか一方がメロディの内容に応じて自動的に切換えられ
、自動演奏されるものと仮定する。そして第4図(A)
、(B)の各メロディに対しパターン分類回路9には、
具体的には、第6図に示すような内容の特徴量al〜a
4g、b、〜b4+1がプリセットされている。
Next, the operation will be explained with reference to FIGS. 3 to 6. In this embodiment, for the sake of simplicity, the lock shown in FIG. 4(A) or the lock shown in FIG.
It is assumed that one of the two types of rock ballad rhythms shown in B) is automatically switched depending on the content of the melody and is automatically played. And Figure 4 (A)
, (B), the pattern classification circuit 9 has the following information:
Specifically, the feature quantities al~a with content as shown in FIG.
4g, b, to b4+1 are preset.

そこで、いま第41M(A)のメロディを鍵盤1によっ
てマニュアル演奏したものとする。なお、リズム選択ス
イッチ11はロックを指定しておく。
Therefore, let us now assume that the 41st M(A) melody is played manually using keyboard 1. Note that the rhythm selection switch 11 is set to lock.

そして演奏を開始すると各錘の出力が押鍵検出回路2に
与えられ、キーコードKYDT、押鍵速度のデータKY
PRが発生する。キーコードKYDT、データKYPR
は共に楽音形成回路3に与えられてその楽音を作成され
、アンプ5、スピーカ6を介し放音される。またデータ
KYPRは特徴量抽出回路4に与えられて、テンポカウ
ンタ8からのタイミングデータC8及び小節データCb
とから、第4図(A)のメロディの特徴を示すデータX
1〜X48(後述するが第5図に示すようなデータとな
る)を算出し、4小節毎にそれをパターン分類回路9に
与える。
Then, when the performance starts, the output of each weight is given to the key press detection circuit 2, and the key code KYDT and key press speed data KY
PR occurs. Key code KYDT, data KYPR
are both applied to the musical tone forming circuit 3 to create the musical tone, which is emitted via the amplifier 5 and speaker 6. Further, the data KYPR is given to the feature quantity extraction circuit 4, and the timing data C8 from the tempo counter 8 and the measure data Cb
Therefore, data X indicating the characteristics of the melody in FIG. 4(A)
1 to X48 (to be described later, the data will be as shown in FIG. 5) are calculated and provided to the pattern classification circuit 9 every four measures.

パターン分類回路9では、送られてくるデータX1〜X
48と、内部にプリセットされているデータ(特徴i 
) a1〜’4a、b、〜b4.とから、前記(1)、
(2)の各式を計算し、而してこの場合にはda(db
となり、ロックを指定するパターン選択信号Ptをリズ
ムパターンメモリ10に与える。したがってメモリ10
からはロックのリズムパターンデータが続けて読出され
、リズム音源回路12を駆動してロックの自動リズム音
がマニュアル演奏のメロディ音に追随して放音される。
In the pattern classification circuit 9, the sent data
48 and internally preset data (feature i
) a1~'4a, b, ~b4. From (1) above,
Calculate each equation in (2), and in this case da(db
Then, a pattern selection signal Pt specifying lock is applied to the rhythm pattern memory 10. Therefore memory 10
Then, the rock rhythm pattern data is successively read out, and the rhythm sound source circuit 12 is driven to emit the automatic rock rhythm sound following the manually played melody sound.

次に、前記特徴量抽出回路4の具体的な動作を第3図の
フローチャートを参照して説明する。このフローチャー
トは、既に述べた理由から4小節を1単位としてデータ
X、〜X4gを算出する。
Next, the specific operation of the feature extracting circuit 4 will be explained with reference to the flowchart of FIG. In this flowchart, data X, to X4g are calculated using four measures as one unit for the reason already mentioned.

したがって1小節目が開始するとステップSIの処理に
より特徴量抽出回路4内の制御装置15は″IHレベル
の信号ORを発生し、テンポカウンタ8をリセットする
。そのためそのタイミングデータC6、小節データab
は共に「0」となる。
Therefore, when the first bar starts, the control device 15 in the feature extracting circuit 4 generates the signal OR of the "IH" level through the process of step SI, and resets the tempo counter 8. Therefore, the timing data C6, the bar data ab
Both become "0".

次にステップS、により、データ記憶部17内の前記4
8個のタイミングの各々に対するカウンタ5KEYがす
べてクリアされる。そしてステップSsによりレジスタ
群18内のカウンタ■もクリアされ、この小節、即ち、
第1小節の第1タイミングが設定される。
Next, in step S, the four
Counters 5KEY for each of the eight timings are all cleared. Then, in step Ss, the counter ■ in the register group 18 is also cleared, and this measure, that is,
The first timing of the first measure is set.

次にステップS4ではタイミングデータC8とカウンタ
Iの各値が一致する−か否かが判断され、一致するので
必テップS6に進み、押鍵操作に伴うデータ(速度を表
わす)KYPRが制御装置15に新たに入力したか否か
が判断される。そしていまの場合、メロディの第1楽音
(音高A、)の鍵が演奏開始時に操作されるまではステ
ップS B %84 、Ss 、・・・の繰返しとなる
。そして操作されるとステップS6に抜け、第1タイミ
ングのカウンタ5KEY(0)が+1されて「1」とな
る。
Next, in step S4, it is determined whether the timing data C8 and each value of the counter I match or not. It is determined whether or not a new input has been made. In this case, steps S B %84, Ss, . . . are repeated until the key of the first tone (pitch A,) of the melody is operated at the start of the performance. When operated, the process goes to step S6, and the counter 5KEY(0) at the first timing is incremented by 1 and becomes "1".

詰り、この第1楽音は、第1小節を48個のタイミング
に分割したその第1タイミングに相当するタイミングで
発音されるべき楽音であるためである。
This is because the first musical tone is a musical tone that should be sounded at a timing corresponding to the first timing obtained by dividing the first measure into 48 timings.

次にレジスタ群18内のカウンタtotalが+1され
て「1」となる。而してこのカウンタtotaノは1つ
の単位を形成する4小節のうちにおける総押鍵数を示す
。そしてステップs4に戻る。このときタイミングデー
タc0は+1されて「1」となると、即ち、第2タイミ
ングを示すと不一致となり、ステップS8に進んでカウ
ンタIがインクリメントされ、「l」の第2タイミング
の値となる。そしてその値が1小節分の終了を示す「4
8」か否かを判断され、そうではないがら:1□′ ス
テップs4に戻る。
Next, the counter total in the register group 18 is incremented by 1 and becomes "1". This counter indicates the total number of keys pressed within the four measures forming one unit. Then, the process returns to step s4. At this time, when the timing data c0 is incremented by 1 and becomes "1", that is, when the second timing is indicated, there is a mismatch, and the process proceeds to step S8, where the counter I is incremented and becomes the second timing value of "l". Then, the value is “4” indicating the end of one measure.
8", and although it is not: 1□', the process returns to step s4.

このステップS4では、今回は一致するのでステップS
llに進み、次の押鍵操作の有無が判断される。而して
、前記第1楽音は音長が8分音符であるから次の押鍵は
第7タイミングに当る。したがってカウンタIの値が「
6Jに達するまでの開、ステップS4、S6、S4、S
8、S9、S4、Sl、・・・が繰返され、この間、カ
ウンタ■の値が「1」から1「2」、「3」、・・・、
「6」と1づつ増加する。
In this step S4, since they match this time, step S4
The process advances to step ll, where it is determined whether or not there is a next key press operation. Since the tone length of the first musical tone is an eighth note, the next key press corresponds to the seventh timing. Therefore, the value of counter I is
Open until reaching 6J, steps S4, S6, S4, S
8, S9, S4, Sl,... are repeated, and during this time, the value of the counter ■ changes from "1" to 1, "2", "3",...
It increases by 1 to "6".

次にカウンタlが「6」となり、第2楽音(音高E、)
がオンされると、ステップS@、Sa 、S7の各処理
が実行され、第7タイミングのカウンタ8KFiY(6
)が+1されてIl」となり、またカウンタtota、
/も+1されてr2Jとなる。そしてステップS、に戻
り、次に第13タイミングで第3楽音(F4 )がオン
されるまでの間、スフーツ’7’84.8ssS4.8
@、So 、S4.5I11・・・が繰返され、カウン
タIが+1づつされて「12」まで増大する。
Next, the counter l becomes "6" and the second musical tone (pitch E,)
When turned on, steps S@, Sa, and S7 are executed, and the counter 8KFiY (6
) is increased by +1 to become Il, and the counter tota,
/ is also +1 and becomes r2J. Then, the process returns to step S, and until the third musical tone (F4) is turned on at the 13th timing,
@, So, S4.5I11, . . . are repeated, and the counter I is incremented by 1 until it reaches "12".

次に前記第13タイミングとなると、ステップ84〜8
.の処理により、この第13タイミングのカウンタ5K
EY(12)の値が+1されて「1」となる。またカウ
ンタtota7も+1されて「3」となる。そしてステ
ップS、に戻る。而してこの人パターンのメロディの1
小節目は、以後オンされる鍵がなく、シたがって次の2
小節目が開始されるまでの間、ステップS3〜S、 、
S6、S9の各処理により単に、カウンタ■の値が+1
づつされて「48」まで順次増加してゆく。
Next, when the thirteenth timing comes, steps 84 to 8
.. As a result of the processing, the counter 5K at this 13th timing
The value of EY(12) is increased by +1 to become "1". Further, the counter tota7 is also incremented by 1 and becomes "3". Then, return to step S. So this person's pattern melody 1
In the measure, there are no keys that are turned on after that, so the next two keys are turned on.
Until the measure starts, steps S3 to S, ,
By each process of S6 and S9, the value of the counter ■ is simply increased by 1.
The number increases one by one until "48".

そして「48」になるとそのことがステップs9にて判
断され、ステップS、Oに進んでIJs節データcoが
「0」か否かが判断される。而して正にこのとき、小節
データC8は+1されて2小節目を表わすデータ「1」
に変化しており、したがってステップS、に戻ってカウ
ンタ■がクリアされる。
When it becomes "48", it is determined in step s9, and the process proceeds to steps S and O, where it is determined whether or not the IJs clause data co is "0". At this time, measure data C8 is incremented by 1 and becomes data "1" representing the second measure.
Therefore, the process returns to step S and the counter ■ is cleared.

以後の2〜4小節のメロディに対する処理は、上述した
1小節目と全く同様である。そして各小節の処理に伴っ
て各楽音の操作タイミングに対応するカウンタ5KEY
はそのオンのたびに+1され、またカウンタtota7
は6鍵のオンごとに+1されて4小節、1単位内の総鍵
数がカウントされる。そして4小節の最後の第47タイ
ミングになると、カウンタIは「48」となってステッ
プS9から810に進み、またこの直前、小節データC
0はクリアされて「0」となり、次の4小節、1単位を
示しており、そのためステップSIOからSX、に進ん
で1〜48の各タイミングのデータX1〜X 48を、
対応するカウンタS K E Y (x ) (x=1
〜48)の値をカウンタtota、/の値(いまの例で
は総鍵数は19)で割算することにより第5図に示す如
く算出され、次いでパターン分類回路9へ送出される。
The processing for the subsequent 2 to 4 bars of the melody is exactly the same as that for the first bar described above. Then, as each measure is processed, a counter 5KEY corresponding to the operation timing of each musical tone is set.
is incremented by 1 each time it is turned on, and the counter tota7
is incremented by 1 for every 6 keys turned on, and the total number of keys within 4 measures or 1 unit is counted. Then, at the 47th timing at the end of the 4th bar, the counter I becomes "48" and the process proceeds from step S9 to 810, and just before this, the bar data C
0 is cleared and becomes "0", indicating the next 4 measures or 1 unit, so proceed from step SIO to SX and collect data X1 to X48 at each timing of 1 to 48.
The corresponding counter SKE Y (x) (x=1
-48) by the value of the counter tota, / (in the present example, the total number of keys is 19), as shown in FIG. 5, and then sent to the pattern classification circuit 9.

そこでパターン分類回路9では、前記(1)、(2)式
の計算を、入力したデータX1〜”48と、プリセット
されたデータ”I −84g) b、〜b4sとから実
行する。而してこの場合には、da=0゜030、ab
=0.093であるからeL a (d bとなり、そ
の結果、ロックのリズムパターンを指定するパターン選
択信号Ptを発生し、リズムパターンメモリ10に供給
する。
Therefore, the pattern classification circuit 9 executes the calculations of equations (1) and (2) above from the input data X1 to "48" and the preset data "I-84g)b, to b4s. In this case, da=0°030, ab
=0.093, eL a (d b), and as a result, a pattern selection signal Pt specifying a rock rhythm pattern is generated and supplied to the rhythm pattern memory 10.

一方、第4図(B)に示すメロディを演奏するときには
、a&==0.117、db=o−076であるからd
a>dbとなりその結果自動リズム伴奏としてはロック
バラードが自動的に選択される。
On the other hand, when playing the melody shown in FIG. 4(B), since a&==0.117 and db=o-076, d
a>db, and as a result, a rock ballad is automatically selected as the automatic rhythm accompaniment.

そしてこの場合の第3図に関する動作はAパターンのと
きと同様である。
The operation related to FIG. 3 in this case is the same as in the case of pattern A.

鼓で、第4図の曲では、曲の開始から説明したから、リ
ズムは予めAパターンのロックをリズム選択スイッチ1
1によって選択しておいたが、曲の途中でその曲を第4
図(B)に示すメロディに切換えると、上述した演算に
よってリズムはBパターンのロックバラードに自動的に
変更される。
For the song shown in Figure 4 on the drum, as explained from the beginning of the song, the rhythm should be locked in pattern A beforehand by setting the rhythm selection switch 1.
1 was selected, but in the middle of the song, the song was selected in the 4th step.
When the melody is switched to the one shown in Figure (B), the rhythm is automatically changed to the B-pattern rock ballad by the above-mentioned calculation.

勿論、Bパターンの途中で第4図(A)に示すメロディ
に切換えると、Aパターンのリズム(ロック)に自動的
に変更される。
Of course, if the melody is switched to the melody shown in FIG. 4(A) in the middle of the B pattern, the rhythm (lock) of the A pattern is automatically changed.

尚、前記実施例では、押鍵タイミングからそのときの鍵
操作状態を判断して自動リズム伴奏の内容を変更したが
、押鍵速度からそのときの鍵操作状態を判断してリズム
伴奏を変更してもよい。
In the above embodiment, the content of the automatic rhythm accompaniment was changed by determining the key operation state at that time from the key press timing, but the rhythm accompaniment could also be changed by determining the key operation state at that time from the key press speed. It's okay.

・(・、あ、や4ffl(A)、。、。62、え−2゜
7pデイ楽音の下に示す数値は、例えば最大値を「10
0」としたときの押鍵速度値を示している。
・(・、あ、や4ffl(A)、。、。62、E-2゜7p Day The numerical value shown below the musical tone is, for example, the maximum value "10
It shows the key pressing speed value when the value is 0.

そして上述したように、例えば48個の各タイミングに
ついて、4小節を1単位とした平均押鍵速度値を算出し
、データX1〜X4aを出力するようにしてもよい。
Then, as described above, the average key pressing speed value may be calculated for each of the 48 timings, with 4 bars as one unit, and the data X1 to X4a may be output.

また、前記実施例では、選択できるリズムパターンを2
種類としたが、勿論3種類以上あってもよい。
Furthermore, in the above embodiment, there are two selectable rhythm patterns.
Of course, there may be three or more types.

更に前記距離計算をユークリッド距離として行ったが、
マハラノビス距離、積率相関係数、その他であってもよ
い。
Furthermore, the distance calculation was performed as Euclidean distance, but
Mahalanobis distance, product moment correlation coefficient, and others may be used.

また前記実施例では、パターン分類を1段で構成して1
回の演算(式(1)、(2)の演算)だけでパターン分
類を行ったが、パターン分類を複数、縦続接続し、例え
ば1段目では、ロック、スイング、レゲエなどの大分類
を行い、2段目では8ビー1−116ビート、3連符形
などのタイミング分類を行い、更に3段目ではノーマル
、シンコペーションパターンの分類を行うなど、徐々に
最適なパターンが選択できるようにしてもよい。
Furthermore, in the above embodiment, the pattern classification is configured in one stage.
Pattern classification was performed using only the calculations (calculations of equations (1) and (2)), but multiple pattern classifications are connected in cascade, and for example, in the first stage, major classifications such as rock, swing, and reggae are performed. , in the second stage, the timing is classified into 8-beat, 1-116-beat, triplet, etc., and in the third stage, it is classified into normal and syncopation patterns, so that the optimal pattern can be gradually selected. good.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明は、予め設定された所定
期間内の押鍵タイミングまたは押鍵速度信号に基づいて
抽出される鍵操作状態の特徴を示すデータとから、予め
定められている伴奏パターンのうちの1つの伴奏パター
ンを選択し、伴奏パターンの変更を自動的に行うように
した自動伴奏装置であるから、リズム選択スイッチを多
数設けたりする必要がなく、また演奏曲の変更に応じて
自動的にリズム伴奏等が切換わり、したがって自然な演
奏効果が得られ、また機構、回路の構成も演奏操作も簡
単になる利点もある。
As explained above, the present invention can generate a predetermined accompaniment pattern from data indicating the characteristics of the key operation state extracted based on the key press timing or key press speed signal within a preset predetermined period. Since this is an automatic accompaniment device that selects one of the accompaniment patterns and automatically changes the accompaniment pattern, there is no need to provide many rhythm selection switches, and the accompaniment pattern can be changed automatically according to changes in the music to be performed. The rhythm accompaniment etc. are automatically switched, so a natural performance effect can be obtained, and there is also the advantage that the structure of the mechanism and circuit and the performance operation are simple.

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

第1図はこの発明の一実施例の回路構成図、第2図は特
徴量抽出回路4の詳細回路図、第3図は動作を説明する
フローチャートの図、第4図(A)、(B)は2種類の
メロディとそのリズムパターンと示す楽譜の図、第5図
はデータX1〜X4Iの一例を示す図、第6図は特徴量
a1〜a44、b、〜b411の一例を示すデータ内容
図である。 1・・・・・・鍵盤、2・・・・・・押鍵検出回路、3
・・・・・・楽音形成回路、4・・・・・・特徴量抽出
回路、訃・・・・・アンプ、6・・・・・・スピーカ、
7・・・・・・テンポ発振器、8・・・・・・テンポカ
ウンタ、9・・・・・・パターン分類回路、10・・・
・・・リズムパターンメモリ、11・・・・・・リズム
選択スイッチ、12・・・・・・リズム音源回路、工5
・・・・・・制御装置、16・・・・・・演算部、17
・・・・・・データ記憶部、18・・・・・・レジスタ
群。 特許出願人 カシオ計算機株式会社 ′T!−一一
FIG. 1 is a circuit configuration diagram of an embodiment of the present invention, FIG. 2 is a detailed circuit diagram of the feature extraction circuit 4, FIG. 3 is a flowchart explaining the operation, and FIGS. ) is a musical score showing two types of melodies and their rhythm patterns, FIG. 5 is a diagram showing an example of data X1 to X4I, and FIG. 6 is a data content showing an example of feature quantities a1 to a44, b, to b411. It is a diagram. 1...Keyboard, 2...Key press detection circuit, 3
...Musical sound formation circuit, 4...Feature amount extraction circuit, Amplifier, 6...Speaker,
7... Tempo oscillator, 8... Tempo counter, 9... Pattern classification circuit, 10...
... Rhythm pattern memory, 11 ... Rhythm selection switch, 12 ... Rhythm sound source circuit, Engineering 5
...Control device, 16...Arithmetic unit, 17
. . . Data storage section, 18 . . . Register group. Patent applicant Casio Computer Co., Ltd.'T! -11

Claims (1)

【特許請求の範囲】[Claims] 予め設定された期間内の押鍵タイミング信号または押鍵
速度信号に基づいて鍵操作状態の特徴を示す特徴データ
を抽出する抽出手段と、この抽出手段で抽出された上記
特徴データにより予め定められた伴奏パターンの中から
最適な伴奏パターンを選択するパターン選択手段と、こ
のパターン選択手段で選択された伴奏パターンによる伴
奏音を作成する楽音作成手段とを有し、鍵操作状態に応
じて自動的に伴奏パターンの変更を行うことを特徴とす
る自動伴奏装置。
an extraction means for extracting characteristic data indicating characteristics of a key operation state based on a key press timing signal or a key press speed signal within a preset period; It has a pattern selection means for selecting an optimal accompaniment pattern from among the accompaniment patterns, and a musical tone creation means for creating an accompaniment sound based on the accompaniment pattern selected by the pattern selection means, and automatically according to the key operation state. An automatic accompaniment device characterized by changing an accompaniment pattern.
JP59118844A 1984-03-15 1984-06-09 Automatic accompaniment device Expired - Lifetime JPH0656550B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP59118844A JPH0656550B2 (en) 1984-06-09 1984-06-09 Automatic accompaniment device
US06/709,774 US4674384A (en) 1984-03-15 1985-03-08 Electronic musical instrument with automatic accompaniment unit
GB08506306A GB2156135B (en) 1984-03-15 1985-03-12 Electronic musical instrument with automatic accompaniment unit
DE19853509474 DE3509474A1 (en) 1984-03-15 1985-03-15 ELECTRONIC MUSIC INSTRUMENT WITH AUTOMATIC COMPLEMENTARY DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59118844A JPH0656550B2 (en) 1984-06-09 1984-06-09 Automatic accompaniment device

Publications (2)

Publication Number Publication Date
JPS60262193A true JPS60262193A (en) 1985-12-25
JPH0656550B2 JPH0656550B2 (en) 1994-07-27

Family

ID=14746550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59118844A Expired - Lifetime JPH0656550B2 (en) 1984-03-15 1984-06-09 Automatic accompaniment device

Country Status (1)

Country Link
JP (1) JPH0656550B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01170993A (en) * 1987-12-25 1989-07-06 Yamaha Corp Electronic musical instrument
JP2006098858A (en) * 2004-09-30 2006-04-13 Casio Comput Co Ltd Musical sound controller and program for musical sound control processing
JP2013195738A (en) * 2012-03-21 2013-09-30 Yamaha Corp Singing evaluation device
JP2016080769A (en) * 2014-10-10 2016-05-16 カシオ計算機株式会社 Electronic musical instrument, musical sound parameter control method and program for electronic musical instrument

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59189395A (en) * 1983-04-13 1984-10-26 ヤマハ株式会社 Automatic accompanying apparatus for electronic musical instrument

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59189395A (en) * 1983-04-13 1984-10-26 ヤマハ株式会社 Automatic accompanying apparatus for electronic musical instrument

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01170993A (en) * 1987-12-25 1989-07-06 Yamaha Corp Electronic musical instrument
JP2006098858A (en) * 2004-09-30 2006-04-13 Casio Comput Co Ltd Musical sound controller and program for musical sound control processing
JP4507801B2 (en) * 2004-09-30 2010-07-21 カシオ計算機株式会社 Musical sound control device and musical sound control processing program
JP2013195738A (en) * 2012-03-21 2013-09-30 Yamaha Corp Singing evaluation device
JP2016080769A (en) * 2014-10-10 2016-05-16 カシオ計算機株式会社 Electronic musical instrument, musical sound parameter control method and program for electronic musical instrument

Also Published As

Publication number Publication date
JPH0656550B2 (en) 1994-07-27

Similar Documents

Publication Publication Date Title
JP3704980B2 (en) Automatic composer and recording medium
JP3303617B2 (en) Automatic composer
NL193006C (en) Method and device for improved automatic harmonization.
US4708046A (en) Electronic musical instrument equipped with memorized randomly modifiable accompaniment patterns
JP3528654B2 (en) Melody generator, rhythm generator, and recording medium
US4448104A (en) Electronic apparatus having a tone generating function
US5457282A (en) Automatic accompaniment apparatus having arrangement function with beat adjustment
JPS60262193A (en) Automatic accompanying apparatus
US4232581A (en) Automatic accompaniment apparatus
US4542675A (en) Automatic tempo set
JPH01179090A (en) Automatic playing device
JP3195111B2 (en) Automatic performance device
JPH0125994Y2 (en)
JP2940449B2 (en) Automatic performance device
JP3641955B2 (en) Music data generator and recording medium therefor
JPH0631977B2 (en) Electronic musical instrument
JP2002196757A (en) Automatic composition apparatus
JP3427413B2 (en) Automatic arrangement device
JP2674331B2 (en) Automatic accompaniment device
JPS61292689A (en) Electronic musical instrument with automatic accompanying device
JP3316547B2 (en) Chording device
JPS62135894A (en) Automatic accompanying apparatus
JP3752940B2 (en) Automatic composition method, automatic composition device and recording medium
JPH0320874Y2 (en)
JPH06289875A (en) Automatic musical playing device