JPS61148494A - Touch response scanning circuit - Google Patents

Touch response scanning circuit

Info

Publication number
JPS61148494A
JPS61148494A JP59270360A JP27036084A JPS61148494A JP S61148494 A JPS61148494 A JP S61148494A JP 59270360 A JP59270360 A JP 59270360A JP 27036084 A JP27036084 A JP 27036084A JP S61148494 A JPS61148494 A JP S61148494A
Authority
JP
Japan
Prior art keywords
key
contact
time
counter
circuit
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.)
Pending
Application number
JP59270360A
Other languages
Japanese (ja)
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP59270360A priority Critical patent/JPS61148494A/en
Publication of JPS61148494A publication Critical patent/JPS61148494A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は電子楽器において有用な実走査処理装置に関
し、押鍵の早さ又は離鍵の早さによって発音の音量や音
色をコントロールする為のタッチレスポンス走査回路に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a real scanning processing device useful in electronic musical instruments, and is used to control the volume and timbre of sound by the speed of key depression or key release. The present invention relates to a touch response scanning circuit.

〔従来技術〕[Prior art]

押鍵のスピード検出を行うデジタル処理タッチレスポン
回路走食が知られている。例えば、特開昭49−842
16号公報にこのようがタッチレスポンス走査回路が開
示されている。
A digitally processed touch response circuit that detects the speed of key presses is known. For example, JP-A-49-842
Such a touch response scanning circuit is disclosed in Japanese Patent No. 16.

ところで押鍵のスピード検出をうる為の鍵盤メカニズム
としては各鍵に対応して接点を2個有し2接点のオン時
間差を計測し、このデータを押鍵スピードデータとして
得る構成であるが、鍵盤の2接点間距離は通常5〜5目
である。
By the way, the keyboard mechanism for detecting the speed of key presses has two contacts corresponding to each key, measures the difference in on time between the two contacts, and obtains this data as key press speed data. The distance between the two contacts is usually 5 to 5 points.

実測データによれば演奏時の最高押鍵スピードは時速1
00−に達する場合がある。
According to actual measurement data, the maximum key pressing speed during performance is 1 hour
It may reach 00-.

2接点間距離が5−の場合、2接点のオン時間差は18
0μsとなる。従ってスピード検出のカウンタインクリ
メントは180μ日ことでなければならない、多数の鍵
の個々の押鍵スピード計測をこの時間内で処理すること
は非常に困難であるが処理速度に関しては本発明ではふ
れないとして別の大きな問題としては機械接点のチャタ
リングに対する対策である。
If the distance between the two contacts is 5-, the difference in on time between the two contacts is 18
It becomes 0 μs. Therefore, the counter increment for speed detection must be 180μ days.It is very difficult to process the individual key press speed measurements of a large number of keys within this time, but the processing speed is not covered in this invention. Another major problem is countermeasures against chattering in mechanical contacts.

〔発明が解決しょうとする問題点〕[Problem that the invention seeks to solve]

機械接点のチャタリングは、押鍵スピード検出分Wi能
180μsよシはLはど長時間であシ、このチャタリン
グによる走査誤動作を考慮しなければならない。
The chattering of the mechanical contacts is longer than the key pressing speed detection Wi, which is 180 μs, and the scanning malfunction due to this chattering must be taken into consideration.

〔問題点を解決する為の手段〕[Means for solving problems]

上記問題を解決する為に本発明では、計測する時間とし
て、押鍵の浅い位置でオンする接点を第1接点、押鍵の
ニジ深い位置でオフする接点を第2接点とすると リ 押鍵開始時の第1接点オン時のOFFチャタリング
無視すべき時間計測。
In order to solve the above problem, in the present invention, the time to be measured is determined by using a contact that turns on at a shallow position of the key depression as the first contact, and a contact that turns off at a deep position of the key depression as a second contact. Time measurement that should ignore OFF chattering when the first contact is ON.

2)同上時のwX1接点オンより第2接点オンのスピー
ド時間計測、 5)離鍵開始時の第2接点オフ時のオンチャタリング無
視すべき時間計測 4)同上時第2接点オフエり第1接点オフのスピード時
間計測 5)離鍵完了後の第1接点オンチャタリング無視すべき
時間計測 の5種類の時間計測を鍵数よシ少数の汎用時間計測カウ
ンタを切替使用する構成をとる。
2) Measuring the speed of the second contact turning on from the wX1 contact turning on at the same time as above, 5) Measuring the time when the on-chattering should be ignored when the second contact turns off at the start of key release 4) At the same time as above, measuring the time when the second contact turns off and the first contact OFF speed time measurement 5) First contact on chatter after completion of key release Five types of time measurements that should be ignored are configured to switch and use general-purpose time measurement counters whose number is equal to the number of keys.

〔作用〕[Effect]

上記のように構成することにより簡潔な回路構成でスイ
ッチチャタリング時間より短い時間分割能で押鍵、離鍵
のスピード計測が可能となる。
By configuring as described above, it is possible to measure the speed of key depression and key release with a time resolution shorter than the switch chattering time with a simple circuit configuration.

〔゛実施例〕[゛Example]

以下にこの発明の実施例を図面にもとすいて説明するn
xta図及び第1b図はこの発明の実施例回路である。
Examples of the present invention will be explained below with reference to the drawings.
FIG. 1b and FIG.

1は押鍵、離鍵時スピード検出を可能とする鍵盤回路で
あり、押鍵時、浅い位置でオンする@11接部と、より
深い位置でオンする第2接点部より成り、第1接点部は
g行、k列に区分され、各スイッチの一端は行単位で接
続され後述の行走査カウンタ2により駆動されている。
1 is a keyboard circuit that makes it possible to detect the speed at key press and key release, and consists of @11 contact part that turns on at a shallow position when a key is pressed, and a second contact part that turns on at a deeper position. The section is divided into g rows and k columns, and one end of each switch is connected in units of rows and driven by a row scanning counter 2, which will be described later.

スイッチの他端はダイオードの接続後、列単位に接続さ
れyt〜Fkは後述のアンドゲート4の一方の入力にな
っている。同様に第2接点部もg行に列に区分され、各
スイッチの一端は行単位で接続すれ、行走査カウンタ2
により駆動され、スイッチの他端はダイオードの接続後
、列単位に接続され81〜8にはアンドゲート5の一方
の入力になっている。
The other ends of the switches are connected in columns after the diodes are connected, and yt to Fk serve as one input of an AND gate 4, which will be described later. Similarly, the second contact section is divided into g rows and columns, and one end of each switch is connected in units of rows, and the row scanning counter 2
The other end of the switch is connected in a column unit after connecting a diode, and 81 to 8 serve as one input of the AND gate 5.

行走査カウンタ2の出力線13R1〜DRgは鍵盤回路
10行ラインを駆動する。
The output lines 13R1 to DRg of the row scanning counter 2 drive the 10th row line of the keyboard circuit.

カウンタの進数クロックは、後述の制御回路26より供
給される。列走査カウンタ5の出力線R1〜Rkはアン
ドゲート群4.5の抽入力となっている。
The base clock of the counter is supplied from a control circuit 26, which will be described later. The output lines R1 to Rk of the column scanning counter 5 serve as extraction inputs of the AND gate group 4.5.

4群はアンドゲート群であシ、例えば4−にのに列アン
ドゲート入力の一端は鍵盤Fk、他入六入力走査カウン
タ出力j1である。
The 4th group is an AND gate group. For example, one end of the 4-column AND gate input is the keyboard Fk, and the other input is the 6-input scanning counter output j1.

4群のアンドゲート出力はオアゲート6の入力に接続さ
れ、オアゲート6の出力Fには第1接点の個々の鍵スィ
ッチのオン、オフ状態が時分割的に得られる。同様に5
群のアンドゲート中、5−にのに列アンドゲート入力の
−g!aFi鍵盤Elk、他入力は列走査カウンタ出力
丁1であり、5群のアンドゲート出力はオアゲート7の
入力に接続されオアゲート7出力Sには、第2接点の個
々の鍵スィッチのオン、オフ状態が時分割的に得られる
The outputs of the four groups of AND gates are connected to the inputs of the OR gate 6, and the ON/OFF states of the individual key switches of the first contacts are obtained in a time-sharing manner at the output F of the OR gate 6. Similarly 5
In the group AND gate, -g of the column AND gate input to 5-! aFi keyboard Elk, other inputs are the column scanning counter output 1, the AND gate output of the 5th group is connected to the input of the OR gate 7, and the OR gate 7 output S shows the ON/OFF state of the individual key switches of the 2nd contact. can be obtained in a time-sharing manner.

鍵レジスタ8は、基本的には、現在走査出力鍵の走査前
の鍵スイツチ状態を得るべく構成されている。シフトレ
ジスタ9は第1接点群対・応の9−1と第2接点群対応
の9−2の2本で構成されそれぞれの出力は11R、S
Rと称する。各シフトレジスタの段数は鍵数と一致する
。シフトレジスタのクロックは、列走萱カウンタ5の進
数クロックと同一であり、同期化されている。切替器1
0は制御回路26出力RWRXTNがLレベルではY出
力はA側となりPR、F3Bは保持されl’JIFRI
τ1がHレベルではY出力はB側となり、制御回路26
出力FI 5ET8 R8鳶?のレベルがあらたに77
トレジスタ9に記憶される。
The key register 8 is basically configured to obtain the pre-scan key switch state of the currently scanned output key. The shift register 9 is composed of two wires, 9-1 corresponding to the first contact group and 9-2 corresponding to the second contact group, and their respective outputs are 11R and S.
It is called R. The number of stages of each shift register matches the number of keys. The clock of the shift register is the same as the base clock of the column running counter 5, and is synchronized with it. Switcher 1
0 is when the control circuit 26 output RWRXTN is at L level, the Y output is on the A side, PR and F3B are held and l'JIFRI
When τ1 is at H level, the Y output is on the B side, and the control circuit 26
Output FI 5ET8 R8 Tobi? new level 77
It is stored in the register 9.

アンドゲート群11はシフトレジスタ9の出力PR、S
Rをデコードし、個々の鍵の処理モード出力を得、制御
回路に出力する。F E 、 #R共にLレベルでは1
1−1がBレベル(押鍵開始検出モード)  FR=B
  l?R=Lでは11−2がBレベル(押鍵計測モー
ド)  IFR=II  EiR=Eでは11−5がB
レベル(離鍵開始検出モード)PR,SR共にBvレベ
ルtill−4がBレベル(111m計測モード)を出
力する。
The AND gate group 11 is the output PR, S of the shift register 9.
R is decoded to obtain the processing mode output for each key and output to the control circuit. Both F E and #R are 1 at L level
1-1 is B level (key press start detection mode) FR=B
l? When R=L, 11-2 is B level (key press measurement mode) IFR=II When EiR=E, 11-5 is B level
Level (key release start detection mode) Bv level till-4 outputs B level (111m measurement mode) for both PR and SR.

カウンタ12は、MビットのカウンタがNチャンネル時
分割構成されている。各7フトレジスタ13はN段で成
りM個並んでいる。加算器14はmビットの入力端と+
1人力、mピットの出力をもつ。切替器15は制御回路
26出力GOOLがLでは加算器出力がシフトレジスタ
の入力となりインクリメントモード、C0CLがBでは
Lが77トレジスタに入力されカウンタはクリアされる
The counter 12 has an M-bit counter configured in an N-channel time division manner. Each 7-foot register 13 consists of N stages, and M pieces are lined up. The adder 14 has m-bit input terminals and +
One-man power, m-pit output. When the output GOOL of the control circuit 26 is L, the switch 15 is in an increment mode in which the adder output becomes an input to the shift register, and when C0CL is B, L is input to the 77 register and the counter is cleared.

アンドゲート56Fis各シフトレジスタがH(最大カ
ウント状!11)で制御回路26のClN0を禁止スべ
(アンドゲートS7に入力される。この構成で最大カウ
ント状態ではインクリメントが停止カウンタは最大値を
自己保持する。
AND gate 56Fis Each shift register is H (maximum count state! 11) and inhibits ClN0 of the control circuit 26 (inputted to AND gate S7. With this configuration, in the maximum count state, increment stops and the counter sets the maximum value to self. Hold.

離完了フラグ18はN段の77トVジスタと切替器にエ
フ構成され、制御回路260F ’IL*xt冨がL時
、自己保持p WRXTMが8時書込となり911鳶丁
がBでセット、Lでリセットされる。本フラグの目的は
離鍵スピード計測が完了後、一定時開広の押鍵を検出し
ないモードをもつことにある。
The release completion flag 18 is composed of an N-stage 77V register and a switch, and when the control circuit 260F'IL*xt is L, the self-holding pWRXTM is written at 8 o'clock, and the 911 tobicho is set at B. It is reset with L. The purpose of this flag is to have a mode in which open/wide key presses are not detected for a certain period of time after key release speed measurement is completed.

登録レジスタ19はカウンタを捕捉している実名のレジ
スタであり行走責カウ/り2と列走査カラ/り5のビッ
ト数に等しい列数のり7トレジスタ2a−1〜2O−G
K(各シフトレジスタはN段)と切替器2電、オアゲー
ト群22−1〜22−GKから成り、制御回路26の7
;、WRXTMがL時内容は自己保持、H時KROL 
 がLでは2個の走査カウンタ内容(実名に対応する)
が書込まれ、KROLが■ではオールB(これは空を意
味する)が書込まれる。従って走査カウンタはオール1
の状態を持たぬ構成のカウンタである必要がある。
The registration register 19 is a register with a real name that captures the counter, and the number of columns equal to the number of bits of the row scan counter/2 and column scan color/5 is the register 2a-1 to 2O-G.
7 of the control circuit 26.
;, When WRXTM is L, the contents are self-retaining, when H, KROL
is the content of two scan counters (corresponding to the real name) in L.
is written, and if KROL is ■, all B's (which means empty) are written. Therefore, the scan counter is all 1
The counter must have no state.

登録レジスタ1?、カウンタ12、離完了フラグの内蔵
シフ)L/レジスタ全てN段であり共通システムクロッ
クφで同期して作動する。
Registration register 1? , counter 12, built-in shift of release completion flag) L/registers all have N stages and operate in synchronization with the common system clock φ.

一致検出回路25は走査カウンタ内容と登録レジスタ内
容が一致したとき、登録CE小出力制御回路に送出する
、 空検出回路24は登録レジスタ出力がオール8時、空チ
ヤンネル出力を制御回路26に送出する。
The coincidence detection circuit 25 sends out an empty channel output to the control circuit 26 when the contents of the scanning counter and the contents of the registration register match, to the registered CE small output control circuit, and the empty detection circuit 24 sends an empty channel output to the control circuit 26 when the registration register output is all 8. .

比較回路25は、制御回路26エり出力する計測時間と
カウントデータを比較し、カウントデータ犬侍、カウン
トオーバ出力を制御回路26に送出する。
The comparison circuit 25 compares the measured time outputted from the control circuit 26 with the count data, and sends out count data and count over output to the control circuit 26.

制御回路26は回路構造は動作フローに沿ってデコード
される論理回路であり、回路の詳細は動作フローで説明
することで代用する。
The control circuit 26 is a logic circuit whose circuit structure is decoded according to the operation flow, and the details of the circuit will be explained by referring to the operation flow.

各回路の状態を入力として、各回路にあらたな状態を指
定する機能の他に外部に向け、鍵のオンオフを出力する
In addition to the function of specifying a new state for each circuit by inputting the state of each circuit, it also outputs the on/off state of the key to the outside.

図2は因1の実施例回路の動作を説明する為の動作フロ
ーを示す。
FIG. 2 shows an operation flow for explaining the operation of the circuit according to the first embodiment.

■は押鍵開始検出モードで押鍵を検出しなかった場合で
次鍵走査に移る。
(2) is a case where no key press is detected in the key press start detection mode, and the process moves to the next key scan.

■は押鍵を検出するもカウンタが他の鍵処理に全て使用
されBUEIYである場合で無処理で次鍵走査に移る。
(3) is a case where a key press is detected but the counter is completely used for other key processing and is BUEIY, and the process moves to the next key scan without processing.

1jiOH=llを判断する行為はチャンネル数分のク
ロック時間必要とする8同様に登録レジスタ、カウンタ
、オフチャタフラグの入出力はチャンネル数分のクロッ
ク時間を必要とするが以後”の説明ではこのことには記
述をしない。
The act of determining 1jiOH=ll requires a clock time equal to the number of channels.8Similarly, the input/output of registration registers, counters, and off-chatter flags requires a clock time equal to the number of channels. shall not be described.

■は押鍵開始で空チャンネルに登録し、押−計測モード
に移る。
■Registers to an empty channel at the start of key press and moves to press-measurement mode.

■は押鍵計測モードで第1接点のみオンの場合で登録チ
ャンネルのカウンタをインクリメントする。
(2) increments the counter of the registered channel when only the first contact is on in the key press measurement mode.

■は押鍵計測モードで両接点がオフで且つカウンタ力T
 OA (@ を接点オンチャタリング時間)に達して
いない場せで、この場付も単にカウンタをインクリメン
トする。
■ is key press measurement mode, both contacts are off and counter force T
In the event that OA (@ contact on chatter time) has not been reached, this event also simply increments the counter.

■は押鍵計測モードで、両接点オフカウンタがTCAを
越えた場合で、演奏者が押鍵を途中でやめてしまったと
判断し、登録を解除、カウンタをクリアし、モードを押
鍵開始検出モードにもどす。
■ is the key press measurement mode, and when the double contact off counter exceeds TCA, it is determined that the performer has stopped pressing the key midway through, the registration is canceled, the counter is cleared, and the mode is changed to the key press start detection mode. Return to.

■は押鍵計測モードで、l@2接点がオンの場合で、押
鍵が完成されたとし、外部に:KKY  ON信号を送
出したあと登録解除、カウンタクリア、モードを離鍵開
始検出モードに移す、 惺)は鍵開始検出モードで@22接がオン、押鍵をRe
el、ている場合で無処理、 (0は第2接点がオフで、離鍵を開始するも空カウンタ
捕捉できず無処理、 [相]は離鍵開始で空チャンネルに登録し、モードを離
鍵計測モードに移す。
■ is the key press measurement mode, when the l@2 contact is on, the key press is completed, and after sending the KKY ON signal to the outside, the registration is canceled, the counter is cleared, and the mode is changed to the key release start detection mode. Shift, 惺) is in key start detection mode, @22 contact is on, key press is Re
el, no processing, (0 is when the second contact is off, the empty counter cannot be captured even when the key is released and no processing is performed, [phase] is registered to the empty channel when the key is released, and the mode is released. Move to key measurement mode.

■は離鍵計測モードで、離鍵スピード計測の場合 0#i離鍵計測を完了し、オフチャタ計測の場合である
(2) is the key release measurement mode, in the case of key release speed measurement, 0#i key release measurement is completed, and in the case of off chatter measurement.

0は離鍵スピード計測でカウンタがTOB(第2接点オ
フ時チャタリング時間)を越えていないので単にカウン
タをインクリメントする、(やは離鍵スピード計測でカ
ウンタがTOBを越えるも、第1接点がオンなので離鍵
途中とし単にカウンタをインクリメントする。
0 means that the counter does not exceed TOB (chattering time when the second contact is off) when the key release speed is measured, so the counter is simply incremented. Therefore, the counter is simply incremented while the key is being released.

■は離鍵スピード計測でカウンタがTCPを!えたあと
、@22接がオンなので、演奏者が離鍵を開始するも途
中で押鍵にもどったと判断し、登録を解除、カウンタを
クリアし、モードを離鍵開始検出モードにもどす、 [相]は離鍵スピード計測でTQBを越え、両接点オフ
で離鍵完了とし、Kl!  OFFを外部に送出し、つ
いで、オフチャタ計測へ移す為、オフチャタフラグをセ
ットカウンタをクリアする。
■The counter measures TCP when key release speed is measured! After that, since the @22 contact is on, it is determined that the performer starts to release the key but returns to the key press midway through, cancels the registration, clears the counter, and returns the mode to the key release start detection mode. ] exceeds TQB in the key release speed measurement, the key release is completed when both contacts are off, and Kl! Sends OFF to the outside, and then sets the off-chatter flag and clears the counter in order to move on to off-chatter measurement.

◎はオフチャタ計測でカウンタがToo(第1接点オフ
チャタリング時間)を越えていない場合で単にカウンタ
をインクリメントする。
◎ means when the counter does not exceed Too (first contact off-chattering time) during off-chattering measurement, the counter is simply incremented.

[相]はオフチャタ計測でカウンタがTOCを越えたの
で登録を解除、カウンタをクリアし、オフチャタフラグ
をリセットし、モードを押鍵開始検出モードに移す。
In [phase], the counter exceeds the TOC during off-chatter measurement, so the registration is canceled, the counter is cleared, the off-chatter flag is reset, and the mode is shifted to key press start detection mode.

以上で回路の動作説明が完了したが時分割的に各鍵を処
理するので、単一の鍵に注目した場合の動作が理解しに
くい。工って、第5図に単一の鍵に注目する動作フロー
の概要を記し、これについて説明する。
The operation of the circuit has been explained above, but since each key is processed in a time-sharing manner, it is difficult to understand the operation when focusing on a single key. FIG. 5 shows an outline of the operation flow focusing on a single key, and this will be explained.

第5図は特定のある鍵の押鍵〜1l111!の処理フロ
ーを示す。
Figure 5 shows a specific key pressed ~1l111! The processing flow is shown below.

■は押鍵の開始、■は押′a開始後第2接点オンでKF
XY  ONの送出、■は押鍵開始後TCA(第1接点
オン時チャタリング時間)経過後に第1接点オフで押鍵
途中の離鍵、■は押鍵開始後TOAの計測、[F]は押
鍵開始後TCAを越え、押鍵スピードの計測、[F]は
離鍵開始、■はm鍵開始iT(!B(第2接点オフ時チ
ャタリング時間)経過、■はTOB経過後の第1接点オ
フでKl!l!OFFの送出、■tiT(!E経過後@
2接点オンで離鍵途中の押鍵、@は離鍵途中の離鍵スピ
ードの計測、■は離鍵完了6tT(!O(@11接オフ
時チャタIIング時間)を越え再び押鍵開始検出への復
帰を示す。次に第曳図に鍵スィッチの実際のオンオフの
タイムチャートを示し、これについて、これまでに述べ
た動作フローの意味について記す。
■ is the start of key press, ■ is KF when the second contact turns on after the start of press 'a'
Sends XY ON, ■ indicates key release while the first contact is off after TCA (chattering time when first contact is on) has elapsed after the start of key press, ■ measures TOA after key press starts, [F] indicates press After the key starts, TCA is exceeded, the key press speed is measured, [F] is the key release start, ■ is the m key start iT (!B (chattering time when the second contact is off) elapsed, ■ is the first contact after TOB elapsed) Sends Kl!l!OFF when off, ■tiT(!After E elapses @
When 2 contacts are on, the key is pressed while the key is being released, @ is the measurement of the key release speed while the key is being released, and ■ is when the key release is completed and the key press is detected again after exceeding 6tT (!O (Chattering time when the 11 contacts are off)). Next, the actual on/off time chart of the key switch is shown in the second diagram, and the meaning of the operation flow described so far will be described.

1)は押鍵時の第1.第2接点のチャタリングを含む事
例である。P=EでONスピード計副側始まりB=Eで
ONを出力する。次の8=LでOFFスピード計測を行
うがTCB経過後日=3であるから押鍵中と判断してい
る。
1) is the first . This is an example including chattering at the second contact. When P=E, the speedometer starts on the sub side and outputs ON when B=E. The OFF speed is measured at the next 8=L, but since the day after TCB elapses is 3, it is determined that the key is being pressed.

2)は離鍵時のw、1.第2接点のチャタリングを含む
事例である。8=T、+でOFFスピード計測が始まり
TOB経過時点でEi=Lが確認され真の離鍵中と判断
、さらにスピード計測を続行する。
2) is w when the key is released, 1. This is an example including chattering at the second contact. OFF speed measurement starts at 8=T,+, and Ei=L is confirmed when TOB has passed, and it is determined that the key is truly released, and speed measurement is continued.

P=LでOFFデータを出力するが次にオフチャタ時間
計測モードに入りTcc経過後始めて次の押鍵検出モー
ドにもどる。
When P=L, OFF data is output, but then the off-chatter time measurement mode is entered, and only after Tcc has elapsed does it return to the next key press detection mode.

5)は押鍵途中での離鍵もどりの事例である。5) is an example of a key being released in the middle of being pressed.

IF=11でONスピード計測を開始するがTOA経過
時点でF=Lを検出した場合は押鍵途中での解除と判断
し押鍵検出へもどる。
ON speed measurement is started at IF=11, but if F=L is detected after TOA has elapsed, it is determined that the key has been released in the middle of being pressed, and the process returns to key press detection.

4)は離鍵がTOB!シ早(完了したφ例である、S=
LでOFFスピード計測を開始するが、カウンタがTO
BK達するまではF=Lでも離鍵完了と判断しないので
最高速離鍵データはTCBである1、、第2接点のチャ
タリングを考慮した場合この制約はやむをえない、 5)は鍵の離鍵と押鍵が早く起った事例である。
4) Key release is TOB! shi early (completed φ example, S=
OFF speed measurement starts with L, but the counter is TO
The fastest key release data is TCB because it is not determined that the key release is complete until BK is reached, even if F=L. 1. This restriction is unavoidable when considering the chattering of the second contact. 5) This is a case where the key occurred early.

OFFデータ出力のあとオフチャタ時間TC,O完了後
仄の押鍵検出を行うので、仄の押鍵スピード検出が実際
Lす早いデータが得られる。第1接点の牛ヤタ11ング
を考慮した場合、この制約はやむをえない。
Since the second key press detection is performed after the off chatter time TC, O is completed after the OFF data is output, data can be obtained in which the second key press speed is actually detected L faster. This restriction is unavoidable when considering the first contact point.

6)は押鍵状態での微振動等で、スイッチオフが短時間
生ずる場合である。第1接点のLレベルでは離鍵開始と
は判断されず、第2接点のLレベルで離鍵OFFスピー
ド検出でTOB後第後接2接〔発明の効果〕 この発明は以上説明したよう忙、鍵オン時のスピード計
測時間が、接点のチャタリング時間より短いことを必要
とするタラ゛チレスポンス走!回路に効果的な構成が得
られ、且つ回路構成も簡潔なものである。
6) is a case where the switch is turned off for a short time due to slight vibrations when the key is pressed. At the L level of the first contact, it is not determined that the key release has started, and when the second contact is at the L level, the key release OFF speed is detected and the second contact is made after TOB. A multi-response run that requires the speed measurement time when the key is turned on to be shorter than the chattering time of the contacts! An effective circuit configuration is obtained, and the circuit configuration is also simple.

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

@1図(a)及び@1図(b)はこの発明の実施例回路
図。 第2図はこの実施例回路の動作フロー手ヤード。 軍5図はこの実施例回路の1個の鍵に対する動作フロー
チャート。 第4図はこの実施例回路の動作タイムチャートである。 1・・・鍵盤回路 2・・・行走査カウンタ 5・・・列走査カウンタ 4〜7・・・鍵出力回路 8・・・鍵レジスタ 9・・・シストレジスタ t(1・・・切替器 11・・・アンドゲート群 12・・・カウンタ +5・・・シストレジスタ 14・・・加算器 15・・・切替器 16・・・アンドゲート 17・・・アンドゲート 18・・・離完了フラグ %9・・・登録レジスタ 20・・・シストレジスタ 21・・・切替器 22・・・オアゲート 23・・・一致検出回路 24・・・空検出回路 25・・・比較回路 26・・・制御回路 以   上
@1 Figure (a) and @1 Figure (b) are circuit diagrams of embodiments of this invention. Figure 2 shows the operational flow of this embodiment circuit. Figure 5 is an operational flowchart for one key of this embodiment circuit. FIG. 4 is an operation time chart of this embodiment circuit. 1...Keyboard circuit 2...Row scanning counter 5...Column scanning counter 4 to 7...Key output circuit 8...Key register 9...Sist register t(1...Switcher 11 ...AND gate group 12...Counter +5...Sist register 14...Adder 15...Switcher 16...AND gate 17...And gate 18...Release completion flag %9 ... Registration register 20 ... System register 21 ... Switcher 22 ... OR gate 23 ... Match detection circuit 24 ... Empty detection circuit 25 ... Comparison circuit 26 ... Control circuit

Claims (3)

【特許請求の範囲】[Claims] (1)鍵盤走査にデジタル処理を用いる電子楽器に於て
、各鍵に対応して押鍵の浅い位置でオンする第1接点と
、押鍵のより深い位置でオンする第2接点を有する鍵盤
回路を走査し、各鍵の押鍵時二接点のオン時間差を計測
する手段と、押鍵時、第1接点のオン時チャタリング時
間を計測する手段と、離鍵時第2接点のオフ時チャタリ
ング時間を計測する手段と、第1接点のオフ時チャタリ
ング時間を計測する手段を有して成る電子楽器のタッチ
レスポンス走査回路。
(1) In an electronic musical instrument that uses digital processing for keyboard scanning, a keyboard has a first contact that turns on when the key is pressed shallowly and a second contact that turns on when the key is pressed deeper, corresponding to each key. means for scanning the circuit and measuring the difference in on time between the two contacts when each key is pressed; means for measuring the chattering time when the first contact is on when the key is pressed; and the chattering when the second contact is off when the key is released. A touch response scanning circuit for an electronic musical instrument, comprising means for measuring time and means for measuring off-time chattering time of a first contact.
(2)前記の計測手段に二接点のオフ時間差を計測する
手段を追加して成る特許請求の範囲第1項記載の電子楽
器のタッチレスポンス走査回路。
(2) A touch response scanning circuit for an electronic musical instrument as set forth in claim 1, further comprising means for measuring an off time difference between two contacts in addition to the measuring means.
(3)前記時間計測手段は鍵数よりよほど少数のカウン
タ数であり、前記5種の目的別計測手段用として切替使
用することを特徴とする特許請求の範囲第1項記載の電
子楽器のタッチレスポンス走査回路。
(3) The touch of an electronic musical instrument according to claim 1, characterized in that the time measuring means has a much smaller number of counters than the number of keys, and is switched and used as the five types of purpose-specific measuring means. Response scanning circuit.
JP59270360A 1984-12-21 1984-12-21 Touch response scanning circuit Pending JPS61148494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59270360A JPS61148494A (en) 1984-12-21 1984-12-21 Touch response scanning circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59270360A JPS61148494A (en) 1984-12-21 1984-12-21 Touch response scanning circuit

Publications (1)

Publication Number Publication Date
JPS61148494A true JPS61148494A (en) 1986-07-07

Family

ID=17485182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59270360A Pending JPS61148494A (en) 1984-12-21 1984-12-21 Touch response scanning circuit

Country Status (1)

Country Link
JP (1) JPS61148494A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6141192A (en) * 1984-07-31 1986-02-27 株式会社河合楽器製作所 Electronic musical instrument

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6141192A (en) * 1984-07-31 1986-02-27 株式会社河合楽器製作所 Electronic musical instrument

Similar Documents

Publication Publication Date Title
KR920007349A (en) Digital pulse processing equipment
JPS61148494A (en) Touch response scanning circuit
JPS61148495A (en) Touch response scanning circuit
JP2006333148A (en) Touch sensor circuit
SU1277182A1 (en) Device for magnetic recording of time signals
SU1216781A1 (en) Information retrieval device
SU1406589A1 (en) Information input device
SU1462283A1 (en) Information input device
RU2058582C1 (en) Device for displaying control signals
SU463109A1 (en) Input device
SU1181156A2 (en) Position coder
SU1416965A1 (en) Information input device
SU451208A1 (en) Device for displaying established connections on a cross switch
SU1374262A1 (en) Apparatus for registering equipment downtime
SU1553986A1 (en) Digital correlator of television signals
SU1124308A1 (en) Interruption control unit
JPS62219200A (en) Test system of lam display unit
SU932519A1 (en) Graphic information readout device
SU1070578A1 (en) Information readout device
SU1424003A1 (en) Data input device
SU1418710A1 (en) Program control device
SU783802A1 (en) Wiring testing device
SU1113789A1 (en) Information input device
SU1394451A1 (en) Device for recording discrete signals
SU1434435A1 (en) Multichannel device for processing requests