JPH04339262A - Device for detecting key-striking speed - Google Patents

Device for detecting key-striking speed

Info

Publication number
JPH04339262A
JPH04339262A JP18752591A JP18752591A JPH04339262A JP H04339262 A JPH04339262 A JP H04339262A JP 18752591 A JP18752591 A JP 18752591A JP 18752591 A JP18752591 A JP 18752591A JP H04339262 A JPH04339262 A JP H04339262A
Authority
JP
Japan
Prior art keywords
switch
key
output
circuit
time
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
JP18752591A
Other languages
Japanese (ja)
Inventor
Hironori Watanabe
渡辺 宏徳
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 Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument 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 Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP18752591A priority Critical patent/JPH04339262A/en
Publication of JPH04339262A publication Critical patent/JPH04339262A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable a detection sensitivity of a key-striking speed to be switched arbitrarily and set by performing an exponential operation after actuation of a first switching means, outputting this exponential operation value as a keystriking speed information indicating the key-striking speed at actuation of a second switching means, switching and giving a change-rate information which determines a ratio of the change in exponential operation value for allowing operation details of exponential operation to be switched. CONSTITUTION:When a switch S1 is closed by striking a key, a numeric value N is read into a memory circuit (a) 7 through a data selection circuit 6, this numeric value N is multiplied by a constant M (0<M<1) by a multiplier 8 at each clock signal phi0 for performing exponential operation. When this constant M is switched and set, contents of the exponential operation change and a detection sensitivity of key-striking speed is switched. Then, when the switch S2 is closed, this exponential operation value is read into a memory circuit (b) 9 and then is outputted. This kind of processing is executed for a plurality of keys by time-sharing.

Description

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

【0001】0001

【産業上の利用分野】本発明は、打鍵速度を検出し、そ
の速度を基に発生する音楽の音量、音色をコントロール
してより忠実に演奏者の意図を表現できるタッチレスポ
ンス装置を有する鍵盤楽器等における打鍵速度の検出装
置に関するものである。
[Industrial Application Field] The present invention is a keyboard instrument equipped with a touch response device that detects the speed of keystrokes and controls the volume and timbre of the music generated based on that speed to more faithfully express the player's intentions. The present invention relates to a keystroke speed detection device.

【0002】0002

【従来技術】従来、打鍵速度を検出する代表的な方式は
、抵抗素子と容量素子より成る時定数回路を利用して打
鍵速度を抽出する方式がよく知られている。原理的には
、打鍵に伴ないまずSW1が閉成され、続いて時間的に
遅れてSW2が閉成されるように、スイッチSW1、S
W2を各鍵下に設ける。そして、スイッチSW1の閉成
信号を受けて、あらかじめ所定電位に充電されている容
量素子の電荷を抵抗を介して放電させてゆく。すなわち
、容量素子の端子間電圧は時間とともに指数的に減衰し
てゆく。続いて閉成されるスイッチSW2の閉成信号に
よって上記容量素子の電位を検出することにより、押鍵
による2つのスイッチSW1、SW2の閉成する時間差
を電圧値として取出すことができる。
2. Description of the Related Art Conventionally, a well-known typical method for detecting the keying speed is a method of extracting the keying speed using a time constant circuit consisting of a resistive element and a capacitive element. In principle, switches SW1 and SW are closed so that SW1 is closed first when a key is pressed, and then SW2 is closed after a time delay.
W2 is provided under each key. Then, in response to the closing signal of the switch SW1, the capacitive element, which has been charged to a predetermined potential in advance, is discharged via the resistor. That is, the voltage between the terminals of the capacitive element decays exponentially over time. By detecting the potential of the capacitive element based on the closing signal of the switch SW2, which is subsequently closed, the time difference between the closing of the two switches SW1 and SW2 due to key depression can be extracted as a voltage value.

【0003】0003

【発明が解決しようとする課題】しかし、このような従
来の方式には以下に示す欠点があり、十分満足する性能
を得ることは困難であった。すなわち、時定数回路に使
用する容量素子は比較的大容量のものが必要であり、L
SI化等の小形化が困難である。また、複数の鍵を有す
る電子楽器のために複数の時定数回路を使用した場合、
各々の抵抗値、容量素子の容量が不均一なために各々時
定数を均一にするための調整が必要となる等の不都合が
あった。
[Problems to be Solved by the Invention] However, such conventional systems have the following drawbacks, and it has been difficult to obtain sufficiently satisfactory performance. In other words, the capacitive element used in the time constant circuit needs to have a relatively large capacity, and the L
It is difficult to downsize such as by making it into an SI. Also, when using multiple time constant circuits for electronic musical instruments with multiple keys,
Since the resistance values and capacitances of the capacitive elements are not uniform, it is necessary to make adjustments to make the time constants uniform.

【0004】また、2つのスイッチの閉成の時間差を、
カウンタでクロックパルスを計数することにより、打鍵
速度を得る方法も開示されているが、時定数回路を用い
た方法のように、打鍵速度として得られる値が指数演算
値として得られず、時定数回路を使用したタッチレスポ
ンス装置を有する電子楽器等に置換する場合には何らか
の変換装置が必要であった。
[0004] Also, the difference in closing time of two switches is expressed as
A method of obtaining the keystroke speed by counting clock pulses with a counter has also been disclosed, but unlike the method using a time constant circuit, the value obtained as the keystroke speed cannot be obtained as an exponential calculation value, and the time constant When replacing it with an electronic musical instrument or the like having a touch response device using a circuit, some kind of conversion device is required.

【0005】本発明の目的は抵抗、容量の時定数回路と
等価のデジタル演算回路で高精度かつ安定に打鍵速度を
検出でき、しかもLSI化等の装置の小形化の可能であ
り、さらに打鍵速度の検出感度を任意に切り換え設定で
きる打鍵速度検出装置を提供することである。
The object of the present invention is to be able to detect the keying speed with high accuracy and stability using a digital calculation circuit equivalent to a time constant circuit of resistors and capacitors, and to make it possible to miniaturize the device such as an LSI. An object of the present invention is to provide a keystroke speed detection device that can arbitrarily switch and set detection sensitivity.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
、本発明は、第1のスイッチング手段の作動以降指数演
算を行い、この指数演算値を第2のスイッチング手段の
作動時点で、打鍵速度を示す打鍵速度情報として出力し
、上記指数演算値の変化の割合を決定する変化割合情報
を切り換えて与えて、上記指数演算の演算内容を切り換
えるようにしたものである。
[Means for Solving the Problems] In order to achieve the above object, the present invention performs an exponent calculation after the first switching means is activated, and uses this exponent calculation value at the keystroke speed when the second switching means is activated. The content of the exponent operation can be changed by outputting keying speed information indicating the exponent operation and changing rate information for determining the rate of change of the exponent operation value.

【0007】[0007]

【作用】これにより、2つのスイッチング手段の作動時
点の時間差に応じた打鍵情報を、デジタル処理により出
力でき、従って高精度かつ安定に打鍵速度を検出でき、
しかもLSI化等の装置の小形化に最適であるほか、指
数演算の演算内容を切り換えることによって打鍵速度の
検出感度を任意に切り換え設定できる。
[Operation] As a result, keystroke information corresponding to the time difference between the activation points of the two switching means can be outputted through digital processing, and therefore the keystroke speed can be detected with high precision and stability.
Furthermore, it is ideal for downsizing devices such as LSIs, and the detection sensitivity of the keystroke speed can be arbitrarily switched and set by switching the calculation contents of the exponent calculation.

【0008】[0008]

【実施例】図1は本発明の実施例の回路図である。同図
において、鍵盤楽器等の鍵盤下に置かれたスイッチS1
、S2は、鍵の押下によって、まずスイッチS1が閉成
し、続いて時間的に遅れてスイッチS2が閉成されるよ
うに設けられている。また、各スイッチS1、S2の一
方の端子は接地され、他方の端子はそれぞれ抵抗r1、
r2を介して電源Vccに接続されている。
Embodiment FIG. 1 is a circuit diagram of an embodiment of the present invention. In the figure, a switch S1 placed under the keyboard of a keyboard instrument, etc.
, S2 are provided so that when the key is pressed, switch S1 is first closed, and then, after a time delay, switch S2 is closed. Also, one terminal of each switch S1, S2 is grounded, and the other terminal is connected to a resistor r1,
It is connected to the power supply Vcc via r2.

【0009】従ってスイッチS1、S2の開成(OFF
)時には、スイッチS1、S2の上記両端子の電位は電
圧Vccにアップし、閉成(ON)時は同両端子の電位
は0Vにダウンする。すなわち、デジタル的にはスイッ
チS1、S2から、閉成時にはローレベル信号“0”、
開成時にはハイレベル信号“1”がそれぞれ出力される
。図では機械的なスイッチで示したが、磁気や光を利用
したスイッチ等、実質的に開成、閉成の2状態を表わせ
るものならば何を用いてもよい。
Therefore, when the switches S1 and S2 are opened (OFF)
), the potentials at both terminals of the switches S1 and S2 increase to voltage Vcc, and when closed (ON), the potentials at both terminals decrease to 0V. That is, digitally, from the switches S1 and S2, a low level signal "0" is output when closed,
When opened, a high level signal "1" is output. Although a mechanical switch is shown in the figure, any switch that can substantially display two states, open and closed, may be used, such as a switch that uses magnetism or light.

【0010】フリップフロップ1、フリップフロップ2
は、スイッチS1、スイッチS2の各々の閉成(ON)
と開成(OFF)を示す信号と、クロック発生器11か
らのタイミングクロック信号φ0 とをタイミング的に
同期をとるために設けられている。従って、スイッチS
1、スイッチS2がON/OFFされると、フリップフ
ロップ1およびフリップフロップ2から出力するスイッ
チS1、スイッチS2のON/OFF信号が、次のタイ
ミングクロック信号φ0 のタイミングで出力される。
[0010] Flip-flop 1, flip-flop 2
is the closing (ON) of each of switch S1 and switch S2
This signal is provided to synchronize the timing clock signal φ0 from the clock generator 11 with a signal indicating open (OFF). Therefore, switch S
1. When switch S2 is turned ON/OFF, the ON/OFF signals of switch S1 and switch S2 output from flip-flop 1 and flip-flop 2 are output at the timing of the next timing clock signal φ0.

【0011】フリップフロップ3には、フリップフロッ
プ1からのスイッチS1のON/OFF信号が入力され
、この信号がタイミングクロック信号φ0 の1周期分
だけ遅延されて出力される。従って、フリップフロップ
1の出力信号をNOT回路4で反転した信号と、フリッ
プフロップ3の出力信号の論理積をANDゲート5でと
ると、ANDゲート5からはスイッチS1が閉成された
瞬間に単発パルスが出力される。
The ON/OFF signal of the switch S1 from the flip-flop 1 is input to the flip-flop 3, and this signal is output after being delayed by one period of the timing clock signal φ0. Therefore, when the AND gate 5 takes the logical product of the output signal of the flip-flop 1 inverted by the NOT circuit 4 and the output signal of the flip-flop 3, the AND gate 5 outputs a single signal at the moment the switch S1 is closed. A pulse is output.

【0012】この単発パルスはタイミングクロック信号
φ0 の1周期のパルス幅であり、データ選択回路6を
制御するために使用される。データ選択回路6には数値
Nと乗算器8の出力が与えられており、単発パルスが発
生している間には数値Nが選択出力され、それ以外の時
には乗算器8の出力が選択出力される。
This single pulse has a pulse width of one cycle of the timing clock signal φ0, and is used to control the data selection circuit 6. The data selection circuit 6 is supplied with the numerical value N and the output of the multiplier 8, and the numerical value N is selectively output while a single pulse is being generated, and the output of the multiplier 8 is selectively output at other times. Ru.

【0013】記憶回路(a)7には、上記タイミングク
ロック信号φ0 が記憶指令信号として与えられており
、上記データ選択回路6からの選択出力が取り込まれ、
タイミングクロック信号φ0 の1周期分遅延して出力
される。そして、この記憶回路(a)7の出力は、乗算
器8においてあらかじめ設定した定数M(0<M<1)
と乗算され、上記データ選択回路6に再び与えられる。
The storage circuit (a) 7 is given the timing clock signal φ0 as a storage command signal, and receives the selection output from the data selection circuit 6.
It is output with a delay of one period of the timing clock signal φ0. Then, the output of this memory circuit (a) 7 is a constant M (0<M<1) set in advance in the multiplier 8.
The resultant signal is multiplied by , and then supplied to the data selection circuit 6 again.

【0014】従って、スイッチS1が閉成した瞬間、数
値Nがデータ選択回路6を介して記憶回路(a)7へ記
憶され、その後数値Nは記憶回路(a)7、乗算器8、
データ選択回路6による巡回形の演算回路により、タイ
ミングクロック信号φ0 の一定周期のインターバル時
間ごとに、順次指数演算されていく。そして、記憶回路
(a)7からはタイミングクロック信号φ0 の周期ご
とに、図2に示す指数的に減少する演算値が出力される
Therefore, at the moment when the switch S1 is closed, the numerical value N is stored in the storage circuit (a) 7 via the data selection circuit 6, and thereafter the numerical value N is stored in the storage circuit (a) 7, the multiplier 8,
A cyclic arithmetic circuit formed by the data selection circuit 6 sequentially performs exponent operations at intervals of a constant period of the timing clock signal φ0. Then, the memory circuit (a) 7 outputs an exponentially decreasing calculated value shown in FIG. 2 every cycle of the timing clock signal φ0.

【0015】図2においては、M=0.98の場合と、
M=0.94の2つの指数演算の演算内容について示し
ており、各々スイッチS1が閉成され、数値Nが記憶回
路(a)7に記憶されて以降の状態を示している。この
定数Mは、上記指数演算値の変化の割合を決定しており
、任意に切り換え設定して打鍵速度に対応する値を調整
することができる。
In FIG. 2, the case where M=0.98 and
The calculation contents of two index calculations with M=0.94 are shown, and the state after each switch S1 is closed and the numerical value N is stored in the storage circuit (a) 7 is shown. This constant M determines the rate of change of the above exponent calculation value, and can be arbitrarily switched and set to adjust the value corresponding to the keying speed.

【0016】このような順次タイミングクロック信号φ
0 に同期して指数的に減少してゆく演算値を、スイッ
チS1の閉成に続いて時間的に遅れて閉成するスイッチ
S2の閉成信号によって抽出することにより、押鍵速度
に対応した値を得ることができる。すなわち、スイッチ
S2が閉成されると、その閉成信号はフリップフロップ
2でタイミングクロック信号φ0 と同期がとられ、記
憶回路(b)9に記憶指令信号として与えられる。する
と、その時の記憶回路(a)7からの上記指数演算値が
、記憶回路(b)9に取り込まれ出力される。これによ
り、押鍵に伴なって時間差を有して閉成する2つのスイ
ッチS1、S2の、この時間差に応じた打鍵速度情報が
検出され出力される。
Such sequential timing clock signal φ
By extracting a calculated value that decreases exponentially in synchronization with 0 with the closing signal of switch S2, which closes with a time delay following the closing of switch S1, value can be obtained. That is, when the switch S2 is closed, its closing signal is synchronized with the timing clock signal φ0 by the flip-flop 2 and is given to the storage circuit (b) 9 as a storage command signal. Then, the exponent calculation value from the memory circuit (a) 7 at that time is taken into the memory circuit (b) 9 and output. As a result, key-pressing speed information of the two switches S1 and S2, which close with a time difference as the key is pressed, is detected and output according to the time difference.

【0017】図3は本発明の他の実施例の回路図であり
、複数の鍵の打鍵速度に対応した値を各鍵独立して時分
割に得るものである。同図においては、押鍵に伴なって
閉成する第1のスイッチと、第1のスイッチより時間的
に遅れて閉成する第2のスイッチの組が、複数鍵に対応
して別々に複数組設けられる。そして、時分割に第1の
各々のスイッチの閉成、開成の状態を検出する手段と、
時分割に得られた複数の第1のスイッチの閉成時点をそ
れぞれ検出して所定値Nを各々得る手段と、得られた所
定値Nから所定単位時間毎に指数的に減少してゆく値を
各鍵別に複数演算するデジタル演算回路を設け、時分割
に得られた第2のスイッチの閉成信号によって上記演算
回路の出力を抽出することによって、打鍵速度に対応し
た値を得るようにしたものである。図3は上記複数の鍵
として8個の鍵のものが例示されている。
FIG. 3 is a circuit diagram of another embodiment of the present invention, in which values corresponding to the keying speeds of a plurality of keys are obtained independently and time-divisionally for each key. In the same figure, a first switch that closes when a key is pressed and a second switch that closes after a time delay from the first switch are arranged separately in correspondence to multiple keys. A set is provided. and means for detecting the closed and opened states of each of the first switches in a time-sharing manner;
Means for obtaining each predetermined value N by detecting the closing points of a plurality of first switches obtained in a time-division manner, and a value that decreases exponentially from the obtained predetermined value N every predetermined unit time. A digital calculation circuit is provided to perform multiple calculations for each key, and by extracting the output of the calculation circuit based on the second switch closing signal obtained in a time-sharing manner, a value corresponding to the keystroke speed is obtained. It is something. FIG. 3 shows an example of eight keys as the plurality of keys.

【0018】クロック発生器11からはタイミングクロ
ック信号nφ0 が発生されカウンタ12に与えられる
。 カウンタ12は8進カウンタであり、タイミングクロッ
ク信号nφ0 に同期して連続的に計数する。カウンタ
12の計数値はデコーダ13に与えられ、デコーダ13
からは8個の時分割タイムスロット信号Q1、Q2、Q
3、…、Q8がデコード出力される。
A timing clock signal nφ0 is generated from the clock generator 11 and applied to the counter 12. The counter 12 is an octal counter and counts continuously in synchronization with the timing clock signal nφ0. The count value of the counter 12 is given to the decoder 13, and the decoder 13
8 time-division time slot signals Q1, Q2, Q
3, . . . , Q8 are decoded and output.

【0019】この時分割タイムスロット信号Q1、Q2
、Q3、…、Q8は、ローレベル信号“0”であり、各
鍵別に設けられたS1−1とS2−1、S1−2とS2
−2、S1−3とS2−3、……、S1−8とS2−8
の8組のスイッチにそれぞれ与えられる。この8組のス
イッチは、押鍵に伴なって閉成する第1のスイッチS1
−1、S1−2、…と、第1のスイッチより時間的に遅
れて閉成する第2のスイッチS2−1、S2−2、…と
より成っている。
These time division time slot signals Q1, Q2
, Q3, ..., Q8 are low level signals "0", and S1-1 and S2-1, S1-2 and S2 provided for each key.
-2, S1-3 and S2-3, ..., S1-8 and S2-8
is applied to each of the eight sets of switches. These eight sets of switches include a first switch S1 that closes when a key is pressed;
-1, S1-2, . . . and second switches S2-1, S2-2, . . . which close later than the first switches.

【0020】従って、ラインL1には8個の鍵に対応し
た8個の第1のスイッチの閉成、開成を示すON/OF
F信号が時分割に得られ、ラインL2には8個の鍵に対
応した8個の第2のスイッチの閉成、開成を示すON/
OFF信号が時分割に得られる。ラインL1、L2の信
号が入力されるフリップフロップ14、15には、タイ
ミングクロック信号nφ0 が与えられており、第1ス
イッチ、第2スイッチのON/OFF信号が、タイミン
グクロック信号nφ0 に同期してフリップフロップ1
4、15より時分割に出力される。
Therefore, on the line L1, there are ON/OF signals indicating the closing and opening of the eight first switches corresponding to the eight keys.
The F signal is obtained in a time-division manner, and on line L2 there are ON/OFF signals indicating the closing and opening of eight second switches corresponding to the eight keys.
OFF signals are obtained in a time-division manner. A timing clock signal nφ0 is applied to the flip-flops 14 and 15 to which the signals of lines L1 and L2 are input, and the ON/OFF signals of the first switch and the second switch are synchronized with the timing clock signal nφ0. flip flop 1
4 and 15 in a time-division manner.

【0021】このフリップフロップ14の出力はシフト
レジスタ16に入力され、このシフトレジスタ16は8
段のシリアル入力かつシリアル出力のシフトレジスタで
あり、タイミングクロック信号nφ0 によって順次シ
フト動作する。このシフトレジスタ16には、上記8個
の第1のスイッチのON/OFF信号が1時分割フレー
ム分シリアルに記憶され、この記憶内容はタイミングク
ロック信号8個分の遅延後のものである。
The output of this flip-flop 14 is input to a shift register 16, and this shift register 16 has 8
This is a serial input and serial output shift register of the stage, and sequentially shifts in response to the timing clock signal nφ0. The shift register 16 serially stores ON/OFF signals of the eight first switches for one time division frame, and the stored contents are delayed by eight timing clock signals.

【0022】従って、フリップフロップ14の出力をN
OT回路17で反転した信号と、シフトレジスタ16の
出力とを、ANDゲート18に与えて論理積をとること
によって、ANDゲート18からは各鍵に設けられた8
個の第1のスイッチの閉成した瞬間を示す信号が順次時
分割に得られる。図3の回路では閉成した鍵に対応する
タイムスロットにハイレベル信号“1”が生ずるように
構成されている。
Therefore, the output of the flip-flop 14 is N
The signal inverted by the OT circuit 17 and the output of the shift register 16 are given to the AND gate 18 to perform a logical product.
Signals indicating the instants at which the first switches are closed are sequentially obtained in a time-division manner. The circuit of FIG. 3 is constructed so that a high level signal "1" is generated in the time slot corresponding to the closed key.

【0023】一方、上記フリップフロップ15からは、
8個の第2のスイッチのON/OFF信号が時分割に出
力され、シフトレジスタ19、NOT回路20に入力さ
れる。このNOT回路20の出力及びシフトレジスタ1
9の出力は、ANDゲート21に与えられ、このAND
ゲート21からは、前述した第1のスイッチの場合と同
様に、各鍵別に設けられた8個の第2のスイッチの閉成
した瞬間を示す信号が順次時分割に得られる。
On the other hand, from the flip-flop 15,
ON/OFF signals of the eight second switches are output in a time-division manner and input to the shift register 19 and NOT circuit 20. The output of this NOT circuit 20 and the shift register 1
The output of 9 is given to AND gate 21, and this AND
As in the case of the first switch described above, from the gate 21, signals indicating the moments when eight second switches provided for each key are closed are sequentially obtained in a time-sharing manner.

【0024】データ選択回路(A)22には、数値Nと
乗算器24の出力が与えられており、ANDゲート18
より得られる信号によって、上記2つの入力のうち一方
が選択され出力される。ある鍵が押鍵され、その鍵に対
応する第1のスイッチが閉成されると、その鍵に対応す
るタイムスロットにおいて、第1のスイッチの閉成した
瞬間だけ、ANDゲート18の出力に、タイミングクロ
ック信号nφ0 の周期でハイレベル信号“1”が生じ
、この結果データ選択回路(A)22では数値Nが選択
される。また、ANDゲート18の出力がローレベル信
号“0”の場合には乗算器24の出力が選択される。
The data selection circuit (A) 22 is supplied with the numerical value N and the output of the multiplier 24, and the AND gate 18
Depending on the signal obtained, one of the two inputs is selected and output. When a certain key is pressed and the first switch corresponding to that key is closed, in the time slot corresponding to that key, the output of the AND gate 18 is set only at the moment when the first switch is closed. A high level signal "1" is generated at the period of the timing clock signal nφ0, and as a result, the data selection circuit (A) 22 selects the numerical value N. Further, when the output of the AND gate 18 is a low level signal "0", the output of the multiplier 24 is selected.

【0025】データ選択回路(A)22の出力は、記憶
回路(A)23に与えられ、タイミングクロック信号n
φ0 のタイミングで順次取り込まれ記憶される。記憶
回路(A)23としては、鍵数に対応する8段のシリア
ル入力かつシリアル出力の複数ビットのシフトレジスタ
が使用され、順次タイミングクロック信号nφ0 に応
じてシフト動作する。
The output of the data selection circuit (A) 22 is given to a storage circuit (A) 23, and a timing clock signal n
The data is sequentially captured and stored at the timing of φ0. As the memory circuit (A) 23, an 8-stage serial input/serial output multi-bit shift register corresponding to the number of keys is used, and shifts are performed sequentially in response to a timing clock signal nφ0.

【0026】従って、データ選択回路22からの出力は
、記憶回路(A)23の出力より、タイミングクロック
信号nφ0 の8個分遅延されて得られる。このように
記憶回路(A)23は、シフトレジスタ16と同期して
シフト動作する。この記憶回路(A)23の出力は、乗
算器24において、あらかじめ設定した定数M(0<M
<1)と乗算され、データ選択回路22に与えられる。
Therefore, the output from the data selection circuit 22 is delayed from the output from the storage circuit (A) 23 by eight timing clock signals nφ0. In this way, the memory circuit (A) 23 performs a shift operation in synchronization with the shift register 16. The output of this memory circuit (A) 23 is sent to a multiplier 24 using a preset constant M (0<M
<1) and provided to the data selection circuit 22.

【0027】ある鍵が押鍵され、その鍵に対応する第1
のスイッチが閉成されると、その鍵に対応するタイムス
ロットにおいて、数値Nが記憶回路(A)23に記憶さ
れ、次に数値Nは記憶回路(A)23、乗算器24、デ
ータ選択回路(A)22による巡回形の演算回路により
、タイミングクロック信号nφ0 8個分毎に対応する
一定周期のタイムスロットで、順次指数演算されていく
。すなわち、図2において示される指数的に減少してゆ
く値を、各鍵別に時分割に独立して得ることができる。
When a certain key is pressed, the first
When the switch is closed, the numerical value N is stored in the memory circuit (A) 23 in the time slot corresponding to the key, and then the numerical value N is stored in the memory circuit (A) 23, the multiplier 24, and the data selection circuit. (A) A cyclic arithmetic circuit of 22 sequentially performs exponential operations in time slots of a constant period corresponding to every eight timing clock signals nφ0. That is, the exponentially decreasing values shown in FIG. 2 can be obtained independently for each key in a time-sharing manner.

【0028】一方、各鍵別に設けられた第1のスイッチ
の閉成に続いて時間的に遅れて閉成する第2のスイッチ
の閉成したことを示す信号は、ANDゲート21より時
分割に出力され、データ選択回路(B)25に記憶指令
信号として与えられる。すると、その時の記憶回路(A
)23からの上記指数演算値が、記憶回路(B)26に
取り込まれ出力される。この記憶回路(B)26は記憶
回路(A)23と同様のものが使用され、順次タイミン
グクロック信号nφ0 によってシフト動作する。従っ
て記憶回路(B)26から各鍵ごとの打鍵速度情報が時
分割に出力される。
On the other hand, following the closing of the first switch provided for each key, a signal indicating the closing of the second switch, which is closed with a time delay, is sent by the AND gate 21 in a time-division manner. The signal is outputted and given to the data selection circuit (B) 25 as a storage command signal. Then, the memory circuit at that time (A
) 23 is taken into the storage circuit (B) 26 and output. The memory circuit (B) 26 is similar to the memory circuit (A) 23, and is sequentially shifted by the timing clock signal nφ0. Therefore, the keying speed information for each key is output from the memory circuit (B) 26 in a time-division manner.

【0029】本実施例においては、記憶回路(A)23
および記憶回路(B)26にシフトレジスタが使用され
たが、ランダムアクセスメモリ等に置き換えて構成して
もよい。また、記憶回路(B)26の出力にデジタル−
アナログ変換器を設けて押鍵速度をアナログ値として得
ることもできる。なお、乗算器24へ与える定数Mを任
意に切り換え設定することにより、打鍵速度に対応する
値を感度調整することができる。
In this embodiment, the memory circuit (A) 23
Although a shift register is used for the storage circuit (B) 26, it may be replaced with a random access memory or the like. In addition, the output of the memory circuit (B) 26 is a digital
An analog converter may also be provided to obtain the key pressing speed as an analog value. Note that by arbitrarily switching and setting the constant M given to the multiplier 24, the sensitivity of the value corresponding to the keying speed can be adjusted.

【0030】[0030]

【発明の効果】以上説明したように、本発明は、第1の
スイッチング手段の作動以降指数演算を行い、この指数
演算値を第2のスイッチング手段の作動時点で、打鍵速
度を示す打鍵速度情報として出力し、上記指数演算値の
変化の割合を決定する変化割合情報を切り換えて与えて
、上記指数演算の演算内容を切り換えるようにした。 従って、2つのスイッチング手段の作動時点の時間差に
応じた打鍵情報を、デジタル処理により出力でき、従っ
て高精度かつ安定に打鍵速度を検出でき、しかもLSI
化等の装置の小形化に最適であるほか、指数演算の演算
内容を切り換えることによって打鍵速度の検出感度を任
意に切り換え設定できる。
As explained above, the present invention performs exponent calculation after the first switching means is activated, and converts this exponent calculation value into keystroke speed information indicating the keystroke speed at the time of activation of the second switching means. The content of the exponent calculation is switched by outputting the information as follows, and changing rate information for determining the rate of change of the exponent calculation value is switched and given. Therefore, it is possible to output keystroke information according to the time difference between the activation points of the two switching means through digital processing, and therefore the keystroke speed can be detected with high precision and stability.
In addition to being ideal for downsizing devices such as computer systems, it is also possible to arbitrarily switch and set the detection sensitivity of keystroke speed by switching the contents of the exponent calculation.

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

【図1】本発明の実施例の回路図である。FIG. 1 is a circuit diagram of an embodiment of the present invention.

【図2】本発明の指数演算の内容を示す図である。FIG. 2 is a diagram showing the contents of exponent calculation according to the present invention.

【図3】本発明の他の実施例の回路図である。FIG. 3 is a circuit diagram of another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1、2、3、14、15…フリップフロップ、4、17
、20…NOT回路、5、18、21…ANDゲート、
6、22、25…データ選択回路、7、9、23、26
…記憶回路、8、24…乗算器、11…クロック発生器
、12…カウンタ、13…デコーダ、S1、S2、S1
−1〜S1−8、S2−1〜S2−8…スイッチ。
1, 2, 3, 14, 15...Flip-flop, 4, 17
, 20...NOT circuit, 5, 18, 21...AND gate,
6, 22, 25...data selection circuit, 7, 9, 23, 26
...Memory circuit, 8, 24... Multiplier, 11... Clock generator, 12... Counter, 13... Decoder, S1, S2, S1
-1 to S1-8, S2-1 to S2-8...switches.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】打鍵に応じて作動する第1のスイッチング
手段と、上記打鍵に応じて作動するとともに、上記第1
のスイッチング手段より時間的に遅れて作動する第2の
スイッチング手段と、上記第1のスイッチング手段の作
動以降、指数演算を行う指数演算手段と、この指数演算
手段で演算された指数演算値を、上記第2のスイッチン
グ手段の作動時点で、打鍵速度を示す打鍵速度情報とし
て出力する出力手段と、上記指数演算手段で演算される
指数演算値の変化の割合を決定する変化割合情報を、上
記指数演算手段に切り換えて与えて、上記指数演算手段
の指数演算の演算内容を切り換える切り換え手段とを備
えたことを特徴とする打鍵速度検出装置。
1. A first switching means that operates in response to a keystroke; and a first switching device that operates in response to a keystroke;
a second switching means that operates with a time delay from the switching means; an exponent calculation means that performs an exponent calculation after the activation of the first switching means; and an exponent calculation value calculated by the exponent calculation means, At the time of activation of the second switching means, the output means outputs the keying speed information indicating the keying speed and the change rate information that determines the rate of change of the exponent calculation value calculated by the exponent calculation means. 1. A keying speed detecting device comprising: switching means for switching and applying information to a calculating means to switch the content of the exponent calculation of the exponent calculating means.
JP18752591A 1991-07-26 1991-07-26 Device for detecting key-striking speed Pending JPH04339262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18752591A JPH04339262A (en) 1991-07-26 1991-07-26 Device for detecting key-striking speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18752591A JPH04339262A (en) 1991-07-26 1991-07-26 Device for detecting key-striking speed

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP57168152A Division JPS5957164A (en) 1982-09-27 1982-09-27 Finger attack speed detection system

Publications (1)

Publication Number Publication Date
JPH04339262A true JPH04339262A (en) 1992-11-26

Family

ID=16207610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18752591A Pending JPH04339262A (en) 1991-07-26 1991-07-26 Device for detecting key-striking speed

Country Status (1)

Country Link
JP (1) JPH04339262A (en)

Similar Documents

Publication Publication Date Title
US3955459A (en) Electronic musical instrument
JPH04339262A (en) Device for detecting key-striking speed
JPH04339263A (en) Device for detecting key-striking speed
JPH05223834A (en) Key strike speed sensing device
JPS6334473B2 (en)
US4193038A (en) Key input apparatus
TWI670630B (en) Method for operating an active input element and corresponding input element, input arrangement and computer program product
JPH0554069B2 (en)
CN104205205A (en) Electronic keyboard musical instrument
JPH032959Y2 (en)
JP3217813B2 (en) Electronic musical instrument
JP3187466B2 (en) Electronic musical instrument
JPS646557Y2 (en)
JPS583116B2 (en) electronic locking device
JPH0617194Y2 (en) Envelope generator
SU1529207A1 (en) Device for input of digital information
JPH0366687B2 (en)
JPH0389397A (en) Digital filter for controlling musical tone
KR940004544Y1 (en) Apparatus for recognizing position of slider
SU1578714A1 (en) Test generator
JP2707885B2 (en) Bit number converter
JPH0731501B2 (en) Touch data generator
US5438155A (en) Electronic musical instrument with numeric inputting function
JPS63134995A (en) Electronic metronome
JPS6331788B2 (en)