JP5320545B2 - Keyboard stroke detection device - Google Patents

Keyboard stroke detection device Download PDF

Info

Publication number
JP5320545B2
JP5320545B2 JP2008208579A JP2008208579A JP5320545B2 JP 5320545 B2 JP5320545 B2 JP 5320545B2 JP 2008208579 A JP2008208579 A JP 2008208579A JP 2008208579 A JP2008208579 A JP 2008208579A JP 5320545 B2 JP5320545 B2 JP 5320545B2
Authority
JP
Japan
Prior art keywords
key
voltage
sensor
timer
keyboard
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 - Fee Related
Application number
JP2008208579A
Other languages
Japanese (ja)
Other versions
JP2010044247A (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.)
Korg Inc
Original Assignee
Korg 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 Korg Inc filed Critical Korg Inc
Priority to JP2008208579A priority Critical patent/JP5320545B2/en
Publication of JP2010044247A publication Critical patent/JP2010044247A/en
Application granted granted Critical
Publication of JP5320545B2 publication Critical patent/JP5320545B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材(フロントパンチング)が設けられた楽器に対する鍵盤ストロークを検出する装置に関する。   The present invention relates to an apparatus for detecting a keyboard stroke for a musical instrument provided with a keyboard and provided with an elastic member (front punching) for absorbing an impact when a key is pressed.

各鍵の検出部のばらつきにより、同じ押鍵速度でも各鍵で同じような音色制御等が行えなかったことを克服するために、検出部を構成する受光素子に至る光量の変化に基づいて押鍵深さを検出し、鍵の押下により検出された鍵位置データから押鍵速度を算出する際に、発光素子、受光素子の素子ばらつきを補正して、補正後のデータにより音色制御等を行う装置が提案されていた(例えば、特許文献1参照)。   In order to overcome the fact that the same tone color control could not be performed with each key even at the same key pressing speed due to variations in the detection unit of each key, the key was pressed based on the change in the amount of light reaching the light receiving element constituting the detection unit. When detecting the key depth and calculating the key pressing speed from the key position data detected by pressing the key, the element variation of the light emitting element and the light receiving element is corrected, and the tone color control is performed based on the corrected data. An apparatus has been proposed (see, for example, Patent Document 1).

特開平10−171453号公報(第2−3頁、第1図)Japanese Patent Laid-Open No. 10-171453 (page 2-3, FIG. 1)

しかしながら、この装置は、素子の製造ばらつきを補正することしか考慮されておらず、以下のような問題があった。これを図7、図8を参照して説明する。図7の符号5は鍵盤を示していて、これは鍵盤5を横方向から見た模式的な断面図である。最も上部には鍵盤5を完全に離鍵している完全離鍵位置にある鍵盤5を示し、最も下部には鍵盤5を完全に押し込んでいる完全押鍵位置にある鍵盤5を示している。そして、この両位置の幅である鍵盤ストロークに対して閾値1(第1接点)、閾値2(第2接点)を設定している。通常、閾値1(第1接点)は、完全離鍵位置から、鍵盤ストロークの約45(%)の距離を隔てて設定され、また、閾値2(第2接点)は、完全離鍵位置から、鍵盤ストロークの約75(%)の距離を隔てて設定される。そして、この両閾値の距離と、この両閾値を通過する時間とから押鍵速度を求めるようになっている。   However, this apparatus only considers correction of device manufacturing variations, and has the following problems. This will be described with reference to FIGS. Reference numeral 5 in FIG. 7 denotes a keyboard, which is a schematic cross-sectional view of the keyboard 5 as viewed from the side. The uppermost part shows the keyboard 5 in the complete key release position where the keyboard 5 is completely released, and the lowermost part shows the keyboard 5 in the complete key depression position where the keyboard 5 is fully depressed. A threshold value 1 (first contact) and a threshold value 2 (second contact) are set for the keyboard stroke that is the width of both positions. Usually, the threshold 1 (first contact) is set at a distance of about 45% of the keyboard stroke from the complete key release position, and the threshold 2 (second contact) is set from the complete key release position. It is set at a distance of about 75% of the keyboard stroke. The key pressing speed is obtained from the distance between the two threshold values and the time for passing through both the threshold values.

一方、図8は、打鍵時の打鍵衝撃力を吸収する吸収部材であるフロントパンチング(図8では不図示)を設けた鍵盤楽器における、打鍵(押鍵)強さと鍵盤ストロークとの関係の説明図である。ここで、鍵盤ストロークとは、完全離鍵位置および完全押鍵位置の両位置における、鍵盤5の、演奏者に対して手前側先端部の移動量(距離)のことをいう。そして、図8に示すように、打鍵強さが強くなる程、鍵盤ストロークはS1、S2、S3と大きくなっていくことが分かる。これは、フロントパンチングは、フェルト等の弾性部材で形成されているため、打鍵強さが強い程、このフロントパンチングがより大きく変形されるからである。したがって、通常、アコースティックピアノの鍵盤はフロントパンチングが設けられているため、打鍵強さに応じてフロントパンチングが変形してしまい、意図する鍵盤ストロークに対応したセンサ電圧が得られなくなるという課題があった。この結果、正確でない鍵盤ストロークに対して図7のような閾値設定を行うと押鍵速度や発音、消音タイミングが鍵盤毎に変化してしまうという問題があった。この結果、ピアノ販売後のピアノ設置場所における各種調整作業等も正確に行うことが難しかった。このような課題は、上述したような従来の単なる押鍵速度補正によっては解決されないものであった。   On the other hand, FIG. 8 is an explanatory diagram of the relationship between the keystroke (key depression) strength and the keyboard stroke in a keyboard instrument provided with front punching (not shown in FIG. 8) that is an absorbing member that absorbs the keystroke impact force at the time of keystroke. It is. Here, the keyboard stroke refers to the amount of movement (distance) of the front end of the keyboard 5 relative to the performer at both the complete key release position and the complete key press position. Then, as shown in FIG. 8, it is understood that the keyboard stroke increases as S1, S2, and S3 as the keystroke strength increases. This is because the front punching is formed of an elastic member such as felt, and thus the front punching is deformed more greatly as the keying strength is higher. Therefore, since the keyboard of an acoustic piano is usually provided with front punching, the front punching is deformed according to the keystroke strength, and there is a problem that a sensor voltage corresponding to the intended keyboard stroke cannot be obtained. . As a result, there is a problem that when the threshold setting as shown in FIG. 7 is performed for an inaccurate keyboard stroke, the key pressing speed, the sound generation, and the mute timing change for each keyboard. As a result, it was difficult to accurately perform various adjustment operations at the piano installation location after the piano was sold. Such a problem cannot be solved by the conventional simple key pressing speed correction as described above.

本発明は、かかる従来の課題を解決するためになされたもので、フロントパンチング(打鍵時の衝撃吸収部材)が設けられた鍵盤楽器に対して、押鍵強さによらずに正確な鍵盤ストロークを求めることを可能とする装置を提供することを目的とする。   The present invention has been made in order to solve such a conventional problem, and an accurate keyboard stroke can be achieved for a keyboard instrument provided with front punching (an impact absorbing member at the time of keystroke) regardless of the key depression strength. It is an object of the present invention to provide an apparatus that can obtain the above.

上記目的を達成するために、本発明は、鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材が設けられた楽器に対する鍵盤ストロークを検出する装置であって、
押鍵深さが深くなるに応じて大きくなる電圧を出力するセンサ部と、
カウント指示が与えられると経過時間(タイマー値)の計測動作を開始し前記センサ部からの出力電圧の最大値が更新される毎にその時点でのタイマー値を更新保持していくタイマー部と、
タイマー値(T)に対するセンサ電圧補正量(V=k/T 2 (kは定数))を記憶した記憶手段と、
自装置動作を制御する制御手段と、を備え、
この制御手段は、
前記センサ部からの出力電圧が予め設定した基準電圧を超えた場合に押鍵動作が開始されたと判定する押鍵開始判定手段と、
この押鍵開始判定に応答して前記タイマー部にカウント指示を与えるカウント指示供給手段と、
前記センサ部からの出力電圧が前記予め設定した基準電圧を下回った場合に離鍵動作が完了したと判定する離鍵完了判定手段と、
この離鍵完了判定に応答して、前記記憶手段の記憶内容を参照し前記タイマー部が保持しているタイマー値(T)に対応するセンサ電圧補正量(V=k/T 2 (kは定数))を把握し、この把握したセンサ電圧補正量最大センサ電圧値から減じる補正手段と、を含んで成ることを特徴とするようにした。
In order to achieve the above-mentioned object, the present invention is an apparatus for detecting a keyboard stroke with respect to a musical instrument provided with a keyboard and provided with an elastic member for absorbing a shock during key depression.
A sensor unit that outputs a voltage that increases as the key depression depth increases;
When a count instruction is given, a timer unit that starts measuring operation of elapsed time (timer value) and updates the timer value at that time every time the maximum value of the output voltage from the sensor unit is updated, and
Storage means for storing a sensor voltage correction amount (V = k / T 2 (k is a constant)) for the timer value (T) ;
Control means for controlling the operation of the device itself,
This control means
A key pressing start determining means for determining that the key pressing operation is started when the output voltage from the sensor unit exceeds a preset reference voltage;
Count instruction supply means for giving a count instruction to the timer unit in response to the key pressing start determination;
A key release completion determination means for determining that the key release operation has been completed when the output voltage from the sensor unit falls below the preset reference voltage;
In response to the key release completion determination, the sensor voltage correction amount (V = k / T 2 (k is a constant ) corresponding to the timer value (T) held by the timer unit with reference to the storage contents of the storage means. )) , And a correction means for subtracting the grasped sensor voltage correction amount from the maximum sensor voltage value.

押鍵開始判定手段がセンサ部からの出力電圧が予め設定した基準電圧を超えた場合に押鍵動作が開始されたと判定すると、カウント指示供給手段は、タイマー部にカウント指示を与える。そして、離鍵完了判定手段がセンサ部からの出力電圧が前記予め設定した基準電圧を下回った場合に離鍵動作が完了されたと判定すると、補正手段は、この判定に応答して、タイマー値に対するセンサ電圧補正量を記憶した記憶手段の記憶内容を参照しタイマー部が保持しているタイマー値に対応するセンサ電圧補正量を把握し、この把握したセンサ電圧補正量で最大センサ電圧値を補正する。この補正の結果、真の鍵盤ストロークに対応するセンサ電圧幅を求めることができる。つまり、打鍵時の衝撃吸収用の弾性部材が備えられた鍵盤楽器においても、真の鍵盤ストロークに対応するセンサ電圧幅が求まるので正確に鍵盤ストロークを求めることが可能になる。   When the key pressing start determining unit determines that the key pressing operation has started when the output voltage from the sensor unit exceeds a preset reference voltage, the count instruction supply unit gives a count instruction to the timer unit. When the key release completion determination unit determines that the key release operation is completed when the output voltage from the sensor unit falls below the preset reference voltage, the correction unit responds to the determination with respect to the timer value. By referring to the storage contents of the storage means storing the sensor voltage correction amount, the sensor voltage correction amount corresponding to the timer value held by the timer unit is grasped, and the maximum sensor voltage value is corrected by the grasped sensor voltage correction amount. . As a result of this correction, the sensor voltage width corresponding to the true keyboard stroke can be obtained. In other words, even with a keyboard instrument provided with an elastic member for absorbing shock when a key is pressed, the sensor voltage width corresponding to the true keyboard stroke can be obtained, so that the keyboard stroke can be obtained accurately.

また、前記制御手段は、更に、前記求めた真の鍵盤ストロークに対応するセンサ電圧幅を考慮して押鍵速度を求める押鍵速度検出手段を含んで成る構成とすることができる。具体的には、この押鍵速度検出手段は、前記センサ電圧幅に対して第1の電圧閾値およびこれより大きな第2の電圧閾値とを設定し、この第1および第2の電圧閾値の差に対応する距離情報を、前記センサ部からの電圧がこの第1の電圧閾値を超えてから第2の電圧閾値を超えるまでの時間で除して押鍵速度を求める構成とすれば良い。   The control means may further include a key pressing speed detecting means for determining a key pressing speed in consideration of a sensor voltage width corresponding to the determined true keyboard stroke. Specifically, the key pressing speed detecting means sets a first voltage threshold value and a second voltage threshold value larger than the first voltage threshold value for the sensor voltage width, and a difference between the first voltage threshold value and the second voltage threshold value. The distance information corresponding to is divided by the time from the time when the voltage from the sensor section exceeds the first voltage threshold to the time when the voltage exceeds the second voltage threshold.

なお、上述した装置は、押鍵深さが深くなるに応じて大きくなる電圧を出力するセンサ部を用いたものであるが、押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部を用いて同様の効果を奏する装置を構成することができる。即ち、鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材が設けられた楽器に対する鍵盤ストロークを検出する装置であって、押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部と、カウント指示が与えられると経過時間(タイマー値)の計測動作を開始し前記センサ部からの出力電圧の最小値が更新される毎にその時点でのタイマー値を更新保持していくタイマー部と、タイマー値(T)に対するセンサ電圧補正量(V=k/T 2 (kは定数))を記憶した記憶手段と、自装置動作を制御する制御手段と、を備え、この制御手段は、前記センサ部からの出力電圧が予め設定した基準電圧を下回った場合に押鍵動作が開始されたと判定する押鍵開始判定手段と、この押鍵開始判定に応答して前記タイマー部にカウント指示を与えるカウント指示供給手段と、前記センサ部からの出力電圧が前記予め設定した基準電圧を超えた場合に離鍵動作が完了したと判定する離鍵完了判定手段と、この離鍵完了判定に応答して、前記記憶手段の記憶内容を参照し前記タイマー部が保持しているタイマー値(T)に対応するセンサ電圧補正量(V=k/T 2 (kは定数))を把握し、この把握したセンサ電圧補正量最小センサ電圧値に加算する補正手段と、を含んで成ることを特徴とする鍵盤ストローク検出装置とすることもできる。 The above-described device uses a sensor unit that outputs a voltage that increases as the key depression depth increases, but a sensor that outputs a voltage that decreases as the key depression depth increases. An apparatus having the same effect can be configured using the unit. That is, a device for detecting a keyboard stroke with respect to a musical instrument provided with a keyboard and provided with an elastic member for absorbing a shock when the key is pressed, and outputs a voltage that decreases as the key pressing depth increases. When the count instruction is given, the timer unit starts measuring the elapsed time (timer value) and updates and holds the timer value at that time every time the minimum value of the output voltage from the sensor unit is updated And a storage means for storing a sensor voltage correction amount (V = k / T 2 (k is a constant)) for the timer value (T) , and a control means for controlling the operation of the device itself. A key pressing start determining unit that determines that a key pressing operation has started when an output voltage from the sensor unit falls below a preset reference voltage, and in response to the key pressing start determination, instructs the timer unit to count. Give In response to the key release completion determination unit, the key release completion determination unit that determines that the key release operation is completed when the output voltage from the sensor unit exceeds the preset reference voltage, and the key release completion determination. Then, referring to the stored contents of the storage means, the sensor voltage correction amount (V = k / T 2 (k is a constant)) corresponding to the timer value (T) held by the timer unit is grasped and grasped. It is also possible to provide a keyboard stroke detecting device comprising correction means for adding the sensor voltage correction amount to the minimum sensor voltage value.

本発明によれば、フロントパンチングが設けられた鍵盤楽器においても、押鍵強さによらずに正確な鍵盤ストロークを求めることができるという効果が得られる。   According to the present invention, even in a keyboard instrument provided with front punching, it is possible to obtain an effect that an accurate keyboard stroke can be obtained regardless of the key depression strength.

以下、本発明を実施するための最良の形態を図面を参照しつつ説明する。なお、この実施形態では、グランドピアノ型の消音ピアノに本装置を適用した形態について説明するが、本装置は鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材(フロントパンチング)が設けられた他の鍵盤楽器、例えば消音ピアノの他、非消音ピアノ(アップライト型を含む)にも適用可能である。フロントパンチングが設けられていれば電子鍵盤楽器にも適用し得る。   The best mode for carrying out the present invention will be described below with reference to the drawings. In this embodiment, a description will be given of an embodiment in which the present apparatus is applied to a grand piano-type muffler piano. However, the present apparatus is provided with a keyboard and an elastic member (front punching) for absorbing an impact when the key is depressed. The present invention can be applied to other keyboard instruments, for example, a non-silent piano (including an upright type) in addition to a silent piano. If front punching is provided, it can be applied to an electronic keyboard instrument.

(構成)
図1は本発明の鍵盤ストローク検出装置をグランドピアノ型の消音ピアノに適用した場合の構成図である。図1は例えば88個の鍵を備えた鍵盤部を有する消音ピアノにおける、鍵盤配列方向と垂直な方向における断面図である。なお、鍵盤部は、図中手前側から奥側に複数の鍵を配列して構成されている。鍵5はバランスピン3を支点として揺動可能に構成されており、これを確実に行うためにフロントピン2が設けられている。フロントピン2は、平面視中空の円盤状の部材であって打鍵時の衝撃を吸収する部材であるフロントパンチング30の中空部を貫通して鍵5内の不図示のフロントピン移動穴を利用して上下動可能に構成されていると共に、このフロントパンチング30は基板1の上面に載置されている。このフロントパンチング30は、例えばフェルト部材等の弾性部材で構成されている。
(Constitution)
FIG. 1 is a block diagram of a keyboard stroke detecting device according to the present invention applied to a grand piano-type silenced piano. FIG. 1 is a cross-sectional view in a direction perpendicular to the keyboard arrangement direction, for example, in a mute piano having a keyboard portion having 88 keys. The keyboard section is configured by arranging a plurality of keys from the front side to the back side in the figure. The key 5 is configured to be swingable with the balance pin 3 as a fulcrum, and a front pin 2 is provided to ensure this. The front pin 2 is a hollow disk-shaped member in plan view and uses a front pin moving hole (not shown) in the key 5 through a hollow portion of the front punching 30 which is a member that absorbs an impact at the time of keystroke. The front punching 30 is placed on the upper surface of the substrate 1. The front punching 30 is made of an elastic member such as a felt member.

符号20は打鍵機構である。鍵5を押鍵すると、打鍵機構20が働きハンマー21が図面上方向に回動して弦10を打弦する。この時、鍵の先端部が、突起部15を押し上げてクランク部14を作動させ金属線12を押し上げ、弦10を静止させていたダンパー8の静止制御を解除する構成となっている。なお、図1では、完全離鍵時の様子を示しており、この完全離鍵時の鍵5の位置を基準位置とし、鍵盤5が押鍵されるにつれてこの基準位置から離れる距離(移動量)を押鍵深さと称する。つまり、dを押鍵深さとすると、離鍵状態であると押鍵深さdは「0」であり(基準位置)、押鍵操作を行っていくに従って押鍵深さが深くなっていく(換言すれば「d」が大きくなっていく)。なお、図1では図示しないが、消音ピアノの場合には打弦機構20のハンマ21の弦10の打弦操作を阻止する打弦阻止機構が設けられていて、これを必要時に起動可能に構成されている。   Reference numeral 20 denotes a keystroke mechanism. When the key 5 is depressed, the key striking mechanism 20 works and the hammer 21 rotates in the upward direction of the drawing to strike the string 10. At this time, the tip of the key is configured to push up the protrusion 15 to actuate the crank portion 14 to push up the metal wire 12 and release the stationary control of the damper 8 that has kept the string 10 stationary. FIG. 1 shows a state when the key is completely released. The position of the key 5 at the time of the complete key release is set as a reference position, and the distance (movement amount) that moves away from the reference position as the keyboard 5 is pressed. Is called the key depression depth. That is, if d is the key depression depth, the key depression depth d is “0” in the key release state (reference position), and the key depression depth increases as the key depression operation is performed ( In other words, “d” increases. Although not shown in FIG. 1, in the case of a mute piano, there is provided a string striking prevention mechanism for blocking the string striking operation of the string 10 of the hammer 21 of the string striking mechanism 20, and this can be activated when necessary. Has been.

また、基板1の上面の図中真ん中よりやや右側にはセンサ部100が設けられている。センサ部100は、不図示のLED(発光素子)とフォトトランジスタ(受光素子)とを近接して配置しており、LEDからの光が鍵5の裏面にて反射されてフォトトランジスタが受光する構成となっている。このフォトトランジスタに流れる電流を抵抗で電圧として取り出した電圧がセンサ電圧として、後に説明する信号処理系に供給される。なお、図1においては後に説明する信号処理系との接続線等は図示していない。そして、図2に示すように、押鍵深さとセンサ出力電圧との関係は正の相関を有していて、押鍵深さdが深くなるにしたがって単調にセンサ出力電圧が増加するようになっている。したがって、押鍵深さとセンサ出力電圧とは1対1に対応していて、後に説明するCPU200は、センサ電圧を把握して押鍵深さを把握可能に構成されている。なお、この例では、センサ部100がピアノの製造時に組み込まれているプレインストール型を想定しているが、ピアノ購入後にセンサ部100を後付けすることもできるし、ピアノ調整技術者がこのセンサ部100をピアノ調整を行う際に装着する構成とすることも可能である。   In addition, a sensor unit 100 is provided slightly on the right side of the upper surface of the substrate 1 in the drawing. In the sensor unit 100, an LED (light emitting element) (not shown) and a phototransistor (light receiving element) are arranged close to each other, and light from the LED is reflected by the back surface of the key 5 and received by the phototransistor. It has become. A voltage obtained by extracting the current flowing through the phototransistor as a voltage with a resistor is supplied as a sensor voltage to a signal processing system described later. In FIG. 1, connection lines and the like with a signal processing system described later are not shown. As shown in FIG. 2, the relationship between the key depression depth and the sensor output voltage has a positive correlation, and the sensor output voltage increases monotonously as the key depression depth d increases. ing. Therefore, the key depression depth and the sensor output voltage correspond one-to-one, and the CPU 200 described later is configured to grasp the sensor voltage and grasp the key depression depth. In this example, the sensor unit 100 is assumed to be a pre-installed type incorporated at the time of manufacturing the piano. However, the sensor unit 100 can be retrofitted after the purchase of the piano, or the piano adjustment engineer can use this sensor unit. It is also possible to adopt a configuration in which 100 is worn when performing piano adjustment.

次に、図3を参照して信号処理系について説明する。センサ部100からの出力電圧信号はA/D変換部215によってアナログデジタル変換され、CPU200がこれを受け付ける。また、CPU200はタイマー部202を備えていて、ROM205に記録されているプログラムに従って動作を行い、この際RAM210をワークエリアとして使用する。このタイマー部202は、CPU200からカウント指示が与えられると初期値「0」から増加するタイマー値の計測動作を開始し、センサ部100からの出力電圧の最大値が更新される毎にその時点でのタイマー値を更新保持していくように構成されている。例えば、押鍵過程においてセンサ部100からの出力電圧が除々に増加されていくと、タイマー部202はタイマー値をその都度更新してこれを保持してくことになる。その一方、離鍵過程においてはセンサ出力電圧は、通常、減少してくためタイマ値の更新は通常行われない。   Next, the signal processing system will be described with reference to FIG. The output voltage signal from the sensor unit 100 is converted from analog to digital by the A / D conversion unit 215, and the CPU 200 receives it. Further, the CPU 200 includes a timer unit 202, and operates according to a program recorded in the ROM 205. At this time, the RAM 210 is used as a work area. The timer unit 202 starts a timer value measuring operation that increases from the initial value “0” when a count instruction is given from the CPU 200, and at each time the maximum value of the output voltage from the sensor unit 100 is updated. The timer value is updated and held. For example, when the output voltage from the sensor unit 100 is gradually increased in the key pressing process, the timer unit 202 updates and holds the timer value each time. On the other hand, in the key release process, the sensor output voltage usually decreases, so that the timer value is not normally updated.

また、ROM205には、図4に示すような2次関数の値が登録されているテーブル207が格納されている。このテーブル207には、タイマー値に対するセンサ電圧補正量が登録されている。ところで、本発明者の鋭意研究の結果、フロントパンチング30の変形量は鍵盤を強く打鍵する程、比例して大きくなるが、その変形量は押鍵速度の自乗に比例することを見出し確認した。つまり、押鍵速度が速い程、フロントパンチング30の変形量が大きくなりその結果、押鍵深さは実際よりも深くなって真のセンサ出力電圧もより大きくなってしまうことに着目した。ここで、上述したタイマー部202の機能から、押鍵速度(フロントパンチング30への打撃速度)はタイマー値に比例すると考えられるので、タイマー値Tとセンサ出力電圧補正値ΔVとの関係は、簡単に言うと「ΔV=k/(T×T」となる(kは予め設定しておく定数)。したがって、図4に示すようなタイマー値と補正量ΔVとの関係をテーブル化しておき、補正を行うことができる。もちろん、式自体によって演算を行って補正量を求めて補正処理を施しても良い。 Further, the ROM 205 stores a table 207 in which values of quadratic functions as shown in FIG. 4 are registered. In this table 207, sensor voltage correction amounts for timer values are registered. By the way, as a result of diligent research by the present inventors, the amount of deformation of the front punching 30 increases proportionally as the key is strongly pressed, but the amount of deformation is found to be proportional to the square of the key pressing speed. That is, it was noted that the faster the key pressing speed, the larger the deformation amount of the front punching 30. As a result, the key pressing depth becomes deeper than actual and the true sensor output voltage also increases. Here, the relationship between the function of the timer unit 202 described above, depression velocity (striking speed of the front punching 30) since it is considered to be inversely proportional to the timer value, the timer value T and the sensor output voltage correction value [Delta] V, In short, “ΔV = k / ( T × T ) ” (k is a preset constant). Accordingly, the relationship between the timer value and the correction amount ΔV as shown in FIG. 4 can be tabulated and correction can be performed. Of course, the correction processing may be performed by calculating by the equation itself to obtain the correction amount.

(動作)
次に、図5、図6を参照してCPU200の動作を説明する。図6は、図左側に示すように、上方向に行くほど押鍵深さが深く(換言すればセンサ出力電圧が大きく)なり、一方、下方向に行くほど押鍵深さが浅く(換言すればセンサ出力電圧が小さく)なるように縦軸を設定しており、横軸は時間を設定したものである。先ず、ステップS500において、センサ出力電圧が完全離鍵時の電圧よりも若干大きな基準電圧を超えたとCPU200が判断した場合には、押鍵動作が開始されたと判断する。なお、この基準電圧は図2に示す押鍵深さ「0」に対するセンサ出力電圧値(オフセット電圧)とすれば良い。さて、この押鍵動作が開始されたと判断されると同時に、CPU200はタイマー部202にカウント指示を与える。これにより、カウント指示を与えられたタイマー部202は、初期値「0」からの経過時間(タイマー値)の計測動作を開始し、センサ部100からの出力電圧の最大値が更新される毎にその時点のタイマー値を更新保持していくことになる(ステップS510)。タイマー計測開始時点を図6の符号Aで示す。そして、図6の例ではセンサ電圧は押鍵開始とともに単調にその最大値を更新してくので、ピーク位置でのタイマー値がタイマー202に保持される(図6の符号B参照)。なお、このピーク位置近傍では、フロントパンチング30が変形されている状態にある。
(Operation)
Next, the operation of the CPU 200 will be described with reference to FIGS. In FIG. 6, as shown in the left side of the figure, the key depression depth becomes deeper in the upward direction (in other words, the sensor output voltage becomes larger), while the key depression depth becomes shallower in the downward direction (in other words, The vertical axis is set so that the sensor output voltage is small), and the horizontal axis is the time. First, in step S500, if the CPU 200 determines that the sensor output voltage exceeds a reference voltage that is slightly larger than the voltage at the time of complete key release, it is determined that the key pressing operation has started. The reference voltage may be a sensor output voltage value (offset voltage) with respect to the key depression depth “0” shown in FIG. As soon as it is determined that the key pressing operation has started, the CPU 200 gives a count instruction to the timer unit 202. As a result, the timer unit 202 given the count instruction starts an operation of measuring an elapsed time (timer value) from the initial value “0”, and every time the maximum value of the output voltage from the sensor unit 100 is updated. The timer value at that time is updated and held (step S510). The time point at which the timer measurement is started is indicated by the symbol A in FIG. In the example of FIG. 6, the sensor voltage is updated monotonously with the start of key depression, so that the timer value at the peak position is held in the timer 202 (see symbol B in FIG. 6). In the vicinity of the peak position, the front punching 30 is in a deformed state.

そして、離鍵動作が開始され押鍵深さが全体として除々に浅くなっていき、これに応じてセンサ電圧が低くなって行く。その結果、ステップS520において、CPU200は、センサ部100からの出力電圧が前記基準電圧を下回った場合に離鍵動作が完了したと判定する(図6のC参照)。そして、ステップS530において、CPU200は、この判定に応答して、テーブル207の記憶内容を参照し、タイマー部202が保持している最大タイマー値に対応するセンサ電圧補正量を把握し、この把握したセンサ電圧補正量で最大センサ電圧値を補正して(図6の符号D参照)、鍵盤ストロークに対応するセンサ電圧幅を求める。なお、この場合における補正処理は最大センサ電圧からセンサ電圧補正値を減じた電圧を最大センサ電圧としている。最後に、ステップS540において、CPU200は、RAM210に、補正して求めた真の鍵盤ストロークに対応するセンサ電圧幅を鍵番号(鍵識別子)と共に記憶する。なお、このステップS540で求めたセンサ電圧幅を、図2を参照して押鍵深さ幅に変換して鍵盤ストロークを求めRAM210に格納しておくことも可能である。したがって、本実施形態によれば、フロントパンチングが設けられた鍵盤楽器に対して、押鍵強さによらずに正確な鍵盤ストロークを求めることが可能になる。   Then, the key release operation is started, and the key pressing depth gradually becomes shallow as a whole, and the sensor voltage decreases accordingly. As a result, in step S520, the CPU 200 determines that the key release operation is completed when the output voltage from the sensor unit 100 falls below the reference voltage (see C in FIG. 6). In step S530, in response to this determination, the CPU 200 refers to the stored contents of the table 207, grasps the sensor voltage correction amount corresponding to the maximum timer value held by the timer unit 202, and grasps this grasp. The maximum sensor voltage value is corrected by the sensor voltage correction amount (see reference symbol D in FIG. 6), and the sensor voltage width corresponding to the keyboard stroke is obtained. In the correction process in this case, the maximum sensor voltage is a voltage obtained by subtracting the sensor voltage correction value from the maximum sensor voltage. Finally, in step S540, the CPU 200 stores the sensor voltage width corresponding to the true keyboard stroke obtained by correction together with the key number (key identifier) in the RAM 210. It should be noted that the sensor voltage width obtained in step S540 can be converted into a key pressing depth width with reference to FIG. Therefore, according to the present embodiment, an accurate keyboard stroke can be obtained for a keyboard musical instrument provided with front punching, regardless of the key depression strength.

なお、上述の説明では、押鍵深さが深くなるに応じて大きくなる電圧を出力するセンサ部100を想定したものであるが、押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部100を用いても同様の効果が得られる装置を実現できる。この場合、図5のステップS500からステップS530までの処理を、押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部100に適合するように変更すれば良い   In the above description, the sensor unit 100 that outputs a voltage that increases as the key depression depth increases is assumed. However, a voltage that decreases as the key depression depth increases. Even when the sensor unit 100 is used, an apparatus that can obtain the same effect can be realized. In this case, the processing from step S500 to step S530 in FIG. 5 may be changed so as to be adapted to the sensor unit 100 that outputs a voltage that decreases as the key depression depth increases.

(その他)
また、鍵盤ストロークに対応する正確なセンサ電圧幅が求まっているのでCPU200はRAM210からこれを読み出してこれを利用して、再度の押鍵に対して正確な押鍵速度を求めることが可能となる。つまり、CPU200は、センサ電圧幅に対して第1の電圧閾値およびこれより大きな第2の電圧閾値とを設定しておく。そして、CPU200は、この第1および第2の電圧閾値の差に対応する距離情報を、前記センサ部からの電圧がこの第1の電圧閾値を超えてから第2の電圧閾値を超えるまでの時間で除して押鍵速度を求めることができる。なお、上述した第1および第2の電圧閾値の差に対応する距離情報は、図2の押鍵深さとセンサ出力電圧との関係に基づいて求めることができる。
(Other)
Further, since an accurate sensor voltage width corresponding to the keyboard stroke has been obtained, the CPU 200 can read out this from the RAM 210 and use it to obtain an accurate key pressing speed for the second key pressing. . That is, the CPU 200 sets a first voltage threshold and a second voltage threshold larger than this for the sensor voltage width. Then, the CPU 200 uses the distance information corresponding to the difference between the first and second voltage thresholds as the time from when the voltage from the sensor unit exceeds the first voltage threshold to when the voltage exceeds the second voltage threshold. The key pressing speed can be obtained by dividing by. The distance information corresponding to the difference between the first and second voltage thresholds described above can be obtained based on the relationship between the key depression depth and the sensor output voltage in FIG.

なお、この押鍵速度を求める場合にあっても、押鍵深さが深くなるに応じて大きくなる電圧を出力するセンサ部100に替えて、押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部100を用いることもでき、この場合には、CPU200が、センサ電圧幅に対して第1の電圧閾値およびこれより小さな第2の電圧閾値とを設定し、この第1および第2の電圧閾値の差に対応する距離情報を、センサ部100からの出力電圧がこの第1の電圧閾値を下回ってから第2の電圧閾値を下回るまでの時間で除して押鍵速度を求める構成とすれば良い。   Even in the case of obtaining the key pressing speed, instead of the sensor unit 100 that outputs a voltage that increases as the key pressing depth increases, a voltage that decreases as the key pressing depth increases. In this case, the CPU 200 sets a first voltage threshold value and a second voltage threshold value smaller than the first voltage threshold value for the sensor voltage width. The distance information corresponding to the difference between the two voltage thresholds is divided by the time from when the output voltage from the sensor unit 100 falls below the first voltage threshold to below the second voltage threshold to obtain the key pressing speed. What is necessary is just composition.

また、本装置によれば、このように正確な押鍵速度を求めることはもちろんのこと、発音、消音のタイミングを鍵盤毎のばらつきなく求めること等も可能になる。また、センサ部100の配置位置については、ピアノ毎の構造、例えば、バランスレール、フロントレールの配置位置、キートップ位置等を考慮し、押鍵操作に応じてセンサ電圧出力が正の相関を有し且つ大きなダイナミックレンジがとれる適宜の位置を採用し得る。   Further, according to the present apparatus, it is possible not only to obtain an accurate key pressing speed in this way, but also to obtain the timing of sound generation and mute without variation for each keyboard. In addition, regarding the arrangement position of the sensor unit 100, the structure of each piano, for example, the arrangement position of the balance rail, the front rail, the key top position, and the like are taken into account, and the sensor voltage output has a positive correlation according to the key depression operation. In addition, an appropriate position where a large dynamic range can be obtained can be adopted.

以上説明してきたように、本発明は、フロントパンチングを設けた鍵盤楽器に適用して好適な装置を提供することができる。   As described above, the present invention can be applied to a keyboard instrument provided with front punching to provide a suitable device.

本発明の装置をグランドピアノ型の消音ピアノに適用した場合の構成の説明図である。It is explanatory drawing of a structure at the time of applying the apparatus of this invention to a grand piano type silencer piano. 押鍵深さとセンサ出力電圧の関係を示す説明図である。It is explanatory drawing which shows the relationship between key pressing depth and a sensor output voltage. 信号処理系の構成図である。It is a block diagram of a signal processing system. テーブル207の説明図であるIt is explanatory drawing of the table 207 信号処理系の動作の説明図である。It is explanatory drawing of operation | movement of a signal processing system. 信号処理系の動作の説明図である。It is explanatory drawing of operation | movement of a signal processing system. 従来技術の説明図である。It is explanatory drawing of a prior art. 従来技術の説明図である。It is explanatory drawing of a prior art.

符号の説明Explanation of symbols

1 基板
2 フロントピン
3 バランスピン
5 鍵
8 ダンパー
10 弦
14 クランク部
15 突起部
20 打鍵機構
21 ハンマー
30 フロントパンチング
100 センサー部
200 CPU
202 タイマー部
205 ROM
207 テーブル
210 RAM
215 A/D変換部
1 Substrate
2 Front Pin 3 Balance Pin 5 Key 8 Damper 10 String 14 Crank Part 15 Projection Part 20 Key Tapping Mechanism 21 Hammer 30 Front Punching 100 Sensor Part 200 CPU
202 Timer section 205 ROM
207 Table 210 RAM
215 A / D converter

Claims (2)

鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材が設けられた楽器に対する鍵盤ストロークを検出する装置であって、
押鍵深さが深くなるに応じて大きくなる電圧を出力するセンサ部と、
カウント指示が与えられると経過時間(タイマー値)の計測動作を開始し前記センサ部からの出力電圧の最大値が更新される毎にその時点でのタイマー値を更新保持していくタイマー部と、
タイマー値(T)に対するセンサ電圧補正量(V=k/T 2 (kは定数))を記憶した記憶手段と、
自装置動作を制御する制御手段と、を備え、
この制御手段は、
前記センサ部からの出力電圧が予め設定した基準電圧を超えた場合に押鍵動作が開始されたと判定する押鍵開始判定手段と、
この押鍵開始判定に応答して前記タイマー部にカウント指示を与えるカウント指示供給手段と、
前記センサ部からの出力電圧が前記予め設定した基準電圧を下回った場合に離鍵動作が完了したと判定する離鍵完了判定手段と、
この離鍵完了判定に応答して、前記記憶手段の記憶内容を参照し前記タイマー部が保持しているタイマー値(T)に対応するセンサ電圧補正量(V=k/T 2 (kは定数))を把握し、この把握したセンサ電圧補正量最大センサ電圧値から減じる補正手段と、を含んで成ることを特徴とする鍵盤ストローク検出装置。
An apparatus for detecting a keyboard stroke with respect to a musical instrument provided with a keyboard and provided with an elastic member for absorbing a shock when the key is depressed,
A sensor unit that outputs a voltage that increases as the key depression depth increases;
When a count instruction is given, a timer unit that starts measuring operation of elapsed time (timer value) and updates the timer value at that time every time the maximum value of the output voltage from the sensor unit is updated, and
Storage means for storing a sensor voltage correction amount (V = k / T 2 (k is a constant)) for the timer value (T) ;
Control means for controlling the operation of the device itself,
This control means
A key pressing start determining means for determining that the key pressing operation is started when the output voltage from the sensor unit exceeds a preset reference voltage;
Count instruction supply means for giving a count instruction to the timer unit in response to the key pressing start determination;
A key release completion determination means for determining that the key release operation has been completed when the output voltage from the sensor unit falls below the preset reference voltage;
In response to the key release completion determination, the sensor voltage correction amount (V = k / T 2 (k is a constant ) corresponding to the timer value (T) held by the timer unit with reference to the storage contents of the storage means. )) to grasp the, keyboard stroke detector for correction means subtracting a sensor voltage correction amount this grasped from the maximum sensor voltage value, characterized in that it comprises a.
鍵盤を備えると共に押鍵時の衝撃吸収用の弾性部材が設けられた楽器に対する鍵盤ストロークを検出する装置であって、
押鍵深さが深くなるに応じて小さくなる電圧を出力するセンサ部と、
カウント指示が与えられると経過時間(タイマー値)の計測動作を開始し前記センサ部からの出力電圧の最小値が更新される毎にその時点でのタイマー値を更新保持していくタイマー部と、
タイマー値(T)に対するセンサ電圧補正量(V=k/T 2 (kは定数))を記憶した記憶手段と、
自装置動作を制御する制御手段と、を備え、
この制御手段は、
前記センサ部からの出力電圧が予め設定した基準電圧を下回った場合に押鍵動作が開始されたと判定する押鍵開始判定手段と、
この押鍵開始判定に応答して前記タイマー部にカウント指示を与えるカウント指示供給手段と、
前記センサ部からの出力電圧が前記予め設定した基準電圧を超えた場合に離鍵動作が完了したと判定する離鍵完了判定手段と、
この離鍵完了判定に応答して、前記記憶手段の記憶内容を参照し前記タイマー部が保持しているタイマー値(T)に対応するセンサ電圧補正量(V=k/T 2 (kは定数))を把握し、この把握したセンサ電圧補正量最小センサ電圧値に加算する補正手段と、を含んで成ることを特徴とする鍵盤ストローク検出装置。
An apparatus for detecting a keyboard stroke with respect to a musical instrument provided with a keyboard and provided with an elastic member for absorbing a shock when the key is depressed,
A sensor unit that outputs a voltage that decreases as the key depression depth increases;
When a count instruction is given, a timer unit that starts measuring operation of elapsed time (timer value) and updates and holds the timer value at that time every time the minimum value of the output voltage from the sensor unit is updated,
Storage means for storing a sensor voltage correction amount (V = k / T 2 (k is a constant)) for the timer value (T) ;
Control means for controlling the operation of the device itself,
This control means
A key pressing start determining means for determining that a key pressing operation is started when an output voltage from the sensor unit falls below a preset reference voltage;
Count instruction supply means for giving a count instruction to the timer unit in response to the key pressing start determination;
A key release completion determining means for determining that the key release operation is completed when the output voltage from the sensor unit exceeds the preset reference voltage;
In response to the key release completion determination, the sensor voltage correction amount (V = k / T 2 (k is a constant ) corresponding to the timer value (T) held by the timer unit with reference to the storage contents of the storage means. And a correction means for adding the detected sensor voltage correction amount to the minimum sensor voltage value.
JP2008208579A 2008-08-13 2008-08-13 Keyboard stroke detection device Expired - Fee Related JP5320545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008208579A JP5320545B2 (en) 2008-08-13 2008-08-13 Keyboard stroke detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008208579A JP5320545B2 (en) 2008-08-13 2008-08-13 Keyboard stroke detection device

Publications (2)

Publication Number Publication Date
JP2010044247A JP2010044247A (en) 2010-02-25
JP5320545B2 true JP5320545B2 (en) 2013-10-23

Family

ID=42015676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008208579A Expired - Fee Related JP5320545B2 (en) 2008-08-13 2008-08-13 Keyboard stroke detection device

Country Status (1)

Country Link
JP (1) JP5320545B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200041206A (en) * 2018-10-11 2020-04-21 주식회사 디에이치이비즈 Sound proof system for keyboard instrument and calibration method therefor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721139B (en) * 2021-08-02 2023-09-01 歌尔科技有限公司 Key detection method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01285993A (en) * 1988-05-13 1989-11-16 Yamaha Corp Electronic musical instrument
JPH03200296A (en) * 1989-12-28 1991-09-02 Yamaha Corp Musical sound synthesizer
JP2873431B2 (en) * 1994-11-02 1999-03-24 ローランド株式会社 Key press detection device
JP3295923B2 (en) * 1995-09-28 2002-06-24 ヤマハ株式会社 Keyboard force detector for electronic musical instruments
JPH09218682A (en) * 1996-02-08 1997-08-19 Kawai Musical Instr Mfg Co Ltd Keyboard device for electronic musical instrument
JPH09311685A (en) * 1996-05-17 1997-12-02 Yamaha Corp Keyboard type electronic musical instrument
JP4089107B2 (en) * 1999-10-27 2008-05-28 ヤマハ株式会社 Speed detection device and keyboard instrument
JP4280227B2 (en) * 2004-11-24 2009-06-17 東プレ株式会社 Electronic keyboard instrument keyboard device
JP2007079018A (en) * 2005-09-13 2007-03-29 Korg Inc Musical instrument device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200041206A (en) * 2018-10-11 2020-04-21 주식회사 디에이치이비즈 Sound proof system for keyboard instrument and calibration method therefor
KR102211225B1 (en) * 2018-10-11 2021-02-02 주식회사 디에이치이비즈 Sound proof system for keyboard instrument and calibration method therefor

Also Published As

Publication number Publication date
JP2010044247A (en) 2010-02-25

Similar Documents

Publication Publication Date Title
JP4479554B2 (en) Keyboard instrument
CN110431617B (en) Signal supply device, keyboard device, and program
JP2007256360A (en) Keyboard instrument
JP2007292921A (en) Method and device for specifying half point of pedal of keyboard instrument
JP6047882B2 (en) Keyboard instrument
JPH08101687A (en) Keyboard information output device
JP6485082B2 (en) Keyboard instrument
JP5053684B2 (en) Keyboard device
CN105741826B (en) Interactive piano and interaction method
JP4193752B2 (en) Automatic piano
JP2007199411A (en) Keyboard musical instrument
JP4232325B2 (en) Locking device
JP5320545B2 (en) Keyboard stroke detection device
JP2014112221A (en) Drive control device for percussion member in sound production mechanism
JP5974756B2 (en) Electronic keyboard instrument
JP5179224B2 (en) Keyboard device
JP6507519B2 (en) Touch detection device, method, and program, electronic musical instrument
JP4982689B2 (en) Key displacement detection device
JP3188386B2 (en) Electronic musical instrument keyboard and electronic piano
JP3903847B2 (en) Detection sensor evaluation device, electronic musical instrument and electronic keyboard musical instrument
JP5843287B2 (en) Keyboard device and keyboard sensor unit
JP2003295863A (en) Key depression information detecting device for keyboard musical instrument
JP5194231B2 (en) Electronic musical instrument and its program
JP6766511B2 (en) Keyboard instrument
JP5939068B2 (en) Electronic keyboard instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130614

R150 Certificate of patent or registration of utility model

Ref document number: 5320545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees