JPS6342273B2 - - Google Patents

Info

Publication number
JPS6342273B2
JPS6342273B2 JP57089838A JP8983882A JPS6342273B2 JP S6342273 B2 JPS6342273 B2 JP S6342273B2 JP 57089838 A JP57089838 A JP 57089838A JP 8983882 A JP8983882 A JP 8983882A JP S6342273 B2 JPS6342273 B2 JP S6342273B2
Authority
JP
Japan
Prior art keywords
note
melody
chord
tone
additional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57089838A
Other languages
Japanese (ja)
Other versions
JPS58207092A (en
Inventor
Eiichiro Aoki
Iwao Azuma
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP57089838A priority Critical patent/JPS58207092A/en
Publication of JPS58207092A publication Critical patent/JPS58207092A/en
Publication of JPS6342273B2 publication Critical patent/JPS6342273B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

この発明は付加音としてカウンタメロデイ音を
自動演奏する電子楽器に関し、特に伴奏用の和音
構成音の中から新たなカウンタメロデイ音を選択
して決定するに際して、メロデイ音との調和性を
考慮しつつ前回のカウンタメロデイ音にできるだ
け近い音程の構成音を選択することにより、メロ
デイ音と調和しかつ滑らかに変化するカウンタメ
ロデイ音を自動演奏し得るようにした電子楽器に
関するものである。 従来、伴奏和音に伴つてカウンタメロデイ音を
自動演奏する電子楽器として、特開昭52−72213
号公報に開示されたものがある。この公報に示さ
れている電子楽器は、和音の変化を契機として伴
奏和音の中の構成音の1つの音を選択し、これと
同一ノート音をカウンタメロデイ音として発音さ
せるものである。 ところで、カウンタメロデイ音は本来、メロデ
イ音に対して調和がとれ、かつメロデイ音の進行
に対して音高が滑らかにゆつくりと変化すると共
に、全体の傾向としてはうねりをもつて変化し、
これによつて奥ゆきと広がりのある豊かな演奏音
として聴こえるようにメロデイ音を修飾するもの
である。 しかし、従来の電子楽器においては、単純に和
音構成音の1つを選択しているため、メロデイ音
と調和がとれなかつたり、前回のカウンタメロデ
イ音から新たなカウンタメロデイ音程までの音程
差が大きくなり過ぎる場合があり、楽曲の流れを
乱してしまうという欠点があつた。 この発明は上述した欠点に鑑みなされたもの
で、その目的はメロデイ音と調和し、かつ音高変
化が滑らかなカウンタメロデイ音を自動演奏し得
るようにした電子楽器を提供することにある。 このためにこの発明は、和音が指定されるたび
に、該和音の構成音に対応してカウンタメロデイ
音を決定するにつき、 (a) 和音の構成音のうち前回のカウンタメロデイ
音から高音側(または低音側)に向つて最も近
い音程の第1の構成音を選択するとともに、こ
の第1の構成音が指定されたメロデイ音と非調
和な音程関係にあるか否かを判別し、この判別
結果が非調和な音程関係にないことを示すとき
には上記第1の構成音と同一ノート音を新たな
カウンタメロデイ音として決定し、かつ、 (b) 上記判別結果が非調和な音程関係にあること
を示すときには和音の構成音のうち前回のカウ
ンタメロデイ音から低音側(または高音側)に
向つて最も近い音程の第2の構成音を選択して
この第2の構成音と同一ノート音を新たなカウ
ンタメロデイ音として決定するようにしたもの
である。 以下、図示する実施例に基づきこの発明を詳細
に説明する。 第1図はこの発明による電子楽器の一実施例を
示す全体構成のブロツク図である。同図におい
て、鍵盤部10は上鍵盤10A、下鍵盤10Bお
よびペタル鍵盤10Cを備え、通常、メロデイ演
奏には上鍵盤10Aが使用され、伴奏(和音)演
奏には下鍵盤10Bが使用される。また、この鍵
盤部10の近傍には、自動ベースコード演奏をフ
インガコードモードで行うか、シングルフインガ
モードで行うかを選択するためのフインガコード
モード選択スイツチや、カウンタメロデイ音を発
生するか否かを制御するためのカウンタメロデイ
制御モードスイツチ、各鍵盤における押圧鍵に対
応する楽音の音色や音量等を制御する操作子など
を備えた操作子回路11が設けられている。 鍵盤部10における各押圧鍵のオン・オフ状態
および操作子回路11における各操作子のオン・
オフ状態あるいは操作状態量は、演算処理装置1
2の制御に従つて走査回路13の順次走査によつ
て検出される。 この順次走査により、オン状態となつている鍵
が検出されると、この鍵を表わすキーコードKC
が通常楽音用ワーキングメモリ14の鍵盤別の記
憶領域に記憶される。また、オン状態となつてい
る操作子が検出されると、この操作子のオン状態
を示すフラグ情報が制御データワーキングメモリ
18の鍵盤別の記憶領域に記憶されると共に、ア
ナログ量として設定される音量操作子などの操作
状態量がデイジタル値に変換された後鍵盤別の記
憶領域に記憶される。 この場合、各鍵盤における鍵を表わすキーコー
ドKCは、第1表に示すように、オクターブ音域
を表わすオクターブコードOCと、音名を表わす
ノートコードNCとから構成されている。
The present invention relates to an electronic musical instrument that automatically plays a counter melody sound as an additional sound, and in particular, when selecting and determining a new counter melody sound from among chord constituent sounds for accompaniment, the invention takes into account the harmony with the melody sound. The present invention relates to an electronic musical instrument capable of automatically playing a counter melody tone that harmonizes with the melody tone and changes smoothly by selecting component tones with pitches as close as possible to the previous counter melody tone. Conventionally, an electronic musical instrument that automatically plays a counter melody tone along with accompaniment chords was developed in Japanese Patent Application Laid-open No. 52-72213.
There is something disclosed in the publication No. The electronic musical instrument disclosed in this publication selects one of the constituent tones of an accompaniment chord when a chord changes, and produces the same note as a countermelody tone. By the way, the counter melody sound is originally in harmony with the melody sound, and the pitch changes smoothly and slowly as the melody sound progresses, and the overall tendency is to change with undulations.
This modifies the melody sound so that it can be heard as a rich performance sound with depth and spaciousness. However, since conventional electronic musical instruments simply select one of the notes that make up the chord, they may not be able to harmonize with the melody note, or there may be a large pitch difference between the previous countermelody note and the new countermelody note. The problem was that it sometimes became too loud, disrupting the flow of the song. The present invention was made in view of the above-mentioned drawbacks, and its object is to provide an electronic musical instrument that can automatically play a counter melody tone that harmonizes with the melody tone and has smooth pitch changes. For this purpose, the present invention determines a counter melody note corresponding to the constituent notes of the chord each time a chord is specified. In addition to selecting the first constituent note with the closest pitch toward the specified melody note (or lower pitch side), it is determined whether or not this first constituent note has a discordant pitch relationship with the specified melody note. When the result indicates that there is no aharmonic pitch relationship, the same note as the first constituent note is determined as a new counter melody tone, and (b) the above discrimination result indicates that there is a nonharmonic pitch relationship. When indicating a chord, select the second constituent note of the chord with the pitch closest to the previous countermelody note towards the bass side (or treble side), and create a new note that is the same as this second constituent note. The counter melody sound is determined as a counter melody sound. Hereinafter, the present invention will be explained in detail based on illustrated embodiments. FIG. 1 is a block diagram of the overall configuration of an embodiment of an electronic musical instrument according to the present invention. In the figure, the keyboard section 10 includes an upper keyboard 10A, a lower keyboard 10B, and a petal keyboard 10C. Normally, the upper keyboard 10A is used for melody performance, and the lower keyboard 10B is used for accompaniment (chord) performance. Also, near this keyboard section 10, there is a finger chord mode selection switch for selecting whether automatic bass chord performance is performed in finger chord mode or single finger mode, and a switch that generates a counter melody sound. An operator circuit 11 is provided, which includes a counter melody control mode switch for controlling whether or not the melody is played, and operators for controlling the tone, volume, etc. of musical tones corresponding to the pressed keys on each keyboard. The on/off state of each pressed key in the keyboard section 10 and the on/off state of each operator in the operator circuit 11
The off state or operation state quantity is determined by the arithmetic processing unit 1.
It is detected by sequential scanning of the scanning circuit 13 according to the control of No. 2. When a key that is in the on state is detected through this sequential scanning, the key code KC representing this key is
is normally stored in a storage area for each keyboard in the working memory 14 for musical tones. Furthermore, when an operator that is in an on state is detected, flag information indicating the on state of this operator is stored in a storage area for each keyboard of the control data working memory 18, and is also set as an analog quantity. Operation state quantities such as volume controls are converted into digital values and then stored in storage areas for each keyboard. In this case, the key code KC representing a key on each keyboard is composed of an octave code OC representing an octave range and a note code NC representing a pitch name, as shown in Table 1.

【表】【table】

【表】【table】

【表】 なお、鍵および操作子の順次走査によつて、前
回走査まではオン状態であつた鍵または操作子
が、今回走査ではオフ状態となつていた場合に
は、この鍵または操作子を表わすキーコードKC
またはフラグ情報は消去される。従つて、通常楽
音用メモリ14には、各鍵盤における最新の押圧
鍵を表わすキーコードKCが、また制御データ用
ワーキングメモリ18には各操作子の最新のオ
ン・オフ状態および操作状態量を表わす制御デー
タが常に記憶されていることになる。 このようにしてワーキングメモリ14および1
8に記憶されたキーコードKCおよび制御データ
のうち、前者は鍵盤別に分離されて上鍵盤
(UKB)用バツフアメモリ15、下鍵盤(LKB)
用バツフアメモリ16、ペダル鍵盤(PKB)用
バツフアメモリ17に転送される。 この場合、操作子回路11におけるフインガコ
ードモード選択スイツチでフインガコードモード
が選択されているときには、下鍵盤10Bで押圧
されている鍵の全てに関するキーコードKCが下
鍵盤用バツフアメモリ16に転送される。しか
し、シングルフインガモードが選択されていると
きには、下鍵盤10Bで押圧されている1つの鍵
を表わすキーコードKCが根音を発音させるため
のデータとしてバツフアメモリ16に転送される
と共に、この根音に対応するキーコードKCを参
照して残りの和音構成音(従音)を発音させるた
めの複数のキーコードKCが定数メモリ20から
読出されてバツフアメモリ16に転送される。 一方、各操作子のオン・オフ状態や操作状態量
を表わす制御データは、制御データ用バツフアメ
モリ19に転送される。 そして、各バツフアメモリ15〜17に転送記
憶された各鍵盤における押圧鍵を表わすキーコー
ドKSは、鍵盤別に設けられた上鍵盤(UKB)用
トーンジエネレータ21、下鍵盤(LKB)用ト
ーンジエネレータ22、ペダル鍵盤(PKB)用
トーンジエネレータ23に転送される。同時に、
制御データバツフアメモリ19に記憶された制御
データは、鍵盤別に分離されて各トーンジエネレ
ータ21〜23に送られる。これにより、上鍵盤
用トーンジエネレータ21は、上鍵盤10Aにお
ける押圧鍵を表わすキーコードKCと、上鍵盤1
0Aに関する音色、音量などの制御データとに基
づき対応する楽音を形成し、サウンドシステム2
4からメロデイ音として発音させる。 また、下鍵盤用トーンジエネレータ22は下鍵
盤10Bにおける押圧鍵または和音構成音を表わ
すキーコードKCと、下鍵盤10Bに関する音色、
音量などの制御データとに基づき対応する楽音を
形成し、サウンドシステム24から伴奏音(和
音)として発音させる。また、ペダル鍵盤用トー
ンジエネレータ23はペダル鍵盤10Cにおける
押圧鍵を表わすキーコードKCと、ペダル鍵盤1
0Cに関する音色、音量などの制御データとに基
づき対応する楽音を形成し、サウンドシステム2
4からベース音として発音させる。 なお、これらの各トーンジエネレータ21〜2
3は、波形メモリ読出し方式、高調波合成方式、
周波数変調方式などの公知の楽音形成方式を利用
して構成される。 鍵盤部10における通常演奏による楽音の形成
は、以上のようにしてプログラムメモリ25に予
め記憶された通常楽音形成用のプログラムに従つ
て演算処理装置12の制御によつて行なわれる
が、プログラムメモリ25にはこの他に下鍵盤1
0Bで演奏(指定)される伴奏音(和音)の演奏
状態(指定状態)や上鍵盤10Aで演奏されるメ
ロデイの演奏状態に応じて、メロデイ音と調和関
係にあり、かつ伴奏音の変化に連動して滑らかに
ゆつくりと変化するカウンタメロデイ音形成用の
プログラムが予め記憶されている。そして、この
カウンタメロデイ音形成用プログラムによつて下
鍵盤10Bで演奏される和音構成音用の鍵(シン
グルフインガモード時は根音に相当する鍵)が変
化する毎に、カウンタメロデイ音に対応するキー
コードKCが決定され、カウンタメロデイ
(CML)用バツフアメモリ28に転送される。そ
して、このカウンタメロデイ音に対応するキーコ
ードKCは、上鍵盤用トーンジエネレータ21に
供給される。すると、トーンジエネレータ21は
上鍵盤10Aにおける押圧鍵に対応したメロデイ
音と共に、カウンタメロデイ音を形成してサウン
ドシステム24から発音させる。なお、カウンタ
メロデイ音はG1〜G2の発音域で発音される。 また、カウンタメロデイ用ワーキングメモリ2
6には、その記憶領域を利用して専らカウンタメ
ロデイ音の形成に用いるための第2表および第3
表に示すような各種のレジスタやフラグレジスタ
が準備されている。 さらにまた、演算処理装置12には次の第4表
に示すようなレジスタやフラグレジスタが準備さ
れている。
[Table] By sequentially scanning keys and controls, if a key or control that was in the on state until the previous scan was in the off state in the current scan, this key or control is Representing key code KC
Or the flag information is deleted. Therefore, the normal musical tone memory 14 contains a key code KC representing the latest pressed key on each keyboard, and the control data working memory 18 contains the latest on/off status and operation state quantity of each operator. Control data will always be stored. In this way working memory 14 and 1
Of the key code KC and control data stored in 8, the former is separated by keyboard and stored in buffer memory 15 for the upper keyboard (UKB) and buffer memory 15 for the lower keyboard (LKB).
buffer memory 16 and buffer memory 17 for pedal keyboard (PKB). In this case, when the finger code mode selection switch in the operator circuit 11 selects the finger code mode, the key codes KC for all keys pressed on the lower keyboard 10B are transferred to the lower keyboard buffer memory 16. Ru. However, when the single finger mode is selected, the key code KC representing one key pressed on the lower keyboard 10B is transferred to the buffer memory 16 as data for producing the root note, and this root note is also transferred to the buffer memory 16 as data for producing the root note. A plurality of key codes KC for generating the remaining chord constituent tones (subordinate tones) are read out from the constant memory 20 and transferred to the buffer memory 16 with reference to the key code KC corresponding to the key code KC. On the other hand, control data representing the on/off state and operation state quantity of each operator is transferred to the control data buffer memory 19. The key code KS representing the pressed key on each keyboard transferred and stored in each buffer memory 15 to 17 is transmitted to the tone generator 21 for the upper keyboard (UKB) and the tone generator 22 for the lower keyboard (LKB) provided for each keyboard. , and is transferred to the pedal keyboard (PKB) tone generator 23. at the same time,
The control data stored in the control data buffer memory 19 is separated for each keyboard and sent to each tone generator 21-23. As a result, the upper keyboard tone generator 21 generates the key code KC representing the pressed key on the upper keyboard 10A and the upper keyboard 1
A corresponding musical tone is formed based on control data such as timbre and volume related to 0A, and the sound system 2
Make it sound as a melody sound starting from 4. The lower keyboard tone generator 22 also generates key codes KC representing pressed keys or chord constituent notes on the lower keyboard 10B, and tones related to the lower keyboard 10B.
A corresponding musical tone is formed based on control data such as volume, and is produced as an accompaniment tone (chord) from the sound system 24. Further, the tone generator 23 for the pedal keyboard has a key code KC representing a pressed key on the pedal keyboard 10C, and a tone generator 23 for the pedal keyboard 10C.
A corresponding musical tone is formed based on control data such as timbre and volume related to 0C, and the sound system 2
From 4 onwards, it will be pronounced as a bass note. Note that each of these tone generators 21 to 2
3 is a waveform memory readout method, a harmonic synthesis method,
It is constructed using a known musical tone forming method such as a frequency modulation method. The formation of musical tones by normal performance on the keyboard section 10 is performed under the control of the arithmetic processing unit 12 according to the program for normal musical tone formation stored in advance in the program memory 25 as described above. In addition to this, the lower keyboard 1
Depending on the performance state (specified state) of the accompaniment note (chord) played (designated) on 0B and the performance state of the melody played on the upper keyboard 10A, the melody note is in a harmonious relationship with the melody note and changes in the accompaniment note. A program for forming a counter melody sound that changes smoothly and slowly in conjunction with each other is stored in advance. Then, each time the chord constituent notes played on the lower keyboard 10B (keys corresponding to the root note in single finger mode) change according to this counter melody sound forming program, a counter melody sound is generated. The key code KC to be played is determined and transferred to the counter melody (CML) buffer memory 28. Then, the key code KC corresponding to this counter melody tone is supplied to the upper keyboard tone generator 21. Then, the tone generator 21 forms a counter melody sound together with the melody sound corresponding to the pressed key on the upper keyboard 10A, and causes the sound system 24 to generate the counter melody sound. Note that the counter melody sound is produced in the G 1 to G 2 sound range. In addition, working memory 2 for counter melody
6 contains Tables 2 and 3 for exclusively using the storage area to form counter melody sounds.
Various registers and flag registers are prepared as shown in the table. Furthermore, the arithmetic processing unit 12 is provided with registers and flag registers as shown in Table 4 below.

【表】【table】

【表】【table】

【表】【table】

【表】 第2図は、通常演奏音およびカウンタメロデイ
音を形成する場合のメインルーチンを示すフロー
チヤートであつて、まずステツプ100において
鍵盤部10および操作子回路11における各鍵お
よび操作子のオン・オフ状態などが順次走査によ
つて検出される。この状態検出処理によつて検出
された押圧鍵のキーコードKCおよび操作子のオ
ン・オフ状態を示す制御データは、前述したよう
に通常楽音用ワーキングメモリ14および制御デ
ータ用ワーキングメモリ18に記憶される。 また、このステツプ100では、前回の順次走
査で検出したキーコードKCおよび制御データと、
今回の順次走査で検出したキーコードKCおよび
制御データとが比較され、上鍵盤10Aにおける
メロデイ音用の押圧鍵が変化しているか否か、下
鍵盤10Bにおける和音の指定状態(伴奏音用の
押圧鍵の状態)が変化しているか否か、ペダル鍵
盤10Cにおけるベース音用の押圧鍵が変化して
いるか否か、操作子回路11における操作子の状
態が変化しているか否かが検出される。 この状態変化の検出(イベントの検出)の結
果、下鍵盤10Bにおける和音の指定状態が変化
しているイベント、すなわち和音イベントなら
ば、ステツプ101の「操作子イベント?」およ
びステツプ102の「和音イベント?」の判断を
受けた後ステツプ103へ進み、和音の指定の仕
方がシングルフインガモードに選択されている場
合にのみ、下鍵盤10Bで押圧されている1つの
鍵を根音に対応するものを定め、この根音に対す
る従音に対応したキーコードKCが定数メモリ2
0から読出される。そして、従音に対応したキー
コードKCは根音に対応するキーコードKCと共に
ワーキングメモリ14の下鍵盤10Bに対応した
記憶領域に記憶される。 このように、和音イベントの発生が検出された
ならば、従音に対応するキーコードの読出し処理
(シングルフインガモード時のみ)が行なわれる。
そして、これらの処理が終ると、ステツプ104
に進み、ここにおいて通常楽音用ワーキングメモ
リ14に記憶された和音のキーコードKCが下鍵
盤用バツフアメモリ16に転送される。これによ
り、トーンジエネレータ22においては下鍵盤1
0Bで指定された和音構成に対応する和音が形成
される。 しかし、和音イベントの発生でもなく、操作子
イベントの発生でもなく、メロデイ演奏用の押圧
鍵が変化しているメロデイイベントの発生ならば
ステツプ103の処理は行なわれず、メロデイ演
奏用の最新の押圧鍵を表わすキーコードKCがス
テツプ104においてバツフアメモリ15に転送
される。これによつて、トーンジエネレータ21
においてはこの最新のキーコードKCに対応した
メロデイ音が形成される。 この後、ステツプ105における「カウンタメ
ロデイモードか?」の判断処理により、カウンタ
メロデイ制御モードスイツチでカウンタメロデイ
音を形成すべきモードに選択されているか否かが
判断される。判断の結果、カウンタメロデイモー
ドに選択されていなければ、ステツプ100の
「鍵、操作子の状態検出処理」に戻り、同様の処
理が繰り返される。 しかし、ステツプ100における状態検出処理
の結果、操作子の操作状態が変化したことが検出
されると、すなわち操作子イベントの発生が検出
されると、ステツプ101からステツプ106に
分岐し、ここにおいて制御データ用ワーキングメ
モリ18に記憶された各操作子の最新のオン・オ
フ状態および操作状態量を示す制御データが制御
データ用バツフアメモリ19へ転送される。これ
によつて、各トーンジエネレータ21〜23では
最も新しい制御データによつて楽音の音色、音量
などが制御されるようになる。 また、このステツプ106では操作子回路11
に設けられたカウンタメロデイ制御モードスイツ
チのオン・オフ状態も検出され、もしこのモード
スイツチがオン状態ならばステツプ107の「カ
ウンタメロデイ制御スイツチは?」の判断処理を
経由してステツプ108の「スタートフラグセツ
ト」の処理へ進み、ここにおいてスタートフラグ
STRT1・FLGをセツトした後、ステツプ100
の状態検出処理へ戻る。 すなわち、カウンタメロデイ制御モードスイツ
チがオン状態ならば、以後においては和音イベン
トの発生毎に、通常の楽音(メロデイ音、和音)
の形成と共にカウンタメロデイ音も形成すべきこ
とを指示するためスタートフラグSTRT1・FLG
をセツトした後、ステツプ100に戻る。 しかし、カウンタメロデイ制御モードスイツチ
がオフ状態ならば、ステツプ107からステツプ
100へ直接戻り、以後においては通常の楽音形
成のための処理のみが繰り返される。 カウンタメロデイ制御モードスイツチがオン状
態に操作され、またスタートフラグSTRT1・
FLGがセツトされた後、操作子イベント、メロ
デイイベント、和音イベントのいずれも発生しな
ければ、処理の流れはステツプ100→105→
100で循環して待機状態となる。 しかしこの後、メロデイイベントあるいは和音
イベントのいずれかが発生すると、カウンタメロ
デイ音を形成すべきモードであることがスタート
フラグSTRT1・FLGによつて既にわかつている
ため、ステツプ105の判断に基づきステツプ1
09以後に続くカウンタメロデイ音の形成処理に
移る。 この場合、スタートフラグSTRT1・FLGは、
後述の説明から明らかなように、該フラグ
STRT1・FLGがセツトされた後に最初に発生し
たメロデイイベントまたは和音イベントに対応す
るカウンタメロデイ音の形成処理が終つた段階で
リセツトされるようになつている。従つて、該フ
ラグSTRT1・FLGがセツトされた後に最初に発
生したイベントは、カウンタメロデイ音が付加さ
れる楽曲全体の中で曲の初めに相当するイベント
であることを意味する。換言すれば、スタートフ
ラグSTRT1・FLGは、該フラグSTRT1・FLG
のセツト以後に発生したメロデイイベントまたは
和音イベントが曲の初めに相当するイベントであ
ることを示している。 なお、ステツプ105からステツプ109へ移
行する前に、ステツプ103の従音のキーコード
発生処理やステツプ104の通常の楽音形成処理
が行なわれることはもちろんである。 カウンタメロデイ音の形成処理では、まずステ
ツプ109においてメロデイ音のうち最低音が検
出される。つまり、この実施例においてメロデイ
音は、G#2〜C6の音域で発音するように構成さ
れているが、カウンタメロデイ音はその性格上メ
ロデイ音よりも低音域側で発音するのが望ましい
ため、まずメロデイ音のうち最低音が検出され
る。 メロデイ音のうち最低音は、上鍵盤10Aにお
ける押圧鍵のキーコードKCを相互に比較するこ
とによつて検出される。そして、該最低音を示す
キーコードKCはカウンタメロデイ用ワーキング
メモリ26に一時記憶される。なお、以下ではメ
ロデイ音の最低音を単にメロデイ音と言う。 次に、ステツプ110の「キーコード変換処
理」において、メロデイ音、和音構成音のそれぞ
れに対応するキーコードKCがキーナンバKNに
変換される。そして、その変換結果であるキーナ
ンバKNは、カウンタメロデイ用ワーキングメモ
リ26の中に設けられたメロデイキーナンバレジ
スタMLKN1R、和音構成音キーナンバレジスタ
LKKNIR〜LKKNVRに記憶される。 キーナンバKNは、音域C1〜C6の鍵に対して次
の第5表に示すように順に割当てた「0〜60」の
数値である。
[Table] FIG. 2 is a flowchart showing the main routine for forming normal performance sounds and counter melody sounds.・Off state etc. are detected by sequential scanning. The key code KC of the pressed key detected by this state detection process and the control data indicating the on/off state of the operator are stored in the normal musical tone working memory 14 and the control data working memory 18, as described above. Ru. In addition, in this step 100, the key code KC and control data detected in the previous sequential scan,
The key code KC detected in this sequential scan and the control data are compared to determine whether the pressed keys for melody sounds on the upper keyboard 10A have changed or not, and the designated state of chords on the lower keyboard 10B (the pressed keys for accompaniment sounds) It is detected whether the state of the keys) is changing, whether the pressed key for the bass sound on the pedal keyboard 10C is changing, and whether the state of the operator in the operator circuit 11 is changing. . As a result of this state change detection (event detection), if it is an event in which the designated state of the chord on the lower keyboard 10B has changed, that is, a chord event, the "Manipulator event?" step 101 and the "chord event" step 102 are performed. ?", the process advances to step 103, and only if the single finger mode is selected as the chord designation method, one key pressed on the lower keyboard 10B is changed to the one corresponding to the root note. The key code KC corresponding to the subordinate note for this root note is stored in constant memory 2.
Read from 0. The key code KC corresponding to the subordinate note is stored in the storage area corresponding to the lower keyboard 10B of the working memory 14 together with the key code KC corresponding to the root note. In this manner, when the occurrence of a chord event is detected, the key code corresponding to the subordinate note is read out (only in the single finger mode).
When these processes are completed, step 104
At this point, the chord key code KC stored in the normal tone working memory 14 is transferred to the lower keyboard buffer memory 16. As a result, in the tone generator 22, the lower keyboard 1
A chord corresponding to the chord structure specified by 0B is formed. However, if a melody event occurs in which the pressed key for melody performance has changed, rather than the occurrence of a chord event or a controller event, the process in step 103 is not performed, and the latest pressed key for melody performance is changed. The key code KC representing ``1'' is transferred to the buffer memory 15 in step 104. As a result, the tone generator 21
, a melody sound corresponding to this latest key code KC is formed. Thereafter, in step 105, it is determined whether or not the counter melody control mode switch has selected a mode in which a counter melody sound is to be generated. As a result of the determination, if the counter melody mode is not selected, the process returns to step 100, ``key and operator state detection process'', and the same process is repeated. However, as a result of the state detection processing in step 100, if it is detected that the operating state of the operator has changed, that is, if the occurrence of an operator event is detected, the process branches from step 101 to step 106, where the control Control data indicating the latest on/off state and operation state quantity of each operator stored in the data working memory 18 is transferred to the control data buffer memory 19. As a result, in each of the tone generators 21 to 23, the timbre, volume, etc. of musical tones are controlled by the newest control data. Further, in this step 106, the operator circuit 11
The on/off state of the counter melody control mode switch provided at Proceed to the "Flag Set" process and set the start flag here.
After setting STRT1/FLG, step 100
Return to the state detection process. In other words, if the counter melody control mode switch is in the ON state, from then on, every time a chord event occurs, a normal musical tone (melody tone, chord) will be played.
The start flag STRT1/FLG is used to instruct that a counter melody sound should also be formed at the same time as the formation of the
After setting, the process returns to step 100. However, if the counter melody control mode switch is in the OFF state, the process returns directly from step 107 to step 100, and thereafter only the normal process for forming musical tones is repeated. The counter melody control mode switch is turned on, and the start flag STRT1/
After the FLG is set, if no operator event, melody event, or chord event occurs, the process flow goes to steps 100 → 105 →
It cycles through 100 and enters a standby state. However, after this, when either a melody event or a chord event occurs, it is already known from the start flags STRT1 and FLG that the mode is to form a counter melody sound, and therefore, based on the judgment in step 105, step 1 is started.
The process moves on to the counter melody sound formation process that continues after 09. In this case, the start flag STRT1/FLG is
As is clear from the explanation below, the flag
It is reset at the stage when the counter melody tone forming process corresponding to the first melody event or chord event that occurs after STRT1/FLG is set is completed. Therefore, the first event that occurs after the flags STRT1 and FLG are set means that the event corresponds to the beginning of the entire song to which the counter melody sound is added. In other words, the start flag STRT1/FLG is the start flag STRT1/FLG.
This indicates that the melody event or chord event that occurs after the set of is an event that corresponds to the beginning of the song. It goes without saying that before proceeding from step 105 to step 109, the subtone key code generation process of step 103 and the normal musical tone formation process of step 104 are performed. In the counter melody tone forming process, first, in step 109, the lowest note of the melody tones is detected. That is, in this embodiment, the melody sound is configured to be sounded in the range of G# 2 to C 6 , but due to its nature, it is desirable for the counter melody sound to be sounded in a lower range than the melody sound. First, the lowest note of the melody tones is detected. The lowest note of the melody tones is detected by mutually comparing the key codes KC of the pressed keys on the upper keyboard 10A. Then, the key code KC indicating the lowest note is temporarily stored in the counter melody working memory 26. In the following, the lowest note of the melody tones will simply be referred to as the melody tone. Next, in the "key code conversion process" of step 110, the key code KC corresponding to each of the melody notes and the chord constituent notes is converted into a key number KN. The key number KN, which is the conversion result, is stored in the melody key number register MLKN1 R provided in the counter melody working memory 26, and the chord constituent note key number register.
Stored in LKKNI R ~ LKKNV R. The key number KN is a numerical value from 0 to 60 that is sequentially assigned to keys in the range C 1 to C 6 as shown in Table 5 below.

【表】【table】

Claims (1)

【特許請求の範囲】 1 メロデイ音を指定するメロデイ音指定手段
と、指定されたメロデイ音に対応する楽音を形成
するメロデイ音形成手段と、和音を指定する和音
指定手段と、指定された和音に対応する楽音を形
成する和音形成手段とを有する電子楽器におい
て、 上記和音指定手段によつて和音が新たに指定さ
れたことを検出する和音指定検出手段と、 前回の付加音を記憶する付加音記憶手段と、 上記和音指定検出手段によつて新たな和音指定
が検出されるごとに、上記和音指定手段によつて
指定された和音の構成音に対応して付加音を決定
するものであつて、 (a) 上記和音の構成音のうち上記付加音記憶手段
に記憶された前回の付加音から高音側(または
低音側)に向つて最も近い音程の第1の構成音
を選択するとともに、この第1の構成音が上記
メロデイ音指定手段によつて指定されたメロデ
イ音と非調和な音程関係にあるか否かを判別
し、この判別結果が非調和な音程関係にないこ
とを示すときには上記第1の構成音と同一ノー
ト音を新たな付加音として決定し、かつ、 (b) 上記判別結果が非調和な音程関係にあること
を示すときには上記和音の構成音のうち上記前
回の付加音から低音側(または高音側)に向つ
て最も近い音程の第2の構成音を選択してこの
第2の構成音と同一ノート音を新たな付加音と
して決定する 処理を行なう付加音決定手段と、 上記付加音決定手段によつて決定された付加音
に対応する楽音を形成する付加音用楽音形成手段
とを備えた電子楽器。 2 前記付加音はカウンタメロデイ音である特許
請求の範囲第1項記載の電子楽器。 3 前記付加音決定手段は、付加音の音域を所望
の範囲内に制限したことを特徴とする特許請求の
範囲第1項記載の電子楽器。
[Claims] 1. A melody sound specifying means for specifying a melody note, a melody tone forming means for forming a musical tone corresponding to the specified melody note, a chord specifying means for specifying a chord, and a melody note specifying means for forming a musical tone corresponding to the specified melody note; an electronic musical instrument having a chord forming means for forming a corresponding musical tone; a chord designation detection means for detecting that a chord has been newly designated by the chord designation means; and an additional sound memory for storing a previous additional sound. means, each time a new chord designation is detected by the chord designation detection means, determining an additional note corresponding to the constituent tones of the chord designated by the chord designation means, (a) Among the constituent tones of the chord, select the first constituent note whose pitch is closest to the treble side (or bass side) from the previous additional tone stored in the additional note storage means; It is determined whether or not the constituent tones of No. 1 have an aharmonic pitch relationship with the melody tone specified by the melody tone specifying means, and when the result of this discrimination indicates that there is no aharmonic pitch relationship, the above-mentioned (b) If the above discrimination result indicates that there is an aharmonic interval relationship, the same note as the constituent note of the chord is determined as a new additional note. additional sound determining means for performing a process of selecting a second constituent note having the closest pitch toward the bass side (or treble side) and determining the same note note as the second constituent note as a new additional note; an electronic musical instrument comprising additional tone musical tone forming means for forming a musical tone corresponding to the additional tone determined by the additional tone determining means. 2. The electronic musical instrument according to claim 1, wherein the additional sound is a counter melody sound. 3. The electronic musical instrument according to claim 1, wherein the additional sound determining means limits the range of the additional sound within a desired range.
JP57089838A 1982-05-28 1982-05-28 Electronic musical instrument Granted JPS58207092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57089838A JPS58207092A (en) 1982-05-28 1982-05-28 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57089838A JPS58207092A (en) 1982-05-28 1982-05-28 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS58207092A JPS58207092A (en) 1983-12-02
JPS6342273B2 true JPS6342273B2 (en) 1988-08-22

Family

ID=13981901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57089838A Granted JPS58207092A (en) 1982-05-28 1982-05-28 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS58207092A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004045902A (en) * 2002-07-15 2004-02-12 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument

Also Published As

Publication number Publication date
JPS58207092A (en) 1983-12-02

Similar Documents

Publication Publication Date Title
US5136916A (en) Electronic musical instrument
JPH027078B2 (en)
JP2612923B2 (en) Electronic musical instrument
JPH06295179A (en) Musical performance information analyzing device and chord detecting device
US6031175A (en) Music performing apparatus capable of calling registrations for performance and computer readable medium containing program therefor
JP2583809B2 (en) Electronic musical instrument
JP3398554B2 (en) Automatic arpeggio playing device
JPH09179559A (en) Device and method for automatic accompaniment
JPH0968980A (en) Timbre controller for electronic keyboard musical instrument
JPS6342273B2 (en)
JPS6342272B2 (en)
JP2858120B2 (en) Electronic musical instrument
JP2819616B2 (en) Electronic musical instrument with portamento function
JPS6342274B2 (en)
JPS6342275B2 (en)
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP2745769B2 (en) Tempo controller
JP3296182B2 (en) Automatic accompaniment device
JPS6342270B2 (en)
JPS6348358B2 (en)
JP2513003B2 (en) Electronic musical instrument
JPS637396B2 (en)
JPH0423280B2 (en)
JP3064738B2 (en) Accompaniment pattern selection device
JP2636477B2 (en) Electronic musical instrument