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

JPH0160838B2 - - Google Patents

Info

Publication number
JPH0160838B2
JPH0160838B2 JP57179393A JP17939382A JPH0160838B2 JP H0160838 B2 JPH0160838 B2 JP H0160838B2 JP 57179393 A JP57179393 A JP 57179393A JP 17939382 A JP17939382 A JP 17939382A JP H0160838 B2 JPH0160838 B2 JP H0160838B2
Authority
JP
Japan
Prior art keywords
key
note
sound
additional
range
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
JP57179393A
Other languages
Japanese (ja)
Other versions
JPS5968787A (en
Inventor
Iwao Azuma
Eiichiro Aoki
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 JP57179393A priority Critical patent/JPS5968787A/en
Publication of JPS5968787A publication Critical patent/JPS5968787A/en
Publication of JPH0160838B2 publication Critical patent/JPH0160838B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

この発明は、メロデイ演奏の際に和音を付加的
メロデイとして自動的に演奏することのできる電
子楽器に関し、メロデイ音の属する音域によつて
メロデイ音と付加音との間の音間隔を異ならせる
ことにより全音域にわたつて快適なハーモニーが
得れるようにしたものである。 従来、付加的メロデイを発生しうる電子楽器と
しては、伴奏用鍵盤で押された複数鍵(例えば
C2、E2、G2)と音名(C2、E2、G2の場合はC、
E、G)を同じくする多数の音のうちから、メロ
デイ用鍵盤で押された鍵(例えばC6)の下1オ
クターブの範囲の音(C6の場合はC5、E5、G5
を付加音として選択してメロデイ音(C6)と共
に発音させるようにしたものが知られている(例
えば特公昭53―17895号公報参照)。 しかしながら、このような電子楽器にあつて
は、メロデイ用鍵盤のどの音域で押鍵しようと
も、メロデイ音と付加音との間の音間隔に変化が
ないので、全音域にわたつて十分美しいハーモニ
ーが得れないという問題があつた。 この発明の目的は、全音域にわたつて快適なハ
ーモニーを得ることのできる新規な電子楽器を提
供することにある。 この発明による電子楽器は、メロデイ用鍵盤で
押された鍵がどの音域に属するか判定し、その判
定結果に応じて音域毎に異なる音間隔を指定する
ようにしたことを特徴とするものである。具体的
には、高音域では、オープン気味に付加音を付
け、幅広い、快いハーモニーを得る一方、低音域
では、オープン気味だとハーモニーが目立ちすぎ
て好ましくないので、クローズ気味に付加音を付
け、全音域で美しいハーモニーが得られるように
したものである。 以下、添付図面に示す実施例についてこの発明
を詳述する。 第1図は、この発明の一実施例による電子楽器
を示すもので、この電子楽器はマイクロコンピユ
ータの助けによつてメロデイ音、和音、付加的メ
ロデイ音等の発生が制御されるようになつてい
る。 中央処理装置(CPU)10は、ROM(リー
ド・オンリイ・メモリ)からなるプログラムメモ
リ12にストアされたプログラムに従つて動作す
るもので、パネル14の各種のスイツチ(SW)、
すなわち音色スイツチ、フアンクシヨンスイツチ
(例えばオートベースコード、オートリズム等の
スイツチ)、付加音モードスイツチMS等をSW
(スイツチ)インターフエース16を介して走査
して各スイツチの状態を検知し、検知したスイツ
チ情報をRAM(ランダム・アクセス・メモリ)
からなるワーキングエリア18内のレジスタに書
込み、スイツチ状態に変化があると、ワーキング
エリア18からバス20を介してUK音インター
フエース22及び/又はLK音インターフエース
24にスイツチ情報を供給する。 また、中央処理装置10は鍵インターフエース
26を介してメロデイ用の上鍵盤28及び伴奏用
の下鍵盤30を走査して各鍵の状態を検知し、検
知された鍵情報をワーキングエリア18内のレジ
スタに書込み、鍵状態に変化があると、ワーキン
グエリア18からバス20を介してUK音インタ
ーフエース22及び/又はLK音インターフエー
ス24に鍵情報を供給する。この場合、付加音モ
ードスイツチMSがオンされていると、中央処理
装置10は、上鍵盤28からのキーオン情報及び
下鍵盤30からのキーオン情報(又は下鍵盤用メ
モリからのキーオン情報)に基づいて2音分の付
加音情報を形成してワーキングエリア18内のレ
ジスタに書込み、しかる後バス20を介してUK
音インターフエース22に供給する。 UK音インターフエース22は、ワーキングエ
リア18からの上鍵盤に関する鍵情報及びスイツ
チ情報に基づいて上鍵盤用トーンジエネレータ
(UKTG)32にキーデータUKKD及び音色制御
データUCを供給するもので、トーンジエネレー
タ32はキーデータUKKD及び音色制御データ
UCに応じてUK音信号を形成し、出力アンプ3
4を介してスピーカ36に供給するようになつて
いる。また、UK音インターフエース22は、付
加音モードスイツチMSが押されている場合に
は、トーンジエネレータ32にキーデータ
UKKDとして付加音キーデータをも供給するの
で、トーンジエネレータ32からはUK音信号と
して付加音信号も送出される。 LK音インターフエース24は、ワーキングエ
リア18からの下鍵盤に関する鍵情報及びスイツ
チ情報に基づいて下鍵盤用トーンジエネレータ
(LKTG)38にキーデータKKD及び音色制御デ
ータLCを供給するもので、トーンジエネレータ
38はキーデータLKKD及び音色制御データLC
に応じてLK音信号を形成し、出力アンプ34を
介してスピーカ36に供給するようになつてい
る。 従つて、スピーカ36からは、上鍵盤28での
押鍵に対応したUK音(通常、メロデイ音)が発
音されると共に、下鍵盤30での押鍵に対応した
LK音(通常、和音)が発音され、さらに付加音
モードスイツチMSを押した場合には2音の付加
音が本来のUK音に対する付加的メロデイとして
発音される。 第2図は、ワーキングエリア18内のレジスタ
配置を示すもので、ここでは簡単のため、付加音
形成動作に関するもののみ取り上げ、他は各種レ
ジスタとして説明を省略する。 UKKD1〜UKKD61は、上鍵盤28のC2
C7の61鍵にそれぞれ対応したキーデータレジス
タであり、各レジスタのデータフオーマツトは
UKKD1について代表的に示すように1バイト
(8ビツト)のうち、最上位ビツト(MSB)が鍵
状態KS(キーオンならば“1”、キーオフならば
“0”)を示し、残余のビツトは不使用となつてい
る。ここで、UKKD1〜UKKD61を含むレジ
スタ群について基準アドレスをUADとすると、
UKKD1、UKKD2…の各アドレスはUAD+
1、UAD+2……のように表わされる。 また、LKKD1〜LKKD61は、下鍵盤30
のC2〜C7の61鍵にそれぞれ対応したキーデー
タレジスタであり、各レジスタのデータフオーマ
ツトはLKKD1について代表的に示すように1
バイト(8ビツト)のうち、最上位ビツト
(MSB)が鍵状態KS(キーオンならば“1”、キ
ーオフならば“0”)を示し、最下位ビツト
(LSB)が音名関連フラグNFとなり、残余のビ
ツトが不使用となつている。ここで、LKKD1
〜LKKD61を含むレジスタ群について基準ア
ドレスをLADとすると、LKKD1、LKKD2…
の各アドレスはLAD+1、LAD+2…のように
表わされる。音名関連フラグNFは下鍵盤30で
押された鍵に音名で関連する場合(具体的には同
一音名の場合)に“1”となるもので、例えば
C2,E2、G2鍵が押された場合には、これと音名
C、E、Gを同じくするすべての鍵C2、E2
G2;C3、E3、G3、C4、E4、G4……に対する音名
関連フラグNFが“1”となる。 ところで、MELLは上鍵盤28で1鍵が押さ
れた場合にはその鍵のキーナンバを、また複数鍵
が同時に押された場合にはそのうちの最低音鍵の
キーナンバを書込むためのキーナンバレジスタで
ある。また、BF―0、BF―1は付加音キーナン
バデータを書込むためのバツフアレジスタ、
MODEは付加音モードレジスタであつて、付加
音モードスイツチMSがオンの場合に16進で
「01」が書込まれるもの、INT1はメロデイ音と
第1付加音との間の音間隔を指定する第1音間隔
データを書込むためのレジスタ、INT2は第1
付加音と第2付加音との間の音間隔を指定する第
2音間隔データを書込むためのレジスタ、
UKAKOは上鍵盤28でいずれかの鍵が押され
たことを示すUKエニーキーオンフラグ、
LKAKOは下鍵盤30でいずれかの鍵が押された
ことを示すLKエニーキーオンフラグである。な
お、キーナンバは上鍵盤28及び下鍵盤30のい
ずれについてもC2鍵を1としてこれ以降順に2、
3、4……を割当て、C7鍵61としてある。 次に、第3図を参照して、メインルーチンの処
理の流れを説明する。 まず、電源スイツチ(図示せず)をオンする
と、処理がスタートし、上下鍵盤UK、LKの走
査及びパネル14の各種スイツチSWの走査が行
なわれ、ワーキングエリア18のレジスタに鍵情
報スイツチ情報が取込まれる。そして、鍵状態及
びスイツチ状態に変化があるか判定され、変化が
なければ(ノーNならば)走査及び情報取込みが
繰りかえされる。 ここで、鍵状態又はスイツチ状態に変化があつ
た(判定結果がイエスYとなつた)ものとする
と、イベント種類SW、UK、LKに応じて分岐し
た処理に移る。 例えばスイツチ状態に変化があつた場合には、
UK、LK音色スイツチの変化か判定され、イエ
スYならばUK、LK音色スイツチ情報をインタ
ーフエース22,24を介してそれぞれのトーン
ジエネレータ32,38に出力する。 また、付加音モードスイツチMSの変化であつ
た場合には、バツフアレジスタBF―0及びBF―
1に16進で「00」を書込み、同レジスタをクリア
した後、BF―0及びBF―1の内容をUK音イン
ターフエース22を介してトーンジエネレータ3
2に出力する。この結果、トーンジエネレータ3
2の付加音キーデータはクリアされることにな
り、付加音が非発音の状態であればその非発音の
状態が継続されるし、付加音が発音中であつたな
らば発音を停止される。 さらに、フアンクシヨンスイツチの変化であつ
た場合には各種プログラム処理並びにデータ転送
が行なわれるが、これについては本件に直接関係
ないので説明を省略する。なお、上記したいずれ
かのスイツチ状態変化に伴う処理の後は、前述の
走査及び情報取込み処理に戻る。 一方、上鍵盤UKに変化があつた場合には、変
化のあつた鍵の鍵情報(オン又はオフデータとキ
ーナンバデータ)をUK音インターフエース22
に出力する。この後、レジスタUKKD1〜61
の最上位ビツトをチエツクすることによりUKエ
ニーキーオンか判定し、イエスYならばフラグ
UKAKOに16進で「01」を書込んで、これをセ
ツト状態し、ノーNならばフラグUKAKOに16
進で「00」を書込んで、これをリセツト状態にす
る。そして、フラグUKAKOをセツト状態にし
た場合には、次にレジスタUKKD1〜61のう
ち最上位ビツト=“1”のものをチエツクしてキ
ーナンバ最小の最低音をサーチし、この最低音の
キーナンバをレジスタMELLにセツトする。こ
の後、レジスタMODEが16進で「00」でないか
チエツクして付加音モードか判定し、付加音モー
ドでなければ前述の走査及び情報取込み処理に戻
る。 他方、下鍵盤LKに変化があつた場合には、変
化のあつた鍵の鍵情報(オン又はオフデータとキ
ーナンバデータ)をLK音インターフエース24
に出力する。この後、レジスタLKKD1〜61
の最上位ビツトをチエツクすることによりLKエ
ニーキーオンか判定し、イエスYならぱフラグ
LKAKOに16進で「01」を書込んで、これをセツ
ト状態にし、ノーNならばフラグLKAKOに16進
で「00」を書込んで、これをリセツト状態にす
る。そして、フラグLKAKOをセツト状態にした
場合には、次にLKKD1〜61のうち最上位ビ
ツト=“1”のもの及びこれと音名同一のものに
ついて音名関連フラグNFを“1”にする。この
後、前述のUK分岐の場合同様に付加音モードか
判定し、付加音モードでなけれ前述の走査及び情
報取込み処理に戻る。 ところで、前述の付加音モードかの判定におい
て付加音モードである(レジスタMODEは16進
で「00」でない)と判定された場合には、付加音
形成のために第4図のサブルーチンに移り、2音
の付加音キーデータを形成可能ならばこれを形成
してバツフアレジスタBF―0及びBF―1に書込
む。そして、レジスタBF―0及びBF―1の付加
音キーデータをUK音インターフエース22に出
力してから、前述の走査及び情報取込み処理に戻
る。 次に、第4図を参照して、付加音形成のための
サブルーチンの処理の流れを説明する。 まず、バツフアレジスタBF―0及びBF―1に
16進で「00」を書込み、同レレジスタをクリアす
る。そして、フラグLKAKOが16進で「00」か調
べることによりLKの全鍵がオフか判定し、イエ
スYならば付加音形成不能なので処理を終る。ま
た、LK全鍵オフでない場合には、フラグ
UKAKOが16進で「00」か調べてUKの全鍵がオ
フか判定し、イエスYならば付加音形成不能なの
で処理を終る。このようにLK全鍵オフ又はUK
全鍵オフのために付加音形成不能な場合にはバツ
フアレジスタBF―0及びBF―1がクリアされた
ままなので付加音は発生されない。 ここで、LK及びUKのいずれも全鍵オフでな
いとすると、中央処理装置10に含まれるAレジ
スタにキーナンバレジスタMELLからUK最低音
のキーナンバデータを書込む。この後、UK最低
音がどの音域に属するか判定し、その判定結果に
応じて音域毎に異なる音間隔をセツトする処理に
移るが、音域毎の音間隔値は次表の如く予め定め
られている。
The present invention relates to an electronic musical instrument that can automatically play a chord as an additional melody when playing a melody, and the sound interval between the melody note and the additional note can be varied depending on the range to which the melody note belongs. This makes it possible to obtain comfortable harmony across the entire range. Conventionally, electronic musical instruments capable of generating additional melodies have been developed using multiple keys pressed on an accompaniment keyboard (e.g.
C 2 , E 2 , G 2 ) and pitch name (C 2 , E 2 , G 2 for C,
Among the many notes that have the same number (E, G), the note in the lower octave of the key pressed on the melody keyboard (for example, C 6 ) (for C 6 , C 5 , E 5 , G 5 )
There is a known system in which C 6 is selected as an additional sound and is sounded together with the melody sound (C 6 ) (see, for example, Japanese Patent Publication No. 17895-1983). However, in the case of such electronic musical instruments, no matter which range of the melody keyboard you press, the interval between the melody note and the additional note does not change, so a sufficiently beautiful harmony can be created across the entire range. I had a problem that I couldn't get it. An object of the present invention is to provide a new electronic musical instrument that can obtain comfortable harmony over the entire range. The electronic musical instrument according to the present invention is characterized in that it determines to which range a key pressed on a melody keyboard belongs, and specifies different note intervals for each range according to the result of the determination. . Specifically, in the high range, we add additional notes in a slightly open manner to obtain a wide, pleasant harmony, while in the low range, if the notes are too open, the harmonies stand out too much, which is undesirable, so we add additional notes in a slightly closed manner. This allows beautiful harmonies to be obtained in the entire range. The invention will now be described in detail with reference to embodiments shown in the accompanying drawings. FIG. 1 shows an electronic musical instrument according to an embodiment of the present invention, in which the generation of melody tones, chords, additional melody tones, etc. is controlled with the help of a microcomputer. There is. The central processing unit (CPU) 10 operates according to programs stored in a program memory 12 consisting of a ROM (read-only memory), and controls various switches (SW) on a panel 14.
In other words, switch the tone switch, function switch (for example, auto bass chord, auto rhythm, etc.), additional sound mode switch MS, etc.
(Switch) The status of each switch is detected by scanning through the interface 16, and the detected switch information is stored in RAM (Random Access Memory).
When there is a change in the switch status, switch information is supplied from the working area 18 to the UK sound interface 22 and/or the LK sound interface 24 via the bus 20. The central processing unit 10 also scans the upper keyboard 28 for melody and the lower keyboard 30 for accompaniment via the key interface 26 to detect the state of each key, and stores the detected key information in the working area 18. When a register is written and the key status changes, key information is provided from the working area 18 to the UK sound interface 22 and/or the LK sound interface 24 via the bus 20. In this case, when the additional sound mode switch MS is turned on, the central processing unit 10 performs the following based on the key-on information from the upper keyboard 28 and the key-on information from the lower keyboard 30 (or the key-on information from the memory for the lower keyboard). Additional sound information for two sounds is formed and written to the register in the working area 18, and then sent to the UK via the bus 20.
is supplied to the sound interface 22. The UK sound interface 22 supplies key data UKKD and tone control data UC to the upper keyboard tone generator (UKTG) 32 based on the key information and switch information regarding the upper keyboard from the working area 18. Nerator 32 is key data UKKD and tone control data
Form UK sound signal according to UC, output amplifier 3
4 to a speaker 36. Furthermore, when the additional sound mode switch MS is pressed, the UK sound interface 22 sends key data to the tone generator 32.
Since additional sound key data is also supplied as UKKD, the additional sound signal is also sent out from the tone generator 32 as a UK sound signal. The LK sound interface 24 supplies key data KKD and tone control data LC to the lower keyboard tone generator (LKTG) 38 based on the key information and switch information regarding the lower keyboard from the working area 18. The generator 38 has key data LKKD and tone control data LC.
An LK sound signal is formed in accordance with the output signal, and is supplied to a speaker 36 via an output amplifier 34. Therefore, from the speaker 36, a UK tone (usually a melody tone) corresponding to a key pressed on the upper keyboard 28 is produced, and a UK tone corresponding to a key pressed on the lower keyboard 30 is produced.
An LK note (usually a chord) is produced, and when the additional note mode switch MS is pressed, two additional notes are produced as an additional melody to the original UK note. FIG. 2 shows the arrangement of registers in the working area 18. For the sake of simplicity, only those related to the additional sound forming operation will be discussed here, and the other registers will be described as various registers and their explanation will be omitted. UKKD1 to UKKD61 are C 2 to upper keyboard 28.
This is a key data register corresponding to each of the 61 keys of C7 , and the data format of each register is
As typically shown for UKKD1, the most significant bit (MSB) of 1 byte (8 bits) indicates the key status KS (“1” if the key is on, “0” if the key is off), and the remaining bits are indifferent. It is in use. Here, if the reference address is UAD for the register group including UKKD1 to UKKD61,
Each address of UKKD1, UKKD2... is UAD+
It is expressed as 1, UAD+2... Also, LKKD1 to LKKD61 are the lower keyboard 30.
This is a key data register corresponding to each of the 61 keys of C 2 to C 7 , and the data format of each register is 1 as shown representatively for LKKD1.
Of the bytes (8 bits), the most significant bit (MSB) indicates the key status KS (“1” if the key is on, “0” if the key is off), and the least significant bit (LSB) is the note name related flag NF. The remaining bits are unused. Here, LKKD1
~If the reference address for the register group including LKKD61 is LAD, then LKKD1, LKKD2...
Each address is expressed as LAD+1, LAD+2, etc. The note name related flag NF is set to "1" when the note name is related to the key pressed on the lower keyboard 30 (specifically, when the note name is the same). For example,
If the C 2 , E 2 , G 2 keys are pressed, all keys with the same pitch name C , E, G are pressed.
The pitch name related flag NF for G 2 ; C 3 , E 3 , G 3 , C 4 , E 4 , G 4 . . . becomes “1”. By the way, MELL is a key number register for writing the key number of one key when pressed on the upper keyboard 28, and the key number of the lowest note when multiple keys are pressed at the same time. be. In addition, BF-0 and BF-1 are buffer registers for writing additional tone key number data.
MODE is an additional sound mode register in which “01” is written in hexadecimal when the additional sound mode switch MS is on, and INT1 specifies the interval between the melody sound and the first additional sound. The register for writing the first note interval data, INT2 is the register for writing the first note interval data.
a register for writing second sound interval data specifying the sound interval between the additional sound and the second additional sound;
UKAKO is a UK any key on flag indicating that any key was pressed on the upper keyboard 28.
LKAKO is an LK any key on flag indicating that any key on the lower keyboard 30 has been pressed. Note that the key numbers for both the upper keyboard 28 and lower keyboard 30 are 2 for the C 2 key and 2,
3, 4... are assigned as C7 key 61. Next, the flow of processing of the main routine will be explained with reference to FIG. First, when the power switch (not shown) is turned on, processing starts, and the upper and lower keyboards UK and LK are scanned, and the various switch SWs on the panel 14 are scanned, and the key information switch information is stored in the register in the working area 18. be included. Then, it is determined whether there is a change in the key state and the switch state, and if there is no change (if NO), scanning and information acquisition are repeated. Here, if there is a change in the key state or switch state (the determination result is YES), the process moves to a branched process depending on the event type SW, UK, or LK. For example, if the switch status changes,
It is determined whether the UK and LK tone color switches have changed, and if YES, UK and LK tone color switch information is outputted to the respective tone generators 32 and 38 via the interfaces 22 and 24. Also, if the additional sound mode switch MS changes, buffer registers BF-0 and BF-
After writing "00" in hexadecimal to 1 and clearing the same register, the contents of BF-0 and BF-1 are sent to the tone generator 3 via the UK sound interface 22.
Output to 2. As a result, tone generator 3
The additional sound key data of 2 will be cleared, and if the additional sound is not being produced, the non-pronunciation state will continue, and if the additional sound is being produced, the production will be stopped. . Further, when there is a change in the function switch, various program processing and data transfer are performed, but since these are not directly related to the present case, their explanation will be omitted. Note that after the processing associated with any of the switch state changes described above, the process returns to the scanning and information acquisition processing described above. On the other hand, when there is a change in the upper keyboard UK, the key information (on or off data and key number data) of the changed key is sent to the UK sound interface 22.
Output to. After this, register UKKD1~61
Determine whether UK any key is on by checking the most significant bit of
Write "01" in hexadecimal to UKAKO to set it, and if it is no N, write 16 to the flag UKAKO.
Write ``00'' in the system to reset it. Then, when the flag UKAKO is set, the register whose most significant bit is "1" is checked among the registers UKKD1 to 61, the lowest note with the smallest key number is searched, and the key number of this lowest note is registered. Set to MELL. Thereafter, it is checked whether the register MODE is not "00" in hexadecimal to determine whether it is the additional sound mode, and if it is not the additional sound mode, the process returns to the above-mentioned scanning and information acquisition process. On the other hand, when there is a change in the lower keyboard LK, the key information (on or off data and key number data) of the changed key is sent to the LK sound interface 24.
Output to. After this, register LKKD1~61
Check the most significant bit of LK to determine if any key is on, and if yes, flag
Write "01" in hexadecimal to LKAKO to put it in the set state, and if no, write "00" in hexadecimal to the flag LKAKO to put it in the reset state. Then, when the flag LKAKO is set, the pitch name related flag NF is set to "1" for those whose most significant bits are "1" among LKKD1 to LKKD61 and those whose pitch names are the same. Thereafter, as in the case of the UK branch described above, it is determined whether the additional sound mode is selected, and if it is not the additional sound mode, the processing returns to the above-described scanning and information acquisition process. By the way, if it is determined that the mode is the additional sound mode (register MODE is not "00" in hexadecimal) in the above-mentioned determination of the additional sound mode, the process moves to the subroutine shown in FIG. 4 to form the additional sound. If it is possible to form two-tone additional tone key data, it is formed and written to buffer registers BF-0 and BF-1. Then, after outputting the additional tone key data in registers BF-0 and BF-1 to the UK tone interface 22, the process returns to the above-described scanning and information acquisition process. Next, with reference to FIG. 4, the flow of processing of a subroutine for forming additional sounds will be explained. First, write to buffer registers BF-0 and BF-1.
Write "00" in hexadecimal to clear the register. Then, by checking whether the flag LKAKO is "00" in hexadecimal, it is determined whether all keys of LK are off, and if YES, it is impossible to form additional tones, so the process ends. Also, if all LK keys are not off, the flag
Check whether UKAKO is "00" in hexadecimal and determine whether all keys of UK are off. If yes, no additional notes can be formed, so the process ends. Like this LK all keys off or UK
If additional tones cannot be generated because all keys are off, buffer registers BF-0 and BF-1 remain cleared and no additional tones are generated. Here, assuming that all keys of LK and UK are not turned off, the key number data of the lowest tone of UK is written from the key number register MELL to the A register included in the central processing unit 10. After this, the process moves on to determining which range the lowest UK note belongs to, and setting different note intervals for each range according to the determination result.The note interval values for each range are predetermined as shown in the table below. There is.

【表】 ここで、第1の音間隔値はUK最低音と第1付
加音との間の音間隔を示すもので、第2の音間隔
値は第1付加音と第2付加音との間の音間隔を示
すものである。 音域判定においては、まず、Aレジスタの値が
F5# のキーナンバ43より大か調べることによ
りUK最低音がF5# より上か判定する。この判定
の結果、イエスYであればG5〜C7の音域なので
レジスタINT1及びINT2にいずれも7を示す
音間隔データを書込む。また、判定結果がノーN
であれば他の2つの音域のいずれかに属するか明
らかにするためAレジスタの値がE4のキーナン
バ29より大か調べることによりUK最低音がE4
より上か判定する。この判定の結果、イエスYで
あればF4〜F5# の音域なのでレジスタINT1に
は7を示す音間隔データを且つレジスタINT2
には3を示す音間隔データをそれぞれ書込む。ま
た、判定結果がノーNであればC2〜E4の音域な
のでレジスタINT1及びINT2にいずれも3を
示す音間隔データを書込む。 このような音間隔データの書込みの後は、Aレ
ジスタの値からレジスタINT1の値を引く。こ
れは、第1付加音をUK最低音よりレジスタINT
1の値に相当する分以上低くするためである。 次に、減算後のAレジスタの内容が負又は0で
あるか調べてUK鍵域外か判定する。この判定の
結果、UK鍵域外であれば付加音形成不能なので
前述したと同様に付加音は発生されない。 次に、Aレジスタの内容をYレジスタに移す。
このYレジスタは中央処理装置10内に設けられ
ているものである。この後、第2図に示すレジス
タLKKD1〜LKKD61のうち、基準アドレス
LADにYレジスタの値を加算したものに相当す
るアドレスのレジスタからAレジスタにLKキー
データを取込む。 次に、Aレジスタの最下位ビツトを調べて音名
関連フラグNFが“1”か判定する。この結果、
ノーNならばYレジスタの値から1を引き、アド
レスを1鍵分低音側に変更する。そして、Yレジ
スタの内容が負又は0であるか調べて鍵域外か判
定し、ノーNならば前述したようなLKキーデー
タ取込み処理に戻り、音名関連フラグNF=“1”
が発見されるまで同様の動作を繰りかえす。な
お、Yレジスタの値から1を引いた後の鍵域外か
の判定でイエスYとなつたならば、前述したと同
様に付加音形成不能として処理を終る。 一方、音名関連フラグNFが“1”かの判定で
イエスYになるものとすると、Yレジスタかから
バツフアレジスタBF―0にキーナンバデータを
書込む。このときにBF―0に書込まれるキーナ
ンバデータが1音目の付加音キーデータとなるも
のである。 次に、Yレジスタの内容をAレジスタに移した
後、Aレジスタの値からレジスタINT2の値を
引く。これは第2付加音を第1付加音よりレジス
タINT2の値に相当する分以上低くするためで
ある。この後、前述したと同様に鍵域外か判定
し、ノー―NならばAレジスタの内容をYレジス
タに移す。そして、前述したと同様にして、Aレ
ジスタにLKキーデータを取込み、音名関連フラ
グNFが“1”か判定し、その結果がノーNなら
ばYレジスタの値から1を引き、さららに鍵域外
か判定してノーNならばLKキーデータ取込み処
理に戻り、NF=“1”が発見されるまで同様の
動作を繰りかえす。 一方、音名関連フラグNFが“1”かの判定で
イエスYになるものとすると、Yレジスタからバ
ツフアレジスタBF―1にキーナンバデータを書
込む。このときにBF―1に書込まれるキーナン
バデータが2音目の付加音キーデータとなるもの
である。 上記のようにしてバツフアレジスタBF―0及
びBF―1に書込まれた付加音キーデータは第3
図の付加音キーデータ出力処理によつてUK音イ
ンターフエース22に供給されるので、トーンジ
エネレータ32はUK音信号として、UKでの押
鍵に対応した音信号の他に付加音キーデータに対
応した音信号を発生する。 上記した実施例によれば、UK最低音がどの音
域に属するかによつてレジスタINT1及びINT
2にセツトすべき音間隔を変更したので、例えば
UK低音がC2〜E4の低音域に属する場合は、UK
最低音に対して3鍵分以上低い第1付加音と、こ
の第1付加音に対して3鍵分以上低い第2付加音
とが発生される。ただし、この場合において、鍵
域外と判定された付加音が発生されないことは勿
論である。また、UK最低音がF4〜F5# の中音域
に属する場合には、UK最低音に対して7鍵分以
上低い第1付加音と、この第1付加音に対して3
鍵分以上低い第2付加音とが発生される。さら
に、UK最低音がG5〜G7の高音域に属する場合に
は、UK最低音に対して7鍵分以上低い第1付加
音と、この第1付加音に対して7鍵分以上低い第
2付加音とが発生される。 なお、上記実施例では、音間隔として3半音及
び7半音を採用したが、他の5半音等を採用する
こともできる。また、音色により音間隔を異なら
せてもよい。さらに、鍵盤は、2段式のものに限
らず、1段鍵盤をメロデイ鍵域と伴奏鍵域に分け
たものでもよい。 以上のように、この発明によれば、メロデイ音
の属する音域によつてメロデイ音と付加音との間
の音間隔を異ならせ、高音域ではオープン気味に
付加音を付け且つ低音域ではクローズ気味に付加
音を付けたので、全音域において十分美しいハー
モニーが得られるものである。
[Table] Here, the first note interval value indicates the note interval between the UK lowest note and the first additional note, and the second note interval value indicates the note interval between the first additional note and the second additional note. This indicates the interval between sounds. When determining the range, first, the value of the A register is
It is determined whether the UK lowest note is above F 5 # by checking whether it is greater than key number 43 of F 5 #. If the result of this determination is YES, the tone range is G 5 to C 7 , so tone interval data indicating 7 is written in both registers INT1 and INT2. Also, the judgment result is No N.
If so, in order to find out whether it belongs to one of the other two ranges, check whether the value of the A register is greater than the key number 29 of E 4 , so that the lowest UK note is E 4 .
Determine if it is higher. If the result of this judgment is YES, the range is F 4 to F 5 #, so note interval data indicating 7 is stored in register INT1, and register INT2 is
The tone interval data indicating 3 is written in each of the fields. Moreover, if the determination result is NO, the tone interval data indicating 3 is written in registers INT1 and INT2, since the tone range is C2 to E4 . After writing such tone interval data, the value in register INT1 is subtracted from the value in register A. This changes the first additional note to the register INT from the lowest UK note.
This is to lower the value by at least an amount corresponding to the value of 1. Next, it is checked whether the content of the A register after the subtraction is negative or 0 to determine whether it is outside the UK key range. As a result of this determination, since additional tones cannot be formed outside the UK key range, no additional tones are generated as described above. Next, the contents of the A register are moved to the Y register.
This Y register is provided within the central processing unit 10. After this, one of the registers LKKD1 to LKKD61 shown in FIG.
Load the LK key data into the A register from the register whose address corresponds to LAD plus the value of the Y register. Next, the least significant bit of the A register is checked to determine whether the note name related flag NF is "1". As a result,
If no, subtract 1 from the value of the Y register and change the address by one key to the bass side. Then, it is checked whether the content of the Y register is negative or 0 to determine whether it is outside the key range, and if no, the process returns to the LK key data import process as described above, and the note name related flag NF = "1".
Repeat the same operation until it is discovered. Incidentally, if YES is determined as Y after subtracting 1 from the value of the Y register as to whether the key is outside the key range, the processing ends as the additional tone cannot be formed, as described above. On the other hand, if the determination as to whether the note name related flag NF is "1" is YES Y, key number data is written from the Y register to the buffer register BF-0. The key number data written to BF-0 at this time becomes the additional note key data for the first note. Next, after moving the contents of the Y register to the A register, the value of register INT2 is subtracted from the value of the A register. This is to make the second additional sound lower than the first additional sound by an amount corresponding to the value of register INT2. Thereafter, it is determined whether the key is outside the key range in the same manner as described above, and if no, the contents of the A register are transferred to the Y register. Then, in the same manner as described above, load the LK key data into the A register, determine whether the note name related flag NF is "1", and if the result is no N, subtract 1 from the value of the Y register, and then input the key data. If it is determined that it is out of range and the result is NO, the process returns to the LK key data import process and the same operation is repeated until NF="1" is found. On the other hand, if the determination as to whether the note name related flag NF is "1" is YES Y, key number data is written from the Y register to the buffer register BF-1. The key number data written to BF-1 at this time becomes the additional sound key data for the second sound. The additional sound key data written to the buffer registers BF-0 and BF-1 as described above is the third
Since the additional sound key data output processing shown in the figure is supplied to the UK sound interface 22, the tone generator 32 outputs the additional sound key data as a UK sound signal in addition to the sound signal corresponding to the UK key press. Generates a corresponding sound signal. According to the embodiment described above, registers INT1 and INT are set depending on which range the UK lowest note belongs to.
Since we changed the note interval to be set to 2, for example
If the UK bass belongs to the bass range from C 2 to E 4 , then UK
A first additional note that is three keys or more lower than the lowest note, and a second additional note that is three keys or more lower than the first additional note are generated. However, in this case, it goes without saying that the additional sound determined to be outside the key range will not be generated. In addition, if the lowest UK note belongs to the midrange range of F 4 to F 5 #, the first additional note that is at least 7 keys lower than the UK lowest note, and the 3rd additional note that is lower than the first additional note
A second additional tone that is lower than the key is generated. Furthermore, if the lowest UK note belongs to the treble range of G 5 to G 7 , the first additional note is at least 7 keys lower than the UK lowest note, and the first additional note is at least 7 keys lower than this first additional note. A second additional sound is generated. In the above embodiment, 3 semitones and 7 semitones are used as the tone intervals, but other values such as 5 semitones may also be used. Furthermore, the tone interval may be made different depending on the tone color. Further, the keyboard is not limited to a two-stage keyboard, but may be one in which a single-stage keyboard is divided into a melody key area and an accompaniment key area. As described above, according to the present invention, the sound interval between the melody sound and the additional sound is made different depending on the range to which the melody sound belongs, and the additional sound is added in a slightly open manner in the high range, and a closed sound in the low range. By adding an additional sound to the top, a beautiful harmony can be obtained in the entire range.

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

第1図は、この発明の一実施例による電子楽器
のブロツク図、第2図は、ワーキングエリア内の
レジスタ配置を示す図、第3図は、メインルーチ
ンのフローチヤート、第4図は、付加音形成のた
めのサブルーチンのフローチヤートである。 10……中央処理装置、28……上鍵盤、30
……下鍵盤、32……上鍵盤用トーンジエネレー
タ、38……下鍵盤用トーンジエネレータ、MS
……付加音モードスイツチ、BF―0,BF―1…
…付加音キーデータ用バツフアレジスタ、INT
1,INT2……音間隔データレジスタ。
Fig. 1 is a block diagram of an electronic musical instrument according to an embodiment of the present invention, Fig. 2 is a diagram showing the arrangement of registers in the working area, Fig. 3 is a flowchart of the main routine, and Fig. 4 is an additional This is a flowchart of a subroutine for sound formation. 10...Central processing unit, 28...Upper keyboard, 30
...Lower keyboard, 32...Tone generator for upper keyboard, 38...Tone generator for lower keyboard, MS
...Additional sound mode switch, BF-0, BF-1...
…Buffer register for additional sound key data, INT
1, INT2...Sound interval data register.

Claims (1)

【特許請求の範囲】 1 (a) メロデイ用の第1鍵域と、 (b) 伴奏用の第2鍵域と、 (c) 前記第1鍵域で押された鍵が予め定められた
複数の音域のいずれに属するか判定する判定手
段と、 (d) 前記第1鍵域で押された鍵に対応する楽音と
この楽音に付加して発生すべき付加音との間の
音間隔を前記判定手段での判定結果に応じて指
定する指定手段であつて、該音間隔としては、
前記判定手段で前記複数の音域のうち高音域に
属すると判定されたときは比較的大きな音間隔
を指定すると共に低音域に属すると判定された
ときは比較的小さな音間隔を指定するものと、 (e) 前記第1鍵域で押された鍵に対応する楽音か
らは前記指定手段で指定された音間隔に相当す
る分以上へだたり且つ前記第2鍵域で押された
鍵とは音名で関連するように前記付加音の音高
を指定する音高指定手段と、 (f) 前記第1鍵域で押された鍵に対応する楽音信
号を発生すると共に、前記音高指定手段で指定
された音高を有する付加音信号を発生する楽音
発生手段と、 をそなえた電子楽器。 2 (a) メロデイ用の第1鍵域と、 (b) 伴奏用の第2鍵域と、 (c) 前記第1鍵域で押された鍵が予め定められた
複数の音域のいずれに属するか判定する判定手
段と、 (d) 前記第1鍵域で押された鍵に対応する楽音と
この楽音に付加して発生すべき第1及び第2の
付加音のうち第1の付加音との間の第1の音間
隔と、該第1及び第2の付加音間の第2の音間
隔とを前記判定手段での判定結果に応じて指定
する指定手段であつて、該第1及び第2の音間
隔としては、前記判定手段で前記複数の音域の
うち高音域に属すると判定されたときは比較的
大きな音間隔を指定すると共に低音域に属する
と判定されたときは比較的小さな音間隔を指定
するものと、 (e) 前記第1鍵域で押された鍵に対応する楽音か
らは前記指定手段で指定された第1の音間隔に
相当する分以上へだたり且つ前記第2鍵域で押
された鍵とは音名で関連するように前記第1の
付加音の音高を指定する第1の音高指定手段
と、 (f) 前記第1の付加音からは前記指定手段で指定
された第2の音間隔に相当する分以上へだたり
且つ前記第2鍵域で押された鍵とは音名で関連
するように前記第2の付加音の音高を指定する
音高指定手段と、 (g) 前記第1鍵域で押された鍵に対応する楽音信
号を発生すると共に、前記第1及び第2の音高
指定手段でそれぞれ指定された音高を有する第
1及び第2の付加音信号を発生する楽音発生手
段と をそなえた電子楽器。
[Scope of Claims] 1 (a) a first key range for melody; (b) a second key range for accompaniment; and (c) a predetermined plurality of keys pressed in the first key range. (d) determination means for determining to which of the tonal ranges the tones belong; A designation means that specifies according to the determination result of the determination means, and the sound interval is:
When the determining means determines that the sound belongs to a high range of the plurality of sound ranges, a relatively large sound interval is designated, and when it is determined that the sound belongs to a low sound range, a relatively small sound interval is designated; (e) The musical tone corresponding to the key pressed in the first key range deviates from the note by an amount corresponding to the note interval specified by the specifying means, and the note corresponds to the key pressed in the second key range. (f) generating a musical tone signal corresponding to a key pressed in the first key range; An electronic musical instrument comprising: musical tone generating means for generating an additional sound signal having a specified pitch; 2. (a) a first key range for melody; (b) a second key range for accompaniment; and (c) to which of a plurality of predetermined ranges does the key pressed in the first key range belong? (d) a musical tone corresponding to a key pressed in the first key range and a first additional tone among first and second additional tones to be generated in addition to the musical tone; and a second sound interval between the first and second additional sounds, the designation means for specifying a first sound interval between the first sound interval and the second sound interval between the first and second additional sounds according to a determination result by the determination means, As the second note interval, when the determining means determines that the note belongs to the high range of the plurality of note ranges, a relatively large note interval is specified, and when it is determined that the note belongs to the low note range, a relatively small note interval is specified. (e) a tone that deviates from the musical tone corresponding to the key pressed in the first key range by an amount equal to or more than the first tone interval specified by the specifying means; (f) first pitch specifying means for specifying the pitch of the first additional note so that it is related to the key pressed in the second key range by pitch name; Specify the pitch of the second additional note so that it deviates by more than a minute corresponding to the second note interval specified by the specifying means and is related by note name to the key pressed in the second key range. (g) generating a musical tone signal corresponding to a key pressed in the first key range, and having a pitch specified by the first and second pitch specifying means, respectively; An electronic musical instrument comprising musical tone generating means for generating first and second additional tone signals.
JP57179393A 1982-10-13 1982-10-13 Electronic musical instrument Granted JPS5968787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57179393A JPS5968787A (en) 1982-10-13 1982-10-13 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57179393A JPS5968787A (en) 1982-10-13 1982-10-13 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS5968787A JPS5968787A (en) 1984-04-18
JPH0160838B2 true JPH0160838B2 (en) 1989-12-26

Family

ID=16065076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57179393A Granted JPS5968787A (en) 1982-10-13 1982-10-13 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5968787A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2531068B2 (en) * 1992-10-27 1996-09-04 ヤマハ株式会社 Melody added sound control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52104219A (en) * 1976-02-27 1977-09-01 Nippon Gakki Seizo Kk Electronic musical instrument
US4311076A (en) * 1980-01-07 1982-01-19 Whirlpool Corporation Electronic musical instrument with harmony generation

Also Published As

Publication number Publication date
JPS5968787A (en) 1984-04-18

Similar Documents

Publication Publication Date Title
JP3177374B2 (en) Automatic accompaniment information generator
US5406022A (en) Method and system for producing stereophonic sound by varying the sound image in accordance with tone waveform data
US4429606A (en) Electronic musical instrument providing automatic ensemble performance
JP2645181B2 (en) Electronic musical instrument channel assignment device and channel assignment method
JPH0675564A (en) Electronic musical instrument
US5302776A (en) Method of chord in electronic musical instrument system
JP2629891B2 (en) Music signal generator
JPH04277797A (en) Electronic musical instrument
JPH0160838B2 (en)
JP2623955B2 (en) Electronic musical instrument
JPS6086597A (en) Electronic musical instrument with musical scale setting function
JPH0160837B2 (en)
JP2961867B2 (en) Music signal generator
JPH0571958B2 (en)
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JP2000020063A (en) Electronic musical instrument
JP3139494B2 (en) Tone data conversion method
JP3661963B2 (en) Electronic musical instruments
JP3363962B2 (en) Electronic musical instrument
JPH04319999A (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instruments
JP3139492B2 (en) Tone data conversion method
JP3354047B2 (en) Code conversion device and electronic musical instrument equipped with the code conversion device
JPH0515279B2 (en)
JPH0736114B2 (en) Automatic accompaniment device
JP2001051681A (en) Automatic accompaniment information generator