JPH0160837B2 - - Google Patents
Info
- Publication number
- JPH0160837B2 JPH0160837B2 JP57179392A JP17939282A JPH0160837B2 JP H0160837 B2 JPH0160837 B2 JP H0160837B2 JP 57179392 A JP57179392 A JP 57179392A JP 17939282 A JP17939282 A JP 17939282A JP H0160837 B2 JPH0160837 B2 JP H0160837B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- additional
- tone
- data
- register
- 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
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
この発明は、メロデイ演奏の際に和音を付加的
メロデイとして自動的に演奏することのできる電
子楽器に関し、付加音の音域を制限したことによ
り聴感上好ましい効果が得られるようにしたもの
である。[Detailed Description of the Invention] The present invention relates to an electronic musical instrument that can automatically play chords as an additional melody when playing a melody, and by limiting the range of the additional sound, a favorable effect on hearing can be obtained. This is how it was done.
従来、付加的メロデイを発生しうる電子楽器と
しては、伴奏用鍵盤で押された複数鍵(例えば
C2、E2、G2)と音名(C2、E2、G2の場合はC、
E、G)を同じくする多数の音のうちから、メロ
デイ用鍵盤で押された鍵(例えばC6)の下1オ
クターブの範囲の音(C6の場合はC5、E5、G5)
を付加音として選択してメロデイ音(C6)と共
に発音させるようにしたものが知られている(例
えば特公昭53―17895号公報参照)。 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, with such electronic musical instruments, no matter which key is pressed on the melody keyboard,
As long as the additional note related to the pressed key is within the key range, it will be sounded, so if a key is pressed in the low range of the melody keyboard, in addition to the note corresponding to the pressed key, Multiple tones lower in pitch were pronounced as additional tones, which was not pleasing to the audible sense. In other words, a large number of extremely low tones were pronounced at the same time, creating a rumbling sound that was difficult to listen to. Further, such difficulty in listening often depends on the tone selected as the melody tone, and while it may not be so bad with certain tones, it may become extremely difficult to listen to with other tones.
この発明の目的は、付加的メロデイ音の発生に
関して聴感上不快感が生ずるのを防止した新規な
電子楽器を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a new electronic musical instrument that prevents audible discomfort caused by the generation of additional melody sounds.
この発明による電子楽器は、メロデイ音色とし
て選択される音色に応じて付加音の下限音高を定
めると共に該下限音高より低い付加音の発生を禁
止するようにしたことを特徴とするもので、以
下、添付図面に示す実施例について詳述する。 The electronic musical instrument according to the present invention is characterized in that a lower limit pitch of an additional sound is determined according to a tone selected as a melody tone, and generation of an additional sound lower than the lower limit pitch is prohibited, Hereinafter, embodiments shown in the accompanying drawings will be described in detail.
第1図は、この発明の一実施例による電子楽器
を示すもので、この電子楽器はマイクロコンピユ
ータの助けによつてメロデイ音、和音、付加的メ
ロデイ音等の発生が制御されるようになつてい
る。 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.
中央処理装置(CPU)10は、ROM(リー
ド・オンリイ・メモリ)からなるプログラムメモ
リ12にストアされたプログラムに従つて動作す
るもので、パネル14の各種のスイツチ(SW)、
すなわち音色スイツチ、フアンクシヨンスイツチ
(例えばオートベースコード、オートリズム等の
スイツチ)、付加音数指定スイツチMS2及びMS
3等をSW(スイツチ)インターフエース16を
介して走査して各スイツチの状態を検知し、検知
したスイツチ情報をRAM(ランダム・アクセ
ス・メモリ)からなるワーキングエリア18内の
レジスタに書込み、スイツチ状態に変化がある
と、ワーキングエリア18からバス20を介して
UK音インターフエース22及び/又はLK音イ
ンターフエース24にスイツチ情報を供給する。 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.
Namely, timbre switch, function switch (for example, auto bass chord, auto rhythm, etc. switch), additional note number designation switch MS2 and MS.
The state of each switch is detected by scanning the 3rd class via the SW (switch) interface 16, and the detected switch information is written to a register in the working area 18 consisting of RAM (random access memory) to check the switch state. When there is a change in the working area 18 via the bus 20
The switch information is provided to the UK sound interface 22 and/or the LK sound interface 24.
また、中央処理装置10は鍵インターフエース
26を介してメロデイ用の上鍵盤28及び伴奏用
の下鍵盤30を走査して各鍵の状態を検知し、検
知された鍵情報をワーキングエリア18内のレジ
スタに書込み、鍵状態に変化があると、ワーキン
グエリア18からバス20を介してUK音インタ
ーフエース22及び/又はLK音インターフエー
ス24に鍵情報を供給する。この場合、付加音数
指定スイツチMS2又はMS3がオンされている
と、中央処理装置10は、上鍵盤28からのキー
オン情報及び下鍵盤30からのキーオン情報(又
は下鍵盤用メモリからのキーオン情報)に基づい
て付加音情報を形成してワーキングエリア18内
のレジスタに書込み、しかる後バス20を介して
UK音インターフエース22に供給する。なお、
付加音数指定スイツチMS2及びMS3はそれれ
ぞれ2音及び3音の付加を指定するためのもので
ある。 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, if the number of additional notes specifying switch MS2 or MS3 is turned on, the central processing unit 10 generates key-on information from the upper keyboard 28 and key-on information from the lower keyboard 30 (or key-on information from the lower keyboard memory). The additional sound information is formed based on the information and written to a register in the working area 18, and then transmitted via the bus 20.
Supplied to UK sound interface 22. In addition,
The number of additional notes designating switches MS2 and MS3 are for specifying the addition of two notes and three notes, respectively.
UK音インターフエース22は、ワーキングエ
リア18からの上鍵盤に関する鍵情報及びスイツ
チ情報に基づいて上鍵盤用トーンジエネレータ
(UKTG)32にキーデータUKKD及び音色制御
データUCを供給するもので、トーンジエネレー
タ32はキーデータUKKD及び音色制御データ
UCに応じてUK音信号を形成し、出力アンプ3
4を介してスピーカ36に供給するようになつて
いる。また、UK音インターフエース22は、付
加音数指定スイツチMS2又はMS3が押されて
いる場合には、トーンジエネレータ32にキーデ
ータUKKDとして付加音キーデータをも供給す
るので、トーンジエネレータ32からはUK音信
号として付加音信号も送出される。 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. Further, when the additional tone number designation switch MS2 or MS3 is pressed, the UK sound interface 22 also supplies additional tone key data as key data UKKD to the tone generator 32, so that the tone generator 32 An additional sound signal is also sent out as a UK sound signal.
LK音インターフエース24は、ワーキングエ
リア18からの下鍵盤に関する鍵情報及びスイツ
チ情報に基づいて下鍵盤用トーンジエネレータ
(LKTG)38にキーデータLKKD及び音色制御
データLCを供給するもので、トーンジエネレー
タ38はキーデータLKKD及び音色制御データ
LCに応じてLK音信号を形成し、出力アンプ34
を介してスピーカ36に供給するようになつてい
る。 The LK sound interface 24 supplies key data LKKD and tone control data LC to a lower keyboard tone generator (LKTG) 38 based on key information and switch information regarding the lower keyboard from the working area 18. Nerator 38 is key data LKKD and tone control data
Forms an LK sound signal according to the LC and outputs it to the output amplifier 34.
The signal is supplied to the speaker 36 via the .
従つて、スピーカ36からは、上鍵盤28での
押鍵に対応したUK音(通常、メロデイ音)が発
音されると共に、下鍵盤30での押鍵に対応した
LK音(通常、和音)が発音され、さらに付加音
数指定スイツチMS2又はMS3を押した場合に
は2音又は3音の付加音が本来のUK音に対する
付加的メロデイとして発音される。 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 tone (usually a chord) is sounded, and if the additional note number designation switch MS2 or MS3 is further pressed, two or three additional notes are generated as an additional melody to the original UK note.
第2図は、ワーキングエリア18内のレジスタ
配置を示すもので、ここでは簡単のため、付加音
形成動作に関するもののみ取り上げ、他は各種レ
ジスタとして説明を省略する。 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〜UKKD61は、上鍵盤28のC2〜
C7の61鍵にそれぞれ対応したキーデータレジス
タであり、各レジスタのデータフオーマツトは
UKKD1について代表的に示すように1バイト
(8ビツト)のうち、最上位ビツト(MSB)が鍵
状態KS(キーオンならば“1”、キーオフならば
“0”)を示し、残余のビツトは不使用となつてい
る。ここで、UKKD1〜UKKD61を含むレジス
タ群について基準アドレスをUADとすると、
UKKD1、UKKD2…の各アドレスはUAD+
1、UAD+2…のように表わされる。 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 shown representatively 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...
また、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”となる。 Also, LKKD1 to LKKD61 are on the lower keyboard 30.
This is a key data register corresponding to each of the 61 keys from C 2 to C 7 , and the data format of each register is the most significant bit (MSB) of 1 byte (8 bits) as typically shown for LKKD1.
indicates the key status KS (“1” if the key is on, “0” if the key is off), the least significant bit (LSB) is the pitch name related flag NF, and the remaining bits are unused. Here, LKKD1 to LKKD61
LAD the reference address for the register group containing
Then, each address of LKKD1, LKKD2, etc. 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, C 2 , E 2 , G 2
When a key is pressed, all keys with the same note name C, E, G are C 2 , E 2 , G 2 ; C 3 , E 3 ,
G 3 ; Pitch name related flags corresponding to C 4 , E 4 , G 4 ...
NF becomes "1".
ところで、MELLは上鍵盤28で1鍵が押さ
れた場合にはその鍵のキーナンバを、また複数鍵
が同時に押された場合にはそのうちの最低音鍵の
キーナンバを書込むためのキーナンバレジスタで
ある。また、BF―0、BF―1、BF―2は付加
音キーナンバデータを書込むためのバツフアレジ
スタ、MODEは付加音数指定データレジスタで
あつて、2音付加の場合は16進で「01」が書込ま
れ、3音付加の場合は16進で「02」が書込まれる
もの、UKAKOで上鍵盤28でいずれかの鍵が
押されたことを示すUKエニーキーオンフラグ、
LKAKOは下鍵盤30でいずれかの鍵が押された
ことを示すLKエニーキーオンフラグである。な
お、キーナンバは上鍵盤28及び下鍵盤30のいず
れについてもC2鍵を1としてこれ以降順に、2、
3、4……を割当て、C7鍵を31としてある。 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. Also, BF-0, BF-1, and BF-2 are buffer registers for writing additional note key number data, and MODE is a data register for specifying the number of additional notes. 01" is written, and in the case of adding three notes, "02" is written in hexadecimal, the UK Any Key On flag which indicates that any key was pressed on the upper keyboard 28 in UKAKO,
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, 2, and 2, starting with the C 2 key as 1.
3, 4... are assigned, and the C7 key is set to 31.
次に、第3図を参照して、メインルーチンの処
理の流れを説明する。 Next, the flow of processing of the main routine will be explained with reference to FIG.
まず、電源スイツチ(図示せず)をオンとする
と、処理がスタートし、上下鍵盤UK、LKの走
査及びパネル14の各種スイツチSWの走査が行
なわれ、ワーキングエリア18のレジスタに鍵情
報及びスイツチ情報が取込まれる。そして、鍵状
態及びスイツチ状態に変化があるか判定され、変
化がなければ(ノーNならば)走査及び情報取込
みが繰りかえされる。 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 and switch information are stored in the register in the working area 18. is taken in. 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.
ここで、鍵状態又はスイツチ状態に変化があつ
た(判定結果がイエスYとなつた)ものとする
と、イベント種類SW、UK、LKに応じて分岐し
た処理に移る。 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.
例えばスイツチ状態に変化があつた場合には、
UK、LK音色スイツチの変化か判定され、イエ
スYならばUK、LK音色スイツチ情報をインタ
ーフエース22,24を介してそれぞれのトーン
ジエネレータ32,38に出力する。この場合、
UK音色スイツチに変化があつたときは、新たに
選択されたUK音色に対応する限界キーナンバを
ワーキングエリア18内の限界キーレジスタ(図
示せず)にセツトする。なお、限界キーナンバ
は、選択可能な各UK音色毎に付加音の下限音高
より1鍵分低いキーナンバが予め定められてい
る。 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. in this case,
When the UK timbre switch changes, a limit key number corresponding to the newly selected UK timbre is set in a limit key register (not shown) in the working area 18. Note that the limit key number is predetermined as a key number that is one key lower than the lower limit pitch of the additional tone for each selectable UK tone.
また、付加音数指定スイツチMS2又はMS3
の変化であつた場合には、バツフアレジスタBF
―0〜BF―2に16進で「00」を書込み、同レジ
スタをクリアした後、BF―0〜BF―2の内容を
UK音インターフエース22を介してトーンジエ
ネレータ32に出力する。この結果、トーンジエ
ネレータ32の付加音キーデータはクリアされる
ことになり、付加音が非発音の状態であつたなら
ばその非発音状態が継続されるし、付加音が発音
中であつたならば発音を停止される。 In addition, the number of additional notes can be specified by switch MS2 or MS3.
If there is a change in buffer register BF
- Write "00" in hexadecimal to 0 to BF-2, clear the register, and then write the contents of BF-0 to BF-2.
It is output to the tone generator 32 via the UK sound interface 22. As a result, the additional sound key data of the tone generator 32 is cleared, and if the additional sound was in a non-pronunciation state, the non-pronunciation state will continue, and if the additional sound is in the production state, the non-pronunciation state will continue. If so, the pronunciation 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.
一方、上鍵盤UKに変化があつた場合には、変
化のあつた鍵の鍵情報(オン又はオフデータとキ
ーナンバデータ)をUK音インターフエース22
に出力する。この後、レジスタUKKD1〜61
の最上位ビツトをチエツクすることによりUKエ
ニーキーーオンか判定し、イエスYならばフラグ
UKAKOに16進で「01」を書込んで、これをセ
ツト状態にし、ノーNならばフラグUKAKOに
16進で「00」を書込んで、これをリセツト状態に
する。そして、フラグUKAKOをセツト状態に
した場合には、次にレジスタUKKD1〜61の
うち最上位ビツト=“1”のものをチエツクして
キーナンバをレジスタMELLにセツトする。こ
の後、レジスタMODEが16進で「00」でないか
チエツクして付加音モードか判定し、付加音モー
ドでなければ前述の走査及び情報取込み処理に戻
る。 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 no, set flag UKAKO.
Write "00" in hexadecimal to reset it. When the flag UKAKO is set, the most significant bit of the registers UKKD1-61 is checked and the key number is set in the register 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.
他方、下鍵盤LKに変化があつた場合には、変
化のあつた鍵の鍵情報(オン又はオフデータとキ
ーナンバデータ)をLK音インターフエース24
に出力する。この後、レジスタLKKD1〜61
の最上位ビツトをチエツクすることによりLKエ
ニーキーオンか判定し、イエスYならばフラグ
LKAKOに16進で「01」を書込んで、これをセツ
ト状態にし、ノーNならばフラグLKAKOに16進
で「00」を書込んで、これをリセツト状態にす
る。そして、フラグLKAKOをセツト状態にした
場合には、次にLKKD1〜61のうち最上位ビ
ツト=“1”のもの及びこれと音名同一のものに
ついて音名関連フラグNFを“1”にする。この
後、前述のUK分岐の場合と同様に付加音モード
か判定し、付加音モードでなければ前述の走査及
び情報取込み処理に戻る。 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
Determine whether LK any key is on by checking the most significant bit of
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 process returns to the above-described scanning and information acquisition processing.
ところで、前述の付加音モードかの判定におい
て付加音モードである(レジスタMODEは16進
で「00」でない)と判定された場合には、付加音
形成のために第4図のサブルーチンに移り、2音
又は3音の付加音キーデータを形成可能ならばこ
れを形成してバツフアレジスタBF―0〜BF―2
に書込む。そして、レジスタBF―0〜BF―2の
付加音キーデータをUK音インターフエース22
に出力してから、前述の走査及び情報取込み処理
に戻る。 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 2-note or 3-note additional note key data, create it and send it to buffer registers BF-0 to BF-2.
write to. Then, the additional sound key data of registers BF-0 to BF-2 is transferred to the UK sound interface 22.
After that, the process returns to the scanning and information acquisition process described above.
次に、第4図を参照して、付加音形成のための
サブルーチンの処理の流れを説明する。 Next, with reference to FIG. 4, the flow of processing of a subroutine for forming additional sounds will be explained.
まず、バツフアレジスタBF―0〜BF―2に16
進で「00」を書込み、同レジスタをクリアする。
そして、フラグLKAKOが16進で「00」か調べる
ことにより、LKの全鍵がオフか判定し、イエス
Yならば付加音形成不能なので処理を終る。ま
た、LK全鍵オフでない場合には、フラグ
UKAKOが16進で「00」か調べてUKの全鍵がオ
フか判定し、イエスYならば付加音形成不能なの
で処理を終る。このようにLK全鍵オフ又はUK
全鍵オフのために付加音形成不能な場合にはバツ
フアレジスタBF―0〜BF―2がクリアされたま
まなので付加音は発生されない。 First, 16 in the buffer register BF-0 to BF-2.
Write "00" in decimal 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 to BF-2 remain cleared and no additional tones are generated.
ここで、LK及びUKのいずれも全鍵オフでな
いとすると、中央処理装置10に含まれるAレジ
スタにキーナンバレジスタMELLからUK最低音
のキーナンバデータを書込む。そして、Aレジス
タの値から3を引く。これは、第1付加音をUK
最低音より3鍵分以上低くするためである。 Here, assuming that all keys of LK and UK are not turned off, the key number data of the lowest note of UK is written from the key number register MELL to the A register included in the central processing unit 10. Then, subtract 3 from the value of the A register. This changes the first additional sound to UK
This is to make the pitch three keys or more lower than the lowest note.
次に、減算後のAレジスタの内容が負又は0で
あるか調べてUK鍵域外か判定する。。この判定
の結果、UK鍵域外であれば付加音形成不能なの
で前述したと同様に付加音は発生されない。 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.
次に、Aレジスタの内容をYレジスタに移す。
このYレジスタは中央処理装置10内に設けられ
ているものである。この後、第2図に示すレジス
タLKKD1〜LKKD61のうち、基準アドレス
LADにYレジスタの値を加算したものに相当す
るアドレスのレジスタからAレジスタにLKキー
データを取込む。 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.
次に、Aレジスタの最下位ビツトを調べて音名
関連フラグNFが“1”か判定する。この結果、
ノーNならばYレジスタの値から1を引き、アド
レスを1鍵分低音側に変更する。そして、Yレジ
スタの内容が負又は0であるか調べて鍵域外か判
定し、ノーNならば前述したようなLKキーデー
タ取込み処理に戻り、音名関連フラグNF=“1”
が発見されるまで同様の動作を繰りかえす。な
お、Yレジスタの値から1を引いた後の鍵域外か
の判定でイエスYとなつたならば、前述したと同
様に付加音形成不能として処理を終る。 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.
一方、音名関連フラグNFが“1”かの判定で
イエスYになるものとすると、Yレジスタからバ
ツフアレジスタBF―0にキーナンバデータを書
込む。このときにBF―0に書込まれるキーナン
バデータが1音目の付加音キーデータとなるもの
である。 On the other hand, if the determination as to whether the pitch 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.
次に、Yレジスタの内容をAレジスタに移した
後、Aレジスタの値から3を引く。これは第2付
加音を第1付加音より3鍵分以上低くするためで
ある。この後、前述したと同様に鍵域外か判定
し、ノーNならばAレジスタの内容をYレジスタ
に移す。そして、前述したと同様にして、Aレジ
スタにLKキーデータを取込み、音名関連フラグ
NFが“1”か判定し、その結果がノーNならば
Yレジスタの値から1を引き、さらに鍵域外か判
定してノーNならばLKキーデータ取込み処理に
戻り、NF=“1”が発見されるまで同様の動作
を繰りかえす。 Next, after moving the contents of the Y register to the A register, 3 is subtracted from the value of the A register. This is to make the second additional note lower than the first additional note by three keys or more. 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 way as described above, import the LK key data into the A register and set the note name related flag.
Determine whether NF is "1", and if the result is No-N, subtract 1 from the value of the Y register, further determine if it is outside the key range, and if No-N, return to the LK key data import process, and if NF = "1" Repeat the same action until it is discovered.
一方、音名関連フラグNFが“1”かの判定で
イエスYになるものとすると、Yレジスタの値が
限界キーレジスタの限界キーナンバより大か調べ
て付加音の下限音高以上か判定する。限界キーレ
ジスタには、前述のように選択されたメロデイ音
色に対応する限界キーナンバがセツトされてお
り、この限界キーナンバが例えば16であるとする
と、Yレジスタの値が16より大か調べることによ
つてE3音(キーナンバ17)以上か判定し、そ
の結果ノーNならば処理を終る。この結果、E3
音より低い第2付加音の発生は禁止されたことに
なる。これに対して、E3音以上であつた場合に
は、YレジスタからバツフアレジスタBF―1に
キーナンバデータを書込む。このときにBF―1
に書込まれるキーナンバデータが2音目の付加音
キーデータとなるものである。 On the other hand, if the determination as to whether the pitch name related flag NF is "1" is YES Y, it is checked whether the value of the Y register is greater than the limit key number of the limit key register and it is determined whether the value is greater than or equal to the lower limit pitch of the additional sound. The limit key number corresponding to the selected melody tone is set in the limit key register as described above, and if this limit key number is, for example, 16, it is possible to determine whether the value of the Y register is greater than 16. Then, it is determined whether or not there are three E notes (key number 17) or more, and if the result is NO, the process ends. This results in E 3
This means that the generation of the second additional sound that is lower than the original sound is prohibited. On the other hand, if the number is E3 or more, key number data is written from the Y register to the buffer register BF-1. At this time, BF-1
The key number data written in becomes the second additional sound key data.
次に、レジスタMODEが16進で「02」か調べ
ることによつて付加音数が3か判定し、、ノーN
ならば処理を終るが、イエスYならばYレジスタ
の内容をAレジスタに移す。そして、Aレジスタ
の値から3を引く。これは、第3付加音を第2付
加音より3鍵分以上低くするためである。この
後、前述したと同様に鍵域外か判定し、ノーNな
らばAレジスタの内容をYレジスタに移す。そし
て、前述したと同様にして、AレジスタにLKキ
ーデータを取込み、音名関連フラグNFが“1”
か判定し、その結果がノーNならばYレジスタの
値から1を引き、さらに鍵域外から判定してノー
NならばLKキーデータ取込み処理に戻り、NF
=“1”が発見されるまで同様の動作を繰りかえ
す。 Next, it is determined whether the number of additional notes is 3 by checking whether the register MODE is "02" in hexadecimal.
If so, the process ends, but if YES, Y, the contents of the Y register are moved to the A register. Then, subtract 3 from the value of the A register. This is to make the third additional note lower than the second additional note by three keys or more. 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, the LK key data is loaded into the A register, and the note name related flag NF is set to "1".
NF
The same operation is repeated until ="1" is found.
一方、音名関連フラグNFが“1”かの判定で
イエスYになるものとすると、前述したと同様に
Yレジスタの値が限界キーレジスタの限界キーナ
ンバより大か調べ、付加音の下限音高以上か判定
する。例えば、限界キーレジスタの限界キーナン
バが16であつたときは、E3以上か判定してノー
NならばE3音より低い第3付加音の発生を禁止
し、イエスYならばYレジスタからバツフアレジ
スタBF―2にキーナンバデータを書込む。この
ときにEF―2に書込まれるキーナンバデータが
3音目の付加音キーデータとなるものである。 On the other hand, if the judgment result is yes Y if the note name related flag NF is "1", check whether the value of the Y register is greater than the limit key number of the limit key register in the same way as described above, and Determine if it is above. For example, if the limit key number of the limit key register is 16, it will be determined whether it is E 3 or higher, and if no, the generation of the third additional note lower than the E 3 note will be prohibited, and if yes, it will be removed from the Y register. Write the key number data to the front register BF-2. The key number data written to EF-2 at this time becomes the additional note key data for the third note.
上記のようにしてバツフアレジスタBF―0〜
BF―2に書込まれた付加音キーデータは第3図
の付加音キーデータ出力処理によつてUK音イン
ターフエース22に供給されるので、トーンジエ
ネレータ32はUK音信号として、UKでの押鍵
に対応した音信号の他に付加音キーデータに対応
した音信号を発生する。 As above, buffer register BF-0~
The additional sound key data written in BF-2 is supplied to the UK sound interface 22 through the additional sound key data output processing shown in FIG. 3, so the tone generator 32 outputs the UK sound signal as a UK sound signal. In addition to the sound signal corresponding to the pressed key, a sound signal corresponding to the additional sound key data is generated.
一例として、UKでC6鍵を押し且つLKでC―
E―Gの和音(どのオクターブのものでもよい)
を押した場合、スイツチMS2がオンならばC6音
と共にG5及びE5の付加音が発生され、スイツチ
MS3がオンならばC6音と共にG5、E5、C5の付加
音が発生される。また、UKでC4鍵を押し且つ
LKでC―E―Gの和音を押した場合において、
スイツチMS3をオンしてあつたならば、この発
明の鍵域制限手段を設けなければ付加音として
G3、E3、C3が発音されるはずであるが、この発
明ではE3音より低い付加音の発生を禁止したの
でC3音は発音されない。さらに、UKでG2鍵を押
し且つLKでC―E―Gの和音を押した場合にお
いて、スイツチMS2をオンしてあつたならば、
E2音のみ第1付加音として発音され、第2付加
音としてのC2音はE3未満なので発音を禁止され
る。この場合、スイツチMS2の代りにMS3を
オンしてあつたならば、C2音はE3未満として発
音を禁止され、G1音は鍵域外ということで発音
されない。 As an example, press the C 6 key in UK and C- in LK.
E-G chord (any octave is fine)
When you press , if switch MS2 is on, additional sounds of G 5 and E 5 will be generated along with the C 6 sound, and the switch will be pressed.
If MS3 is on, additional tones of G 5 , E 5 , and C 5 are generated along with the C 6 tone. Also, press the C 4 key in UK and
When pressing the C-E-G chord on LK,
If the switch MS3 is turned on, if the key range restriction means of this invention is not provided, it will be used as an additional sound.
G 3 , E 3 , and C 3 are supposed to be sounded, but in this invention, the generation of additional sounds lower than the E 3 sound is prohibited, so the C 3 sound is not produced. Furthermore, if you press the G 2 key in UK and the C-E-G chord in LK, if switch MS2 is turned on,
Only the E2 sound is pronounced as the first additional sound, and the C2 sound as the second additional sound is prohibited from being produced since it is less than E3 . In this case, if switch MS3 is turned on instead of MS2, the C2 note will be prohibited from being produced as it is less than E3 , and the G1 note will not be produced because it is outside the key range.
なお、上記実施例において、メロデイ音と第1
付加音、第1付加音と第2付加音、第2付加音と
第3付加音の各々の間における音間隔を3半音と
したが、これは5半音あるいは7半音等にしてオ
ープンハーモニーを実現することも可能である。
また、各々の音間隔を互いに異ならせてもよい。 In addition, in the above embodiment, the melody sound and the first
The interval between each of the additional notes, the first and second added notes, and the second and third added notes was set to 3 semitones, but this could be changed to 5 or 7 semitones to achieve open harmony. It is also possible to do so.
Furthermore, the intervals between each sound may be made different from each other.
さらに、鍵盤は2段式のものに限らず、1段鍵盤
をメロデイ鍵域と伴奏鍵域に分けたものでもよ
い。Furthermore, the keyboard is not limited to a two-level keyboard, but may be one in which a single-level keyboard is divided into a melody key area and an accompaniment key area.
以上のように、この発明によれば、選択された
メロデイ音色に応じて付加音の下限音高を指定す
ると共に該下限音高より低い付加音の発生を禁止
するようにしたので、選択された音色毎に非常に
聴きづらい低い付加音の発生を未然に防止でき、
聴感上の不快感をなくせる効果が得られるもので
ある。 As described above, according to the present invention, the lower limit pitch of the additional sound is specified according to the selected melody tone, and the generation of additional sounds lower than the lower limit pitch is prohibited. It is possible to prevent the occurrence of low additional sounds that are extremely difficult to hear for each tone,
This has the effect of eliminating auditory discomfort.
第1図は、この発明の一実施例による電子楽器
のブロツク図、第2図は、ワーキングエリア内の
レジスタ配置を示す図、第3図は、メインルーチ
ンのフローチヤート、第4図は、付加音形成のた
めのサブルーチンのフローチヤートである。
10……中央処理装置、28……上鍵盤、30
……下鍵盤、32……上鍵盤用トーンジエネレー
タ、38……下鍵盤用トーンジエネレータ、MS
2,MS3……付加音数指定スイツチ、BF―0
〜BF―2……付加音キーデータ用バツフアレジ
スタ。
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
2, MS3...additional note number designation switch, BF-0
~BF-2...Buffer register for additional sound key data.
Claims (1)
と、前記第1鍵域で押された鍵に音高で関連し且
つ前記第2鍵域で押された鍵に音名で関連する付
加音キーデータを発生するデータ発生手段と、複
数種類の音色のうち任意の音色を選択するための
音色選択手段と、前記第1鍵域からのキーデータ
に対応した楽音信号及び前記データ発生手段から
の付加音キーデータに対応した付加音信号を前記
音色選択手段で選択された音色にて形成し、送出
する楽音形成手段とをそなえた電子楽器におい
て、 前記データ発生手段には、前記音色選択手段で
選択された音色に応じて付加音の下限音高を指定
する指定手段と、発生可能な付加音キーデータの
うち前記下限音高より低いキーデータの発生を禁
止する音域制限手段とを設けたことを特徴とする
電子楽器。 2 特許請求の範囲第1項に記載の電子楽器にお
いて、前記データ発生手段は、前記第1の鍵域で
押された鍵より音高の低い第1付加音キーデータ
と、この第1付加音キーデータより音高の低い第
2付加音キーデータとを発生するようになつてお
り、前記音域制限手段は、前記第1付加音キーデ
ータ以外のキーデータについて前記下限音高より
低いキーデータの発生を禁止するようになつてい
ることを特徴とする電子楽器。 3 特許請求の範囲第1項に記載の電子楽器にお
いて、前記データ発生手段は、第1及び第2モー
ドのいずれかを選択するモード選択手段を有し、
前記第1モードの選択時と前記第2モードの選択
時とでは付加音数を異にして前記付加音キーデー
タを発生するようになつていることを特徴とする
電子楽器。[Claims] 1. A first key range for melody, a second key range for accompaniment, and a key that is related in pitch to a key pressed in the first key range and that is pressed in the second key range. data generating means for generating additional tone key data related to the key by pitch name; tone selection means for selecting an arbitrary tone from among the plurality of types of tones; and a tone selection means corresponding to the key data from the first key range. and musical tone forming means for forming and transmitting an additional tone signal corresponding to the additional tone key data from the data generation means using the tone color selected by the tone color selection means. The generating means includes a specifying means for specifying a lower limit pitch of the additional sound according to the tone selected by the tone color selection means, and a specifying means for specifying the lower limit pitch of the additional sound among the additional sound key data that can be generated. What is claimed is: 1. An electronic musical instrument characterized by being provided with a range limiting means for prohibiting sound. 2. In the electronic musical instrument according to claim 1, the data generating means generates first additional tone key data whose pitch is lower than the key pressed in the first key range, and the first additional tone key data. second additional tone key data having a lower pitch than the key data, and the range limiting means generates second additional tone key data having a pitch lower than the lower limit pitch for key data other than the first additional tone key data. An electronic musical instrument characterized in that generation is prohibited. 3. In the electronic musical instrument according to claim 1, the data generation means has a mode selection means for selecting either the first mode or the second mode,
The electronic musical instrument is characterized in that the additional tone key data is generated with different numbers of additional notes when the first mode is selected and when the second mode is selected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57179392A JPS5968786A (en) | 1982-10-13 | 1982-10-13 | Electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57179392A JPS5968786A (en) | 1982-10-13 | 1982-10-13 | Electronic musical instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5968786A JPS5968786A (en) | 1984-04-18 |
| JPH0160837B2 true JPH0160837B2 (en) | 1989-12-26 |
Family
ID=16065057
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57179392A Granted JPS5968786A (en) | 1982-10-13 | 1982-10-13 | Electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5968786A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4311076A (en) * | 1980-01-07 | 1982-01-19 | Whirlpool Corporation | Electronic musical instrument with harmony generation |
| JPS5758193A (en) * | 1980-09-25 | 1982-04-07 | Matsushita Electric Industrial Co Ltd | Electronic musical instrument |
-
1982
- 1982-10-13 JP JP57179392A patent/JPS5968786A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5968786A (en) | 1984-04-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5406022A (en) | Method and system for producing stereophonic sound by varying the sound image in accordance with tone waveform data | |
| JP2645181B2 (en) | Electronic musical instrument channel assignment device and channel assignment method | |
| JP2629891B2 (en) | Music signal generator | |
| JPH075878A (en) | Automatic accompaniment device | |
| JPH0160838B2 (en) | ||
| JP3387179B2 (en) | Electronic musical instrument | |
| US5218154A (en) | Electronic keyboard instrument with an unique tone channel assignor for percussion tones | |
| JP2640992B2 (en) | Pronunciation instruction device and pronunciation instruction method for electronic musical instrument | |
| JP2961867B2 (en) | Music signal generator | |
| JP3424989B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JP2000020063A (en) | Electronic musical instrument | |
| JP3363962B2 (en) | Electronic musical instrument | |
| JP3933070B2 (en) | Arpeggio generator and program | |
| JP3141380B2 (en) | Music generator | |
| JP2760421B2 (en) | Electronic musical instrument | |
| JPS6141119Y2 (en) | ||
| JPH0571958B2 (en) | ||
| JPH0515279B2 (en) | ||
| JP3121196B2 (en) | Electronic musical instrument | |
| JPS5968786A (en) | Electronic musical instrument | |
| JP2953217B2 (en) | Electronic musical instrument | |
| JP3139494B2 (en) | Tone data conversion method | |
| JP2572317B2 (en) | Automatic performance device | |
| JP3139492B2 (en) | Tone data conversion method | |
| JP2572316B2 (en) | Automatic performance device |