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
JPS6034760B2 - Electronic musical instrument keyboard circuit - Google Patents
[go: Go Back, main page]

JPS6034760B2 - Electronic musical instrument keyboard circuit - Google Patents

Electronic musical instrument keyboard circuit

Info

Publication number
JPS6034760B2
JPS6034760B2 JP51078648A JP7864876A JPS6034760B2 JP S6034760 B2 JPS6034760 B2 JP S6034760B2 JP 51078648 A JP51078648 A JP 51078648A JP 7864876 A JP7864876 A JP 7864876A JP S6034760 B2 JPS6034760 B2 JP S6034760B2
Authority
JP
Japan
Prior art keywords
key
key code
cycle
circuit
shift 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
Application number
JP51078648A
Other languages
Japanese (ja)
Other versions
JPS534529A (en
Inventor
敏雄 釘沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments Manufacturing Co Ltd
Priority to JP51078648A priority Critical patent/JPS6034760B2/en
Publication of JPS534529A publication Critical patent/JPS534529A/en
Publication of JPS6034760B2 publication Critical patent/JPS6034760B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 本発明はデジタル処理を行なう電子楽器の鍵盤回路に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a keyboard circuit for an electronic musical instrument that performs digital processing.

従来、鍵盤回路の方式として米国特許第 361079y号「電子楽器の音色と音声を選択するた
めの多重化装置」等に開示されるように、鍵盤の各鍵の
押下、離上状態を検知する方法として、各鍵を低音城か
ら高音城へ、または高音城から低音城へ順次走査し、鍵
の押下状態を時分割多重化信号として取り出している。
Conventionally, as a method for keyboard circuits, there is a method for detecting the press and release states of each key on a keyboard, as disclosed in US Pat. As a result, each key is sequentially scanned from the bass to the treble or from the treble to the bass, and the pressed state of the key is extracted as a time-division multiplexed signal.

そして該時分割多重化信号から押下鍵のオクターブ、音
名の信号を抽出し記憶するレジスタ群を設けている。該
レジスタは一般に鍵の最大押下数により限定され十数個
とされることが多い。そしてレジスタへの書き込みは前
記時分割多重化信号で行なわれるために、既に押下され
ている鍵で、該鍵のオクターブ、音名の信号が前記レジ
スタの1つに書き込まれていても、時分割多重化信号は
くり返えし、該鍵に相当する信号が含まれる。そこです
でに書き込まれているレジスタと同じ内容を書き込まな
いための制御が必要である。また鍵が離上された時には
鍵の押下信号がなくなるだけなので、押下信号がなくな
った鍵のオクターブ、音名の信号を抽出し、該信号と同
じ内容が書き込まれているレジスタを捜し、その内容を
消去するか、あるいは該レジスタに対応するェンベロー
プ制御回路へ立下り開始の信号として与える必要があっ
た。
A register group is provided for extracting and storing the octave and pitch name signals of the pressed keys from the time-division multiplexed signal. The number of such registers is generally limited by the maximum number of key presses, and is often set to ten or more. Since writing to the registers is performed using the time-division multiplexed signal, even if the octave and note name signals of the key have already been written to one of the registers, the time-division multiplexed signal The multiplexed signal repeats and contains the signal corresponding to the key. Therefore, control is required to avoid writing the same contents as the registers that have already been written. In addition, when the key is released, the key press signal simply disappears, so extract the octave and note name signals of the key for which the press signal has disappeared, search for a register in which the same content as the signal is written, and check the contents It was necessary to erase the register or provide it as a fall start signal to the envelope control circuit corresponding to the register.

本発明の目的は鍵の押下、離上を容易に区別して制御し
うる電子楽器の鍵盤回路を提供することである。
An object of the present invention is to provide a keyboard circuit for an electronic musical instrument that can easily distinguish and control key depression and key release.

前記目的を達成するため、本発明の電子楽器の鍵盤回路
は鍵盤上の各鍵にそれぞれ特定のキーコードを指定して
おき、入力キーコード‘こ対応する鍵の押下状態を検知
するマルチプレクサから成る検知回路と、前記各鍵のキ
ーコードを順次発生するキーコード発生回路と、前記キ
ーコードを記憶するシフトレジスタと、該シフトレジス
タの出力キーコードと前記キーコード発生回路の出力キ
ーコードとを比較し一致すれば一致信号を出力する比較
回路と、キーオンサィクルとキーオフサィクルとを区別
制御するサイクル制御回路と、前記キーコード発生回路
の出力キーコードと前記シフトレジスタの出力キーコ−
ドとを前記キーオンサィクル時とキーオフサィクル時に
それぞれ選択して前記検知回路に出力するキーコード選
択ゲートと、前記シフトレジスタの入力に接続され該シ
フトレジスタと記憶ループを構成し、前記サイクル制御
回路の制御信号に対応して前記キーコード発生回路の出
力キーコードと前記シフトレジスタの出力とを選択する
選択回路とを具え、前記検知回路によりキーオンサィク
ル時いまだ、押下されていない鍵が新たに押下されたこ
とを検知して前記シフトレジスタに前記キーコードを記
憶せしめ、キーオフサィクル時既に押下されていた鍵が
新たに鱗上されたことを検知して該鍵のキーコードに対
応する前記記憶レジスタの内容を消去するように制御さ
れることを特徴とするものである。
In order to achieve the above object, the keyboard circuit of the electronic musical instrument of the present invention includes a multiplexer that specifies a specific key code for each key on the keyboard and detects the input key code and the pressed state of the corresponding key. a detection circuit, a key code generation circuit that sequentially generates a key code for each of the keys, a shift register that stores the key code, and a comparison between the output key code of the shift register and the output key code of the key code generation circuit. a comparison circuit that outputs a match signal if they match; a cycle control circuit that distinguishes and controls key-on cycles and key-off cycles; and an output key code of the key code generation circuit and an output key code of the shift register.
a key code selection gate that selects a code at the time of the key-on cycle and the key-off cycle and outputs the selected code to the detection circuit; a selection circuit that selects an output key code of the key code generation circuit and an output of the shift register in response to the above, and the detection circuit detects that a key that has not been pressed yet is newly pressed during a key-on cycle. Detecting and storing the key code in the shift register, detecting that a key that has already been pressed during a key-off cycle is newly pressed, and erasing the contents of the storage register corresponding to the key code of the key. It is characterized by being controlled as follows.

以下本発明を実施例につき詳述する。The present invention will be described in detail below with reference to examples.

第1図において1は鍵盤、2はマルチプレクサ、3は選
択ゲート、4は選択回路、5はシフトレジスタ、7はキ
ーコード発生回路、8は比較回路であり、同図では主な
ブロックおよびデータラィンで示される。
In Figure 1, 1 is a keyboard, 2 is a multiplexer, 3 is a selection gate, 4 is a selection circuit, 5 is a shift register, 7 is a key code generation circuit, and 8 is a comparison circuit. It is indicated by.

キーコード発生回路7で発生する2進キーコ−Nま鍵盤
上の各鍵に対応しており、たとえば鍵の数が61であれ
ば2進キーコードは6ビットで構成される。
The binary key code generated by the key code generation circuit 7 corresponds to each key on the keyboard. For example, if the number of keys is 61, the binary key code is composed of 6 bits.

押下鍵に対しては該キーコードがシフトレジスタ5に記
憶される。本回路の動作はキーオンサイクルとキーオフ
サィクルとに分けられ、キーオンサィクルにおいては、
キーコード発生回路7で発生されたキーコードは選択ゲ
ート3を通しマルチプレクサ2に与えられる。マルチプ
レクサ2は該キーコードに対応する鍵の押下状態を選択
し、押下されていればイベント信号EV,を選択回路4
に与える。またキーコード発生回路7で発生されたキー
コードは選択回路4にも与えられており、選択回路4‘
まイベント信号EV,に対応して前記キーコードをシフ
トレジスタ5に書き込む。鍵が押下されていなければイ
ベント信号EV,は発生せず、シフトレジスタ5へのキ
ーコードの書き込みは行なわれない。また、欧に押下さ
れている鍵に対応するキーコードはシフトレジスタ5に
記憶されており、シフトレジスタ5はキーコード発生回
路7の出力キーコードが変化するたびに選択回路4を通
して循環する。
For a pressed key, the key code is stored in the shift register 5. The operation of this circuit is divided into a key-on cycle and a key-off cycle, and in the key-on cycle,
The key code generated by the key code generating circuit 7 is applied to the multiplexer 2 through the selection gate 3. The multiplexer 2 selects the pressed state of the key corresponding to the key code, and if the key is pressed, the selection circuit 4 selects the event signal EV.
give to The key code generated by the key code generation circuit 7 is also given to the selection circuit 4, and the selection circuit 4'
The key code is written into the shift register 5 in response to the event signal EV. If the key is not pressed, the event signal EV is not generated and no key code is written to the shift register 5. Further, the key code corresponding to the key being pressed is stored in a shift register 5, and the shift register 5 circulates through the selection circuit 4 every time the output key code of the key code generation circuit 7 changes.

シフトレジスタ5の出力は比較回路8においてキ−コー
ド発生回路7からのキーコードと比較され一致すれば一
致信号がインクリメント信号としてキーコード発生回路
7に与えられ出力キーコードを次のキーコード‘こ移す
。一致したキーコ−ドーこよる鍵の走査は行なわない。
キーオフサィクル時にはキーコード発生回路7は停止し
、サイクル制御回路9の制御信号により選択ゲ−ト3は
シフトレジスタ5からのキーコードをマルチプレクサ2
に与える。
The output of the shift register 5 is compared with the key code from the key code generating circuit 7 in a comparator circuit 8, and if they match, a match signal is given as an increment signal to the key code generating circuit 7, and the output key code is used as the next key code. Move. Key scanning is not performed depending on the matching key code.
During a key-off cycle, the key code generation circuit 7 stops, and the selection gate 3 transfers the key code from the shift register 5 to the multiplexer 2 according to a control signal from the cycle control circuit 9.
give to

キーオフサイクルにおいては、押下された鍵のキーコー
ドが記憶されているから該キーコードについてのみ鍵の
走査を行なうものである。そして鍵が押下されていなけ
ればマルチプレクサ2よりイベント信号BV2が発生し
、当該キーコードが記憶されているシフトレジスタ5の
アドレスの内容を消去する。鍵が押下され続けていれば
イベント信号EV2は発生しない。キーオンサイクルと
、キーオフサイクルは交互に行なわれる。
In the key-off cycle, since the key code of the pressed key is stored, the key is scanned only for that key code. If the key is not pressed, an event signal BV2 is generated from the multiplexer 2, and the contents of the address in the shift register 5 where the key code is stored are erased. If the key continues to be pressed down, the event signal EV2 will not be generated. Key-on cycles and key-off cycles occur alternately.

そしてシフトレジスタ5のアドレスの数は優先チャンネ
ル(図示はしない)数により制御されており、シフトレ
ジスタ5の全てのアドレスにキーコードが記憶されれば
新らしい押鍵を捜す必要はないので、キーオフサィクル
のみを繰り返えす。このようにしてシフトレジスタ5は
キーオン、キーオフの両サイクルにおいて循環して出力
する。第2図は第1図の鍵盤1およびマルチプレクサ2
の詳細説明図である。
The number of addresses in the shift register 5 is controlled by the number of priority channels (not shown), and if key codes are stored in all addresses in the shift register 5, there is no need to search for a new key to press, so the key-off cycle Repeat only. In this way, the shift register 5 circulates and outputs in both key-on and key-off cycles. Figure 2 shows keyboard 1 and multiplexer 2 in Figure 1.
FIG.

1例として61鍵の場合とする。As an example, assume that there are 61 keys.

鍵の数が61なので2進キーコードのビット数は6ビッ
トとして、キーコード(000001)からキーコード
(111101)を各々の鍵に対応させる。21一a,
21−bはデコーダである。
Since the number of keys is 61, the number of bits of the binary key code is 6 bits, and key codes (000001) to (111101) are made to correspond to each key. 211a,
21-b is a decoder.

キーコード選択ゲート3より与えられる6ビットの2進
キーコードを上位、下位の3ビットずつに分け、各々の
デコーダは入力3ビットのキーコードに対し8本の出力
ラインの1本にのみ“1”信号を与える。21一a,2
1一bからの8本ずつのラインの組み合わせにより22
−1,22一2,……,22−61のうち1つのアンド
ゲートが開かれる。
The 6-bit binary key code given from the key code selection gate 3 is divided into upper and lower 3 bits, and each decoder outputs "1" to only one of the 8 output lines for the input 3-bit key code. ``Give a signal. 21-a, 2
22 by combining 8 lines from 11b
One AND gate among -1, 22-2, . . . , 22-61 is opened.

そして6ビットの2進キーコードで指定された鍵が押下
されていればオアゲート23は“1”レベルの信号を出
力し、鍵が押下されていなければ“0”レベル信号を出
力する。第3図は第1図におけるキーオンサィクル、キ
ーオフサィクルに関連する要部の詳細説明図である。
If the key designated by the 6-bit binary key code is pressed, the OR gate 23 outputs a "1" level signal, and if the key is not pressed, it outputs a "0" level signal. FIG. 3 is a detailed explanatory diagram of main parts related to the key-on cycle and key-off cycle in FIG. 1.

同図において、第1図の同番号に対応し、キーコード発
生回路7、比較回路8、サイクル制御回路9、選択回路
4、シフトレジスタ5がそれぞれ破線で囲まれた詳細構
成として選択ゲート3とともに示される。第4図はタイ
ムチャートである。まずキーオンサィクル時には、破線
で示すサイクル制御回路9内のクロックA31で発生す
るクロックは選択ゲート33を介して破線で示すシフト
レジスタ5内のシフトレジスタ(本体)36とラッチ回
路37へ与えられ、シフトレジスタ(本体)36内のキ
ーコードのデータはこのクロツクにより循環する。
In the same figure, a key code generation circuit 7, a comparison circuit 8, a cycle control circuit 9, a selection circuit 4, and a shift register 5 are each surrounded by broken lines and correspond to the same numbers in FIG. shown. FIG. 4 is a time chart. First, at the time of a key-on cycle, a clock generated by the clock A31 in the cycle control circuit 9 shown by the broken line is given to the shift register (main body) 36 and latch circuit 37 in the shift register 5 shown by the broken line via the selection gate 33, The key code data in the main body 36 is circulated by this clock.

さらに該クロックはの分の1分周器34により分周され
、クロツクAによる1/mAクロツクはOR回路48を
介して破線で示すキーコード発生回路7内のキーコード
カウンタ35に与えられる。
Further, this clock is frequency-divided by a 1/1 frequency divider 34, and the 1/mA clock generated by the clock A is applied via an OR circuit 48 to a key code counter 35 in the key code generation circuit 7 shown by a broken line.

キーコードカウンタ35により発生されるキーコードは
鍵盤の各鍵に対応しており、レジスタ38を通し選択ゲ
ート3に送られる。選択ゲート3よりマルチプレクサ2
へ与えられるキーコードに対応する鍵が押下されていれ
ばイベント信号“1”が発生する。またサイクル制御回
路9内のフリッフ。フロップ52はキーオンサイクル時
には“0”レベル信号を出力するから、この信号とィペ
ント信号が破線で示す選択回路4内の排他的OR回路4
0を介しアンド回路42に与えられる。シフトレジスタ
36は各ワードが7ビットで構成されサインビット1ビ
ットとキーコードビット6ビットに分かれる。サインビ
ットは各々のアドレスにキーコードが書き込まれている
ことを示すビットでありデータの書き込みの際に同時に
“1”レベル信号として書き込まれる。そのためシフト
レジスタの出力は空きアドレスではサインビットが“0
”信号となる。そこで排他的OR回路40はサインビッ
トが“0”の時“1”を出力しアンドゲート42を開き
フリツプフロツプ(FF)43をセットする。
The key code generated by the key code counter 35 corresponds to each key on the keyboard, and is sent to the selection gate 3 through the register 38. Multiplexer 2 from selection gate 3
If the key corresponding to the key code given to is pressed, an event signal "1" is generated. Also, the flip within the cycle control circuit 9. Since the flop 52 outputs a "0" level signal during the key-on cycle, this signal and the pento signal are combined with the exclusive OR circuit 4 in the selection circuit 4 shown by the broken line.
0 to the AND circuit 42. Each word of the shift register 36 is composed of 7 bits, which are divided into 1 sign bit and 6 key code bits. The sign bit is a bit indicating that a key code is written in each address, and is simultaneously written as a "1" level signal when data is written. Therefore, the output of the shift register has a sign bit of “0” at an empty address.
Therefore, the exclusive OR circuit 40 outputs "1" when the sign bit is "0", opens the AND gate 42, and sets the flip-flop (FF) 43.

そしてフリツプフロツプ(FF)43がセットされると
単安定マルチパイプレータ(MM)44はパルスを出力
する。以上述べたイベント信号を入力する排他的OR回
路40から単安定マルチパイプレータ(MM)44まで
のタイムチャートを第4図に示す。
When the flip-flop (FF) 43 is set, the monostable multipipulator (MM) 44 outputs a pulse. FIG. 4 shows a time chart from the exclusive OR circuit 40 to which the event signal described above is input to the monostable multipipelator (MM) 44.

すなわち同図aのクロツクに対し、同図bはm分の1ク
ロックである。もし選択ゲート3よりマルチプレクサ2
に与えられるキーコードに対応する鍵が押下されていれ
ば同図dのイベント信号が発生し、その時のシフトレジ
スタ36の出力のサインビット(S.B)が同図cに示
すものとすれば、フリップフロップ43の出力は同図e
で、単安定マルチパイプレータ(M.M)の出力は同図
fで示される。レジスタ38より選択ゲート46に入力
するサインビット“1”のキーコードは前記単安定マル
チパイプレータ44からのパルスにより選択ゲート45
で選択出力され、ラツチ回路37に書き込まれる。
That is, in contrast to the clock shown in figure a, the clock shown in figure b is 1/m. If select gate 3 than multiplexer 2
If the key corresponding to the key code given to is pressed, the event signal d in the figure is generated, and the sign bit (S.B) of the output of the shift register 36 at that time is as shown in c in the figure. , the output of the flip-flop 43 is shown in the figure e.
The output of the monostable multipipulator (M.M) is shown by f in the figure. The key code of the sign bit "1" inputted from the register 38 to the selection gate 46 is inputted to the selection gate 45 by the pulse from the monostable multipipulator 44.
is selectively output and written into the latch circuit 37.

シフトレジスタ(本体)36はm−1ワードより成り、
ラッチ回路37と一緒にmワードの循環ループを形成し
ている。
The shift register (main body) 36 consists of m-1 words,
Together with the latch circuit 37, it forms a circular loop of m words.

mは優先チャンネル数である。レジスタ38の内容を分
岐し破線で示す比較回路8内の十1加算器39に入力し
て十1加算し、この出力キーコードとシフトレジスタ3
6からのキーコードは比較回路47で比較される。この
場合レジスタ38から選択ゲート3を介しマルチプレク
サ2に与えているキーコードをNとすると、次のキーコ
ードN+1が十1加算器39から出力されている。鍵が
押下されていればシフトしジスタ内に書き込まれており
、キーオンサイクルで鍵の押下を検知する必要はない。
そのためキーコードN+1とシフトレジスタからのキー
コードが一致すれば一致パルスがキーコードカウンタ3
5を一つ進め、キーコードカウンタ35の出力をN+2
とし、次のm分の1クロツクにより、レジスタ38はN
+2を書き込み、十1加算器39はN+3に移る。こう
してレジスタ38はN→N+2に移りN+1を出力しな
い。すなわちキーコードN+1に対するマルチプレクサ
の走査は省かれることになる。
m is the number of priority channels. The contents of the register 38 are branched and input to the 11 adder 39 in the comparator circuit 8 shown by the broken line, and 11 is added, and this output key code and the shift register 3 are input.
The key codes from 6 are compared in a comparison circuit 47. In this case, if the key code given from the register 38 to the multiplexer 2 via the selection gate 3 is N, then the next key code N+1 is output from the eleven adder 39. If the key is pressed, it is shifted and written in the register, and there is no need to detect the key press in the key-on cycle.
Therefore, if the key code N+1 and the key code from the shift register match, a matching pulse will be sent to the key code counter 3.
5 is advanced by one, and the output of the key code counter 35 is N+2.
Then, by the next 1/m clock, the register 38 becomes N.
+2 is written, and the eleven adder 39 moves to N+3. In this way, the register 38 shifts from N to N+2 and does not output N+1. In other words, multiplexer scanning for key code N+1 is omitted.

このようにして全キーコード‘こ対して前記動作を行な
う。最後のキーコードが(111101)だからキーコ
ードカウンタ35がキーコード(111110)までは
カウントする。そしてキーコードカウンタ35の出力が
キーコード(111111)になった時アンドゲート5
3は“1”信号を出力しサイクル制御用フリツプフ。ツ
プをセットしてキーオフサイクルに移る。キーオフサィ
クルにおいては、サイクル制御用フリップフロップ52
の反転により選択ゲート33はキーオフサイクル用クロ
ツクBを選択する。該クロックBによりシフトレジスタ
(本体)36、ラッチ回路37のキーコードデータは循
環する。シフトレジスタ(本体)36の出力は選択ゲー
ト3を通してマルチプレクサ2に与えられ押下鍵に対す
る検知を行なう。鍵が離されていればイベント信号“0
”のレベルが発生しEXORゲート40から“1”信号
を出す。該信号はアンドゲート53を通して選択ゲート
45に与えられる。一方選択ゲート46はGND(接地
)信号をキーオフサィクルでは選択し、選択ゲート45
に与えている。そのため、該信号は全ビット0を選択し
かつラッチ回路37に全ビット0を書き込む。鍵が押下
され続けていればイベント信号は発生されない。そして
全アドレスについて前記動作を用ない、終了すればm分
の1クロックはアンドゲート51を介してフリップフロ
ツプ52をリセットし、キーオフサィクルを終了しキー
オンサィクルに移る。またシフトレジスタ(本体)36
の出力はmビットシフトレジスタ49に与えられている
In this way, the above operation is performed for all key codes. Since the last key code is (111101), the key code counter 35 counts up to the key code (111110). When the output of the key code counter 35 becomes the key code (111111), the AND gate 5
3 is a cycle control flip-flop that outputs a "1" signal. Set the knob and move on to the key-off cycle. In the key-off cycle, the cycle control flip-flop 52
The selection gate 33 selects the key-off cycle clock B due to the inversion of . The key code data of the shift register (main body) 36 and latch circuit 37 is circulated by the clock B. The output of the shift register (main body) 36 is applied to the multiplexer 2 through the selection gate 3 to detect the pressed key. If the key is released, the event signal “0”
" level is generated, and the EXOR gate 40 outputs a "1" signal. This signal is applied to the selection gate 45 through the AND gate 53. On the other hand, the selection gate 46 selects the GND (ground) signal in the key-off cycle, and the selection gate 45
is giving to Therefore, this signal selects all bits 0 and writes all bits 0 to the latch circuit 37. If the key continues to be pressed, no event signal will be generated. The above-mentioned operation is not used for all the addresses, and when it is completed, the 1/m clock resets the flip-flop 52 via the AND gate 51, ending the key-off cycle and moving on to the key-on cycle. Also, shift register (main body) 36
The output of is given to an m-bit shift register 49.

両シフトレジスタは同一クロツクでシフトされる。その
ためシフトレジスタ(本体)36のm個のアドレスにキ
ーコードが書き込まれているとサインビットは全て“1
”となる。このときシフトレジスタ49の出力は全て“
1”となりナンド回路50は“0”レベル信号を出力す
る。そのため、アンドゲート51は閉じられるからm分
の1クロックによりフリツプフロツプはリセットされず
、再びキーオフサィクルを繰り返えす。すなわちナンド
回路50の“0”レベル信号は全チャンネル占有を意味
し、キーオフサィクルのみの繰り返えしを行なうもので
ある。以上説明したように、本発明によれば、既に押下
されていない鍵が新たに押下されたことを検知するキー
オンサィクルと、既に押下されていた鍵が新たに鱗上さ
れたことを検知するキーオフサィクルとに分けて制御し
、かつ押下鍵に対するキーコードを懐先チャンネル数m
個の時分割で出力することにより、従来の鍵が押下、雛
上を区別するのに複雑な構成と制御が必要であったのに
対し比較的に簡単な構成により鍵の検出を行ない、押下
鍵に対するキーコードを優先チャンネル数m個の時分割
で出力しうるものである。
Both shift registers are shifted by the same clock. Therefore, if key codes are written to m addresses of the shift register (main body) 36, all sign bits will be “1”.
” At this time, the output of the shift register 49 is all “
1", and the NAND circuit 50 outputs a "0" level signal. Therefore, since the AND gate 51 is closed, the flip-flop is not reset by the 1/m clock, and the key-off cycle can be repeated again. In other words, the NAND circuit 50 outputs a "0" level signal. A 0'' level signal means that all channels are occupied, and only the key-off cycle is repeated.As explained above, according to the present invention, when a key that has not already been pressed is newly pressed. The control is divided into a key-on cycle, which detects a key that has already been pressed, and a key-off cycle, which detects that a key that has already been pressed is newly pressed.
By time-divisionally outputting individual keys, keys can be detected using a relatively simple configuration, whereas conventional keys require complicated configurations and controls to distinguish between pressed and pressed keys. The key code for the key can be output in a time-division manner over m priority channels.

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

第1図は本発明の実施例の構成を示す説明図、第2図お
よび第3図は第1図の実施例の要部の詳細説明図、第4
図は第3図の1部の動作説明用波形図であり、図中、1
は鍵盤、2はマルチプレクサ、3は選択ゲート、4は選
択回路、5はシフトレジスタ、7はキーコード発生回路
、8は比較回路、9はサイクル制御回路を示す。 第1図 第2図 第3図 第4図
FIG. 1 is an explanatory diagram showing the configuration of an embodiment of the present invention, FIGS. 2 and 3 are detailed explanatory diagrams of main parts of the embodiment of FIG.
The figure is a waveform diagram for explaining the operation of a part of Fig. 3, and in the figure, 1
2 is a keyboard, 2 is a multiplexer, 3 is a selection gate, 4 is a selection circuit, 5 is a shift register, 7 is a key code generation circuit, 8 is a comparison circuit, and 9 is a cycle control circuit. Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1 鍵盤上の各鍵にそれぞれ特定のキーコードを指定し
ておき、入力キーコードに対応する鍵の押下状態を検知
するマルチプレクサから成る検知回路と、前記各鍵のキ
ーコードを順次発生するキーコード発生回路と、前記キ
ーコードを記憶するシフトレジスタと、該シフトレジス
タの出力キーコードと前記キーコード発生回路の出力キ
ーコードとを比較し一致すれば一致信号を出力する比較
回路と、キーオンサイクルとキーオフサイクルとを区別
制御するサイクル制御回路と、前記キーコード発生回路
の出力キーコードと前記シフトレジスタの出力キーコー
ドとを前記キーオンサイクル時とキーオフサイクル時に
それぞれ選択して前記検知回路に出力するキーコード選
択ゲートと、前記シフトレジスタの入力に接続され該シ
フトレジスタと記憶ループを構成し、前記サイクル制御
回路の制御信号に対応して前記キーコード発生回路の出
力キーコードと前記シフトレジスタの出力とを選択する
選択回路とを具え、前記検知回路によりキーオンサイク
ル時いまだ押下されていない鍵が新たに押下されたこと
を検知して前記シフトレジスタに前記キーコードを記憶
せしめ、キーオフサイクル時既に押下されていた鍵が新
たに離上されたことを検知して該鍵のキーコードに対応
する前記記憶レジスタの内容を消去するように制御され
ることを特徴とする電子楽器の鍵盤回路。
1 A detection circuit consisting of a multiplexer that specifies a specific key code for each key on the keyboard and detects the pressed state of the key corresponding to the input key code, and a key code that sequentially generates the key code of each key. a generation circuit, a shift register that stores the key code, a comparison circuit that compares the output key code of the shift register with the output key code of the key code generation circuit and outputs a match signal if they match, and a key-on cycle. a cycle control circuit that controls a key-off cycle and a key-off cycle, and a key that selects an output key code of the key code generation circuit and an output key code of the shift register during the key-on cycle and the key-off cycle, respectively, and outputs the selected keys to the detection circuit. A code selection gate is connected to the input of the shift register to form a memory loop with the shift register, and the output key code of the key code generation circuit and the output of the shift register are connected in response to a control signal of the cycle control circuit. and a selection circuit for selecting a key that has not yet been pressed during a key-on cycle, and causes the shift register to store the key code upon detecting that a key that has not yet been pressed during a key-on cycle is pressed; 1. A keyboard circuit for an electronic musical instrument, characterized in that the keyboard circuit is controlled to detect that a previously held key has been newly lifted off and erase the contents of the storage register corresponding to the key code of the key.
JP51078648A 1976-07-02 1976-07-02 Electronic musical instrument keyboard circuit Expired JPS6034760B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51078648A JPS6034760B2 (en) 1976-07-02 1976-07-02 Electronic musical instrument keyboard circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51078648A JPS6034760B2 (en) 1976-07-02 1976-07-02 Electronic musical instrument keyboard circuit

Publications (2)

Publication Number Publication Date
JPS534529A JPS534529A (en) 1978-01-17
JPS6034760B2 true JPS6034760B2 (en) 1985-08-10

Family

ID=13667673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51078648A Expired JPS6034760B2 (en) 1976-07-02 1976-07-02 Electronic musical instrument keyboard circuit

Country Status (1)

Country Link
JP (1) JPS6034760B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5615520B2 (en) * 1974-09-05 1981-04-10

Also Published As

Publication number Publication date
JPS534529A (en) 1978-01-17

Similar Documents

Publication Publication Date Title
US4276444A (en) Synthetic-speech calculators
US3890871A (en) Apparatus for storing sequences of musical notes
US4141268A (en) Keyboard apparatus for an electronic musical instrument
GB1420085A (en) Electronic musical instrument
GB1317385A (en) Apparatus for addressing a memory of selectively controlled rates
JPS6199193A (en) Musical sound signal generator
US4166405A (en) Electronic musical instrument
US4041826A (en) Electronic musical instrument
US4083283A (en) Electronic musical instrument having legato effect
JPS6222157B2 (en)
US4562763A (en) Waveform information generating system
US5264657A (en) Waveform signal generator
US3903775A (en) Electronic musical instrument
JPS6034760B2 (en) Electronic musical instrument keyboard circuit
US4161128A (en) Electronic musical instrument
US4103581A (en) Constant speed portamento
JPS6365496A (en) Key assigner method
US5708842A (en) Apparatus for changing coefficients utilized to perform a convolution operation having address generator which uses initial count number and up/down count inputs received from external
JPH0561473A (en) Musical tone frequency generator for electronic musical instruments
US4498364A (en) Electronic musical instrument
JPS6048760B2 (en) Note clock generator for electronic musical instruments
JPH0140358B2 (en)
JPS6374100A (en) Electronic musical instrument
JPH02282297A (en) Parameter signal forming device
JPS63172196A (en) electronic musical instruments