JPH0554069B2 - - Google Patents

Info

Publication number
JPH0554069B2
JPH0554069B2 JP57168152A JP16815282A JPH0554069B2 JP H0554069 B2 JPH0554069 B2 JP H0554069B2 JP 57168152 A JP57168152 A JP 57168152A JP 16815282 A JP16815282 A JP 16815282A JP H0554069 B2 JPH0554069 B2 JP H0554069B2
Authority
JP
Japan
Prior art keywords
switch
time
key
output
value
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 - Lifetime
Application number
JP57168152A
Other languages
Japanese (ja)
Other versions
JPS5957164A (en
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 JP57168152A priority Critical patent/JPS5957164A/en
Publication of JPS5957164A publication Critical patent/JPS5957164A/en
Publication of JPH0554069B2 publication Critical patent/JPH0554069B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/64Devices characterised by the determination of the time taken to traverse a fixed distance
    • G01P3/66Devices characterised by the determination of the time taken to traverse a fixed distance using electric or magnetic means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Linear Or Angular Velocity Measurement And Their Indicating Devices (AREA)

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明は打鍵速度を検出し、その速度を基に発
生する楽音の音量、音色をコントロールしてより
忠実に演奏者の意図を表現できるタツチレスポン
ス装置を有する鍵盤楽器等における打鍵速度の検
出方式に関するものである。
[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention detects the speed of keystrokes and controls the volume and timbre of the musical tones generated based on the speed to more faithfully express the performer's intention. The present invention relates to a method for detecting keystroke speed in a keyboard instrument or the like having a response device.

(2) 従来技術と問題点 従来、打鍵速度を検出する代表的な方式は、抵
抗素子と容量素子より成る時定数回路を利用して
打鍵速度を抽出する方式がよく知られている。原
理的には、スイツチSW1,SW2の2つのスイ
ツチを設け、打鍵に伴ないまずSW1が閉成さ
れ、続いてSW2が閉成されるように鍵盤下に設
けられる。まず、SW1の閉成信号を受けて、あ
らかじめ所定電位に充電されている容量素子の電
荷を抵抗を介して放電させてゆく。すなわち、容
量素子の端子間電圧は時間とともに指数的に減衰
してゆく。従つて、続いて閉成されるSW2の閉
成信号によつて前記容量素子の電位を検出するこ
とにより、押鍵によるSW1,SW2の2つのス
イツチの閉成する時間差を電圧値として取出すこ
とができる。
(2) Prior Art and Problems 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, two switches SW1 and SW2 are provided under the keyboard so that when a key is pressed, SW1 is first closed, followed by SW2. First, in response to the closing signal of 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. Therefore, by detecting the potential of the capacitive element based on the closing signal of SW2, which is subsequently closed, it is possible to extract the time difference between the closing of the two switches SW1 and SW2 due to key depression as a voltage value. can.

しかし、このような従来の方式には以下に示す
欠点があり、十分満足する性能を得ることは困難
であつた。すなわち、時定数回路に使用する容量
素子は比較的大容量のものが必要であり、LSI化
等の小形化が困難である。また、複数の鍵を有す
る電子楽器のために複数の時定数回路を使用した
場合、各々の抵抗値、容量素子の容量が不均一な
ために各々時定数を均一にするための調整が必要
となる等の不都合があつた。
However, such conventional methods have the following drawbacks, and it has been difficult to obtain sufficiently satisfactory performance. That is, the capacitive element used in the time constant circuit needs to have a relatively large capacity, and it is difficult to miniaturize it by making it into an LSI. In addition, when multiple time constant circuits are used for an electronic musical instrument with multiple keys, each resistance value and capacitance of the capacitive element are uneven, so adjustment is required to make the time constants uniform. There were some inconveniences.

また、2つのスイツチの閉成する時間差をクロ
ツクパルスをカウンタで計数して打鍵速度を得る
方法も開示されているが、時定数回路を用いた方
法のように、打鍵速度と得られる値が指数関数と
して得られず、時定数回路を使用したタツチレス
ポンス装置を有する電子楽器等に置換する場合に
は何らかの変換装置が必要となつた。
Also, a method is disclosed in which the keying speed is obtained by counting the clock pulses with a counter to determine the time difference between the closing times of two switches, but as with the method using a time constant circuit, the keying speed and the obtained value are exponential Therefore, when replacing it with an electronic musical instrument or the like having a touch response device using a time constant circuit, some kind of conversion device is required.

(3) 発明の目的 本発明の目的は抵抗、容量の時定数回路と等価
のデジタル演算回路で高精度、安定に打鍵速度を
検出でき、かつLSI化等小形化の可能な打鍵速度
検出装置を提供することである。
(3) Purpose of the Invention The purpose of the present invention is to provide a keying speed detection device that can 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 that can be miniaturized by using an LSI. It is to provide.

(4) 発明の構成 前記目的を達成するため、本発明の打鍵速度検
出装置は、複数の鍵からなる鍵盤を有し、前記鍵
を打鍵することによつて楽音を発生する鍵盤楽器
において、 前記鍵の打鍵に伴い閉成する第1のスイツチ
と、該第1のスイツチより時間的に遅れて閉成す
る第2のスイツチと、 前記複数の鍵の前記第1のスイツチ及び第2の
スイツチを走査し、各スイツチの状態を検出する
検出手段と、 該検出手段からの第1のスイツチの閉成時点を
示す信号により所定値Nを設定する手段と 該所定値Nから所定単位時間毎に指数的に減少
してゆく値を時分割で演算するデジタル演算手段
とを具え、 前記検出手段からの前記第2のスイツチが閉成
された時点を示す信号に基づき前記演算手段から
打鍵速度に対応した値を得ることを特徴とするも
のである。
(4) Structure of the Invention In order to achieve the above-mentioned object, the keystroke speed detection device of the present invention provides a keyboard instrument that has a keyboard consisting of a plurality of keys and generates a musical tone by striking the keys. a first switch that closes when a key is pressed; a second switch that closes with a time delay from the first switch; and the first switch and second switch of the plurality of keys. detection means for scanning and detecting the state of each switch; means for setting a predetermined value N based on a signal indicating the closing time of the first switch from the detection means; digital calculation means for time-divisionally calculating a value that decreases over time, and a digital calculation means that calculates a value that decreases in time based on a signal from the detection means indicating the point in time when the second switch is closed; It is characterized by obtaining a value.

(5) 発明の実施例 第1図は本発明の実施例の構成説明図である。
同図において、鍵盤楽器等の鍵盤下に置かれたス
イツチS1,S2は鍵の押下に対して、まずスイ
ツチS1が閉成し続いてスイツチS2が閉成され
るように設ける。また、各スイツチは図示のよう
に抵抗r1,r2によつて電源電圧Vccに接続されて
おり開成(OFF)時は電圧Vccに、閉成(ON)
時は接地される。すなわち、デジタル的にはON
時の“0”、OFF時の“1”をそれぞれのスイツ
チS1,S2が出力する。図では機械的なスイツ
チで示したが、磁気や光を利用したスイツチで実
質的に開成、閉成の2状態を表わせるものならば
容易に適用できる。フリツプフロツプ1、フリツ
プフロツプ2はスイツチS1、スイツチS2の
各々の閉成(ON)と開成(OFF)を示す信号を
タイミングクロツクφ0に同期をとるために設け
られている。従つて、スイツチS1、スイツチS
2がON/OFFすると、フリツプフロツプ1およ
びフリツプフロツプ2から出力するスイツチS
1、スイツチS2のON/OFFを示す信号が、タ
イミングクロツクφ0と同期がとられた信号とな
る。フリツプフロツプ3はフリツプフロツプ1の
出力を入力とし、フリツプフロツプ1でタイミン
グクロツクφ0に同期のとられたスイツチS1の
閉成、開成を示す信号をタイミングクロツクφ0
の1周期分だけ遅延させ出力する。従つて、フリ
ツプフロツプ1の出力信号をNOT回路4で反転
した信号と、フリツプフロツプ3の出力の論理積
をANDゲート5でとると、ANDゲート5の出力
にはスイツチS1が閉成された瞬間にタイミング
クロツクφ0の1周期のパルス幅の単発パルスが
発生し、この単発パルスはデータ選択回路6を制
御するために使用される。データ選択回路6は数
値Nと乗算器8の出力が入力されており、単発パ
ルスが発生している間には数値Nを選択出力し、
それ以外の間には乗算器8の出力を選択し出力す
る。記憶回路7はタイミングクロツクφ0が与
えられており、タイミングクロツクφ0のレート
でデータ選択回路6からの出力をφ0の1周期分
遅延させ出力する。そして、この記憶回路7の
出力は乗算器8においてあらかじめ設定した定数
M(0<M<1)と乗算し、データ選択回路6に
与えられる。すなわち、スイツチS1が閉成した
瞬間、数値Nがデータ選択回路6を介して記憶回
路7へ記憶され、その後数値Nは記憶回路
7、乗算器8、データ選択回路6による巡回形の
演算回路によりタイミングクロツクφ0の周期で
順次演算されていく。そして、記憶回路7の出
力からはタイミングクロツクφ0の周期に従つて
第2図のごとき指数的に減少する値を得ることが
できる。
(5) Embodiment of the invention FIG. 1 is an explanatory diagram of the configuration of an embodiment of the invention.
In the figure, switches S1 and S2 placed under the keyboard of a keyboard instrument or the like are provided so that when a key is pressed, switch S1 is first closed, followed by switch S2. In addition, each switch is connected to the power supply voltage Vcc through resistors r 1 and r 2 as shown in the figure, and when it is open (OFF), it is connected to the voltage Vcc, and when it is closed (ON), it is connected to the power supply voltage Vcc.
Time is grounded. In other words, digitally ON
The respective switches S1 and S2 output "0" when the switch is turned off, and "1" when the switch is OFF. Although a mechanical switch is shown in the figure, any switch that uses magnetism or light that can essentially display two states, open and closed, can be easily applied. Flip-flop 1 and flip-flop 2 are provided to synchronize signals indicating the closing (ON) and opening (OFF) of switches S1 and S2 with timing clock φ 0 . Therefore, switch S1, switch S
2 turns ON/OFF, the switch S output from flip-flop 1 and flip-flop 2
1. The signal indicating ON/OFF of switch S2 is a signal synchronized with timing clock φ0 . Flip-flop 3 receives the output of flip-flop 1 as an input, and receives a signal indicating the closing or opening of switch S1, which is synchronized with timing clock φ 0 by flip-flop 1, from timing clock φ 0 .
The signal is output with a delay of one period. Therefore, when the output signal of flip-flop 1 is inverted by NOT circuit 4 and the output of flip-flop 3 is ANDed by AND gate 5, the output of AND gate 5 has a timing signal at the moment switch S1 is closed. A single pulse having a pulse width of one cycle of the clock φ 0 is generated, and this single pulse is used to control the data selection circuit 6. The data selection circuit 6 receives the numerical value N and the output of the multiplier 8, and selectively outputs the numerical value N while a single pulse is being generated.
During other times, the output of the multiplier 8 is selected and output. The memory circuit 7 is supplied with a timing clock φ 0 and outputs the output from the data selection circuit 6 with a delay of one cycle of φ 0 at the rate of the timing clock φ 0 . Then, the output of the storage circuit 7 is multiplied by a preset constant M (0<M<1) in a multiplier 8 and provided to the data selection circuit 6. That is, at the moment the switch S1 is closed, the numerical value N is stored in the memory circuit 7 via the data selection circuit 6, and then the numerical value N is stored in the cyclic arithmetic circuit consisting of the memory circuit 7, the multiplier 8, and the data selection circuit 6. The calculations are performed sequentially at the cycle of the timing clock φ0 . From the output of the memory circuit 7, a value that decreases exponentially in accordance with the period of the timing clock φ 0 as shown in FIG. 2 can be obtained.

第2図においては、M=0.980の場合と、M=
0.94の2つの場合について示しており、各々スイ
ツチS1を閉成した瞬間、数値Nが記憶されてか
らのものである。
In Figure 2, the case of M=0.980 and the case of M=
Two cases of 0.94 are shown, and in each case the value N is stored at the moment when the switch S1 is closed.

このようにして、順次タイミングクロツクφ0
に同期して指数的に減衰してゆく値と、スイツチ
S1の閉成に続いて時間的に遅れて閉成するスイ
ツチS2の閉成信号によつて抽出することによ
り、押鍵速度に対応した値を得ることができる。
すなわち、スイツチS2が閉成されると、その閉
成信号はフリツプフロツプ2でタイミングクロツ
クφ0と同期がとられ、記憶回路7の出力、す
なわちタイミングクロツクφ0に同期して減衰し
てゆく値を記憶回路9へ書込むタイミング信号
として与えられるよう構成されており、押鍵に伴
なつて時間差を有して閉成する2つのスイツチの
時間差に対する値が検出される。
In this way, the timing clock φ 0
By extracting the value that decays exponentially in synchronization with the key pressing speed and 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, the closing signal is synchronized with the timing clock φ 0 by the flip-flop 2, and is attenuated in synchronization with the output of the memory circuit 7, that is, the timing clock φ 0 . It is configured to be given as a timing signal for writing a value into the memory circuit 9, and the value corresponding to the time difference between two switches that close with a time difference as a key is pressed is detected.

第3図は本発明の他の実施例の構成説明図であ
り、複数の鍵の打鍵速度に対応した値を各鍵独立
して得るための回路例である。
FIG. 3 is a configuration explanatory diagram of another embodiment of the present invention, and is an example of a circuit for obtaining values corresponding to the keying speeds of a plurality of keys independently for each key.

同図においては、押鍵に伴なつて閉成する第1
のスイツチと、第1のスイツチより時間的に遅れ
て閉成する第2のスイツチの組が、複数鍵に対応
して別々に複数組設けられる。そして、時分割的
に第1の各々のスイツチの閉成、開成の状態を検
出する手段と、時分割的に得られた複数の第1の
スイツチの閉成時点をそれぞれ検出して所定値N
を各々得る手段と、得られた所定値Nから所定単
位時間毎に指数的に減少してゆく値を各鍵別に複
数演算するデジタル演算回路を設け、時分割的に
得られた第2のスイツチの閉成信号によつて前記
演算回路の出力を抽出することによつて打鍵速度
に対応した値を得るようにしたものである。
In the same figure, the first
A plurality of sets of a switch and a second switch that closes later than the first switch are separately provided in correspondence with a plurality of keys. and a means for time-divisionally detecting the closed and open states of each of the first switches, and a means for detecting the closing time points of the plurality of first switches obtained in a time-divisionally manner to obtain a predetermined value N.
and a digital arithmetic circuit for each key to calculate a plurality of values that exponentially decrease from the obtained predetermined value N every predetermined unit time, and a second switch obtained in a time-division manner. By extracting the output of the arithmetic circuit based on the closing signal of , a value corresponding to the keying speed is obtained.

同図は複数の鍵として8個の鍵のものが例示さ
れている。
In the figure, eight keys are illustrated as the plurality of keys.

クロツク発生器11はタイミングクロツクnφ0
を発生しカウンタ12に与えられる。カウンタ1
2は8進カウンタであり、タイミングクロツク
0に同期して連続的に計数する。カウンタ12
の計数値はデコーダ13に与えられ、デコーダ1
3はその出力として8個の時分割タイムスロツト
を出力し、その出力12Q3 ,…,8は押鍵
に伴なつて閉成する第1のスイツチと、第1のス
イツチより時間的に遅れて閉成する第2のスイツ
チより成り、各鍵別に設けられたS1−1とS1
−2,S1−2とS2−2,S1−3とS2−
3,…,S1−8とS2−8の8組に対して与え
る。従つて、ラインL1には8個の鍵に対応した
8個の第1スイツチの閉成、開成を示す信号が時
分割的に得られ、ラインL2には8個の鍵に対応
した8個の第2スイツチの閉成、開成を示す信号
が時分割的に得られる。ラインL1,L2の信号
を入力するフリツプフロツプ14,15にはタイ
ミングクロツクnφ0が与えられており、第1スイ
ツチ、第2スイツチの閉成、開成を示す時分割信
号をタイミングクロツクnφ0に同期して整形する
ために使用される。フリツプフロツプ14の出力
はタイミングクロツクnφ0でシフト動作する8段
のシリアル入力、シリアル出力のシフトレジスタ
16の入力として与えられ、8個の第1のスイツ
チの閉成、開成を示す時分割信号が1時分割フレ
ーム、ここではタイミングブロツク8個分遅延さ
せられた出力を得ている。従つて、ANDゲート
18にフリツプフロツプ14の出力をNOT回路
17で反転した信号とシフトレジスタ16の出力
を与え論理積をとることによつて、ANDゲート
18の出力から各鍵に設けられた8個の第1のス
イツチの閉成した瞬間を示す信号が時分割信号と
して得られる。第3図の回路では閉成した鍵に対
応するタイムスロツトに“1”が生ずるように示
されている。
The clock generator 11 is a timing clock nφ 0
is generated and given to the counter 12. counter 1
2 is an octal counter and a timing clock.
Continuously count in synchronization with nφ 0 . counter 12
The count value of is given to the decoder 13, and the decoder 1
3 outputs eight time division time slots as its output, and the outputs 1 , 2 , Q 3 ,..., 8 are the first switch that closes when the key is pressed, and the time slots from the first switch. It consists of a second switch that closes after a certain delay, and S1-1 and S1 are provided for each key.
-2, S1-2 and S2-2, S1-3 and S2-
3,..., given to 8 sets of S1-8 and S2-8. Therefore, on line L1, signals indicating the closing and opening of eight first switches corresponding to eight keys are obtained in a time-division manner, and on line L2, signals indicating the closing and opening of eight first switches corresponding to eight keys are obtained in a time-division manner. A signal indicating whether the second switch is closed or opened is obtained in a time-division manner. A timing clock nφ 0 is provided to the flip-flops 14 and 15 that input the signals on the lines L1 and L2, and a time division signal indicating the closing and opening of the first switch and the second switch is sent to the timing clock nφ 0 . Used for synchronized formatting. The output of the flip-flop 14 is given as an input to an 8-stage serial input/serial output shift register 16 which is shifted by the timing clock nφ0 , and time-division signals indicating the closing and opening of the eight first switches are generated. An output delayed by one time division frame, here eight timing blocks, is obtained. Therefore, by providing the AND gate 18 with a signal obtained by inverting the output of the flip-flop 14 by the NOT circuit 17 and the output of the shift register 16, and performing a logical product, the output of the AND gate 18 is used to calculate the 8 signals provided for each key. A signal indicating the moment when the first switch is closed is obtained as a time-shared signal. In the circuit of FIG. 3, a "1" is shown to occur in the time slot corresponding to the closed key.

一方、8個の第2のスイツチの閉成、開成を示
す時分割信号を示すフリツプフロツプ15の出力
はシフトレジスタ19、NOT回路20へ与えら
れる。NOT回路20の出力、シフトレジスタ1
9の出力はANDゲート21に与えられ、前述し
た第1のスイツチの場合と同様に、各鍵別に設け
られた8個の第2のスイツチの閉成した瞬間を示
す信号が時分割信号としてANDゲート21の出
力から得られる。
On the other hand, the output of the flip-flop 15, which indicates time-division signals indicating the closing and opening of the eight second switches, is applied to a shift register 19 and a NOT circuit 20. Output of NOT circuit 20, shift register 1
The output of 9 is given to the AND gate 21, and as in the case of the first switch described above, the signals indicating the moments when the eight second switches provided for each key are closed are ANDed as time-division signals. It is obtained from the output of gate 21.

データ選択回路A22は数値Nと乗算器24の
出力が入力されており、ANDゲート18より得
られる信号によつて前記2つの入力のうち一方が
選択され出力する。すなわち、ある鍵が押鍵さ
れ、その鍵に対応する第1のスイツチが閉成され
ると、その鍵に対応するタイムスロツトにおい
て、第1のスイツチの閉成した瞬間だけANDゲ
ート18の出力に、タイミングクロツクnφ0の周
期で“1”が生じ、データ選択回路A22にはN
が選択される。そしてANDゲート18の出力が
“0”の場合には常時乗算器24の出力が選択さ
れる。
The data selection circuit A22 receives the numerical value N and the output of the multiplier 24 as input, and one of the two inputs is selected and output according to the signal obtained from the AND gate 18. That is, when a certain key is pressed and the first switch corresponding to that key is closed, the output of the AND gate 18 is changed only at the moment when the first switch is closed in the time slot corresponding to that key. , "1" occurs at the cycle of timing clock nφ 0 , and N is output to data selection circuit A22.
is selected. When the output of the AND gate 18 is "0", the output of the multiplier 24 is always selected.

データ選択回路A22の出力は記憶回路A23
の入力として与えられており、記憶回路23はタ
イミングクロツクnφ0のタイミングで順次データ
選択回路A22の出力を書込む。
The output of the data selection circuit A22 is the memory circuit A23.
The memory circuit 23 sequentially writes the output of the data selection circuit A22 at the timing of the timing clock nφ0 .

記憶回路A23は複数ビツトの鍵数に対応する
8段のシリアル入力、シリアル出力のシフタレジ
スタが使用され順次タイミングクロツクnφ0でシ
フト動作する。従つて、順次書込まれるデータ選
択回路22の出力はタイミングクロツクnφ0の8
個分遅延されて記憶回路A23の出力より得られ
る。このように記憶回路A23はシフトレジスタ
16と同期してシフト動作する。すなわち、記憶
回路A23の出力は乗算器24においてあらかじ
め設定した定数M(0<M<1)と乗算しデータ
選択回路22に与えられる。
The memory circuit A23 uses an 8-stage serial input/serial output shifter register corresponding to the number of keys of a plurality of bits, and sequentially performs a shifting operation using a timing clock nφ0 . Therefore, the output of the data selection circuit 22 to be written sequentially is 8 of the timing clock nφ0.
It is obtained from the output of the storage circuit A23 after being delayed by one time. In this way, the memory circuit A23 performs a shift operation in synchronization with the shift register 16. That is, the output of the storage circuit A23 is multiplied by a preset constant M (0<M<1) in a multiplier 24, and then provided to the data selection circuit 22.

すなわち、ある鍵が押鍵され、その鍵に対応す
る第1のスイツチが閉成されると、その鍵に対応
するタイムスロツトにおいて、数値Nが記憶回路
A23に記憶され、次に数値Nは記憶回路A2
3、乗算器24、データ選択回路A22による巡
回形の演算回路により、タイミングクロツク
08個分毎に対応するタイムスロトで演算され
て記憶回路A23より出力する。すなわち、第2
図において示される指数的に減少してゆく値を時
分割的に独立して各鍵別に得ることができる。
That is, when a certain key is pressed and the first switch corresponding to that key is closed, the numerical value N is stored in the memory circuit A23 in the time slot corresponding to that key, and then the numerical value N is stored in the memory circuit A23. Circuit A2
3. A cyclic arithmetic circuit consisting of a multiplier 24 and a data selection circuit A22 generates a timing clock.
It is calculated in the time slot corresponding to every 8 nφ 0 and outputted from the storage circuit A23. That is, the second
The exponentially decreasing values shown in the figure can be obtained for each key independently in a time-division manner.

一方、各鍵別に設けられた第1のスイツチの閉
成に続いて時間的に遅れて閉成する第2のスイツ
チの閉成した瞬間を示す信号を時分割に出力する
ANDゲート21の出力が、データ選択回路B2
5へ制御信号として与えられており、第2のスイ
ツチが閉成されると、記憶回路A23から出力さ
れている指数的に減衰してゆく値を選択して記憶
回路B26へ与え、その他の場合には記憶回路B
26の出力を選択する。記憶回路B26は記憶回
路A23と同様のものが使用され、順次タイミン
グクロツクnφ0でシフト動作する。従つて記憶回
路B26の出力から押鍵速度に対応した値を各鍵
別々に時分割的に得ることができる。
On the other hand, following the closing of the first switch provided for each key, a signal indicating the moment of closing of the second switch, which closes with a time delay, is output in a time-sharing manner.
The output of the AND gate 21 is the data selection circuit B2
5 as a control signal, and when the second switch is closed, the exponentially decaying value output from the memory circuit A23 is selected and given to the memory circuit B26, and in other cases has memory circuit B
26 outputs are selected. The memory circuit B26 is similar to the memory circuit A23, and is sequentially shifted using a timing clock nφ0 . Therefore, from the output of the memory circuit B26, a value corresponding to the key pressing speed can be obtained for each key separately in a time-division manner.

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

(6) 発明の効果 以上説明したように、本発明によれば、従来の
抵抗、容量より成る時定数回路と等価のものをデ
ジタル演算回路で構成したものであり、高精度で
安定した打鍵速度に対応する値を抽出することが
できる。このようにして得られた打鍵情報は電子
楽器等の音色、音量その他の効果等の制御に有効
に利用することができる。またLSI化等による小
形化が可能であり、さらに時分割多重化を行なう
ことも容易であり、少ない部品構成で複数鍵の打
鍵速度に対応した値を各鍵別に抽出することがで
きる。
(6) Effects of the Invention As explained above, according to the present invention, a circuit equivalent to a conventional time constant circuit consisting of a resistor and a capacitor is constructed with a digital arithmetic circuit, and a highly accurate and stable keying speed can be achieved. The value corresponding to can be extracted. The keystroke information obtained in this manner can be effectively used to control the tone, volume, and other effects of electronic musical instruments. Furthermore, it is possible to downsize it by making it into an LSI, etc., and it is also easy to perform time division multiplexing, and it is possible to extract values corresponding to the keying speed of multiple keys for each key with a small number of parts.

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

第1図は本発明の実施例の構成説明図、第2図
は本発明の要部の特性説明図、第3図は本発明の
他の実施例の構成説明図であり、図中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はスイツチを示す。
FIG. 1 is an explanatory diagram of the configuration of an embodiment of the present invention, FIG. 2 is an explanatory diagram of characteristics of essential parts of the present invention, and FIG. 3 is an explanatory diagram of the configuration of another embodiment of the present invention. 2,
3, 14, 15 are flip-flops, 4, 17,
20 is a NOT circuit, 5, 18, 21 are AND gates, 6, 22, 25 are data selection circuits, 7, 9,
23, 26 are storage circuits, 8, 24 are multipliers, 11
is a clock generator, 12 is a counter, 13 is a decoder, S1, S2, S1-1 to S1-8, S2-
1 to S2-8 indicate switches.

Claims (1)

【特許請求の範囲】 1 複数の鍵からなる鍵盤を有し、前記鍵を打鍵
することによつて楽音を発生する鍵盤楽器におい
て、 前記複数の鍵ごとに設けられ、該鍵の打鍵に伴
い閉成する第1のスイツチと、 前記複数の鍵ごとに設けられ、該鍵の打鍵に伴
い、該第1のスイツチより時間的に遅れて閉成す
る第2のスイツチと、 これら第1のスイツチ及び第2のスイツチを走
査し、各スイツチの状態を検出する検出手段と、 この検出手段によつて検出された第1のスイツ
チの閉成に応じて、所定値Nを設定する設定手段
と、 この設定手段によつて設定された所定値Nから
所定単位時間毎に指数的に減少していく値を各鍵
別に時分割で演算するデジタル巡回形演算手段で
あつて、このデジタル巡回形演算手段は、 前記設定手段によつて設定された所定値Nから
指数的に減少していく値を各鍵別に複数記憶する
記憶手段と、 この記憶手段に記憶された各値をM(0<M<
1)倍する演算を前記所定単位時間毎に繰り返し
行い、これにより所定値Nから指数的に減少して
いく値を各鍵別に時分割で演算する演算手段と、 この演算手段によつて演算された値を前記記憶
手段に記憶させる一方、前記設定手段によつて所
定値Nが設定されたときには、この所定値Nを前
記記憶手段に記憶させる記憶選択手段とからな
り、 前記検出手段によつて検出された第2のスイツ
チの閉成に応じて、前記デジタル巡回形演算手段
から打鍵速度に対応した値を得ることを特徴とす
る打鍵速度検出装置。
[Scope of Claims] 1. A keyboard instrument that has a keyboard consisting of a plurality of keys and generates musical tones when the keys are struck, which is provided for each of the plurality of keys and closes when the keys are struck. a second switch that is provided for each of the plurality of keys and that closes with a time delay from the first switch when the key is pressed; a detection means for scanning the second switch and detecting the state of each switch; a setting means for setting a predetermined value N in response to the closing of the first switch detected by the detection means; A digital cyclic calculation means that calculates a value that decreases exponentially every predetermined unit time from a predetermined value N set by a setting means in a time-sharing manner for each key. , storage means for storing a plurality of values that decrease exponentially from the predetermined value N set by the setting means for each key;
1) a calculation means that repeatedly performs the multiplication operation every predetermined unit time, thereby calculating a value that decreases exponentially from the predetermined value N in a time-sharing manner for each key; a memory selection means for storing the predetermined value N in the storage means, and storing the predetermined value N in the storage means when the predetermined value N is set by the setting means; A keystroke speed detection device characterized in that a value corresponding to a keystroke speed is obtained from the digital cyclic calculation means in response to the detected closing of the second switch.
JP57168152A 1982-09-27 1982-09-27 Finger attack speed detection system Granted JPS5957164A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP18752591A Division JPH04339262A (en) 1991-07-26 1991-07-26 Device for detecting key-striking speed
JP18752691A Division JPH04339263A (en) 1991-07-26 1991-07-26 Device for detecting key-striking speed
JP4319142A Division JPH0792467B2 (en) 1992-11-30 1992-11-30 Keystroke speed detector

Publications (2)

Publication Number Publication Date
JPS5957164A JPS5957164A (en) 1984-04-02
JPH0554069B2 true JPH0554069B2 (en) 1993-08-11

Family

ID=15862779

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS5957164A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5383614A (en) * 1976-12-28 1978-07-24 Roland Corp Touch response circuit for electronic keyed instrument
JPS56168562A (en) * 1980-05-30 1981-12-24 Komatsu Ltd Digital high-speed tachometer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5383614A (en) * 1976-12-28 1978-07-24 Roland Corp Touch response circuit for electronic keyed instrument
JPS56168562A (en) * 1980-05-30 1981-12-24 Komatsu Ltd Digital high-speed tachometer

Also Published As

Publication number Publication date
JPS5957164A (en) 1984-04-02

Similar Documents

Publication Publication Date Title
US4651611A (en) Touch dynamics signal generator for electronic musical instruments
JPS589954B2 (en) rhythm hatsei sochi
JPS604994B2 (en) electronic musical instruments
GB2039394A (en) Key input system for electronic calculators
JPS6224796B2 (en)
JPH0554069B2 (en)
US4341141A (en) Polyphonic sliding portamento in a musical instrument
JPH0792467B2 (en) Keystroke speed detector
JPH04339263A (en) Device for detecting key-striking speed
JPS6334473B2 (en)
JPH04339262A (en) Device for detecting key-striking speed
JP2560428B2 (en) Effect device
JPS646557Y2 (en)
JP2861007B2 (en) Electronic musical instrument
JPS5858678B2 (en) electronic musical instruments
JPH032959Y2 (en)
JP3217813B2 (en) Electronic musical instrument
JPS581800B2 (en) Denshigatsuki
JPS592915B2 (en) electronic musical instruments
SU1469505A1 (en) Program debugging unit
JP2594656Y2 (en) Electronic keyboard instrument touch data processing device
SU1600820A1 (en) Electronic game control device
SU1564676A1 (en) Device for trainining memory of trainee
JPH087590B2 (en) Electronic musical instrument
JPS6331788B2 (en)